@font-face {
    font-family: Montserrat-Reqular;
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: Montserrat-Medium-bold;
    src: url(fonts/Montserrat-Bold.ttf);
}

html{
    height: 100%;
}

body {
    background: #F6F8F9 !important;
    font-family: Montserrat-Reqular, serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

a {
    color: #29B765;
}

a:hover{
    opacity: 0.8;
}
header{
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    margin-bottom: 2em;
}

main{
    flex: 1 0 auto;
}

.main-categories-list a{
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    display: inline-block;
    align-items: center;
    text-align: center;
    padding: 0.6em;
    color: #122330;
    background: #FFFFFF;
    border: 1px solid #546E7A;
    border-radius: 10px;
    text-decoration: none;
}

.main-categories-list a:hover{
    border: 1px solid #29B765;
    color: #29B765;

}

.main-categories-list {
    margin: 1.9em 0;
}

.main-categories-list a{
    margin-right: 10px;
    margin-bottom: 10px;

}


.products .product-preview{
    height: 175px;
    width: 100%;
}

.products .product-action a{
    background: #546E7A;
    border-radius: 10px;
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 0.3em;
}

.products .product-action a:hover{
    background: #29B765;

}

.products .product-detail{
    background: #FFFFFF;
    box-shadow: 0 0 15px 3px rgba(18, 35, 48, 0.3);
    border-radius: 10px;
    height: 270px;
}

.products .product-action{
    padding: 0.8em;
}

.products .product-detail-info .price{
    float: right;
    color: #122330;
}

.products .product-detail-info{
    padding: 0.8em 0.8em 0 0.8em;
}

.products .product-detail-info .name{
    color: #122330
}

.products .product-detail-info .category-name a{
    color: #546E7A !important;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.carousel-info{
    background: rgb(18 35 48 / 35%);
    backdrop-filter: blur(10px);
    height: 70px;
    display: block;
    padding: 18px;
}

.carousel-caption{
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: 500;
    font-size: 30px;
    line-height: 100%;
}

.carousel-info .carousel-name{
    display: inline-block;
}

.carousel-info .carousel-price{
    display: inline-block;
}

.carousel-info .carousel-action{
    float: right;
    font-size: 20px;
    bottom: 0;
    position: relative;
}


.carousel-read{
    background: #546E7A;
    border-radius: 10px;
    color: #fff;
    padding: 0.7em;
    text-decoration: none;
    font-size: 14px;
    font-family: Montserrat-Reqular, sans-serif;
}

.carousel-read:hover{
    opacity: 0.8;
    color: #fff;
}

.carousel-control-prev-icon, .carousel-control-next-icon{
    border: 1px solid rgba(230, 238, 248, 0.75);
    backdrop-filter: blur(4px);
    font-size: 20px;
    border-radius: 50px;
    background-color: rgba(18, 35, 48, 0.5);
}

.carousel-control-prev, .carousel-control-next{
    top: 47%;
    width: 7% !important;
    height: 3%;
}

.carousel img{
    background: #546E7A;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.05);
    height: 420px;
}

footer{
    margin-top: 2em;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    font-size: 15px;
    width: 100%;

    flex: 0 0 auto;

}

ul, li{
    list-style: none;
    margin: 0;
    padding: 0;
}

footer h4{
    font-size: 15px;
    color: #122330;
}

footer a{
    color: #546E7A !important;
    text-decoration: none;
}

footer .fa{
    width: 10px;
}

.navbar ul li a{
    font-weight: 600;
    color: #122330 !important;
    font-size: 15px;
    margin: 0 0.7em;
}

.navbar ul li a:hover{
    opacity: 0.8;
}

.product-detail .right-info{
    background: #FFFFFF;
    border-radius: 10px;
}

.product-detail .right-info .hr{
    height: 1px;
    background-color: rgba(18, 35, 48, 0.5);
}

.product-detail .right-info .name{
    text-align: center;
    font-size: 15px;
    padding: 0.8em;
}

.product-detail .right-info ul span{
    float: right;
}

.product-detail .right-info ul li {
    padding: 0.4em 1em;
    font-size: 12px;
    color: #546E7A;
}

.product-detail .right-info .add-cart{
    background: rgba(84, 110, 122, 0.5);
    border-radius: 10px !important;
    color: #fff;
    border: none;
    padding: 0.6em 1em;
    display: inline-block;
    height: 100%;
}

.product-detail .right-info .add-cart:hover{
    background: #29B765;
}

.product-detail .right-info .buy-now{
    background: rgba(84, 110, 122, 0.5);
    border-radius: 10px !important;
    color: #fff;
    border: none;
    padding: 0.6em;
}


.product-detail .right-info .count-input{
    padding: 0.4em 1em;
    display: flex;
}

.product-detail .right-info .count-input input{
    padding: 8px;
    width: 15%;
    height: 32px;
    text-align: center;
    float: left;
}


.product-detail .right-info .count-input .button-left{
    border-radius: 10px 0 0 10px;
    border-left: 1px solid #122330;
    border-right: 0;
    float: left;
    height: 32px;
}


.product-detail .right-info .count-input .button-right{
    border-radius: 0 10px 10px 0;
    border-right: 1px solid #122330;
    border-left: 0;
    float: left;
    height: 32px;
}

.product-detail .img-product img{
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

header .cart .icon{
    position: relative;
    margin-right: 10px;
}

header .cart-header{
    text-decoration: none !important;
}

header .count-products{
    background: #E02742;
    border: 1px solid #FFFFFF;
    border-radius: 50px;
    position: absolute;
    right: -8px;
    top: 0;
    padding: 3px;
    font-size: 13px;
    line-height: 1;
    height: 20px;
    color: #fff;
    width: 20px;
    text-align: center;
}

body .copyright{
    background: #546E7A;
    color: #fff;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    padding: 1em 1em;
    display: inline-block;
    position: relative;
    bottom: 0;
    width: inherit;
}

footer .copyright a{
    color: white !important;
    text-decoration: none;
}

footer .links-contacts {
    color: #546E7A;
}

footer .links-contacts li span{
    margin-left: 10px;
}

footer .description p{
    font-weight: 500;
    font-size: 12px;
    word-wrap: break-word;
}

main .page{
    background: #FFFFFF;
    box-shadow: 0 10px 15px rgba(84, 110, 122, 0.25);
    border-radius: 10px;
    padding: 1em;
}

.breadcrumb .breadcrumb-item a{
    color: #546E7A;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item.active {
    color: #29B765;
}


.cart-page {
    background: #fff;
    box-shadow: 0px 10px 15px rgb(84 110 122 / 25%);
    border-radius: 10px;
}

.cart-page .detail-payment{
    background: rgba(84, 110, 122, 0.05);
    padding: 1.2em;
    border-radius: 0px 0px 10px 0px;
}

.cart-page .cart-header{
    font-size: 15px;
    padding: 0.6em 1.2em;
    display: block;
    border-bottom: 1px solid #546E7A;
}

.cart-page .products-list .preview-img{
    border-radius: 10px;
    width: 150px;
    height: 84px;
}

.cart-page .order-info{
    padding: 1.2em;
}

.cart-page .products-list{
    width: 100%;
}

.cart-page .order-info h4, .cart-page .detail-payment h4{
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
    color: #122330;
}

.cart-page .order-info .result-order{
    background: rgba(41, 183, 101, 0.25);
    border: 1px solid #29B765;
    border-radius: 10px;
    text-align: center;
    padding: 0.9em;
    font-size: 15px;
}


.cart-page .order-info .result-order .price{
    font-weight: 700;
    font-size: 20px;
    display: inline-block;
}


.products-list .count-input{
    padding: 0.4em 1em;
    display: flex;
}

.products-list .count-input input{
    padding: 8px 6px 8px 6px;
    width: 5%;
    height: 32px;
    text-align: center;
}

.products-list .count-input button{
    background: rgba(84, 110, 122, 0.25);
}

.products-list  .count-input .button-left{
    border-radius: 10px 0 0 10px;
    border: 1px solid #122330;
    border-right: 0;
}


.products-list .count-input .button-right{
    border-radius: 0 10px 10px 0;
    border: 1px solid #122330;
    border-left: 0;
}


.products-list .info{
    padding-left: 15px;
}

.products-list .info .name{
    font-size: 12px;
    color: #122330;
}

.products-list .info .category{
    font-size: 12px;
    color: #546E7A;
}

.products-list .price{
    font-weight: 700;
    font-size: 20px;
    color: #122330;
    vertical-align: bottom;
    text-align: right;
}

.products-list .price .remove{
    color: #e12222;
}

.cart-page .detail-payment .select-pay-method a{
    display: inline-block;
    background: rgba(84, 110, 122, 0.15);
    border-radius: 4px;
    padding: 1.1em;
    border: 1px solid #bfbfbf;
}

.cart-page .detail-payment .select-pay-method a.active{
    border: 1px solid #29B765;
    background: rgba(41, 183, 101, 0.25);
}


.cart-page .detail-payment .pay-button{
    background: #546E7A;
    border-radius: 10px;
    border: none;
    padding: 0.9em;
    font-size: 15px;
    width: 100%;
    font-weight: 700;
    color: #fff
}

.cart-page .detail-payment .pay-button:hover {
    background: #29B765;
}

.cart-page .detail-payment .contract label{
    font-size: 12px;
    line-height: 100%;
    color: #122330;
}

.cart-page .detail-payment p, .cart-page .order-info p{
    color: #546E7A;
}

.products-list .count-input{
    padding: 0 !important;
    padding-top: 15px;
    position: relative;
    top: 8px;
}

.contacts .item{
    background: #546E7A;
    border-radius: 10px;
    margin: 0.5em;
    color: #fff;
    text-align: center;
    padding: 1em 0.5em;
    font-size: 1.1em;
    height: 45px;
}

.pagination .disabled span{
    display: block;
    color: #0d6efd;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.product-detail .nav li{
    flex: auto;
    text-align: center;
}

.product-detail .nav li a{
    border: none;
    font-size: 15px;
    color: #122330;
    background-color: #fff;
}

.product-detail .nav li a.active{
    border-bottom: 2px solid #29B765;
}

.select-pay-method a img{
    width: 100px;
    height: 23px;
}

.product-detail .product-preview img{
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    max-height: 175px;
}

.product-detail .img-additional{
    margin: 0.5em 0em;

}

.product-detail .img-additional img{
    width: 150px;
    height: 84px;
    border: 1px solid #122330;
    border-radius: 7px;
}

.product-detail .right-info .select-type .option-button{
    font-family: Montserrat-Reqular;
    font-style: normal;
    padding: 0.5em 0.9em;
    background: #FFFFFF;
    font-weight: 600;
    font-size: 12px;
    border: 2px solid rgba(18, 35, 48, 0.5);
    border-radius: 10px;
    margin-top: 10px;
}

.product-detail .right-info .select-type .option-button.active{
    border: 2px solid #29B765;
    color: #29B765;
}

.product-detail .right-info .select-type .form-check-inline{
    margin-right: 0.3em;
}

.product-detail .right-info .select-type .form-check input {
    margin: 3px 0 0 0;
}

.product-detail .right-info .select-type .form-check label{
    padding-left: 4px;
}

.help-block{
    color: #c52828;
}

.product-detail .right-info #price_product{
    font-size: 18px;
    padding: 12px
}

.contacts a{
    text-decoration: none;
}


.product-detail #myTabContent {
    background: #FFFFFF;
    border-radius: 10px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 15px;
}

