@media only screen and (max-height: 666px) {
  .hidden-fold {
    display: none!important;
  }
}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .header-handle > a img,
  .header-handle > a:hover img {
    transform: rotate(0deg)!important;
  }
  .content .section-intro:first-child {
    padding-top: 40px;
  }
  body {
    overflow: auto;
  }
  h1 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 26px;
  }
  h3 {
    font-size: 18px;
    line-height: 22px;
  }
  .lead {
    font-size: 18px;
    line-height: 24px;
  }
  [data-scrollbar],
  #wrap {
    transform: translate3d(0, 0, 0);
  }
  [data-scrollbar],
  .content {
    width: auto!important;
    height: auto!important;
  }
  .content-about .section-intro .about-lead-heading,
  .content-about .section-intro .about-lead-body {
    margin: 0;
    width: 100%;
    float: none;
  }
  #footer .footer-bottom,
  #footer .footer-top {
    margin-bottom: 20px;
  }
  #nav-main li {
    margin-bottom: 15px;
  }
  .section footer,
  .section-clickable {
    position: static;
  }
  .section-case .section-clickable,
  .section-content {
    position: relative;
  }
  .section-content img {
    max-width: 100%;
    height: auto;
  }
  .section .section-content,
  .section .section-clickable {
    padding: 0;
  }
  .section-expandable-item {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .section.section--expanded {
    padding-top: 0;
  }
  .content .section:last-child .section-content {
    padding-right: 0!important;
  }
  .section p,
  .section .label {
    margin-bottom: 25px;
  }
  .section-expandable-close {
    right: 0;
    top: -60px;
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
  .content-services .section {
    border-right: 0;
    border-bottom: 1px solid #EEF0F2;
  }
  .section .section-expandable-items {
    height: auto!important;
    margin: -20px;
    padding: 20px;
    border-top: 1px solid #B2BABF;
    border-right: 0;
    margin-top: 60px;
  }
  .section.section--expanded.section-case {
    width: auto!important;
  }
  .section,
  .section.section-wide {
    padding: 40px 20px;
    width: 100%;
    height: auto!important;
  }
  .section-content p:last-child {
    margin-bottom: 0;
  }
  #header {
    border-bottom: 1px solid #EEF0F2;
    position: static;
  }
  .header--expanded,
  .header--expanded #wrap {
    overflow: hidden;
    height: 100vh;
  }
  .header--expanded #header .header-inner {
    top: 0;
    height: 100vh;
    display: block;
    position: fixed;
    padding: 30px;
    width: 80%;
  }
  .header--expanded .header-handle,
  .header--expanded #main {
    transform: translate3d(80%, 0, 0);
  }
  .content-projects .section-intro .lead,
  .section footer,
  .section-case h3,
  .section-news h3,
  .section-labs h3,
  .section-contact h3 {
    margin-right: 0;
  }
  .header-handle > a,
  #brand {
    position: relative;
    transform: rotate(90deg);
  }
  #brand {
    bottom: 40px;
    float: right;
    margin-right: 85px;
    position: relative;
  }
  .section-intro:before,
  #loader,
  .header-inner,
  .content-about .section-intro:after {
    display: none;
  }
  .header-handle,
  .header-inner {
    height: auto;
    margin: 0;
    position: static;
  }
  #header,
  .header-handle {
    height: 60px;
    margin-bottom: 0;
  }
  .header-handle {
    position: relative;
    width: 100vw;
    text-align: left;
  }
  .header-handle > a {
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    padding-left: 25px;
    line-height: 45px;
  }
  .section h3 {
    font-size: 28px;
    line-height: 32px;
  }
  .section-bg:after {
    opacity: .6;
  }
  .section .section-expandable-close {
    right: 0;
    top: -60px;
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
  .section.section--expanded.section-case:after {
    background: rgba(26,30,33,1);
  }
  .section-expandable-item {
    margin-bottom: 40px;
  }
  .section .section-expandable-items:last-child {
    padding-bottom: 20px;
  }
  .section-expandable-item:last-child {
    margin-bottom: 0;
  }
  .section .section-expandable-items {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  /*portrait*/
  .header--expanded:before {
    display: none;
  }
  .section-content img {
    width: 100%;
    height: auto!important;
  }
  .section h3 {
    font-size: 28px;
    line-height: 32px;
  }
  .section-bg:after {
    opacity: .6;
  }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
  /*landscape*/
  html,
  body,
  .section-expandable-items,
  .section,
  .scroll-content,
  .content,
  .header-handle,
  .header-inner,
  [data-scrollbar],
  #wrap,
  #main {
    height: 100%;
  }
  .section-expandable-item {
    min-height: 100%;
  }
  .section-expandable-items {
    height: calc(100vh - 60px);
  }
  .section-case .section-clickable,
  .section-content,
  .section-expandable-items {
    padding: 40px!important;
  }
  .section h3,
  .section p {
    margin-bottom: 25px;
  }
  .section-bg:after {
    opacity: .6;
  }
}