/*END OF NAV*/
@media only screen and (max-width: 1281px) {
  main .container, main .container-2 {
    margin-left: 10%;
    margin-right: 10%;
  }
  main #reference {
    padding-left: 0;
  }
}

@media only screen and (max-width: 1281px) {
  #menu {
    width: 60vw;
  }
}

@media only screen and (max-width: 1000px) {
  /*BEGIN OF NAV*/
  nav ul, li {
    background: rgba(255, 255, 255, 0.87);
  }
  nav ul a, li a {
    background: none;
  }
  #menuToggle {
    display: block;
    position: relative;
    top: 30px;
    margin-left: 84%;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
     -ms-user-select: none;
         user-select: none;
  }
  #menuToggle a {
    text-decoration: none;
    color: #232323;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  #menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
  }
  #menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #000000;
    border-radius: 3px;
    z-index: 1;
    -webkit-transform-origin: 4px 0px;
            transform-origin: 4px 0px;
    -webkit-transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  #menuToggle span:first-child {
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  #menuToggle span:nth-last-child(2) {
    -webkit-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
  #menuToggle input:checked ~ span {
    opacity: 1;
    -webkit-transform: rotate(45deg) translate(-2px, -1px);
            transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
  }
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    -webkit-transform: rotate(0deg) scale(0.2, 0.2);
            transform: rotate(0deg) scale(0.2, 0.2);
  }
  #menuToggle input:checked ~ span:nth-last-child(2) {
    -webkit-transform: rotate(-45deg) translate(0, -1px);
            transform: rotate(-45deg) translate(0, -1px);
  }
  #menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-shadow: 0px 0px 10px #00000029;
            box-shadow: 0px 0px 10px #00000029;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    width: 100vw;
    padding: 150px 0 0 0px;
    margin: -100px 0 0 -84vw;
    padding-top: 125px;
    max-width: 100vw;
    background: #ffffffe8;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
    -webkit-transform: translate(-100%, 0);
            transform: translate(-100%, 0);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  #menu a {
    padding: 1rem 0;
    width: 100%;
    background: #ffffffe8;
  }
  #menu a:nth-child(6) {
    display: none;
  }
  #menu li {
    padding: 15px 0;
    font-size: 22px;
    max-width: 100vw;
    text-align: center;
  }
  #menuToggle input:checked ~ ul {
    -webkit-transform: none;
            transform: none;
  }
  nav {
    height: 70px;
    -webkit-box-shadow: 0px 0px 10px #00000029;
            box-shadow: 0px 0px 10px #00000029;
    position: fixed;
    top: 0;
    z-index: 995;
    background: white;
    min-width: 100vw;
  }
  .logo {
    height: 2rem;
    position: absolute;
    margin: 0 auto;
    margin-left: calc(50vw - 5rem);
    margin-top: 1.5rem;
  }
  main .filter {
    background-color: rgba(255, 255, 255, 0.8);
    padding-bottom: 4rem;
  }
  main .main-content {
    background-image: url("../../img/chodov-min2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
  main .row-reference {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main .row-reference .col-reference-doc {
    padding-top: 0rem;
  }
  main .row-reference .col-reference-doc:nth-child(1) {
    padding-top: 86px;
  }
  main .line {
    margin-left: 25%;
    width: 90%;
  }
  main .contact-frame {
    min-width: 200px;
  }
  main h1 {
    margin-top: 0;
    font-size: 2rem;
    margin: 0 auto;
    max-width: 100vw;
    padding: 120px 0 30px 0;
    min-width: 0;
  }
  main .mirror {
    font-size: 2.3rem;
  }
  main .kontakt ul {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 120px;
  }
  main .container {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }
  main .container h2 {
    line-height: 1.7;
    font-size: 1.5rem;
    margin-top: 40px;
  }
  main .container .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main .container .row .col {
    width: 100%;
  }
  main .container .row .col .row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  main .container .row p {
    width: 100%;
    margin-bottom: 3rem;
  }
  main .row-reference {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  main .mirror2 {
    font-size: 2.3rem;
  }
  main .container-2 {
    margin-left: 0;
    margin-right: 0;
  }
  main .container-2 h2 {
    margin-top: 12px;
    font-size: 1.5rem;
  }
  main .kontakt ul a:nth-child(1) {
    margin: 0;
  }
  main .kontakt ul a:nth-child(2) {
    margin: 0;
  }
  main #reference {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 123px;
  }
  main #reference h2 {
    margin-bottom: 0.86em;
  }
  main #reference h3 {
    margin-bottom: 3rem;
    margin-top: 90px;
  }
  main #reference .col-reference {
    margin-left: 10px;
    margin-right: 10px;
  }
  main #reference .col-reference .reference-cislo h2, main #reference .col-reference .reference-nadpis h2, main #reference .col-reference .reference-podnadpis h2 {
    margin-top: 0;
    margin-bottom: 0;
  }
  #sluzby {
    padding-left: 0;
    padding-right: 0;
  }
  #sluzby .sluzby-row {
    -ms-flex-wrap: no-wrap;
        flex-wrap: no-wrap;
  }
  #sluzby .sluzby-row .popis {
    margin-top: 50px;
  }
  body {
    width: 100%;
  }
  main .containerr {
    max-width: 100vw;
  }
  main .containerr .col {
    max-width: 100vw;
  }
  main .containerr .col img {
    max-width: 100vw;
  }
  main .contacts {
    margin: 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 100%;
    margin-bottom: 82px;
  }
  main .firm {
    margin: 0 10%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main .firm a {
    text-align: left;
  }
  main #doc h2 {
    margin-top: 0.6rem;
  }
  main #galerie {
    margin-top: 40px;
  }
  main .roww img {
    padding-left: 0;
    padding-right: 0;
    max-width: 100vw;
  }
  #form {
    margin-bottom: 68px;
  }
  form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  form .odeslat {
    margin-bottom: 40px;
  }
  form input {
    margin-left: auto;
    margin-right: auto;
  }
  form span {
    margin-left: 30vw;
  }
  form .left h5 {
    text-align: center;
  }
  form .right {
    padding: 0;
    -webkit-transform: none;
            transform: none;
  }
  form .right textarea {
    -webkit-transform: none;
            transform: none;
    margin: 0 auto;
    max-width: 80vw;
    margin-top: 10px;
    height: 200px;
  }
  form .right span {
    margin: 0;
    padding-left: 0px;
    margin-bottom: 10px;
    margin-left: 0;
  }
  footer {
    padding: 0;
    font-size: 0.76rem;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    text-align: center;
    height: 120px;
  }
  footer span a {
    color: white;
    padding: 5px;
  }
  .name {
    text-align: center;
    margin: 0;
    line-height: 3;
  }
  .firm {
    text-align: center;
    line-height: 1.5;
  }
  .firm a {
    line-height: 1.5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .background {
    width: auto;
    min-width: 0;
    max-width: 1000px;
    max-height: 600px;
    top: 70px;
  }
  input {
    max-width: 80vw;
  }
  .background {
    max-height: 550px;
    width: 100vw;
    display: none;
    min-height: 300px;
  }
  main hr {
    display: none;
  }
}

