/* SocialBar */
.socialbar{
    position: fixed;
    right: 0;
    top: 35%;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 100;
}

.icon{
    color: white;
    text-decoration: none;
    padding: .7rem;
    display: flex;
    transition: all .5s;
}

.icon-facebook{
    content: "\ea90";
    background: #2E406E;
}

.icon-instagram{
    background: #3F60A5;
}

.icon-youtube{
    background: #e83028;
}
.icon:first-child{
    border-radius: 1rem 0 0 0;
}
.icon:last-child{
    border-radius: 0 0 0 1rem;
}

.icon:hover{
    color: white;
    text-decoration: none;
    padding-right: 3rem;
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
}


/* NAVBAR */
.navbar-brand{
    color: #fff !important;
}
.nav-area{
    background: #fff;
    border-bottom: 3px solid #E66432;
}

.navbar-nav .nav-item .nav-link{
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #333 !important;
    text-decoration: none;
    font-weight: bold;
}

.navbar-nav .nav-item .nav-link:hover{
    font-size: 0.8rem;
    color: #E66432 !important;
    text-decoration: none;
    font-weight: bold;
}

.navbar-toggler{
  background: #E66432;
}

i.fas.fa-bars{
  padding-top: 3.5px;
  color: #f2f2f2;
}

/* carousel */
body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 45rem;
}

.carousel-item > img {
 position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 45rem;
}  


@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }  
}




/**Por que el nombre san Carlos **/
#colegio{
  background: #ff572212;
  font-family: 'Work Sans', cursive !important;
}

.por-que-nombre .nomb-title{
    color: #c53636;
    font-weight: bold;
}

/* MISION VISION */
.mision-vision{
    font-family: 'Work Sans','sans-serif';
    border-top: 2px solid #E66432;
    border-bottom: 2px solid #E66432;
}

.mision-vision .mision{
    background: url("../images/IMG_6750.JPG") top center no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.mision-vision .mision:before{
    content: "";
    background: rgba(68, 91, 161, 0.8);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.mision-vision .vision{
    background: url("../images/IMG_5524.JPG") top center no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.mision-vision .vision:before{
    content: "";
    background: rgba(226, 126, 44, 0.8);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.mision-vision .title-mivi{
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.mision-vision .p-mivi{
    color: #fff;
    margin-bottom: 0;
}

/*Por que elegirnos*/
.section-elegirnos{
  font-family: 'Work Sans','sans-serif';
  background: #ff572212;
}
.elegirnos-box {
    padding: 1rem 0;
}
  
h2.title-a{
  font-weight: 600;
  color: #e83028;
}
.elegirnos-box .alumno-avatar {
    width: 80px !important;
    display: -webkit-inline-box !important;
    display: -webkit-inline-flex !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    border-radius: 50%;
}
  
.alumno-ico {
  text-align: center;
}

.alumno-ico span {
  font-size: 1.8rem;
  background-color: #2eca6a;
  color: #ffffff;
  padding: .4rem 1rem;
  border-radius: 50px;
}

.alumno-text {
  font-style: italic;
  margin-top: 25px;
  padding: 1.5rem 1.5rem;
  background-color: #f3f3f3;
position: relative;
}

.alumno-text:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25px;
  width: 0px;
  height: 0px;
  border-top: 15px solid #f3f3f3;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}

.alumno-author-box {
  margin-top: 2rem;
}
  
.alumno-author {
  margin-left: 1rem;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1.2rem;
  color: #000000;
}

/* Historia */
.historia{
    border-bottom: 2.5px solid #E66432;
    border-top: 2.5px solid #E66432;
    background: url("../images/IMG_6724.JPG") top center no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    font-family: 'Courgette', cursive;
}

.historia .card {
    background: #fff none repeat scroll 0 0;
    padding: 30px 20px;
    
}

.historia .card:hover{
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out 0s;
    
}

.historia:before{
    content: "";
    background: rgba(27, 69, 197, 0.69);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.title-historia{
    z-index: 1 !important;
    color: #fff;
    font-weight: bold;
}

.title-historia span{
    color: #e83028;
}


/* Logros*/
#logros {
  padding: 60px 0 30px 0;
  background: #ff572212;
  font-family: 'Open Sans','sans-serif';
  border-bottom: 2.5px solid #E66432;
}

#logros .title{
  color: #e83028;
}

#logros .card-logro {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

#logros .card-logro .details {
  background: rgba(223, 115, 65, 0.76);
  position: absolute;
  left: 0;
  bottom: -50px;
  right: 0;
  text-align: center;
  padding-top: 10px;
  transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

#logros .card-logro .details h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

#logros .card-logro .details p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
  font-style: italic;
}

#logros .card-logro .details .details-hover {
  height: 50px;
}

#logros .card-logro .details a {
  color: #fff;
}

#logros .card-logro .details a:hover {
  color: #f82249;
}

#logros .card-logro:hover .details {
  bottom: 0px;
}

/* Propuesta */
#propuesta{
  border-bottom: 2.5px solid #E66432;
}
#propuesta .title{
   color: #e83028;
}


/* Niveles */

#niveles {
  padding: 60px 0;
  background: #004a99;
  border-bottom: 2.5px solid #E66432;
}

#niveles .section-header h3,
#niveles .section-header p {
  color: #fff;
}

#niveles .card {
  background: #00458f;
  border-color: #00458f;
  border-radius: 10px;
  margin: 0 15px;
  padding: 15px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s ease-in-out;
  height: 100%;
}

#niveles .card:hover {
  background: #003b7a;
  border-color: #003b7a;
}

#niveles .card i {
  font-size: 48px;
  padding-top: 15px;
  color: #bfddfe;
}

