/* ---------------------------------------------- */
/*          CSS for Special Offers                */
/* ---------------------------------------------- */


/* Special Offer List */
.special-offer-thumb img {
	width: 100%;
}
.special-offer-thumb .button {
	position: relative;
	width: 100%;	
    cursor: pointer;
    text-align: center;
    display: block;
    line-height: 37px;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    background-image: linear-gradient(#00c58e, #00946b);
}
.special-offer-thumb .caption {
	height: 100px;
}

.special_offer_status {
	position: absolute;
    text-align: center;
	width: 210px;
	top: 25px;
	left: -41px;
	line-height: 46px;
	padding-right: 12px;
	letter-spacing: 1px;
	transform: rotate(-40deg);
	-webkit-transform: rotate(-40deg);
	z-index: 20;	
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: red;
	opacity: 0.9;
	box-shadow: -2px 3px 10px 1px #3e3e3e;
}
.special-offer-thumb {
	position: relative;
	border: 1px solid #ddd;
	overflow: auto;
	padding: 15px;
}
.special-offer-thumb:hover {
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.5);
}
.special-offer-grid {
	margin-top: 20px;
}


#column-left .special-offer-grid, #column-right .special-offer-grid {
    width: 100%;
}
.btn-heading {
	margin-top: 20px;
    min-width: 100%;
    float: right;
	font-size: 14px;
}
/* Timer for Special Offer */
.ended, .continuous, .timer_banner{
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    height: 40px;
    padding: 7px;
    border-radius: 4px;
    /* border: 1px solid #1a1aa5; */
    background: linear-gradient(#26aee0, #1d8ab3);
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
}
.timer_banner {
    background: linear-gradient(#26aee0, #1d8ab3);
}
.ended > div, .continuous > div, .timer_banner > div{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.special-offer-grid .special_offer_timer {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 -8px 30px 15px rgb(255, 255, 255);
    background-color: white;
}
.product-special_offer .ended{
/*     border-radius: 4px;
    border: 1px solid #888;	
	background: linear-gradient(#fff, #e2e2e2); */
}
/* -- таймер на странице описания акций  -- */
.product-special_offer-info .special_offer_timer {
    text-align: center;
    padding: 5px 10px 12px 10px;
	border: 1px solid #ccc;
    border-radius: 4px;	
}
.product-special_offer-info .item-timer div{
	color: #fff;
	font-size: 22px;
    width: 24%;
	line-height: 18px;
}	
.product-special_offer-info .ended,
.product-special_offer-info .continuous,
.product-special_offer-info .timer_banner {
	padding: 10px 20px;
	margin: 0 0 7px 0;
}
.product-special_offer-info .item-timer div{
/* 	background: linear-gradient(#fff, #fff);
    border: 1px solid #ccc; */
}
.special-offer-thumb.offer-ended {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    transition: filter .3s,opacity .3s;
    opacity: .7;
}
.special-offer-thumb.offer-ended:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}
.item-timer{
	margin-bottom: -1px;
}
.item-timer div {
    background: linear-gradient(#26aee0, #1d8ab3);
    color: #fff;
    /* border: 1px solid #888; */
    border-radius: 4px;
    padding: 6px 1px 1px 1px;
    font-size: 20px;
    margin-left: 1px;
    display: inline-block;
    width: 22%;
    line-height: 16px;
}
.waitspecial div {
    background: linear-gradient(#ffa439, #a27a1e);
}
.item-timer div:first-child{
    margin-left: 0;
}
.special_offer_timer span{
    font-size: 12px;
	font-weight: 600;
}
.item-timer div>span{
	display: block;
    font-size: 10px;
    margin-top: 1px;
}
@media (max-width: 420px) {
 .item-timer div{
/*     width: 24%; */
/* 	margin-left: 0px; */
 }
 .item-timer div>span{
/*     font-size: 9px; */
/* 	margin-top: 2px; */
 }
 }
/* Special Offer Info */
.special-offer-descr {
	border: 1px solid #ddd;
	overflow: auto;
	padding: 15px;
    margin: 5px 0 20px 0;
	position: relative;
}
.special-offer-descr p {
	font-size: 16px;
}
.special-offer-descr h1 {
	margin-top: 5px;
}
.special-offer-label {
	position: absolute;
    top: 135px;
    right: 23px;
	max-width: 28%;
    text-align: right;
	z-index: 20;
}
.som-active-label {
	cursor: pointer;
}
.som-active-label:hover {
    max-width: calc(28% + 6px);
	transition: all 0.1s ease-out;
	right: 20px;
}
.transition .special-offer-label {
    top: 115px;
}
.transition .som-label-gift {
	top: 105px;
}
.product-list .special-offer-label {
    left: 20px;
    right: unset;
	width: unset;
	max-width: 80px;
}
.special-offer-label img {
    max-width: 100%;
}

/* Timer for Product Special */
.transition .special_offer_timer,
.product-special .special_offer_timer {
	text-align: center;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
.product-special .product-list .special_offer_timer {
	text-align: center;
	width: 235px;
	position: absolute;
    right: 20px;
    bottom: 60px;	
}
}
.special-offer-thumb .timer_banner,
.special-offer-thumb .ended,
.product-special-info .ended {
	margin-left: 0;
    margin-right: 0;
	margin-top: 20px;
}
.product-special-info .special-offer-name {
	display: block;
	font-size: 14px;
    background-color: #ff5b00;
    color: white;
    padding: 8px 12px;
    font-weight: 600;
    margin-bottom: 10px;
	border-radius: 4px;
	cursor: pointer;
}

.product-special-info .special-offer-gift {
    margin-bottom: 10px;
    border-radius: 4px;
    /*border: 2px solid #f00;*/
    background: #fff;
}
.special-offer-gift .gift-header,
.special-offer-label .gift-header {	
    font-size: 14px;
    background-color: #f00;
    color: white;
    padding: 3px;
    font-weight: 600;
    margin-top: -2px;
	text-align: center;
}
.special-offer-label .gift-header {
    font-size: 13px;
    padding: 1px;
}
.som-label-gift {
    border-radius: 4px;
    border: 2px solid #f00;
    background: #fff;
	top: 125px;
}
.som-label-gift img {
    padding: 2px;
}
.special-offer-gift .gift-thumb {
	padding-right: 10px;
	width: 65px;
}
.special-offer-gift .gift-info{
    display: flex;
    justify-content: stretch;
    align-items: center;
    padding: 6px 12px 9px;    
    min-height: 70px;
    background: #fff;
}
.special-offer-gift span {
	line-height: 16px;
  font-size: 13px;
  font-weight: 600;  
}
.thumbnails .special-offer-label {
    top: 130px;
}
.product-special-info .special_offer_timer {
	text-align: center;
    margin-bottom: 25px;
}
.special-offer-right-block {
	width: 280px;
	float: right;
	margin-left: 10px;	
}
@media (max-width: 600px) {
.special-offer-right-block {
	width: 100%;
}
}
.special-offer-descr .special-offer-gift {
    border-radius: 4px;
    border: 2px solid #f00;
    max-height: 130px;
    margin: 10px 0;
 /*    overflow: hidden; */
}		

/* CSS for modal window with special info */
#modal-som-info .container-fluid {
    padding: 0px;
}
#modal-som-info .som-descr {
	padding-left: 15px;
	width: 60%;
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#modal-som-info .som-image {
    float: left;
    width: 40%;
}
#modal-som-info .som-image img {
    width: 100%;
}
#modal-som-info .som-descr h5 {
    color: #ff0000;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 7px;
	margin-top: 0;
}
#modal-som-info .som-descr p {
    line-height: 15px;
    font-size: 13px;
    font-weight: 600;
}	

