html{
    height: 100%;
}

body{
    background-color: #fff;
    font-size: 1.250em;
    height: 100%;
    display: flex;
    flex-direction: column;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #000;
    caret-color: auto;
}

/******* Main Sait *******/

.input-error{
    border-color: red;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(153, 10, 227, 0.25) !important; /* фиолетовый цвет с прозрачностью 25% */
    border-color: rgba(153, 10, 227, 0.25) !important;
}

.icon svg, .pass-forget-link, .order-summary-link, .order-title a {
    color: #990ae3;
}

.order-title a:hover{
    color: #e3068c;
}

.pass-forget-link:hover{
    color: #e3068c !important;
}

.lang {
    margin: 20px;
}

.dropdown-menu.show{
    z-index: 9999999 !important;
}

.menu-start {
    margin-top: 5px;
}

.menu-start .active{
    background-color: #990ae3;
    border-color: #990ae3;
}

.btn-warning{
    color: #fff;
    background-color: rgb(255, 193, 7);
    border-radius: 20px;
}

.btn-warning:hover{
    background-color: orange;
    color: #fff;
}

.btn-purpur {
    --bs-btn-color: #fff;
    --bs-btn-bg: #990ae3;
    --bs-btn-border-color: #650094;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e3068c;
    --bs-btn-hover-border-color: #e3068c;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e3068c;
    --bs-btn-active-border-color: #e3068c;
    --bs-btn-active-color: #fff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #990ae3;
    --bs-btn-disabled-border-color: #650094;
    --bs-btn-border-radius: 20px;
}

.btn-outline-purpur {
    --bs-btn-color: #990ae3;
    --bs-btn-border-color: #990ae3;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #990ae3;
    --bs-btn-hover-border-color: #650094;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #650094;
    --bs-btn-active-border-color: #990ae3;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #650094;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #990ae3;
    --bs-gradient: none;
    --bs-btn-border-radius: 20px;
}

.btn-secondary{
    --bs-btn-color: #fff;
    --bs-btn-bg: #f4e0ff;
    --bs-btn-border-color: #f4e0ff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ecbff8;
    --bs-btn-hover-border-color: #d58df9;
    --bs-btn-focus-shadow-rgb: 130,138,145;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d58df9;
    --bs-btn-active-border-color: #d58df9;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-btn-border-radius: 20px;
}

#add-to-cart-from-favorite.disabled{
    border: none !important;
}

.card {
    margin: 5px;
}

.card-title{
    font-size: .8em;
}

.card-category{
    min-height: 1.5em;
    text-align: center;
}

.card-category a{
    text-decoration: none;
    color: #6c757d;
    font-style: italic;
    font-size: .7em;
}

.card-category a:hover{
    color: #e3068c;
}

.card-price{
    text-align: center;
    color: #e3068c;
    font-weight: bold;
    font-size: 1.3rem;
}

.product-price{
    color: #e3068c !important;
    font-weight: normal !important;
}

.card-old-product-price{
    color: #495057;
    font-size: .8rem;
}

.old-product-price{
    color: #495057;
    font-size: 1.5rem !important;
    margin-top: .7em;
    text-decoration: line-through;
}

.old-product-price-mobile{
    color: #495057;
    font-size: 1.2rem !important;
    margin-top: .5em;
    text-decoration: line-through;
}

#add-qty{
    width: 85%;
}

.add-qty-mobile{
    width: 55%;
}

.avalaible-badge{
    background-color: #bce245 !important;
}

.discount-badge{
    top: .5rem;
    left: .5rem;
    height: 3rem;
    width: 3rem;
    position: absolute;
    background-color: red;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    padding-top: .7rem;
    font-size: 1rem;
    z-index: 1;
}

.discount-badge-mobile{
    padding-top: .7rem !important;
    font-size: 1rem !important;
}

.heart-badge{
    color: #999999;
    width: 2rem;
    height: 2rem;
    z-index: 100;
    padding: 2em;
}

