.res-show, #loader #responsive, p.foot-res,.social-box.res { display: none; }

body.menu-open {
    overflow: hidden;
    height: 100%;
    width: 100%;
}

@media only screen and (max-width: 1340px) {
    .work .inner h3.short_description {
        font-size:18px;
    }
    .menu-social {
        right:0 !important;
        font-size:18px !important;
        left: auto !important;
    }

    .menu-social a:last-child {
        margin:0;
    }
}
@media only screen and (max-width: 950px) {
    #slider { 
        height: 450px!important; 
        margin: 0 0 20px!important; 
    }
    .royalSlider, .rsOverflow { height: 100%!important; }
    .dialog-box { width: 45%!important; }
    .dialog-box p { font-size: 1.0rem!important; } 
    .dialog-box.closed {
  width: 24px !important;
}
    .res-hide, .social-box.desk { display: none!important; }
    .social-box.res {
        /*width: 49%!important;*/
        display: block!important;
        height: auto!important;
    }
    .social-box.res p {
        opacity: 1!important;
        -webkit-transform: translate(0, 0)!important;
        -ms-transform: translate(0, 0)!important;
        transform: translate(0, 0)!important;
    }
    .social-box footer {
        position: relative!important;
        margin: 20px 0 0; 
    }
    .home-featured .work, .work.format-standard {
        width: 49%!important;
        height: 450px!important;
        margin: 0 0 20px!important; 
    }
    .grid-sizer { width: 49%!important; }
    .gutter-sizer { width: 2%!important; }
    .work.format-video, .work:last-child { 
        width: 100%!important;
        height: 450px!important;
        margin: 0 0 20px!important; 
    }
    .work.format-video .preview-lazyload, .work.format-video .preview-lazyload iframe {
        height: 450px!important;
        background: transparent!important;
    }
    .work.format-featured h3, .work.format-video h3 {
        width: 70%!important;
    }
    #clients ul li, #clients ul li:nth-of-type(5n) {
        width: 23.5%!important;
        margin: 0 2% 2% 0!important;
    }
    #clients ul li:nth-of-type(4n) {
        margin: 0 0 2%!important;
    }
    .footer-wrap .three > section:nth-of-type(1) {
        float: none!important;
        width: 100%;
    }
    .footer-wrap .three > section:nth-of-type(2) {
        width: 400px;
    }
    .footer-wrap .three > section:nth-of-type(3) {
        width: 200px;
    }
    #content {
        float: none!important;
        width: 100%!important;
    }
    .work figure {
        background:transparent!important;
    }
    .wpb_video_widget .wpb_wrapper .wpb_video_wrapper, .wpb_video_wrapper .lazy-load-vimeo-div, .wpb_video_wrapper iframe, 
    .wpb_video_wrapper .preview-vimeo {
        height: 530px!important;
    }

    .page-id-173 img.alignnone {
        float:left !important;
        padding-bottom: 10px !important;
    }
}
@media only screen and (max-width: 950px) and (min-width:600px) {
    .translator-bar-main-container {
      height: 36px !important;
    }
}
@media only screen and (max-width: 770px) {
    #header.header-large .wrap {
        padding: 10px 40px 9px!important;
    }
    #header.header-large .nav {
        opacity: 0!important;
        visibility: hidden!important;
    }
    #header.header-large .nav-toggle {
        opacity: 1!important;
        visibility: visible!important;
    }
    #header.header-large #met-logo {
        width: 110px!important;
        height: 38px!important;
        margin: 0 0px 0 -10px!important;
    }
    #header.header-large #met-logo .text {
        opacity: 0!important;
    }
    .header-fix {
        height: 80px!important;
    }
    #clients ul li, #clients ul li:nth-of-type(5n), #clients ul li:nth-of-type(4n) {
        width: 32%!important;
        margin: 0 2% 2% 0!important;
    }
    #clients ul li:nth-of-type(3n) {
        margin: 0 0 2%!important;
    }
    #project-details .three > section, #project-details .three > section:nth-of-type(3n) {
        width: 100%!important;
        margin: 0 0 2% 0!important;
    }
    #project-details .three > section:nth-of-type(2n) {
        margin: 0 0 2%!important;
    }
    .footer-wrap .three > section:nth-of-type(3n) {
        margin: 0!important;
    }
    .wpb_video_widget .wpb_wrapper .wpb_video_wrapper, .wpb_video_wrapper .lazy-load-vimeo-div, .wpb_video_wrapper iframe, 
