@media screen and (max-width: 1650px) {
  html {
    font-size: 50.5%;
  }
}

@media screen and (max-width: 1280px) {
  /*.footer-text {
  font-size: 1.4rem;
}
.slidecontent p {
  font-size: 1.4rem;
}*/
  .page-template-page-services .gotoid li a {
    margin: 0 1.6rem;
  }
  .servicedescription h3 {
    font-size: 4.6rem;
  }
  .servicedescription p {
    line-height: 3.6rem;
  }
  /*.page-header p {
  font-size: 1.7rem;
}
.bio p {
  font-size: 1.7rem;
  line-height: 2.8rem;
}*/
}

@media screen and (max-width: 1024px) {
  .slidecontent {
    bottom: 50px;
    left: 80px;
    position: absolute;
  }
  /*body .ui-tabs-vertical .ui-tabs-panel p {
  font-size: 1.6rem;
}*/
  .page-header h1 {
    font-size: 8.7rem;
  }
  .page-header p {
    font-size: 1.6rem;
  }
  .page-template-page-services .gotoid li a {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin: 0 0.9rem;
  }
  .servicedescription h3 {
    font-size: 3.9rem;
  }
  .servicedescription p {
    line-height: 3rem;
  }
  .works li a,
  .home-zm-over .wpb_single_image .vc_figure-caption span {
    font-size: 3rem;
  }
}

@media screen and (max-width: 800px) {
  body .ui-tabs .ui-tabs-nav {
    padding: 8rem 60px;
    width: calc(33.33% - 120px);
  }
  body .ui-tabs .ui-tabs-panel {
    padding: 8rem 60px;
    width: calc(66.66% - 120px);
  }
  #footer-nav a {
    margin: 0.5rem 0;
  }
  .footer_logo h5::after {
    margin: 1.5rem auto 0 !important;
  }
  .footer_logo h5 {
    margin-bottom: 0;
    font-size: 18px !important;
  }

  .page-header {
    width: 80%;
  }
  .servicedescription p {
    font-size: 1.7rem;
  }
  .works li a,
  .home-zm-over .wpb_single_image .vc_figure-caption span {
    font-size: 18px !important;
  }

  #serviceslists .widget {
    margin: 4rem 0 4rem;
    width: 50%;
  }
  #serviceslists {
    padding: 8rem 0;
  }
  /*.bio p {
    font-size: 1.5rem;
    line-height: 2rem;
}*/

  .post-nav span {
    margin: 5px 10px;
    position: relative;
    width: 45%;
  }
  .wpcf7 textarea {
    height: 208px;
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 760px) {
  .slidecontent {
    bottom: 40px;
    left: 50px;
  }
  body .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding: 8px 0;
  }
  body .ui-tabs .ui-tabs-nav {
    padding: 8rem 40px;
    width: calc(33.33% - 80px);
  }
  /*body .ui-tabs-vertical .ui-tabs-panel p {
    font-size: 1.6rem;
    line-height: 2.88rem;
}*/

  .works li,
  .home-zm-over.vc_row.vc_row-o-equal-height > .vc_column_container {
    height: calc(100vw / 2.1);
    width: calc(100% / 2);
  }
  #footer .widget {
    background: #f7f7f7 none repeat scroll 0 0;
    display: table;
    float: left;
    /*height: calc(100vw / 3.2);*/
    height: auto;
    margin: 0;
    padding: 0 0 6rem;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    /*width: calc(100vw / 2);*/
  }
  #footer .widget.footer_logo {
    /*padding: 6rem 0 0;*/
    width: 50%;
    padding: 9rem 0 6rem 0;
  }
  #footer > .widget:nth-child(2) {
    width: 50%;
    padding: 6rem 0;
  }

  #footer .widget.bgred {
    background: #fa3b40 none repeat scroll 0 0;
    padding: 6rem 0;
    text-align: center;
    width: 100%;
  }
  .footer-text {
    text-align: center;
  }
  body footer .social {
    text-align: center;
  }
  .social li {
    margin: 0 1rem;
  }

  .page-template-page-services .works li {
    height: calc(100vw / 1);
    width: 100%;
  }

  .emptycontent {
    display: none !important;
  }
  .imagecontent,
  .namecontent {
    height: calc(100vw / 2.1);
    width: 50%;
  }
  .clients li {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #efefef !important;
    background-image: none;
    background-origin: padding-box;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    border: 1px solid #fff !important;
    display: inline-block !important;
    float: left !important;
    height: calc(100vw / 2.1);
    margin: 0;
    opacity: 1;
    position: relative;
    text-align: center;
    transition: all 0.2s ease 0s;
    vertical-align: middle;
    width: calc(100% / 2 - 2px);
  }
}

