/********** Template CSS **********/
:root {
    --primary: #fb9e5f;
    --secondary: #BDBDBF;
    --light: #F4F5F8;
    --dark: #222429;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

.back {
    background-image: url(../img/back.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
}
/* Дополнительные стили для мобильных устройств */
@media (max-width: 767px) {
    .back {
        background-image: none;
        background-color: #003366;
    }
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.bg_light {
    background-color: #336699;
}
.bg_dark {
    background-color: #003366;
}

.card-header .btn {
    /*font-family: 'Oswald', sans-serif;*/
    /*text-transform: uppercase;*/
    /*transition: .5s;*/
    text-align: left;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    /*text-align: center;*/
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 0;
    padding: 0;
    font-size: 1rem;
    border-radius: 0;
    font-weight: bold;
    transition: none;
    white-space: nowrap;

}
.card-header .btn:active {
    outline: none; /* Убираем стандартный контур фокуса */
    border: none; /* Убираем границу кнопки */
    box-shadow: none; /* Убираем тень при активации */
    /* Другие стили, которые вы хотите применить при активации */
}
.card-header .btn:focus {
    box-shadow: none; /* Убираем тень при активации */
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    margin-right: 30px;
    padding: 27px 0;
    color: var(--light);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(34, 36, 41, .8);*/
    z-index: 1;
}
.pl-30 {
    padding-left: 30px;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.programe::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 36, 41, .9);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #336699;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: var(--primary);
    }
}

.dropdown-menu {
    padding: 0 0;
    border-radius: 0;
    border: 2px solid #003366;
}
.dropdown-item {
    font-weight: bold;
    border-bottom: 2px solid #003366;
    padding: 0.5rem 1rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    /*background-color: #fff;*/
    /*background-clip: border-box;*/
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid #003366;
}
.card-header:first-child {
    border-radius: 0;
}
.card-header {
    /*padding: 0.5rem 1rem;*/
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: 0;
}
.card-body {
    /*flex: 1 1 auto;*/
    padding: 0 0 0 1rem;
}
.card-body .dropdown-item{
    font-weight: normal;
    background: #dcdcdc;
    border-bottom: 2px solid #ffffff;
}

.card-header .btn::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.img-article {
    float: left;
    width: 600px;
    padding: 0 40px 40px 0;
}

.img-article-center {
    display: block; /* Зробити тег img блоковим елементом */
    margin: 0 auto; /* Центрування зображення по горизонталі */
    max-width: 800px;
    width: 100%;
    padding: 0 0 40px 0;
}
/* Дополнительные стили для мобильных устройств */
@media (max-width: 767px) {
    .img-article {
        width: 100%;
        height: auto;
        padding: 0;
        margin-bottom: 30px;
    }
}
.bg-dark {
    background: #003366 !important;
}
.bg-primary {
    background-color: #336699 !important;
}

.tovar0 {
    border: 1px solid #989898;
}
.tovar {
    text-align: center;
}
.tovar img {
    /*display: block;*/
    /*padding: 0 auto 0 auto;*/
    height: 300px;
    margin-bottom: 10px;
}
.tovar .txt1 {
    color: #4681bd;
    font-size: 1.3em;
}
.tovar .txt2 {
    font-size: 1.3em;
}
.hot-line {
    background: #fefacd;
    font-size: 1.2em;
}
.hot-line span {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff2023;
    white-space: nowrap;
}

.good_img {
    text-align: center;
}
.good_name {
    font-weight: bold;
    color: #476ba8;
    font-size: 1.7em;
}
.good_img .img {
    height: 450px !important;
}
/* Дополнительные стили для мобильных устройств */
@media (max-width: 767px) {
    .good_img .img {
        height: 300px !important;
    }
}
.zebra-bg .row:nth-child(even) {
    background-color: #d7d7d7; /* Серый фон для четных строк */
}
.col_border {
    border-left: 5px solid #ffffff
}
.th {
    font-weight: bold;
    font-size: 1.3em;
}
.text-primary {
    color: #336699 !important;
}
.btn-primary {
    color: #000;
    background-color: #336699;
    border-color: #336699;
}