html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

.coupon-wrapper{
	margin-left:5%;
	width:95%;
	background:white;
	border:2px solid #27584D;
	display:flex;
	border-radius:15px;
	filter: drop-shadow(3px 3px 4px rgba(0,0,0,.3));
	margin-bottom:10px;
}

.hot-coupon{
	border:3px solid #F23700;
}

.hot-coupon:after{
	position:absolute;
	content: "";
	display: block;
	width: 35px;
	height: 35px;
	right:0px;
	transform:translate(15px,-10px);
	background:url('https://www.showmeadeal.com/wp-content/uploads/2022/08/hot-coupon-icon.png');
	background-size:cover;
}

.hot-coupon:after img{
	width:10%;
}


.coupon-wrap-left{
	width:160px;
	display:flex;
}

.coupon-wrap-left h3{
	display:flex;
	margin:20px 20px 10px 20px;
	padding:20px 10px 20px 10px;
	text-align:center;
	border-radius:15px;
	width:120px;
	height:120px;
	color:white;
	background: linear-gradient(#1F5B4D, #0D382E);
	font-size:36px;
	line-height:42px;
	align-items: center;
}

.hot-coupon .coupon-wrap-left h3{
	background: linear-gradient(#FF7F00, #E80000);
}

.coupon-wrap-center{
	width:calc(100% - 395px);
}

.coupon-wrap-center h3{
	font-size:36px;
	line-height:32px;
	margin:20px 0px 0px 0px;
}

.coupon-wrap-right{
	width:255px;
	display:flex;
	align-items:center;
	justify-content:center;
	flex-wrap:none;
	flex-direction:column;
}

.expired-hide{
	display:none;
}

.coupon-button{
	margin-top:20px;
	margin-bottom:10px;
	width:215px;
	color:white;
	background: linear-gradient(#1F5B4D, #0D382E);
	text-align:center;
	padding:12px;
	border-radius:15px;
	font-size:28px;
	cursor:pointer;
	text-transform:uppercase;
}

.coupon-button:hover{
	background: #0D382E;
}

.hot-coupon .coupon-button{
	background: linear-gradient(#FF7F00, #E80000);
}


.coupon-wrap-right p{
	margin:1px 0px;
	text-align:center;
	font-size:.75rem;
}

.popupbox-wrapper{
	z-index:69;
	position:absolute;
	width:100vw;
	height:100vh;
	top: 0px;
	left: 50%;
	transform: translateX(-50%) translateY(0%);
	background:rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popupbox-main{
	width: 70%;
	background: white;
	max-width: 900px;
	max-height: 500px;
    border-radius: 15px;
    border: 2px solid green;
    padding: 15px;
}

.popupbox-topwrap{
	display:flex;
}

#popup-image-wrap{
	height:160px;
	width:160px;
	background:#0D382E;
	background-size:contain;
	border-radius:15px;
	background-position: center;
	background-repeat: no-repeat;
}

.popup-center-wrap{
	width:calc(100% - 200px);
}

.popup-center-wrap h3{
	font-size:36px;
	line-height:33px;
	margin:0px 0px 0px 20px;
}

.popupbox-topwrap h2{
	margin:0 10px;
	cursor:pointer;
}

.popupbox-copycode-wrap{
	width: 400px;
	border: 1px dotted #0D382E;
	display: flex;
	border-radius:10px;
	overflow:hidden;
	margin:25px 20px;
}

.nocoupon{
	display:none;
}

.popupbox-copycode-wrap h4{
    margin: 10px;
    font-size: 24px;
    width: calc(100% - 150px);
}

.popupbox-copycode-btn{
	background:#333335;
	color:white;
	font-size:28px;
	width:150px;
	text-align:center;
	padding-top:5px;
	cursor:pointer;
}

.popupbox-bottomwrap{
	display:flex;
	align-items:center;
	justify-content:center;
}

.popup-showme-logo{
	width:200px;
	height:30px;
	background:blue;
	margin-left:25px;
}

.popup-showme-logo img{
	width:100%;
}

#tracking-popup {
    position: fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
    background: rgba(0,0,0,.3);
    z-index: 99999;
    display: none; 
}

.inner-tracking-popup{
    position: absolute;
    bottom: 20px;
    right: 20px;
	width: 300px;
	padding: 20px;
	border: 1px solid #ccc;
	background: linear-gradient(#1F5B4D, #0D382E);
	color:white;
}

#tracking-popup button {
    margin: 5px 5px 0 0;
}


@media screen and (max-width: 1150px) {
	.coupon-wrap-center h3{
		font-size:24px;
	}
	.coupon-button{
		width:185px;
		padding:8px;
		font-size:20px;
	}
}

@media screen and (max-width: 999px) {
	.custom-coupon-column{
		flex-direction:column-reverse;
	}
	.coupon-wrapper{
		margin-right:5%;
		width:90%;
	}
	.popupbox-copycode-wrap{
		width:330px;
		margin:15px 20px;
	}
	.popupbox-copycode-wrap h4{
		font-size:18px;
	}
}

@media screen and (max-width: 790px) {
	
	.hot-coupon:after{
		position:absolute;
		content: "";
		display: block;
		width: 0px;
		height: 0px;
		right:0px;
		transform:translate(15px,-10px);
		background:url('https://www.showmeadeal.com/wp-content/uploads/2022/08/hot-coupon-icon.png');
		background-size:cover;
		display:none;
	}
	
	.popup-showme-logo{
		display:none;
	}

	.popupbox-main{
		width:95%;
	}
	.coupon-wrapper{
		flex-wrap:wrap;
	}
	.coupon-wrap-center h3{
		font-size:18px;
		margin-top:5px;
	}
	.coupon-wrap-center p{
		font-size:12px;
		margin:0px;
	}
	.coupon-button{
		width:135px;
		padding:4px;
		font-size:16px;
		margin-top:10px;
		margin:5px;
	}
	.coupon-wrap-left{
		width:90px;
	}
	.coupon-wrap-left h3{
		margin: 5px 5px 0px 5px;
		padding: 0px 5px 5px 5px;
		font-size: 16px;
		line-height: 18px;
		width: 70px;
		height: 70px;
	}
	.coupon-wrap-center{
		width:calc(100% - 90px);
	}
	.coupon-wrap-right{
		width:100%;
		flex-direction:row-reverse;
	}
	.coupon-wrap-right p{
		font-size:7px;
		padding:0px 5px;
	}
	.popup-center-wrap{
		width:calc(100% - 120px);
	}
	.popup-center-wrap h3{
		font-size:16px;
		line-height:16px;
	}
	.popupbox-copycode-wrap{
		width:180px;
		margin:10px 10px;
	}
	.popupbox-copycode-wrap h4{
		line-height:22px;
		font-size:11px;
		margin:4px 3px;
		width: calc(100% - 80px);
	}
	.popupbox-copycode-btn{
		font-size:16px;
		width:80px;
		padding-top:1px
	}
	#popup-image-wrap{
		width:80px;
		height:80px;
	}
}