/*
Theme Name: WD Theme
Theme URI: https://www.websitedelivery.nl
Description: Website delivery | WordPress webdesign & Grafische vormgeving
Version: 1.0
Author: Alexander van der Kamp
Author URI: https://www.websitedelivery.nl
*/
/* VARIABLES */
@media only screen and (max-width: 1100px) {
  .video .text .inner, .home main section, main, .blog main, .archive main, .single-post main, footer .inner {
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    overflow: hidden;
  }
  header .inner {
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
    line-height: 0;
  }
  a.backtotop {
    right: 4%;
  }
  .home main {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  header .language-switcher ul.menu:after {
    right: 2px;
  }
  main.portfolio {
    overflow: visible;
  }
}
@media only screen and (max-width: 1000px) {
  .home .video .text {
    bottom: 20px;
  }
  .home .video .text h2 {
    font-size: 40px;
  }
  .home .video .text h3 {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .home .video .controls {
    margin-bottom: 30px;
  }
  main.company section.media ul.logos li:nth-child(5) {
    margin-left: 25px;
  }
  main.company section.media ul.logos li:nth-child(7) {
    margin-right: 25px;
  }
  section.tabs .tabs-outer ul.tabs {
    width: 100%;
    margin-bottom: 10px;
  }
  section.tabs .tabs-outer ul.tabs li {
    display: inline-block;
    width: auto;
    margin: 0 5px 5px 0;
    border: 1px solid #ddd;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
  }
  section.tabs .tabs-outer ul.tabs li.active {
    border: 1px solid #ddd;
  }
  section.tabs .tabs-outer ul.tabs li.active i.arrow.right {
    display: none;
  }
  section.tabs .tabs-outer .tab-content {
    width: calc(100% - 42px);
    position: relative;
  }
  section.tabs h2 {
    margin-bottom: 15px;
  }
  section#step11 .text, section#step15 .text, section.step .inner .text, section.step .inner .image {
    width: 100% !important;
    padding: 0 !important;
    float: left;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
  }
  section.step .inner .text {
    margin-bottom: 30px;
  }
  section#wishes {
    border-top: 1px solid #777;
    padding-top: 40px;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand ul {
    column-count: 3;
  }
}
@media only screen and (max-width: 900px) {
  header nav.left, header nav.right {
    width: calc(50% - 105.5px);
  }
  header nav.left {
    padding-right: 35px;
  }
  header nav.right {
    padding-left: 30px;
  }
  h1, main.company section.media h2 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  main section.newsletter .inner {
    width: 80%;
    padding: 0 10%;
  }
}
@media only screen and (max-width: 800px) {
  header {
    padding: 9px 0;
  }
  header nav.left, header nav.right {
    display: none;
  }
  header a.mobile-menu-button {
    display: block;
  }
  header nav.mobile.show {
    width: 100%;
    max-height: 500px;
    transition: max-height 0.9s;
    -moz-transition: max-height 0.9s;
    -webkit-transition: max-height 0.9s;
    -ms-transition: max-height 0.9s;
  }
  header nav.mobile.show ul.menu {
    width: 100%;
    height: auto;
    display: inline-block;
    line-height: 24px;
    margin-top: 35px;
    margin-bottom: 20px;
  }
  header nav.mobile.show ul.menu li {
    width: 100%;
    display: inline-block;
    text-align: left;
    margin: 0;
    height: auto;
    line-height: 24px;
    padding: 5px 0;
  }
  header .logo {
    float: none;
    display: inline-block;
  }
  section.contact .left {
    width: calc(100% - 20px);
  }
  section.contact .right {
    width: 100%;
  }
  section.contact .right .maps {
    margin-top: 25px;
  }
  main.company section.man-behind {
    padding-bottom: 30px;
    border-bottom: 1px solid #777;
  }
  main.company section.man-behind .inner .text {
    width: 100%;
    padding: 0;
    position: relative;
    top: 0;
    margin-top: 40px;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
  }
  .portfolio ul.portfolio li, .portfolio ul.portfolio li:nth-child(4n+4), .portfolio ul.portfolio li:nth-child(4n+5), .portfolio ul.portfolio li:nth-last-child(-n+4) {
    width: 49%;
    clear: none;
    margin: 0 2% 4% 0;
  }
  .portfolio ul.portfolio li:nth-child(2n+2) {
    margin-right: 0;
  }
  .portfolio ul.portfolio li:nth-child(2n+3) {
    clear: both;
  }
  .portfolio ul.portfolio li:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  .portfolio ul.portfolio li a .overlay {
    background-size: 40px 40px;
  }
  section#step7 .right-image, section#step9 .left-image {
    display: none;
  }
  section#step7 .left, main.steps section#step9 .right, section#step13 ul.images, section#step13 .text {
    width: 100%;
  }
  main.steps section#step9 .right .text {
    margin-bottom: 0;
  }
  section#step13 .text {
    float: left;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    margin-top: 15px;
  }
  header.open .spotlight {
    display: none;
  }
}
@media only screen and (max-width: 700px) {
  .home .video .text h2 {
    font-size: 32px;
  }
  .home .video .text h2 br {
    display: none;
  }
  .home .video .text h3 {
    font-size: 15px;
    line-height: 20px;
  }
  .home .video .text span {
    font-size: 15px;
  }
  .home .video .text i {
    padding: 3px;
    border-width: 0 1px 1px 0;
  }
  main section.newsletter .inner {
    width: 90%;
    padding: 0 5%;
  }
  main section.newsletter .inner .titel br {
    display: none;
  }
  main.company section.media ul.logos {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  main.company section.media ul.logos li {
    margin: 5px 20px;
  }
  main.company section.media ul.logos li img {
    max-height: 40px;
    max-width: 110px;
  }
  section.call-to-action ul.wheel li, section.wheel ul.wheel li, section.call-to-action ul.wheel li:nth-last-child(-n+4), section.wheel ul.wheel li:nth-last-child(-n+4) {
    width: calc(49% - 2px);
    margin: 0 2% 2% 0;
  }
  section.call-to-action ul.wheel li:nth-child(2n+2), section.wheel ul.wheel li:nth-child(2n+2) {
    margin-right: 0;
  }
  section.call-to-action ul.wheel li:nth-child(4n+5), section.wheel ul.wheel li:nth-child(4n+5) {
    clear: none;
  }
  section.call-to-action ul.wheel li:nth-last-child(-n+2), section.wheel ul.wheel li:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  .home main section.more-steps ul.steps-345 {
    display: none;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand ul {
    column-count: 2;
    top: 102px;
  }
  .portfolio section.filter form.searchandfilter ul li {
    padding-top: 0;
  }
  .portfolio section.filter form.searchandfilter {
    width: 100%;
    display: inline-block;
    float: left;
  }
  .portfolio section.filter form.searchandfilter ul li {
    margin-left: 0;
    margin-right: 15px;
  }
  .home .video .controls {
    margin-bottom: 30px;
    top: 150px !important;
  }
  .blog main .inner section, .archive main .inner section, .single-post main .inner section {
    width: 100%;
  }
  .blog main .inner sidebar, .archive main .inner sidebar {
    display: none;
  }
  .single-post main .inner sidebar {
    width: 100%;
    margin-top: 40px;
  }
  .blog main h1.blog-title, .archive main h1.blog-title, .single-post main h1.blog-title {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 600px) {
  input[type="text"], input[type="email"], input[type="tel"], textarea, div.wpcf7-mail-sent-ok, div.wpcf7-validation-errors {
    width: 90%;
    padding: 12px 5%;
  }
  select {
    width: 100%;
    padding: 15px 5%;
  }
  input[type="submit"] {
    padding: 12px 5%;
  }
  footer .inner .slogan {
    font-size: 20px;
    margin-top: 30px;
  }
  main section.newsletter .inner form input[type=email], main section.newsletter .inner form input[type=email]:focus {
    width: auto;
  }
  main section.newsletter {
    font-size: 14px;
    line-height: 18px;
  }
  h1, main.company section.media h2 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  section.contact .left .wpcf7 {
    padding: 15px;
  }
  section.contact .left .wpcf7 table.contact-form tr td:nth-child(1) {
    width: 105px;
    padding-right: 10px;
    font-size: 14px;
    line-height: 16px;
  }
  section.contact .left .wpcf7 table.contact-form tr td:nth-child(1) small {
    font-size: 12px;
    line-height: 16px;
  }
  section.contact .left .wpcf7 table.contact-form tr td:nth-child(2) {
    width: calc(100% - 115px);
  }
  main section {
    padding: 50px 0;
  }
  .single-restorations main .pre-step-titel a.steps {
    display: none;
  }
  .single-restorations main section.step ul.gallery li, .single-restorations main section.step ul.gallery li:nth-child(3n+3), .single-restorations main section.step ul.gallery li:nth-child(3n+4), .single-restorations main section.step ul.gallery li:nth-last-child(-n+3) {
    width: 49%;
    clear: none;
    margin: 0 2% 4% 0;
  }
  .single-restorations main section.step ul.gallery li:nth-child(2n+2) {
    margin-right: 0;
  }
  .single-restorations main section.step ul.gallery li:nth-child(2n+3) {
    clear: both;
  }
  .single-restorations main section.step ul.gallery li:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  .single-restorations main section.step ul.gallery li a .overlay {
    background-size: 40px 40px;
  }
  section.tabs .tabs-outer.desktop {
    display: none;
  }
  section.tabs .tabs-outer.mobile {
    display: block;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand ul {
    column-count: 1;
    height: auto;
    width: 83%;
  }
  .sf-field-submit {
    position: absolute;
    top: 11px;
    right: -17px;
  }
  .blog main .inner, .archive main .inner, .single-post main .inner {
    padding: 40px 0;
  }
  section.contact .left .gform_wrapper .gfield_label, section.contact .left .gform_wrapper .ginput_container, section.contact .left .gform_wrapper .gfield_description {
    width: 100%;
  }
  section.contact .left .gform_wrapper .gfield--type-textarea {
    margin-top: 20px;
  }
  section.contact .left .gform_wrapper .ginput_container_textarea {
    margin-top: 0;
  }
  section.contact .left .gform_wrapper .gform_footer {
    padding-top: 10px;
  }
  section.contact .left .gform_wrapper .gform_footer input[type=submit] {
    margin-left: 0;
    line-height: 39px !important;
  }
}
@media only screen and (max-width: 500px) {
  header .inner, .video .text .inner, .home main section, main, footer .inner {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
  a.backtotop {
    right: 5%;
    bottom: 10px;
  }
  .home .video .text h2 {
    font-size: 28px;
  }
  .home .video .text h3 {
    margin-bottom: 20px;
  }
  .home .video .text span {
    font-size: 14px;
  }
  main section.newsletter .inner .titel {
    font-size: 20px;
    line-height: 26px;
  }
  main.company section.media p {
    width: 100%;
    margin: 0;
  }
  main.company section.quote {
    width: 90%;
    margin: 0 5%;
    font-size: 20px;
    line-height: 26px;
  }
  .header-image {
    height: 150px;
  }
  section.tabs .tabs-outer ul.tabs li {
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  .portfolio ul.portfolio li a {
    font-size: 14px;
  }
  main section.intro {
    font-size: 16px;
  }
  main section.intro .inner {
    padding: 0;
  }
  .portfolio .search form input[type=text] {
    width: 130px;
  }
  .portfolio section.intro br {
    display: none;
  }
  section.wheel ul.wheel {
    display: none;
  }
  section.wheel select.wheel {
    display: block;
  }
  main section.intro {
    padding-bottom: 40px;
  }
  section.step .inner .text {
    line-height: 20px;
  }
  section.step .top-image {
    margin-bottom: 15px;
  }
  .home main section.more-steps .overlay {
    float: left;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    padding: 0;
  }
  .home main section.more-steps .overlay br {
    display: none;
  }
  .single-restorations main a.back.mobile {
    display: block;
    text-align: center;
    margin: 0 0 30px;
  }
  .single-restorations main section.step:last-of-type {
    border-bottom: none;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand ul {
    height: 200px;
    overflow: scroll;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand {
    padding: 0;
    width: 100%;
    margin-right: 0;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand h4 {
    width: calc(100% - 24px);
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-search {
    padding-top: 10px;
  }
  .portfolio section.filter form.searchandfilter ul li.sf-field-taxonomy-brand ul {
    top: 101px;
    width: calc(100% - 50px);
  }
  .blog main .post-image, .archive main .post-image {
    height: auto;
    margin-bottom: 20px;
  }
  .blog main .post-image img, .archive main .post-image img {
    position: relative;
    top: 0;
    transform: none;
  }
}
@media only screen and (max-width: 400px) {
  body {
    font-size: 14px;
    line-height: 22px;
  }
  main section.newsletter .inner .titel {
    font-size: 18px;
    line-height: 24px;
  }
  main section.newsletter .inner form input[type=email], main section.newsletter .inner form input[type=email]:focus {
    width: 140px;
  }
  .portfolio .search {
    border-bottom: none;
  }
  .portfolio .search form {
    width: calc(100% - 6px);
  }
  .portfolio .search form input[type=text] {
    width: 80%;
  }
  .portfolio .search form input[type=image] {
    float: right;
  }
  .portfolio .search h2 {
    width: 100%;
    text-align: center;
  }
  .portfolio section.portfolio {
    padding: 20px 0;
  }
  .portfolio ul.portfolio li, .portfolio ul.portfolio li:nth-child(2n+2), .portfolio ul.portfolio li:nth-child(2n+3), .portfolio ul.portfolio li:nth-last-child(-n+3) {
    width: 100%;
    clear: none;
    margin: 0 0 4% 0;
  }
  section.tabs {
    padding: 15px;
    width: calc(100% - 30px);
  }
  section.tabs .tabs-outer .tab-content div {
    padding: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    font-size: 15px;
  }
  section#step15 .bottom-images img {
    width: 100%;
    margin-right: 0;
  }
  section#step15 .bottom-images img:first-of-type {
    margin-bottom: 10px;
  }
  section#step15 .bottom-images {
    margin-top: 10px;
  }
  h1, main.company section.media h2 {
    font-size: 28px;
  }
  .single-restorations main section.step ul.gallery li a .overlay {
    background-size: 30px 30px;
  }
}
