/*  Спецификация  */
.form-control:focus {
    border-color: #005e29;
    box-shadow: 0 0 0 0.25rem #19875469;
}

body {
	font-size: 16px;
    font-family: 'Arimo', sans-serif;
	font-weight: normal;
    position: relative;
}

::-webkit-scrollbar {
    background: #dadada69;
    height: 3px;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #005e29, #198754);
    border-radius: 15px;
}

button,
button:hover,
button:focus {
	font-family: inherit;
	outline: none;
}

ul {
    padding: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.line::after {
    content: " ";
    background: #198754;
    width: 80px;
    height: 4px;
    position: absolute;
    top: -15px;
    left: 0;
}

.text-green {
    color: #005e29;
}

.swiper-button-next, .swiper-button-prev {
    color: #005e29;
}

/*  Preloader  */
.wrap-myLoader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 51;
    transition: 1s all;
    opacity: 1;
    visibility: visible;
}

.myLoader {
    position: absolute;
    left: 49%;
    top: 49%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border: 10px solid #b3bfc2;
    border-top-color: #005e28;
    border-radius: 50%;
    animation: 1s myAnim linear infinite;
}

.cansel {
    opacity: 1;
    visibility: hidden;
}

@keyframes myAnim {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Header fixed */
.header-fixed {
    display: none;
    background-color: #fff;
    transition: .4s;
}

.header-fixed.fixed-on {
    display: block;
}

/* .header-fixed .nav-item {
    background-color: #005e28;
    border-radius: 30px;
    padding: 5px 15px;
    transition: .4s;
    border: 1px solid transparent;
}

.header-fixed .nav-item:hover {
    background-color: #fff;
    border: 1px solid #005e28;
}

.header-fixed .nav-item:hover .nav-link {
    color: #005e28;
} */

/* .header-fixed .nav-link {
    color: #fff;
    text-transform: capitalize;
    transition: .4s;
} */

.header-fixed .navbar-toggler span, .header-other .navbar-toggler span, .header-fixed .navbar-toggler span:after, .header-other .navbar-toggler span:after, .header-fixed .navbar-toggler span:before, .header-other .navbar-toggler span:before {
    background: #005e28; 
}

.header-fixed .navbar-toggler, .header-other .navbar-toggler {
    border-color: #005e28;
}

/*  Первый экран  */
.header .marker img {
    max-width: 30px;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -100;
    height: 100%;
    object-fit: cover;
}

.navbar-brand img {
    width: 70px!important;
}

.logo {
    width: 100%;
}

.offer__title {
    line-height: 1.1;
}

.offer__link {
    padding: 15px 50px;
}

/*  Категории  */
#category .row {
    --bs-gutter-x: 0rem;
}

#category .card, #category-catalog .card {
    height: 400px;
}

#category .card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

#category .card h5 {
    position: relative;
    z-index: 1;
    color: #fff;
}

#category .card img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
}

#category .col-md-6:first-child .card, #category .col-md-6:first-child .card img {
    border-radius: 0px 10px 10px 0px;
}

#category .col-md-6:last-child .card, #category .col-md-6:last-child .card img {
    border-radius: 10px 0px 0px 10px;
}

#category .card-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #003c1a;
    transition: 0.4s;
    opacity: .4;
}

#category .card:hover .card-img::after {
    opacity: .7;
}

.card-category img {
    max-width: 350px;
    max-height: 190px !important;
    margin-left: auto;
    margin-top: auto;
}

.card-category {
    min-width: 400px;
}

/*  Импортозамещение  */
.action {
    padding: 80px 0;
    background: url(../img/action-bg.jpg) no-repeat center/cover;
}

.action-text {
    max-width: 400px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .9);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(5px);
    filter: drop-shadow(2px 4px 6px black);
}

.action-text a {
    width: 300px;
}

/*  Популярное  */
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.blocks {
    overflow-x: auto;
}
.blocks__item {
    min-width: 240px;
    width: 250px;
    margin-right: 10px;
    margin-bottom: 10px;
}


/*  Услуги  */
#services .card, #partners .card {
    height: 310px;
}

#services .card:hover {
    background-color: #69f1b2;
    transform: scale(1.1);
    z-index: 10;
    transition: all 0.3s ease;
}

