/* =============================
 * Estilos personalizados. 
 * ============================= */

/* =============================
 * VARIABLES
 * ============================= */
:root {
    --blue-dark: #002355;
    --orange-dark: #FF9800;
    --font-family-sans-serif: "Open Sans", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* -----------------------------------------------------
  *  HTML
 /* ----------------------------------------------------- */
body {
    padding-top: 154px;
    font-weight: normal;
    font-size: 1.1rem;
}


/* -----------------------------------------------------
  *  BOOTSTRAP
 /* ----------------------------------------------------- */
.text-primary {
    color: #052353 !important;
}

.fw-bolder {
    font-weight: 600 !important;
}

.bg-asfepa {
    background: rgb(5, 30, 69);
    background: -moz-linear-gradient(180deg, rgba(5, 30, 69, 1) 0%, rgba(38, 72, 126, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(5, 30, 69, 1) 0%, rgba(38, 72, 126, 1) 100%);
    background: linear-gradient(180deg, rgba(5, 30, 69, 1) 0%, rgba(38, 72, 126, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#052353", endColorstr="#26487e", GradientType=1);
}

.bg-primary {
    background-color: #052354 !important;
}

.bg-warning {
    background-color: var(--orange-dark) !important;
}

.btn-warning {
    --bs-btn-color: #FFF;
    --bs-btn-bg: var(--orange-dark);
    --bs-btn-border-color: var(--orange-dark);
    --bs-btn-hover-color: #FFF;
    --bs-btn-hover-bg: #d1810a;
    --bs-btn-hover-border-color: #FF9800;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d1810a;
    --bs-btn-active-border-color: #FF9800;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--orange-dark);
    --bs-btn-disabled-border-color: var(--orange-dark);
}


/* -----------------------------------------------------
 *  YETI LAB
/* ----------------------------------------------------- */
.bg-logo {
    background-image: url(/wp-content/themes/yeti-bootstrap/assets/img/bg-logo.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.bg-logo2 {
    background-image: url(/wp-content/themes/yeti-bootstrap/assets/img/bg-logo2.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.bg-asfepa-color {
    background-color: var(--blue-dark) !important;
}


/* -----------------------------------------------------
  *  MENU
 /* ----------------------------------------------------- */
.navbar-nav>li>.dropdown-menu {
    background-color: #051531 !important;
    background: #051531 !important;
    border: none;
}

#menu-2 {
    padding: 20px 0px;
    background-color: var(--blue-dark) !important;
}

#menu-2 .navbar-brand img {
    margin: 0px;
    height: auto;
}

#menu-2 .navbar-nav>li>a,
.dropdown-item {
    padding: 0px 12px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--white) !important;
}

#menu-2 .navbar-nav>li>a:hover,
.dropdown-item:hover {
    color: #d1810a !important;
}

#menu-2 .bar-top {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #eaeced29;
}

#menu-2.v2 .bar-top {
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: none;
}

#menu-2 .bar-top .item {
    color: var(--white);
    border-left: solid 1px #eaeced54;
}

#menu-2 .bar-top .item span i {
    color: #ffffffab;
}

#menu-2 .bar-top .item .fab {
    color: var(--orange-dark);
}

#menu-2 .dropdown-item {
    padding: 5px 12px;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #0000007e;
}

#menu-2 .nav-item:last-of-type .nav-link {
    padding-right: 0px;
}

#menu-2.v2 {}


/* -----------------------------------------------------
 *  SLIDER
/* ----------------------------------------------------- */
.slider-1 .owl-dots .owl-dot.active span,
.slider-1 .owl-dots .owl-dot:hover span {
    background: var(--orange-dark);
}

.slider-1,
.slider-1 .owl-carousel .owl-item li {
    /* height: calc(100vh - 103px); */
    height: auto;
    background-position-y: top;
}

.wp-block-categories-list li.cat-item-15 {
    display: none !important;
}



/* -----------------------------------------------------
 *  LOGIN
/* ----------------------------------------------------- */
#user-form input[type="submit"] {
    background-color: var(--orange-dark);
}


/* -----------------------------------------------------
 *  HEADER
/* ----------------------------------------------------- */

.content-video-container {
    height: auto;
}

/* -----------------------------------------------------
 *  NOTICIAS
/* ----------------------------------------------------- */
.posts-recentes>.post {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 40%;
    /* height: 145px; */
    float: right;
    margin-bottom: 10px;
}