#modal-som-info .special-offer-gift {
    border-radius: 4px;
    border: 2px solid #f00;
    max-height: 130px;
    margin-top: 10px;
  /*   overflow: hidden; */
	width: 100%;
}
@media (max-width: 600px) {
#modal-som-info .som-image {
    float: left;
    width: 100%;
}
#modal-som-info .som-descr {
    padding-left: 0px;
    width: 100%;
}
#modal-som-info .som-descr h5 {
	margin-top: 7px;
}
}

/* new CSS for dropdown cart */
.dropdown-menu .img-thumbnail {
	min-width: 50px;
}
@media (min-width: 768px) {
#cart .dropdown-menu {
    width: 500px;
}
}

.special-offer-gift .gift-list {
    background: #fff;
	display: flex;
	flex-direction: column;
}
.gift-info-row {
    display: -ms-flexbox;
    display: flex;
    font-size: 13px;
    font-weight: 300;
    position: relative;
    -ms-flex-pack: justify;
    justify-content: space-between;
	border-bottom: 1px solid #ddd;
    padding: 3px 6px;
}

.gift-info-row span:first-child {
    padding-right: 8px;
}
.gift-info-row span:last-child {
    padding-left: 8px;
    position: relative;
    max-width: 50%;
    text-align: right;
    right: 0;
}
.gift-info-row:hover > .hidden-img-gift{
	display: block;
}
.hidden-img-gift{
	border: 1px solid red;
    padding: 5px;
    width: 100px;
    height: 100px;
    position: absolute;
    right: 20px;
    top: -19px;
    z-index: 20;
    background-color: #fff;
	box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.5);
	display: none;
}
.hidden-img-gift img{
	width: 100%;
}
.hidden-img-gift:before,
.hidden-img-gift:after {
	position: absolute;
    top: 20px;
    margin-left: -27px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right: 12px solid #fff;
    content: "";
    display: block;
}
.hidden-img-gift:before {
	border-right: 12px solid red;
    margin-left: -28px;
}

.special-offer-gift .gift-thumb { width:85px; }
.special-offer-gift .gift-info { padding: 0px 6px 0px; min-height: 55px; }
.special-offer-gift .gift-info a { font-size: 12px; }
.special-offer-gift { border-radius: 1px !important; }