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

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%;
}

body {
  font-size: 100%;
  /*font-family: "Titillium Web", sans-serif;*/
  /*color: #4e6361;*/
/*  background-color: #f5f4e9; */
  background-color: #f9f9f9;
}

a {
  /*color: #6cac70;*/
  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: #f5f4e9; */
  background-color: #f9f9f9;
  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(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
/*@media only screen and (min-width: 768px) {*/
/*@media only screen and (min-width: 1122px) {*/
  .cd-main-content {
    padding-top: 0px;
  }
  @media all and (max-width: 1121px) {
    .cd-main-content {
      margin-top: -1px;
      overflow: hidden;
    }
  }
/*}*/

#cd-menu-trigger,
#cd-top-nav a,
#cd-lateral-nav .item-has-children > a,
#cd-lateral-nav .menu-item-has-children > a,
#cd-lateral-nav a,
#cd-menu-trigger .cd-menu-text {
  font-family: "Titillium Web", sans-serif;
}

header {
  /*position: absolute;*/
  top: 0;
  left: 0;
  right: 0;
  /*height: 55px;*/
  width: 100%;
  /*  background: #4e6361; */
  background: #f9f9f9;
  /*z-index: 3;*/
/*  border-bottom: 1px solid #999;*/
  /* 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;
}
header.lateral-menu-is-open {
  /* 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);
}
header.is-fixed {
  position: fixed;
}
/*@media only screen and (min-width: 768px) {*/
@media only screen and (min-width: 1122px) {
  header {
    height: 100px;
  }
}

#cd-logo {
  position: absolute;
  left: 10px;
  display: block;
}

#cd-logo img {
  position: relative;
  top: 0;
  left: 0;
}

#cd-logo,
#cd-logo img {
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  transition: all .4s ease;
}

@media all and (max-width: 1121px) {
  /*#cd-logo {
    top: 10px;
    width: 100px;
  }*/
  #cd-logo {
    top: 18px;
    width: 182px;
    height: 43px;
    overflow: hidden;
  }
  #cd-logo img {top: -38px;}
}
@media all and (min-width: 1122px) {
  #cd-logo {
    top: 21px;
    width: 190px;
  }
  .header__content.is-fixed #cd-logo {
    top: 18px;
    width: 190px;
    height: 48px;
    overflow: hidden;
  }
  .header__content.is-fixed #cd-logo img {
    top: -40px;
  }
}
#cd-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
	/*width: 120px;*/
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  transition: all .4s ease;
}
/*@media only screen and (min-width: 768px) {*/
@media all and (min-width: 1122px) {
  #cd-logo {
    /*margin: 23px 0 0 30px;*/
    margin: 0px 0 0 20px;
  }
  #cd-logo img {
    display: block;
  	/*width: 182px;*/
  	/* height: auto; */
  }
}

#cd-top-nav {
  position: absolute;
  top: 29px;
  right: 150px;
  /*height: 100%;*/
  display: none;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  transition: all .4s ease;
  margin-right: 20px;
}
@media all and (min-width: 1122px) {.header__content.is-fixed #cd-top-nav {top: 6px;}}

#cd-top-nav ul {margin-bottom: 0;}
#cd-top-nav li {
  display: inline-block;
  margin-right: 1em;
}
#cd-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #333;
  font-weight: 600;
}
#cd-top-nav a.current,
#menu-sidebar-3 li:first-child a {
/*  background-color: #242e30; */
  background-color: #165d7b;
  color: #fff !important;
  margin-right: -10px;
}
@media all and (min-width: 1122px) {
  .no-touch #cd-top-nav a:hover {
    /*color: rgba(12, 132, 172, 0.7);*/
    padding-bottom:3px;
  	color: #218cb5!important;
  	border-bottom: 2px solid #218cb5;
  	-webkit-transition:border-bottom 50ms;
  	-moz-transition:border-bottom 50ms;
  	-ms-transition:border-bottom 50ms;
  	-o-transition:border-bottom 50ms;
  	transition:border-bottom 50ms;
      
  }
}
/*@media only screen and (min-width: 768px) {*/
@media only screen and (min-width: 1122px) {
  #cd-top-nav {display: block;}
}

#cd-menu-trigger {
  position: fixed;
  right: 0;
  top: 0;
  /*height: 100%;*/
  width: 54px;
/*  background-color: #64807d; */
    background-color: #242c30;
    text-shadow:none;
    color:fff!important;
    border-left: 3px solid #ddd;
    padding: 15px 0;    /* dodato */
    z-index: 120;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    transition: all .1s ease;
}
@media all and (min-width: 1122px) {#cd-menu-trigger {height:97px;}}
@media all and (max-width: 1121px) {#cd-menu-trigger {height:50px;}}

#cd-menu-trigger.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  z-index: 1000;
  /*background: #fff;*/
}

#cd-menu-trigger .cd-menu-text {
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  display: none;
  -webkit-transition: all .4s ease;
  -moz-transition: all .s ease;
  transition: all .4s ease;
}
#cd-menu-trigger .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;
/*  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 {
  /*-webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;*/
  -webkit-transition-property: all;
  -moz-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
  /*border-bottom: 3px solid #ddd;*/
}
#cd-menu-trigger.is-clicked {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

#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; */
  background-color: #fff;
}
#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-menu-trigger.is-fixed .cd-menu-text {
  line-height: 1px;
  top: 25px;
  left: 18px;
  /* fiksiran */
  /*top: -13px;*/
  /*margin-top: ;*/
}
/*@media only screen and (min-width: 768px) {*/
@media only screen and (min-width: 1122px) {
  #cd-menu-trigger {
    width: 110px;
    padding-left: 1.25em;
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 1;
    position: absolute;
    top: 42px;
    left: 18px;
    /*line-height: 75px;*/
    /*margin-top: 25px;*/
  }
  #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;
  visibility: hidden;
  padding-right: 10px;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 260px;
/*  background-color: #242e30; */
  background-color: #242c30;
  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: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
}
#cd-lateral-nav li {
  display: block;
  text-align: left;
}
#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  /*color: #aab5b7;*/
  color: #bec7c9;
  text-shadow: none;
}
#cd-lateral-nav .sub-menu a {padding: 0 16px;}
#cd-lateral-nav a.current {
/*  background-color: #3a4a4d; */
  background-color: #165d7b;
  color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF !important;
}
@media only screen and (min-width: 768px) {
  #cd-lateral-nav .cd-navigation {
    margin: 20px 0;
  }
}
#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 .item-has-children > a,
#cd-lateral-nav .menu-item-has-children > a  {
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: none;
  /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .menu-item-has-children > a::after,
#cd-lateral-nav .item-has-children > a::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  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: 1em;
  background: url("../images/cd-arrow.svg") no-repeat center center;
  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 .menu-item-has-children > a.submenu-open::after,
#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("../images/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,
#cd-lateral-nav .socials a.cd-googleplus {
  background-position: -32px 0;
}
#cd-lateral-nav .socials a.cd-facebook {
  background-position: -64px 0;
}
#cd-lateral-nav .socials a.cd-google,
#cd-lateral-nav .socials a.cd-linkedin {
  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,
.no-touch #cd-lateral-nav .socials a:hover.cd-googleplus {
  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,
.no-touch #cd-lateral-nav .socials a:hover.cd-linkedin {
  background-position: -96px -32px;
}