#services .fs-1 {
    font-size: 60px!important;
}

#services img {
    width: 60px;
    height: 60px;
}

/*  Вопросы  */
.questions {
    background: url(../img/questions-bg.jpg) no-repeat center/cover;
}

.questions form {
    background: #fff;
    padding: 10px 30px 0;
    border-radius: 10px;
}

.title-overlay {
    font-size: 72px;
    opacity: 0.3;
}

.question-text {
    width: 390px;
}

form label {
    z-index: 5;
    top: 15px;
    left: 35px;
    font-size: 13px;
}

.form-control {
    height: 70px;
    padding-left: 20px;
}

.modal-content {
    background: #fff url(../img/pngegg.png) center left no-repeat;
}

.modal-body .form-control {
    height: 50px;
}

.modal-body form p  {
    display: flex;
}

.modal-body .btn  {
    height: 65px;
    width: 85%;
    margin: auto;
}

.modal-header {
    align-items: normal;
}

form .btn {
    height: 70px;
    width: 100%;
}

/*  Footer  */
.footer {
    background-color: rgb(189 190 191 / 25%);
}
.footer-link {
    font-size: 13px;
}

.text-muted img {
    height: 70px;
}

/*  О компании  */
.about-img {
    background: url(../img/planet.png) no-repeat;
    background-size: 45% 100%;
    background-position: 90%;
}

#about .fs-6 {
    font-size: 14px!important;
}

#about .card {
    height: 240px;
    background: rgb(56 180 122 / 90%);
    color: #fff;
}

#about .card-body {
    padding: 10px;
}

#about .card img {
    width: 60px;
    height: 60px;
}

.arrow-bot {
    transform: rotate(180deg);
}

/*  Контакты  */
.social img {
    width: 50px;
}

/*  Каталог категорий  */
.catalog .card-img {
    object-fit: cover;
}

.catalog .card  {
    padding: 10px;
}

.archive .text-secondary, .product .text-secondary {
    border-radius: 25px!important;
    padding: 10px 15px 10px 5px;
    transition: all 0.3s ease;
}

.archive .text-secondary:hover, .product .text-secondary:hover {
    background: #dee2e6;
    padding: 10px 15px 10px 0px;
    transition: all 0.3s ease;
}

.category-offer-img {
    max-height: 600px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 30px;
}

.category-offer .position-absolute {
    margin: 0 30px;
    top: 5%;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .9);
    text-shadow: 1px 1px 5px BLACK;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(5px);
    filter: drop-shadow(2px 4px 6px black);
}

.category-offer .woocommerce-breadcrumb, .category-offer .woocommerce-breadcrumb a {
    color: #fff;
    margin-bottom: 0;
}

/*  Партнеры  */
#partners .card img {
    padding: 15px;
    max-height: 200px;
}

#partners .card:hover {
    transform: scale(1.1)!important;
    box-shadow: 0 2px 15px rgb(0 0 0 / 20%)!important;
    z-index: 10;
    transition: all 0.3s ease;
}

/*  Mobile menu  */
.header #primary-menu {
    background-color: #fff;
    border-radius: 10px;
    padding: 0 50px;
}

.header .nav-link, .header-fixed .nav-link {
    width: fit-content;
    color: #198754;
    text-transform: capitalize;
    padding: 15px 30px;
    height: 100%;
    border-radius: 3px;
}
  
.header .nav-link:hover,
.header .nav-link:focus-within {
    color: #fff !important;
    background-color: #005e28;
    -webkit-text-stroke: 0px #fff !important;
}

.dropdown-menu {
    min-width: unset;
}

