:root {
    --colorDatos: rgb(241, 229, 171);
    --colorResumen: rgb(247, 236, 139);
    --colorListas: rgb(247, 236, 139);
    --colorCarrito: rgb(247, 236, 139);
}

html {
    font-size: 62.5%;
    /* Equivalente a 10px: El 62.5% de l6px = 10px */
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background: url("../resources/images/fondo-azul.jpg");
}

.contenedor {
    max-width: 120rem;
    width: 95%;
    margin: 0 auto;
    font-family: "Adamina";
}

@media (min-width: 1200px) {
    .contenedor {
        max-width: 100%;
    }
}

.contenedor-principal {
    display: block;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    margin: 3rem auto;
}

@media (max-width: 997px) {
    .contenedor-principal {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1.5rem;
    }
}

.contenedor-datos {
    background-color: var(--colorDatos);
    padding: 1rem 0;
    border-radius: 1rem;
}

.contenedor-resumen {
    background-color: var(--colorResumen);
    padding: 1rem;
    border-radius: 1rem;
}

.contenedor-lista,
.contenedor-lista-carrito {
    background-color: var(--colorListas);
    height: 56rem;
    margin: 2rem 0;
    overflow: scroll;
    border-radius: 1rem;
}

.site-header {
    border: 1px solid #e0cfc2;
    background: #f4f0ec;
    color: #1e1b1d;
    padding: 1rem 0 3rem 0;
}


/* EVENTO DE RADIO Y CHECKBOX */

.seccion-radio input[type="radio"],
.seccion input[type="checkbox"] {
    display: none;
}

.seccion-radio label,
.seccion label {
    color: black;
    /* background: url("/resources/images/ADN.jpg") no-repeat center center fixed; */
    background-color: white;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    border-radius: 0.3rem;
    cursor: pointer;
    /* -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease; */
    transition: all 0.5s ease;
}

.seccion-radio label:hover,
.seccion label:hover {
    /* background: darkgoldenrod; */
    transform: translateX(-6px);
}

.seccion-radio input[type="radio"]:disabled+label:hover {
    transform: scale(1);
}

.seccion-radio label:before,
.seccion label:before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    background: rgb(240, 238, 238);
    border: 0.1rem solid rgb(17, 17, 17);
    border-radius: 50%;
    position: absolute;
    left: 0.5rem;
    top: 0.8rem;
}

.seccion label:before {
    border-radius: 0.3rem;
}

.seccion-radio input[type="radio"]:checked+label,
.seccion input[type="checkbox"]:checked+label {
    /* padding: 0.5rem 1rem; */
    background: darkgoldenrod;
    /* border-radius: 0.2rem;  */
    color: white;
}

