.td-box img {width: 100%; float: left; }
.td-box.w-20 {width: 50% !important; margin: 0; float: left;  }
.td-box {
    transition: 500ms;
    transition-timing-function: ease;
    padding: 15px;
    cursor: pointer;
}

footer.blockquote-footer {
    position: relative !important;
    float: left;
    width: 100%;
    background: none;
}


.alert-gradient {
    background: rgb(228,33,132);
    background: linear-gradient(27deg, rgba(228,33,132,0.16290266106442575) 0%, rgba(0,125,198,0.10127801120448177) 100%);
    border: 1px solid #ddd;
}

.reference_icon {
    filter: invert(100);
    width: 70%;
}

video {
    width: 100% !important;
}

video:after {
    display: block;
    content: '';
    padding-bottom: 100%;
  } 

.polozky .container {
    padding: 0;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
    overflow: hidden;
}
.td-box:nth-of-type(1), .td-box:nth-of-type(4) {
    background: rgb(23,129,196);
    background: linear-gradient(45deg, rgba(23,129,196,1) 0%, rgba(4,89,143,1) 100%);
} 

.form-check-input {
    margin-left: -20px !important;
}


.bccs-option ul {
    margin-left: 35px !important;
}


.bccs-option label  {
    margin-left: 15px !important;
}

.td-box:nth-of-type(2), .td-box:nth-of-type(3) {
    background: rgb(228,33,132);
    background: linear-gradient(45deg, rgba(228,33,132,1) 0%, rgba(177,3,92,1) 100%);
}

.addressBox2 a:link, .addressBox2 a:visited {color: inherit; text-decoration: none;}

.td_body li, .td_body ul {
    float: left; width: 100%;
}

img.body-image {width: 100%; max-width: 150px !important; margin: 35px 0;}

.polozky { margin-top: -120px; position: relative; z-index: 5; float: left;}
.td-box h2 {color: #fff; text-transform: uppercase; font-size: 18pt; margin-top: 15px; text-align: left;}
.block {margin-top: 25px; position: relative;}
.block_4 {background-color: #fff; min-height: 500px; margin-top: 55px;}
.td-box-content {float: left; width: 100%; margin-top: -20px;}
.td-box-img {display: flex; justify-content: center;}
.td-box-img img {width: 100px;  filter: invert(100);}
.td-box-1 .td-box-img img {width: 100%;  filter: invert(100);}

.td-box {height: 170px !important;}

.td-footer {background: #eeeeee; padding: 55px 0;}

.td-box .float-left.w-30 {
    display: flex; align-items: center; justify-content: center;
}

.gallery-box img {
    width: 100%;
}


.w-25 {width: 25%;}

.navbar ul li {margin-left: 0;}

.logo2 {width: 150px; float: right;}

.td-box .td-box-content h2 {
    line-height: 130%;
}

.td-thumbnails {float: left; width: 100%; display: flex; justify-content: center; flex-wrap:wrap;}
a.td-thumbnail {float: left; width: calc(20% - 10px); margin: 5px; opacity: 0.8;}
a.td-thumbnail:hover  {opacity: 1;}
.td-thumbnail img {float: left; width: 100%;}
.shader {display: none;}

.td-blue {background-color: #007dc6;}
.td-blue span {padding: 15px 0; padding-top: 25px; color: white; font-weight: 300; text-transform: uppercase;}

@media only screen and (max-width: 1023px) {
    .td-box { height: 160px;}
    .td-box h2 {font-size: 10pt;}
    .polozky {
        margin-top: -50px;
    }
    .navbar-collapse {
        position: relative;
        z-index: 500;
        background-color: rgba(230,230,230,0.95);
    }
    .navbar_4  .navbar-toggler-icon {
        filter: invert(100);
    }
    .navbar_4  .navbar-toggler {
        color: rgba(255,255,255,1);
        border-color: rgba(255,255,255,1);
    }

    .navbar-toggler {z-index: 600;}


    .navbar-nav .nav-link {
        color: #000;
        text-align: center !important;
        font-size: 16pt;
        font-weight: 300;
        display: flex; justify-content: center; align-items: center;
    }

    .navbar_4 .navbar-nav .nav-link {
        color: #000;
        text-align: center !important;
        font-size: 16pt;
    }

}

@media only screen 
and (min-device-width : 200px) 
and (max-device-width : 700px) 
and (orientation : portrait) { 
  
    .td-box.w-20 {
        width: calc(100% - 10px) !important;
        height: auto !important;
        margin: 5px;
    }

    .td-box-img img {
        max-width: 80px;
    }

    .td-box .w-30 {
        width: 50% !important;
    }

    .polozky {
        margin-top: 0;
    }

    .td-box-content {
        margin-top: -10px;
    }   


    .polozky .container {border-radius: 0;}

    .polozky .container .td-box {
        height: 100px !important;
    }

    .navbar-toggler {
        filter: invert(100);
    }

    .td-box-img img {width: 60%;}

    .slick-next, .slick-prev {display: none !important;}

    .navbar_4.bg-light {
        background: #fff !important;
        position: relative;
    }

    nav img.logo {width: 60px; }

    div.td-multibox-box-collector{
        position: relative !important;
    }

    div.td-multibox-box {
        position: relative !important;
        width: 100% !important;
        top: 0; left: 0; bottom: 0; right: 0;
    }

    .td-multibox {
        min-height: 0;
    }

    img.logo2 {display: none;}

}