/*
 offcanvas Menu by MOHOSIN

===========================================
Header
===========================================
*/


#offcanvas-toggler {
    color: #000;
    float: right;
    line-height: 90px;
}

.gp-megamenu-parent > li > a::before {
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    right: 50%;
}

.gp-megamenu-parent > li > a.active::before,
.gp-megamenu-parent > li > a:hover::before {
    left: 0;
    right: 0;
}

#offcanvas-toggler > i {
    background: transparent none repeat scroll 0 0;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    padding: 0 0 0 10px;
    transition: color 400ms ease 0s, background-color 400ms ease 0s;
}

#offcanvas-toggler > i:hover {
    color: #fff;
}

.close-offcanvas {
    color: #fff;
    font-size: 22px;
    height: 60px;
    line-height: 60px;
    position: absolute;
    right: 17px;
    text-align: center;
    top: 0;
    width: 60px;
    z-index: 1;
}

.close-offcanvas::before,
.close-offcanvas::after {
    background: #fff none repeat scroll 0 0;
    content: "";
    height: 40%;
    left: 50%;
    position: absolute;
    top: 15px;
    width: 3px;
}

.close-offcanvas::after {
    transform: rotate(-45deg);
}

.close-offcanvas::before {
    transform: rotate(45deg);
}

.close-offcanvas i {
    display: none;
}

.close-offcanvas:hover {
    background: #000 none repeat scroll 0 0;
    color: #fff;
}

.offcanvas-menu {
    background: #efe106;
    color: #999;
    height: 100%;
    opacity: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: -417px;
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -webkit-transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    width: 417px;
    z-index: 9999;
}
.offcanvas-menu .offcanvas-inner {
    backface-visibility: hidden;
    box-sizing: border-box;
    height: 100%;
    overflow: auto;
    padding: 50px 40px 50px 50px;
    position: absolute;
    right: 417px;
    top: 0;
    transform: matrix(1, 0, 0, 1, 0, 0);
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -webkit-transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    width: 100%;
}

.offcanvas-menu ul li.parent ul {
    opacity: 0;
    height: 0;
    transform: rotateX(90deg);
    -webkit-transform: rotateX(90deg);
    transform-origin: 0 0 0;
    visibility: hidden;
}

.offcanvas-menu .offcanvas-inner ul > li.parent i {
    color: #969090;
    cursor: pointer;
    display: inline-block;
    padding: 13px 20px;
    position: absolute;
    right: 15px;
    top: 0;
}
.offcanvas-menu .offcanvas-inner ul > li.parent > a{ font-weight:700; color:#1b9b0a}
.offcanvas-menu .offcanvas-inner ul > li.noparent > a {
	font-weight: 700;
	color: #1b9b0a;
}
.offcanvas .offcanvas-inner {
    transform: translate(100%, 0%) matrix(1, 0, 0, 1, 0, 0);
    -webkit-transform: translate(100%, 0%) matrix(1, 0, 0, 1, 0, 0);
}

#offcanvas-toggler > i:hover {
    color: #2d3239;
}

.offcanvas-menu .nav.menu {
    padding-left: 26px;
}

.offcanvas-menu .offcanvas-inner .search {
    margin-top: 25px;
}

.offcanvas-menu .offcanvas-inner .search input {
    border: 1px solid #eee;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

.body-innerwrapper::after {
    right: 0;
}

.offcanvas .offcanvas-menu {
    right: 400px;
    opacity: 1;
    transform: translate(100%, 0%) matrix(1, 0, 0, 1, 0, 0);
    -webkit-transform: translate(100%, 0%) matrix(1, 0, 0, 1, 0, 0);
}

.body-innerwrapper::after {
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    content: "";
    height: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.5s ease 0s, width 0.1s ease 0.5s, height 0.1s ease 0.5s;
    width: 0;
    z-index: 999;
}

.offcanvas {
    height: 100%;
    position: relative;
    width: 100%;
}

.offcanvas .body-innerwrapper::after {
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease 0s;
    width: 100%;
}

.offcanvas-menu ul.nav-child li {
    padding-left: 10px;
}

.menu .nav-child.small {
    font-size: inherit;
}

.offcanvas-menu .offcanvas-inner ul > li a::after {
	background: url('../../images/tea-3.png') no-repeat left;
	content: "";
	height: 25px;
	left: -26px;
	position: absolute;
	top: 5px;
	transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
	width: 22px;
}
.parent .more::after {
    bottom: 0;
    color: #fff;
    content: "";
    font-family: fontawesome;
    font-size: 15px;
    left: 0;
    line-height: 40px;
    position: absolute;
    right: 15px;
    text-align: right;
    top: 0;
}

.parent .more {
    cursor: pointer;
    display: inline-block;
    height: 40px;
    position: absolute;
    right: 0;
    top: -6px;
    width: 100%;
}

.offcanvas-menu .offcanvas-inner ul > li a:hover::after {
    left: -26px;
    width: 40px;
}



.offcanvas-menu ul li.parent.current > ul {
    opacity: 1;
    height: 100%;
    visibility: visible;
    transform: none;
    -webkit-transform: none;
	margin-left: 0px;
    padding-left: 0px;
}

.offcanvas-menu .gp-module-title {
    text-transform: capitalize;
}

.offcanvas-menu ul#offcanvas-inner-menu {
    padding-left: 30px;
}

