*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
  /* overflow: hidden; */
  font-weight: 100;
  /* color: rgba(255, 255, 255, 1); */
  margin: 0;
  padding: 0;
  background: #4A4A4A;
  color: rgba(255, 255, 255, 1);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

main {
  height: auto;
}

/* Esta es la barra de navegacion. */
.navbar {
  font-family: 'Lato';
  background-color: #f6f6f6;
  overflow: hidden;
  height: 63px;
  text-align: right;
  /* border-bottom: 1px solid rgba(128, 128, 128, 0.454); */
  /* box-shadow: 1px 0px 50px rgba(68, 68, 68, 0.488); */
}

.logodiv h1 {
  position: absolute;
  top: 32px;
  right: -130px;
  font-family: futura;
  font-size: 30px;
}

/* Este es el truquito del logo que se cambia con el hover */
.logodiv {
  width: 300px;
  height: 0px;
  position: relative;
  right: 0px;
  left: 60px;
  bottom: 5px;
  display: block;
  margin: 0px;
}

.logodiv .logostw {
  display: none;
  position: absolute;
}

.logodiv:hover .logostw {
  display: block;
  z-index: 99;
}
  
.logostw {
  width: 300px;
  padding: 0px;
  opacity: 0.7;
}

.LogoRed {
  width: 300px;
  opacity: 0.7;
}
  
/* Este es el menu hamburguesa. */
.navbar a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
  font-size: 15px;
  border-radius: 30px;
  
}

.hamburger:hover path{
  stroke: white;
}

/* Lista no ordenada de links */
.navbar ul {
  margin: 8px 100px 0 0;
  list-style: none;
}
  
/* Mouseover links */
.navbar a:hover {
  background-color: rgba(0, 0, 0, 0.714);
  border-radius: 0px;
  color: white;
  text-decoration: underline;
  text-underline-position: under;
  transition: 1s;
}
  
.navbar ul li a:hover {
  /* background-color: rgba(221, 221, 221, 0.146); */
  color: white;
  text-decoration: underline;
  /* border-radius: 50%; */
  box-shadow: 10 10 10 10 black;
  backface-visibility: hidden;
  transition: 1s;
  /* text-shadow: 1px 1px 2px white; */
  /* border-bottom: dashed 1px rgba(0, 0, 0, 0.515); */
}
  
.hamburger:hover {
  background-color: #ddd;
  transition: .2s; 
}
  
/* Lista de links */ 
.navbar ul li {
  display: inline-block;
}
  
.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  opacity: 0.9;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}
  
.side-nav a {
  padding: 10px 10px 10px 30px;
  text-decoration: none;
  font-size: 22px;
  color: #ccc;
  display: block;
  transition: 0.3s;
}
  
.side-nav a:hover {
  color: white;
  text-decoration: underline;
  /* background-color: white; */
  /* border-radius: 100px; */
  transition: .5s;
}

/* Este es el boton para cerrar la barra de navegacion. */
.side-nav .btn-close {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 30px;
  margin-left: 0px;
}
  
/* Este es el boton de Spanish */
input[class=spanish] {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 63px;
  background-color: #0082cb;
  border: none;
  color: rgba(255, 255, 255, 0.796);
  padding: 16px 20px;
  text-decoration: none;
  margin: 0px;
  cursor: pointer;
  transition: .5s;
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}
  
input[class=spanish]:hover {
  background-color: #ee3b44;
  color: white;
  transition: .5s;
  text-shadow: 1px 1px 2px black;
  -webkit-appearance: none;
}

#calendar {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 420px;
  margin: 0 auto;
  height: 560px;
  overflow: hidden;
  margin-top: 45px;
}

.header {
  height: 50px;
  width: 420px;
  background: rgba(66, 66, 66, 1);
  text-align: center;
  position:relative;
  z-index: 100;
}

.header h1 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 50px;
  font-weight: 100;
  letter-spacing: 1px;
}

.left, .right {
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  top: 50%;
  margin-top: -7.5px;
  cursor: pointer;
}

.left {
  border-width: 7.5px 10px 7.5px 0;
  border-color: transparent rgba(160, 159, 160, 1) transparent transparent;
  left: 20px;
}

.right {
  border-width: 7.5px 0 7.5px 10px;
  border-color: transparent transparent transparent rgba(160, 159, 160, 1);
  right: 20px;
}

.month {
  /*overflow: hidden;*/
  opacity: 0;
}

.month.new {
  -webkit-animation: fadeIn 1s ease-out;
  opacity: 1;
}

.month.in.next {
  -webkit-animation: moveFromTopFadeMonth .4s ease-out;
  -moz-animation: moveFromTopFadeMonth .4s ease-out;
  animation: moveFromTopFadeMonth .4s ease-out;
  opacity: 1;
}

