/*!
 * Start Bootstrap - Grayscale v5.0.9 (https://startbootstrap.com/template-overviews/grayscale)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-grayscale/blob/master/LICENSE)
 */

#mainNav {
  min-height: 56px;
  background-color: #fff;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: #002E5D;
  border: 1px solid #002E5D;
}

#mainNav .navbar-toggler:focus {
  outline: none;
}

#mainNav .navbar-brand {
  color: #161616;
  font-weight: 700;
  padding: .9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    background-color: #fff;
    transition: background-color 0.3s ease-in-out;
    
  }
  #mainNav .navbar-brand {
    padding: .5rem 0;
    color: rgba(255, 255, 255, 0.5);
  }
  #mainNav .nav-link {
    transition: none;
    padding: 2rem 1.5rem;
    color: rgba(0, 0, 0, 0.75);
  }
  #mainNav .nav-link:hover {
    color: rgba(0, 0, 0, 1);
  }
  #mainNav .nav-link:active {
    color: white;
  }
  #mainNav.navbar-shrink {
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #161616;
  }
  #mainNav.navbar-shrink .nav-link {
    color: #161616;
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 0.25rem solid transparent;
  }
  #mainNav.navbar-shrink .nav-link:hover {
    color: #002E5D;
  }
  #mainNav.navbar-shrink .nav-link:active {
    color: #467370;
  }
  #mainNav.navbar-shrink .nav-link.active {
    color: #002E5D;
    outline: none;
    border-bottom: 0.25rem solid #002E5D;
  }
}

