/*Fuentes*/


@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');


/*Introduccion*/
.carousel-indicators button{
    background-color: var(--atm-azul) !important;
}
.introduccion{
    position: relative;
    width: 100%;
    height: 80vh;
    font-weight: bold;
}
.tituloPrincipal{
    position: relative;
    width: 100%;
    font-weight: bold;
    min-height: 13vh;
    justify-content: center;
    align-items: end;
    margin-bottom: 1rem;
    color:var(--atm-azul)
}
.tituloPrincipal:after{
    contain: content;
    content: "";
    width: 100px;
    border-bottom: var(--atm-amarillo)7px solid;
    transform: translateY(8px);
    text-align: center;
    position: absolute;
}



/*Todos*/
*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
}

html, body{
    position: relative;
    min-height: 100vh;
}

#imagenHome{
    height: inherit;
    object-fit: contain;
    max-width: 420px;
}
p, li, table.textosLegales{
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-optical-sizing: auto;
    font-weight: 250;
    text-align: justify;
}
table.textosLegales{
    margin-block: 1rem;
}
table.textosLegales, .textosLegales tr, .textosLegales th, .textosLegales td {
    border-collapse: collapse;
    border:1px solid black
}
.textosLegales td,.textosLegales th{
    padding:0.5rem;
}

.cuerpoMain{
    min-height: 70vh;
}
footer{
    position:relative;
    bottom: 0;
    min-height: 20vh;
}

a{
    color:inherit;
    text-decoration: none;
}
.mano:hover{
    cursor: pointer;
}
.animacionArriba:hover{
    animation-name: moverarriba;
    animation-direction: alternate;
    animation-duration: 500ms;
    animation-timing-function: linear;
}


/*Formularios*/
fieldset{
    display: flex;
    flex-direction: column;
}
input, textarea, select{
    padding-left: 1rem;
}
option{
    padding-left: 1rem;
}


span.error{
    font-size: 0.7rem;
    font-style: italic;
    color:red;
}
input, select {
    height: 2.25rem;
    position:relative;
}

.select + .option{
    display: none;
    position: absolute;
    top:2.75rem;
    z-index: 10;
    border: 1px solid black;
    width: calc(100% - 1rem);
    background-color: white;
}
.option .itemoption{
    padding-left: 1rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
}
.option .itemoption:hover{
  background-color: #d6e0ef;
}


input:focus::placeholder, textarea:focus::placeholder {
color: transparent;
}
fieldset{
position: relative;
}
fieldset label{
/*display:none;*/
position: absolute;
z-index: 2;
font-size: x-small;
background: white;
transform: translateY(-10px);
margin-left: 1rem;
padding-inline: 0.5rem;
width: fit-content;
}

fieldset:focus-within> label{
display: inline!important;
}
label.labelRadio{
background: none;
transform: none;
height: 2rem;
display: flex;
align-items: center;
}

:focus-visible{
outline: 1px deepskyblue solid;
border: 1px dodgerblue solid;
}
input:focus ~ label, select:focus ~ label{
transform: translateY(-3px);
margin-left: 0;
}
@keyframes moverarriba {
from{
transform: translateY(0px);
}
to{
transform: translateY(-0.5rem);
}
}


.btn-atm{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  var(--atm-azul);
    border: none;
    outline: none;
    border-radius: 0.7rem;
    color:white;
    font-weight: bolder;
    cursor: pointer;
    padding: 1rem 2rem;
}
.btn-atmRed{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  orangered;
    border: none;
    outline: none;
    border-radius: 0.7rem;
    color:white;
    font-weight: bolder;
    cursor: pointer;
    padding: 1rem 2rem;
}
.lupa{
cursor: zoom-in;
}

.bold{
    font-weight: bold;
}

.card-news:hover{
    outline: 5px solid rgba(13, 110, 253,1) !important;
    cursor: pointer;
}
.card-news> .degradadoNews{
    background: linear-gradient(180deg, rgba(0,212,255,0) 0%,  rgba(0,0,0,0.7) 100%);
}
.card-news:hover> .degradadoNews,.cartas:hover> .degradadoNews {
    background: none !important;
}
.degradadoNews{
    background: linear-gradient(180deg, rgba(0,212,255,0) 0%,  rgba(0,0,0,0.7) 100%);
}
.resumenlatestnews{
    padding-inline: 0.7rem;
    font-size: medium;
    font-style: italic;
}
.leeMas{
    color:white;
    background-color: var(--atm-azul);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}
/*Variables*/
:root{
    --atm-azul:#0d6efd;
    --atm-amarillo:#fff200;
    --atm-rojo: #f6001d;
    --atm-verde: #07d157;
}
