/*============================================
    Screen Size
============================================*/

@media all and (max-width: 991px) {
    #qlinks img {
        max-width: 70%;
    }
    #foot,
    #directorio,
    #main-body #directorio h3 {
        text-align: center;
    }
    #foot h4 {
        border-top: 1px dashed white;
    }
}
@media all and (max-width: 767px) {
    #qlinks img {
        width: 70%;
    }
    #head-img h1 {
        width: 100%;
        text-align: center;
    }
}
@media all and (max-width: 340px) {
    .navbar-brand {
        width: 190px;
        height: auto;
    }
}

/*============================================
    General
============================================*/

body {
    background-color: white;
}
.column {
    margin-bottom: 40px;
}
.bordered {
    border: 1px solid #ccc;
}
#legales img:hover,
.navbar-brand:hover,
.nav-toggle:hover,
#sponsors img:hover {
    opacity: 1;
}
a,
a:hover {
    cursor: pointer;
}

/*============================================
    Buttons
============================================*/

.btn-laa {
    height: 35px;
    background-color: transparent;
    border: 1px solid black;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    padding-top: 5px;
    color: black;
    border-radius: 2px;
}
.btn-laa:focus,
.btn-laa.focus {
    color: #aaa;
    border-color: #aaa;
    outline: 0;
}
.btn-laa:hover {
    color: #fff;
    background-color: black;
    border-color: black;
}

/* Botón Blanco */

.btn-laa-inv {
    height: 35px;
    background-color: transparent;
    border: 1px solid white;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    padding-top: 5px;
    color: white;
    border-radius: 2px;
}
.btn-laa-inv:focus,
.btn-laa-inv.focus {
    color: #aaa;
    border-color: #aaa;
    outline: 0;
}
.btn-laa-inv:hover {
    color: #000;
    background-color: white;
    border-color: white;
}

/* Botón Alternativo*/

.btn-laa-alt {
    height: 35px;
    background-color: transparent;
    border: 1px solid dodgerblue;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    padding-top: 5px;
    color: dodgerblue;
    border-radius: 2px;
}
.btn-laa-alt:focus,
.btn-laa-alt.focus {
    color: #aaa;
    border-color: #aaa;
    outline: 0;
}
.btn-laa-alt:hover {
    color: #000;
    background-color: white;
    border-color: white;
}

/*============================================
    Header
============================================*/

#legales {
    height: auto;
    padding-top: 7px;
    background-color: #333;
    padding-bottom: 4px;
}
#legales img {
    height: 35px;
    border: 1px solid transparent;
    opacity: 0.7;
    -webkit-transition: 0.2s all ease-in-out;
    transition: 0.2s all ease-in-out;
    margin-bottom: 4px;
}

/*============================================
    Navbar
============================================*/

#navibar {
    background-color: #000;
    width: 100%;
    z-index: 99;
    border-bottom: 1px solid #555;
}
.navbar-default {
    position: absolute;
    top: 50px;
}
.navbar-fixed {
    position: fixed;
    top: 0;
}
.navbar-brand {
    max-width: 230px;
    opacity: 0.7;
    border: 1px solid transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.nav-toggle {
    display: inline-block;
    width: 100px;
    float: right;
    opacity: 0.7;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
#menubtn {
    position: relative;
    color: white;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
    text-decoration: none;
    line-height: 48px;
    padding-left: 15px;
}
#hamburger {
    float: right;
    display: inline-block;
    width: 45px;
    margin-top: 5px;
    padding: 5px 10px;
    overflow: hidden;
    cursor: pointer;
}
#hamburger span {
    position: relative;
    -webkit-transform: rotate( 0);
    transform: rotate( 0);
    top: 0;
    left: 0;
    opacity: 1;
    background: #fff;
    display: block;
    height: 3px;
    margin: 5px 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-transition-property: top, left, opacity, -webkit-transform;
    transition-property: top, left, opacity, -webkit-transform;
    transition-property: transform, top, left, opacity;
    transition-property: transform, top, left, opacity, -webkit-transform;
}
html.mm-opened #hamburger span.top-bar {
    -webkit-transform: rotate( 45deg);
    transform: rotate( 45deg);
    top: 8px;
}
html.mm-opened #hamburger span.middle-bar {
    opacity: 0;
    left: -40px;
}
html.mm-opened #hamburger span.bottom-bar {
    -webkit-transform: rotate( -45deg);
    transform: rotate( -45deg);
    top: -8px;
}

