/*
* Header
*/


/*
header.masthead:after{
  content:'';
  position:absolute;
  bottom:0; left:-0px;
  border-left:50vw solid #fff;
  border-right:50vw solid #fff;
  border-top:80px solid transparent;
  z-index: 0;
}
*/


/* Loader
This only works with JavaScript,
if it's not present, don't show loader */

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url("/static/css/img/loader.gif") center no-repeat #fff;
}

main.static_pages {
    margin: 0px;
}


/*
* LOGO
*/

.logo {
    max-height: 30px;
}


/*
* navbar header
*/

.container-navbar {
    max-width: 95%;
    padding: 0px;
}

.container-navbar a:hover {
    text-decoration: none !important;
}

.container-navbar .btn,
.container-navbar .navbar-toggler,
#courses .btn {
    letter-spacing: 0px;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.8em;
    color: white;
}

.container-navbar .btn:hover {
    background-image: none;
}

.container-navbar .navbar-toggler:hover {
    background-image: none;
    background-color: white;
}


.container-navbar .btn:active,
.container-navbar .navbar-toggler:active,
.container-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.container-navbar .btn-register,
.container-navbar .btn-register:hover {
    background-color: var(--primary);
}

.container-navbar .btn-login,
.container-navbar .btn-login:hover {
    background-color: #929292;
}

.container-navbar .dropdown-menu .dropdown-item:hover,
.container-navbar .dropdown-menu .dropdown-item:active{
    color: var(--primary) !important;
    background-color: #f8f9fa !important;
}



/*
* index
*/

.window-wrap {
    margin-top: 90px;
}

.content-wrapper {
    padding: 0 !important;
}

hr.divider {
    margin: 0 auto;
}

/*
* que es
*/

.responsive-img {
    width: 100%;
    height: auto;
}

#edu_formacion {
    border-top: 15px solid white;
    border-bottom: 15px solid var(--primary);
}

#edu_formacion a {
    color: var(--primary);
}



/* Programas*/

#programas .card {
    border: none;
    background-color: transparent;
    color: #f5f5f5;
}

#programas .card-body {
    padding: 1rem 0;
    text-align: center;
}

#programas .card-title {
    text-transform: uppercase;
    font-family: 'Avenir-Medium';
    font-weight: bold;
    min-height: 2.5em;
}

#programas .card-text {
    font-family: 'Avenir-Medium';
    overflow: hidden;
    max-height: 4.5em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#programas .card-footer {
    padding: 0 1rem;
}

#programas .card-footer .btn {
    width: 100%;
}

#programas a:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}


/*
* Testimonios
*/

#testimonios .container {
    max-width: 100%;
}

#testimonios .carousel {
    margin: 5px auto;
    padding: 0 70px;
}

#testimonios .carousel .item {
    color: #424141;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    min-height: 290px;
}

#testimonios .carousel .item .img-box {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

#testimonios .carousel .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

#testimonios .carousel .testimonial {
    padding: 30px 0 10px;
    color: #717171;
}

#testimonios .carousel .overview {
    color: #717171;
}

#testimonios .carousel .overview b {
    font-family: 'Avenir-Black';
    text-transform: uppercase;
    color: var(--primary);
}

#testimonios .carousel .carousel-control {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    top: 50%;
    background: none;
}

#testimonios .carousel-control img {
    height: 30px;
    position: absolute;
    display: inline-block;
    color: white;
}

#testimonios .carousel .carousel-indicators {
    bottom: -40px;
}

#testimonios {
    border-top: 15px solid var(--primary);
}


/*
* Modelo Instruccional
*/

#modelo_instruccional .featurette-heading {
    line-height: 1;
    color: var(--primary);
}

#modelo_instruccional .lead {
    font-size: 1.0rem;
    text-align: justify;
}

#modelo_instruccional .responsive-img {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    height: auto;
}


/*
* Courses
*/

#courses {
    border-top: 15px solid white;
    border-bottom: 15px solid var(--primary);
    background-color: white;
    padding: 0;
}

#courses .courses-filter {
    background-color: #f8f9fa;
}

#courses .filter-button {
    background-color: var(--secondary);
    padding: 0.8rem 2.25rem;
}

#courses .filter-button.active {
    background-color: var(--primary);
}

#courses .course-link {
    text-decoration: none !important;
}

#courses .card {
    padding: 10px;
    border: 3px solid #aaaaaa;
    border-radius: 10px;
    padding-bottom: 2.5rem;
    transition: all 0.2s;
}

@media (min-width: 992px) {
    #courses .card:hover {
        margin-top: -.5rem;
        margin-bottom: .5rem;
    }
}

#courses .card-header {
    background-color: #ffffff;
    color: #8c8c8c;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 5px 0;
    border-bottom: 1px solid #aaaaaa;
}

#courses .card-category {
    color: #8c8c8c;
    padding: 10px 0;
    font-size: 0.75rem;
    font-family: 'Avenir-Black';
}

#courses .card-body {
    padding: 0;
    flex: none;
}

#courses .card-body .card-title {
    font-size: 0.9rem;
    font-family: 'Avenir-Medium';
}

#courses .card-image {
    background-color: #eeeeee;
    padding: 20px;
}

#courses .card-footer {
    text-align: center;
    position:absolute;
    bottom:0;
    width:100%;
    padding-bottom: 10px;
}

/*
* Course preview
*/

#course .preview {
    color:#8c8c8c;
}

#course h3 {
    color: #424141;
}

#course .overview b {
    font-family: 'Avenir-Black';
    text-transform: uppercase;
    color: var(--primary);
}

#course .preview .btn:hover,
#course .preview .btn:focus {
    background-image: none;
    background-color: var(--primary);
    box-shadow: none;
    border: transparent;
}

/*
* Help page
*/

#help {
    padding-bottom:1rem;
}

#help #faq {
    background-color: #f5f5f5;
}

#help #contact {
    background-color: #2b2b2b;
    color: white;
}

#help #contact .btn-submit {
    border-radius: 20px;;
}

@media (min-width: 992px){
    #help #faq .help-container {
        margin-left: 10vw!important;
    }

    #help #contact .help-container {
        margin-right: 10vw!important;
    }
}

#help .accordion {
    cursor: pointer;
    width: 100%;
    outline: none;
}

#help .card-header {
    padding: 0;
    background-color: var(--primary);
    border: var(--primary);
    padding: 0.375rem 0.75rem;
    letter-spacing: 0px;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

#help .card-body {
    text-align: justify;
    padding: 1.25rem;
    display: none;
    background-color: white;
    overflow: hidden;
}

#help .card-header .accordion-text {
    float: left;
    text-align: justify;
}

#help .btn-submit:hover,
#help .btn-submit:focus {
    background-image: none;
    background-color: var(--primary);
    border-color: var(--primary);
}

/*
* Footer
*/

footer a {
    color: var(--primary) !important;
}

footer div {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}