/*----------------------------------------------------------*/
/*-------HOJA DE ESTILOS PARA MAIN CURSOS.HTML--------------*/
/*----------------------------------------------------------*/

@-webkit-keyframes swing{
  15% {
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
  }
  30% {
  -webkit-transform: translateX(-5px);
  transform: translateX(-5px);
  }
  50% {
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
  }
  65% {
  -webkit-transform: translateX(-3px);
  transform: translateX(-3px);
  }
  80% {
  -webkit-transform: translateX(2px);
  transform: translateX(2px);
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
}
@keyframes swing {
  15% {
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
  }
  30% {
  -webkit-transform: translateX(-5px);
  transform: translateX(-5px);
  }
  50% {
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
  }
  65% {
  -webkit-transform: translateX(-3px);
  transform: translateX(-3px);
  }
  80% {
  -webkit-transform: translateX(2px);
  transform: translateX(2px);
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
}
.container-loader{
  background-color: transparent;
  height: 100vh;
  width: 100vh;
}
.preload {
  margin-left: auto;
  margin-right: auto;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('../img/main/icono.png') center no-repeat white;
  transform: rotate(45deg);
  animation: spin 2s infinite linear;
}
@keyframes spin {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}

.navbar{
  height: 70px;
  background-color: rgba(0,0,0,0.8);
}
.nav-item{
  width: 15vw;
  height: 70px;
  text-align: center;
}
.nav-item:hover{
  background-color: rgba(0,0,0,1);
}
.nav-link{
  margin-top: 6%;
  font-size: 1rem;
}
.nav-link:hover{
  font-size: 1.1rem;
}
.topIcon{
  margin-right: 10px;
}
.topmenusearch {
  float: right;
  width: 225px;
  height: 39px;
  position: relative;
  margin: 16px 0px 0px 0px;
}
.topmenusearch .searchicon {
  -webkit-transition: all 0.7s ease 0s;
  -moz-transition: all 0.7s ease 0s;
  -o-transition: all 0.7s ease 0s;
  transition: all 0.7s ease 0s;
}
.topmenusearch input {
  width: 100%;
  position: relative;
  float: right;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  text-indent: 15px;
  height: 39px;
  z-index: 2;
  outline: none;
  color: #ccc;
  background-color: #181818;
  -webkit-transition: all 0.7s ease 0s;
  -moz-transition: all 0.7s ease 0s;
  -o-transition: all 0.7s ease 0s;
  transition: all 0.7s ease 0s;
}
.topmenusearch input:focus {
  color: #fff;
  width: 260px;
}
.topmenusearch input:focus~.btnstyle {
  background-color: #282C37 !important;
  color: #fff;
  opacity: 0.9;
}
.topmenusearch input:focus~.btnstyle .fa {
  color: #fff;
}
.topmenusearch input:focus~.searchicon {
  opacity: 1;
  z-index: 3;
  color: #FFFFFF;
}
.topmenusearch .btnstyle {
  top: 0px;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  line-height: 30px;
  z-index: 1;
  cursor: pointer;
  opacity: 0.3;
  color: #fff;
  z-index: 1000;
  background-color: transparent;
  border: solid 0px;
  -webkit-transition: all 0.7s ease 0s;
  -moz-transition: all 0.7s ease 0s;
  -o-transition: all 0.7s ease 0s;
  transition: all 0.7s ease 0s;
}
.topmenusearch .btnstyle .fa {
  line-height: 38px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.topmenusearch .btnstyle:hover {
  background-color: #282C37;
  opacity: 0.9;
}
.slider{
  margin-top: 0%;
  height: 100vh;
  background-image: url("../img/main/bg.jpg");
  background-attachment: fixed;
}
.sliderText{
  margin-right: auto;
  margin-left: auto;
  margin-top: 15vh;
  transition:all 0.3s ease;
  background-color: rgba(0,0,0,1);
  opacity: 0.8;
  height: 60%;
  width: 60%;
}
.sliderText > hr {
  background-color: white;
  color: white;
}
.sliderText:hover{
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 1;
}
.swing{
  transition:all 0.3s ease;
}
.swing:hover{
  -webkit-animation: swing 1s ease;
  animation: swing 1s ease;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
.down{
  margin-left: auto;
  margin-right: auto;
  transition:all 0.3s ease;
  background-color: rgba(0,0,0,1);
  border-radius: 50%;
  height: 60px;
  width: 60px;
  text-align: center;
  margin-top: 5vh;
}
.fa-angle-double-down{
  margin-top: 10px;
}
.down:hover{
  cursor: pointer;
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}
.down:hover > .downLink{
  color: #F4D03F;
  margin-top: 15px;
}
.see-moore{
  transition:all 0.3s ease;
}
.see-more:hover{
  -webkit-transform: scale(1.3, 1);
  -ms-transform: scale(1.3, 1);
  transform: scale(1.3, 1);
}
.last-append{
  background-color: rgba(0,0,0,0.05);
}
.cardCourses{
  width: 20rem;
}
.card-grow:hover{
  transition:all 0.3s ease;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.imgadvertisements{
  margin-top: 5%;
}
.advertisements{
  margin-left: 5%;
}
.cardImg{
  width: 100%;
  height: 200px;
}
.footer{
  background-color: rgba(0,0,0,0.8);
}
.social-icons > hr {
  background-color: white;
  color: white;
}
.icon{
  margin-bottom: 2vh;
}
.social-icons{
  margin-top: 2%;
  margin-bottom: 2%;
}
.faicon{
  color: white;
  text-shadow: 2px 2px 10px blue;
}
.goicon{
  color: white;
  text-shadow: 2px 2px 10px red;
}
.ai:link {
  text-decoration: none;
  color: white;
}
.ai:visited {
  text-decoration: none; 
  color: white;
}
.ai:active {
  text-decoration: none;
  color: white;
}
.ai:hover {
  text-decoration: none;
  color: #578EFF;
}

/*******************************************************/
      /*PARA PANTALLAS MENORES A 767PX DE ANCHO*/
/*******************************************************/
@media(max-width: 767px) {
  .navbar{
    height: auto;
  }
  .topmenusearch{
    visibility: hidden;
  }
  .nav-link{
    width: 100vw;
  }
  .nav-item{
    text-align: center;
  }
  .header-mobile{
    visibility: visible;
  }
  .sliderText{
    margin-top: 70px;
    background-color: rgba(0,0,0,0.8);
    height: 100vh;
    width: 100vw;
  }
  .advertisements{
    margin-top: 5vh;
    margin-left: 0%;
  }
  .advertisements > h2 {
    text-align: center;
    margin-bottom: 0%;
    padding-bottom: 0%;
  }
  .last-append{
    margin-bottom: 0%;
    padding-bottom: 0%;
  }
  .all-courses{
    margin-top: 0%;
    padding-top: 0%;
    margin-top:-100px;
  }
}