*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Versión sin prefijo, actualmente  compatible con Chrome y Opera */

}
 header{
    display: flex;
    min-height: 70px;
    width: 100%;
    background-color:white;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: fixed;
 }

 
 .logo{
    display: flex;
    align-items: center;
    color: white;
 }

 .logo img{
    height: 50px;
   align-content: center;
 }

 body{
    margin: 0;
    cursor: default;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
 }

 nav a{
    color:  #b3003b;  
    font-weight: 600;
    padding: 10px 16px;
 }

 
 nav a:hover{
    background-color:#b3003b;
    color: white ;
    padding: 10px 16px ;
    transition: 1s;
 }

 .contenido{
   padding-top: 5%;
   padding-bottom: 45%;    
   }

   .contenido2{
   padding-top: 5%;
   padding-bottom: 5%;    
   }

 .bg-white {
   background-color: #fff !important;
 }

 .bg-dark {
   background-color: #343a40 !important;
 }

 .shadow-sm {
   -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
   box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
 }
 
 .shadow {
   -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
 }
 
 .shadow-lg {
   -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
   box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
 }
 
 .shadow-none {
   -webkit-box-shadow: none !important;
   box-shadow: none !important;
 }

 .cardSp {
   width: 300px; /* Set width of cards */
   border: 1px solid blue; /* Set up Border */
   border-radius: 4px; /* Slightly Curve edges */
   overflow: hidden; /* Fixes the corners */
   display: flex; /* Children use Flexbox */
   flex-direction: column; /* Rotate Axis */
   display: inline;
   float: left;
   margin: 1rem;
}

   .cardSp:hover {
       width: 300px; /* Set width of cards */
       border-radius: 4px; /* Slightly Curve edges */
       overflow: hidden; /* Fixes the corners */
       display: flex; /* Children use Flexbox */
       flex-direction: column; /* Rotate Axis */
       display: inline;
       float: left;
       margin: 1rem;
       background: #EAF3FF;
   }

.cardSp-header {
   color: white;
   text-align: center;
   font-size: 14px;
   font-weight: 600;
   border-bottom: 1px solid blue;
   background-color: #6B90DA;
   padding: 1px 1px;
}

.cardSp-main {
   display: flex; /* Children use Flexbox */
   flex-direction: column; /* Rotate Axis to Vertical */
   justify-content: center; /* Group Children in Center */
   align-items: center; /* Group Children in Center (+axis) */
   padding: 0px 0 0 0; /* Add padding to the top/bottom */
}
 /* PARA HACER EL HEADER RESPONSIVO*/
 @media (max-width:700px){
    header{
        flex-direction: column;
    }
    nav{
        padding: 10px 0px;
    }
 }

 .secciones{
    display: flex;
    align-items: center;
    padding: 40px;
    cursor: default;
  }
   .secciones picture{
    margin: 40px;
   }

   .encabezado{
      font-size: 50px;
      text-align: center;
   }
 
   .conteiner{
      
      justify-content: center;    
      float: center;
      width: 100%;
   }
   
   .w3-container p{
      padding: 2px;
      text-align: justify;
   }

   .carrusel{
      margin:0;
      padding: 0%;
      height: 60vh;
      display: flex;
      justify-content: center;
      align-items: center;
   }

   .slider{
      width: 800px;
      height: 500px;
      border-radius: 10px;
      overflow: hidden;
   }

   .slide{
      width: 1000%;
      height: 500px;
      display: flex;
   }

   .slide input{
      display:none;
   }

   .st{
      width: calc(1000/9);
      transition: 2s;
   }

   .st img{
      width: 800px;
      height: 500px;
   }

   .nav-m{
     position: absolute; 
      width: 800px;
      margin-top: -20px;
      justify-content: center;
      display: flex;
   }

   .m-btn{
      border:2px solid #b3003b;
      padding: 5px;
      border-radius: 10px;
      cursor: pointer;
      transition: 1s;
   }

   .m-btn:not(:last-child){
      margin-right:30px ;

   }

   .m-btn:hover{
      background-color: #b3003b;
   }

   #radio1:checked ~ .first{
      margin-left: 0;
   }
   
   #radio2:checked ~ .first{
      margin-left: -10%;
   }
   
   #radio3:checked ~ .first{
      margin-left: -20%;
   }
   
   #radio4:checked ~ .first{
      margin-left: -30%;
   }
   
   #radio5:checked ~ .first{
      margin-left: -40%;
   }
   
   #radio6:checked ~ .first{
      margin-left: -50%;
   }
   
   #radio7:checked ~ .first{
      margin-left: -60%;
   }
   
   #radio8:checked ~ .first{
      margin-left: -70%;
   }
   
   #radio9:checked ~ .first{
      margin-left: -80%;
   }

   .nav-auto{
      position: absolute;  
      width: 800px;
      margin-top: 500px;
      display: flex;
      justify-content: center;
   }

   .nav-auto div{
      border:  2px solid#134b5f;
      padding: 5px;
      border-radius: 10px;
      transition: 1s;
   }

   .nav-auto div:not(:last-child){
      margin-right: 30px;
      justify-content: center;
   }

   #radio1:checked ~ .nav-auto .a-b1{
      background-color: #134b5f;
   }
   #radio2:checked ~ .nav-auto .a-b2{
      background-color: #134b5f;
   }
   #radio3:checked ~ .nav-auto .a-b3{
      background-color: #134b5f;
   }
   #radio4:checked ~ .nav-auto .a-b4{
      background-color: #134b5f;
   }
   #radio5:checked ~ .nav-auto .a-b5{
      background-color: #134b5f;
   }
   #radio6:checked ~ .nav-auto .a-b6{
      background-color: #134b5f;
   }
   #radio7:checked ~ .nav-auto .a-b7{
      background-color: #134b5f;
   }
   #radio8:checked ~ .nav-auto .a-b8{
      background-color:#134b5f;
   }
   #radio9:checked ~ .nav-auto .a-b9{
      background-color:#134b5f;
   }

   .casos{
      display: flex;
      justify-content: center;
   }

   .w3-third{
      width:33.33333%;
      float:left;width:100%;
      padding:0 8px
   }

   .imagen {
      width: 400px;
      height: 200px;
      margin-right: 1rem;
      object-fit:cover;
   }
   .imagen:hover{opacity:0.60}
   
   .hover-opcidad{opacity:0.60}

   .boton-modal{
      border: 1px solid #b3003b;
      background-color: white;
      padding: .5em 1em;
   }
   .boton-modal:hover{
      color: white;
      background-color: #b3003b;
      transition: 1s;
   }


   .contenedor {
      width: 90%;
      max-width: 1000px;
      margin: 20px auto;
   }
   
   .contenedor article {
      line-height: 28px;
   }
   
   .contenedor article h1 {
      font-size: 30px;
      text-align: left;
      padding: 50px 0;
   }
   
   .contenedor article p {
      margin-bottom: 20px;
   }
   
   .contenedor article .btn-abrir-popup {
      padding: 0 20px;
      margin-bottom: 20px;
      height: 40px;
      line-height: 40px;
      border: none;
      color: #fff;
      background: #5E7DE3;
      border-radius: 3px;
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      cursor: pointer;
      transition: .3s ease all;
      cursor: pointer;
   }
   
   .contenedor article .btn-abrir-popup:hover {
      background: rgba(94,125,227, .9);
   }
   
   /* ------------------------- */