.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 35rem;
  padding: 15rem 0;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.3) 0%, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url("../img/bg-masthead.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.masthead h1 {
  font-family: 'Varela Round';
  font-size: 2.5rem;
  line-height: 2.5rem;
  letter-spacing: 0.8rem;
  background: -webkit-linear-gradient(45deg,#AE1F24, #7A163A);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;

}

.masthead h2 {
  max-width: 20rem;
  font-size: 1rem;
}


@media (min-width: 767px) {
  .masthead h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
}


@media (min-width: 992px) {
  .masthead {
    height: 100vh;
    padding: 0;
  }
  .masthead h1 {
    font-size: 7rem;
    line-height: 7rem;
    letter-spacing: 1rem;
  }
  .masthead h2 {
    max-width: 30rem;
    font-size: 1.5rem;
  }
}

.btn {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  font-family: 'Varela Round';
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .15rem;
  border: 0;
}

.btn-primary {
  background: linear-gradient(45deg,#AE1F24, #7A163A);
}

.btn-primary:hover {
  background-color: #4f837f;
}

.btn-primary:focus {
  background-color: #4f837f;
  color: white;
}

.btn-primary:active {
  background-color: #467370 !important;
}

.about-section {
  
  background:  #1B194A;
}

.about-section p {
  margin-bottom: 5rem;
}

.projects-section {
  padding: 3rem 0;
  
}

.projects-section .featured-text {
  padding: 2rem;
}

@media (min-width: 992px) {
  .projects-section .featured-text {
    padding: 0 0 0 2rem;
    border-left: 0.5rem solid #002E5D;
  }
}

.projects-section .project-text {
  padding: 3rem;
  font-size: 90%;
}

@media (min-width: 992px) {
  .projects-section .project-text {
    padding: 5rem;
  }
  .projects-section .project-text hr {
    border-color: #002E5D;
    border-width: .25rem;
    width: 30%;
  }
}

.signup-section {
  padding: 50vh 0;
  background: linear-gradient(to bottom, rgba(15, 155, 224, 0.1) 0%, rgba(15, 155,225, 0.3) 95%, #f8f9fa 95%), url("../img/BANNER -FACHADA(2556 x 1176 px)2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}

.signup-section .form-inline input {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.25rem 2rem;
  height: auto;
  font-family: 'Varela Round';
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.contact-section {
  padding: 5rem 0 0;
}

.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #002E5D;
}

.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: 'Varela Round';
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.contact-section .card hr {
  border-color: #002E5D;
  border-width: 0.25rem;
  width: 3rem;
}

.contact-section .social {
  margin-top: 3rem;
}

.contact-section .social a {
  text-align: center;
  height: 6rem;
  width: 6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  line-height: 6rem;
  font-size: 32px;
  color: #fff;
}

.contact-section .social a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.contact-section .social a:active {
  color: #fff;
}

body {
  font-family: 'Nunito';
  letter-spacing: 0.0625em;
}

a {
  color: #002E5D;
}

a:focus, a:hover {
  text-decoration: none;
  color: #3c6360;
}

.bg-black {
  background-color: #161616 !important;
}

.bg-primary {
  background-color: #002E5D !important;
}

.text-primary {
  color: #002E5D !important;
}

footer {
  padding: 3rem 0 1rem;
  background: #002E5D; 
  color: #fff;
}

.niveles img{
  display: block; width: 100%; 
  filter: grayscale(100%);
  
}

.niveles p{
  position: absolute; 
  top: 45%; 
  left: 10%; 
  width: 80%; 
  color: white; 
  font-size: 32px; 
  text-shadow: 1px 1px #000; 
  letter-spacing: 3px;
}

.niveles:hover img{
  transition:1s ease;
  filter: grayscale(0%)!important;

}

div.widthchange{
  width: 0;
  background: #002E5D; 
  position: relative; 
  top: -100%; 
  left: 50%; 
  z-index: 999;  
  height: 100%;

}
p.widthchange{
  visibility: hidden;
  width:   50%;
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 1000;
  padding-left:  5%;
  text-align: center;

}
h4.widthchange{
  
  width: 100%;
  position: absolute;
  top: 10%;
  left: 0%;
  z-index: 1001;
  padding-left: 5%;
  text-align: center;

}
div.widthchangeleft{
  width: 0;
  background: #AE1F24; 
  position: relative; 
  top: -100%; left: 0%; 
  z-index: 999;  
  height: 100%;
}
p.widthchangeleft{
  visibility: hidden;
  width:   50%;
  position: absolute;
  top: 45%;
  left: 0%;
  z-index: 1000;
  padding-left:  5%;
  text-align: center;

}
h4.widthchangeleft{
  
  width: 100%;
  position: absolute;
  top: 10%;
  left: 0%;
  z-index: 1001;
  padding-left: 5%;
  text-align: center;

}
.niveles2:hover div.widthchange, .niveles2:hover div.widthchangeleft{
    width: 100%;
    transition:1s ease-in;
    left:0;

  }
.niveles2:hover p.widthchange, .niveles2:hover h4.widthchange, .niveles2:hover p.widthchangeleft, .niveles2:hover h4.widthchangeleft{
  visibility: visible; 
  transition:2s ease-in;
  width: 100%;
  left:0;
  height: 100%;
}
@media (min-width: 768px) {
  h4.widthchangeleft{
    top:35%;
    width: 50%;

  }
  h4.widthchange{
    top:35%;
    width: 50%;
    left: 50%;

  }
  p.widthchangeleft, p.widthchange{
    top:45%;
  }
  .niveles2:hover div.widthchangeleft{
    width: 50%;

    transition:1s ease-in;
    left: 0;
  }
  .niveles2:hover div.widthchange{
    width: 50%;
    transition:1s ease-in;
    left: 50%;
  } 
  .niveles2:hover p.widthchange, .niveles2:hover h4.widthchange{
    visibility: visible; 
    transition:2s ease-in;
    width: 50%;
    left: 50%;
  }
  .niveles2:hover p.widthchangeleft, .niveles2:hover h4.widthchangeleft{
    visibility: visible; 
    transition:2s ease-in;
    width: 50%;
    left: 0;
  }

}

.btn{
  color: white!important;
}

.navbar{
  width: 100%;
}


body{
  max-width: 100vw !important;
  overflow-x: hidden!important;
}
.navbar{
  max-width: 100vw !important;
}

#Academias{
  background: #0F9BE0 !important;
}
a{
  cursor: pointer;
}
.counter {
    background-color:#0F9BE0;
    padding: 20px 0;
    border-radius: 5px;
}

.count-title {
    font-size: 40px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.count-text {
    font-size: 13px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.fa-3x {
    margin: 0 auto;
    float: none;
    display: table;
    color: #fff;
}
p{
  font-size: 24px !important;
}
p.blog{
  font-size: 16px !important;
  color: white;
  position: absolute; top: 50%; left: 10%; width: 80%; z-index: 101;
}
a.blogPost{
  position: absolute; bottom: 10%; left: 10%; width: 80%; z-index: 100;
}
div.blogPost{
  position: relative;
}
h3.blogPost {
  position: absolute; top: 30%; left: 10%; width: 80%; z-index: 102;
}
div.redBlock{
  width: calc(100% - 30px); height: 100%; background: rgba(174, 31, 36, .3); 
  position: absolute; top: 0; left: 0; z-index: 99; margin-left: 15px;
}
div.yellowBlock{
  width: calc(100% - 30px); height: 100%; background: rgba(215, 161, 2, .3);
  position: absolute; top: 0; left: 0; z-index: 99; margin-left: 15px;
}
div.blueBlock{
  width: calc(100% - 30px); height: 100%; background: rgba(0, 46, 93, .3);
  position: absolute; top: 0; left: 0; z-index: 99; margin-left: 15px;
}
.mx-auto {
    margin-left: auto;
    display: block;
    width: 30%;
    margin-right: auto;
}
.carousel-image{
  aspect-ratio: 1;
}
footer a{
  color: white;
}
footer a:hover{
  color: #AAA!important;
}
.display-4{
  font-size: 2rem;
  color: #1B194A;
  font-weight: bold;
}
.title{
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #1B194A;
}
#Blog{
  background-color: #f8f9fa !important;
}
.item-blue{
  background-image: url('/img/banners anuncios-azul.png') !important;
}
.item-red{
  background-image: url('/img/banners anuncios-ROJO.png') !important;
}
.item-gray{
  background-image: url('/img/banner grande anuncios- gris.png') !important;
}
@media (max-width: 650px) {
  .display-4{
    font-size: 2rem;
  }
  p.lead {
    display: none;
  }
  .mx-auto{
    width: auto;
  }
  .carousel-image{
    width: 100%;
  }
  .title{
    display: none;

  }

  .signup-section{

    background: linear-gradient(to bottom, rgba(15, 155, 224, 0.1) 0%, rgba(15, 155,225, 0.3) 95%, #f8f9fa 95%), url("../img/fachada domus 360423.png"); 
    background-repeat: no-repeat;
    background-attachment: scroll;

    background-size: cover;
    background-position: right;

  }
  .thumbnails{
    padding: 0;

  }
   .event-block{
    margin-bottom: 10px;
   }
   .carousel-caption.avisos{
    top:10% !important;
   }
   .item-blue{
    background-image: url('/img/ANUNCIO azul360 hashtagcorregido.png') !important;
  }
  .item-red{
    background-image: url('/img/ANUNCIO ROJO 360 hashtagcorregido (1).png') !important;
  }
  .item-gray{
    background-image: url('/img/_banner anuncio gris gris 360423.png') !important;
  }
}
