section#content.page-home {
    display: flex;
    flex-direction: column;
}
section#content.page-home .home-above-block {
    order: 1;
}
section#content.page-home .banner {
    order: 2;
}
section#content.page-home .home-main-block {
    order: 3;
}
section#content.page-home .home-below-block {
    order: 4;
}
/*** wrapper **/
#wrapper .banner {
    display: block;
    margin-bottom: 0;
    background: #112b4c;
}
#wrapper .banner img {
    display: block;
    /* width: 100%; */
    width: auto;
    height: 272px;
    object-fit: cover;
    object-position: center;
    text-align: center;
    display: table;
    margin: 0 auto;
}
.carousel {
    margin-bottom: 0;
    overflow: hidden;
}
.carousel .carousel-inner {
    height: 752px;
}
.carousel .carousel-item figure {
    display: block;
    margin: 0;
}
.carousel .carousel-inner li.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.carousel .carousel-indicators {
    display: none!important;
}
.carousel .carousel-item .caption {
    position: absolute;
    bottom: inherit;
    left: 50%;
    top: 50%;
    max-width: 340px;
    transform: translate(-50%, -50%);
    margin-top: 150px;
    color: #fff;
}
.carousel .carousel-item .caption a.btn.btn-view {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    font-weight: 500;
    background: #25292B00;
    font-size: 16px;
    padding: 14px 32px 13px 34px;
    font-family: 'Work Sans', sans-serif;
    outline: 0 !important;
    box-shadow: none;
    text-transform: uppercase;
}
.carousel .carousel-item .caption a.btn.btn-view:hover {
    background: #425A44;
    border-color: #425A44;
}
.carousel .carousel-control {
    display: none;
    bottom: inherit;
    width: 64px;
    height: 54px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: none;
    padding: 12px 8px;
}
.carousel .carousel-control .icon-next {
    margin-right: 0;
}
.carousel .carousel-control .icon-prev {
    margin-left: 0;
}
.carousel .carousel-control .icon-next, .carousel .carousel-control .icon-prev {
    top: 0 !important;
    position: relative !important;
    left: inherit !important;
    right: inherit !important;
    transform: none !important;
    bottom: inherit !important;
    display: block !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
}
.carousel .carousel-control .icon-next i, .carousel .carousel-control .icon-prev i {
    font-size: 32px;
    color: #fff;
}
/**********/
@media screen and (max-width: 1200px) {
.carousel .carousel-inner li.carousel-item img {
    height: auto;
    max-height: 700px;
}
.carousel .carousel-inner {
    height: auto;
}
.carousel .carousel-item .caption {
    margin-top: 0;
}
#index section.categories-boxs {
    margin-bottom: 60px;
}
#index section.definition .def-text {
    padding: 2em 2em 2em 1em;
}
}
@media screen and (max-width: 992px) {
    #index .cat-box .box-content h2.title {
        font-size: 28px;
    }
    #index .cat-box {
        height: 380px;
    }
    #index .cat-box .cover img {
        height: 380px;
    }
    #index .cat-box .box-content {
        min-height: 380px;
        padding: 2em 2em 2em 2em;
    }
    #index section.definition .def-thumb img {
        min-height: 700px;
        width: 100%;
        object-fit: cover;
    }
    #index section.definition .title h2 {
        font-size: 40px;
    }
    #index .counter-block {
        padding: 1em 0 0;
    }
    #wrapper .banner img {
        width: 100%;
        height: 170px;
    }
    #index section.content-box.dark-content .container-text {
        padding: 1em 1em 1em 1em;
    }
    #index .card-prod {
        margin: 0 0 30px;
    }
    #index section.card-boxs {
        padding: 60px 0 20px;
    }
    #index section.content-box.dark-content {
        margin: 50px 0 65px;
    }
    #index .container-text h2 {
        font-size: 40px;
    }
    section.content-box.light-content {
        padding: 5em 0em 5em 1em;
    }
    .home-below-block section.content-box.dark-content {
        padding: 50px 0 50px;
    }
    #custom-text {
        padding: 20px 0 100px;
    }
    #custom-text .container-text {
        margin: 0 0 35px;
    }
}
@media screen and (max-width: 768px) and (min-width: 576px) {
#index section.categories-boxs {
    margin-bottom: 0;
}
#index section.categories-boxs > .row {
    margin-left: -5px;
    margin-right: -5px;
}
#index section.categories-boxs > .row > .col-sm-4 {
    padding-left: 5px;
    padding-right: 5px;
}
#index .cat-box {
    height: 300px;
    margin: 0 0 20px;
}
#index .cat-box .cover img {
    height: 300px;
}
#index .cat-box .box-content {
    min-height: 300px;
    padding: 1em 1em 1em 1em;
}
#index .cat-box .box-content .tag {
    font-size: 14px;
    white-space: break-spaces;
    line-height: 1.1em;
    height: auto;
}
#index .cat-box .box-content h2.title {
    font-size: 20px;
}
#index .cat-box .box-content .link {
    padding: 10px 24px;
}
#index section.definition .def-text {
    padding: 0;
}
#index section.definition .title h2 {
    font-size: 30px;
}
#index section.definition .d-tag p {
    line-height: 1.1em;
}
#index .counter-block .counter-box .count {
    font-size: 36px;
    line-height: 40px;
}
#index .counter-block .counter-box {
    width: calc(100% - 10px);
}
#index section.card-boxs {
    padding: 0 0;
    margin-top: -30px;
}
#index section.content-box.light-content {
    padding: 5em 0em 5em 0em;
}
#index .container-text.container-reassurance {
    margin: 20px 0;
}
#index .home-below-block section.content-box.dark-content {
    margin: 0 !important;
    padding: 20px 0 25px;
}
#index .card-prod .thumb img {
    height: 300px;
}
#index .card-prod .card-content {
    padding: .75em 1em 1em 1em;
}
#index .card-prod h2.card-title {
    font-size: 20px;
    line-height: 1.4em;
}
#index .link-view {
    padding: 10px 24px;
}
#index section.content-box.dark-content {
    margin: 20px 0 45px;
}

}
@media screen and (max-width: 576px) {
#index .cat-box {
    height: 400px;
    margin: 0 0 20px;
}
#index .cat-box .cover img {
    height: 400px;
}
#index .cat-box .box-content {
    min-height: 400px;
    padding: 3em 3em 3em 3em;
}
#index .cat-box .box-content .tag {
    height: auto;
}
#index section.categories-boxs {
    margin-bottom: 20px;
}
#index section.definition > .row {
    display: flex;
    flex-direction: column-reverse;
}
#index section.definition {
    margin: 0 0 40px;
}
#index section.definition .def-thumb {
    margin-left: -15px;
}
#index section.definition .def-text {
    padding: 0 0 1em;
}
#index section.definition .title h2 {
    font-size: 28px;
}
#index .counter-block .counter-box {
    width: calc(100% - 20px);
}
#index .counter-block {
    padding: 0;
}
#index .counter-block .counter-box .count {
    font-size: 28px;
    line-height: 32px;
}
#index .counter-block .counter-box .count-label {
    font-size: 14px;
}
#index section.card-boxs .col-lg-3.col-sm-6 {
    width: 50%;
    float: left;
    padding: 0 8px;
}
#index section.card-boxs > .row {
    margin-left: -8px;
    margin-right: -8px;
}
#index .card-prod .card-content {
    padding: 1em 1em 1em 1em;
}
#index .card-prod h2.card-title {
    font-size: 18px;
    line-height: 1.1em;
}
#index section.card-boxs {
    padding: 0;
    margin: -30px 0 0;
}
#index .card-prod .thumb img {
    height: 200px;
}
#index .cat-box .box-content .link {
    font-size: 13px;
    padding: 10px 20px;
}
#index .link-view {
    font-size: 13px;
    padding: 10px 20px;
}
#index .card-prod {
    margin: 0 0 20px;
}
#index section.content-box.dark-content {
    margin: 20px 0 15px;
}
#index section.content-box.dark-content .container-text {
    padding: 0;
}
#index .container-text .tag {
    line-height: 1.1em;
    font-size: 14px;
    margin: 0 0 16px;
}
#index .container-text h2 {
    font-size: 28px;
    line-height: 1.1em;
    font-weight: 600;
}
#index .container-text p {
    font-size: 14px;
    line-height: 1.5em;
}
#index .container-image {
    margin: 12px 0 0;
}
#index section.content-box.light-content {
    padding: 4em 0em 4em 0em;
}
#index .home-below-block section.content-box.dark-content {
    margin: 0;
    padding: 20px 0 20px;
}
#index .box-reass .text h3 {
    font-size: 18px;
    line-height: 1.2em;
}
}
@media screen and (max-width: 480px) {
    #index .card-prod h2.card-title {
        height: 40px;
    }
}
@media screen and (max-width: 425px) {
#index .home-below-block section.content-box.dark-content {
    margin: 20px 0 0;
}
#index .box-reass {
    flex-wrap: wrap;
    justify-content: center;
}
#index .box-reass .text {
    width: 100%;
    text-align: center;
    padding: 0 1em;
}
#index .container-text p {
    text-align: center;
}
#index .box-reass .icon {
    margin-right: 0;
    margin-bottom: 15px;
}
#index #custom-text .container-text {
    margin: 0 0 26px;
}
}