.posts-recentes>.post .card a .card-img {
    width: 100%;
    height: 178px;
    min-width: 48%;
}

.posts-recentes>.post:nth-child(3n+1) .card a .card-img {
    width: 100%;
    height: 365px;
}

.posts-recentes>.post:nth-child(3n+1) {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 60%;
    float: left;
}

.posts-recentes>.post .card a .card-body {
    padding: 0px 1.25rem;
    position: absolute;
    z-index: 100;
    padding: 1.25rem;
    margin-top: 15px;
    bottom: 0px;
}

.posts-recentes>.post .card a .card-img:before {
    background-color: rgba(0, 0, 0, 0.4);
    content: '';
    z-index: 99;
    position: absolute;
    width: 100%;
    height: 100%;
}



/* =============================
 * Regras de responsividade.
 * ============================= */

/* Dispositivos grandes (desktops, menores que 1200px) */
@media (max-width: 1399.98px) {

    .content-28 .content-28-img {
        margin-top: -23%;
    }
}

/* Dispositivos grandes (desktops, menores que 1200px) */
@media (max-width: 1199.98px) {

    /* -----------------------------------------------------
     *  MENU
    /* ----------------------------------------------------- */
    #menu-2 .navbar-nav>li>a {
        padding: 5px 8px;
        font-size: 11px;
        font-weight: bold;
    }

    #menu-2 .dropdown-item {
        font-size: 11px;
    }

    #menu-2 .nav-item:last-of-type .nav-link {
        padding-right: 12px;
    }



    /* -----------------------------------------------------
     *  HEADER
    /* ----------------------------------------------------- */
    .content-video-container {
        height: auto;
    }


    .content-28 .content-28-img {
        margin-top: -6%;
    }
}


/* Dispositivos medianos (tablets, menores que 992px) */
@media (max-width: 991.98px) {
    body {
        padding-top: 174px;
    }

    #menu-2.v2 .bar-top {
        padding-bottom: 0px;
        margin-bottom: 0px;
        border-bottom: none;
        display: flex !important;
        flex-direction: row !important;
        margin-top: 0px;
    }

    #menu-2.v2 .bar-top .item {
        margin-bottom: 0px;
    }

    #menu-2.v2 .bar-top .item.social {
        display: flex;
        padding-left: 10px !important;
    }

    #menu-2.v2 .bar-top .item .fab {
        font-size: 1.5em;
    }

    #menu-2.v2 .bar-top .item span {
        margin: 0px 10px;
        display: inline-block;
    }

    .slider-1 .owl-dots {
        bottom: 0px;
    }

    .slider-1 .owl-nav [class*="owl-"] {
        font-size: 35px !important;
        /* margin-top: 75px; */
    }

    .slider-1 .owl-dots .owl-dot span {
        width: 15px;
        height: 15px;
    }

    .posts-recentes>.post,
    .posts-recentes>.post:nth-child(3n+1) {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        float: left;
        width: 100%;
    }

    .posts-recentes>.post .card a .card-img,
    .posts-recentes>.post:nth-child(3n+1) .card a .card-img {
        width: 100%;
        height: auto;
    }
}


/* Dispositivos pequenos (smartphones na horizontal, menores que 768px) */
@media (max-width: 767.98px) {
    body {
        padding-top: 174px;
    }

    body.menu-aberto-home .navbar-collapse {
        display: block;
        /* ou flex, conforme seu layout */
    }

    body.menu-aberto-home .menu-toggle {
        display: none;
        /* esconde o botão hamburguer se quiser */
    }

    #menu-2 #navbar-in {
        height: calc(100vh - 214px);

    }

    .navbar-nav>li>a,
    .resize .navbar-nav>li>a {
        line-height: inherit;
    }
}


/* Dispositivos extra pequenos (smartphones na vertical, menores que 576px) */
@media (max-width: 521.98px) {
    body {
        padding-top: 194px;
    }

    .posts-recentes>.post .card a .card-body {
        padding: 12px 12px 6px 12px;
    }

    .card-title {
        font-size: 14px;
        line-height: 16px;
        margin: 0px;
    }

    .card .card-read-time,
    .card .card-date {
        font-size: 12px;
    }
}

@media (max-width: 367.98px) {
    body {
        padding-top: 209px;
    }

}