:root {
  --cGuinda: #A50034;
  --cCafe: #CEB888;
  --cGris: #EDEEF0;
  --cGrisF: #63666A;
  --cAzul: #253746;
  --cGrisClaro: #e3e3e3;
}

@font-face {
  font-family: 'Sublima-Light';
  src: url('../fonts/sublima/Sublima-Light.otf');
}

@font-face {
  font-family: 'sublima_bold';
  src: url('../fonts/sublima/Sublima-ExtraBold.otf');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  box-sizing: border-box;
}



#encabezado_imagen {
  width: 2500px;
  max-width: 100%;
  margin-top: 4rem;
}





.card_principal_paavi {
  max-width: 85%;
  margin: auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  border-width: 1px;
  border-style: solid;
  border-color: #BBBCBC;
/*  height: 528px;*/
  margin-top: 0.5rem;
  -webkit-box-shadow: -1px 11px 11px -3px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 11px 11px -3px rgba(0, 0, 0, 0.75);
  box-shadow: -1px 11px 11px -3px rgba(0, 0, 0, 0.75);
}

.c {
  overflow: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 528px;
  scrollbar-color: rgba(0, 0, 0, .5) rgba(0, 0, 0, 0);
  scrollbar-width: thin;
}

/* Estilos para motores Webkit y blink (Chrome, Safari, Opera... )*/
.c::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;

}

.c::-webkit-scrollbar:vertical {
  width: 10px;
  height: 300px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}


.c::-webkit-scrollbar-button:increment,
.c::-webkit-scrollbar-button {
  display: none;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}

.c::-webkit-scrollbar:horizontal {
  height: 10px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}

.c::-webkit-scrollbar-thumb {
  width: 10px;
  background-color: #797979;
  border-radius: 5px;
}

.c::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #fff 0%, #fff 35%, #eaeaea 35%, #eaeaea 75%, #fff 75%, #fff 100%);
}


.thumbnail a>img,
.thumbnail>img {
  margin-right: auto;
  margin-left: auto;
}

.thumbnail a>img,
.thumbnail>img {
  display: block;
  max-width: 75%;
  height: auto;
}

.imagen-borde {
  border: 20px solid var(--cGrisClaro);
  border-radius: 10px;
  width: 100%;
}

.boton-informe {
  display: block;
  padding: 5px;
  /* border: 1px solid var(--cGuinda); */
  border-radius: 50px;
  background: linear-gradient(217deg, rgba(149, 0, 47), rgba(255, 0, 0, 0) 70.71%),
    linear-gradient(127deg, rgb(255, 0, 0), rgba(0, 255, 0, 0) 70.71%),
    linear-gradient(336deg, rgb(255, 0, 0), rgba(0, 0, 255, 0) 70.71%);
  font-size: 12px;
  color: #fff;
  text-align: center;
  margin: 0 5px 30px 0;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease 0s;
  line-height: 0.7;
  text-decoration: none;
  font-family: 'Sublima-Light';
  width: 60px;
  text-decoration: none;

  &:hover {
    text-decoration: none;
    color: #fff;
  }
}

.thumbnail {
  padding: 0;
}

.grid-container-cards {
  margin-left: 12rem;
  margin-right: 12rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 0;
}

.grid-container-cards>div {
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
  padding-top: 0%;
}

.paavi-titulo {
  font-size: 38px;
  font-family: 'sublima-Light';
  color: var(--cGrisF);
}

#titulo_paavi {
  position: relative;
  left: 180px;
  top: -6rem;
  width: 12%;
}
#titulo_convenio {
    position: relative;
    /*aqui se hacen ajustes depende tipo de header !!!!!!!!!!!!!!!!!!!!!    */
    left: 180px;
    top: -100px;
    width: 23%;
