: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;
}

.tablas-forma {
  width: 80%;
  /* min-width: 400px; */
  margin: 0 auto;
  overflow: hidden;
  transition: border 250ms ease;
}

.tablas-forma ul {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  padding-left: 48px;
  list-style-type: none;
}

.tablas-forma ul * {
  margin: 0px;
  padding: 0px;
}

.tablas-forma ul li {
  display: block;
  float: right;
  padding: 10px 29px 8px;
  background-color: var(--cGrisClaro);
  margin-right: 66px;
  position: relative;
  cursor: pointer;
  color: #777;
  font-style: 'sublima-Bold';

  transition: all 250ms ease;
}

.tablas-forma ul li:before,
.tablas-forma ul li:after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 44px;
  background-color: var(--cGrisClaro);
  transition: all 250ms ease;
}

.tablas-forma ul li:before {
  right: -24px;
  transform: skew(30deg, 0deg);
  box-shadow: rgba(0, 0, 0, .1) 3px 2px 5px, inset rgba(255, 255, 255, .09) -1px 0;
}

.tablas-forma ul li:after {
  left: -24px;
  transform: skew(-30deg, 0deg);
  box-shadow: rgba(0, 0, 0, .1) -3px 2px 5px, inset rgba(255, 255, 255, .09) 1px 0;
}

.tablas-forma ul li:hover,
.tablas-forma ul li:hover:before,
.tablas-forma ul li:hover:after {
  background-color: var(--cAzul);
  color: #fff;
}

.tablas-forma ul li.active {}

.tablas-forma ul li.active,
.tablas-forma ul li.active:before,
.tablas-forma ul li.active:after {
  background-color: var(--cAzul);
  color: var(--cGrisClaro);
}

/* Round Tabs */
.tablas-forma ul li {
  border-radius: 8px 8px 0 0;
}

.tablas-forma ul li:before {
  border-radius: 0 14px 0 0;
}

.tablas-forma ul li:after {
  border-radius: 14px 0 0 0;
}


a:hover,
a:focus {
  outline: none;
  text-decoration: none;
}


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

.options {
  display: flex;
  list-style: none;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 30px;
  margin-bottom: 0;
}
.option {
  text-align: center;
  padding: 10px 25px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  font-style: 'Sublima-Bold';
  background-color: var(--cAzul);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

}

.option-active {
  background: var(--cAzul) !important;
  color: white !important;
}

.option-active:before,
.option-active:after {
  background-color: var(--cAzul) !important;
  color: white !important;

}

.content {
  width: 100%;
  height: 100%;
  color: #fff;
  display: none;
  padding: 20px;
  box-shadow: 0px 7px 7px 6px rgba(0, 0, 0, 0.1);
  border-style: solid;
  border-width: 0.025rem; 
  border-radius: 1rem;
  border-color: #BBBCBC;
  background-color: #fdfdfd56;

}
.content-active {
  display: block;
  height: 600px;
  box-shadow: 0px 7px 7px 6px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin: 0 auto;
  margin-bottom: 68px;
  overflow: hidden;
  transition: border 250ms ease;
  background-color: #fdfdfd56;

}


.card_principal_paavi {
  max-width: 87%;
  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: 600px;
  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 {
/*filtro gris comentar cuando se a necesario  */
  /*filter: grayscale(100%);
    transition: filter 1s;*/
/**/
  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;
  }
}
.content--botonver{
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.boton-ver {
  margin: auto;
  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 0 1rem 0;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease 0s;
  line-height: 0.7;
  text-decoration: none;
  font-family: 'Sublima-Light';
  width: 65px;
  text-decoration: none;

  &:hover {
    color: #fff;
  }
}

.thumbnail {
  padding: 0;
}

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

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

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

#titulo_paavi {
  position: relative;
  left: 225px;
  top: -6rem;
  width: 12%;
}
#titulo_praa {
  position: relative;
  left: 180px;
  top: -6rem;
  width: 12%;
}

@media only screen and (min-width: 501px) and (max-width: 1024px) {

  #titulo_paavi {
    position: relative;
    left: 100px;
    top: -8rem;
    width: 23%;
  }
  #titulo_praa {

    left: 105px;
    top: -8rem;
    width: 20%;
  }

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

}

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

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


  .grid-container-cards {
    margin-left: 2rem;
    margin-right: 2rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
  }
  .paavi-titulo {
    font-size: 20px;
    font-family: 'sublima-Light';
    color: var(--cGrisF);
  }

}


@media only screen and (max-width: 1030px) {
  .options {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 30px;
    margin-bottom: 0;
    display: contents !important;
  }

  .option {
    text-align: center;
    padding: 10px 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-style: 'Sublima-Bold';
    background-color: var(--cAzul);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    max-width: 350px;
    align-items: center;

  }

  .option-active {
    background: var(--cAzul) !important;
    color: white !important;
  }

  .option-active:before,
  .option-active:after {
    background-color: var(--cAzul) !important;
    color: white !important;

  }

  .tablas-forma2 {
    width: auto;
    /* min-width: 800px; */
    margin: 0 auto;
    overflow: hidden;
    transition: border 250ms ease;
    font-size: 0.7rem;
    margin-left: 2.5rem;
  }

  .tablas-forma ul li {
    display: block;
    padding: 10px 29px 8px;
    background-color: var(--cGrisClaro);
    margin-left: 60px;
    position: relative;
    cursor: pointer;
    color: #777;
    font-style: 'sublima-Bold';
    transition: all 250ms ease;
    float: none;
  }

  .tablas-forma2 ul {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    padding-left: 145px;
    list-style-type: none;
  }

  .tablas-forma ul li:before {
    right: -24px;
    transform: none;
    box-shadow: rgba(0, 0, 0, .1) 3px 2px 5px, inset rgba(255, 255, 255, .09) -1px 0;
  }

  .tablas-forma ul li:after {
    left: -24px;
    transform: none;
    box-shadow: rgba(0, 0, 0, .1) -3px 2px 5px, inset rgba(255, 255, 255, .09) 1px 0;
  }

  .tablas-forma ul li {
    border-radius: 0px 0px 0 0;
  }

  .tablas-forma ul li:before {
    border-radius: 0 0px 0 0;
  }

  .tablas-forma ul li:after {
    border-radius: 0px 0 0 0;
  }

  .contents {
    margin-top: 1.5rem;
  }

  /*  .tab .nav-tabs li a {
    padding: 0;
    margin-left: 1rem;
    margin-right: 2rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 12px;
  }*/
  /* .tab .nav-tabs li.active a {
    background-color: red !important;
  } */


}
