/* !Responzive (Author: mail@jandousek.cz) */

@media only screen and (max-width: 1920px) {

  .webHead {
    width: auto;
    left: 0;
    right: 0;
    margin-left: 0;
  }

}

@media only screen and (max-width: 1600px) {

  .contactMap-title, .contactMap-pin {
    display: none;
  }
  .webSection.type-contact .webSection-title {
    display: block;
  }

}

@media only screen and (max-width: 1500px) {

  .webSection .personItem_List {
    margin-left: -100px;
    margin-right: -100px;
  }

}

@media only screen and (max-width: 1400px) {

  .webSection-scroll {
    left: 100px;
    margin-left: 0;
  }
  .boxItem-title {
    font-size: 18px;
  }

}

@media only screen and (max-width: 1300px) {

  .webSection-col.align-left {
    width: auto;
    float: none;
  }
  .webSection-col.align-right {
    float: right;
    margin-top: 10px;
  }
  .webSection-col.align-middle {
    margin: 50px 350px 0 0;
  }
  .modal-window {
    width: auto;
    left: 50px;
    right: 50px;
    margin-left: 0;
  }

}

@media only screen and (max-width: 1200px) {

  .boxItem_List {
    margin: 0 -20px;
  }
  .boxItem_List .boxItem {
    margin-bottom: 40px;
  }
  .boxItem_List .boxItem-inset {
    margin: 0 20px;
  }

}

@media only screen and (max-width: 1100px) {

  .defItem_List .defItem-inset {
    padding-bottom: 30px;
  }
  .defItem_List .defItem:nth-child(even) {
    margin-right: 0;
  }
  .defItem_List .defItem:nth-child(even) .defItem-inset {
    padding-right: 0;
    text-align: center;
  }
  .defItem_List .defItem:nth-child(odd) {
    margin-left: 0;
  }
  .defItem_List .defItem:nth-child(odd) .defItem-inset {
    padding-left: 0;
    text-align: center;
  }
  .defItem_List .defItem:last-child {
    margin-right: 0;
  }
  .defItem_List .defItem:nth-child(odd) .defItem-inset:after, .defItem_List .defItem:nth-child(even) .defItem-inset:after {
    display: none;
  }
  .defItem_List .defItem:nth-child(odd) .defItem-img, .defItem_List .defItem:nth-child(even) .defItem-img {
    display: none;
  }
  .defItem_List .defItem:nth-child(odd) .defItem-icon, .defItem_List .defItem:nth-child(even) .defItem-icon {
    position: static;
  }
  .webSection .contactItem_List {
    width: auto;
    float: none;
  }
  .serviceDetail-inset:before {
    display: none;
  }
  .serviceDetail-aside {
    width: auto;
    float: none;
    text-align: left;
    padding: 20px 0 0 0;
  }
  .serviceDetail-content {
    width: auto;
    float: none;
    padding: 0;
  }
  .modal .serviceDetail-inset {
    padding: 50px;
  }
  .serviceDetail-content-inset {
    overflow: auto;
  }
  .serviceDetail-content-inset, .serviceDetail-content-inset-inset {
    max-height: none;
    padding-right: 0;
  }
  .serviceDetail-icon {
    display: none;
  }

}

@media only screen and (max-width: 1100px) {

  .webSection-title.size-large {
    font-size: 54px;
  }
  .webHead {
    height: auto;
  }
  .webHead-logo {
    margin: 24px 0;
  }
  .webHead-order {
    margin: 18px 0 18px 25px;
  }
  .webHead-nav a {
    padding: 30px 18px;
  }

}

@media only screen and (max-width: 1050px) {

  .webHead-nav a {
    padding-left: 14px;
    padding-right: 14px;
  }
  .inquiryForm .grid-col.size-40, .inquiryForm .grid-col.size-60 {
    width: 100%;
  }
  .inquiryForm textarea.input {
    height: 100px;
  }

}

@media only screen and (min-width: 951px) {

  .webHead-nav {
    display: block !important;
  }

}