.heart-badge-p{
    color: #999999;
    width: 2rem;
    height: 2rem;
}

.heart-badge-position{
    position: absolute;
    top: -1.8rem;
    right: -.3rem;
}

.heart-badge-mobile{
    top: -1.8rem !important;
    right: -.3rem !important;
}

.heart-badge-category-mobile{
    top: -2.3rem !important;
    right: -.8rem !important;
}

.heart-badge-position-p{

}

.heart-badge:hover, .heart-badge-p:hover{
    cursor: pointer;
    color: red;
}

.bi-heart-fill{
    color: red;
}

.heart {
    transition: transform 0.2s ease;
}

.heart-clicked {
    transform: scale(1.2);
}

.banklink-buttons{
    background-color: transparent;
    width: 10.5rem;
    height: 4rem;
    border-radius: 10px;
    margin-left: 1rem;
    margin-bottom: .7rem;
    padding: .8rem;
    border: 1px solid #999999;
}

.banklink-buttons-mobile{
    width: 100% !important;
    margin-left: 0 !important;
}

.banklink-buttons-active, .banklink-buttons:hover{
    border-color: #990ae3 !important;
}

.banklink-buttons img {
    object-fit: contain !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}


/******* End ********/

body .main-container{
    width: 100%;
    padding: 0;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

.fheader{
    flex: 0 0 auto;
    position: relative !important;
}

.fsection{
    flex: 1 0 auto;
}

.ffooter{
    flex:  0 auto;
    height: 3em;
}

/******Scroll styles******/
.wrap {
    overflow: hidden;
    height: 10em;
    position: relative;
}

.scroll {
    position: absolute;
    top: 0;
}

.scroll p {
    margin: 0 0 10px 0;
}

/******End******/

label.required::after {
    content: '*';
    color: red; /* Цвет звездочки, можно изменить на ваш вкус */
}

.font-weight-regular{
    font-weight: 400 !important;
}

.font-weight-500{
    font-weight: 500 !important;
}

.table-main {
    min-width: 20%;
}

.error-small-text{
    font-size: 1.250em;
    color: red;
}

.row-flex {
    display: flex;
    flex-flow: row wrap;
}

.display-inline-block{
    display: inline-block;
}

.red{
    color: red;
}

.green{
    color: green;
}

.opacity-02{
    opacity: 0.2;
}

.width-150{
    width: 150% !important;
}

.width-130{
    width: 130% !important;
}

.width-100{
    width: 100% !important;
}

.width-95{
    width: 95% !important;
}

.width-93{
    width: 93% !important;
}

.width-92{
    width: 92% !important;
}

.width-91{
    width: 91% !important;
}

.width-90{
    width: 90% !important;
}

.width-80{
    width: 80% !important;
}

.width-70{
    width: 70% !important;
}

.width-65{
    width: 65% !important;
}

.width-60{
    width: 60% !important;
}

.width-55{
    width: 50% !important;
}

.width-53{
    width: 53% !important;
}

.width-50{
    width: 50% !important;
}

.width-45{
    width: 45% !important;
}

.width-40{
    width: 40% !important;
}

.width-35{
    width: 35% !important;
}

.width-30{
    width: 30% !important;
}

.width-25{
    width: 25% !important;
}

.width-23{
    width: 23% !important;
}

.width-20{
    width: 20% !important;
}

.width-18{
    width: 18% !important;
}

.width-15{
    width: 15% !important;
}

.width-14{
    width: 14% !important;
}

.width-12{
    width: 12% !important;
}

.width-10{
    width: 10% !important;
}

.width-9{
    width: 9% !important;
}

.width-8{
    width: 8% !important;
}

.width-7{
    width: 7% !important;
}

.width-6{
     width: 6% !important;
 }

.width-5{
    width: 5% !important;
}

.width-3-5{
    width: 3.5% !important;
}

.width-3{
    width: 3% !important;
}

.width-2{
    width: 2% !important;
}

.width-1{
    width: 1% !important;
}

.padding-0{
    padding: 0 !important;
}

.padding-right-0{
    padding-right: 0 !important;
}

.padding-left-0{
    padding-left: 0 !important;
}

.margin-bottom-1600{
    margin-bottom: 1.600em;
}

.margin-bottom-40{
    margin-bottom: 2.250em;
}

.margin-left-9300{
    margin-left: 9.300em !important;
}

.margin-left-5{
    margin-left: 5em !important;
}

.margin-left-4{
    margin-left: 4em !important;
}

.margin-left-3{
    margin-left: 3em !important;
}

.margin-left-2{
    margin-left: 2em !important;
}

.margin-left-1{
    margin-left: 1em !important;
}

.margin-left--1{
    margin-left: -1em;
}

.margin-left-1100{
    margin-left: 1.150em;
}

.margin-left-07{
    margin-left: 0.7em !important;
}

.margin-left-05{
    margin-left: 0.550em !important;
}

.margin-left-04{
    margin-left: 0.400em;
}

.margin-left-03{
    margin-left: 0.300em;
}

.margin-left-02{
    margin-left: 0.200em;
}

.margin-right-5{
    margin-right: 5em !important;
}

.margin-right-4{
    margin-right: 4em !important;
}

.margin-right-3{
    margin-right: 3em !important;
}

.margin-right-2{
    margin-right: 2em !important;
}

.margin-right-1{
    margin-right: 1em !important;
}
.margin-right-05{
    margin-right: .500em !important;
}

.margin-bottom-0{
    margin-bottom: 0 !important;
}

.margin-bottom-01{
    margin-bottom: 0.100em !important;
}

.margin-bottom-05{
    margin-bottom: .500em;
}

.margin-bottom-1{
    margin-bottom: 1em !important;
}

.margin-bottom-2{
    margin-bottom: 2em;
}

.margin-0{
    margin: 0 !important;
}

.margin-center{
    margin: 0 auto;
}

.padding-02{
    padding: 0.200em;
}

.padding-07{
    padding: 0.700em;
}

.padding-left-1{
    padding-left: 1em;
}

.padding-left-05{
    padding-left: .500em;
}

.padding-right-1{
    padding-right: 1em;
}

.padding-left-2{
    padding-left: 2em;
}

.padding-bottom-1500{
    padding-bottom: 1.500em;
}

.padding-bottom-4500{
    padding-bottom: 4.500em;
}

.padding-right-1500{
    padding-right: 1.500em;   
}

.padding-top-1850{
    padding-top: 1.850em;
}

.padding-bottom-1{
    padding-bottom: 1em;
}

.padding-bottom-2{
    padding-bottom: 2em;
}

.padding-top-1500{
    padding-top: 1.500em;
}

.padding-top-0500{
    padding-top: 0.500em;
}

.padding-bottom-01{
    display: inline-block;
    padding-bottom: 0.100em;
}

.margin-top-02{
    margin-top: 0.200em !important;
}

.margin-top-03{
    margin-top: 0.300em !important;
}

.margin-top-04{
    margin-top: 0.400em;
}
.margin-top-05{
    margin-top: 0.500em;
}

.margin-top-06{
    margin-top: 0.600em;
}

.margin-top-07{
    margin-top: 0.700em !important;
}

.margin-top-2850{
    margin-top: 2.850em;
}

.margin-top-1600{
    margin-top: 1.600em;
}

.margin-top-1{
    margin-top: 1em;
}

.margin-top-2{
    margin-top: 2em;
}

.margin-top-3{
    margin-top: 3em;
}

.margin-top-5{
    margin-top: 5em;
}

.margin-top--1{
    margin-top: -1em;
}

.font-size-06{
    font-size: .6rem !important;
}

.font-size-08{
    font-size: .8rem !important;
}

.font-size-09{
    font-size: .9rem !important;
}

.font-size-1{
    font-size: 1rem !important;
}

.font-size-1100{
    font-size: 1.1rem !important;
}

.font-size-1350{
    font-size: 1.35rem !important;
}

.font-size-1500{
    font-size: 1.5rem !important;
}

.font-size-1750{
    font-size: 1.75rem !important;
}

.font-size-1800{
    font-size: 1.8rem !important;
}

.font-size-2{
    font-size: 2rem !important;
}

.font-size-4{
    font-size: 4rem !important;
}

.cursor{
    cursor: pointer;
}

.height-90-percent{
    height: 90%;
}

.height-2{
    height: 2em;
}

.height-4{
    height: 4em;
}

.height-45v{
    height:60vh !important;
}

.vertical-align-middle{
    vertical-align: middle;
}

.vertical-align-top{
    vertical-align: top;
}

.vertical-align-text-top{
    vertical-align: text-top;
}

.vertical-align-bottom{
    vertical-align: bottom;
}

.vertical-align-baseline{
    vertical-align: baseline;
}

.line{
    border: 1px solid transparent;
}

.border-1-ccc{
    border: 1px solid #ccc;
}

.border-bottom-1-ccc{
    border-bottom: 1px solid #ccc;
}

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

.text-decoration-underline{
    text-decoration: underline;
}

.bold{
    font-weight: bold;
}

.relative{
    position: relative;
}

.line-height-1500{
    line-height: 1.5rem;
}

.hr{
    width: 90%;
    margin: 0 auto;
    border-bottom: 1px solid #b3ceff;
    margin-top: 2em;
    margin-bottom: 2em;
}

.register-alert{
    padding: 0.875em;
    border: 1px solid red;
    border-radius: 8px;
}

.register-done{
    padding: 1em;
    border: 1px solid #990ae3;
    border-radius: 8px;
}

.max-width-80{
    max-width: 80%;
}

.disabled{
    pointer-events: none;
    opacity: .5;
}

/**
 * Убираем оформление автоматически добавленных ссылок iPhone'ом
 */
a[href^=tel] {
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    color: inherit;
}

/******HEADER BLOCK******/

#mobileHeader{
    width: 100%;
    border-bottom: 1px solid #ccc;
}

