html, body, #APP {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: 'Cabin', sans-serif;
  font-size: max(100%, 2.3vh);
}

.ml-25 {
  margin-left: 25% !important;
}

.bg-darkcyan {
  background-color: darkcyan;
}

#content-course .table {
  font-size: 15px;
}

.navbar-brand, .btn-primary {
  color: #fff !important;
}

.control-section {
  min-width: 100%;
}
.control-section .btn{
  float: right;
}

/* MENU SECTION */
#menu {
  -webkit-box-shadow: 0px 2px 28px 4px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 2px 28px 4px rgba(0,0,0,0.75);
  box-shadow: 0px 2px 28px 4px rgba(0,0,0,0.75);
}
#menu .carrito-btn {
  border: 1px solid white;
  border-radius: 5px;
  color: white;
}
#menu .carrito-btn:hover {
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #ddd;
}
#menu .badge {
  color: inherit;
}
/* SUBTITULO */
#subtitle .sub-title {
  background-color: lightgray;
  text-shadow: 2px 2px darkgray;
  padding: 10px;
  color: white;
}
/* LISTADO SECTION */
#courses-list {
  padding-top: 15px;
  min-height: 90vh;
}
#courses-list .card {
  margin: 7px 5px;
  font-size: 1rem !important;
  /*max-width: 32%;
  float: left;*/
}
#courses-list .col-sm-12 {
  padding-bottom: 10px;
}
#courses-list .card-full{
  width: 100%;
  max-width: 100%;
}
#courses-list .card img {
  height: 338px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.free-course .card-body .control-section .btn {
  background: green;
}
.card-text {
  text-align: justify;
}
.card-text > li {
  margin-left: 15px;
}
/* DETALLES DE CURSOS */
#course-detail, #carrito, #form-alumno, #detalle_compra, #login-section{
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: 87vh;
}
#course-detail .card {
  margin-left: 10%;
  margin-right: 10%;
}
#course-detail .por-comp {
  text-align: right;
  font-weight: bold;
}
#content-course h3 {
  text-align: center;
}
.card-body {
  text-align: center;
}
.card-body .container {
  max-width: 800px;
}

/* FOOTER */
.footer {
  /*position: fixed;
  line-height: 7vh;
  bottom: 0;*/
  width: 100%;
  height: 7vh;
  background-color: #f5f5f5;
  text-align: center;
  padding-top: 2vh;
}
.footer-tamay {
  font-size: 18px;
}
/* OPEN CLASS */
/* The side navigation menu */
.sidenav {
   height: 100%; /* 100% Full-height */
   width: 0; /* 0 width - change this with JavaScript */
   position: fixed; /* Stay in place */
   z-index: 1; /* Stay on top */
   top: 0; /* Stay at the top */
   left: 0;
   background-color: #111; /* Black*/
   overflow-x: hidden; /* Disable horizontal scroll */
   padding-top: 60px; /* Place content 60px from the top */
   transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
   padding: 8px 8px 8px 32px;
   text-decoration: none;
   font-size: 15px;
   color: #818181 !important;
   display: block;
   transition: 0.3s;
   cursor: pointer;
}/* The navigation menu links */
.sidenav .tittle{
   padding: 8px 32px;
   text-decoration: none;
   font-size: 25px;
   color: #f1f1f1;
   display: block;
   transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
   color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
   position: absolute;
   top: 0;
   right: 25px;
   font-size: 36px;
   margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#non-side-nav {
   transition: margin-left .5s;
   padding: 20px;
}
#classroom .card {
  margin-bottom: 80px;
}
#classroom .card iframe, #classroom .card object, #classroom .card embed {
  width: 100%;
  height: 87vh;
}
#classroom .card audio {
  width: 100%;
}

#classroom .controls-nav {
  text-align: center;
}

#classroom .controls-nav .btn-group, #classroom .controls-nav .btn-group-vertical {
  border-radius: 5px;
  border: darkgray solid 2px;
}

#classroom .mobile iframe {
  max-height: 30vh;
}
/*LOGIN CSS FROM https://bootsnipp.com/snippets/featured/clean-modal-login-form*/
.login-container{
  position: relative;
  width: 300px;
  margin: 80px auto;
  padding: 20px 40px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ccc;
}

#output{
  position: absolute;
  width: 300px;
  top: -75px;
  left: 0;
  color: #fff;
}

#output.alert-success{
  background: rgb(25, 204, 25);
}

#output.alert-danger{
  background: rgb(228, 105, 105);
}


.login-container::before,.login-container::after{
  content: "";
  position: absolute;
  width: 100%;height: 100%;
  top: 3.5px;left: 0;
  background: #fff;
  z-index: -1;
  -webkit-transform: rotateZ(4deg);
  -moz-transform: rotateZ(4deg);
  -ms-transform: rotateZ(4deg);
  border: 1px solid #ccc;
}

.login-container::after{
  top: 5px;
  z-index: -2;
  -webkit-transform: rotateZ(-2deg);
  -moz-transform: rotateZ(-2deg);
  -ms-transform: rotateZ(-2deg);
}

.avatar{
  width: 100px;height: 100px;
  margin: 10px auto 30px;
  border-radius: 100%;
  border: 2px solid #aaa;
  background-size: cover;
}

.form-box input{
  width: 100%;
  padding: 10px;
  text-align: center;
  height:40px;
  border: 1px solid #ccc;;
  background: #fafafa;
  transition:0.2s ease-in-out;
}

.form-box input:focus{
  outline: 0;
  background: #eee;
}

.form-box input[type="text"]{
  border-radius: 5px 5px 0 0;
  text-transform: lowercase;
}

.form-box input[type="password"]{
  border-radius: 0 0 5px 5px;
  border-top: 0;
}

.form-box button.login{
  margin-top:15px;
  padding: 10px 20px;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

#carrito .cost {
  text-align: center;
}

.image-container {
    position: relative;
    text-align: center;
    color: white;
}

.image-container .bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

.course {
  color: inherit;
}

.course:hover {
  color: inherit;
  text-decoration: none;
}


@media screen and (min-width: 1000px) {
  .card-img-top {
     border-radius: calc(.25rem - 1px);
  }
}
@media screen and (max-height: 450px) {
   .sidenav {padding-top: 15px;}
   .sidenav a {font-size: 18px;}
}
@media screen and (max-width: 1000px) {
    #courses-list .card, #course-detail .card {
      margin: 0;
      margin-left: 5%;
      margin-right: 5%;
    }
    #course-detail .card img {
      max-width: none;
    }

    h3 {
      font-size: 1.75rem;
    }
}
@media screen and (max-width: 1000px and min-width: 650px){


  .login-container {
    height: 80vw;
    width: 80vw;
  }
  .login-container .form-box {
    margin-top: 12vw;
  }
  .login-container h3 {
    font-size: 4.75rem;
    padding-bottom: 4vw;
  }
  .login-container .input-group {
    padding-bottom: 4vw;
  }
  .login-container input {
    height: 5rem;
    font-size: 2.75rem;
  }
  .login-container .btn {
    font-size: 2.75rem;
  }
}
.green {
  color: green;
}
