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

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;
  z-index: 2;

  /* Force Hardware Acceleration in WebKit */
  /* -webkit-transform: translateZ(0); */
  /* -webkit-backface-visibility: inline; */
  /* -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(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}


div.lateral-menu-is-open,.cd-menu-trigger-container {

  -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;
}
div.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-175px);
  -moz-transform: translateX(-175px);
  -ms-transform: translateX(-175px);
  -o-transform: translateX(-175px);
  transform: translateX(-175px);
}
header.is-fixed {
  position: fixed;
}


#cd-top-nav {
  position: absolute;
  top: 0;
  right: 120px;
  height: 100%;
  display: inline;
}
#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: #555;
  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);
}

  #cd-top-nav {
    display: block;
  }


#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 5px;
  height: 100%;
  min-width: 100px;
  min-height: 40px;
  float: right;
  -webkit-transition: all .6s cubic-bezier(.77,0,.175,1);
  -moz-transition: all .6s cubic-bezier(.77,0,.175,1);
  transition: all .6s cubic-bezier(.77,0,.175,1);
}
#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #555;
  font-weight: 400;
  display: inline;
}
#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 47%;
  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: #555;
  /* 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;
  -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;
  left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
  -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;
}
#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
  -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;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(55, 55, 55, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: white;
  -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;
}
#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);
  -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;
}
#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);
  -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;
}

  #cd-menu-trigger {
    width: 100px;
    padding-left: 1.25em;
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 41px;
    font-size: 17px;
    margin-left: -5px;
  }
  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    -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;

  /* the secondary navigation is covered by the main element */
  z-index: 12;
  padding-top: 0px;
  width: 260px;
  background-color: #242e30;
  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(260px);
  -webkit-transition: all .6s cubic-bezier(.77,0,.175,1);
  -moz-transition: all .6s cubic-bezier(.77,0,.175,1);
  transition: all .6s cubic-bezier(.77,0,.175,1);
}
#cd-lateral-nav .cd-navigation {
  margin: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
}
#cd-lateral-nav ul.cd-navigation li a {
  display: block;
  line-height: 2.2em;
  padding: 0 16px 0 32px;
  color: #aab5b7;
}
#cd-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #fff;
}
.no-touch #cd-lateral-nav a:hover {
  color: #fff;
}

  #cd-lateral-nav ul.cd-navigation {
    margin: 30px 0 40px;
    border-bottom: 1px dashed #3d484a;
    padding-bottom: 35px;
  }

#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);
  opacity: 1;
  -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;
  -webkit-transition: all .6s cubic-bezier(.77,0,.175,1);
  -moz-transition: all .6s cubic-bezier(.77,0,.175,1);
  transition: all .6s cubic-bezier(.77,0,.175,1);
}
.lateral-menu-is-open #cd-menu-trigger {
	background-color: #61bbb2;
	-webkit-transition: all .6s cubic-bezier(.77,0,.175,1);
	-moz-transition: all .6s cubic-bezier(.77,0,.175,1);
	transition: all .6s cubic-bezier(.77,0,.175,1);
}
/* style menu items which have a submenu  */
#cd-lateral-nav .item-has-children > a {
  position: relative;

  /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .item-has-children > a::after {
  display: block;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5%;
  content: "\f105";
  font-family: fontawesome;
  font-size: 18px;
  width: auto;
  height: auto;
  /* background-size: 8px 11px; */
  -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;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

#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 .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: #4e6361;
}
.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;
}

#cd-lateral-nav .widget{padding : 0 32px;margin-bottom: 35px;}
#cd-lateral-nav .widget:not(.widget_text) a {color: #aab5b7;}
#cd-lateral-nav .widget .widget-title {
    position: relative;
    color: #fff;
}
.navigation-menus .inline-block-list {
    text-align: right;
    margin-right: 100px;
    margin-top: 14px;
    position: absolute;
    right: 0;
}
.navigation-menus .inline-block-list li{
    border: 0;
    font-size: 16px;
}
.navigation-menus .header-social-list > li:hover {
    background-color: transparent !important;
}
.is-clicked-right-menu .slogan-inner,
.is-clicked-right-menu .header-area .header-social-list,
.is-clicked-right-menu .sb-search {
	display:none;
}
.slogan-inner {
	position: absolute;
    right: 206px;
    top: 14px;
    color: #555;
    font-size: 15.5px;
}

/* search box */
.sb-search {
	position: absolute;
	margin-top: 11px;
	width: 0%;
	right: 313px;
	min-width: 60px;
	background: rgba(51, 51, 51, 0);
	height: 30px;
	float: right;
	overflow: hidden;
	-webkit-transition: width 0.3s;
	-moz-transition: width 0.3s;
	transition: width 0.3s;
	-webkit-backface-visibility: hidden;
}

.sb-search-input {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	border-radius: 4px;
	outline: none;
	background: rgba(255, 255, 255, 0);
	width: 35%;
	height: 30px;
	margin: 0 -32px 0 0;
	z-index: 10;
	padding: 0 15px;
	font-family: inherit;
}
.form-search {
	background: #fff;
}
.sb-search-open .sb-search-input {
	background: rgb(255, 255, 255); /* IE needs this */
	border-radius: 4px;
	margin: 0;
}
.sb-search-input::-webkit-input-placeholder {
	color: #000;
}

.sb-search-input:-moz-placeholder {
	color: #000;
}

.sb-search-input::-moz-placeholder {
	color: #000;
}

.sb-search-input:-ms-input-placeholder {
	color: #000;
}

.sb-icon-search,
.sb-search-submit  {
	width: 37px;
	height: 39px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	line-height: 60px;
	text-align: center;
	cursor: pointer;
	background-color: transparent;
}

.sb-search-submit {
	background: rgba(255, 255, 255, 0); /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
	filter: alpha(opacity=0); /* IE 5-7 */
	opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}
.sb-search.sb-search-open .sb-icon-search, .no-js .sb-search .sb-icon-search {
	color: #222 !important;
}
.sb-icon-search {
	color: #fff;
	background: rgba(230, 126, 34, 0);
	z-index: 90;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal normal normal 14px/2 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sb-icon-search:before {
	content: "\f002";
}

/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
	width: 100%;
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
	color: #fff;
	z-index: 11;
}

.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
	z-index: 90;
}