.navbar-toggler {
    width: 50px;
    height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span, .navbar-toggler span:after, .navbar-toggler span:before {
    height: 3px;
    width: 20px;
    right: 25%;
    border-radius: 15px;
    position: absolute;
    background: #fff;
    margin: 0 auto;
    transition: 0.3s; 
}

.navbar-toggler span:after, .navbar-toggler span:before {
    content: '';
}

.navbar-toggler span:after{
    bottom: 8px;
    right: 0;
    width: 25px;
    transition: 0.3s; 
}
.navbar-toggler span:before{
    top: 8px;
    right: 0;
    width: 15px;
    transition: 0.3s; 
}

.navbar-toggler.open-menu span {
    transform: rotate(45deg);
    top: 18px;
    width: 25px;
    left: 25%;
    transition: 0.3s; 
}
.navbar-toggler.open-menu span:before {
    opacity:0;
    transition: 0.3s;
}
.navbar-toggler.open-menu span:after {
    transform: rotate(-90deg);
    bottom: 0px;
    transition: 0.3s;
}

/* Altai */
.altai-offer {
    padding-top: 60px;
    padding-bottom: 80px;
}

.altai-offer h2 {
    padding-bottom: 30px;
}

.altai-offer p {
    margin-bottom: 30px;
}

.altai-offer .d-flex img {
    max-width: 60px;
}

.altai-dry, .altai-payback {
    padding: 80px 0;
    background-color: rgb(189 190 191 / 25%);
}

.altai-dry .row {
    gap: 15px;
}

.altai-dry .d-flex {
    width: fit-content;
    align-items: center;
}

.altai-dry img {
    width: 140px;
    height: 80px;
    border-radius: 10px;
}

.altai-process {
    padding: 80px 0;
}

.altai-process .swiper-button-next, .altai-process .swiper-button-prev {
    top: 50px;
}

.altai-process .swiper-button-prev {
    left: unset;
    right: 80px;
}

.altai-payback p {
    max-width: 550px;
}

.altai-payback .swiper-slide {
    border: 2px solid #cdcdcd;
    border-radius: 10px;
    padding: 40px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.altai-payback .swiper-slide img {
    border-radius: 10px;
}

.altai-payback .swiper-slide:last-child {
    background-color: #005e29;
    color: #fff;
}

.altai-model {
    padding-top: 80px;
    padding-bottom: 40px;
}

.altai-model .swiper-button-next, .altai-model .swiper-button-prev {
    color: #fff;
    top: 35%;
    text-shadow: 1px 1px 5px #000;
}

/*  Adaptive  */
@media (max-width: 1400px) {
    .about-img {
        background-size: 50% 90%;
    }
}
@media (max-width: 1200px) {
    .about-img {
        background-size: 60% 70%;
        background-position: 100%;
    }
}

@media (max-width: 1150px) {
    .navbar {
        border-top: none;
        border-bottom: none;
    }
    .nav-item {
        display: flex;
        justify-content: center;
    }
    .header #primary-menu {
        padding: 0;
    }
    .header .nav-link {
        padding: 15px 100px;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .title-overlay {
        font-size: 60px;
    }
    .nav-link {
        text-align: center;
    }
    .about-img {
        background-size: 80% 50%;
        background-position: 50% 88%;
    }
    .footer .widget_text p {
        display: block !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding-top: 50px;
    }
    .offer-images {
        width: 70%;
    }
    .list {
        overflow-x: auto;
    }
    .list li {
        white-space: nowrap!important;
    }
    .arrow {
        width: 80px;
    }
    #contact .title-overlay, #about .title-overlay {
        font-size: 48px;
    }
    .about-img {
        background-size: 90% 40%;
        background-position: 50% 85%;
    }
    .altai-offer {
        padding-bottom: 40px;
    }
    .altai-process {
        padding: 40px 0;
    }
    .altai-dry, .altai-payback {
        padding: 40px 0;
    }
    .altai-model {
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .category-offer .position-absolute {
        margin: 0 20px;
        top: 50%;
        transform: translate(0, -60%);
    }
}

@media (max-width: 576px) {
    .header {
        padding-top: 20px;
    }
    .title-overlay {
        font-size: 24px;
    }
    .question-text {
        width: 290px;
        font-size: 16px;
    }
    h1 {
        font-size: calc(1.375rem + 1.5vw);
    }
    body {
        font-size: 16px;
    }
    a {
        font-size: 16px!important;
    }
    .action-text a {
        width: 100%;
    }
    .action-text__disc {
        font-size: 16px;
    }
    #services .card {
        height: 280px;
        width: 95%;
        margin: auto;
    }
    .arrow {
        width: 60px;
    }
    #contact .title-overlay, #about .title-overlay {
        font-size: 32px;
    }
    .about-img {
        background: none;
    }
}