#mobileHeader .navbar{
    margin-bottom: 0;
}

#mobileHeader .container{
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #734109;
    min-height: 4.7em;
}

#myHeader{
    position: fixed;
    top: 0;
    height: 4.7em !important;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid #999999;
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
}

#myHeader:hover{
    background: #dbbfa1;
    opacity: 0.8;
    transition: .5s;
}

#myHeader:not( :hover ){
    transition: .5s;
}

#myHeader .menu{
    width: 80%;
}

#myHeader .navbar{
    border-radius: 0px;
    margin: 0;
    min-height: 4.7em;
    height: 4.7em;
}

#myHeader .container{
    padding: 0;
    margin: 0;
    background-color: transparent;
    max-width: 100%;
}

.navbar-default{
    background-color: transparent;
    border-color: transparent;
}

#myHeader .row{
    margin: 0;
}

.main-menu a.btn{
    text-transform: uppercase;
    background-color: transparent;
    border: 0;
    outline: none;
    color: #fff;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-size: 1.2em;
    font-weight: 600;
}

#mobileHeader .main-menu a.btn{
    color: #734109 !important;
}

.main-menu a.btn:focus, .main-menu a.btn:hover{
    background-color: transparent;
    color: #734109;
    outline: none;
}

.main-menu > .navbar-right{
    margin-right: 0;
}

