/** ANIMACIONES **/

@keyframes difuminacion {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* RAIZ */
:root {
    font-family: 'system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif';
    color-scheme: light;
}

@font-face {
    font-family: 'AvenirCondensedHand';
    src: url("../letras/AvenirCondensedHand.woff") format("woff");
}

@font-face {
    font-family: 'Avenir Black';
    src: url("../letras/Avenir-Next.woff") format("woff");
}

@font-face {
    font-family: 'Avenir Book';
    src: url("../letras/Avenir.woff") format("woff");
}

/* GLOBALES */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {  background-image: url("../img/fondobio.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
}
@media screen and (max-width: 700px) {
    body {
        background-image: url("../img/slider_homepage_2_mobile.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }
}

label {
    color: black;
    padding: 0.3rem;
    font-family: 'Avenir Book';
}

span {
    font-family: 'Avenir Black';
}

input {
    padding: 0.5rem;
    border: 2px solid green;
    border-radius: 1rem;
    width: 100%;
}

select {
    padding: 0.5rem;
    border: 2px solid green;
    border-radius: 1rem;
    width: 100%;
}

h1, h2, h3, h4 {
    display: flex;
    padding: 1rem 0 0 1rem;
}

/* TABLAS */
thead {
    border: 1px solid green !important;
}

tbody {
    border: 1px solid green !important;
}

th {
    vertical-align: middle;
    background-color: #B3E1AD !important;
    font-family: "Avenir Book";
}

.logofrunet {
    transition: all 1s ease-in-out;
}

.logofrunet:hover {
    scale: 1.1;
}

.table-responsive-propia {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 40rem;
}

.table-responsive-propia table {
    width: 100%;
}

.table-responsive-propia thead {
    background-color: #f2f2f2;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-responsive-propia th {
    border-style: none;
}

.table-responsive-propia td {
    white-space: nowrap;
}

@media screen and (max-height: 700px) {
    .table-responsive-propia {
        overflow-x: auto;
        overflow-y: auto;
        max-height: 28rem;
    }

    .table-responsive-propia thead {
        background-color: #f2f2f2;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .table-responsive-propia th {
        border-style: none;
    }

    .table-responsive-propia td {
        white-space: nowrap;
    }

    .none {
        white-space: normal !important;
    }
}

/* CLASES */
.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
    font-family: 'Avenir Book';
}

.container-center-hj {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-family: 'Avenir Book';
    padding: 0 30px;
}

.container-center-up {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 1rem;
    font-family: 'Avenir Book';
}

.container-center-up-inline {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    text-align: center;
    margin: 1rem;
    font-family: 'Avenir Book';
}

.container-fluid, .container-xl {
    font-family: 'Avenir Book' !important;
}

box-icon {
    opacity: 0.7;
}

.card-p {
    padding: 1rem 3rem 1rem 3rem;
    margin: 1rem 0 0 0;
    border-radius: 25%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-lt {
    padding: 0.5rem;
    margin: 1rem;
    border-radius: 1rem;
    max-width: -webkit-fill-available !important;
    width: 100% !important;
    background-color: #86AD77;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card-l {
    position: relative;
    padding: 0.5rem;
    margin: 1rem;
    border-radius: 1rem;
    max-width: 100% !important;
    width: auto !important;
    background-color: #B3E1AD;
}

.card-s{
    margin: 1rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
    background-color: #B3E1AD;
}

.card-u {
    background-color: rgb(141, 226, 141);
    padding: 0.5rem;
    margin: 1rem;
    border-radius: 1rem;
    max-width: 100% !important;
    width: 100% !important;
}

.card-ai {
    border: 1px solid #86AD77;
    background-color: #B3E1AD;
    border-radius: 5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.link {
    border: 3px solid #86AD77;
    background-color: white;
    padding: 1.3rem 2rem;
    border-radius: 0.6rem;
    max-width: 100%;
    margin: 2rem;
    color: #86AD77;
    text-decoration: none;
}

.link:hover {
    color: green;
    font-weight: bold;
}

.link:focus {
    color: green;
    font-weight: bold;
}

.column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.3rem;
}

.column-s {
    display: flex;
    flex-direction: column;
    margin: 0.3rem;
    align-items: center ;
    font-family: 'Avenir Book';
}

.row {
    display: flex;
    flex-direction: row;
}

.boton {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 1px solid green;
    border-radius: 1.5rem;
    background-color: white;
    color: green;
    width: 10rem;
    font-weight: bold;
}

.boton-a {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 2px solid green;
    border-radius: 1.5rem;
    background-color: white;
    color: green;
    width: 10rem !important;
    font-weight: bold;
}

.boton-t {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 2px solid white;
    border-radius: 1.5rem;
    background-color: #198754;
    color: white;
    width: 10rem !important;
    font-weight: bold;
}

.boton-t2 {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 2px solid white;
    border-radius: 1.5rem;
    background-color: #dc3545;
    color: white;
    width: 10rem !important;
    font-weight: bold;
}

.boton-c {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 2px solid green;
    border-radius: 1.5rem;
    background-color: white;
    color: green;
    width: 12rem !important;
    font-weight: bold;
}

.boton-c-down {
    padding: 0.7rem;
    border: 2px solid green;
    border-radius: 1.5rem;
    background-color: white;
    color: green;
    width: 12rem !important;
    font-weight: bold;
}

.boton-b {
    margin: 0.5rem;
    padding: 0.7rem;
    border: 2px solid green;
    border-radius: 1.5rem;
    background-color: white;
    color: green;
    width: 7rem !important;
    font-weight: bold;
}

.boton-h {
    padding: 0.4rem;
    border: 1px solid gray;
    border-radius: 1.5rem;
    background-color: gray;
    color: white;
    width: 8rem;
    font-weight: bold;
}

.boton-sal {
    text-decoration: none;
    border: none;
    background-color: transparent;
    color: gray;
}

.boton:hover {
    background-color: green;
    color: white;
    font-weight: bold;
}

.boton-a:hover {
    background-color: green;
    color: white;
    font-weight: bold;
}

.boton-t:hover {
    background-color: white;
    color: #198754;
    border: 2px solid #198754;
    font-weight: bold;
}

.boton-t2:hover {
    background-color: white;
    color: #dc3545;
    border: 2px solid #dc3545;
    font-weight: bold;
}

.boton-c:hover {
    background-color: green;
    color: white;
    font-weight: bold;
}

.boton-c-down:hover {
    background-color: green;
    color: white;
    font-weight: bold;
}

.boton-b:hover {
    background-color: green;
    color: white;
    font-weight: bold;
}

.boton-h:hover {
    background-color: white;
    color: gray;
    font-weight: bold;
}

.select-a {
    margin: 0.5rem;
    padding: 0.7rem !important;
    border-radius: 1.5rem;
    border: 2px solid green;
    background-color: white;
    color: green;
    font-weight: bold;
    width: 10rem !important;
}

.select-b {
    margin: 0.5rem;
    padding: 0.7rem !important;
    border-radius: 1.5rem;
    border: 2px solid green;
    background-color: white;
    color: green;
    font-weight: bold;
}

.footer {
    opacity: 0.5;
    margin-top: 0.4rem;
    font-size: 10px;
    color: black;
	margin-bottom: 0 !important;
}

.version {
	opacity: 0.5;
}

.absolute {
    position: absolute;
    right: 10px;
    top: 10px;
}

.group {
    display: flex;
}

.group-a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.group-u {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.group-r {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.group-us {
    display: flex;
    flex-direction: column;
    margin: 0.5rem;
}

.d-input {
    width: 100%;
    margin: 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.d-input-down {
    width: 100%;
    margin: 0.3rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
}

.select-u {
    padding: 0.5rem;
    border: 2px solid green;
    border-radius: 1rem;
    width: 100%;
}

/* CLASES ESPECIFICAS */
.color-b {
    color: green !important;
    padding-bottom: 1.2rem;
}

.color-s {
    color: white;
    font-family: 'Avenir Black';
}

.color-s-up {
    color: white;
    text-transform: uppercase;
}

.color-s-up-center {
    color: white;
    text-transform: uppercase;
    justify-content: center;
}

.title {
    font-weight: bold;
    font-size: 4rem;
}

.check {
    vertical-align: middle;
    display: flex;
}

.box {
    display: inline-block;
    width: auto;
}

.c-label {
    width: auto;
    display: inline-block;
}

.t-small {
    font-size: 10px;
    opacity: 0.7;
    color: gray;
}

.n-legend {
    background-color:  rgb(5, 125, 141);
    color: white;
    padding: 0.3rem;
    border-radius: 1rem;
}

.l-small {
    font-size: 10px;
    opacity: 0.7;
    color: black;
}

.center {
    text-align: center;
    align-items: center;
}

.center-i {
    text-align: center !important;
    align-items: center !important;
    font-size: x-large;
}

.center-blue {
    text-align: center;
    align-items: center;
    background-color: #B3E1AD !important;
    vertical-align: middle;
}

.center-alert {
    text-align: center;
    align-items: center;
    background-color: #FF9900 !important;
    vertical-align: middle;
    font-family: 'Avenir Black';
}

.center-red {
    text-align: center;
    align-items: center;
    background-color: #ff0000 !important;
    vertical-align: middle;
    font-family: 'Avenir Black';
	color: #FFF !important;
}

.center-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-u {
    width: 15rem;
    display: flex;
    margin: 0 1rem 0 0;
}

.separate{
    margin: 2rem;
}

.vertical {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    vertical-align: middle;
    text-align: center;
    align-items: center;
}

.inline {
    display: flex;
    justify-content: space-evenly;
}

.fnegro {
    margin: 1rem 0 0 1rem;
}

.black {
    font-family: 'Avenir Black';
}

.book {
    font-family: 'Avenir Book';
}

.none {
    white-space: normal !important;
}

.active{
    border-bottom: 2px solid !important;
    border-color: white !important;
}