/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Author     : Whitehats Design Team
    header = class .menu-trigger-wrap
*/

/* -------------------------------- 

Responsive Menu

-------------------------------- */
.cd-main-content {

    z-index: 2;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    transition-duration: 0.6s;
}
.cd-main-content.lateral-menu-is-open {
    /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
    -webkit-transform: translateX(-260px);
    -moz-transform: translateX(-260px);
    -ms-transform: translateX(-260px);
    -o-transform: translateX(-260px);
    transform: translateX(-260px);
}


.menu-trigger-wrap {
    position: fixed;
    top: 15px;
    right: 0;
    height: 50px;
    width: 60px;
    z-index: 999999;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    transition-duration: 0.6s;
}
.menu-trigger-wrap.lateral-menu-is-open {
    /* translate to show the lateral menu */
    position:fixed;
    -webkit-transform: translateX(-218px);
    -moz-transform: translateX(-218px);
    -ms-transform: translateX(-218px);
    -o-transform: translateX(-218px);
    transform: translateX(-218px);
    animation: bounce 1s 1;
}
.menu-trigger-wrap.is-fixed {
    position: fixed;
}
@media only screen and (min-width: 768px) {
    .menu-trigger-wrap {
        height: 70px;
    }
}

#cd-logo {
    display: block;
    float: left;
    margin: 12px 0 0 20px;
}
#cd-logo img {
    display: block;
}
@media only screen and (min-width: 768px) {
    #cd-logo {
        margin: 22px 0 0 30px;
    }
}

#cd-top-nav {
    position: absolute;
    top: 0;
    right: 120px;
    height: 100%;
    display: none;
}
#cd-top-nav ul {
    height: 100%;
    padding-top: 18px;
}
#cd-top-nav li {
    display: inline-block;
    margin-right: 1em;
}
#cd-top-nav a {
    display: inline-block;
    padding: .5em;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 600;
}
#cd-top-nav a.current {
    background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
    color: rgba(255, 255, 255, 0.7);
}
@media only screen and (min-width: 768px) {
    #cd-top-nav {
        display: block;
    }
}

#cd-menu-trigger {
    position: absolute;
    right: 0;
    top: 0px;
    height: 50px;
    width: 55px;
    background-color: #212e63;
    transition: all 0.4s ease-in-out;
}
#cd-menu-trigger .cd-menu-text {
    height: 100%;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 600;
    display: none;
}
#cd-menu-trigger .cd-menu-icon {
    /* this span is the central line in the menu menu */
    display: inline-block;
    position: absolute;
    left: 35%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-0%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #FFF;
    /* these are the upper and lower lines in the menu menu */
}
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: inherit;
    left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
    bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after {
    top: 5px;
}
#cd-menu-trigger.is-clicked{
   background-color: #007b8a;
    height: 55px;
    border-radius: 50%;
}

#cd-menu-trigger.is-clicked .cd-menu-icon {
    background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
    background-color: white;
    /*left:5px;*/

}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
    bottom: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
    top: 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#cd-lateral-nav {
    position: fixed;
    height: 100%;
    right: 0;
    top: 0;
    visibility: hidden;
    /* the secondary navigation is covered by the main element */
    z-index: 9999;
    width: 250px;
    background: #EBEBEB;
    background-size: cover;
    overflow-y: scroll;
    border-left: 1px solid #aaa;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.6s 0s, visibility 0s 0.6s;
    -moz-transition: -moz-transform 0.6s 0s, visibility 0s 0.6s;
    transition: transform 0.6s 0s, visibility 0s 0.6s;
    /* this creates the subtle slide in animation of the navigation */
    -webkit-transform: translateX(248px);
    -moz-transform: translateX(248px);
    -ms-transform: translateX(248px);
    -o-transform: translateX(248px);
    transform: translateX(248px);
}
#cd-lateral-nav .cd-navigation {

    padding-left: 0px;
}
#cd-lateral-nav .sub-menu {
    padding: 0 10px 20px 15px;
    display: none;
}
#cd-lateral-nav a {
    display: block;
    line-height: 3em;
    width: 260px;
    padding: 0 10px 0 25px;
    color: #000000;
    text-align: left
}
#cd-lateral-nav li li a{
    display: block;
    line-height: 3em;
    width: 230px;
    padding: 0 10px 0 25px;
    color: #000000;
    text-align: left
}
#cd-lateral-nav a.current {
    background-color: #c81431;
    color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
    color: #FFF;
    background-color: #C70301;
    text-decoration: none;
}
@media only screen and (min-width: 768px) {
    #cd-lateral-nav .cd-navigation {
        margin: 0px 0;
        overflow-y: scroll;
    }
}
#cd-lateral-nav.lateral-menu-is-open {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
    -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
    transition: transform .4s 0s, visibility 0s 0s;
    /* smooth the scrolling on touch devices - webkit browsers */
    -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#cd-lateral-nav .menu-item-has-children > a {
    position: relative;
    text-decoration: none;
    transition: all 0.2s linear;
    max-width: 100%;
    z-index: 9;
}

#cd-lateral-nav .menu-item-has-children {
    position: relative !important;    
}

#cd-lateral-nav .menu-item-has-children::after {
    content: '';
    color: #fff;
    display: block;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 12px;
    bottom: auto;
    left: auto;
    right: 20px;
    background-image: url("../images/icon_plus.png");
    background-repeat:  no-repeat;
    background-size: 25px 25px;
    background-position: left center;
}

#cd-lateral-nav .menu-item-has-children-open::after {
    content: '';
    display: block;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 12px;
    bottom: auto;
    left: auto;
    right: 20px;
    background-image: url("../images/icon_minus.png") !important;
    background-repeat:  no-repeat ;
    background-size: 25px 25px;
    background-position: left center;
}
#cd-lateral-nav .socials {
    padding: 0 32px;
}
#cd-lateral-nav .socials:after {
    content: "";
    display: table;
    clear: both;
}
#cd-lateral-nav .socials a {
    height: 32px;
    width: 32px;
    float: left;
    padding: 0;
    background-image: url("../img/cd-socials.svg");
    background-repeat: no-repeat;
    background-size: 128px 64px;
    background-color: #FFF;
    margin-right: .5em;
    border-radius: 0.25em;
}
#cd-lateral-nav ul {
    list-style-type: none;
}
#cd-lateral-nav .socials a.cd-twitter {
    background-position: 0 0;
}
#cd-lateral-nav .socials a.cd-github {
    background-position: -32px 0;
}
#cd-lateral-nav .socials a.cd-facebook {
    background-position: -64px 0;
}
#cd-lateral-nav .socials a.cd-google {
    background-position: -96px 0;
}
.no-touch #cd-lateral-nav .socials a:hover {
    background-color: #7796ED;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-twitter {
    background-position: 0 -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-github {
    background-position: -32px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-facebook {
    background-position: -64px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-google {
    background-position: -96px -32px;
}
.iconsbottomnav img{
    margin-right: 10px;
    max-height: 80px;
    margin-left: 0;
}
#cd-lateral-nav .iconsbottomnav a{
    padding: 0 16px 0 32px;
}
.no-touch #cd-lateral-nav .iconsbottomnav a:hover {
    background-color: #4A5C8E;
}

.logoinresponsivemenu {
    background: #fff;
    padding: 15px;
}

/************* Site Special **************/
.logoinresponsivemenu img {
    display: block;
    margin: 0 auto;
}