.wpb_video_wrapper .preview-vimeo {
        height: 430px!important;
    }
    .res-show { display: block!important; }
    #backToTop {
        float: none!important;
        display: block!important;
        clear: both;
        text-align: left;
        margin: 15px 0 0;
    }
}
@media only screen and (max-width: 700px) {
    .dialog-box { width: 50%!important; }
    .dialog-box p { font-size: .9rem!important; } 
    .work.format-video .preview-lazyload, .work.format-video .preview-lazyload iframe {
        height: 330px!important;
        background: transparent!important;
    }
    .work.format-standard, .work.format-video {
        height: 330px!important;
    }
    .work .inner p, .work .short_description {
        /*opacity: 0!important;*/
        -webkit-transform: translate(0, 0)!important;
        -ms-transform: translate(0, 0)!important;
        transform: translate(0, 0)!important;
    }
    .work figure {
        background:transparent!important;
    }
    .footer-wrap .three > section:nth-of-type(1) {
        float: left!important;
        width: auto!important;
        margin: 0 10% 0 0;
    }
    .footer-wrap .three > section:nth-of-type(2) {
        display: none;
    }
    .footer-wrap .three > section:nth-of-type(3) {
        float: left!important;
        width: auto!important;
    }
    .footer-wrap p.foot-res {
        display: block!important;
    }
    .footer-wrap p.foot-res-hide {
        display: none!important;
    }
    #page {
        margin: 0 0 80px;
    }
}
@media only screen and (max-width: 600px) {
    #slider {
        height: 340px!important;
    }
    #header.header-small .wrap, #header.header-large .wrap {
        padding: 10px 20px 4px!important;
    }
    .wrap {
        padding: 0 20px!important;
    }
    .nav-toggle {
        right: 9.5px!important;
    }
    .grid-sizer { width: 100%!important; }
    .gutter-sizer { width: 2%!important; }
    .home-featured .work, .work.format-standard {
        width: 100%!important;
        height: 330px!important;
    }
    .dialog-box {
        width: 94% !important; 
        top:3% !important;
        left:3% !important;
        height:auto !important;
        padding:12px !important;
    }

    .dialog-box p {
        display:none !important;
    }

    .dialog-box h3 {
        display:none !important;
    }

    .dialog-box.closed {
        height: 39px !important;
        width: 39px !important;
        padding: 12px !important;
    }

    .work {
        width: 100%!important;
    } 
    .work.format-featured h3, .work.format-video h3 {
        width: 100%!important;
    }


    nav.menu {
        width: 280px!important;
    }
    #clients ul li, #clients ul li:nth-of-type(5n), #clients ul li:nth-of-type(4n),
    #clients ul li:nth-of-type(3n) {
        width: 49%!important;
        margin: 0 2% 2% 0!important;
    }
    #clients ul li:nth-of-type(2n) {
        margin: 0 0 2%!important;
    }

    .wpb_video_widget .wpb_wrapper .wpb_video_wrapper, .wpb_video_wrapper .lazy-load-vimeo-div, .wpb_video_wrapper iframe, 