/*============================================
    Carousel y Jumbotron
============================================*/

#owl-front {
    border-bottom: 1px solid black;
}
#owl-front .item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    -moz-backface-visibility: hidden;
    -moz-transform: translateZ(0) scale(1.0, 1.0);
}
#owl-front .item .land-img {
    width: 100%;
    height: 96vh;
    background-size: cover;
    background: center;
}
#owl-front .item .land-text {
    position: absolute;
    bottom: -200px;
    text-align: center;
    width: 100%;
    z-index: 1;
    margin-bottom: 250px;
}
#owl-front .item .land-text h4 {
    line-height: 0.3em;
    font-weight: 500;
}
#owl-front .item .land-text h1 {
    margin-top: -3px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
}
#owl-front .item .land-text h3 {
    margin-top: 20px;
    font-weight: 300;
    margin-bottom: 40px;
}
#owl-front img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 1;
}
#owl-front .owl-prev,
#owl-front .owl-next {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 45px;
    height: 60px;
    font-size: 2.5em;
    padding-top: 4px;
    color: white;
    text-align: center;
    background-color: black;
    opacity: 0.2;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}
#owl-front .owl-next {
    right: 0px;
}
#owl-front .owl-prev:hover,
#owl-front .owl-next:hover {
    opacity: 0.8;
}

/* Colores del texto y botones */

#owl-front .slide1 {
    color: #f3c672;
    text-shadow: 2px 2px 4px black;
}
#owl-front .slide1 .btn-laa {
    color: #f3c672;
    border-color: #f3c672;
}
#owl-front .slide1 .btn-laa:hover {
    color: black;
    background-color: #f3c672;
    text-shadow: 0 0 0 #f3c672;
}
#owl-front .slide2 {
    color: #dbc81f;
    text-shadow: 1px 1px 3px black;
}
#owl-front .slide2 .btn-laa {
    color: #dbc81f;
    border-color: #dbc81f;
}
#owl-front .slide2 .btn-laa:hover {
    color: black;
    background-color: #dbc81f;
    border-color: #dcb81f;
    text-shadow: 0 0 0 black;
}
#owl-front .slide3 {
    color: black;
    text-shadow: 1px 1px 3px #aaa;
}
#owl-front .slide3 .btn-laa {
    color: black;
    border-color: black;
}
#owl-front .slide3 .btn-laa:hover {
    color: white;
    background-color: black;
    border-color: black;
    text-shadow: 0 0 0 black;
}

/* --- Jumbotron --- */

#head-img h1 {
    position: absolute;
    top: 250px;
    color: white;
    text-shadow: 2px 2px 3px #222;
}
#head-img {
    width: 100%;
    height: 300px;
    pointer-events: none;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*============================================
    Main Body
============================================*/

#main-body {
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: left;
}
#main-body p {
    font-weight: 300;
    font-size: 1em;
    margin-bottom: 18px;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern";
    -webkit-font-feature-settings: "kern";
    -moz-font-feature-settings: "kern";
    -moz-font-feature-settings: "kern=1";
}
#main-body h4,
#main-body h3,
#main-body h5 {
    font-weight: 500;
    text-align: left;
}
#main-body ul {
    font-weight: 300;
    list-style: circle;
    text-align: left;
    padding-left: 17px;
}
#main-body a:not(.btn) {
    text-decoration: none;
    color: #1a70ff;
    border-bottom: 2px solid transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
#main-body a:not(.btn):hover {
    color: black;
    border-bottom: 2px solid dodgerblue;
}

/* -- Index -- */