.month.out.next {
  -webkit-animation: moveToTopFadeMonth .4s ease-in;
  -moz-animation: moveToTopFadeMonth .4s ease-in;
  animation: moveToTopFadeMonth .4s ease-in;
  opacity: 1;
}

.month.in.prev {
  -webkit-animation: moveFromBottomFadeMonth .4s ease-out;
  -moz-animation: moveFromBottomFadeMonth .4s ease-out;
  animation: moveFromBottomFadeMonth .4s ease-out;
  opacity: 1;
}

.month.out.prev {
  -webkit-animation: moveToBottomFadeMonth .4s ease-in;
  -moz-animation: moveToBottomFadeMonth .4s ease-in;
  animation: moveToBottomFadeMonth .4s ease-in;
  opacity: 1;
}

.week {
 background: #4A4A4A;
}

.day {
  display: inline-block;
  width: 60px;
  padding: 10px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  background: #4A4A4A;
  position: relative;
  z-index: 100;
}

.day.other {
 color: rgba(255, 255, 255, .3);
}

.day.today {
  color: rgba(156, 202, 235, 1);
}

.day-name {
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .7px;
}

.day-number {
  font-size: 24px;
  letter-spacing: 1.5px;
}


.day .day-events {
  list-style: none;
  margin-top: 3px;
  text-align: center;
  height: 12px;
  line-height: 6px;
  overflow: hidden;
}

.day .day-events span {
  vertical-align: top;
  display: inline-block;
  padding: 0;
  margin: 0;
  width: 5px;
  height: 5px;
  line-height: 5px;
  margin: 0 1px;
}

.blue { background: rgba(156, 202, 235, 1); }
.orange { background: rgba(247, 167, 0, 1); }
.green { background: rgba(153, 198, 109, 1); }
.yellow { background: rgba(249, 233, 0, 1); }
.red { background: rgb(249, 0, 0); }

.details {
  position: relative;
  width: 420px;
  height: 75px;
  background: rgba(164, 164, 164, 1);
  margin-top: 5px;
  border-radius: 4px;
}

.details.in {
  -webkit-animation: moveFromTopFade .5s ease both;
  -moz-animation: moveFromTopFade .5s ease both;
  animation: moveFromTopFade .5s ease both;
}

.details.out {
  -webkit-animation: moveToTopFade .5s ease both;
  -moz-animation: moveToTopFade .5s ease both;
  animation: moveToTopFade .5s ease both;
}

.arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -2px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent rgba(164, 164, 164, 1) transparent;
  transition: all 0.7s ease;
}