/*    z-index: 990;*/
}
@media only screen and (min-width: 501px) and (max-width: 900px) {

  #titulo_paavi {
    position: relative;
    left: 105px;
    top: -8rem;
    width: 20%;
  }
  #titulo_convenio {
    position: relative;
    left: 95px;
    top: -7.5rem;
    width: 30%;
  }

  .grid-container-cards {
    margin-left: 2rem;
    margin-right: 2rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }

  .tabla-paa {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;

  }

  .tabla-paa td,
  .table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border: none;
    border-bottom: #BBBCBC 2px dashed;
    /* padding-right: 10rem; */
  }

  .btn {
    background-color: var(--cCafe);
    color: #fff;
    border: 1px solid var(--cCafe);
    ;
    /*anchura, estilo y color borde*/
    /* padding: 10px; espacio alrededor texto */
    border-radius: 50px;
    /*bordes redondos*/
    line-height: 0.7;
    width: 65px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25), -1px -1px 30px 1px rgba(0, 0, 0, 0.22);


  }

  a.enlacePersonal {
    color: var(--cGrisF);
    /*#828282;*/
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Sublima-Light';
    padding: 0px;

  }


}

@media only screen and (min-width: 901px) and (max-width: 1400px) {

  #titulo_paavi {
    position: relative;
    left: 170px;
    top: -7rem;
    width: 18%;
  }
  #titulo_convenio{
    position: relative;
    left: 80px;
    top: -8rem;
    width: 23%;
  }

  .grid-container-cards {
    margin-left: 2rem;
    margin-right: 2rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }

  .tabla-paa {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;

  }

  .tabla-paa td,
  .table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border: none;
    border-bottom: #BBBCBC 2px dashed;
    padding-right: 10rem;
  }

  .btn {
    background-color: var(--cCafe);
    color: #fff;
    border: 1px solid var(--cCafe);
    ;
    /*anchura, estilo y color borde*/
    /* padding: 10px; espacio alrededor texto */
    border-radius: 50px;
    /*bordes redondos*/
    line-height: 0.7;
    width: 65px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25), -1px -1px 30px 1px rgba(0, 0, 0, 0.22);


  }

  a.enlacePersonal {
    color: var(--cGrisF);
    /*#828282;*/
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Sublima-Light';
    padding: 50px;

  }


}

@media (max-width:500px) {
  #encabezado_imagen {
    width: 2500px;
    max-width: 100%;
    margin-top: 4rem;
    height: 80px;
  }

  #titulo_paavi {
    position: relative;
    left: 50px;
    top: -5.5rem;
    width: 28%;
  }

  #titulo_convenio{
    
    left: 20px;
    top: -110px;
    width: 80%;
  }

  .grid-container-cards {
    margin-left: 5rem;
    margin-right: 5rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }

  .paavi-titulo {
    font-size: 20px;
    font-family: 'sublima-Light';
    color: var(--cGrisF);
  }

  .tabla-paa {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;

  }

  .tabla-paa td,
  .table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border: none;
    border-bottom: #BBBCBC 2px dashed;
    /* padding-right: 10rem; */
  }

  .btn {
    background-color: var(--cCafe);
    color: #fff;
    border: 1px solid var(--cCafe);
    ;
    /*anchura, estilo y color borde*/
    /* padding: 10px; espacio alrededor texto */
    border-radius: 50px;
    /*bordes redondos*/
    line-height: 0.7;
    width: 65px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25), -1px -1px 30px 1px rgba(0, 0, 0, 0.22);


  }

  a.enlacePersonal {
    color: var(--cGrisF);
    /*#828282;*/
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Sublima-Light';
    padding: 0px;

  }


}


@media only screen and (min-width: 1401px) and (max-width: 4000px) {
  .tabla-paa {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;

  }

  .tabla-paa td,
  .table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border: none;
    border-bottom: #BBBCBC 2px dashed;
    padding-right: 10rem;
  }

  .btn {
    background-color: var(--cCafe);
    color: #fff;
    border: 1px solid var(--cCafe);
    ;
    /*anchura, estilo y color borde*/
    /* padding: 10px; espacio alrededor texto */
    border-radius: 50px;
    /*bordes redondos*/
    line-height: 0.7;
    width: 65px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25), -1px -1px 30px 1px rgba(0, 0, 0, 0.22);


  }

  a.enlacePersonal {
    color: var(--cGrisF);
    /*#828282;*/
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Sublima-Light';
    padding: 50px;

  }
}
@media (max-width:1300px){
  a.enlacePersonal {
    padding: 3px;
    text-align: right;
  }
}