@media only screen and (max-width: 1460px) {
    .line-inovace {
    width: 90%;
    height: 1px;
    }
}

@media only screen and (max-width: 1160px) {
    .heading-main h2 {
    margin-left: 15px;
    }   
    .gallery-realizace {
    margin: 0 5px;
    }
    .all-realizace {
    margin-top:  30px;
    }
}

@media only screen and (max-width: 1125px) {
    .hlav-body {
    background-attachment: scroll;
    }
    .kontaktni-formular {
    background-attachment: scroll;
    }
    .header-obr-o-nas {
    background-attachment: scroll;
    }
    .header-obr-all-inovace {
    background-attachment: scroll; 
    }
    .header-obr-realizace {
    background-attachment: scroll;
    }
}

@media only screen and (max-width: 1060px) {
    .container-jednotlive-realizace {
    margin-right: 10px;
    }
    .line-jednotlive-realizace {
    width: 70%;
    }
    .container-jednotlive-realizace h1 {
    font-size: 7vw;
    white-space: normal;
    margin-right: 300px;
    }
    .hlavni-obr-DaI h1 {
    font-size: 4.2vw;
    }
}

@media only screen and (max-width: 1050px) {
    .top-line {
    width: 120%;
    }
    .bottom-line {
    width: 120%;
    }
    .container-logo img {
    width: 110%;
    }
}

@media only screen and (max-width: 945px) {
    .container-logo p {
        margin-top: 10px;
    }
    .container-logo p .zarovnani-headertext {
        display: block;
        margin: 5px 0;
    }
    .container-logo p .zarovnani-headertext:nth-child(1) {
        margin-top: 0;
    }
    .container-logo p .zarovnani-headertext:nth-child(3) {
        margin-bottom: 0;
    }   
    .header-text-o-nas:after {
    margin-top: 10px
    }
}

@media only screen and (max-width: 850px) {
    .formular-nazev p {
    top: 3%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    } 
    .image-photo-o-nas {
    width: 65%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 2px;
    }
}

@media only screen and (max-width: 830px) {
    .container-all-hesla {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    padding: 20px;
    margin: 50px 0;
    }
    .box-hesla {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    }
    .box-hesla h2 {
    font-size: 1.3rem;
    }
    .box-hesla p {
    font-size: 0.9rem;
    }
}

@media only screen and (max-width: 780px) {
    .kdo-jsme-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    display: inline-block;
    margin-top: 20px;
    margin-left: 15px;
    }
    .kdo-jsme-text p {
    width: 90%;
    color: rgb(255, 254, 254);
    font-family: Roboto;
    font-weight: 300;
    font-size: 16px;
    margin-top: -55px;
    text-align: left;
    letter-spacing: 1px;
    word-spacing:0.5px;
    line-height: 1.5;
    margin-left: 0px;
    }
    .vice-informaci {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    display: inline-block;
    margin-top: 40px;
    margin-left: 15px;
    }
    .tlacitko-vice-DaI {
    margin: 0px auto 70px;
    }
    .hlavni-obr-DaI h1 {
    padding-left: 20px;
    padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .box input[type="text"], .box input[type="email"], .box input[type="tel"], .box textarea {
    font-size: 16px;
    }
    .box input[type="submit"] {
    font-size: 18px;
    }
}

@media only screen and (max-width: 750px) {
    .vsechno-info {
    width: 100%;
    margin-bottom: 0px;
    }
    .vsechno-info h4 {
    margin-top: 4%;
    margin-bottom: 3%;
    }
    .paticka-obr img {
    width: 65%;
    margin-top: 8%;
    }   
    .item-2 {
    width: 49%;
    }
    .text-DaI p {
    font-size: 1.85vw;
    }
    .text-DaI h1 {
    font-size: 14px;
    padding: 10px 15px;
    }
    .item-3 {
    width: 49%;    
    }
}