.events {
  height: 75px;
  padding: 7px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.events.in {
  -webkit-animation: fadeIn .3s ease both;
  -moz-animation: fadeIn .3s ease both;
  animation: fadeIn .3s ease both;
}

.events.in {
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  animation-delay: .3s;
}

.details.out .events {
  -webkit-animation: fadeOutShrink .4s ease both;
  -moz-animation: fadeOutShink .4s ease both;
  animation: fadeOutShink .4s ease both;
}

.events.out {
  -webkit-animation: fadeOut .3s ease both;
  -moz-animation: fadeOut .3s ease both;
  animation: fadeOut .3s ease both;
}

.event {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .5px;
  padding: 2px 16px;
  vertical-align: top;
}

.event.empty {
  color: #eee;
}

.event-category {
  height: 10px;
  width: 10px;
  display: inline-block;
  margin: 6px 0 0;
  vertical-align: top;
}

.event span {
  display: inline-block;
  padding: 0 0 0 7px;
}

.legend {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  background: rgba(60, 60, 60, 1);
  line-height: 30px;

}

.entry {
  position: relative;
  padding: 0 0 0 25px;
  font-size: 13px;
  display: inline-block;
  line-height: 30px;
  background: transparent;
}

.entry:after {
  position: absolute;
  content: '';
  height: 5px;
  width: 5px;
  top: 12px;
  left: 14px;
}

.entry.blue:after { background: rgba(156, 202, 235, 1); }
.entry.orange:after { background: rgba(247, 167, 0, 1); }
.entry.green:after { background: rgba(153, 198, 109, 1); }
.entry.yellow:after { background: rgba(249, 233, 0, 1); }
.entry.red:after { background: rgb(249, 0, 0); }

/* Animations are cool!  */
@-webkit-keyframes moveFromTopFade {
  from { opacity: .3; height:0px; margin-top:0px; -webkit-transform: translateY(-100%); }
}
@-moz-keyframes moveFromTopFade {
  from { height:0px; margin-top:0px; -moz-transform: translateY(-100%); }
}
@keyframes moveFromTopFade {
  from { height:0px; margin-top:0px; transform: translateY(-100%); }
}

@-webkit-keyframes moveToTopFade {
  to { opacity: .3; height:0px; margin-top:0px; opacity: 0.3; -webkit-transform: translateY(-100%); }
}
@-moz-keyframes moveToTopFade {
  to { height:0px; -moz-transform: translateY(-100%); }
}
@keyframes moveToTopFade {
  to { height:0px; transform: translateY(-100%); }
}

@-webkit-keyframes moveToTopFadeMonth {
  to { opacity: 0; -webkit-transform: translateY(-30%) scale(.95); }
}
@-moz-keyframes moveToTopFadeMonth {
  to { opacity: 0; -moz-transform: translateY(-30%); }
}
@keyframes moveToTopFadeMonth {
  to { opacity: 0; -moz-transform: translateY(-30%); }
}

@-webkit-keyframes moveFromTopFadeMonth {
  from { opacity: 0; -webkit-transform: translateY(30%) scale(.95); }
}
@-moz-keyframes moveFromTopFadeMonth {
  from { opacity: 0; -moz-transform: translateY(30%); }
}
@keyframes moveFromTopFadeMonth {
  from { opacity: 0; -moz-transform: translateY(30%); }
}

@-webkit-keyframes moveToBottomFadeMonth {
  to { opacity: 0; -webkit-transform: translateY(30%) scale(.95); }
}
@-moz-keyframes moveToBottomFadeMonth {
  to { opacity: 0; -webkit-transform: translateY(30%); }
}
@keyframes moveToBottomFadeMonth {
  to { opacity: 0; -webkit-transform: translateY(30%); }
}

@-webkit-keyframes moveFromBottomFadeMonth {
  from { opacity: 0; -webkit-transform: translateY(-30%) scale(.95); }
}
@-moz-keyframes moveFromBottomFadeMonth {
  from { opacity: 0; -webkit-transform: translateY(-30%); }
}
@keyframes moveFromBottomFadeMonth {
  from { opacity: 0; -webkit-transform: translateY(-30%); }
}

@-webkit-keyframes fadeIn  {
  from { opacity: 0; }
}
@-moz-keyframes fadeIn  {
  from { opacity: 0; }
}
@keyframes fadeIn  {
  from { opacity: 0; }
}

@-webkit-keyframes fadeOut  {
  to { opacity: 0; }
}
@-moz-keyframes fadeOut  {
  to { opacity: 0; }
}
@keyframes fadeOut  {
  to { opacity: 0; }
}

@-webkit-keyframes fadeOutShink  {
  to { opacity: 0; padding: 0px; height: 0px; }
}
@-moz-keyframes fadeOutShink  {
  to { opacity: 0; padding: 0px; height: 0px; }
}
@keyframes fadeOutShink  {
  to { opacity: 0; padding: 0px; height: 0px; }
}


.mainimage {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.mainimage img {
  width: 100vw;
  height: 950px;
  object-fit: cover;
  opacity: 0.7;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.385);
  margin-bottom: 50px;
}

.maintext {
  position: absolute;
  top: 70%;
  left: 7%;
  transform: translate(0%, 0%);
  font-size: 40px;
  font-family: 'Roboto';
  font-weight: 300;
  color: white;
  text-shadow: 1px 1px 10px black;
}

.maintext span {
  font-style: italic;
  font-size: 18px;
  position: absolute;
  left: 20%;
  margin-top: 10px;
  opacity: 0.6;
}

.coursecontainer {
  /* position: relative; */
  /* top: 0px; */
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: auto;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.coursebox {
  background-color: white;
  color: black;
  margin: 25px 15px;
  flex-basis: 550px;
  /* flex-grow: 0; */
  /* flex-shrink: 0; */
  /* width: 350px; */
  height: auto;
  border-radius: 20px;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
  overflow: hidden;
  border: 3px solid white;
  transition: 1s;
}

.coursebox:hover {
  padding: 0px;
  border: 3px solid orange;
  transition: 1s;
}

.coursebox:hover img {
  transform: scale(1.05); 
  -webkit-transform: scale(1.05);
  opacity: 1;
  transition: .4s ease;
}

.courseBottom h3 {
  margin: 20px;
  opacity: 0.7;
}

.coursebox:hover h3 {
  opacity: 1;
  color: red;
}

.coursebox p {
  margin-top: 10px;
}

.courseTop {
  width: 550px;
  height: 380px;
  margin: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
}

.courseBottom h1 {
  font-size: 40px;
  margin-bottom: 5px;
}

.courseBottom hr {
  width: 60%;
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.courseBottom {
  margin: 25px 25px;
  /* border-top: 10px solid green; */
}

.courseTop img {
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  top: 0px;
  left: -3px;
  display: block;
  margin: auto;
  transition: .4s ease;
  opacity: 0.7;
}

.courseFooter {
  /* background-color: #d8d8d8; */
}

.courseFooter h2 {
  font-size: 15px;
  position: relative;
  left: 50px;
  top: 25px;
  text-decoration: underline;
  font-style: italic;
}

.courseFooterButton {
  background-color: #0082cb;
  color: white;
  padding: 7px;
  position: relative;
  float: right;
  margin-right: 20px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: 1s;
  border-radius: 5px;
}

.courseFooterButton:hover {
  background-color: #ee3b44;
  color: white;
  position: relative;
  float: right;
  margin-right: 20px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: .5s;
  cursor: pointer;
  text-decoration: underline;
}

.courseFooterButtonEnroll {
  background-color: #0082cb;
  color: white;
  padding: 7px;
  position: relative;
  float: right;
  margin-right: 50px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: 1s;
  border-radius: 5px;
}

.courseFooterButtonEnroll:hover {
  background-color: #ee3b44;
  color: white;
  position: relative;
  float: right;
  margin-right: 50px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: .5s;
  cursor: pointer;
  text-decoration: underline;
}

.map {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0px;
  background-color: white;
  color: white;
  height: 500px;
  overflow: hidden;
  position: relative;
  top: 50px;
  }

.footer {
  height: auto;
  background-color: black;
  padding-top: 70px;
  margin-top: 50px;
  }

.footer h3 {
 font-size: 28px;
  }

.footer p {
  font-size: 24px;
    }

.footer1 {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* margin-top: 50px; */
  background-color: black;
  height: 300px;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: space-between;
  /* margin-top: 20px;
  position: relative; */
}

.footer1 p {
  padding: 3px 0px;
}

#scroll {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 40px;
  width: 40px;
  background-color: #6bb3dd;
  opacity: 0.9;
  border-radius: 60px;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
}

#scroll span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -12px;
  border: 8px solid transparent;
  border-bottom-color: white;
}

#scroll:hover {
  background-color: #0082cb;
  opacity: 0.7;
  filter: "alpha(opacity=100)";
  -ms-filer: "alpha(opacity=100)";
}