.offcanvas-menu .offcanvas-inner ul > li.active > a,
.offcanvas-menu .offcanvas-inner ul > li > a:hover {
    color: #333;
    background-color: transparent;
}
.offcanvas-menu .offcanvas-inner ul > li { border-bottom:1px solid #fff;}
.offcanvas-menu .offcanvas-inner ul > li ul > li:last-child{ border-bottom:none;}
.offcanvas-menu .offcanvas-inner ul > li a {
  color: #555;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 30px;
  margin-left: 0;
  margin-right: 0;
  padding: 5px 0;
  position: relative;
  text-transform: none;
}

.parent.current > .more::after {
    content: "\f107";
}

ul#offcanvas-inner-menu > li > ul.nav-child {
    animation: 700ms ease 0s normal none 1 running spMenuFadeIn;
    display: none;
    padding: 0 10px;
}
.offcanvas-menu .offcanvas-inner ul > li .gp-menu-item a{ color: #000000;}

ul#offcanvas-inner-menu > li.deeper.parent.open > ul.nav-child {
    display: block;
}

.gp-megamenu-parent > li.gp-has-child > a::after {
    content: " ";
    font-family: "FontAwesome";
}

.offcanvas-menu .offcanvas-inner ul > li ul > li > a::after {
    display: none;
}

.close-offcanvas:hover {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    color: #fff;
}

@keyframes spMenuFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes spMenuFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes spMenuZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spMenuZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spMenuFadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0px, 30px, 0px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes spMenuFadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0px, 30px, 0px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

ul#offcanvas-inner-menu > li.deeper.parent a > i {
    display: block;
    float: right;
    font-size: 14px;
    padding: 10px 6px 10px 40px;
}

.hidden-md{ display:none;}
/*
===========================================
Responsive
===========================================
*/

@media (max-width: 767px) {
    #gp-header .logo {
        display: inline;
        height: 60px;
        margin: auto;
    }
    #gp-logo h1 i {
        color: #2d3239;
    }
    #gp-logo h1 {
        margin-top: 7px;
    }
    #offcanvas-toggler {
        line-height: 62px;margin-top:19px;
     }
#offcanvas-toggler img {
	position: relative;
	left: 15px;
	top: -6px;
}
    #topbar .topbar-block.left ul {
        display: none;
    }
    .offcanvas .offcanvas-menu {
        right: 57%;
    }
    header#gp-header::before {
        display: none;
    }
    .offcanvas-menu {
        right: -57%;
        width: 57%;
    }
    .offcanvas-menu .offcanvas-inner {
      padding: 25px 15px 50px 5px;
        right: 100%;
    }
    .close-offcanvas {
        right: 0;
    }
    #offcanvas-toggler {
        float: none;
    }
    #gp-header .gp-megamenu-wrapper {
        text-align: center;
    }
    #gp-header.transparent {
        box-shadow: none;
        left: 0;
        position: relative;
        right: 0;
        top: 0;
        z-index: 99;
    }
    #offcanvas-toggler > i {
        padding: 0;
    }
    .gp-simpleportfolio .gp-simpleportfolio-items {
        margin: 0;
    }
    
.hidden-md{ display:block;}
#offcanvas-toggler {
    float: right; margin-right:5px;
}
.offcanvas-menu ul.nav-child li {
    padding-left: 0px;
    vertical-align: top;
    list-style: none;
    list-style-position: outside;
    /* margin-top: 10px; */
}
.offcanvas-menu ul.nav-child li a{ font-size:13px;}

}

@media (min-width: 768px) and (max-width: 992px) {
    #gp-top-bar .gp-contact-time {
        display: none;
    }
    
.hidden-md{ display:block;}


}

