html{
    font-size: 12px;
}

.h1, h1 {
    font-size: 4.3rem;
    font-weight: bold;
}

p {
    font-size: 1.2rem;
}

.parallax-window {
    min-height: 800px;
    background: transparent;
}

.width-100-px{
    width: 100px;
}

.height-100-px{
    height: 100px;
}

.padding-tb-100-px{
    padding-top: 100px; 
    padding-bottom: 100px;
}

.carousel-item{
    height: 91vh;
    background-size: cover;
    background-repeat: no-repeat;
}

#carousel_login .carousel-item{
    height: auto;
}


/*NEWS*/
.prev-news{
    height: 100%;
}

.prev-news.important{
    margin-bottom: 260px !important;
}

.prev-news.important .card-body{
    position: absolute;
    bottom: -200px;
    background: #FFF;
    left: 5%;
    right: 5%;
}

.prev-news .card-title{
    height: 95px;
    overflow: hidden;
}

.prev-news .card-text{
    height: 150px;
    overflow: hidden;
}

.prev-news .card-body {
    padding: 2.1rem;
}

.prev-news .card-title h5{
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    text-transform: capitalize;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0px !important;
    font-size: 1.3rem;
    line-height: 1.85em;
}

.prev-news .card-title h5 > small{
    color: #3186b7;
    font-weight: 600;
    font-size: 12px;
}

.prev-news .card-text p{
    font-family: 'Lato', sans-serif;
    color: #666666;
    font-size: 16px !important;
    font-weight: 300;
    margin-bottom: 2.3125rem;
    line-height: 1.85em;
}

.section-noticias{
    background-color: #EAEDEF;
    padding-top: 100px;
    padding-bottom: 0px;
}

.box-pagination > nav{
    display: inline-block;
}

.prev-news .fa-plus{
    background: #3186b7;
    padding: 10px 20px;
    position: absolute;
    color: white;
    border-radius: 1px;
    font-size: 10px;
    right: 0px;
    bottom: 0px;
    cursor: pointer;
}

#btnToggleOffCanvas{
    line-height: 35px;
    text-align: center;
    background: #4c4c4c;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 10px;
    margin-top: 15px;
}

.offcanvas-collapse.open {
    z-index: 3;
}

#boxPagination .page-item.active .page-link {
    color: #FFF;
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.modal-content {
    background-color: transparent;
}

#mdl-news {
    z-index: 1041;
    background: rgba(0,0,0, .4);
}

#mdl-news  .modal-dialog{
    max-width: 970px;
}

#mdl-news .modal-header{
    position: relative;
    background: #f7f8f9;
    border-radius: 5px 5px 0px 0px;
    padding: 0;
}

#mdl-news .modal-header .close{
    position: absolute;
    top: 22px;
    right: 22px;
}

#mdl-news .modal-body {
    position: relative;
    background: #f7f8f9;
    border-radius: 0px 0px 5px 5px;
    padding: 0;
    margin-bottom: 20px;
}

.mdl-news-media {
    height: 260px;
    width: 100%;
    background-size: contain;
    overflow: hidden;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: rgba(0,0,0, .6);
}

.modal-body-news .news-title {
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 36px;
    text-align: center;
    color: #5B5A5E;
    text-transform: capitalize;
    margin-bottom: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    visibility: visible;
}

.mdl-news-inner .news-body{
    font-family: 'Lato', sans-serif;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    visibility: visible;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85em;
    font-weight: 300;
    margin-bottom: 2.3125rem;
}

.mdl-news-media img, .mdl-news-media video {
    visibility: visible;
    height: 100%;
    width: auto;
}

.mdl-news-inner {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.mdl-news-inner .news-date, 
.mdl-news-inner .news-vistas, 
.mdl-news-inner .news-likes, 
.mdl-news-inner .news-comments {
    margin-top: 2.4rem;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    line-height: 1rem;
    vertical-align: middle;
    margin-bottom: 0;
    visibility: visible;
    display: inline-block;
    margin-right: 0.7em;
}

.mdl-news-inner .news-date p, 
.mdl-news-inner .news-vistas p, 
.mdl-news-inner .news-comments p, 
.mdl-news-inner .news-likes p {
    display: inline;
    vertical-align: text-bottom;
    visibility: visible;
    font-size: 12px;
    margin-left: 10px;
    margin-right: 20px;
}

section.course-comments{
    margin-top: 30px;
}


/*LOGIN*/
#mdl_login .logo-login{
    max-width: 390px;
    margin-bottom: 60px;
}

#mdl_login .title{
    color: #FFF;
    font-size: 2rem;
}

#mdl_login .recup-pass{
    cursor: pointer;
    color: #FFF;
}

#mdl_login #form_recu_pass{
    color: #FFF;
}

#mdl_login #form_recu_pass label{
    color: #FFF;
}

#mdl_login #form_recu_pass .recup-pass-info{
    font-family: 'Lato', sans-serif;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    visibility: visible;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85em;
    font-weight: 300;
    margin-bottom: 2.3125rem;
}

#mdl_login .modal-dialog{
    max-width: 600px;
}

#mdl_login .modal-content{
    border-radius: 35px;
    background: rgba(255, 255, 255, .3);
    background: #2D2D2D;
    margin-top: 100px;
}

.modal-body-login {
    padding: 50px;
}

/*CONTACT*/
#section-contact{
    height: 100vh;
    background-image: url('/ahome/images/bg_contact.jpg');
    background-size: cover;
}

#section-contact .col-contact{
    height: 100vh;
}

#bg-form-contact {
    background-color: #2d2d2d;
    padding: 25px 30px;
}

.text-info-contact{
    color: #FFF;
    text-align: center !important;
    font-size: 14px;
    font-weight: 300;
    text-transform: inherit !important;
}

.text-title-contact{
    font-weight: bold;
    color: #FFF;
    text-align: center !important;
    font-size: 3rem;
    text-transform: inherit !important;
}

#home_contacto_custom .form-control {
    border: 1px solid #ced4da;
    background-color: #FFF;
    color: #2d2d2d;
    border: 0px;
}

#home_contacto_custom .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #2d2d2d;
}

#form_contacto_home{
    max-width: 480px;
    margin: auto;
}

.news-search #button-addon2{
    border: 1px solid #ddd;
    border-radius: 0px 25px 25px 0px;
    padding-left: 20px;
    padding-right: 20px;
}

#mdl_contrasenia .modal-body{
    padding: 1em 2em
}

.course-comments-postcoms-comment-details button{
    color: #666;
    font-size: 14px;
}

.comment-img{
    height: 50px;
    width: 50px;
}

.comment-text{
    font-size: 14px;
    color: #666;
}

.link-ver-respuesta{
    cursor: pointer;
    font-weight: bold;
    color: blue;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 575.98px) { 
    .text-title-contact{
        font-size: 44px;
    }
}

@media (max-width: 767.98px) {
    .modal-body-login {
        padding: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .login-logo img{
        max-height: 40px !important;
    }

    #mdl_contrasenia .modal-body{
        padding: 1em 2em;
    }
}

.card-img-top{
    max-height: 328px ;
    object-fit: cover;
}

@media (min-width: 576px) {
    .card-img-top{
        max-height: 159px ;
        object-fit: cover;
    }
  }
  
  @media (min-width: 768px) {
    .card-img-top{
        max-height: 218px ;
        object-fit: cover;
    }
  }
  
  @media (min-width: 992px) {
    .card-img-top{
        max-height: 299px ;
        object-fit: cover;
    }
  }
  
  @media (min-width: 1200px) {
    .card-img-top{
        max-height:358px ;
        object-fit: cover;
    }
}