/* --------------------------------

Primary style

-------------------------------- */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    /* you need to set this to assign to the main element a min height of 100% */
    height: 100%;
    background: #363431;
}

body {
    font-size: 100%;

}

a {
    text-decoration: none;
}

/* --------------------------------

Modules - reusable parts of our design

-------------------------------- */
.cd-img-replace {
    /* replace text with a background-image */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.overflow-hidden {
    /*overflow: hidden;*/
}

/* --------------------------------

Main components

-------------------------------- */
.cd-main-content {
    /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
    min-height: 100%;
    position: relative;
    background-color: transparent;
    z-index: 2;
    padding-top: 0px;
    /* 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.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
}
.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(-25%);
    -moz-transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    -o-transform: translateX(-25%);
    transform: translateX(-25%);
}

@media only screen and (min-width: 768px) {
    .cd-main-content {
        padding-top: 0px;
    }
}
@media only screen and (max-width: 1100px){
	.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(-35%);
        -moz-transform: translateX(-35%);
        -ms-transform: translateX(-35%);
        -o-transform: translateX(-35%);
        transform: translateX(-35%);
    }

}
@media only screen and (max-width: 768px){
	.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);
    }

}








header {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    padding:10px 20px;
    z-index: 3;
    /* 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.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;

}
.lateral-menu-is-open  header{
    /* translate to show the lateral menu */
    -webkit-transform: translateX(-25%);
    -moz-transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    -o-transform: translateX(-25%);
    transform: translateX(-25%);
}
header.is-fixed {
    top:0;
    position: fixed;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
    -webkit-transition: -webkit-transform 0.4s, top 0.5s ease;
    -moz-transition: -moz-transform 0.4s, top 0.5s ease;
    -ms-transition: -ms-transform 0.4s, top 0.5s ease;
    transition: transform 0.4s, top 0.5s ease;
}
header.is-fixed.hide{
	top:-100%;
   -webkit-transition: -webkit-transform 0.4s, top 0.5s ease;
    -moz-transition: -moz-transform 0.4s, top 0.5s ease;
    -ms-transition: -ms-transform 0.4s, top 0.5s ease;
    transition: transform 0.4s, top 0.5s ease;
}
@media only screen and (min-width: 768px) {
    header {
        height: auto;

    }
}
@media only screen and (max-width: 1100px){
	.lateral-menu-is-open  header{
        /* translate to show the lateral menu */
        -webkit-transform: translateX(-35%);
        -moz-transform: translateX(-35%);
        -ms-transform: translateX(-35%);
        -o-transform: translateX(-35%);
        transform: translateX(-35%);
    }
}
@media only screen and (max-width: 768px){
	.lateral-menu-is-open  header{
        /* translate to show the lateral menu */
        -webkit-transform: translateX(-260px);
        -moz-transform: translateX(-260px);
        -ms-transform: translateX(-260px);
        -o-transform: translateX(-260px);
        transform: translateX(-260px);
    }
}





.cd-logo {
    display: inline-block;
    float: left;
    margin: 0;
}
.cd-logo .desk{
	display:block;
}
.cd-logo .mob{
	display:none;
}
.static .cd-logo{
	width:300px;
}
.is-fixed .cd-logo{
	width:150px;
}
.cd-logo img {
    display: block;
}

.touch .static .cd-logo {
   display:none;
}



@media only screen and (max-width: 768px) {
    .cd-logo .desk{
        display:none;
    }
    .cd-logo .mob{
        display:block;
    }
    .is-fixed .cd-logo {
        width: 55px;
    }
    .static.header{
    	    display: none;
    }

   header.is-fixed,
    header,
    header.is-fixed.hide{
        top: 0;
    position: fixed;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
    -webkit-transition: -webkit-transform 0.4s, top 0.5s ease;
    -moz-transition: -moz-transform 0.4s, top 0.5s ease;
    -ms-transition: -ms-transform 0.4s, top 0.5s ease;
    transition: transform 0.4s, top 0.5s ease;
    }
}
@media only screen and (max-width:650px){
	.is-fixed .cd-logo {
        width: 42px;
    }
}
#cd-top-nav {
    float: right;
    display: inline-block;
    padding: 0 70px 0 0;
}
.static #cd-top-nav ul {
    margin: 5px 0 0 0;
    padding:0;
}
#cd-top-nav li {
    display: inline-block;
    margin-right: 1em;
}
#cd-top-nav a {
    display: inline-block;
    padding: .5em;
    /* color: #7aa64d; */
    color:#53782d;
    text-transform: uppercase;
    font-weight: 700;
}
#cd-top-nav a.current {
    background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
        color: #005941;
}
.static #cd-top-nav a{
	color:white;
}
@media only screen and (max-width: 650px) {
    #cd-top-nav{
    	display:none;
    }
}