@media screen and (max-width: 1000px) {
  #responsive-menu-container.push-right,
  #responsive-menu-container.slide-right {
    max-width: none;
    width: 100%;
  }

  body #responsive-menu-container .social {
    display: none !important;
  }
  body #responsive-menu-container #responsive-menu-additional-content {
    height: 100px;
    font-size: 22px;
    letter-spacing: 5px;
    top: initial;
    bottom: 0;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    left: 4rem;
    width: calc(100% - 8rem);
  }
  body #responsive-menu-container #responsive-menu-additional-content span {
    display: block;
    font-size: 15px;
    font-weight: 200;
  }
  #responsive-menu-container #responsive-menu {
    margin: 0;
  }
  #responsive-menu-container #responsive-menu-wrapper {
    padding: 7% 0 150px;
    margin: 0;
	margin-left: 30px;
  }
  body #responsive-menu-container #responsive-menu li.responsive-menu-item a {
    font-size: 26px !important;
  }
  body.scrolled #header {
    background: #fa3b40 !important;
  }
}

@media (max-width: 1000px) and (orientation: landscape) {
  body #responsive-menu-container #responsive-menu-additional-content {
    height: 100px;
    font-size: 22px;
    letter-spacing: 5px;
    top: initial;
    bottom: -170px;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    left: 4rem;
    width: calc(100% - 8rem);
  }
}

