/*   
Theme Name: Aurora Theme
Theme URI: aaaaaaaa
Description: Tema custom, con Bootstrap 5, para diario Aurora.
Author: Francisco Chapeta.
Author URI: aaaaaaa
Version: 1.1
*/

body {
    font-family: 'Encode Sans Semi Condensed', sans-serif;
    padding-top: 60px;
    height: 100%;
    overflow: auto;
}

.widget-box {
    max-width: 100%;
}

.widget-box video {
    max-width: 100%;
}

.widget-box img {
    max-width: 100%;
}

body .container {
    max-width: 1140px;
}

.aurora-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1050;
    padding: 0 0.9rem;
}

.navbar-toggle {
    background: none;
    border: 0;
    margin-left: 0.8rem;
    color: white;
    font-size: 2rem;
}

.offcanvas-start {
    border: none;
}

.aurora-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 0;
}

.aurora-nav-menu {
    list-style: none;
    padding: 0;
    width: 100%;
    transition: 0.3s;
}

.dropdown-menu {
    min-width: 2rem;
    padding: 0;
    margin: 0;
    font-size: inherit;
    color: white;
    text-align: left;
    list-style: none;
    background: none;
    border: none;
    border-radius: none;
    padding-left: 1rem;
}

/*
.dropdown-toggle {
    border-right: 1px solid #2b7aab !important;
    
}

.dropdown-toggle.show {
    border-bottom: 1px solid #2b7aab !important;
}
*/
.aurora-nav-menu a, .aurora-nav-menu button {
    text-decoration: none;
    display: block;
    padding: 0.4em 1em;
    color: white;
    background: none;
    border: none;
    font-size: 1.1rem;
    max-width: 100%;
    text-align: left;
    transition: 0.3s;
}

.aurora-nav-menu a:hover, .aurora-nav-menu button:hover {
    background-color: white;
    color: #0065a3;;
}

.custom-logo {
    max-width: 240px;
    height: auto;
}

.custom-logo-link {
    height: auto;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

.custom-logo-link img {
    max-height: 39px;
}

.social-links-menu {
    list-style-type: none;
    color: white;
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

.social-links-menu a {
    height: 40px;
    width: 40px;
    display: block;
    border-radius: 50rem;
    background-color: white;
    margin-right: 0.6rem;
    padding: 3px;
}

.social-links-menu .dashicons {
    font-size: 34px;
}

.social-links-menu a {
    color: #0065a3;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .custom-logo {
        max-height: auto;
    }

    .aurora-nav-menu a, .aurora-nav-menu button {
        font-size: 1.2rem;
    }

    .aurora-top-bar {
        min-width: 320px;
        width: min-content;
        justify-content: center;
    }

    .aurora-nav {
        max-width: 320px;
    }
}

@media screen and (min-width: 1400px) {
    .navbar-toggle {
        display: none;
    }

    body {
        padding-left: 270px;
        padding-top: 1rem;
    }

    .aurora-top-bar {
        min-width: 270px;
    }

    .aurora-nav {
        max-width: 270px;
    }

    .offcanvas-start {
        transform: none;
    }
}


.post-link {
    text-decoration: none;
    color: #0065a3;
}

p.tagList a {
    text-decoration: none;
    color: #0065a3;
}

p.tagList {
    text-decoration: none;
    color: #0065a3;
    font-size: 0.8rem;
}

.article-title {
    text-decoration: none;
    color: black;
}

.article-title:hover {
    color: #0065a3;
}

.section-title {
    color: #0065a3;
    background-color: white;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-align: center;
    margin-left: 0;
    transition: margin-left 1s;
}

.section-title a {
    text-decoration: none;
    color: black;
}

.section-bar {
    height: 3px;
    margin-top: -3px;
    width: 100%;
    background-color: #0065a3;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform 0.5s;
}

.category-posts-seciton:hover .section-bar {
    transform-origin: 0 0;
    transform: scaleX(1);
}

.category-posts-seciton:hover .section-title {
    margin-left: 1rem;
}

.main-article-title {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
    text-align: left;
}

.aurora-blue {
    color: #0065a3;
}

.bg-aurora-blue {
    background-color: #0065a3;
}

.article-content p {
    line-height: 1.5;
    font-weight: 400;
    font-size: 20px;
    color: #292828;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.twitter-tweet {
    margin: 0 auto;
}

.category-posts-seciton::before {
    height: 5px;
    width: 700px;
    background-color: #0065a3;
    padding: 1rem;
    border: 1rem solid blue;
    transform: scaleX(0.5);
}

/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}

/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

.prev-link a, .next-link a {
    font-size: 2rem;
    color: #0065a3;
    text-decoration: overline dotted;
}

.featured-post {
    position: relative;
}

.featured-post .article-title {
    text-decoration: none;
    color: white;
}

.image-post-content {
    position: absolute;
    bottom: 0px;
    left:0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    width: 92%;
}

.img-fluid {
    max-height: 600px;
    object-fit: cover;
}

.wp-block-image img, .wp-caption img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.wp-block-image figcaption {
    font-size: .875em;
    color: #6c757d;
    text-align: center !important;
}

.height-200 {
    width: 100%;
    height: 200px;
}

.height-300 {
    width: 100%;
    height: 300px;
}

.height-400 {
    width: 100%;
    height: 300px;
}