@media only screen and (max-width: 1100px){
   #cd-top-nav li {
    margin-right: 0.4em;
    }
    #cd-top-nav a {
    padding: .5em .4em;
    }
}
@media only screen and (max-width: 960px){
   #cd-top-nav li {
    margin-right: 0.2em;
    }
    #cd-top-nav a {
    padding: .5em .2em;
    }
}
@media only screen and (max-width: 890px){
   #cd-top-nav li {
    margin-right: 0.4em;
    }
    #cd-top-nav a {
    padding: .8em .3em;
    font-size: .8em;
    }
    #cd-top-nav {
    padding: 0 80px 0 0;
    }
}


#cd-menu-search,
#cd-menu-search-2 {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    padding:30px;
    margin-right:50px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
}
#cd-menu-search-2 {
    top: 12px;
}

#cd-menu-search .cd-menu-text,
#cd-menu-search-2 .cd-menu-text{
    height: 100%;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 600;
    display: none;
    height: 0;
    text-indent: -9999999px;
    width: 0;
}
#cd-menu-search .cd-menu-icon,
#cd-menu-search-2 .cd-menu-icon{
    /* this span is the central line in the menu menu */
display: block;
    position: absolute;
    left: 8px;
    top: 18px;
    /* bottom: auto; */
    /* right: auto; */
    width: 30px;
    height: 30px;
    background: no-repeat center/80% url(/assets/images/searchicon.png);
    /* these are the upper and lower lines in the menu menu */
}
#cd-menu-search-2 .cd-menu-icon{
    background: no-repeat center/80% url(/assets/images/searchicon2.png);
}

#cd-menu-search{
    height:50px;
}
@media only screen and (max-width: 650px) {
    #cd-menu-search-2 {
    top: 0px;
    }
}
#cd-menu-trigger,
#cd-menu-trigger-2 {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: #7aa64d;
    padding:30px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
}
#cd-menu-trigger{
	height:50px;
}
#cd-menu-trigger .cd-menu-text,
#cd-menu-trigger-2 .cd-menu-text{
    height: 100%;
    text-transform: uppercase;
    color: #FFF;
    font-weight: 600;
    display: none;
    height: 0;
    text-indent: -9999999px;
    width: 0;
}
#cd-menu-trigger .cd-menu-icon,
#cd-menu-trigger-2 .cd-menu-icon{
    /* this span is the central line in the menu menu */
    display: inline-block;
    position: absolute;
    left: 50%;
    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(-50%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #FFF;
    /* these are the upper and lower lines in the menu menu */
}
#cd-menu-search .cd-menu-icon::before,
#cd-menu-search .cd-menu-icon:after,
#cd-menu-search-2 .cd-menu-icon::before,
#cd-menu-search-2 .cd-menu-icon:after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: inherit;
    left: 0;
}
#cd-menu-trigger .cd-menu-icon::before,
#cd-menu-trigger .cd-menu-icon:after,
#cd-menu-trigger-2 .cd-menu-icon::before,
#cd-menu-trigger-2 .cd-menu-icon:after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: inherit;
    left: 0;
}
#cd-menu-trigger .cd-menu-icon::before,
#cd-menu-trigger-2 .cd-menu-icon::before{
    bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after,
#cd-menu-trigger-2 .cd-menu-icon::after{
    top: 5px;
}
.is-clicked #cd-menu-trigger .cd-menu-icon,
.is-clicked #cd-menu-trigger-2 .cd-menu-icon{
    background-color: rgba(255, 255, 255, 0);
}
.is-clicked #cd-menu-trigger .cd-menu-icon::before,
.is-clicked #cd-menu-trigger .cd-menu-icon::after,
.is-clicked #cd-menu-trigger-2 .cd-menu-icon::before,
.is-clicked #cd-menu-trigger-2 .cd-menu-icon::after{
    background-color: white;
}
.is-clicked #cd-menu-trigger .cd-menu-icon::before,
.is-clicked #cd-menu-trigger-2 .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);
}
.is-clicked #cd-menu-trigger .cd-menu-icon::after,
.is-clicked #cd-menu-trigger-2 .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);
}
@media only screen and (min-width: 768px) {

    #cd-menu-trigger .cd-menu-text,
    #cd-menu-trigger-2 .cd-menu-text{
        display: inline-block;
        line-height: 70px;
    }
    #cd-menu-trigger .cd-menu-icon,
    #cd-menu-trigger-2 .cd-menu-icon{
        left: auto;
        right: 20px;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