@media only screen and (max-width: 700px) {
  #form span {
    margin-left: 10vw;
  }
  #form .right span {
    margin-left: 5vw;
  }
}

@media only screen and (max-width: 800px) {
  main h1 {
    position: relative;
    top: 4rem;
  }
  #form span {
    margin-left: 20vw;
  }
  #form .right span {
    margin-left: 5vw;
  }
  /*
    #gallery .photo-container{
        flex-direction: column;

        .col-container{
            width: 100%;
        }

        .col-container:first-child{
            flex-direction: row;

            img{
                padding-right: 0;
                //max-height: 140px;
                height: 100%;
            }
            width: 100%;

            .col-container:last-child{
                img{padding-right: 1rem;
                   // max-height: 140px;
                    height: 100%;}
                img:last-child{
                    padding-right: 0;
                    width: 50%;
                    height: 100%;
                   // max-height: 140px;
                }
            }
        }

        .col-container:last-child{
            flex-direction: row;
            width: 100%;
            img{
                padding-right: 1rem;
                box-sizing: border-box;
                width: 50%;
                height: 100%;
               // max-height: 140px;
            }
            img:last-child{
                padding-right: 0;
              //  max-height: 140px;
                height: 100%;
            }
        }

        .row-container{
            flex-direction: column;
            height: 140px;
            img{
                width: 50%;
                height: 100%;
               
            }
            img:first-child{
                height: 100%;
                padding-right: 1rem;
                max-height: none;
            }
        }

        .col-container img:first-child{
            max-height: none;
        }
      
        .col-container{
            img:nth-child(1), img:nth-child(3), img:nth-child(4), img:nth-child(5), img:nth-child(6), img:nth-child(7) {
                max-height: 140px;
            }

            .col-container .col-container img{
                max-height: 140px;
            }

            img:nth-child(2){
                height: auto;
                max-height: none;
            }
        }

        .col-container .apple img{
            max-height: 140px;
            min-height: 140px;
           // width: 100%;
        }

        .apple{
            width: 100%;
            display: flex;
            
            img{
                max-height: 140px;
                min-height: 140px;
                //width: 100%;
            }
        }

    }
*/
  #gallery .photo-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #gallery .photo-container .row-container .s0, #gallery .photo-container .row-container .s1 {
    height: 200px;
  }
  #gallery .photo-container .row-container .s1 {
    padding-right: 0;
  }
  #gallery .photo-container .row-container .s3 {
    height: 160px;
  }
  #gallery .photo-container .row-container .s4 {
    height: 160px;
    padding-right: 0;
  }
  #gallery .photo-container .s2 {
    padding-right: 0;
  }
  #gallery .photo-container .s5 {
    padding-top: 1rem;
  }
  #gallery .photo-container .s3, #gallery .photo-container .s4 {
    height: 170px;
  }
  #galerie .column {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    float: left;
    width: 100%;
    padding: 10px;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .modal-container-style img {
    width: 100vw;
    height: auto;
  }
}
/*# sourceMappingURL=responsive-2.css.map */