/*
   _  ___
| |/ (_) |__  ___
| ' <| | '_ \/ _ \
|_|\_\_|_.__/\___/

KIBO STUDIOS // ADVERTISING ® 2018
This file was originally created by Kibo.
No public diffusion allowed. Code rights reserved.
Contact us info@kibostudios.com
www.kibostudios.com

*/

/************************ RESPONSIVE ************************/

/* X-Large desktop */
@media (min-width: 1920px) {
}

/* Large desktop */
@media (max-width: 1023px) {

    .navbar-default .navbar-nav > li.dropdown > a,
    .navbar .menu-item.dropdown > li > a,
    .navbar .dropdown-menu > li > a,
    .navbar .dropdown-menu > li > a:hover,
    .navbar .dropdown-menu > li > a:active,
    .navbar .dropdown-menu > li > a:focus,
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav > .open > a:focus,
    .navbar-default .navbar-nav > .open > a:hover {
        width: 100%;
    }

    .navbar-nav > li > .dropdown-menu {
        background: black;
    }

    .navbar .dropdown-menu > li > a {
        width: 100%;
        font-size: 13px;
        line-height: 13px;
        font-weight: 500;
        background: black;
        color: white;
        text-align: center;
    }

    body.navbar-collapse-shown .header.slide-in-top {
        height: 100%;
    }

    .featured-info {
        padding: 30px 15px;
    }

    .gallery-modal-youtube-iframe {
        min-width: 512px;
        min-height: 288px;
    }

    .form-errors p {
        margin-top: 0;
    }

    form.subscription-form label[for="document-number"] {
        margin-right: 0;
    }

    .mini-header .row > div:last-child{
        text-align: right;
    }

    .quotes-carousel .item, .quotes-carousel .carousel-inner, .quotes-carousel{
        min-height: 400px;
    }

    .info-background {
        padding: 50px 0;
    }

    .cunef-location,.internacional {
        padding: 70px 0;
    }

    .claustro .box-image {
        padding: 120px 0;
    }

    /* HAMBURGUESA */
    .menu-toggle{
        display: block;
        z-index: 999;
        margin-top: 0;
    }

    .menu-toggle span{
        background:  black;
    }

    .menu-toggle.collapsed span{
        background-color: #DADADA;
    }

    .navbar-default {
        position: relative;
        top: 0;
    }

    .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover{
        text-align: center;
        color: white;
    }

    .navbar-default .navbar-nav {
        overflow-y: auto;
    }

    .navbar-header {
        float: right;
    }

    .navbar-default .navbar-nav {
        margin: 0;
        padding: 100px 0;
        min-height: 0;
        background: rgba(255,255,255,.95);
        transition: all .6s;
    }

    .navbar-default .navbar-collapse.in {
        display: block!important;
        overflow-y: hidden;
    }

    .navbar-default .navbar-collapse {
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        border: none;
        text-align: center;
        background: rgba(255,255,255,.95);
        margin: 0px;
        overflow: hidden;
    }

    .navbar-collapse.collapse {
        display: none!important;
    }

    .navbar-space{
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .navbar-default .navbar-nav > .active > a{
        color: black;
    }

    .navbar-default .navbar-nav > li > a{
        color: black;
        text-align: center;
        display: inline-block;
    }

    .navbar-default .navbar-nav > li > a.students-access-btn {
        color: black;
    }

    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > li > a:active {
        color: #ec7301;
    }

    .open .dropdown-menu{
        position: absolute;
    }

    .language .dropdown-menu{
        background-color: #fff!important;
    }

    .navbar-nav>li,
    .navbar-nav{
        float: none;
    }

    /* FIN HAMBURGUESA*/

    .navbar-default .navbar-nav>li>a,
    .navbar-default .navbar-nav>li>a:hover,
    .navbar-default .navbar-nav>li>a:focus,
    .upper-header-menu.navbar-default .navbar-nav>li>a,
    .upper-header-menu.navbar-default .navbar-nav>li>a:hover,
    .upper-header-menu.navbar-default .navbar-nav>li>a:focus{
        padding: 10px;
    }

    .header .logo{
        max-width: 108px;
        margin: 15px 0;
        width: auto;
        height: auto;
    }

    .header.home-header{
        background-color: white;
    }

    .navbar{
        min-height: 30px;
    }

    .header:before,
    .header:after{
        display: none;
    }

    header .language a{
        text-transform: uppercase;
        position: relative;
    }

    header .language a::before{
        content: "/";
        position: absolute;
        color: white;
        right: -5px;
        top: 10px;
        font-weight: bold;
    }

    header .language a:last-child::before{
        display: none;
    }

    header .language a.active,
    .upper-header-menu.navbar-default .navbar-nav>li>a.active{
        color: #ec7301;
        font-weight: bold;
    }

    .upper-header-menu.navbar-default .navbar-nav>li>a.students-access-btn:hover,
    .upper-header-menu.navbar-default .navbar-nav>li>a.students-access-btn:active,
    .upper-header-menu.navbar-default .navbar-nav>li>a.students-access-btn:focus {
        background-color: #ec7301;
    }

    .big-carousel .item .title{
        font-size: 45px;
        line-height: 45px;
    }

    h2,
    h2 p {
        font-size: 40px;
        line-height: 40px;
    }

    .boxes-with-color-titles .arrow-box{
        margin: 15px 0;
    }

    .boxes-with-color-titles div:last-child > .arrow-box{
        margin-bottom: 0;
    }

    .box-content {
        padding: 40px 0px;
    }

    .social-links li a {
        width: 45px;
        height: 45px;
    }

    .right-event-filter-box-controls .clear-filter,
    .clear-filter {
        margin-right: 7.5px;
        font-size: 14px;
        letter-spacing: -.3px;
    }

    .row-agenda-header,
    .row-agenda-body {
        padding-left: 30px;
    }

    .boxes-desc-image .box {
        flex: 1 1 45%;
    }
    .boxes-desc-image .box > .box-inner {
        flex: 1 1 45%;
        margin: 0 7.5px;
    }

    .big-carousel .prev-arrow,
    .big-carousel .next-arrow {
        left: 75%;
        bottom: 30px;
    }

    .big-carousel .next-arrow {
        left: calc(75% + 60px);
    }

    .big-carousel-youtube-video-wrapper {
        transform: translateY( -50% ) scale( 2 );
    }

    /************************ MEGAMENU JS ************************/
    .header.header-open {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: white;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .header-logo-col {
        width: 64px;
        position: absolute;
    }

    .menu.megamenu > ul {
        margin: 11.25px 0;
        text-align: center;
    }

    .header .logo {
        max-height: 64px;
        margin: 0;
        width: auto;
        height: auto;
    }

    .header-menu-col {
        width: 100%;
        padding-left: 0;
    }
    .menu.megamenu > ul > li > ul {
        position: relative;
        flex-flow: column wrap;
    }
    .menu-container {
        width: 100%;
    }
    .menu-mobile {
        display: block;
        color: black;
        padding: 20px 0 39px;
    }

    .menu > ul {
        display: none;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }
    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }
    .menu > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul.normal-sub {
        width: 100%;
    }
    .menu > ul > li > ul > li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    .menu > ul > li > ul > li:first-child {
        margin: 0;
    }
    .menu.megamenu > ul > li > ul {
        padding: 15px 0;
    }
    .menu.megamenu > ul > li > ul.sub-menu:not(.normal-sub) > li {
        margin-bottom: 30px;
    }
    .menu.megamenu > ul > li > ul.normal-sub {
        padding-top: 0;
        padding-bottom: 6px;
    }
    .menu > ul > li > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul > li > ul > li {
        float: none;
    }
    .menu .show-on-mobile {
        display: block;
    }

    .menu.megamenu > ul > li a {
        padding: 18.75px 15px;
        width: auto;
        display: inline-block;
    }

    .menu.megamenu>ul>li a.students-access-btn,
    a.students-access-btn {
        width: auto;
        max-width: 175px;
        display: block;
        margin: 18.75px auto;
    }

    .menu-dropdown-icon:before {
        display: block;
    }

    .menu-dropdown-icon.open:before {
        content: '-';
    }

    .menu.megamenu .menu-dropdown-icon {
        padding-left: 0;
        padding-right: 0;
        cursor: pointer;
    }
}

/* Portrait tablet to landscape and desktop */
@media (max-width: 991px) {

    .back,
    .back:hover,
    .back:active,
    .back:focus {
        margin-top: 7.5px
    }

    .map-zone .info{
        padding: 25px;
    }

    .color-box{
        margin: 15px 0;
    }

    .color-boxes-col{
        margin: 20px 0;
    }

    .images-with-titles .box-items{
        margin:20px 0;
    }

    .boxes-with-color-titles .arrow-box{
        margin:15px 0;
    }

    .quotes-carousel .title,
    h2, h2 p {
        margin-bottom: 50px;
    }

    .quotes-carousel .title::before,
    h2::after {
        bottom: -25px;
    }

    .footer:after{
        display: none;
    }

    .quotes-carousel .quote{
        font-size: 30px;
    }

    .study-description .title-program{
        margin-top: 50px;
    }

    .event-filter .nav-tabs li img {
        left: 2.5px;
        top: -1px;
    }

    .event-filter .event-filter-tabs-title p,
    .filter-box li {
        padding: 0 7.5px;
    }

    .btn-cunef.btn-submit-event-filter {
        padding: 5px 25px;
    }

    .event-filter-box-controls {
        min-height: 0;
        margin-bottom: 15px;
    }

    .right-event-filter-box-controls {
        padding: 0;
    }

    .right-event-filter-box-controls input,
    .right-event-filter-box-controls .search-box,
    .right-event-filter-box-controls .search-box input {
        width: 100%;
        display: block;
    }

    .event-filter-category-table .event-category-filter-item {
        padding: 7.5px;
    }

    .event-category-filter-item .event-category-filter-item-input.checkbox {
        text-align: right;
    }

    .btn-submit-event-filter{
        margin: 15px 0;
    }

    .right-event-filter-box-controls .clear-filter,
    .clear-filter  {
        margin-bottom: 7.5px;
        display: inline-block;
    }

    .blog-content .blog-archive-sidebar {
        margin-left: 30px;
    }

    .row-agenda-header,
    .row-agenda-body {
        padding-left: 0;
    }

    .agenda .agenda-item {
        margin-bottom: 15px;
    }

    .docente-info {
        margin-bottom: 30px;
    }
}

/* Media query for when the WP Admin bar goes bigger */
@media ( max-width: 782px ) {
    body.admin-bar .header.slide-in-top {
        top: 46px;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    .big-carousel-youtube-video-wrapper {
        transform: translateY( -50% ) scale( 3 );
    }

    .accordion-columns .accordion-column {
        min-width: 35%;
    }

    ul.personal-info-list.two-columns {
        column-count: 1;
    }

    .navbar-default .navbar-nav > li.dropdown > a,
    .navbar .menu-item.dropdown > li > a,
    .navbar .dropdown-menu > li > a,
    .navbar .dropdown-menu > li > a:hover,
    .navbar .dropdown-menu > li > a:active,
    .navbar .dropdown-menu > li > a:focus,
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav > .open > a:focus,
    .navbar-default .navbar-nav > .open > a:hover {
        width: 100%;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a
    .navbar-nav>li>.dropdown-menu {
        background: white;
        color: black;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: black;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu>.active>a,
    .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,
    .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover {
        background: #ec7301;
        color: white;
    }

    .navbar .dropdown-menu > li > a {
        width: 100%;
        font-size: 13px;
        line-height: 13px;
        font-weight: 500;
        background: white;
        color: black;
        text-align: center;
    }

    ul.studies-list {
        flex-flow: column nowrap;
    }

    .blog-content .blog-archive-sidebar {
        margin-left: 0;
        padding: 0 15px;
    }

    .boxes-desc-imag .box-image {
        min-height: 250px;
    }

    .box-docente {
        text-align: center;
        margin-bottom: 0;
    }

    .box-docente.teacher-name p {
        margin-bottom: 0;
    }

    .box-docente.teacher-title p {
        font-weight: 300;
        color: #ec7301;
        line-height: 1.15em;
        margin-bottom: 30px;
    }

    .footer-menu {
        margin-bottom: 30px;
    }

    .social-links {
        margin-bottom: 30px;
    }

    .header:before,
    .header.home-header:after {
        display: none;
    }

    .header.home-header {
        background: white;
    }

    .navbar-default {
        right: 0;
    }

    .lateral-accordion .nav-tabs{
        margin-bottom: 50px;
    }

    .arrow-boxes.images-with-title-and-descriptions .desc-box{
        margin-bottom: 50px;
    }

    .mini-header .row{
        flex-wrap: wrap;
    }

    .mini-header .row > div:last-child{
        text-align: left;
    }

    .mini-header .btn-cunef{
        margin-top: 30px;
    }

    .box-content {
        padding: 35px 0px;
    }

    .footer .row > div.copyright{
        margin-top: 50px;
    }

    .big-carousel .absolute-centered{
        width: 100%;
    }

    .big-carousel .item .title {
        font-size: 32px;
        line-height: 34px;
    }

    footer{
        text-align: center;
    }

    .map-zone .map {
        max-height: 200px;
        position: relative;
    }

    .map-zone .info{
        margin: 0;
    }

    .map-zone .info{
        padding: 15px 0;
    }

    .table-zone .nav-tabs li {
        margin-right: 30px;
        padding-left: 0;
    }

    .table-zone .nav-tabs{
        border-bottom: 0;
    }

    .filter-box .filters > div.dropdown,
    .filters .multimedia-gallery-filter-title {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .filter-box .filters > div.dropdown{
        border-right: 0;
        display: block;
    }

    .multimedia-gallery-filter .clear-filter {
        float: none;
    }

    .quotes-carousel .quote {
        font-size: 24px;
        line-height: 28px;
    }

    .quotes-carousel .item .content{
        width: 90%;
    }

    .quotes-carousel .carousel-control{
        display: none;
    }

    .table-zone .tab-content{
        padding-top: 30px;
    }

    .study-description .box-img{
        min-height: 370px;
    }

    .archive-event-box .info-box{
        min-height: inherit;
    }


    .gallery-modal-youtube-iframe {
        min-width: 100%;
        min-height: 100%;
    }

    .studies-archive-related-pages .color-boxes-col {
        flex: 1 1 100%;
        margin: 30px 7.5px;
    }

    .table-zone .nav-tabs {
        flex-flow: row wrap;
    }

    .table-zone .nav-tabs li {
        width: 100%;
        margin-bottom: 15px;
    }

    .banner-with-full-link-cover .info {
        align-content: flex-start;
    }
}

/* Landscape phones and down */
@media (max-width: 480px) {

    .event-filter .event-filter-tabs-title p{
        padding-left: 0;
    }

    .table-zone td {
        width: 100%;
    }


    .study-description .item{
        width: 100%;
    }

    .content-relations .box-image{
        min-height: 300px
    }

    .big-carousel .item{
        height: 550px;
    }

    h2, h2 p {
        font-size: 30px;
    }

    h3, h3 p {
        font-size: 28px;
    }

    .color-box .title,
    .arrow-box .title {
        font-size: 25px;
    }

    .row-noticias > div:first-child .content .title{
        font-size: 22px;
    }

    h4, h4 p {
        font-size: 18px;
    }

    .mini-header,
    .box-content {
        padding: 30px 0;
    }

    .arrow-boxes .desc-box{
        padding-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .conoce-content .color-box .content{
        padding: 15px;
    }

    .conoce-content .arrow-box{
        padding-left: 0;
    }
}