.secondary-menu a.btn{
    font-size: 1.9em;
    padding-top: .5em;
    padding-bottom: 0;
}

.header-contacts{
    font-size: 1.250em;
}

.sticky {
    position: fixed;
    top: 0;
    z-index: 500;
}

#myHeader .navbar-collapse{
    padding: 0;
}

.search-form{
    width: 50% !important;
    flex: none !important;
    margin: 0 auto;
    padding: 0;

}

.search-input{
    border-bottom-left-radius: .375rem;
    border-top-left-radius: .375rem;
    height: 2.8rem !important;
}

.search-submit{
    height: 2.8rem;
    border-bottom-right-radius: .375rem !important;
    border-top-right-radius: .375rem !important;
}

.header .lang{
    margin-right: 0;
    margin-left: 5rem;
}

header .lang, header .lang-btn{
    height: 2.8rem !important;
}

header .btn-lg {
    --bs-btn-padding-y: 0.4rem;
}

.logo{
    margin-bottom: .8em;
}

.logo-mobile{
    margin-bottom: .3em;
}

.header-icons{
    color: #000;
}

.header-icons button:hover{
    color: #e3068c !important;
}

/******End******/

/*******Sub Header********/

#sub-header{
    min-height: 3em !important;
    background-color: #29003e;
    margin-bottom: 2em;
}