@media only screen and (max-width: 950px) {

  .boxItem_List .boxItem {
    width: 50%;
  }
  .bannerItem-inset {
    padding: 40px 40px 20px 40px
  }
  .bannerItem-icon {
    display: none;
  }
  .logoItem_List .logoItem {
    width: 50%;
  }
  .contactItem-icon {
    margin-left: 0;
  }
  .contactItem_List .contactItem-inset {
    margin: 0 20px 0 20px;
    text-align: center;
  }
  .contactItem_List {
    padding: 60px 0 20px 0;
  }
  .webSection .contactItem_List {
    margin: 0 0 30px 0;
  }
  .webSection.height-full .webSection-inset {
    padding-top: 180px;
    padding-bottom: 130px;
  }
  .webSection.type-promo {
    text-align: center;
  }
  .webSection-col.align-middle {
    margin: 0;
  }
  .webSection-col.align-right {
    float: none;
    display: none;
  }
  .webSection-scroll {
    display: none;
  }
  .webSection-design {
    opacity: 0.4;
  }
  .webHead.is-hidden .webHead-inset {
    opacity: 1;
  }
  .webHead-inset-inset {
    padding-right: 70px;
  }
  .webHead-nav {
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    display: none;
    padding: 20px 0;
    background: #177bf6 url(../img/sections/lines-blue.gif) center center repeat;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .webHead-nav a {
    padding: 7px 15px;
  }
  .webHead .burger {
    z-index: 2;
    top: 50%;
    right: 15px;
    margin: -23px 0 0 0;
    background: transparent;
    box-shadow: none;
  }
  .inquiryForm-inset {
    padding: 140px 40px 20px 40px;
  }
  .modal .inquiryForm-inset {
    padding-top: 40px;
  }
  .inquiryForm-title {
    font-size: 34px;
    margin-bottom: 30px;
  }
  .inquiryForm-foot {
    padding: 35px 20px;
  }
  .flashMessage_Group, .flashMessage {
    margin-bottom: 30px;
  }

}

@media only screen and (max-width: 850px) {

  .format {
    font-size: 16px;
  }
  .format h2, .format h3 {
    margin: 30px 0 10px 0;
  }
  .format h2 {
    margin-bottom: 15px;
    font-size: 32px;
  }

}

@media only screen and (max-width: 800px) {

  .personItem-title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .personItem-social {
    margin-bottom: 25px;
  }
  .webSection-inset {
    padding: 70px 30px 50px 30px;
  }
  .webSection.height-full .webSection-inset {
    padding: 160px 30px 100px 30px;
  }
  .webSection-title {
    font-size: 36px;
  }
  .webSection-title.size-large {
    font-size: 46px;
  }
  .webSection .defItem_List {
    margin: 30px 30px 60px 30px;
  }
  .webSection .personItem_List {
    margin: 30px -40px -50px -40px;
  }
  .personItem_List-desc {
    padding: 35px 20px;
    font-weight: normal;
  }
  .webFoot-copy, .webFoot-contact {
    width: auto;
    float: none !important;
    margin-bottom: 7px;
    text-align: center !important;
  }

}