#niveles .card h5 {
  font-size: 22px;
  font-weight: 600;
}

#niveles .card p {
  font-size: 15px;
  color: #d8eafe;
}

#niveles .card .readmore {
  color: #fff;
  font-weight: 600;
  bottom: 0;
  display: inline-block;
  transition: 0.3s ease-in-out;
  border-bottom: #00458f solid 2px;
}

#niveles .card .readmore:hover {
  border-bottom: #fff solid 2px;
}


/* INFRAESTRUCTURA */
#infraestructura {
  border-bottom: 3px solid #E66432;
  border-top: 3px solid #E66432;
  width: 100%;
  height: 100vh;
  background: url("../images/infraestructura1.JPG") top center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
  
#infraestructura:before {
  content: "";
  background: rgba(6, 12, 34, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#infraestructura .infraestructura-container {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 90px;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#infraestructura h2 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
  text-transform: uppercase;
}

#infraestructura h2 span {
  color: #f82249;
}

#infraestructura p {
  color: #ebebeb;
  font-weight: 700;
  font-size: 20px;
}

#infraestructura .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#f82249 50%, rgba(101, 111, 150, 0.15) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

#infraestructura .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-40%) translateY(-50%);
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#infraestructura .play-btn:before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 2px solid rgba(163, 163, 163, 0.4);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

#infraestructura .play-btn:hover::after {
  border-left: 15px solid #f82249;
  -webkit-transform: scale(20);
  transform: scale(20);
}

#infraestructura .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-40%) translateY(-50%);
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

#infraestructura .about-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 2px solid #f82249;
}

#infraestructura .about-btn:hover {
  background: #f82249;
  color: #fff;
}

#admision{
  border-bottom: 2.5px solid #E66432;
}


@-webkit-keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}
  
/* Preguntas frecuentes */
#preguntas {
  background: #f2f2f2;
  padding: 60px 0;
}

#preguntas #pregunta-list {
  padding: 0;
  list-style: none;
}

#preguntas #pregunta-list li {
  border-bottom: 1px solid #ddd;
}

#preguntas #pregunta-list a {
  padding: 18px 0;
  display: block;
  position: relative;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding-right: 20px;
}

#preguntas #pregunta-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 16px;
}

#preguntas #pregunta-list p {
  margin-bottom: 20px;
}

#preguntas #pregunta-list a.collapse {
  color: #f82249;
}

#preguntas #pregunta-list a.collapsed {
  color: #000;
}

#preguntas #pregunta-list a.collapsed i::before {
  content: "\f055" !important;
}


/* Reglamento */
#reglamento {
  background: linear-gradient(rgba(0, 70, 228, 0.38), rgba(255, 87, 34, 0.63)), url(../images/IMG_6750.JPG) fixed center center;
  background-size: cover;
  padding: 60px 0;
}

#reglamento h3 {
  color: #E91E63;
  font-size: 28px;
  font-weight: 700;
}

#reglamento p {
  color: #fff;
}

#reglamento .cta-btn {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

#reglamento .cta-btn:hover {
  background: #d21818;
  border: 2px solid #d21818;
}


/* Contacto */
#contact {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 0;
  overflow: hidden;
}

#contact .section-header {
  padding-bottom: 30px;
}

#contact .contact-about h3 {
  font-size: 36px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #007bff;
}

#contact .contact-about p {
  font-size: 14px;
  line-height: 24px;
  font-family: "Montserrat", sans-serif;
  color: #888;
}

#contact .social-links {
  padding-bottom: 20px;
}

#contact .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #fff;
  color: #007bff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid #007bff;
}

#contact .social-links a:hover {
  background: #007bff;
  color: #fff;
}

#contact .info {
  color: #283d50;
}

#contact .info i {
  font-size: 32px;
  color: #007bff;
  float: left;
  line-height: 1;
}

#contact .info p {
  padding: 0 0 10px 36px;
  line-height: 28px;
  font-size: 14px;
}

#contact .form #sendmessage {
  color: #007bff;
  border: 1px solid #007bff;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input,
#contact .form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

#contact .form button[type="submit"] {
  background: #c4311e;
  border: 0;
  border-radius: 20px;
  padding: 8px 30px;
  color: #fff;
  transition: 0.3s;
}

#contact .form button[type="submit"]:hover {
  background: #ff1e00e0;
  cursor: pointer;
}







/* CSS SCREEN */

/* xs bootstrap */
@media only screen and (max-width : 575px) {
  .navbar-brand{
      width: 220px;
  }
  .navbar-toggler{
      background: #E66432 !important;
  }
  #carousel-slide{
      margin-top: 12vh;
  }
  .carousel-item{
      height: 100%;
  }
 
  
}

/* xs bootstrap*/
@media screen and (max-width: 575px) and (min-width: 0px) {
  ul.navbar-nav{
    border-top: 1px solid #fe790a33;
    text-align: center;
  }

  ul.navbar-nav li:hover{
    background: rgba(233, 109, 26, 0.486);
  }

  #colegio{
    padding-top: 4rem !important;
  }
 
}



/* sm bootstrap*/
@media screen and (max-width: 767px) and (min-width: 576px) {
  ul.navbar-nav{
    border-top: 1px solid #fe790a33;
  }
}

  /* md bootstrap*/
@media screen and (max-width: 991px) and (min-width: 768px) {
  ul.navbar-nav{
    border-top: 1px solid #fe790a33
  }
 
}

/* lg bootstrap*/
@media screen and (max-width: 1100px) and (min-width: 992px) {
  .navbar-nav .nav-item .nav-link{
      font-size: 0.7rem;
  }
}