#sub-header .navbar-collapse{
    z-index: 1000;
}

#sub-header .navbar-toggler-icon{
    margin-top: .2rem;
}

#sub-header ul.dropdown-menu{
    background-color: #29003e;
}

#sub-header ul.dropdown-menu li{
    border-bottom: 1px solid #999999;
    padding-left: 1rem;
    padding-right: 1rem;
}

#sub-header ul.dropdown-menu li:last-child{
    border-bottom: none;
}

#sub-header li.nav-item a{
    color: rgba(255, 255, 255, 0.85);
}

#sub-header li.nav-item a:hover {
    color: #d58df9;
}

#sub-header .lang-mobile{
    position: absolute;
    right: 3rem;
}

.subheader-menu-border{
    border: 1px solid #eee;
}

.control-panel-links a, .control-panel-links span{
    color: #990ae3 !important;
}


/******Sidebar******/

.sidebar{
    background-color: rgba(153, 10, 227, 0.95) !important;
    color: #FFFFFF;
    font-size: .8em;
}

.sidebar .nav li{
    border-bottom: 1px solid #999999;
}

.sidebar .hover-nav:hover, .sidebar a.active{
    background-color: rgba(241, 239, 239, 0.25);
}

.sidebar .nav-link{
    color: #FFFFFF !important;
}

/******End******/

.slider-container{
    z-index: 1;
}

.slider-container-mobile{
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.carousel-control-prev, .carousel-control-next{
    width: 5% !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23990ae3' viewBox='0 0 8 8'%3E%3Cpath d='M4.5 0.5L0.5 4 4.5 7.5 3.75 8 0 4 3.75 0 4.5 0.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23990ae3' viewBox='0 0 8 8'%3e%3cpath d='M3.5 0.5L7.5 4 3.5 7.5 4.25 8 8 4 4.25 0 3.5 0.5z'/%3e%3c/svg%3e");
}



.img-thumbnail{
    cursor: pointer;
    object-fit: cover;
    height: 100%;
    background-color: transparent !important;
}

.img-thumbnail-mobile{
    width: 25%;
    height: auto;
    background-color: transparent !important;
}

.product-title-link{
    color: #000;
    text-decoration: none;
}

.product-title-link:hover{
    color: #e3068c;
}

.product-qty::-webkit-inner-spin-button, .product-qty, .country-code::-webkit-inner-spin-button, .country-code{
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

.content{
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 100vh;
    max-width: 100%;
    background-color: #f6f4e9;
}

.practice-content{
    padding-left: 15px;
    padding-right: 15px;
    background-color: #f6f4e9;
}

.modal-content{
    background-color: #f6f4e9 !important;
}

.prices ul{
    padding-left: 0;
}

.prices-mobile li{
    list-style-type: none; /* Убираем маркеры */
}

.form-check-input:checked {
    background-color: #990ae3;
    border-color: #990ae3;
}

.form-control{
    background: #fff !important;
}

/******Main Block******/

.textBg{
    padding: .3em;
    background-color: #eee;
}

.marginIcon{
    margin: .2em;
}

.main-block{
    padding-left: 0.450em;
    padding-right: 0.450em;
    width: 60%;
}

.schedule_a{
    font-weight: bold;
    color: #734109 !important;
    text-decoration: underline;
}

.main-block-content{
    border: 1px solid #3875c6;
    min-height: 96.2%;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.75);
}

.news-block{
    margin-top: 1.850em;
    margin-bottom: 1em;
    padding-left: 1.500em;
    padding-right: 1.500em; 
    border: 1px solid transparent;
}

.success{
    font-size: 1.250em;
    color: #990ae3;
}

.delivery-card:hover{
    border-color: #990ae3;
    cursor: pointer;
}

.delivery-card-active{
    border-color: #990ae3;
}

.delivery-set-color {
    color: #d5d5d5 !important;
}

/******Chosen******/

.chosen-container ul.chosen-results li.disabled-result {
    display: none !important;
}

.chosen-container{
    font-size: 1em !important;
}

.chosen-container span{
    display: block;
    margin-top: .4rem;
}

.chosen-container ul.chosen-results li.highlighted {
    background-color: #990ae3;
    background-image: none;
}

.chosen-container ul.chosen-results li{
    padding: .6rem;
}

.chosen-container-single .chosen-single{
    border-radius: 5px;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.3);
    border: none;
    height: 40px !important;
    border-bottom: 1px solid #ddd;
    text-indent: 0;
    font-size: 1em;
}

