/*
	amarillo: #ffe69a;
	granate: #8c1513;
	granate claro: #a23f28;
	granate bordes: #a41412;
	crema fuerte: #efc767;
	arena: #fef5e4;
	claro: #fcfbf7;
*/
.bg_fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 30000;
}

.bg_fixed * {
	-webkit-transition-duration: 0s;
	/* Safari */
	transition-duration: 0s;
}

.preloader_text {
	margin-top: 5px;
	color: white;
	font-size: 14px;
	font-weight: bolder;
}

.preloader_img img {
	vertical-align: middle;
	background: rgba(255, 255, 255, .95);
	border-radius: 25px;
	padding: 5px;
}

/*.popup{
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	max-width: 100%;
	padding: 20px;
	background-color: #000;
	border-radius: 15px;
	border: 1px solid #3b3b3b; 
	-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
}*/
.popup {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	top: 50%;
	left: 50%;
	width: auto;
	height: 340px;
	/*max-width: 100%;*/
	max-width: 42%;
	/*min-width: 310px;*/
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding: 20px 50px;

	outline: 0;
	-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	border-radius: 0;
	border: 3px solid var(--amarillo);
	color: var(--amarillo);
	/*transform: translate(-50%,-50%);*/
	color: #fff;
	transform: translate(-50%, -50%) !important;
	/*background: var(--amarillo);*/

}

.popup .caja_codigo {
	position: relative;
	width: 100%;
	padding: 10px;
	border: 3px solid var(--amarillo);
	border-radius: 15px;
	font-size: 30px;
	text-align: center;
	margin-top: 10px;
}

.popup a {
	color: #090;
	text-decoration: underline;
}

.popup a:hover {
	color: #333;
}

.img-regalo {
	max-width: 375px;
	max-height: 290px;
	padding: 20px;
}

.popup.redes {
	/*width: 220px;*/
	width: 120px;
	padding-left: 10px;
	padding-right: 10px;
}

.popup_on {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.cerrar_redes {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	margin-top: -15px;
	left: 100%;
	margin-left: -11px;
	text-align: center;
	color: #666;
	font-size: 16px;
	cursor: pointer;
	font-family: 'JosefinSans-Regular';
}

.popup_btn_off {
	position: absolute;
	top: -230px;
	right: -140px;
	font-family: 'JosefinSans-Thin';
	font-weight: 600;
	font-size: 25px;
	color: var(--black) !important;
	margin: 0;
	background: white !important;
	min-width: 0 !important;
	width: auto !important;
	padding: 0 !important;
}

.cerrar_redes:hover {
	font-weight: bold;
	color: #333;
}

.popup_txt {
	font-family: 'JosefinSans-Italic';
	font-weight: 900;
	position: relative;
	display: block;
	/*width: 100%;
	height: 70%;*/
	font-size: 24px;
	text-align: center;
	color: #000;
	/*color: var(--amarillo);*/
}

.popup .big,
.popup .popup_txt .big {
	font-size: 40px;
	font-weight: bold;
}

.popup .big2,
.popup .popup_txt .big2 {
	font-size: 25px;
	font-weight: bold;
}

.popup .pq {
	font-size: 14px;
}

.popup_btns {
	position: relative;
	display: block;
	width: 56%;
	/* height: 30%; */
	font-size: 16px;
	text-align: center;
	color: #303030;
}

.popup .txt_pq {
	font-family: 'JosefinSans-Regular';
	font-size: 20px;
	color: #fff;
}

.popup .txt_grande {
	font-family: 'JosefinSans-Regular';
	font-size: 30px;
	color: #ffe69a;
}

.popup .txt_med {
	font-family: 'JosefinSans-Regular';
	font-size: 25px;
	color: #ffe69a;
}

/*.popup_btn,.popup_btn_redes{
	position: relative;
	
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	 margin:10px auto;
	 -webkit-box-align: center;
		 -ms-flex-align: center;
			 align-items: center;
	 -webkit-box-pack: center;
		 -ms-flex-pack: center;
			 justify-content: center;
	cursor: pointer;
	height: 30px;
	
	width: 39%;
	max-width: 140px;
	
	min-width: 100px;
	background-color: #f3a401;
	color: #fff;
	font-size: 15px;
	font-family: Arial;
	text-align: center;
	border-radius: 10px;
	font-weight: bold;

	top:0;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--amarillo);
    outline: none;
    border: none;
    background-color: white;
    color: var(--amarillo);
    transition:all 0.2s ease-out;
}*/
.popup_btn,
.popup_btn_redes {
	margin-top: 10px;
	text-decoration: none;
	color: #fff;
	background: var(--black);
	color: #fff;
	border: 2px solid var(--amarillo);
	padding: 9px 5px;
	display: inline-block;
	min-width: 160px;
	width: 100%;
	/* margin-left: 5px; */
	/* margin-right: 5px; */
	/* max-width: 230px; */
	text-align: center;
	cursor: pointer;
	margin-top: 10px;
	padding: 16px 15px;
	font-family: 'JosefinSans-Regular';
}

.popup_btn:hover,
.popup_btn_redes:hover {
	/* background: #090;
	border: 1px solid #090; */
}

.preloader {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 10000000000000;
	/*background-color: rgba(255,255,255,0.5);*/
	background-color: rgba(7, 88, 57, .5);
}

.preloader_container {
	position: absolute;
	width: 320px;
	height: 100px;
	left: 50%;
	top: 50%;
	margin-left: -160px;
	margin-top: -50px;
	text-align: center;
	font-family: 'JosefinSans-Regular';
	font-size: 12px;
}

.error {
	font-size: 14px;
	margin: 5px;
	color: #ffaaaa;

}

.popup input {
	width: 56%;
	padding: 10px;
	font-size: 14px;
	margin-top: 30px;
	margin-bottom: 20px;
	outline: 0;
	height: 35px;
	font-size: 30px;
	border: 1px solid #000000;
	text-align: center;
}

.popup_dev .popup_txt {
	text-align: left;
	color: #ffaaaa;
}

.popup_dev .alerta {
	color: #732525;
}


@media screen and (max-width: 1024px) and (orientation: landscape) {
	.bg_fixed {
		overflow: auto;
	}

	.popup .big,
	.popup .popup_txt .big {
		font-size: 30px;
	}

	.popup .big2,
	.popup .popup_txt .big2 {
		font-size: 3vw;
	}

	.popup .pq {
		font-size: 12px;
	}

	.img-regalo {
		max-width: 100%;
	}

	.popup_txt {
		font-size: 14px;
	}

}


@media screen and (max-width: 800px) and (orientation: portrait) {
	.popup {
		padding: 15px;
		width: 80%;
		max-width: 100%;
		height: 420px;
	}

	.popup_txt h4 {

		right: 0 !important;

	}

	.popup .big,
	.popup .popup_txt .big {
		font-size: 7vw;
	}

	.popup .big2,
	.popup .popup_txt .big2 {
		font-size: 5vw;
	}

	.popup .pq {
		font-size: 12px;
	}

	.img-regalo {
		max-width: 100%;
	}

	.popup_txt {
		font-size: 16px;
	}
.popup_btn_off {
	
	top: -290px;
	right: -50px;
	
}
}