.seccion-radio input[type="radio"]:checked+label:before,
.seccion input[type="checkbox"]:checked+label:before {
    /* display: none; */
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f7f7f7+0,e5e5e5+14,e5e5e5+14,e5e5e5+21,2b2b2b+43,111111+64,2c2c2c+75,2c2c2c+75,1c1c1c+80,2c2c2c+92,2c2c2c+92,131313+100 */
    background: rgb(247, 247, 247);
    /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, rgba(247, 247, 247, 1) 0%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 21%, rgba(43, 43, 43, 1) 43%, rgba(17, 17, 17, 1) 64%, rgba(44, 44, 44, 1) 75%, rgba(44, 44, 44, 1) 75%, rgba(28, 28, 28, 1) 80%, rgba(44, 44, 44, 1) 92%, rgba(44, 44, 44, 1) 92%, rgba(19, 19, 19, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(247, 247, 247, 1) 0%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 21%, rgba(43, 43, 43, 1) 43%, rgba(17, 17, 17, 1) 64%, rgba(44, 44, 44, 1) 75%, rgba(44, 44, 44, 1) 75%, rgba(28, 28, 28, 1) 80%, rgba(44, 44, 44, 1) 92%, rgba(44, 44, 44, 1) 92%, rgba(19, 19, 19, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: radial-gradient(ellipse at center, rgba(247, 247, 247, 1) 0%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 14%, rgba(229, 229, 229, 1) 21%, rgba(43, 43, 43, 1) 43%, rgba(17, 17, 17, 1) 64%, rgba(44, 44, 44, 1) 75%, rgba(44, 44, 44, 1) 75%, rgba(28, 28, 28, 1) 80%, rgba(44, 44, 44, 1) 92%, rgba(44, 44, 44, 1) 92%, rgba(19, 19, 19, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#131313', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}


/* BODY */

select,
input[type="text"] {
    font-size: 1.8rem;
}

input[type="number"] {
    font-size: 1.8rem;
    width: 6rem;
    padding-left: 0;
}

h1 {
    text-decoration-color: white;
    color: white;
    font-size: 4rem;
    /* font-weight: 900; */
}

h2 {
    font-size: 2.5rem;
}

h3 {
    margin-left: 1rem;
    font-size: 1.8rem;
}

.sub-contenedor,
.seccion-radio,
.seccion {
    display: flex;
    align-items: center;
}

.sub-contenedor {
    margin-top: 1rem;
    position: relative;
}

.columna-etiqueta {
    width: 30%;
}

.columna-contenedor {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 1rem 0;
    align-items: center;
    padding-right: 1rem;
    column-gap: 1rem;
}

.una-columna {
    width: 60%;
    grid-template-columns: 90% 10%;
}

.dos-columna {
    width: 60%;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 647px) {
    .columna-contenedor {
        width: 70%;
        grid-template-columns: 80%;
    }
    .una-columna {
        grid-template-columns: 80% 20%;
    }
}


/* Utilidades */

.centrar {
    text-align: center;
    margin-top: 1rem;
}

.justificar {
    text-align: justify;
}

.grande {
    font-size: 1.8rem;
}

.negrita {
    font-size: 1.8rem;
    font-weight: 900;
}

.derecha {
    text-align: right;
}

.centrar {
    text-align: center;
}

.etiqueta-msg {
    font-size: 1.2rem;
    grid-column: 2/4;
}

@media (max-width: 647px) {
    .etiqueta-msg {
        grid-column: unset;
    }
}

.contenedor-boton {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

a.btn {
    background: rgb(218, 165, 32);
    font-size: 1.5rem;
    padding: 0.3rem 1rem;
    color: white;
    margin-left: 1rem;
    /* color: black; */
}

a.btn:hover {
    color: white;
    background: rgb(199, 151, 30);
    text-decoration: none;
}

a.btn-solicitar,
#boton-agregar,
.boton-cancelar {
    font-size: 2rem !important;
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
}

a i {
    color: black;
}

.label-warning,
.label-success {
    font-size: 1.5rem;
    font-weight: 400;
    color: black;
    /* background: transparent; */
}

input[type="submit"]:hover,
.boton-cancelar:hover {
    transform: scale(1.05);
}

.contenedor-carrito {
    display: flex;
    flex-direction: row-reverse;
    /* justify-content: flex-end; */
}

.carrito {
    max-width: 30rem;
    background-color: var(--colorCarrito);
    display: flex;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 1rem;
    margin-left: 2rem;
    align-items: center;
    /* flex-direction: column; */
}

.carrito h3 {
    margin: 0;
}

.carrito:hover {
    transform: scale(1.05);
}

.carrito i {
    font-size: 3rem !important;
    margin-right: 0.5rem;
}

i {
    font-size: 2.2rem !important;
    color: rgb(5, 90, 9);
    margin: 0 0.5rem;
}

i.fa-info-circle:hover {
    transform: scale(1.1);
}

select#nombre-organismo-select {
    margin-top: 0.5rem;
}

input[type="text"],
input[type="number"],
select,
.select2-container--default .select2-selection--single {
    border-radius: 0;
    box-shadow: none;
    border-color: #d2d6de;
    display: block;
    width: 100%;
    height: 34px;
    padding: 4px 12px;
    font-size: 18px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

td input[type="number"] {
    width: 70%;
    margin: 0;
}

.informacion {
    border: 0.2rem solid green;
    background-color: rgb(124, 241, 124);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

#txtMsg span {
    text-transform: uppercase;
}

.warning {
    border: 0.2rem solid yellow;
    background-color: rgb(252, 252, 6);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.etiqueta-msg div.msg {
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.5s ease;
}

.etiqueta-msg {
    margin-right: 0.5rem;
}

.seccion b {
    font-size: 1.8rem;
    /* margin-left: 1rem; */
    font-weight: bold;
    transition: all 0.3s ease;
}

table#tabla-costos {
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

td,
th {
    font-size: 1.6rem;
    text-align: -webkit-auto;
}

.fixed {
    position: fixed;
    width: calc(47.5% - 2.5rem);
    left: calc(50% + 1.5rem);
    top: 0;
    z-index: 2;
}

table#tabla-costos tr td:nth-child(4) {
    text-align: -webkit-center;
    width: 100px;
}

td.derecha {
    padding-right: 2rem;
}

@media (max-width: 997px) {
    td.derecha {
        padding-right: 8rem;
    }
}

th {
    font-weight: bold;
}

div#div-total {
    display: grid;
    justify-items: center;
    padding-bottom: 2rem;
}

div#div-total p b {
    font-size: 2.5rem;
}

a.cambiar-estado i {
    font-size: 1.6rem !important;
}

input:invalid {
    border: 2px solid red;
}

.error {
    font-size: 1.6rem;
    color: red;
    padding-left: calc(30%);
    position: absolute;
    top: 4.3rem;
}

.error2 {
    font-size: 1.6rem;
    color: red;
    padding-left: 0;
    position: absolute;
    top: 5.7rem;
}

.error-info {
    color: rgb(125 41 236);
    font-weight: 700;
}

.secc-analisis.sub-contenedor {
    margin-top: 3rem;
}

.warning-trans {
    font-size: 1.6rem;
    font-weight: bold;
    margin-left: calc(30%);
    color: black;
    background-color: yellow;
    position: absolute;
    top: 4.5rem;
    transition: all 0.5s ease;
}

input:disabled,
select:disabled,
.seccion-radio input[type="radio"]:disabled+label {
    background-color: rgb(240, 240, 240);
}

.secc-extras {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 647px) {
    .secc-extras {
        grid-template-columns: auto;
    }
}

.secc-illumina {
    margin: 0 1rem;
    background-color: tan;
}



.secc-minion {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illumina16 {
    margin: 0 1rem;
    background-color: tan;
}

.secc-minion16 {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illuminaits {
    margin: 0 1rem;
    background-color: tan;
}

.secc-minionits {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illumina18 {
    margin: 0 1rem;
    background-color: tan;
}

.secc-minion18 {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illuminacoi {
    margin: 0 1rem;
    background-color: tan;
}

.secc-minioncoi {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illuminatrna {
    margin: 0 1rem;
    background-color: tan;
}

.secc-miniontrna {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-illuminaotro {
    margin: 0 1rem;
    background-color: tan;
}

.secc-minionotro {
    margin: 0 1rem 0 0;
    background-color: tan;
    grid-column: 2/3;
}

.secc-plataforma .seccion {
    justify-content: center;
}

.secc-rendimiento-illumina .columna-contenedor,
.secc-rendimiento-minion .columna-contenedor {
    display: grid;
    grid-template-columns: 25% 65% 10%;
}

input#rendimiento-illumina,
input#rendimiento-minion,
select#rendimiento-texto-minion,
select#rendimiento-texto-illumina {
    padding: 4px 8px;
}

.swal2-popup {
    font-size: 1.8rem !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(1, 0, 0, 0.65);
}

body.loading {
    overflow: hidden;
}

body.loading .modal {
    display: block;
}

.lds-ring {
    display: inline-block;
    position: relative;
    top: 45%;
    left: 45%;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}