/* Fast Order */
#fastorder .modal-dialog {width:800px; max-width:800px;}
#fastorder .modal-title {line-height: 1; font-size: 1.2rem; font-weight:bold;}
#fastorder .modal-title small {font-size: 80%; color: #666; font-weight:normal;}
#fastorder .modal-header, #fastorder .modal-footer {background:none;}
#fastorder .modal-body {font-size: 14px;}
.fotorama {margin: 0;}
.fotorama__thumb-border, .fotorama__thumb  {border-radius: 8px;}
.fotorama__thumb  {border: solid 1px #eee;}
.fotorama__stage__shaft {border: solid 1px #eee; border-radius: 8px;}
.fotorama__arr--next {border-radius:6px; background:rgba(248, 248, 248, 0.81);}
.fotorama__arr--next::before {content:'\f054'; font-family:var(--font-awesome); color: var(--color-primary); font-size: 17px; width:32px; height:32px;
	display: flex; align-items:center; justify-content:center;
}
.fotorama__arr--prev {border-radius:6px; background:rgba(248, 248, 248, 0.81);}
.fotorama__arr--prev::before {content:'\f053'; font-family:var(--font-awesome); color: var(--color-primary); font-size: 17px; width:32px; height:32px;
	display: flex; align-items:center; justify-content:center;
}
.fotorama__fullscreen-icon {border-radius:6px; background:rgba(248, 248, 248, 0.81);}
.fotorama__fullscreen-icon::before {content:'\f00e'; font-family:var(--font-awesome); color: var(--color-primary); font-size: 17px; width:32px; height:32px;
	display: flex; align-items:center; justify-content:center;
}

.fotorama--fullscreen .fotorama__stage__shaft {border:none;}
.fotorama--fullscreen [class*=fotorama__arr]:before {color:#000;}
.fotorama--fullscreen [class*=fotorama__fullscreen]:before {color:#000;content:'\f010'}

#fastorder .card > * {background: none;}
#fastorder .catalog_action {position:initial;}
#fastorder .old_cost {font-size:20px; font-weight:normal;}
#fastorder .cost {font-size:32px;}
#fastorder .card-header {border-bottom: solid 1px #EDEDED;}
#fastorder .card {border: solid 1px #EDEDED; border-radius: 8px;}
#fastorder .btn {font-size: 14px;}
#fastorder .btn-fastorder-buy {padding-left: 10px; padding-right: 10px; font-size: 14px;}
#fastorder .btn-fastorder-buy i {font-size: 19px; margin-right:10px;}
#fastorder .btn-compare-in-list {position:initial; opacity: 1;}
#fastorder .btn-compare-in-list, #fastorder .btn-with-in-list {cursor: pointer; transition:all 0.3s;}
#fastorder .btn-compare-in-list:hover, #fastorder .btn-with-in-list:hover {color: var(--color-primary);}
#fastorder .btn-compare-in-list i, #fastorder .btn-with-in-list i {font-size: 19px; vertical-align: text-top; margin-right: 5px;}
.catalog-list_item .btn-fast-look {
	background: rgba(224, 128, 31, 0.71); padding: 0 5px; position: absolute; left: 20px; right:20px; top: 40%; opacity: 0; pointer-events: none; transition: all 0.3s; 
	cursor: pointer; color:#fff;
}
.catalog-list_item:hover .btn-fast-look {opacity: 1; pointer-events: auto; }
.catalog-list_item:hover .btn-fast-look:active {background: rgba(224, 128, 31, 1);}
.catalog-list_item:hover .buy_button {opacity:1;}

/* ORDER */
.payments-info {position: relative;
    box-sizing: border-box; width: 100%; padding: 10px; margin: 1em 0; font-size: .82em; border-radius: 2px; line-height: 1.5; background-color: #dfdcde; color: #515151;
}
.payments-info:before {content: ''; display: block; border: 1em solid #dfdcde; border-right-color: transparent; border-left-color: transparent;
    border-top-color: transparent; position: absolute; top: -.75em; left: 0; margin: -1em 0 0 2em;
}
.delivery-info {position: relative;
    box-sizing: border-box; width: 100%; padding: 10px; margin: 1em 0; font-size: .82em; border-radius: 2px; line-height: 1.5; background-color: #dfdcde; color: #515151;
}
.delivery-info:before {content: ''; display: block; border: 1em solid #dfdcde; border-right-color: transparent; border-left-color: transparent;
    border-top-color: transparent; position: absolute; top: -.75em; left: 0; margin: -1em 0 0 2em;
}

.alert-payment {font-size: 1.3em; padding-top: 60px; padding-bottom: 60px;}
.alert-payment i {font-size: 2em; margin-bottom: 30px;}


/* CATALOG */
.catalog-main-selected-category {background: #cbdc54; height: 64px; line-height: 64px; text-transform: uppercase; color: #fff; font-weight: bold;}
.catalog-main-selected-category .fa {
    border-radius: 100%; border: 1px solid rgba(255,255,255,.5); width: 40px; height: 40px; line-height: 38px; margin-right: 5px; text-align: center;
}

.catalog-top {margin-top: 30px; min-height: 365px !important;}

.catalog-list_item {position:relative; border: solid 1px #EDEDED; padding: 12px 12px 15px; border-radius:5px; height:100%;}
.catalog-list_item h3 {margin-top: 0; margin-bottom: 5px; font-size: 14px; font-weight: 700 !important; line-height: 1.4em;}
.catalog-list_item h3 a {color: #000; text-decoration: none !important;}
.catalog-list_item img.img-fluid {margin: 0 auto 10px;}
.catalog-list_item .btn-cart {background:var(--color-primary); color:#fff; font-size: 24px; padding:0 8px; height: 38px;}
.catalog-list_item .btn-alert {font-size: 12px; padding:0 8px; height: 38px; line-height:1.2;}
.catalog-list_item .catalog-list_normen {margin-top: 2px; color: #8a8c8f; font-size: 11px; font-family: 'Open Sans'; line-height: 1.3em; display: block;}
a.catalog-list_detail {background: url(../images/detail_en.gif) no-repeat; float: none !important; position: absolute; width: 114px !important; height: 25px !important; margin-top: 290px; margin-left: 155px; display: block;}

.cost {font-size: 16px; font-weight:bold; display:flex; align-items:center; white-space:nowrap;}
.old_cost {color: #bbb; text-decoration: line-through; display: inline; margin-left: 5px;}
.buy_button {transition: all 0.3s; opacity:0.4; max-width:50%;}
.buy_button a {cursor: pointer;}
.buy_button a:hover {color: #000;}
.incart_yet {color: #990 !important;}

.catalog-item_image {margin-right: 20px; float: left; border: solid 1px #ccc;}

.catalog_action {background: #C53A31; display: inline-flex; position: absolute; height:23px; padding: 0 5px; color:#fff; top: 15px; left:10px; align-items:end; border-radius:5px;}
.catalog-new-item {background: #fad018; display: inline-block; position: absolute; padding: 3px 7px; top: 15px; right:10px; color: #990000;}

.categorymenu-text {min-height: 50px;}
.categorymenu-text h4 {margin-top: 10px; text-align:center;}

.left-menu-catalog { font-size: 1em; }
.left-menu-catalog a {color: #333 !important; font-weight: 300; transition: all 0.3s; padding: 7px 0; display: block; text-decoration: none !important;}
.left-menu-catalog a:hover {margin-left: 5px;}
aside a {color: #ccc; width: 100%; text-align: left;}
.div-menu_sel a {background: #fff; color: #000 !important; font-weight: 600;}

div.catalog_submenu {margin: 5px 5px; float: left; width: 210px; text-align: center; height: 220px;}
div.catalog_submenu img {width: 180px; height: 180px; clear: both; border: solid 1px #ccc;}
div.catalog_submenu a {display: block; clear: both; }

.catalog-menu a {font-weight: normal; font-size: 14px; text-decoration: none;}
.catalog-menu_sel a {color: #434244; font-weight: bold;}
.left-menu-catalog .catalog-menu { padding: 3px 0; margin: 0 0 0 15px;}
.left-menu-catalog .catalog-menu a { font-size: 1em; padding:0;}
.left-menu-catalog .catalog-menu[class~="has_submenu"] { background: url('../images/bg/bg_catalog_hasmenu.gif') no-repeat center right; }
.left-menu-catalog .catalog-menu_sel { padding: 0; margin: 0 0 0 15px;}
.left-menu-catalog .catalog-menu_sel[class~="has_submenu"] { background: url('../images/bg/bg_catalog_hasmenu_sel.gif') no-repeat center right; }
.left-menu-catalog .catalog-menu:last-child {border-bottom: none; }

/* втрой уровень подменю каталога */
.left-menu-catalog .node2 {margin: 0 0 0 30px;}
.left-menu-catalog .catalog-menu_sel[class~="node2"] {}
.left-menu-catalog .node2 * {font-size: 12px !important;}

/* таблица корзины */
table#cart {width: 100%; background: none; border: none; box-shadow: none;}
table#cart td.cart-del {padding:0;}
table#cart td.cart-img {width:100px;}
table#cart tr > * {border-bottom: solid 1px #ddd; border-top: none;}
img.trash {vertical-align: middle;}
.cart-item-count {text-align: center; border:none; background:#F8F8F8; font-weight:bold; padding: 6px 0 4px; border-radius:5px;}
.cart-action {display: none;}

/* фильтр каталога */
.show_filter {font-size: inherit;}
form[name=filter] {margin-top: 30px;}
.button-filter {white-space: nowrap; display: none;}
.button-filter .fa {cursor: pointer; }
.btn-filter {font-size: 12px; transition: all 0.3s; margin-top: -3px;}
ul.filter b {text-transform: uppercase; font-size: 13px; color: #000; padding-bottom: 5px; display: block;}
ul.filter {padding: 0;}
ul.filter ul {padding: 0 0 0 20px;}
ul.filter li {list-style: none; margin: -2px 0; font-size: 12px;}
ul.filter li input[type=checkbox] {width: 12px; height: 12px; }
ul.filter .checkbox {margin: 0;}
ul.filter li label {padding-left: 0; height: 12px; min-height: 0;}
div.filter {padding: 0 10px; border: solid 1px #999; background: #f9f9f9; margin-top: 15px; float: left; width: 100%;}
div.filter button {margin-bottom: 10px;}

div.sort_block {text-align: right; margin-bottom: 30px; background: #fff; margin-top: 15px;}
.table-compare th:first-child, .table-compare td:first-child { position: sticky; left: 0; background: #f9f9f9; z-index: 1;}
.table-compare tr:first-child > * { background: #fff; box-shadow:none;}
.table-compare .catalog-list_item { min-width:230px;}
.btn-compare {float: left;}
.btn-compare-in-list {position: absolute; z-index:10; opacity: 0; top: 14px; transition: all 0.3s; right:14px; height:36px; width: 36px; padding:0; background:#fff; color:#000;}
.btn-compare-trash {position: absolute; width: 20px; height: 20px; border-radius:50%; right:-5px;top:-5px; padding-top:2px; border:none; font-size: 12px; 
	background:#E0801F; color:#fff;
}
.btn-compare-trash i {position: initial; }
.catalog-list_item:hover .btn-compare-in-list {opacity: 1; background:#fff; border: solid 1px #ECECEC;}
.btn-wish-in-list {position: absolute; z-index:10; opacity: 0; top: 14px; transition: all 0.3s; right:54px; height:36px; width: 36px; padding:0; background:#fff; color:#000;}
.catalog-list_item:hover .btn-wish-in-list {opacity: 1; background:#fff; border: solid 1px #ECECEC;}

.small_cart { background: #3069af; 
    border-radius: 3px;
    border: none;
    box-shadow: none;
    color: #fff;
    font-size: 12px;
    height: 45px;
	width: 100%;
    padding: 5px 30px 8px 80px;
    text-align: left;
	position: relative;
}
.text-top-cart { margin-top: -3px; margin-left: 5px;}
.item-top-cart { font-size: 12px; display: flex; align-items:center;}
.item-top-cart .badge, .item-top-wish .badge {font-size: 8px; font-weight: normal; padding: 0; background: #E0801F; color: #fff; position: absolute; display:flex; width:13px; height:13px;
	line-height:0; justify-content:center; align-items:center; border-radius:50%; top:-4px; margin-left: 11px;
}
.cart_empty {width: 100px; margin: 15px 0;}
.fa-heart-checked {color:var(--color-primary);}

/* страница товара */

.catalog-detail h1 {margin-top: 0; }
.catalog-detail .catalog_action {position:initial; margin-bottom:0.3rem; font-size: 12px; height: 20px;}
.catalog-detail .card-header {border-bottom: solid 1px #EDEDED; font-size:13px;}
.catalog-detail .card {border: solid 1px #EDEDED; border-radius: 8px; box-shadow: 0px 1.6px 32px 0px rgba(46, 46, 46, 0.1);}
.catalog-detail .card > * {background:none;}
.catalog-detail .old_cost {font-size:20px; font-weight:normal;}
.catalog-detail .cost {font-size:32px;}
.catalog-detail-item-group {display: inline-block; border-bottom: solid 5px #fff; transition: all 0.3s; margin-right: 5px;}
.catalog-detail-item-group1, .catalog-detail-item-group1:hover {display: inline-block; margin-right: 5px;border-bottom: solid 5px #fad018; transition: all 0.3s;}
.catalog-detail-item-group img {border: solid 1px #ccc; width:60px; height:60px;}
.catalog-detail-item-group1 img {border: solid 1px #ccc; width:60px; height:60px; }
.catalog-detail-item-group:hover {border-bottom: solid 5px #ccc; }
.catalog-detail .btn-fastorder-buy i {font-size: 19px; margin-right:10px;}
.catalog-detail .btn-compare {position:initial; opacity: 1;}
.catalog-detail .btn-compare, .catalog-detail .btn-with {cursor: pointer; transition:all 0.3s;}
.catalog-detail .btn-compare:hover, .catalog-detail .btn-with:hover {color: var(--color-primary);}
.catalog-detail .btn-compare i, .catalog-detail .btn-with i {font-size: 19px; vertical-align: text-top; margin-right: 5px;}

.block-samegoods {padding: 0 0 30px; }
.cost_details {font-size: 1em; font-family: 'Circe'; font-size: 1.4rem; color: #222 !important;}
.cost_details.action {color: #fff; background: #900; }
.tabs {margin-top: 50px; margin-bottom: 50px;}
.nav-tabs {border-bottom: solid 2px #D9D9D9; font-size: 20px; font-weight:bold;}
.nav-tabs > li{margin:0;}
.nav-tabs > li > .nav-link {border: none!important; border-bottom: solid 2px #D9D9D9!important; color: #000; padding: 11px 15px;}
.nav-tabs > li > .nav-link.active, .nav-tabs > li > .nav-link.active:hover, .nav-tabs > li > .nav-link.active:focus {
    border-bottom: solid 2px var(--color-primary)!important;
    cursor: default;
}

.tab-pane {margin:30px 0;}

.hr-cart {margin-top: 20px; margin-bottom: 20px;}
.calc_sum {color: #000;}

.btn.btn-promo {padding-right: 7px !important; padding-left: 10px !important; }

/* spinner button for count */
.spinner { width: 98px;align-items:center; padding: 0; color: #999; display: inline-flex; border-radius:5px;overflow:hidden;}
.spinner .btn, .spinner .btn:active {background: #F8F8F8; border: 0; box-shadow: none; padding: 0; width: 30px; color: #585858!important; 
	display:flex; align-items:center; justify-content:center; line-height:0;font-size: 21px; font-weight: 300;
}
.spinner .btn:after {display: none;}
.spinner .form-control {font-size: 16px; font-weight:bold; padding:0; margin:0;}
.spinner .input-group-btn {margin: 0 5px;}
.spinner input {font-weight: 300; text-align: center; padding: 0; box-shadow: none; border: 0;padding: 16px 10px; background:#F8F8F8!important;}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

/* rating */
.catalog-detail-rating {}
[data-bs-toggle=modal] {cursor: pointer;}
.catalog-rating {padding-top: 12px;}
.catalog-rating img {margin-bottom: 0; }
.catalog-rating .fa-star, .catalog-detail-rating .fa-star {color: var(--color-primary);}
.catalog-rating .fa-comment, .catalog-detail-rating .fa-comment {margin-left: 5px;}
.catalog-rating1 .fa-star:nth-child(1):before {font-weight: bold;}
.catalog-rating2 .fa-star:nth-child(-n+2):before {font-weight: bold;}
.catalog-rating3 .fa-star:nth-child(-n+3):before {font-weight: bold;}
.catalog-rating4 .fa-star:nth-child(-n+4):before {font-weight: bold;}
.catalog-rating5 .fa-star:nth-child(-n+5):before {font-weight: bold;}

.catalog-detail .rating {margin-right: 15px;}
.rating_icon {cursor: pointer;}
.rating_selector_review {margin-bottom: 5px;}
.rating_selector_review .rating_icon {padding: 0 2px;}
.reviews {border: solid 1px #ccc; padding: 25px 25px 10px; border-radius: 0 10px 10px 10px; font-size: 90%; margin-bottom: 30px;}
.reviews .name {color: #999;}

@media (max-width: 768px) {
	.catalog-list_item {padding:6px 6px 10px;}
	.catalog-list_item h3 {font-size: 12px;}
	.catalog-list_item .btn-cart {font-size:18px; height:32px;}
	.cost {font-size: 14px;}
	.catalog-list_item .buy_button {opacity: 1;}
	.catalog-list_item:nth-child(2n) .catalog-new-item {right: 4px;}
	.catalog-list_item:nth-child(2n-1) .catalog-new-item {right: 3px;}
	.catalog-list_item img {width: 100%; }
	.catalog-list_item img.img-fluid {margin:0;}
	.catalog_action {font-size:12px;top:5px; left: 5px; height:20px;}
	.catalog-list_item .cost-wrapper {position: relative; right:0; }
	
	.catalog-item_image {margin-bottom: 15px; }
	.block-samegoods {padding-top: 0;}
	
}