@media screen and (max-width: 600px) {
  .bx-wrapper .bx-pager {
    padding: 32px 15px !important;
  }

  #hidden-mobile {
    display: none !important;
  }
  #span-mobile {
    display: inline-block !important;
    margin-right: 3px;
  }
  .page-id-14 #pageintro .page-header p br {
    /*display:none;*/
  }

  body.page.page-id-14 #pageintro p a {
    color: #fff !important;
  }

  .page-id-14 #pageintro .page-header p span {
    display: block;
  }

  .home-zm-over.vc_row.vc_row-o-equal-height
    > .vc_column_container.hide-mobile {
    display: none !important;
  }
  .responsive-menu-inner,
  .responsive-menu-inner::before,
  .responsive-menu-inner::after {
    background-color: #fff !important;
  }
  body .ui-tabs .ui-tabs-nav {
    padding: 6rem 40px;
    width: calc(100% - 80px);
  }
  body .ui-tabs .ui-tabs-nav li {
    margin: 0;
    position: relative;
    white-space: initial;
    width: 100% !important;
    outline: none;
  }
  body .ui-tabs .ui-tabs-nav li a {
    font-size: 16px;
    text-align: left;
  }
  .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
    cursor: pointer !important;
  }
  body .ui-tabs .ui-tabs-panel {
    padding: 0;
    width: 100%;
    display: block;
  }
  .servicecontent h5 {
    display: none;
  }
  body .ui-tabs-vertical .ui-tabs-panel p {
    font-size: 16px;
    color: #fff;
  }
  /*#footer .widget {
  background: #f7f7f7 none repeat scroll 0 0;
  display: table;
  float: left;
  height: calc(100vw / 3.1);
  margin: 0;
  padding: 6rem 0;
  text-align: center;
  vertical-align: middle;
  width: calc(100vw / 2);
}*/
  .page-template-page-services .gotoid li {
    display: inline-block;
    width: 100%;
  }
  .servicedescription h3 {
    margin-bottom: 4rem;
    width: 100%;
    font-size: 36px;
    padding: 0 !important;
  }
  .servicedescription p {
    width: 100%;
  }
  .works li a,
  .home-zm-over .wpb_single_image .vc_figure-caption span {
    font-size: 3.2rem;
  }
  .page-header h1 {
    font-size: 5.7rem;
  }
  /*.works li, .home-zm-over.vc_row.vc_row-o-equal-height>.vc_column_container  {
    height: calc(50vw / 1);
    width: 50%;
}*/
  .works.zm-mobile-works li:nth-child(n + 4) {
    display: none !important;
  }
  .post-nav {
    margin: 3rem 0 5rem;
  }
  #slider-content {
    /*max-height: 210px;
    max-height: 450px;*/
    margin-top: 0px;
    position: relative;
  }

  #header {
    position: fixed;
    top: 0;
    height: 65px;
    width: 100%;
    background: #fa3b40;
  }
  .home #header {
    background: transparent;
  }
  .home #header.red {
    background: #fa3b40;
  }
  #site-logo {
    height: 65px;
    margin: 0;
  }
  #site-logo a {
    display: block;
  }
  #site-logo a img {
    max-width: 200px;
    height: 65px;
  }
  body button#responsive-menu-button {
    top: 5px;
    right: 10px;
  }

  /*body #responsive-menu-container #responsive-menu-additional-content*/

  .slidecontent,
  .gotocontent,
  #footer .widget.footer_logo,
  #footer .widget.footer_logo + .widget,
  #responsive-menu-container .social,
  #serviceslists,
  #pageintro .page-header .gotoid,
  .page-header p {
    display: none !important;
  }
  #pageintro .page-header .gotoid {
    display: block !important;
    margin-top: 30px;
  }
  #zm-mobile-hd {
    display: block;
  }
  body .explore a::after {
    margin-left: -40px;
    width: 80px;
    top: 65px;
  }
  .works li a b {
    display: block;
  }
  .fa {
    font-size: 36px !important;
  }
  body footer .social {
    width: auto;
  }
  .social li {
    margin: 0 2rem;
  }
  #prev-zm,
  #next-zm {
    display: none;
  }
  #responsive-menu-container.push-right,
  #responsive-menu-container.slide-right {
    max-width: none;
    width: 100%;
  }

  #pageintro {
    height: 100vh;
    margin-top: 0px;
    position: relative;
    z-index: 3;
  }
  #pageintro .page-header {
    top: 0;
    width: 100%;
    left: 0;
    margin: 0;
    bottom: 0;
    transform: translateX(0) !important;
  }
  #pageintro .page-header h1 {
    margin: 0;
    line-height: 212px;
  }
  #pageintro .page-header h1 {
    margin: 0;
    line-height: 40px;
    margin-top: 150px;
  }

  .page-template-page-services .works li.services-zm {
    display: table;
  }
  .page-template-page-services .works li {
    height: calc(50vw / 1);
    width: 50%;
    display: table;
  }
  .servicedescription p {
    font-size: 16px;
    padding: 0 !important;
  }
  .imagecontent .bio {
    display: none;
  }
  .imagecontent .image {
    opacity: 1 !important;
  }
  .imagecontent {
    background: none !important;
  }
  .person.distri-zm {
    display: block !important;
    font-size: 0;
    height: auto;
  }
  .person.distri-zm li {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
  }
  .person.distri-zm li.bio-mobile {
    width: 100%;
    display: none;
    float: none;
    margin: 0;
    cursor: default;
  }
  .mobile-center-content {
    display: table;
    width: 100%;
    height: 100%;
  }
  .mobile-center-content div {
    display: table-cell;
    vertical-align: middle;
  }
  .works.full-width-mobile li {
    height: calc(100vw / 1);
    width: 100%;
  }
  .clients li {
    width: 50%;
    border: none !important;
  }
  #wpcf7-f105-o1 .six.columns {
    width: 100%;
    margin: 0;
  }
  .wpcf7 input[type="email"],
  .wpcf7 input[type="number"],
  .wpcf7 input[type="search"],
  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="password"],
  .wpcf7 textarea,
  .wpcf7 select {
    width: 100%;
    border-color: #fff;
  }
  .wpcf7 input[type="submit"] {
    border: 1px solid white;
    background: none;
    margin: auto;
    display: block;
  }
  .page-id-14 .zm-red {
    background: #f93b40 !important;
    padding: 0 !important;
  }
  .page-id-12 #pageintro,
  .page-id-14 #pageintro {
    background: #f93b40 none repeat scroll 0 0;
  }
  .page-id-12 #pageintro .page-header h1,
  .page-id-14 #pageintro .page-header h1 {
    color: #fff !important;
  }
  body .ui-tabs .ui-tabs-nav {
    min-height: 1px;
  }
  .home a.gotocontent {
    display: block !important;
    /*top: 165px;
top: 385px;*/
    bottom: 10px !important;
    bottom: inherit;
  }

  a.gotocontent {
    display: block !important;
    top: inherit;
    bottom: 15px;
  }
  #pageintro .page-header p {
    display: block !important;
    margin-top: 30px;
    padding: 0 5%;
    font-size: 2rem;
  }
  body:not(.single-portfolio) #pageintro,
  body.page.page-id-14 #pageintro {
    background: #f93940;
  }
  .page-template-page-services .gotoid li a,
  #pageintro .page-header h1,
  #pageintro .page-header p {
    color: #fff;
  }
  .gotocontent {
    background: rgba(0, 0, 0, 0) url("images/arrow.png") no-repeat scroll 0 0 /
      40px auto;
  }
}

