/* @override http://8teenboy.localhost/assets/css/popupoverlay.css */

/* @override http://8teenboy.localhost/assets/css/popupoverlay.css */

/* Custom Styles for Popovers */


.popup-overlay{
	opacity: 0; visibility: hidden;
	border: 1px solid rgba(255, 255, 255, 0.67);
}

.popup-x-button {
	position: absolute; 
    top:0px; 
    right:0px; 
    border: 0; 
    cursor:pointer; 
    width:1.5rem;  
    height: 1.5rem; 
    font-size: 1.5rem; 
    line-height: 0; 
    padding: 0px!important;
    text-align: center;
    vertical-align: middle; 
    color: #ebebeb;
    background: rgba(0,0,0,0.3);
}
.popup-x-button:hover{
	color: #ffffff;
}

.popup-overlay-content {
	color: #000;
}

/* popup background */
.popup_wrapper{
	background-color: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: saturate(180%) blur(5px) ;
    backdrop-filter: saturate(180%) blur(5px)   
}

/* Feature Overlay */
#feature-overlay {
	max-width: 925px;
	_height: 500px;
	background-color: #000000;
	color: #fff;
	opacity: 0; 
	visibility: hidden;
	display: none;
	z-index: 1000;
	overflow: hidden;
	-webkit-transform: scale(0.8) translateY(50px);
	-moz-transform: scale(0.8) translateY(50px);
	-ms-transform: scale(0.8) translateY(50px);
	transform: scale(0.8) translateY(50px);
	-webkit-transition: transform 0.5s ease-in;
	-moz-transition: transform 0.5s ease-in;
	-ms-transition: transform 0.5s ease-in;
	transition: transform 0.5s ease-in;
	
	box-shadow: 0 5px 30px 0 rgba(0,0,0,.4);
	margin-right: 20px;
	margin-left: 20px;
}

.popup_visible #feature-overlay{
  -webkit-transform: scale(1) translateY(0px);
  -moz-transform: scale(1) translateY(0px);
  -ms-transform: scale(1) translateY(0px);
  transform: scale(1) translateY(0px);
}

#feature-overlay-button {
	width: 45px;
	height: 370px;
	position: fixed;
	top: 30%;
	right: 0px;
	color: #fff;
	display: none;
	z-index: 1000;
	overflow: hidden;
}
#feature-overlay-button .horizontal-button{
	display:  none;
}
#feature-overlay-button .vertical-button{
	display:  block;
}


#feature-overlay .horizontal-overlay{
	display:  none;
}
#feature-overlay .vertical-overlay{
	display:  block;
}

a.right-email-card:link {
	position: fixed;
	top: 605px;
	right: -107px;
	background: linear-gradient(#D8DCDB,#a2a2a2  , #D8DCDB, #a2a2a2 , #D8DCDB);
	background-color: #ED9C41;
	color: #172D05;
	padding:9px 15px;
	-ms-transform: rotate(-90deg); /* IE 9 */
	-webkit-transform: rotate(-90deg); /* Safari */
	transform: rotate(-90deg);
	font-size: 22px;
	text-transform: uppercase;
	font-weight: bold;
	cursor: pointer;
	display: inline-block;
	z-index: 5;
}

a.right-email-card:hover {
	color: #172D05;
}

div#feature-overlay-button.btn-reposition {
	top: 115px;
}

@media screen and (max-height: 780px) {
	div#feature-overlay-button.btn-reposition {
		top: 60px;
	}
	a.right-email-card:link {
		top: 555px;
	}
}

@media screen and (max-height: 710px) {
	div#feature-overlay-button.btn-reposition {
		top: 25px;
	}
	a.right-email-card:link {
		top: 520px;
	}
}


@media screen and (max-width: 48em) {

	#feature-overlay-button .horizontal-button{
		display:  block;
	}
	#feature-overlay-button .vertical-button{
		display:  none;
	}

	#feature-overlay .horizontal-overlay{
		display:  block;
	}
	#feature-overlay .vertical-overlay{
		display:  none;
	}
	
	#feature-overlay-button {
		width: 100%;
		height: auto;
		position: fixed;
		bottom: 0;
		top: auto;
		text-align: center;
		display: none;
		z-index: 1000;
		overflow: hidden;
	}
	
	#feature-overlay-button img{
		max-width: 90%; 
		height: auto;
	}
}