.wpb_video_wrapper .preview-vimeo {
        height: 350px!important;
    }
    #loading #loader {
        height: 120px!important;
        width: 120px!important;
    }
    #loader #desktop {
        display: none!important;
    }
    #loader #responsive {
        display: block!important;
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .vc_col-sm-4 .wpb_wrapper {
        margin-bottom:20px !important;
    }

}
@media only screen and (max-width: 500px) {
/*    #clients ul li, #clients ul li:nth-of-type(5n), #clients ul li:nth-of-type(4n),
    #clients ul li:nth-of-type(3n),#clients ul li:nth-of-type(2n) {
        width: 100%!important;
        margin: 0 0 20px 0!important;
    }*/
    .work.format-featured h3, .work.format-video h3 {
        width: auto !important;
    }

    .three > div > section {
        width: 100%!important;
        margin: 0 0 20px 0!important;
    }


    .three > section, .three > section:nth-of-type(3n), .three > section:nth-of-type(2n) {
        width: 100%!important;
        margin: 0 0 20px 0!important;
    }
    .wpb_video_widget .wpb_wrapper .wpb_video_wrapper, .wpb_video_wrapper .lazy-load-vimeo-div, .wpb_video_wrapper iframe, 
.wpb_video_wrapper .preview-vimeo {
        height: 220px!important;
    }
    .footer-wrap .three > section {
        float: none!important;
        width: 100%!important;
        text-align: center;
    }
    .footer-wrap .three > section:nth-of-type(1) {
        float: none!important;
        width: auto!important;
        margin: 0 10% 0 0;
    }
    .footer-wrap .three > section:nth-of-type(3) {
        float: none!important;
        width: auto!important;
    }
    #backToTop {
        float:none !important;
        text-align:center;
        padding:20px;
        display:block !important;
    }  
    #clients ul li img {
      max-width: 145px!important;
      max-height: 145px!important;
    } 
}
@media only screen and (max-height: 640px) { 
    .menu-social {
        display: none!important;
    }
    .mobile-nav a {
      font-size: 16px !important;
    }
ul.mobile-nav .menu-item-has-children {
    max-height:25px !important;
}

.mobile-nav li.open.menu-item-has-children {
    max-height:272px !important;
}

body.menu-open .mobile-nav {
    padding:0 !important;
}
}
@media only screen and (max-height: 560px) { 
    #languages {
        display: none!important;
    }
}

/* Slide Menu */

.logo a img:hover, .logo-small a img:hover, .logo-small-alt a img:hover {
    opacity:0.6;
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

.logo a img, .logo-small a img, .logo-small-alt a img {
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

body.menu-open .logo-small-alt {
    opacity: 1;
    display:none;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: opacity .35s ease .3s, -webkit-transform .35s ease .4s;
    transition: opacity .35s ease .3s, transform .35s ease .4s;
}

.logo-small-alt {

    opacity: 0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}


.nav-toggle {
    position: absolute;
    right: 30.5px;
    cursor:pointer;
    margin:0;
    visibility:hidden;
    opacity:0;
    font-size:13px;
    height:38px;
    padding:9.5px;
    font-weight:bold;
}

.nav-toggle svg g {
    -webkit-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}


.nav-toggle svg {
    float:right;
}

.nav-toggle:hover svg g {
    opacity:.6;
}


.nav-toggle a {
    padding-right:15px;
    text-transform:uppercase;
    position:absolute;
    top:10.5px;
}


/* general style for all menus */

nav.menu {
    position: fixed;
    z-index: 20;
    top: 0;
    width: 340px;
    padding: 20px 34px 34px 34px;
    height: 100%;
    background: rgba(255,255,255,0.89);
    color:#F8370B;
}
nav.menu ul {
    list-style-type: none;
    margin: 0; 
    padding: 0;
}
nav.menu a {
    font-weight: 300;
    color: #F8370B;
}

nav.mobile-menu button.close-menu {
    margin: 10px 0;
    padding: 10px 30px;
    background-color: #3184a1;
    color: #F8370B;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    transform-origin: center bottom
}

nav.mobile-menu {
    right:-340px;
    transform: translate3d(0px, 0px, 0px);
    -webkit-transition: all .5s cubic-bezier(0.645,.045,.355,1);
    -moz-transition: all .5s cubic-bezier(0.645,.045,.355,1);
    transition: all .5s cubic-bezier(0.645,.045,.355,1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.close-menu {
    position: absolute;
    top: -9.5px;
    right: -9.5px;
    padding: 9.5px;
    color:#F8370B;
    cursor:pointer;
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(15px, 0);
    transform: translate(15px, 0);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    z-index:9;
}
body.menu-open .close-menu {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .3s ease .25s, -webkit-transform .3s ease .35s;
    transition: opacity .3s ease .25s, transform .3s ease .35s;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    transform-origin: center bottom
}

/*base code*/
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}
/*the animation definition*/
@-webkit-keyframes bounce {
  0%, 100%, 20%, 53%, 80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
    transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
  }
  40%,
  43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0)
  }
  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0)
  }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0)
  }
}
@keyframes bounce {
  0%, 100%, 20%, 53%, 80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
    transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
  }
  40%,
  43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    -webkit-transform: translate3d(0, -30px, 0);
    -ms-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0)
  }
  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    transition-timing-function: cubic-bezier(0.755, .050, .855, .060);
    -webkit-transform: translate3d(0, -15px, 0);
    -ms-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0)
  }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    -ms-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0)
  }
}
.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom
}