/******Control panel******/

.date-input-field{
    border: 1px solid #3875c6;
    border-radius: 0;
}

.admin-radio-button-label{
    display: inline-block;
    margin-top: 2px;
    vertical-align: top;
}

.delete-button-btn{
    background: transparent;
    border: 0;
}

.blox-header-h-cp{
    color: #fffdfc;
    font-size: 1em;
    margin-top: 0.700em;
    margin-left: 1em;
}

.edit_menu{
    list-style-type: none;
    padding-left: 20px;
}

.del-user{
    margin-top: 10em;
}

.add_klass_select_field{
    padding: 3px;
    border: 1px solid #008BC6;
    color: #000;
}

.disabled-subject{
    color: #bebcbb;
}

.dImg{
    width: 15%;
    height: auto;
}

.login{
    font-size: 1rem;
}

.register-form label::after{
    content: "*";
    color: red;
    margin-left: 4px;
}

.ui-helper-hidden-accessible, .note-popover {
    display: none;
}

.modification-qty{
    cursor: pointer;
}

/******End******/

.pagination{
    margin-top: .5em;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover{
    color: #e3068c !important;
}

.pagination li a{
    padding: .5rem !important;
    color: #990ae3 !important;
}

.pagination li a:hover{
    color: #e3068c !important;
}

/******Footer******/

footer{
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #29003e;
    color: #cccccc;
}

footer a{
    color: #fff !important;
}

/******End******/

/******Title on hover********/
[data-title]:hover::before {
    content: attr(data-title);
    position: absolute;
    bottom: -3.46em;
    left: -1em;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 3px;
    background: #000;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    transition: 0.5s ease;
}
[data-title]:hover::after {
    content: '';
    position: absolute;
    bottom: -.7em;
    left: 2px;
    display: inline-block;
    color: #fff;
    border: 8px solid transparent;
    border-bottom: 8px solid #000;
}
/******End******/


/******Dropdown Menu******/

.dropdown-menu{
    border-radius: 8px;
    padding: 0;
}

.dropdown-menu > li > a{
    color: #000;
}

.dropdown-menu > li > a:hover{
    color: #990ae3;
    background-color: transparent;
}

/******End******/


/******Sidebar Menu******/

#myMenu{
    font-size: 1.2rem;
    color: #6c757d;
}

#myMenu ul{
    padding-left: 0;
}

#myMenu ul.children{
    padding-left: .8rem;
}

#myMenu li{
    padding: .5rem;
    border-bottom: 1px solid #cccccc;
    list-style: none;
}

#myMenu a {
    width: fit-content;
    max-width: 92%;
}

