/********** Template CSS **********/
:root {
    --primary: #f46722;
    --light: #F0FBFC;
    --dark: #8f3400;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
p,li {
    font-size: 1.2rem;
}
button:focus span {
    outline:0;
}

input::placeholder {
    color:#ccc;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}
/*** Animación ***/
@media (orientation: landscape) {
    #anidesk {
      display: block;
    }
    #animobil {
        display: none;
      }
  }
  @media (orientation: portrait) {
    #anidesk {
      display: none;
    }
    #animobil {
        display: block;
      }
  }

  /*** Hero header ***/
  .subnav-hero-section.solid-color {
    background: var(--primary);
    height: 6rem;
    text-align:center;
}
.subnav-hero-headline {
    font-family: 'Lora';
    text-align: center;
    font-size: 1.4rem;
    top: 50%;
    left: 50%;
    color: white;
}
@media (min-width: 768px) {
    .subnav-hero-headline {
        font-size: 2.4rem;
        padding: 20px 20px;
    }
    .photo-caption {
        font-size: 2rem;
        color: white;
        margin-top: -6rem;
        text-shadow: -2px 0 2px #000, 0 2px 2px #000, 2px 0 2px #000, 0 -2px 2px #000, 0 0 5px #000;
    }
}

.photo-caption {
    font-family: "Lora";
    text-align: center;
}


/*** Varios***/
p.lead{
    font-size:1.4rem;
}
.bullet {
    margin-left: 1.5rem;
    line-height: 1.3rem;
}
.bullet i {
    margin-left: -1.5rem;
}

/*** Navbar ***/
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}
.dropdown-menu {
    background:var(--dark);
}
.nav-item a {
    color: white;
}
.nav-item.dropdown.active{
    color: var(--primary);
}
.dropdown-menu > a:hover {
    background: var(--primary);
    color: white;
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero ***/
.hero-section {
    height: 14rem;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-headline {
    font-family: 'Lato', sans-serif;
    text-align: center;
    font-size: 1.4rem;
    text-shadow: 2px 2px 5px black;
    color: white;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.5)
}
.hero-section.solid-color  {
    background: #d0522b;
    height: 6rem;
}
.hero-section.solid-color .hero-headline {
    background: none;
}

@media (min-width: 768px){
.hero-headline {
    font-size: 3rem;
    margin:auto;
}}

/*** Header carousel ***/
#carousel {
    top: -75px;
}

.micole {
    font-weight: 800;
    font-style: oblique;
    color:#d0522b
}
.txt-carousel {
    position: absolute;
    text-align:center;
    bottom: 5%;
}
 .txt-carousel >h1{
    font-weight: 900;
    color:white;    
    text-shadow: 3px 0px 7px rgba(81,67,21,0.8), -3px 0px 7px rgba(81,67,21,0.8), 0px 4px 7px rgba(81,67,21,0.8);
 }
 .txt-carousel > h1 {
    font-size: 1.8em;
 }
 .txt-carousel > h3 {
    font-size: 1.2em;
    color: #444;
    text-shadow: 3px 0px 7px rgba(255,255,255,0.8), -3px 0px 7px rgba(255,255,255,0.8), 0px 4px 7px rgba(255,255,255,0.8);
 }
 @media (min-width: 768px) { 
    .txt-carousel > h1 {
        font-size: 3em;
     }
    .txt-carousel > h3 {
        font-size: 1.5em;
     }
  }

/*** Section  ***/
section {
    border-bottom: 1px solid #aaa;
}
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Videos ***/

.modal-dialog {
      max-width: 1280px;
      margin: 30px auto;
  }

.modal-body {
  position:relative;
  padding:0px;
}
.btn-close {
  position:absolute;
  right:30px;
  top:0;
  color: white
}

/*** Categories & Courses ***/
.course-item > div {
    background: #fff;
}
.category img,
.course-item img,
.evento-item img {
    transition: .5s;
    justify-content: center;
    width:100%;
    max-width:100%;
    max-height:100%
}

.category a:hover img,
.course-item:hover img,
.evento-item:hover img {
    transform: scale(1.1);    
    transform-origin: center center;
}


/*** Eventos ***/
.excerpt {
    color: #333;
    font-size: 1rem;
}

/*** Accordion ***/
.accordion-button {
    background-color: var(--primary);
    color: white;
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 1.2rem; 
}
.accordion-button:not(.collapsed) {
    background-color: #af3a0e;
    color: white;
  }
  .accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  .accordion-button:not(.collapsed):after{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }

/*** Ligthbox ***/
.spl-prev, .spl-next{
    background-size: 6rem;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
footer{
    background:var(--dark);
    color: white;
}
footer p{
    margin: 0;
    padding: 0;
    font-size: medium;
    font-weight: normal;
}
footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}
footer .copyright{
        border-top: 1px solid rgba(255, 255, 255, 0.6);
        padding-top: 5px;
        color: white;
        font-size: medium;
        font-weight: 300;
}

