/*
Theme Name: Bootscore
Theme URI: https://bootscore.me/
Author: Bootscore
Author URI: https://bootscore.me
Description: Flexible Bootstrap WordPress starter-theme for developers with full WooCommerce support. <a href="https://bootscore.me/category/documentation/" target="_blank">Documentation</a>
Version: 6.0.0-beta1
Requires at least: 5.0
Tested up to: 6.5.2
Requires PHP: 7.4
License: MIT License
License URI: https://github.com/bootscore/bootscore/blob/main/LICENSE
Text Domain: bootscore
Tags: featured-images, threaded-comments, translation-ready

Use this theme to make something cool, have fun, and share what you've learned with others.

Bootscore is based on Underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* 
All style editing is done via /assets/scss/_bootscore-custom.scss
*/
.phone-link a {
    color:#0A4E86;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
}

.header .phone-link a {
    font-size: 24px;
    padding-left: 32px;
}

.phone-link a:before {
    position: absolute;
    content: '';
    display: block;
    background: url("/wp-content/themes/bootscore/assets/img/phone.svg") no-repeat top left;
    width: 16px;
    height: 16px;
    bottom: 0;
}

.header .phone-link a:before {
    top: 50%;
    bottom: 0;
    margin-top: -10px;
    left: 0;
    width: 22px;
    height: 22px;
}

.email-link a {
    color:#0A4E86;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
}

.header .email-link a {
    font-size: 18px;
}

.email-link a:before {
    position: absolute;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url("/wp-content/themes/bootscore/assets/img/mail.svg") no-repeat top left;
    left: 0;
    bottom: 0;
}

div.about {
    text-align: left;
}



.main-text {
    text-align: center;
}


h1, h2, h3, h4 {
    color: #0A4E86;
}

.feature {
    background: #0A4E86;
    color: white;
}

.top-contacts {
    text-align: right;
}

.section {
    padding-top: 20px;
    padding-bottom: 50px;
}

.product-image {
    border-radius: 300px;
    border: 6px white solid;
    outline: 1px silver solid;
}

.productions h4 {
    font-size: 20px;
}

.productions a {
    text-decoration: none;
}


.productions a:hover img {
    scale: 1.05;
}

.advantage-block {
    color: white;
    background: #0A4E86;
    position: relative;
}

.advantage-block .title {
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 12px;
}


.product-item {
    background-color: #F4F4F4;
    border-radius: 30px;
    padding: 40px 40px;
    margin-bottom: 40px;
}

.product-item .description {
    line-height: 1.2;
}

.product-item .description ul li {
    margin-bottom: 5px;
}

.features .item {
    display: flex;
    align-items: center;
}

.features .item img {
    margin-right: 24px;
    height: 60px;
}

.features .item .txt {
    line-height: 1.2;
}


.bootscore-footer {
    border-top: 2px #0A4E86 solid;
}

#masthead {
    border-top: 2px #0A4E86 solid;
    border-bottom: 2px #0A4E86 solid;

}

#nav-main {
    background: #0A4E86;
}

#nav-main li a {
    color: white;
    text-transform: uppercase;
}

#nav-main .offcanvas.show li a {
    color: #0A4E86;
}


.product-image-block {
    position: relative;
}

.product-image-block h2 {
    background: #0A4E86;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 2rem;
    padding: 10px 10%;
}



.product-image-detail {
    max-height: 280px;
    width: 100%;
    object-fit: cover;
}



.matras-title {
    background: #0A4E86;
    color: white;
    text-transform: uppercase;
}

.min-price {
    font-size: 20px;
}

.main-params span {
    font-weight: bold;
    text-transform: uppercase;
    color: #0A4E86;
}

/*О компании*/

.about-page {
    background-color: #F4F4F4;
    border-radius: 30px;
    padding: 40px 40px;
}
.about-page .year-list {
    margin: 40px 0 0;
}
.about-page .year-list .item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 0;
    height: 90px;
}
.about-page .year-list .item::after {
    content: '';
    width: 2px;
    height: 40px;
    background-color: #0A4E86;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 100%;
}
.about-page .year-list .item .title {
    width: 42%;
    position: relative;
}
.about-page .year-list .item .num {
    background-color: #0A4E86;
    color: #fff !important;
    display: inline-flex;
    height: 30px;
    align-items: center;
    width: 10%;
    position: relative;
    margin: 0 0 0 3%;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 600;
    line-height: 30px;
    display: inline-block;
}
.about-page .year-list .item:nth-child(even) {
    flex-direction: row-reverse;
}
.about-page .year-list .item:nth-child(even) .num {
    margin: 0 3% 0 0;
}
.about-page .year-list .item:nth-child(odd) .title {
    text-align: right;
}
.about-page .year-list .item:nth-child(odd) .title::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: #0A4E86;
    position: absolute;
    right: -6%;
    transform: translateY(-50%);
    top: 50%;
}
.about-page .year-list .item:nth-child(even) .title::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: #0A4E86;
    position: absolute;
    left: -6%;
    transform: translateY(-50%);
    top: 50%;
}
.about-page .year-list .item:nth-child(odd) .num::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background-image: url(/wp-content/themes/storefront/assets/images/half-circle.svg);
}
.about-page .year-list .item:nth-child(even) .num::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 6px;
    right: 0;
    background-image: url(/wp-content/themes/storefront/assets/images/half-circle.svg);
    transform: rotate(180deg);
}
.about-page .year-list .item:last-child::after {
    content: none;
}

.hidden.menu-item {
    display: none;
}

@media (min-width: 360px) {
    .top-contacts {
        text-align: center;
    }


}

@media (min-width: 768px) {
    .top-contacts {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .top-contacts {
        text-align: right;
    }


}


@media (max-width: 768px) {
    .product-item {
        padding: 20px;
        border-radius: 10px;
    }

    .product-item h2 {
        font-size: 1rem;
    }

    .features .item img {
        height: 48px;
    }
}

@media (max-width: 992px) {
    .about-page {
        padding: 30px 20px;
    }
    .about-page .year-list .item {
        flex-direction: column!important;
        height: initial;
        margin: 0 0 20px 0;
    }
    .about-page .year-list .item .title {
        width: 100%;
        text-align: center !important;
    }
    .about-page .year-list .item .title::after,
    .about-page .year-list .item .num::before,
    .about-page .year-list .item .num::after {
        content: none!important;
    }
    .about-page .year-list .item .num {
        width: 50%;
        margin: 10px 0 0 0!important;
    }
    .about-page .year-list .item::after {
        top: 110%;
    }

}