@media only screen and (max-width: 700px) {

  .field {
    margin-bottom: 20px;
  }
  .flashMessage {
    padding: 8px 15px;
    background-position: 9px 12px;
  }
  .flashMessage[class*="type-"] {
    padding-left: 32px;
  }
  .webHead-inset-inset {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .webHead-logo {
    margin: 5px 0 0 0;
  }
  .webHead-order {
    padding-left: 30px;
    padding-right: 30px;
  }
  .webHead-order {
    margin: 0;
  }
  .inquiryForm-inset {
    padding: 110px 25px 0 25px;
  }
  .modal .inquiryForm-inset {
    padding-top: 25px;
  }
  .inquiryForm-foot {
    padding: 25px 15px;
  }
  .inquiryForm-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

}

@media only screen and (max-width: 650px) {

  .btn {
    padding: 11px 35px;
  }
  .boxItem-icon {
    width: 80px;
    height: 80px;
    background-size: contain;
  }
  .personItem-img {
    max-width: 250px;
    margin: 0 auto;
  }
  .personItem_List .personItem {
    margin-bottom: 30px;
  }
  .personItem_List-desc {
    margin-top: -32px;
    padding: 25px 20px;
    font-size: 16px;
  }
  .personItem_List-desc br {
    display: none;
  }
  .personItem_List .personItem {
    width: auto;
    display: block;
  }
  .logoItem-inset img {
    max-width: 130px;
  }
  .logoItem_List .logoItem {
    margin-bottom: 40px;
  }
  .webSection-title, .webSection-excerpt {
    margin-bottom: 20px;
  }
  .webSection-title {
    font-size: 32px;
  }
  .webSection-title.size-large {
    font-size: 38px;
  }
  .webSection .logoItem_List {
    margin: 30px 0 0 0;
  }
  .webHead-logo {
    margin-top: 6px;
  }
  .webHead-logo a {
    width: 150px;
    height: 28px;
  }
  .webHead-logo a:after {
    background-image: url('../img/logo-small.png');
  }
  .webHead-order {
    padding: 14px 20px 13px 20px;
    font-weight: normal;
    font-size: 16px;
  }
  .modal .serviceDetail-inset {
    padding: 30px;
  }
  .format h2 {
    margin-bottom: 10px;
    font-size: 26px;
  }
  .format p, .format address {
    margin-bottom: 15px;
  }
  .serviceDetail-aside {
    padding-top: 10px;
  }

}

@media only screen and (max-width: 600px) {

  .contactItem_List {
    padding: 30px 0 10px 0;
  }
  .webSection .contactItem_List {
    margin-bottom: 0;
  }
  .contactItem-inset {
    font-size: 16px;
  }
  .contactItem-icon {
    margin: -5px 0 0 0;
  }
  .contactItem-title {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .contactItem_List:before {
    display: none;
  }
  .contactItem_List .contactItem {
    width: auto;
    display: block;
    margin-bottom: 20px;
  }

}

@media only screen and (max-width: 550px) {

  .defItem-icon {
    margin-bottom: 5px;
  }
  .defItem_List .defItem-inset {
    padding-bottom: 0;
  }
  .boxItem-title {
    font-size: 17px;
  }
  .boxItem-title br {
    display: none;
  }
  .boxItem_List {
    margin: 0;
  }
  .boxItem_List .boxItem {
    width: auto;
    display: block;
    margin-bottom: 25px;
  }
  .boxItem_List .boxItem-inset {
    margin: 0 0;
  }
  .webSection-inset {
    padding: 50px 20px 30px 20px;
  }
  .webSection.height-full .webSection-inset {
    padding: 130px 20px 70px 20px;
  }
  .webSection-title {
    font-size: 26px;
  }
  .webSection-title.size-large {
    font-size: 30px;
  }
  .webSection-excerpt br {
    display: none;
  }
  .webSection .define {
    margin-bottom: 20px;
  }
  .webSection .defItem_List {
    margin: 0 20px 20px 20px;
  }
  .webSection .personItem_List {
    margin-bottom: -30px;
  }
  .webHead-nav a {
    display: block;
  }
  .webSection .contactItem_List {
    margin-bottom: 15px;
  }
  .personItem_List-desc {
    padding-left: 50px;
    padding-right: 50px;
  }
  .inquiryForm .grid-col.size-50 {
    width: 100%;
  }
  .input {
    padding: 8px 50px 8px 11px;
  }
  .field {
    margin-bottom: 15px;
  }
  .inquiryForm-foot {
    padding: 15px;
  }

}

@media only screen and (max-width: 500px) {

  .logoItem_List .logoItem {
    width: auto;
    display: block;
  }
  .webSection .defItem_List {
    margin-left: 0;
    margin-right: 0;
  }
  .webHead-logo {
    margin-top: 2px;
  }
  .webHead-order {
    display: none;
  }
  .webFoot-inset {
    padding: 20px 0 12px 0;
  }
  .inquiryForm-title {
    font-size: 20px;
  }
  .inquiryForm-inset {
    padding-top: 80px;
  }
  .format h2 {
    font-size: 22px;
  }

}

@media only screen and (max-width: 450px) {

  .modal-close {
    right: 50%;
    margin-right: -23px;
  }
  .modal .inquiryForm-inset {
    padding-top: 40px;
  }
  .flashMessage[class*="type-"] {
    background-position: -1000%;
    padding-left: 15px;
  }
  .modal-window {
    left: 15px;
    right: 15px;
  }

}

@media only screen and (max-width: 350px) {

  .webSection-title {
    font-size: 24px;
  }
  .webSection-title.size-large {
    font-size: 27px;
  }

}
