@import "variables.css";

body {
    font-family: "DM Sans", sans-serif;
}

a {
    cursor: pointer;
}

a.nolink {
    pointer-events: none;
}

a:active, a:focus, 
button:active, button:focus {
    background-color: transparent;
}

.text-primary {
    color: var(--primario) !important;
}

.btn.btn-primary {
    background-color: var(--primario);
    border-color: var(--primario);
    color: white;
}
.btn.btn-primary:hover {
    background-color: var(--enfasis);
    border-color: var(--enfasis);
    color: white;
}

.btn.btn-primary.enfatizado {
    background-color: var(--enfasis);
    border-color: var(--enfasis);
    color: white;
}

.btn.btn-primary.enfatizado:hover {
    background-color: var(--primario);
    border-color: var(--primario);
    color: white;
}

.cta .btn.btn-primary.enfatizado {
	background-color: #023466;
	border-color: #023466;
}

.dropdown-menu {
    box-shadow: 0px 10px 11px 1px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 0px 10px 11px 1px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 10px 11px 1px rgba(0, 0, 0, 0.11);
}

.login-contenedor {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 400px;
}

.form-label {
    font-weight: 600 !important;
    color: #000a32 !important;
    font-size: 15px !important;
}

form button {
    background-color: #000a32 !important;
    border-color: var(--primario) !important;
    color: white !important;
    border: 0 !important;
    padding: 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
    
form button:hover {
    background-color: #000a329c !important;;
}

label {
    font-weight: 700;
    color: grey;
}

.wrapper_old {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(136deg, #9BC7FF 0%, #EDA45D 37%, #FFF7DF 71%, #7DB9E8 100%);
    padding-top: 56px;
}

.wrapper {
    padding-bottom: 3rem;
    padding-top: 5rem !important;
    background-image: url(../img/fondo_pr.jpg);
    background-size: cover;
    background-position: center;
}

/*.wrapper .container-xxl {
    background-color: #ffffff7d;
    border-radius: 15px;
}*/
    
.principal {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* & h6 {
        background-color: #FFF;
    } */
}

.principal h6 {
	font-size: 26px;
	margin-bottom: 30px !important;
	margin-top: 30px !important;
}

.goto h6 {
	font-size: 20px;
	padding-top: 10px;
}

.cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button.dropdown-toggle-transparent {
    background-color: transparent;
}

button.dropdown-toggle-transparent {
    background-color: transparent !important;
}

.migas-de-pan {
    height: 48px;
    padding-top: 8px;
    display: flex;
    align-items: center;
}

a.miga {
    color: #000a32;
    text-decoration: underline;
    font-size: 13px;
}

a.miga:hover {
    color: var(--enfasis);
}

#contenido.llega {
    transition: all 0.5s cubic-bezier(0.23, 0.42, 0.49, 1);
}

#contenido.se-va {
    transition: all 0.5s cubic-bezier(0.73, 0, 0.95, 1.08);
}

#contenido.anterior {
    opacity: 0;
    transform: translateX(-200px);
}

#contenido.siguiente {
    opacity: 0;
    transform: translateX(200px);
}

.grupo-input {
    border: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 5px;
}

.grupo-input.con-valor {
    border: 2px solid orange;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.grupo-input select,
.grupo-input input[type="text"],
.grupo-input input[type="search"],
.grupo-input input[type="date"] {
    border: 0;
    background-color: #f7f7f7;
	padding: 12px;
    font-size: 14px;
}

.grupo-input select.con-valor,
.grupo-input input[type="text"].con-valor,
.grupo-input input[type="search"].con-valor,
.grupo-input input[type="date"].con-valor {
    border: 2px solid orange;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

#formFiltros a.btn {
    line-height: 1;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

table {
    border-collapse: separate;
    border-spacing: 0px 8px;
}

th {
    background-color: transparent !important;
    color: rgb(0 10 50) !important;
    font-weight: 600;
}

table tr {
    font-size: 14px !important;
    border: transparent;
}

table tr > td {
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent !important;
}

table tr:hover > td {
    border-bottom: 2px solid var(--enfasis) !important;
}

table tr td {
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8) !important;
}

.promotor-activo {
    border-left: 4px solid green;
}

.promotor-inactivo {
    border-left: 4px solid red;
}

.fichas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    grid-gap: 1rem;
}

