
/*####################################################
##													##
## PARRILLACERO5    								##
## 													##
## GLOBAL.CSS		    							##
## 													##
## 													##
## Estilo CSS										##
## Estilos globales backend / frontend  		    ##
##													##
##													##
####################################################*/

@charset "utf-8";

/*** BODY ***/

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/*** ELEMENTOS OCULTOS ***/

.hide,
.d-none {
    display: none;
}

.hidden
.v-hidden {
    visibility: hidden;
}

/*** MÁRGENES ***/

.ma,
.margin-auto {
    margin: auto;
}

.mt-15,
.margin-top-15 {
	margin-top: 15px;
}

.mt-25,
.margin-top-25 {
	margin-top: 25px;
}

.mt-35 {
	margin-top: 35px;
}

.mb-15,
.margin-bottom-15 {
	margin-bottom: 15px;
}

.mb-25,
.margin-bottom-25 {
	margin-bottom: 25px;
}

.mb-35 {
    margin-bottom: 35px;
}

.my-25 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.my-25 {
    margin-top: 35px;
    margin-bottom: 35px;
}

.my-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}

/*** ANCHOS ***/

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.max-1280 {
    max-width: 1280px;
}

.max-1024 {
    max-width: 1024px;
}

.max-500 {
    max-width: 500px;
}

/*** PADDINGS ***/

.px-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.px-25 {
    padding-left: 25px;
    padding-right: 25px;
}

.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.py-25 {
    padding-top: 25px;
    padding-bottom: 25px;
}

.p-10,
.padding-10 {
    padding: 10px;
}

.p-15,
.padding-15 {
    padding: 15px;
}

.p-25,
.padding-25 {
    padding: 25px;
}

/*** ALINEACIONES DE TEXTO ***/

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/*** COLORES ***/

.green {
	color: #39A275;
}

.grey {
	color: #BDBDBD;
}

.red {
    color: #e74c3c;
}

/*** DISPLAY ***/

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block !important;
}

/*** GRID ***/

.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-autofit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 25px;
}

.grid-autofill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    row-gap: 25px;
}

.gap-25 {
    gap: 25px;
}

/*** FLOATS ***/

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear {
    clear: both;
}

/*** TEXTOS ***/

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

/*** OVERLAY ***/

.overlay {
    background: rgba(255, 255, 255, 0.8);
}

/*** POSICIONAMIENTOS ***/

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
    top: 0;
}

.align-center {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/*** POSICIÓN ABSOLUTA DE DIVS ***/

.div-center {
	margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/*** ÍCONO DE CARGA ***/

.loading {
	margin: auto;
	width: 40px;
	height: 40px;
	background: url('../../images/loading.svg') no-repeat center left;
	background-size: contain;
	vertical-align: middle;
	display: none;
}

/*** ESTILOS DE INTERFAZ ***/

.body-overlay,
.loading-overlay,
.overlay {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

.loading-overlay {
	background-color: rgba(255, 255, 255, 0.8);
	z-index: 9;
}

	.loading-overlay .loading {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

/*** IMÁGENES REDONDEADAS ***/

.round-image {
    border-radius: 50%;
    overflow: hidden;
}

    .round-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

/*** BOTÓN 'ATRÁS' ***/

.back {
    font-size: 2.5em;
    cursor: pointer;
}

/*** AYUDA ***/

.help {
    width: 20px;
    height: 20px;
    font-size: 18px;
    font-family: 'Font Awesome 5 Pro';
    color: #888;
    cursor: help;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    position: relative;
    top: 0;
    left: 1px;
}

	.help:before {
		padding: 0 2px;
		content: "\f059";
	}

	.help:hover {
		color: #999;
	}

/*** RESOLUCIÓN INCOMPATIBLE **/

#incompatible {
    height: 100vh;
    padding: 15px;
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    align-items: center;
}

    #incompatible h3 {
        margin-bottom: 25px;
    }