#myMenu .has-children{
    position: relative;
}

#myMenu .has-children span {
    text-align: end;
    position: absolute;
    padding: 0 10px;
    right: 0;
    top: .6rem;
    cursor: pointer;
}

#myMenu .has-children span:hover, #myMenu .list-group-item:hover, #myMenu .sidebar-menu-active-link {
    color: #990ae3; /* Измените цвет на желаемый */
}

#myMenu .children{
    height: auto;
    max-height: 0px;
    overflow: hidden;
    transition: max-height .5s ease;

}

#myMenu .children.act{
    max-height: 1500px;
}

#myMenu li:last-child{
    border-bottom: none;
}

/******End******/

/******Carousel******/



/*******End**********/

/******Tabs******/

.tabs { width: 100%; padding: 0px; margin: 0 auto; }
.tabs>input { display: none; }
.tabs>div {
    display: none;
    padding: 12px;
    border: 1px solid #C0C0C0;
    background: #FFFFFF;
}
.tabs>label {
    display: inline-block;
    padding: 7px;
    margin: 0 -5px -1px 0;
    text-align: center;
    color: #666666;
    border: 1px solid #C0C0C0;
    background: #E0E0E0;
    cursor: pointer;
}
.tabs>input:checked + label {
    color: #000000;
    border: 1px solid #C0C0C0;
    border-bottom: 1px solid #FFFFFF;
    background: #FFFFFF;
}


/*******End**********/

/* ------------- Контейнер с адаптивными блоками------------- */
.masonry {
    margin: .5em 0;
    padding: 0;
    column-count: 5;
    column-gap: 1.5em; /* Общее расстояние между колонками */
    font-size: .85em;
    -moz-column-gap: 1.5em; /* Расстояние между колонками для Firefox */
    -webkit-column-gap: 1.5em; /* Расстояние между колонками  для Safari, Chrome и iOS */
}

/* Элементы в виде плиток с содержанием */
.plate {
    display: inline-block;
    background: #fff;
    margin: 0 0 .5em;
    width: 100%;
    box-sizing: border-box; /* Изменения алгоритма расчета ширины и высоты элемента.*/
    -moz-box-sizing: border-box; /* Для Firefox */
    -webkit-box-sizing: border-box; /* Для Safari, Chrome, iOS иAndroid */
}

/* Стили картинок, видое и фреймов внутри адаптивных плиток */


/* Стили ссылок внутри плиток */
.plate a {
    text-decoration: none;
    color: #359CC6;
    margin: 0 10px;
}

/* Стили ссылок при наведении */
.plate a:hover {
    color: #E88F00;
    border-bottom: 1px dotted #9F1D35;
}

/******End******/

/******Popup Block******/

.popup {
    font-size: 1rem;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: .5rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.popup.show {
    display: block;
    opacity: 1;
}

.popup-success {
    background-color: #107803;
    color: white;
}

.popup-error {
    background-color: #f44336;
    color: white;
}
/******End******/



/* Large Devices, Wide Screens */
@media only screen and (max-width : 1370px) {
    .main-menu a.btn{
        padding-bottom: 0.800em;
        letter-spacing: 0.005em;
    }

    .nav > li > a{
        padding: .8em;
    }
}

@media only screen and (min-width : 1920px) {

}

/* Стили для устройств с шириной экрана до 812px */
@media (max-width: 812px) {
    #sub-header .navbar-collapse ul.navbar-nav {
        background-color: #29003e;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        margin-top: .5rem;
        padding-bottom: 1rem;
        border: 1px solid #999999;
        border-top: none;
    }
}

@media only screen and (max-width : 370px) {
    .add-qty-mobile{
        width: 60%;
    }
}

@media only screen and (max-width : 320px) {
    .add-qty-mobile{
        width: 70%;
    }
}



/* Стили для центрирования модального окна по горизонтали и вертикали */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

@media (pointer: coarse) {
    :focus {
        outline: none;
    }
}