@media screen and (max-width: 520px) {
  html body.home #slider-content {
    background: transparent;
    height: auto !important;
  }

  .single-portfolio #pagecontent .container-wkp-title {
    padding: 40px 0;
  }

  .namecontent h5 {
    /*font-size: 36px;*/
    font-size: 2.5rem;
    margin: 0;
  }
  .namecontent .name,
  .namecontent p {
    font-size: 10px;
  }

  #site-logo a img {
    max-width: 200px;
  }

  body .hidemobile {
    display: none !important;
  }

  #footer .widget {
    padding: 2rem 0;
    width: 100%;
  }
  .footer_logo a {
    display: inline-block;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem !important;
    text-align: center;
    width: 100%;
  }

  #footer-nav {
    display: inline-block;
    margin: 0 auto 3rem;
    width: auto;
  }
  /*body footer .social {
  margin-bottom: 6rem;
  text-align: center;
}*/
  .page-header h1 {
    font-size: 4.7rem;
  }
  .servicedescription {
    display: block;
    max-width: none;
    padding: 5rem 0;
  }

  #serviceslists .widget {
    margin: 6rem auto;
    width: 65%;
    display: block;
    float: none;
  }
  .bio p {
    /*font-size: 1.5rem;
  line-height: 2rem;
  padding: 2rem 0;*/
    vertical-align: middle;
  }
  #pagecontent.box {
    background: #fff none repeat scroll 0 0;
    padding: 8rem 0;
  }
  body #responsive-menu-container #responsive-menu li.responsive-menu-item a {
    background-color: #fa3b40;
    border-bottom: 0 none !important;
    border-top: 0 none !important;
    color: #fff;
    font-size: 36px !important;
    font-weight: bold !important;
    line-height: 40px;
    padding: 0.7rem 4rem;
  }

  .item.halfw {
    height: auto;
    width: 100%;
  }
  .post-nav span {
    margin: 12px 10px;
    position: relative;
    width: 40%;
  }
  .post-nav a {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 480px) {
  body #responsive-menu-container #responsive-menu li.responsive-menu-item a {
    font-size: 34px !important;
    font-weight: 500 !important;
    font-family: 'DINregular';
  }
  body #responsive-menu-container #responsive-menu-additional-content {
    font-size: 20px;
  }
}

@media screen and (min-width: 1024px) {
  body .ui-tabs-vertical .ui-tabs-panel p {
    font-size: 18px;
  }
}

@media screen and (min-width: 601px) {
  .bio-mobile {
    display: none !important;
  }
}