#inner-info {
    text-align: left;
}
#main-body h3 {
    color: black;
}
#inner-info h4 {
    color: #1a70ff;
    margin-top: 20px;
    line-height: 0.6em;
    font-weight: 400;
}
#inner-info .btn {
    margin-bottom: 10px;
}
#news-land {
    margin-top: 20px;
    padding: 15px 25px 0px 25px;
    color: black;
    background-color: #fff;
    border: 1px dashed black;
    margin-bottom: 20px;
}
#news-land label {
    display: block;
    text-align: center;
    font-weight: 400;
    margin-bottom: 15px;
}
#news-land .btn {
    position: relative;
    display: block;
    margin: 0 auto 0 auto;
    width: 100px;
}
#inputEmail {
    border: 1px solid black;
    box-shadow: none;
    text-align: center;
    margin-bottom: 20px;
}
#qlinks {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
    color: black;
    background-color: dodgerblue;
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}
#qlinks img {
    margin-top: 20px;
    max-width: 100%;
    border: 1px solid #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* -- Exposiciones -- */

#main-body .expo h3 {
    font-weight: 600;
    color: dodgerblue;
}
#main-body .expo h4 {
    margin-bottom: 25px;
    font-weight: 400;
}
#main-body .popup-gallery {
    text-align: center;
}
#main-body .popup-gallery img {
    margin-top: 25px;
    height: 50px;
    width: 75px;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

/* Directorio */

#directorio h3 {
    margin-bottom: 25px;
}
#directorio i {
    color: #9a9a9a;
}

/* CDPL */

#acervos {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid black;
    padding: 15px 15px 0px 15px;
    overflow: hidden;
}
#acervos img {
    margin-right: 15px;
    float: left;
    max-width: 240px;
    max-height: 100%;
    margin-bottom: 15px;
}
#acervos h4 {
    margin-top: -5px;
}
#main-body #acervos a {
    border-bottom: 2px solid dodgerblue;
    color: black;
}
#main-body #acervos a:hover {
    border-bottom: 2px solid dodgerblue;
    color: dodgerblue;
}
#main-body .book img {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid black;
    margin-right: 10px;
    height: 220px;
    width: 140px;
    float: left;
}
#main-body .book {
    margin-bottom: 15px;
    overflow: hidden;
    line-height: 1.2em;
}
#main-body .book ul {
    list-style: none;
}

/*============================================
    Sidebar
============================================*/

#sidebar h4,
#sidebar h5 {
    text-align: center;
    text-transform: capitalize;
    font-weight: 400;
    margin-bottom: 20px;
}
#socialbox {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}
#socialbox .btn {
    border-radius: 3px;
    height: 40px;
    width: 40px;
    margin-left: 5px;
    padding: 0 0 5px 0;
    border: 1px dashed transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
#socialbox .btn:hover {
    color: black;
    background-color: transparent;
    border: 1px dashed #000;
}
#socialbox i {
    padding-top: 10px;
    font-size: 1.3em;
}

/* CDPL y otra Información */

#sideinfo {
    text-align: center;
    padding: 10px;
}
#sideinfo h5 {
    margin-bottom: 1px;
}
#sideinfo img {
    max-width: 140px;
    margin-bottom: 15px;
}

/*============================================
    Actividades
============================================*/

#main-body #paralelas .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
}
#main-body #paralelas .row > div {
    -webkit-flex: 0 0 auto;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
#main-body .thumbnail {
    display: block;
    overflow: hidden;
    text-align: center;
    color: white;
    border: 1px solid #222;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
}
#main-body .thumbnail h4 {
    font-weight: 500;
    text-align: center;
}
#main-body .thumbnail h5 {
    font-weight: 300;
    text-align: center;
    margin-bottom: 15px;
}
.thumb-des {
    padding: 5px 5px 10px 5px;
}
.prop2 {
    padding: 10px 10px 10px 10px;
}

/* -- Actividades Modal -- */

