:root{
    --blanco: #ffffff;
    --oscuro: #212121;
    --primario: #ffc107;
    --secundario: #0097a7;
    --gris: #757575;
    --grisClaro: #dfe9f3;
    --botonCeleste: #20AFDF;
    /*--fuente-principal: 3.8rem;*/
}
 
html{
    font-size: 62.5%;
    box-sizing: border-box;
    height: 100%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body{
    font-size: 1.6rem; /*1rem = 10px*/
    /*font-family: 'Krub', sans-serif;*/
    font-family: 'Lato', sans-serif;
    /*background-image: linear-gradient(to top, var(--grisClaro) 0%, var(--blanco) 100%);*/
     font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
 

    background-color: #d9f0f7;
    height: 100%;
}
.bg {
    /* The image used */
    background-image: url("../img/cortenoche1.jpg");
  
    /* Full height */
    height: 100vh;
  
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    /*flex-flow: column wrap;*/
    justify-content: space-between;
  }
  .bg2 {
	/* The image used */
	background-image: url("../img/icapa.jpg");
 	
 }
h1{
    font-size: 3.5rem;
}
h2{
    font-size: 2.5rem;
}
h3{
    font-size: 2.0rem;
}
h1,h2,h3 {
    text-align: center;
}
/*
.boton{
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border:none;
}*/

.boton {
    color: black;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    border: none;
    width: 90%;
}
.boton-modal{
	width: auto;
}

@media (min-width: 1024px) {
    /*.boton{
        width: auto;
    }*/
}
.boton-celeste {
    background-color: #61c7e8;
    background-color: #20AFDF;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.sombra {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    background-color: var(--blanco);
    padding: 0.5rem;
    border-radius: 1rem;
}
/*.titulo span{
    font-size: 2rem;
}*/
.contenedor{
    max-width: 120rem;
    margin: 0 auto;
}
.contenedor-hall{
    max-width: 170rem;
    margin: 0 auto;
}
/* HEADER */
.site-header {
    /*background-color: #001d69;*/
    background: rgb(0, 29, 105);
    background: rgba(0, 29, 105, 0.3);
    padding: 1rem;
  }
.contenido-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenido-header img{   
    /*max-width: 5.5rem;/
    background-position: center center;
    background-size: cover;*/
    height: 6.1rem;
}
.contenido-header p {
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
}
.contenedor-listado {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.listado {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-basis: calc(90% - 1rem);
    align-items: center;
    border: 0.1rem solid #b5b5b5;
    background-color: #f5f5f5;
    background: rgb(245, 245, 245);
    background: rgba(245, 245, 245, 0.7); /* Black background with 0.5 opacity */
    border-radius: 0.5rem;
    margin: 1rem;
}
@media (min-width:768px) {
    .listado {
        flex-basis: calc(45% - 1rem);
    }
}
@media (min-width:1200px) {
    .listado {
        flex-basis: calc(30% - 1rem);
    }
}
.listado img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
.listado h2{
    line-height: 1.5;
    margin: 1rem 0 0.5rem 0;
}
.listado h3{
    line-height: 1.5;
    margin: 0 0 1rem 0;
}
.listado a:hover{
    background-color: #04ade6;
    background-color: #4BA6CB;
}
/****FOOTER****/
.site-footer {
    background-color: #001d69;
    background: rgb(0, 29, 105);
    background: rgba(0, 29, 105, 0.3);
    padding: 1rem;
}
.contenedor-footer {
    display: flex;
    justify-content: center;
    font-weight: 300;
}
.copyright {
    color: #ffffff;
    text-align: center;
}
/*CORTEPA.PHP*/
.entidad-titulo{
    color: var(--blanco);
    background: rgb(0, 29, 105);
    background: rgba(0, 29, 105, 0.5);
    border-radius: 0.5rem;
    margin: 0 auto;
}
@media(width >= 1200px){
    .entidad-titulo{
        margin: 0 35rem;
    }
}
.entidad-titulo2{
    margin: 0 60rem;
}
.entidad h1{
    margin: 1rem 0 0.5rem 0;
  }
.entidad h2{
    margin: 0 0 1rem 0;
}
.entidad h3{
    line-height: 1.5;
    margin: 0 0 1rem 0;
}
.contenedor-info {
    display: flex;
    flex-direction: column;
}
@media (min-width:768px) {
    .contenedor-info {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
.contenedor-entidad {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: calc(90% - 1rem);
    background-color: #f5f5f5;
    background: rgb(245, 245, 245);
    background: rgba(245, 245, 245, 0.7);
    border: 0.1rem solid #b5b5b5;
    border-radius: 0.5rem;
    margin: 1rem;
    /*flex-wrap: wrap;*/
}
@media (min-width:768px) {
    .contenedor-entidad {
        flex-basis: calc(45% - 1rem);
        flex-wrap: wrap;
    }
    .contenedor2 {
      flex-basis: calc(100%);
    }
}
@media (min-width:1200px) {
    .contenedor-entidad {
      flex-basis: calc(30% - 1rem);
    }
    .contenedor1 {
      flex-basis: calc(30% - 1rem);
    }
    .contenedor2 {
      flex-basis: calc(63.7%);
    }
}
.aviso-bg {
    background-color: #f5f5f5;
}
.aviso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.aviso iframe {
    border: 0;
    height: 30rem;
    max-width: 100%;
}
.aviso_pantalla iframe {
    border: 0;
    height: 70rem;
    width: 50rem;
    max-width: 100%;
}
.aviso p {
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}
.aviso h1 {
    margin: 1rem 0.5rem;
    font-size: 3.8rem;
    background-color: #ffffff;
}
.aviso h2 {
    margin: 1rem;
    font-size: 2rem;
    line-height: 1.5;
}
.aviso span{
    font-weight: bold;
}
.avisohora{
    font-weight: bold;
    margin: 1rem;
    text-align: center;
    padding: 1rem;
    background-color: #ffffff;
}
.link-video{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;   
}
.link-video a:hover{
    /*background-color: #04ade6;*/
    background-color: #609CB8;
}
.link-video img {
    width: 3rem;
    height: 3rem;
}
.icono{
    font-size: 2.5rem; 
    color: rgba(0, 0, 0, 0.7);
    color: #2F6289;
}
.link-video p{
    margin: 0 1rem;
    text-transform: none;
}
.fontwhatsapp{
    font-size: 1.4rem
}
.boton-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 0.7rem 2rem;
}
.boton-link img{
    flex: 0 1 auto;
}
.boton-link p{
    flex: 0 1 80%;
}
.boton-ddhh {
    background-color: #D2EEF4;
    font-weight: 400;
    width: 100%;
}
/*
@media (min-width: 1024px) {

    .boton-ddhh {
        width: 95%;
        
    }   
}*/
.considerar{
    border: 0;
    height: 30rem;
    max-width: 100%;
}
.considerar p {
    font-weight: 700;
    margin: 0 1rem;
}
.considerar li {
    font-size: 1.3rem;
    line-height: 1.4;
}
.considerar span {
    font-weight: bold;
}
.accesov iframe{
    height: 38.5rem;
    border: 0;
    max-width: 100%;
}
.accesov_pantalla iframe{
    height: 75rem;
    width: 100rem;
    border: 0;
    max-width: 100%;
}
.infogeneral{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 1.4rem;
}
@media (min-width: 480px) {
    .infogeneral{
        font-size: 1.5rem;
    }
}
table {
    width: auto;
    background-color: #ffffff;
    border-collapse: collapse;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
td {
    padding: 0.8rem 0;
    text-align: center;
    color: #000;
    font-weight: 300;
}
table a{
    text-decoration: none;
    color: black;
}
table th {
    text-align: left;
    padding: 0.5rem 0.8rem;
}
.maps iframe{
    max-width: 100%;
    height: 40rem;
}
@media (min-width: 480px) {
    .maps iframe{
        width: 45rem;
    }
}
@media (min-width: 768px) {
    .maps iframe{
        width: 70rem;
    }
}
@media (min-width: 1200px) {
    .maps iframe{
        width: 110rem;
    }
}
.boton-volver {
    display: none;
}
    @media (min-width: 1024px) {
    .boton-volver {
        display: block;
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 300;
        text-decoration: none;
        text-align: center;
        /*padding: 1rem 1rem;*/
        margin: 1rem;
        border-radius: 0.5rem;
        background-color: #001d69;
        width: 10rem;
    }
}
/*.boton-volver-align
{
    /*align-self: flex-start;
    flex-basis: calc(100%);* /
        /*padding: 1rem 20rem;* /
}*/
/**** MENSAJE INICIAL ****/
.mensajeinicio{
    background-color: #f5f5f5;
    border: 0.1rem solid #b5b5b5;
    border-radius: 0.5rem;
    line-height: 1.2;
    margin: 0 1rem;
}
.mensajeinicio p {
    text-align: justify;
    margin: 1rem 2rem;
}
/***********************************************/
/**** DDHH ****/
/***********************************************/
.entidad-ddhh-index{
    display: flex;
    flex-direction: column;
    /*justify-content: flex-end;* /
    align-items: flex-start;*/
  /*  padding: 0 5rem;*/
  margin: 0 auto;
}
.entidad-ddhh-index-child{
    flex: auto;
    /*margin-left: auto;*/
}
.entidad-ddhh-derecha{
    margin-left: auto;
}
.entidad-ddhh{
    display: flex;
    flex-direction: column;
    /*justify-content: center;
    align-items: center;*/
    /*flex-flow: column wrap;
    justify-content: space-between;
    align-items: flex-end;*/
    background-color: #f5f5f5;
    background: rgb(245, 245, 245);
    background: rgba(245, 245, 245, 0.5);
    border: 0.1rem solid #b5b5b5;
    border-radius: 0.5rem;
    padding: 0 1rem;
}
.entidad-ddhh-detalle{
    margin-top: 1rem;
}
.contenedor-ddhh,.contenedor-ddhh-acordion{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
    border: 0.1rem solid #b5b5b5;
    border-radius: 0.5rem;
    margin: 1rem;
}
.contenedor-ddhh a:hover{
    background-color: #04ade6;
    background-color: #609CB8;
}
@media (min-width: 1024px) {
    /*.contenedor-ddhh{
        flex-direction: row;
        justify-content: space-evenly;
        margin: 1rem 5rem;
    }*/
    .contenedor-ddhh-acordion{
        margin: 1rem 5rem;
    }  
}
.accordion {
    background-color: #61c7e8;
    background-color: var(--botonCeleste);
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
} 
.active, .accordion:hover {
    background-color: #04ade6;
    background-color: #609CB8;
}  
.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.active:after {
    content: "\2212";
}  
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    width: 95%;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.link-ddhh{
    display: flex;
    /*flex-direction: column;
    flex-wrap: wrap;*/
    flex-flow: column wrap;
    align-items: center;
    
}
.link-ddhh a{
    flex: 0 1 auto;
}
@media (min-width: 768px) {
    .link-ddhh{
        flex-flow: row wrap;
        justify-content: space-evenly;
    }
    .link-ddhh a{
        flex: 0 1 calc(45% - 1rem);
    }    
}
@media (min-width: 1024px) {
    .link-ddhh{
        flex-flow: row wrap;
        justify-content: space-evenly;
    }
    .link-ddhh a{
        flex: 0 1 calc(30% - 1rem);
    }    
}

.link-ddhh a:hover{
    background-color: #D2DDF4;
}
.link-ddhh img {
    width: 3rem;
    height: 3rem;
}
.link-ddhh p{
    margin: 0 1rem;
    text-transform: none;
}
/**** COMISION ****/
.comision {
    border: 0;
    height: 30rem;
    max-width: 100%;
}
.conmision p {
    font-weight: 700;
    margin: 0 1rem;
}
.comision li {
    font-size: 1.5rem;
    line-height: 1.4;
}
.comision span {
    font-weight: bold;
}
/**** RECEPTORES JUDICIALES ****/
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
  }
  
  .title {
    color: grey;
    font-size: 18px;
  }
  /*
  button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
  }
  
  a {
    text-decoration: none;
    font-size: 22px;
    color: black;
  }
  
  button:hover, a:hover {
    opacity: 0.7;
  }*/

/**** MANTENEDOR ****/
.contenedor-mantencion{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    background-color: #f5f5f5;
    border: 0.1rem solid #b5b5b5;
}

/**** MODAL INICIO ****/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
/* Add Animation */
@-webkit-keyframes animatetop {
	from {top:-300px; opacity:0} 
   to {top:0; opacity:1}
}
@keyframes animatetop {
	from {top:-300px; opacity:0}
   to {top:0; opacity:1}
}  
/* The Close Button */
.close {
    color: white;
    color:  #001d69;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
   color: #000;
   text-decoration: none;
   cursor: pointer;
}
.modal-header {
	display: flex;
	justify-content: space-between;
   padding: 2px 16px;
	background-color: #001d69;
	background: rgb(0, 29, 105);
	background: rgba(0, 29, 105, 0.1);
   color:  #001d69;
}
.modal-header img{   
	/*max-width: 5.5rem;/
	background-position: center center;
	background-size: cover;*/
	height: 6.1rem;
}
/*
.site-header {
	/*background-color: #001d69; * /
	background: rgb(0, 29, 105);
	background: rgba(0, 29, 105, 0.3);
	padding: 1rem;
}

.contenido-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.contenido-header img{   
	/*max-width: 5.5rem;/
	background-position: center center;
	background-size: cover;* /
	height: 6.1rem;
}
.contenido-header p {
	color: #ffffff;
	text-transform: uppercase;
	text-align: center;
}


*/

.modal-body {
	padding: 2px 16px;
    font-weight: 300;
}
.modal-body-display {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
@media (min-width:768px) {
    .modal-body-display {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
.modal-body a{
    text-decoration: none;
    color: black;
}
.modal-body-display2 {
    display: flex;
    /*flex-direction: column;*/
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.modal-footer {
   padding: 2px 16px;
	background-color: #001d69;
	background: rgb(0, 29, 105);
	background: rgba(0, 29, 105, 0.3);
   color: white;
}
.modal-emplaza p {
    text-align: center;
  	text-transform: uppercase;
    font-weight: bold;
}

.modal-emplaza table {
    width: auto;
    background-color: #ffffff;
    border-collapse: separate;
}

@media (min-width:768px) {
   .modal-emplaza table {
      width: 50rem;
   }
}

.modal-emplaza tr:nth-child(even) {
    background-color: #f2f2f2;
}
.modal-emplaza td {
    padding: 0.8rem 0;
    text-align: center;
}
.modal-emplaza table a{
    text-decoration: none;
    color: black;
}
.modal-emplaza table th {
    text-align: center;
    padding: 0rem 1rem 0.5rem;
}
