/*
	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(255, 255, 255, 0.5);
    z-index: 10000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.preloader_text {
    /*margin-top: 5px;*/
    color: var(--c1-dark);
    font-size: 13px;
    font-weight: normal;
}

.preloader_img {
    overflow: hidden;
    width: 80px;
    height: 80px;
    display: flex;
}

.preloader_img img {
    vertical-align: middle;
    /*background: rgba(255,255,255,.95);*/
    border-radius: 25px;
    padding: 5px;
    filter: brightness(.25);
    width: 180px;
    transform: scale(3.5);
    max-width: unset;
}


/*.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%; */
    width: auto;
    height: auto;
    /*max-width: 100%;*/
    max-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: 1px solid var(--c1-dark);
    color: #000;
    /*transform: translate(-50%,-50%);*/
    color: #fff;
    /* transform: translate(-50%, -50%) !important; */
    /*background: #838383;*/
    border-radius: var(--border-radius);
}

.popup.big {
    width: 90vw;
    height: 90vh;
    max-width: 400px;
    max-height: 600px;
}

.popup.transparent {
    background: transparent;
    border: none;
    background: radial-gradient(white, rgba(255, 255, 255, .5), transparent, transparent);
    padding: 100px;
}

.popup.transparent p:not(.counter),
.popup.transparent h2 {
    -webkit-text-stroke: 1px black;
}

.popup_txt .counter {
    text-shadow: 10px 10px 10px rgb(0 0 0 / 50%);
}

.popup.bigpopup {
    overflow: scroll;
    height: auto;
    width: 90vw;
    /* padding: 0px; */
    max-height: 90vh;
    /* padding-top: 0px; */
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup a {
    color: var(--c2-dark2);
    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_txt {
    /*font-family: Arial;*/
    position: relative;
    display: block;
    /*font-family: 'Gotham Book';*/
    /*width: 100%;
	height: 70%;*/
    font-size: 14px;
    text-align: center;
    color: #333;
    /*color: #006737;*/
}

.popup_txt.grid {}

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

.popup_txt .jcrop-selection img {
    max-width: unset !important;
}

.popup_txt.grid img {
    width: 20%;
    margin: 5px;
    border: 1px solid;
    border-radius: 0.25rem;
    overflow: hidden;
}

.popup_txt img.pq {
    width: 100px;
    margin-bottom: -10px;
}

.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 .big3,
.popup .popup_txt .big3 {
    font-size: 125px;
    font-weight: bold;
}

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

.popup_btns {
    position: relative;
    /*font-family: 'Gotham Book';*/
    display: block;
    /*width: 100%;
	height: 30%;*/
    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 {
    margin-top: 10px;
    text-decoration: none;
    color: #fff;
    background: var(--black);
    color: #fff;
    /*border: 1px solid #838383;*/
    padding: 9px 10px;
    display: inline-block;
    min-width: 160px;
    width: auto;
    margin-left: 5px;
    margin-right: 5px;
    max-width: 230px;
    border-radius: var(--border-radius-pq);
    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: var(--c1-medium);
    /*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(7, 88, 57,.5);*/
}

.preloader_container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* text-align: center; */
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error {
    font-size: 14px;
    margin: 5px;
    color: var(--c-error);
}

.popup input:not(.filePicker) {
    width: 90%;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
    outline: 0;
    height: 25px;
    border-radius: var(--border-radius-pq);
    font-size: 30px;
    border: 2px solid #c4c4c4;
    text-align: center;
}

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

.cierra_x {}

.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;
        position: relative;
    }
    .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;
    }
}