.mobile-nav {
    padding:0;
    margin: 0 0 20px 0;
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}
body.menu-open .mobile-nav {
    padding:50px 0 0 0;
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .35s ease .3s, -webkit-transform .35s ease .4s;
    transition: opacity .35s ease .3s, transform .35s ease .4s;
}

.mobile-nav li {
    margin:0 0 5px 0;
    padding:0;
    list-style:none;
    overflow: hidden;

}

.mobile-nav a {
    font-size:22px;
    color:#F8370B;
    cursor:pointer;
}

.mobile-nav li a .fa {
    font-size: 16px;
    margin-left:16px;
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);   
}

ul.mobile-nav li.current-menu-item > a, .post-type-archive-work ul.mobile-nav .mobile-work-item > a, .tax-work-category ul.mobile-nav .mobile-work-item > a {
    opacity:0.6;
}

ul.mobile-nav .menu-item-has-children {
    max-height:30px;
    -webkit-transition: all 0.3s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.3s cubic-bezier(0.26, 0.46, 0.45, 0.94);   
}

.mobile-nav li.open.menu-item-has-children {
    max-height: 272px;
    -webkit-transition: all 0.3s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.3s cubic-bezier(0.26, 0.46, 0.45, 0.94);   
}

.mobile-nav li.open a .fa {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}


.mobile-nav ul {
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

.mobile-nav li.open ul {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .3s ease .25s, -webkit-transform .3s ease .35s;
    transition: opacity .3s ease .25s, transform .3s ease .35s;  
    margin: 10px 0;
}

.mobile-nav ul li a {
    font-size:16px;
}

.page-languages {
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

body.menu-open .page-languages {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .4s ease .3s, -webkit-transform .4s ease .4s;
    transition: opacity .4s ease .3s, transform .4s ease .4s;
}

.contact-information {
    padding:20px 0 0 0;
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

body.menu-open .contact-information {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .4s ease .35s, -webkit-transform .4s ease .45s;
    transition: opacity .4s ease .35s, transform .4s ease .45s;
}


#languages {
    visibility:hidden;
    opacity:0;
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}
body.menu-open #languages {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .45s ease .4s, -webkit-transform .45s ease .5s;
    transition: opacity .45s ease .4s, transform .45s ease .5s;
}

#lang_sel_list {
    height: 15px;
}

.languages li {
    display:inline-block;
    margin:0 16px 0 0;
}

.current-language a {
    opacity:1;
}

.languages li a {
    opacity:0.6;
}

.languages li a:hover {
    opacity:1;
}


.menu-social {
    font-size:22px;
    visibility:hidden;
    float:left;
    opacity:0;
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
    -webkit-transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
    transition: all 0.2s cubic-bezier(0.26, 0.46, 0.45, 0.94);
}

body.menu-open .menu-social {
    opacity:1;
    visibility:visible;
    -webkit-transform:translate(0, 0);
    transform:translate(0, 0);
    -webkit-transition: opacity .5s ease .45s, -webkit-transform .5s ease .55s;
    transition: opacity .5s ease .45s, transform .5s ease .55s;
}

.menu-social a {
    margin-right:16px;
}




body.menu-open nav.mobile-menu {
    -webkit-transform: translate3d(-340px, 0px, 0px);
    transform: translate3d(-340px, 0px, 0px);
    -webkit-transition: all .5s cubic-bezier(0.645,.045,.355,1);
    -moz-transition: all .5s cubic-bezier(0.645,.045,.355,1);
    transition: all .5s cubic-bezier(0.645,.045,.355,1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#menu {
    overflow: scroll;
    padding:20px 34px;
}