/*:::::Pie de Pagina*/
.pie-pagina{
   width: 100%;
   background-color: white;
}
.pie-pagina .grupo-1{
   width: 100%;
   max-width: 1200px;
   margin: auto;
   display:grid;
   grid-template-columns: repeat(3, 1fr);
   grid-gap:50px;
   padding: 5px 0px;
   justify-content: center;
}
.pie-pagina .grupo-1 .box figure{
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
   width: 250px;
}
.pie-pagina .grupo-1 .box h2{
   color: #b3003b;
   margin-bottom: 25px;
   font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
   color: #b3003b;
   margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
   display: inline-block;
   text-decoration: none;
   width: 45px;
   height: 45px;
   line-height: 45px;
   color: #b3003b;
   margin-right: 10px;
   background-color:white;
   text-align: center;
   transition: all 1s ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
   color: white;
   background-color: #b3003b;
}
.pie-pagina .grupo-2{
   background-color: white;
   padding: 15px 10px;
   text-align: center;
   color: #b3003b;
}
.pie-pagina .grupo-2 small{
   font-size: 15px;
}
@media screen and (max-width:800px){
   .pie-pagina .grupo-1{
       width: 90%;
       grid-template-columns: repeat(1, 1fr);
       grid-gap:30px;
       padding: 35px 0px;
   }
}

/*::::::::::::::: PDF VIEW ::::::::::::::::::::::::::::::*/
.pdfview{
   margin: auto;
   display: block;
   width: 850px;
   height: 800px;
}



/*::::::::::::::: MODALES ::::::::::::::::::::::::::::::*/

.contenedor {
  width: 90%;
  max-width: 1000px;
  margin: 20px auto;
}

/* ------------------------- */
/* POPUP */
/* ------------------------- */

.overlay {
  background: rgba(0,0,0,.3);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  visibility: hidden;
}

.overlay.active {
  visibility: visible;
}

.popup {
  background: #F8F8F8;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  padding: 15px;
  text-align: center;
  width: 650px;
  
  transition: .3s ease all;
  transform: scale(0.7);
  opacity: 0;
}

.popup .btn-cerrar-popup {
  font-size: 16px;
  line-height: 16px;
  display: block;
  text-align: right;
  transition: .3s ease all;
  color: #BBBBBB;
}

.popup .btn-cerrar-popup:hover {
  color: #000;
}

.popup h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
}

.popup h4 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0;
}

.popup form .contenedor-inputs {
  opacity: 0;
}

.popup form .contenedor-inputs input {
  width: 100%;
  margin-bottom: 20px;
  height: 52px;
  font-size: 18px;
  line-height: 52px;
  text-align: center;
  border: 1px solid #BBBBBB;
}

.popup form .btn-submit {
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  border: none;
  color: #fff;
  background: #5E7DE3;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: .3s ease all;
}

.popup form .btn-submit:hover {
  background: rgba(94,125,227, .9);
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup.active {	transform: scale(1); opacity: 1; }
.popup.active h3 { animation: entradaTitulo .8s ease .5s forwards; }
.popup.active h4 { animation: entradaSubtitulo .8s ease .5s forwards; }
.popup.active .contenedor-inputs { animation: entradaInputs 1s linear 1s forwards; }

@keyframes entradaTitulo {
  from {
     opacity: 0;
     transform: translateY(-25px);
  }

  to {
     transform: translateY(0);
     opacity: 1;
  }
}

@keyframes entradaSubtitulo {
  from {
     opacity: 0;
     transform: translateY(25px);
  }

  to {
     transform: translateY(0);
     opacity: 1;
  }
}

@keyframes entradaInputs {
  from { opacity: 0; }
  to { opacity: 1; }
}