@font-face {
  font-family: 'josefine';
  src: url(../fonts/josefin-sans/JosefinSans-Regular.ttf);
}

@font-face {
  font-family: 'josefinebold';
  src: url('../fonts/josefin-sans/JosefinSans-SemiBold.ttf');
}

@font-face {
  font-family: 'josefinelight';
  src: url('../fonts/josefin-sans/JosefinSans-Light.ttf');
}

@font-face {
  font-family: 'barlowmedium';
  src: url(../fonts/barlow/Barlow-Medium.ttf);
}

@font-face {
  font-family: 'publicsansblack';
  src: url(../fonts/public-sans/PublicSans-Black.ttf);
}

@font-face {
  font-family: 'monserratextrabold';
  src: url(../fonts/montserrat/Montserrat-ExtraBold.otf);
}

@font-face {
  font-family: 'monserratmediumitalic';
  src: url(../fonts/montserrat/Montserrat-MediumItalic.otf);
}
body {
  margin: 0;
  padding: 0;
  background-image: url(../img/fondo.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;
  height: 100%;
}

footer{
  margin: 0;
  margin-top:100px;
  width: 100%;
  font-size: 14px;
  padding-top: 10px;
  text-align: center;
  height: 20px;
  font-family: 'josefinelight';
  background: #172d4a;
  color:#fff;
  bottom: 0;
  position: fixed;
}

nav{
  height: 90px;
  background: #172d4a;
  top:40px;  
  margin-top:40px;
  margin-left: 5%;
  text-align: center;
  width: 90%;
  display: flex;
}

#padre{
  min-height: 400px;
  max-height: 400px;
  background: #172d4a;
  top:40px;  
  margin-top:50px;
  margin-left: 5%;
  text-align: center;
  width: 90%;
  display: flex;
  /*margin-bottom:100px; */
}
#cuerpoSec1{
  width: 60%;
  background: #172d4a;
  height: auto;
}
#cuerpoSec1 img {
  width: 100%;
  height: auto;
  max-height: 400px;
}
#textoIntro{
  width: 100%;
  margin-top:10px;
  text-align:justify;
}
#textoIntroReproductor{
  width: 100%;
  margin-top:10px; 
  display: inline-flex; 
}
#videoIntro{
  width: 100%;
  height: 300px;
}
#cuerpoSec2{
  width: 40%;
  background: #fff;
  height: auto;
  overflow-y: scroll;
  font-family: 'josefinelight';
  color: #172d4a;  
  font-size: 16px;
  text-align: left;
  padding-top: 40px;
  padding-right: 20px;
  padding-left: 40px;
}
#cuerpoSec2Reproductor{
  width: 40%;
  background: #fff;
  height: auto;
  font-family: 'josefinelight';
  color: #172d4a;  
  font-size: 16px;
  text-align: left;
  padding-top: 40px;
  padding-right: 20px;
  padding-left: 40px;
  position:relative;
}
#cuerpoSec2tv{
  width: 40%;
  background: #fff;
  height: auto;
  font-family: 'josefinelight';
  color: #172d4a;  
  font-size: 16px;
  text-align: left;
  padding-top: 40px;
  padding-right: 20px;
  padding-left: 40px;
 
}
.open{
  height: 40px;
  width: 150px;  
  margin-left:-40px;
  color:#fff;
  background:#00aa3a; 
  border:none;
  font-family: 'monserratextrabold';
  font-size: 16px;  
  cursor: pointer;
}
.open span{
  font-family: 'monserratmediumitalic';
  font-size: 12px;  
}
nav .sec1{width: 20%;}
nav .sec1 img{width: 100%;max-width: 90%;height: 100%;}
nav .sec2{width: 30%;background:#fff;}
nav .sec3{width: 10%;background:#fff;vertical-align:middle;}
nav .sec3 img{width: 100%;max-width: 100%;top:10%;position: relative;max-height:70px;}
nav .sec4{width: 30%;background:#fff;}
nav .sec5{width: 10%;vertical-align: middle;}
nav .sec5 img{ max-width: 50px;width: 50%;padding-top: 0px;}
.topnav {
  overflow: hidden;
  background: #172d4a;    
  text-align: center;
  align-items: center;
}

.topnav a {
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: 'josefinebold';
  color:#fff;  
}

.topnav .icon {
  display: none;
}

.naranja{
  background: #ff8000;
  color: #fff;
  padding-top: 5px;
  padding-bottom: 5px;
  height: 10px;
  font-family: 'barlowmedium';
  font-size: 12px;
  width: 50px;
  display: inline-block;
}
.azul{
  color: #fff;
  background: #172d4a;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  height: 10px;
  font-family: 'barlowmedium';
  font-size: 12px;
  width: 200px;
  display: inline-block;
}

.parrafo1{
  font-family: 'publicsansblack';
  color: #172d4a;
  font-size: 18px;
}
.parrafo2{
  font-size: 18px;
  font-family: 'josefinebold';
  color: #172d4a;
}
.parrafo3{
  color: #172d4a;
  font-family: 'barlowmedium';
  font-size: 14px;  
}

.active{
  color:#9B9B9B!important;
}

.lineavideo{
 display: inline-block;
 width: 33%;
 height: 30px;
}

.whatsapp {
  width:45px;
  height:45px;
  background-color:transparent;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  z-index:100;
  top:-20px;
}

.whatsapp img{
  width:45px!important;
  height:45px!important;
  margin-top:-10px;
}

.w3-button{

}

.whatsapp-icon {
  margin-top:13px;
}
.containeruno{
  width: 50%;
  display: inline-block;
  display:table-cell; 
  position: relative;
  font-family: 'josefinebold';
  font-size: 16px;  
  padding: 5px;
  padding-top:50px;
}
.container{
  width: 50%;
  display: inline-block;
}
.signin{  
  width: 100%;
  height: 30px;  
  color:#fff;
  background: #ff8000;
  font-family: 'barlowmedium';
  font-size: 12px;
  border-radius: 5px;
  border:none;
  padding: 5px;
  margin-bottom: 10px; 
  cursor: pointer;
}

.email,.pwd{ 
  width:calc(100% - 10px);
  height: 20px;
  color:#464646;
  background: #ddd;
  font-family: 'barlowmedium';
  font-size: 12px;
  border-radius: 5px;
  border:none;
  padding: 5px;
  margin-bottom: 10px; 
}
.radio label {
    display: inline-block;
    cursor: pointer;
    color: #233040;
    position: relative;
    padding: 5px 15px 5px 51px;
    font-family: 'barlowmedium';
    font-size: 14px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; }

.radio label:hover{background: rgba(35, 48, 64, 0.1); }
.radio label:before{
      content: "";
      display: inline-block;
      width: 17px;
      height: 17px;
      position: absolute;
      left: 15px;
      border-radius: 50%;
      background: none;
      border: 3px solid #233040; }
   input[type="radio"] {
    display: none; }
   input[type="radio"]:checked + label:before {
      display: none; }
   input[type="radio"]:checked + label {
      padding: 5px 15px;
      background: #233040;
      border-radius: 2px;
      color: #fff; }

.advertencia{
    display:inline-flex;
    width:80%;
    height:80px;
    background:#fff;   
    border-radius:10px;
    margin-bottom:10px;
    font-family: 'barlowmedium';
    font-size: 10px;
    color:#233040;
    border:2px solid #ddd;
    margin-top: 10px;
}
.cabeza{
    display:inline-block;
    height:60px;
    width:40%;
    background:#233040; 
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
    padding-top: 20px;
}      
.cuerpo{
  display:inline-block;
  width:60%;    
  vertical-align: middle;
  padding: 5px;
}
#error{
  display: block;
  position: relative;
  font-family: 'barlowmedium';
  font-size: 10px;
  color: #ff0000;
  text-align: center;   
}

.video-js{width: 100%!important;height: 250px;}

.sidebar {
    position: fixed;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    z-index: 1;
    background: #172D4A;
    overflow-x: hidden;
    transition: 0.4s;
    padding: 1rem 0;
    box-sizing:border-box;
    border-right: 1px solid #fff;
    margin-left: -1px;
    font-family: 'josefinelight';
}

.sidebar .boton-cerrar {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    display: block;
    padding: 0;
    line-height: 1.5rem;
    margin: 0;
    height: 32px;
    width: 32px;
    text-align: center;
    vertical-align: top;
}

.sidebar ul, .sidebar li{
    margin:0;
    padding:0;
    list-style:none inside;
}

.sidebar ul {
    margin: 4rem auto;
    display: block;
    width: 80%;
    min-width:200px;
}

.sidebar a {
    display: block;
    font-size: 120%;
    color: #eee;
    text-decoration: none;
    
}

.sidebar a:hover{
    color:#fff;
    background-color: #f90;

}

#contenido {
    transition: margin-left .4s;
    padding: 1rem;
}

.abrir-cerrar {
    position: fixed;
    top:45%;
    color: #2E88C7;
    font-size:1rem;   
}

#abrir {
    width: 30px;
    height: 150px;
    writing-mode: vertical-lr;
    border-top-right-radius: 20px;
    border-bottom-right-radius:20px;
    background: #172D4A;
    padding-top: 50px;
    top:225px;
    left:0;
}
#abrirli {
    width: 30px;
    height: 130px;
    writing-mode: vertical-lr;
    border-top-right-radius: 20px;
    border-bottom-right-radius:20px;
    background: #FF8000;
    padding-top: 70px;
    top:430px;
    left:0;
}

#cerrar {
    display:none;
}