#cd-lateral-nav {
    position: fixed;
    height: 100%;
    right: 0;
    top: 0;
    visibility: hidden;
    /* the secondary navigation is covered by the main element */
    z-index: 1;
    width: 25%;
        background-color: #2d2d2d;
    overflow-y: auto;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
    -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
    transition: transform .4s 0s, visibility 0s .4s;
    /* this creates the subtle slide in animation of the navigation */
    -webkit-transform: translateX(80px);
    -moz-transform: translateX(80px);
    -ms-transform: translateX(80px);
    -o-transform: translateX(80px);
    transform: translateX(80px);
}
#cd-lateral-nav .cd-navigation {
    margin: 0px 0 20px;
    list-style:none;
    padding:0;
}
#cd-lateral-nav .sub-menu {
    padding: 0 10px 20px 15px;
    display: none;
    list-style:none;
}
#cd-lateral-nav a {
    display: block;
    line-height: 2em;
    padding: 0 30px 0 20px;
    color:white;
}
#cd-lateral-nav a.current {
    background-color: #3a4a4d;
    color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
    color: #FFF;
}
@media only screen and (min-width: 768px) {
    #cd-lateral-nav .cd-navigation {
        margin: 0 0 20px 0;
    }
}
@media only screen and (max-width:1100px){
    #cd-lateral-nav{
    	width:35%;
    }
}
@media only screen and (max-width:768px){
    #cd-lateral-nav{
    	width:260px;
    }
}
#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-box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.35);
    -ms-box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.35);
    box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.35);
    -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 .item-has-children > a {
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 18px;
    line-height: 26px;
        margin: 0 0 10px 0;
    /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .item-has-children > a::after {
    content: '\e804';
    font-family:"Fontello";
    display: block;
    height: auto;
    width: auto;
    position: absolute;
    top: 0%;
    bottom: auto;
    -webkit-transform: translateY(0) rotate(0deg);
    -moz-transform: translateY(0) rotate(0deg);
    -ms-transform: translateY(0) rotate(0deg);
    -o-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
    right: 20px;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    transform-origin:50% 50%;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
    -webkit-transform: translateY(0%) rotate(90deg);
    -moz-transform: translateY(0%) rotate(90deg);
    -ms-transform: translateY(0%) rotate(90deg);
    -o-transform: translateY(0%) rotate(90deg);
    transform: translateY(0%) rotate(90deg);
}

#cd-lateral-nav .socials {
    padding: 10px 20px 0;
    border-top: 1px solid #2d2c29;
}
#cd-lateral-nav .socials:after {
    content: "";
    display: table;
    clear: both;
}
#cd-lateral-nav .socials a {
    display:inline-block;
    float: left;
    padding: 0;
    margin-right: 25px;
    font-size: 28px;
}

#cd-lateral-nav .promo-btns img {
    margin: 0 10px 0px 0;
    width: 48px;
}

#cd-lateral-nav .promo-btns img:after {
    content: "";
    clear: both;
    float: none;
    display: block;
}

#cd-lateral-nav .promo-btns a {
    font-weight: 100;
    font-size: 30px;
    line-height: 54px;
    padding: 0 20px;
}
#cd-lateral-nav .promo-btns li {
        border-bottom: 1px solid #3c3a37;
    padding: 16px 0;
}
#cd-lateral-nav .promo-btns li:hover {
    background-color:#13675d;
    -webkit-transition:background-color 0.35s ease;
    -moz-transition:background-color 0.35s ease;
    -ms-transition:background-color 0.35s ease;
    transition:background-color 0.35s ease;
}
#cd-lateral-nav .cd-navigation .item-has-children ul li a {
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    margin: 0 0 14px 0;
    letter-spacing: 1px;
        padding: 0 20px 0;
     -webkit-transition:0.3s ease;
    -moz-transition:0.3s ease;
    -ms-transition:0.3s ease;
    transition:0.3s ease;
}
#cd-lateral-nav .cd-navigation .item-has-children ul li.selected a,
#cd-lateral-nav .cd-navigation .item-has-children ul li:hover a{
    color: #acd484;
    -webkit-transition:0.3s ease;
    -moz-transition:0.3s ease;
    -ms-transition:0.3s ease;
    transition:0.3s ease;
}
@media only screen and (max-width:900px){
	#cd-lateral-nav .promo-btns img {
        margin: 0 8px 0px 0;
        width: 38px;
    }
    #cd-lateral-nav .promo-btns a {
        font-size: 26px;
        line-height: 42px;
        font-weight: 200;
    }

}
@media only screen and (max-width:768px){
	#cd-lateral-nav .promo-btns img {
        width: 32px;
    }
    #cd-lateral-nav .promo-btns a {
        font-size: 22px;
        line-height: 40px;
        font-weight: 200;
    }
    #cd-lateral-nav .socials a {
        margin-right: 18px;
        font-size: 24px;
    }
}