.product-detail #gallery{
    overflow-x: scroll;
}

.swiper {
    width: 100%;
    height: 100px;
    margin: 20px auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

:root {
    --swiper-navigation-size: 29px !important;
}

.swiper-button-next:after, .swiper-button-prev:after{
    color: white;
}


.product-detail .link-degisseller{
    background: rgba(84, 110, 122, 0.5);
    border-radius: 10px !important;
    color: #fff;
    border: none;
    padding: 0.6em 1em;
    display: inline-block;
    height: 100%;
}

.product-detail .right-info .add-cart:hover, .product-detail .link-degisseller:hover{
    background: #29B765;
}

/* Стили в текстовом редакторе доп страниц и товаров. */
.ckeditor {
    position: relative;
}

.ckeditor img {
    width: inherit !important;
    max-width: 100%;
    height: inherit !important;
    max-height: 100%;
}

.ckeditor div {
    background: #A8B1C10C !important;
    border: 1px solid #A8B1C10C !important;
    border-radius: 5px !important;
    padding: 1rem !important;
    margin: 10px 0;
}

.ckeditor ol li {
    list-style-type: auto;
    margin-left: 10px;
}

.ckeditor ul li {
    list-style-type: disc;
    margin-left: 10px;
}

.ckeditor ol,
.ckeditor ul {
    padding-left: 2rem;
}

.ckeditor details {
    border: 1px solid #A8B1C10C !important;
    border-radius: 5px !important;
    padding: 0.5rem !important;
    margin: 10px 0;
}

.ckeditor summary {
    background: #A8B1C10C !important;
    border: 1px solid #A8B1C10C !important;
    border-radius: 5px !important;
    padding: 1rem !important;
    margin: 10px 0;
}
/* --- Стили в текстовом редакторе доп страниц, конец --- */


@media (max-width: 956px) {
    .carousel img {
        height: auto !important;
    }

    .carousel-info{
        height: 100%;
        padding: 10px;
        font-size: 15px;
    }
}



.chat-history ul {
    padding: 0;
}

.chat-history ul li {
    list-style: none;
}

.chat-history .message-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
    padding-right: 15px;
    border-right: 1px solid rgba(68, 68, 68, 0.25);
}