.sidebarpop{
  display: none;
  height: auto;
  min-height: 100%!important;
  width: 100%!important;
  background-color: rgba(0,0,0,0.7);
  position: absolute;
  z-index: 99999;
  font-family: 'josefinelight';
  color: #172d4a;
  font-size: 16px; 
}


@media screen and (max-width: 940px) {
  .azul{width: 100px;}
}
@media screen and (max-width: 800px) {
  #cuerpoSec2{
    width: 95%;
    overflow-y: scroll;
    padding-top: 40px;
    padding-right: 2%;
    padding-left: 3%;
    max-height:400px;
  }
  #cuerpoSec2Reproductor{
    width: 95%;
    background: #fff;
    height: auto;
    font-family: 'josefinelight';
    color: #172d4a;  
    font-size: 16px;
    text-align: left;
    padding-top: 40px;
    padding-right: 2%;
    padding-left: 3%;
  }
  .containeruno{
    width: 100%;
    display: block;
    padding: 5px;
    padding-top:20px;
  }
  .container{
    width: 100%;
    display: block;
  }


  #textoIntroReproductor{
    display:block; 
  }
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  nav{
    display: block;
    height: auto;
  }
  nav div{
   height: 80px;
   width: 100%;      
  }
  nav .sec1{width: 100%;}
  nav .sec1 img{height:100%;width:auto;}
  nav .sec2{width: 100%;}
  nav .sec3{width: 100%;}
  nav .sec3 img{height:100%;width:auto;}
  nav .sec4{width: 100%;}
  nav .sec5{width: 100%;}
  nav .sec5 img{ width: 100%;height: auto;}
  
  #padre{display: block;height: 400px;padding-bottom: 400px!important;}
  #cuerpoSec1{
    width: 90%;
    background: #172d4a;
    height: auto;
  }

  #cuerpoSec2tv{
    width: 95%;
    background: #fff;
    height: 400px;
    margin-bottom: 60px;
    padding-right: 2%;
    padding-left: 3%;
  }
  .open{
    pointer-events: none;
    margin-left:0px;
  }
  .azul{width: 200px;}
  
  .lineavideo{
   width: 30%;
  height: 100px;
  display: inline-block;
  }
  footer{ height: 60px;margin-top: 200px;position: relative; }
}

@media screen and (max-width: 800px) {
    nav .sec2{width: 100%;}
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}