/*****************/
/* Media queries */
/*****************/

/* Dispositivos menores a 576px */
@media screen and (-webkit-min-device-pixel-ratio:0) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 56px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 22px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span { 
    margin-top: -66px;        /* Size of fixed header */
    padding-bottom: 66px; 
  }

  /* Ajusto tamaño footer */
  footer {
    margin-top: 0px;
    padding-top: 15px;
    height: 56px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 1px;
  }
}

/* Dispositivos menores a 576px */
@media (min-width: 0px) and (max-width: 576px) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 56px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 24px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span {
    margin-top: -66px;        /* Size of fixed header */
    padding-bottom: 66px; 
  }

  /* Ajusto tamaño footer */
  footer {
    margin-top: 0px;
    padding-top: 15px;
    height: 56px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 1px;
  }
}

/* Dispositivos mayores a 577 y menores a 768px */
@media (min-width: 577px) and (max-width: 768px) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 88px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 26px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span { 
    margin-top: -98px;        /* Size of fixed header */
    padding-bottom: 98px; 
  }

  /* Ajusto tamaño footer */
  footer {
    margin-top: 15px;
    padding-top: 30px;
    height: 88px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 30px;
  }
}

/* Dispositivos mayores a 769 y menores a 992px */
@media (min-width: 769px) and (max-width: 992px) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 88px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 28px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span { 
    margin-top: -98px;        /* Size of fixed header */
    padding-bottom: 98px; 
  }

  /* Ajusto tamaño footer */
  footer {
    margin-top: 15px;
    padding-top: 30px;
    height: 88px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 30px;
  }
}

/* Dispositivos mayores a 993 y menores a 1200px */
@media (min-width: 993px) and (max-width: 1200px) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 88px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 30px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span { 
    margin-top: -98px;        /* Size of fixed header */
    padding-bottom: 98px; 
  }

  /* Ajusto tamaño footer */
  footer {
    margin-top: 15px;
    padding-top: 30px;
    height: 88px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 30px;
  }
}

/* Dispositivos mayores a 1201 y menores a 2200px */
@media (min-width: 1201px) and (max-width: 2200px) {

  /* Ajusto margen de body para navbar */
  body{
    margin-top: 88px;
  }

  /* Ajusto tamaño fuente encabezado*/
  .text-header{
    font-size: 32px;
  }

  /* Ajusto tamaño espacio para anchors */
  h3 span { 
    margin-top: -98px;        /* Size of fixed header */
    padding-bottom: 98px; 
  }
  footer {
    margin-top: 15px;
    padding-top: 30px;
    height: 88px;
  }

  /* Helpers */
  .mar-top{
    margin-top: 30px;
  }
}

/*******************/
/* CSS Generalales */
/*******************/

/* Body */
body{
  font-family: 'Raleway', sans-serif;
  /* background-color: #6699CC; */
  background-color: #4a6892;
}



/* Encabezado */
header {
  background-color: #004266;
}

/* Navbar - Personalizada */
/* Navbar - Cambiamos el fondo de color */
.navbar-custom {
  background-color: #004266;
}
/* Navbar - Cambiamos la marca y el texto */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
  color: rgba(255,255,255,.8);
}
/* Navbar - Cambiamos el color de los links */
.navbar-custom .navbar-nav .nav-link {
  color: rgba(255,255,255,.5);
}
/* Navbar - Cambiamos el color de los enlaces activos y sobre */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
  color: #ffffff;
}

/* Imagen del encabezado */
.img-header{
  overflow: hidden;
  margin: 0px;
  background: url(../images/srsr.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; 
}

/* Overlay del encabezado */
.overlay {
  text-align: center;
  padding: 80px 0px;
  display: block;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

/* Texto del encabezado */
.text-header{
  display: block;
  color: white;
}




/* Contenedor principal */
#main > .container > .row {
  box-shadow: 0 7px 18px rgba(0, 0, 0, .5);
  background-color: white;
  padding-bottom: 15px;
}


/* Contenido de las secciones*/

/* CSS para YouTube Responsive */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 15px;
}

.video-container iframe {
  position: absolute;
  width: 100%!important;
  height: 100%!important;
}

/* Titulo Seccion */
h3 {
  font-size: 24px;
  border-bottom: 1px solid #9e9e9e;
  padding-bottom: 10px;
  padding-top: 15px;
  margin-top: 0;
  margin-bottom: 15px;
}

/* Enlaces anclas ajustados al navbar */
h3 span { 
  display: block; 
}

/* Icono de la seccion del titulo */
h3 i {
  color: #929292;
}

/* Parrafo Seccion*/
p{
  font-size: 16px;
}

/* Titulo seccion nombres y encabezados*/
h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Imagenes secciones*/
img {
  margin-bottom: 10px;
}

/*  */
.text-contact a, 
.text-contact i{
  color : #007bff;
  text-decoration: none;
}

/* Footer */
footer {
  background-color: #004266;
  color : white;
}

/* Enlaces del footer*/
footer a,
footer a:hover,
footer a:active {
  color: white;
  text-decoration: none;
}