#cd-lateral-nav {
  display: none;
}

#cd-menu-trigger {
  display: none;
}

@media screen and (max-width: 760px) {
  #cd-lateral-nav {
    display: block;
    position: fixed;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 9999;
    width: 260px;
    background-color: #01459a;
    overflow-y: auto;
    visibility: hidden;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateX(260px);
    -moz-transform: translateX(260px);
    -ms-transform: translateX(260px);
    -o-transform: translateX(260px);
    transform: translateX(260px);
    -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;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  }

  #cd-menu-trigger {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 9999;
    background-color: rgba(1, 69, 154, 0.1);
  }

  .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: #fff;
    z-index: 2;
    padding-top: 50px;
    /* 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);
  }

  header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* 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;
  }

  #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);
  }

  #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: 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: 22px;
    height: 3px;
    background-color: #01459A;
    transition: background-color 0.3s;
    /* 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: #01459A;
    left: 0;
    transition: transform 0.3s, top 0.3s, bottom 0.3s;
  }

  #cd-menu-trigger .cd-menu-icon::before {
    bottom: 8px;
  }

  #cd-menu-trigger .cd-menu-icon::after {
    top: 8px;
  }

  #cd-menu-trigger.is-clicked .cd-menu-icon {
    background-color: rgba(0, 0, 0, 0);
  }

  #cd-menu-trigger.is-clicked .cd-menu-icon::before,
  #cd-menu-trigger.is-clicked .cd-menu-icon::after {
    background-color: #01459A;
  }

  #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: 1;
    width: 260px;
    background-color: #01459a;
    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);
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  }

  #cd-lateral-nav .cd-navigation {
    margin: 0;
    padding: 10px 0;
  }

  #cd-lateral-nav .sub-menu {
    padding: 0 10px 10px 25px;
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
  }

  #cd-lateral-nav a {
    display: block;
    line-height: 3em;
    padding: 0 16px 0 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
  }

  #cd-lateral-nav a.current {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-weight: 600;
  }

  .no-touch #cd-lateral-nav a:hover {
    color: #FFF;
    background-color: rgba(255, 255, 255, 0.05);
  }

  #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;
    -webkit-overflow-scrolling: touch;
  }

  /* style menu items which have a submenu  */
  #cd-lateral-nav ul li a {
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    padding-left: 20px;
  }

  #cd-lateral-nav ul li ul.sub-menu li a {
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    padding-left: 30px;
    line-height: 2.8em;
  }

  #cd-lateral-nav .item-has-children>a {
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
    /* this is the right arrow to show that the item has a submenu  */
  }

  #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("../image/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 .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;
  }

  .toolbar2_left {
    -webkit-transform: translateX(-260px);
    -moz-transform: translateX(-260px);
    -ms-transform: translateX(-260px);
    -o-transform: translateX(-260px);
    transform: translateX(-260px);
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
  }

  .toolbar2_right {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
  }
}
