#templatefull {
    grid-template-columns: repeat(1, auto);
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas:
    "head"
    "main"
    "footer";
    margin-bottom: 0rem;
}

#templatemid1, #templatemid2 {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    grid-template-areas:
    "head head"
    "main main"
    "footer footer";
    margin-bottom: 0rem;
}

#templatemid1 {
    grid-template-columns: 50% auto;
}
#templatemid2 {
    grid-template-columns: 33% auto;
}

#contformulario {
    display: grid;
    width: 100%;
}

#contformulario #botonera {
    display: flex;
    justify-content: space-between;
}

#contformulario #botonera button {
    width: calc(100% - 2rem);
    margin: 0 1rem 0 1rem;
}

#contformfull, #contformmid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contformfull #filtros3, #contformfull #filtros2 {
    width: 33%;
    display: flex;
    padding-bottom: 1rem;
    justify-content: space-around;
}

#contformfull #filtros2 {
    width: 50%;
}

#contformmid p {
    width: 50%;
    padding-bottom: 1rem;
    text-align: center;
}

#contformmid input[type=number], #contformmid input[type=text],
#contformmid input[type=date], #contformmid select {
    width: 50%;
    margin: 0 1rem 1rem 1rem;
}

#contformfull input[type=number], #contformfull input[type=text], 
#contformfull input[type=date], #contformfull select {
    width: 100%;
    margin: 0 1rem 0 1rem;
    margin-bottom: 1rem;
}

/*
.input-full, .select-full, .button-full {
    width: 100%;
}
.input-mid3, .select-mid3, .button-mid3 {
    width: 75%;
}
.input-mid2, .select-mid2, .button-mid2 {
    width: 50%;
}
.input-mid1, .select-mid1, .button-mid1 {
    width: 25%;
}
*/

/* ----------------------------------------------------------------- */

.maintabs, .maintabsM {
	display: inline-block;
    width: 100%;
    height: fit-content;
    margin: 0;
    padding: 0rem;
}

.maintabs div, .maintabsM div {
    width: fit-content;
	margin-right: -4px; /* Espacio entre hojas */
	cursor: pointer;
}

.sheet {
    font-family: 'VolkswagenSerial';
    font-size: 22px;
    line-height: 32px;
    background-color: #FFFFFF;
    display: inline-block;
    height: 2.2rem;
    padding: 0 1rem;
    margin-bottom: -3px;
    margin-right: 2px;
    border-radius: 10px 10px 0 0;
    border: 1px solid #33669950;
    text-decoration: none;
    cursor: pointer;
}

.maintabs .active {
    background-color: #4CAF50 !important;
    border: 2px solid #33669980;
    border-bottom: none;
}

[data-content] {
	display: none;
    width: 100%;
    height: fit-content;
    padding: 1rem 2rem;
    border: 2px solid #33669980;
}

[data-content] input[type=number], [data-content] input[type=text], 
[data-content] input[type=date], [data-content] select {
    display: inline-block;
    width: 100%;
}

.active[data-content] {
	display: block;
}

.maintabsM .active {
    border: 2px solid #33669980;
    border-bottom: none;
}

.criterioleyenda {
    display: inline-block;
    width: 50%;
    margin: 5px;
}

.criterioleyenda p {
    font-size: 2rem;
}

.maintabsM #sheet1, #criterioleyenda1 {
    background-color: #ff00ff !important;
}
.maintabsM #sheet2, #criterioleyenda2 {
    background-color: #00ff00 !important;
}
.maintabsM #sheet3, #criterioleyenda3 {
    background-color: #ff0000 !important;
}
.maintabsM #sheet4, #criterioleyenda4 {
    background-color: #00ffff !important;
}

.contentsM #opcion1 input[type=text] {
    background-color: #ff00ff40 !important;
    border: 1px solid #ff00ff !important;
}
.contentsM #opcion2 input[type=text] {
    background-color: #00ff0040 !important;
    border: 1px solid #00ff00 !important;
}
.contentsM #opcion3 input[type=text] {
    background-color: #ff000040 !important;
    border: 1px solid #ff0000 !important;
}
.contentsM #opcion4 input[type=text] {
    background-color: #00ffff40 !important;
    border: 1px solid #00ffff !important;
}


.cm-toggle {
	appearance: none;
    -webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	border: 0;
	outline: 0;
	cursor: pointer;
}

.cm-toggle:after {
	content: '';
	width: 60px;
	height: 30px;
	display: inline-block;
	background: rgba(255, 0, 0, 0.9);
	border-radius: 20px;
	clear: both;
}

