

#offers_container {
	max-width: 1320px;
	margin: 0 auto;
}

#offers_container>.wrapper {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    justify-content: center;
    height: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.offer_item {
	width: 23%;
    margin: 0 1%;
    padding: 1.8rem;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 3px 15px rgba(87,107,157,.15);
    border-radius: 10px;
    background-color: #fff;

    margin-bottom: 1rem;
}

.offer_link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
}

.offer_img {
    justify-content: center;
    justify-items: center;
    justify-self: center;
    display: flex;
    width: 100%;
    height: 4rem;
    display: flex;
    flex-wrap: wrap;
	align-items: center;
    order: 1;
}

.offer_img img {
    width: 100%;
	height: fit-content;
	max-height: 100%;
    vertical-align: middle;
    margin: 0 auto;
    border-style: none;
	margin: 0 auto;
}

.offer_text {
	order: 2;
    background: #f0e3f6;
    line-height: 1;
    letter-spacing: 0px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 0.2rem 0.75rem;
    margin: 0.25rem auto 0;
    color: #44065b;
}

.offer_sum {
	font-size: 2rem;
    line-height: 1;
    order: 3;
    color: #000;
    margin-top: 1.5rem;
}

.offer_sum .offer_ruble_icon {
	font-weight: 600;
    font-size: 1.5rem;
}

.offer_item .offer_btn  {
    color: #ffffff;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    border: none;
    padding: 0px 5px;
	margin-top: 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 400;
    transition: 0.5s;
    height: 50px;
    line-height: 50px;
    background: rgb(68,6,91);
	background: linear-gradient(8deg, rgba(41,2,91,1) 0%, rgba(114,14,150,1) 100%);
	box-shadow: 0px 17px 43px 1px rgba(68,6,91, 0.356);
	order: 4;
}

.offer_item .offer_btn_mobile {
	display: none;
}

.showcase_title {
	    font-weight: 100;
    font-size: 2rem;
    width: 100%;
    text-align: center;
    padding-top: 2rem;
}

.podzagolovok_up {
	font-weight: 700;
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
}

/*POPUP*/

.offer_popup {
    position: fixed;
    z-index: 0;
    opacity: 0;
    transition: all 0.2s;
    bottom: -100%;
}

.offer_popup {
    width: 18%;
    right: -18%;
    bottom: 0%;
    max-width: 266px;
    position: fixed;
    opacity: 0;
    transition: all .7s;
    animation: shadow-pulse 1s infinite;
}
/* {*/
.offer_popup.active {
    right: 2%;
    bottom: 2%;
    opacity: 1;
    z-index: 10000;
}
/* {*/
.offer_popup.active {
    width: 98%;
    max-width: 480px;
    right: 1%;
    bottom: 1%;
    transition: all 0.7s;
    animation: shadow-pulse 3s infinite;
    border-radius: 10px;
    opacity: 1;
}

.offer_popup .offer_item {
    width: 100%;
    padding: 1.8rem;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 3px 15px rgba(87,107,157,.15);
    border-radius: 10px;
    background-color: #fff;
	border: 6px outset #e0c8ea;
}

.offer_popup .offer_item a.offer_link .offer_line_2 {
	font-size: 1rem;
    line-height: 1;
    padding-top: 0.2em;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
    order: 1;
}

.offer_popup .offer_item a.offer_link .offer_sum {
    background: #f0e3f6;
    margin: 1rem auto;
    border-radius: 10px;
    padding: 0 1rem;
    font-weight: 100;
    font-size: 2.5rem;
}

.offer_popup .offer_item a.offer_link .offer_snoska {
    font-size: 0.7em;
    font-weight: 400;
    color: #555;
    text-align: center;
    text-transform: uppercase;
    order: 4;
}

.offer_popup .offer_item a.offer_link .offer_img {
    order: 3;
    margin-top: 0.7em;
    padding-bottom: 0;
}

.offer_popup .offer_item a.offer_link .offer_img img {
	height: auto;
	
	display: block;
}

.offer_popup_close {
    display: block;
    width: 2.5rem;
    position: absolute;
    top: 3px;
    right: 3px;
}


.offer_popup_close img {
    width: 100%;
    opacity: 0.6;
}



@keyframes heart_pulse {
  0% {
    transform: scale(1); /* scaling to 0 */
  }
  50% {
    transform: scale(0.9); /* increasing the size */
  }

  100% {
    transform: scale(1); /* seeting back to initial size */
  }
}

@keyframes shadow-pulse{
	0%{box-shadow:0 0 0 0 rgba(114,14,150,1)}
	50%{box-shadow:0 0 1.5rem 1.5rem rgba(114,14,150, 0.5)}
	to{box-shadow:0 0 1rem 3rem transparent}
}

@media (max-width: 667px) {
	.offer_item .offer_btn_desctop {
		display: none;
	}
	.offer_item .offer_btn_mobile {
		display: block;
	}
	
	.offer_item {
		width: 48%;
		padding: 1rem 0.35rem;
	}
	#offers_container>.wrapper {
		padding-left: 4px;
		padding-right: 4px;
	}
	
	.showcase_title {
		line-height: 1;
		font-size: 1.5rem;
		text-align: left;
		padding-left: 1rem;
		padding-right: 1rem;
		padding-bottom: 1rem;
	}
	
	.podzagolovok_up {
		padding-left: 1rem;
		padding-right: 1rem;
		text-align: left;
		line-height: 1.3;
		font-weight: 600;
	}
	.podzagolovok_up .pp {
		background:#f0e3f6;
	}
	
	.offer_popup .offer_item a.offer_link .offer_sum {
		margin-bottom: 0;
	}
	
	.offer_popup {
		right: 1%;
		width: 98%;
	}
	
	.body_cpa .footer_text_1,
	.body_cpa .footer-bottom-area {
		display: none!important;
	}
	
	.footer-top-link.text-end {
		text-align: left!important;
	}
	
}

@media (max-width: 667px) {
	
}