@media only screen and (max-width: 620px) {
    .formular-nazev p {
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    }
    .logo-nadpis-all-inovace h2 {
    font-size: 5.5vw;
    letter-spacing: 4px;
    font-weight: 300;
    }
}

@media (max-width: 580px) {
    .container-DaI {
    flex-direction: column;
    align-items: center;
    padding: 0px;
    }
    .mezera-DaI-Kontakt {
    margin-bottom: -45px;    
    }
   .mezera-pred-gellery {
    margin-top: 60px;  
    }
    .image-DaI {
    order:0 ;
    }
    .image-DaI img {
    height: 100%;  
    }
    .text-DaI {
    order: 1;
    height: 100%;
    display: block;
    margin-bottom: 0px;
    }
    .text-DaI h1 {
    text-align: center;
    font-size: 3.5vw;
    padding: 6px 20px;
    margin-top: 15px;
    }
    .text-DaI p {
    text-align: center; 
    padding-left: 10%;
    padding-right: 10%;
    font-size: 16px;
    margin-bottom: 0.1%;
    }
}

@media only screen and (max-width: 550px) {
    .tlacitko-vice-DaI h3 {
    font-size: 10px; 
    padding: 20px 10px;
    margin-top: 0px;
    }
    .tlacitko-vice-realizaci h3 {
    font-size: 10px;
    padding: 20px 30px;     
    }
    .item {
    width: 100%;
    }
}
@media only screen and (max-width: 570px){
    .container-jednotlive-realizace {
    bottom: 23vh;
    }
}

@media only screen and (max-width: 535px) {
    .title {
    font-size: 2.8vw;
    }
}

@media only screen and (max-width: 452px) {
    .container-logo p {
    font-size: 3.2vw;
    font-weight: 400;
    }
}

@media only screen and (max-width: 450px) {
    .formular-nazev p {
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.9vw;
    } 
    .item-2 {
    width: 100%;
    }
    .text-DaI p {
    font-size: 3.6vw;
    margin-bottom: 15%;
    padding-left: 5%;
    padding-right: 5%;
    }
    .skryt-item2 {
    display: none;
    }
}

@media only screen and (max-width: 340px) {
    .heading-main h2 {
    font-size: 10vw;
    }
    .heading-main h2:before {
    width: 85%;
    }
}

@media only screen and (max-width: 310px) {
    .tlacitko-vice-DaI h3 {
    white-space: normal;
    text-align: center;
    padding: 15px 0px;
    margin: 0px 4px;     
    }
    .item-2 h3 {
    font-size: 12px;
    padding: 10px 20px;     
    }
    .item h3 {
    font-size: 12px;
    padding: 10px 20px;      
    }
    .box-all1::before {
    width: 100px;
    }
    .box-all4::before {
    width: 100px;
    }
    .logo-nadpis-all-inovace h2 {
    letter-spacing: 2px;
    }
    .box-back-o-nas h2 {
     font-size: 10vw;   
    }
}

@media only screen and (max-width: 250px) {
    .tlacitko-vice-realizaci h3 {
    white-space: normal;
    text-align: center;
    padding: 15px 6px;
    margin: 0px 0px;
    }
    .item h3 {
    font-size: 12px;
    padding: 5px 5px;      
    }
    .vice-informaci a {
    text-align: center;
    padding: 15px 2px;
    margin: 0px 0px;
    font-size: 3vw;
    }
    .intro-text {
    font-size: 5vw;
    }
    .additional-text {
    font-size: 5vw;
    }
    .vsechno-info p {
    font-size: 10px;
    text-decoration: none;
    }
    .logo-nadpis-all-inovace h2 {
    letter-spacing: 1px;
    }
}

@media (max-width: 908px) {
    .wrapper {
    background-size: cover;
    height: 100vh;
    }
    .header-obr-all-inovace {
    background-size: cover;
    height: 100vh;      
    }
    .header-obr-realizace {
    background-size: cover;
    height: 100vh;      
    }
}