.paralelas-modal .modal-content {
    border-radius: 0;
    background-color: #fff;
    background-clip: border-box;
    box-shadow: none;
    border: none;
    min-height: 100%;
    padding: 20px 0;
    text-align: left;
    color: #000;
    font-weight: 300;
}
.paralelas-modal .modal-content img {
    margin-bottom: 30px;
    text-align: center;
}
.paralelas-modal .modal-content h4 {
    margin-bottom: 30px;
}
.paralelas-modal .modal-content h5 {
    font-weight: 400;
}
.paralelas-modal .modal-content .item-details {
    margin: 30px 0;
    font-weight: 400;
    color: dodgerblue;
}
.paralelas-modal .close-modal {
    position: relative;
    float: right;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    font-size: 2em;
}
.paralelas-modal .close-modal:hover {
    opacity: 0.3;
}
.paralelas-modal .modal-backdrop {
    opacity: 0;
    display: none;
}
.paralelas-modal a:not(.btn) {
    text-decoration: none;
    color: dodgerblue;
    border-bottom: 2px solid transparent;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.paralelas-modal a:not(.btn):hover {
    color: black;
    border-bottom: 2px solid dodgerblue;
}

/*============================================
    Footer
============================================*/

#foot {
    color: #aeaeae;
    background-color: #000;
    padding-top: 25px;
}
#foot h4 {
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px dashed white;
    padding-bottom: 5px;
    padding-top: 5px;
}
#foot a {
    color: #aeaeae;
    text-decoration: none;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    line-height: 1.5em;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}
#foot a:hover {
    color: white;
    border-bottom: 2px solid dodgerblue;
}
#foot .contrast {
    color: #aeaeae;
}
#foot .spaced {
    margin-top: 1.3em;
}
#foot ul {
    font-weight: 400;
    list-style: none;
    padding: 0;
}
#foot i {
    font-size: 1em;
    vertical-align: middle;
    line-height: 1.5em;
}

/* -- Sponsors -- */

#sponsors {
    text-align: center;
    margin-bottom: 25px;
}
#sponsors img {
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 5px;
    max-width: 200px;
    -webkit-transition: 0.2s all ease-in-out;
    transition: 0.2s all ease-in-out;
    border: 1px solid transparent;
    opacity: 0.6;
}
#sponsors a:hover {
    border-bottom: 2px solid transparent;
}

/* -- Footnote -- */

#footnote {
    background-color: #333;
    text-align: center;
    margin-top: 15px;
    padding-top: 5px;
    color: #aeaeae;
    font-size: 1em;
}
#footnote a {
    color: white;
    border-bottom: 2px solid transparent;
}
#footnote a:hover {
    color: white;
    border-bottom: 2px solid dodgerblue;
}

/*============================================
    Menu
============================================*/

nav {
    display: none;
}
@media all and (min-width: 440px) {
    html.mm-right.mm-opening .mm-slideout {
        -webkit-transform: translate(-350px, 0);
        transform: translate(-350px, 0);
    }
}
.mm-menu {
    background-color: black;
    font-weight: 600;
    max-width: 350px;
}
.mm-listview > li > a {
    color: #aeaeae;
    font-weight: 500;
    padding: 20px;
    font-size: 1.1em;
}
.mm-listview > li:not(.mm-selected):hover {
    background-color: #e2e2e2;
    -webkit-transition: 0.1s all ease-in-out;
    transition: 0.1s all ease-in-out;
}
.mm-listview > li > a:hover,
.mm-listview .mm-next.mm-fullsubopen:hover + a {
    color: black;
}
.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next) {
    font-weight: 600;
    color: white;
}
.mm-selected {
    background-color: #000;
}

/* -- Menu Footer -- */

#mmfoot {
    font-weight: 500;
    font-size: 0.9em;
    color: #aeaeae;
}
#socialmenu {
    text-align: center;
    margin-top: -13px;
    font-size: 1.5em;
}
#socialmenu a {
    color: #aeaeae;
    padding: 0 10px;
    -webkit-transition: 0.1s all ease-in-out;
    transition: 0.1s all ease-in-out;
}
#socialmenu a:hover {
    color: #1D89F3;
}