@media(max-width:1159px) {

  .maintext {
    position: absolute;
    top: 70%;
    left: 7%;
    transform: translate(0%, 0%);
    font-size: 40px;
    font-family: 'Roboto';
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 10px black;
  }
  
.navbar-nav {
    display: none;
}

.logodiv {
  width: 240px;
  height: 0px;
  position: relative;
  right: 0px;
  left: 100px;
  bottom: 5px;
  display: block;
  margin: 0px;
}

.logodiv .logostw {
  display: none;
  position: absolute;
  z-index: 99;
}

.logodiv:hover .logostw {
  display: inline;
}

.logostw {
  width: 250px;
  position: absolute;
  right: 30px;
  top: 5px;
}

.LogoRed {
  width: 250px;
  position: absolute;
  right: 30px;
  top: 5px;
}

.logodiv h1 {
  position: absolute;
  top: 35px;
  right: -75px;
  font-family: futura;
  font-size: 24px;
}

}
    
@media(min-width: 1160px) {
  
.open-slide {
      display: none;
}
  
}
    
@media(max-width: 590px) {

.logodiv h1 {
  display: none;
}

.coursebox {
  background-color: white;
  color: black;
  margin: 20px 15px;
  flex-basis: 350px;
  /* flex-grow: 0; */
  /* flex-shrink: 0; */
  height: auto;
  border-radius: 20px;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
  overflow: hidden;
}

.courseTop {
  width: 350px;
  height: 250px;
  margin: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
}

.courseBottom h1 {
  margin-bottom: 5px;
}

.courseBottom hr {
  
}

.courseBottom {
  margin: 25px 25px;
  /* border-top: 10px solid green; */
}

.courseTop img {
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}
  /* position: relative;
  top: -10px;
  left: -50px; */
  /* display:block;
  margin:auto; */
}

}

@media(max-width: 400px) {

  .logodiv h1 {
    display: none;
  }
  
  .coursebox {
    background-color: white;
    color: black;
    margin: 20px 15px;
    flex-basis: 200px;
    /* flex-grow: 0; */
    /* flex-shrink: 0; */
    height: auto;
    border-radius: 20px;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
    overflow: hidden;
  }
  
  .courseTop {
    width: 200px;
    height: 250px;
    margin: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
  }
  
  .courseBottom h1 {
    margin-bottom: 5px;
  }
  
  .courseBottom hr {
    
  }
  
  .courseBottom {
    margin: 25px 25px;
    /* border-top: 10px solid green; */
  }
  
  .courseTop img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    flex-shrink: 0;
  }
    /* position: relative;
    top: -10px;
    left: -50px; */
    /* display:block;
    margin:auto; */
  }
  
  } 