a.ficha {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    background-color: #fff;
    color: var(--primario);
    border-radius: 8px;
    border: 2px solid transparent;
    border-left: 4px solid transparent;
    /* & p {
        margin: 0;
        padding: 0;
    }
    & p.nombre {
        font-weight: bold;
    }
    & .imagen {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: 150px;
        font-size: 72px;
        color: #e1e1e1;

        & img {
            aspect-ratio: 1;
            object-fit: contain;
            max-width: 130px;
        }
    }

    &.activo {
        border-left: 2px solid green;
    }
    &.inactivo {
        border-left: 2px solid red;
    }
    &:hover {
        border-top: 2px solid orange;
        border-right: 2px solid orange;
        border-bottom: 2px solid orange;
    } */
}

a.ficha p {
    margin: 0;
    padding: 0;
}

a.ficha p.nombre {
    font-weight: bold;
}

a.ficha .imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    font-size: 72px;
    color: #e1e1e1;

    /* & img {
        aspect-ratio: 1;
        object-fit: contain;
        max-width: 130px;
    } */
}

a.ficha .imagen img {
    aspect-ratio: 1;
    object-fit: contain;
    max-width: 130px;
}

a.ficha.activo {
    border-left: 2px solid green;
}
a.ficha.inactivo {
    border-left: 2px solid red;
}
a.ficha:hover {
    border-top: 2px solid orange;
    border-right: 2px solid orange;
    border-bottom: 2px solid orange;
}
/* th[data-col] {
    cursor: pointer;
}
th[data-col]:hover {
    opacity: 0.75;
} */
span[data-col] {
    cursor: pointer;
}
span[data-col]:hover {
    opacity: 0.75;
}

.mi-modal {
    position: fixed;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;

    /* & .card {
        width: 100%;
        max-width: min(450px, 90%);

        & .card-body {
            max-height: 70vh;
            overflow-y: auto;
        }
        & .card-header,
        .card-footer {
            background-color: #e9ecef;
        }

        &.sm {
            max-width: 400px;
        }

        &.md {
            max-width: 640px;
        }

        &.lg {
            max-width: 800px;
        }

        &.xl {
            max-width: 960px;
        }

        &.xxl {
            max-width: 1200px;
        }
    } */
}

.mi-modal .card {
    width: 100%;
    max-width: min(450px, 90%);
    /* & .card-body {
        max-height: 70vh;
        overflow-y: auto;
    }
    & .card-header,
    .card-footer {
        background-color: #e9ecef;
    }

    &.sm {
        max-width: 400px;
    }

    &.md {
        max-width: 640px;
    }

    &.lg {
        max-width: 800px;
    }

    &.xl {
        max-width: 960px;
    }

    &.xxl {
        max-width: 1200px;
    } */
}

.mi-modal .card .card-body {
    max-height: 70vh;
    overflow-y: auto;
}
.mi-modal .card .card-header,
.card-footer {
    background-color: #e9ecef;
}

.mi-modal .card.sm {
    max-width: 400px;
}

.mi-modal .card.md {
    max-width: 640px;
}

.mi-modal .card.lg {
    max-width: 800px;
}

.mi-modal .card.xl {
    max-width: 960px;
}

.mi-modal .card.xxl {
    max-width: 1200px;
}

.card {
    border: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.card-header {
    padding: 1rem;
    background-color: #7fa5d080;
}

.card-header button {
    background-color: #fff !important;
    border-radius: 100px;
    height: 30px;
    width: 30px;
    font-size: 15px !important;
	margin-left: 8px;
}

.card-body {
    padding: 1rem 2rem 0 !important;
}

.card-body img {
	border-radius: 10px;
}

.card-footer {
    border: 0;
    padding-bottom: 23px;
	background-color: #fff;
}

.card-footer a  {
    font-size: 28px;
    min-width: 40px;
    text-decoration: none;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 0px 5px;
    padding: 14px;
    border-radius: 14px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 12px;
    padding: 12px 6px;
    border-radius: 14px;
}

.card-footer i {
    background-color: #c2d16b;
    padding: 10px;
    border-radius: 50px;
    font-size: 19px;
    color: #000a32 !important;
}

.card-footer .badge {
	font-size: 16px !important;
    color: #000a32;
    padding: 2px;
	background: transparent !important;
}

td button .fa-duotone:hover {
    --fa-primary-color: rgb(212, 78, 7);
    --fa-secondary-color: orange;
}

.tablet {
    width: 100%;
    max-width: 640px;
}

.filas .table td>img{
    object-fit: cover;
    object-position: center;
    max-height: 110px;
	min-height: 100px;
}

.llega .btn-group {
    padding: 16px 0;
}

.llega .card .card-body {
	padding: 1rem 1rem 2rem !important;
}

.llega .card .card-title {
	font-size: 18px;
	margin: 10px !important;
}