.chat-history .message-data-time {
    color: #434651;
    font-size: 12px;
    padding-left: 6px;
}

.chat-history .message {
    color: #444;
    border-radius: 7px;
    display: inline-block;
    position: relative;
    margin-left: 15px;
}
.text-right {
    text-align: right!important;
}

.float-right {
    float: right!important;
}


.fa.fa-thumbs-up{
    color: green;
}

.fa.fa-thumbs-down{
    color: red;
}

#reviewform-grade input{
    margin-left: 7px;
    margin-right: 5px;
}

.info-text{
    background: #ffc10740;
}

.message-data-review .good,
.message-data-review .bad {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-right: 15px;
    border-right: 1px solid rgba(68, 68, 68, 0.25);
}

.message-data-review .good .message-data,
.message-data-review .bad .message-data {
    border-right: none;
}

.chat-history .review .review-good {
    width: 100%;
    display: flex;
    margin-top: 15px;
    padding: 5px;
    background: rgba(72, 227, 103, 0.10);
    border-left: 5px solid rgba(72, 227, 103, 0.75);
    border-radius: 10px;
}

.message-data-review .review-bad {
    width: 100%;
    display: flex;
    margin-top: 15px;
    padding: 5px;
    background: rgba(246, 74, 74, 0.10);
    border-left: 5px solid rgba(246, 74, 74, 0.25);
    border-radius: 10px;
}

.chat-history .seller {
    display: flex;
    margin-left: 50px;
    margin-bottom: 10px;
    padding: 5px;
    background: rgba(240, 152, 33, 0.10);
    border-left: 5px solid rgba(240, 152, 33, 0.75);
    border-radius: 10px;
}