.cm-toggle:before {
	content: '';
	width: 30px;
	height: 30px;
	display: block;
	position: absolute;
	left: 0;
	/* top: -2px; */
	border-radius: 50%;
	background: #c3c3c380;
	box-shadow: 1px 1px 3px #00000099;
}

.cm-toggle:checked:before {
	left: 30px;
	box-shadow: -1px 1px 3px #00000099;
}

.cm-toggle:checked:after {
	background: #4CAF50;
}

.cm-toggle,
.cm-toggle:before,
.cm-toggle:after,
.cm-toggle:checked:before,
.cm-toggle:checked:after {
	transition: ease .3s;
	-webkit-transition: ease .3s;
	-moz-transition: ease .3s;
	-o-transition: ease .3s;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container p {
    padding: 0.5rem 1rem 0.5rem 1rem;
}

.disable-div {
    pointer-events: none;
}

.displayh-div {
    display: none;
}

.conteFlex {
    margin: 2px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.conteFlex span:hover {
    cursor: pointer;
    background-color: #00000090;
    color: #FFFFFF;
}
.conteFlex label:hover {
    cursor: pointer;
}
.conteFlex span {
    background-color: #00000020;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    padding: 2px 0px;
}

.noCliclabel{
    pointer-events: none;
}

input[type="radio"] {
    position: absolute;            
    display: none;
    cursor: pointer;
}

.checkenRepuesta {
    color: #000000;
    background-color: #4CAF50 !important;
}

.progress-bar {
    background-color: #4CAF50 !important;
    background-image: none;
    border-radius: 10px;
    font-family: 'VolkswagenBold';
    font-size: 1rem;
}
.progress {
    margin-bottom: 10px;
    background-color: #00000020 !important;
    border-radius: 10px;
    display: flex;
    text-align: center;
}


/* ----------------------------------------------------------------- */
/* #mostrarmodal {
    margin-top: -15px;
}

#cerrarmodal {
    margin-top: 5px;
} */

.modalVE {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.modalVE.active {
    visibility: visible;
}

.popup {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 15px 15px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 1rem;
    width: 50%;
}

.popup h3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup #cerrarmodal {
    position: fixed;
    padding-left: 46%;
    padding-top: 0px;
}

/* ----------------------------------------------------------------- */


@media screen and (max-width: 1366px) {
	nav {
		width: 100%;
		font-size: 16px;
	}
    .criterioleyenda p {
        font-size: 1.2rem;
    }

    .divfg01 input[type=number] {
        background-color: #33669920;
        color: #000000 !important;
        height: 4rem;
        margin: 0px;
        margin-bottom: 1rem;
        padding: 1rem;
        font-family: 'VolkswagenSerial';
        font-size: 16px;
        border: none;
        border-bottom: 1px solid #00000050;
        border-radius: 15px;
        box-sizing: border-box;
        outline: none;
    }

    .divfg01 input[type=number]:hover, .divfg01 input[type=number]:focus {
        border: none;
        border-bottom: 1px solid #000000;
    }

}

@media screen and (max-width: 1150px) {
	nav {
		width: 100%;
		font-size: 16px;
	}
    .criterioleyenda p {
        font-size: 1.2rem;
    }

    .divfg01 input[type=number] {
        background-color: #33669920;
        color: #000000 !important;
        height: 4rem;
        margin: 0px;
        margin-bottom: 1rem;
        padding: 1rem;
        font-family: 'VolkswagenSerial';
        font-size: 16px;
        border: none;
        border-bottom: 1px solid #00000050;
        border-radius: 15px;
        box-sizing: border-box;
        outline: none;
    }

    .divfg01 input[type=number]:hover, .divfg01 input[type=number]:focus {
        border: none;
        border-bottom: 1px solid #000000;
    }

}

@media screen and (max-width: 1000px) {
    nav {
		width: 100%;
		font-size: 16px;
	}
    .criterioleyenda p {
        font-size: 1.2rem;
    }

    .divfg01 input[type=number] {
        background-color: #33669920;
        color: #000000 !important;
        height: 4rem;
        margin: 0px;
        margin-bottom: 1rem;
        padding: 1rem;
        font-family: 'VolkswagenSerial';
        font-size: 16px;
        border: none;
        border-bottom: 1px solid #00000050;
        border-radius: 15px;
        box-sizing: border-box;
        outline: none;
    }

    .divfg01 input[type=number]:hover, .divfg01 input[type=number]:focus {
        border: none;
        border-bottom: 1px solid #000000;
    }

}
