/*
	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);
	opacity: 1;
	z-index: 30000;
}
.bg_close{
	width: 100vw;
	height: 100vh;
	background-color: transparent;
	z-index: 0;
}
.bg_fixed *{
	-webkit-transition-duration: 0s; /* Safari */
    transition-duration: 0s;
}
.preloader_text{
	margin-top: 5px;
	color: white;
	font-size: 14px;
	font-weight: bolder;
	font-family: 'Gotham Book';
}
.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: block;
	top: 50%;
	left: 50%;
	max-height: 90vh;
	max-width: 700px;
	height: auto;
	max-width: 100%;
	/*width: 80%;*/
	/*min-width: 310px;*/
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 20px;

    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: 2px solid rgba(165, 0, 52, 0.9);
    color: #838383;
    /*transform: translate(-50%,-50%);*/
    color: #fff;
    transform: translate(-50%,-50%) !important;
    /*background: #838383;*/
    border-radius: 10px;
	overflow-y: scroll;
}
#close_formulario{
	width: 100%;
	display: flex;
	justify-content: end;
	cursor: pointer;
}
#close_formulario img{

	width: 50px;
	position: fixed;
}

.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: 'Arial';
}

.cerrar_redes:hover{
	font-weight: bold;
	color: #333;
}
.popup_txt2{
	font-family: Arial;
    position: relative;
    display: block;
    font-family: 'Gotham Book';
    font-size: 15px;
    text-align: center;
    color: #333;
    top: 50%;
    transform: translate(0%, -50%);
}
.popup_btn1{
	position: relative;
    margin-top: 100%;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: rgba(165, 0, 52, 0.9);
    color: #fff;
    /* border: 1px solid #838383; */
    padding: 9px 5px;
    display: inline-block;
    min-width: 160px;
    /* width: auto; */
    margin-left: 5px;
    margin-right: 5px;
    max-width: 230px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}
.popup_txt{
	font-family: Arial;
	position: relative;
	display: block;
	font-family: 'Gotham Book';
	/*width: 100%;
	height: 70%;*/
	font-size: 15px;
	/*text-align: center;*/
	color: #333;
	/*color: #006737;*/
}
.popup_txt img{
	max-width: 100%;
}
.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{
	width: 100% !important;
	position: relative;
	font-family: 'Gotham Book';
	display: block;
	width: 100%;
	font-size: 15px;
	text-align: center;
	color: #303030;

	align-content: center;
	justify-content: center;
	display: flex;
}
.popup_btns.flex{
	display: flex;
    justify-content: center;
}
.popup_btns.flex .popup_btn, .popup_btns.flex .popup_btn_redes{
	display: flex;
    align-items: center;
    justify-content: center;
}

.popup .txt_pq{
	font-family: Arial;
	font-size: 20px;
	color: #fff;
}
.popup .txt_grande{
	font-family: Arial;
	font-size: 30px;
	color: #ffe69a;
}
.popup .txt_med{
	font-family: Arial;
	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: #006737;
    outline: none;
    border: none;
    background-color: white;
    color: #006737;
    transition:all 0.2s ease-out;
}*/
.popup_btn,.popup_btn_redes{
	margin-top: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(165, 0, 52, 0.9);
    color: #fff;
    /*border: 1px solid #838383;*/
    padding: 9px 5px;
    display: inline-block;
    min-width: 160px;
    width: auto;
    margin-left: 5px;
    margin-right: 5px;
    max-width: 230px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;

    display: flex;
justify-content: center;
align-content: center;
align-items: center;
}

.popup_btn:hover,.popup_btn_redes:hover{
	background: rgba(165, 0, 52, 0.9);
	    /*border: 1px solid #DEE0DF;*/
}

.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(37, 37, 37, 0.5);
}
.preloader_container{
	position: absolute;
	width: 320px;
	height: 100px;
	left: 50%;
	top: 50%;
	margin-left: -160px;
	margin-top: -50px;
	text-align: center;	
	font-family: Arial;
	font-size: 12px;
}
 .error{
    font-size: 14px;
    margin: 5px;
    color: #ffaaaa;

}

.popup input {
    width: 90%;
    padding: 10px;
    margin-top: 10px;
    outline: 0;
    height: 25px;
    border-radius: 5px;
    /*font-size: 30px;*/
	font-size: 18px;
    border: 2px solid #c4c4c4;
    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: 10px;
	}

	.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: 14px;
	}*/

	.popup_btns{
		flex-flow: column;
		align-items: center;
	}

}
@media screen and (max-width: 780px){
	.popup{
		width:80vw;
		padding: 20px;
		/*padding-bottom: 10px;*/
		max-width: 99vw;
	}
	.popup_btns.flex{
	    flex-flow: column;
	    align-items: center;
	}
	#close_formulario img{

	width: 20px;
	
}

}

@media screen and (max-width: 980px){

	.popup_btns{
	width: 100% !important;
	
}
}
