/* EBGE Styles  */

@import url('https://fonts.cdnfonts.com/css/helvetica-neue-5');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: 'Helvetica Neue', sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

.txt-underline {
    text-decoration: underline;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #666;
}

.info-content {
    background-color: #fff;
    border-left: solid 1px #eee;
    height: 100%;
    overflow-y: auto;
}

.navbar {
    background-color: #fff!important;
}

.offcanvas-end {
    width: 50% !important;    
}

.offcanvas {
    background-color: #f2f2f2;
}

.offcanvas-title {
    font-weight: lighter;
    font-size: 16px;
}

.offcanvas-body a {
    color: #000;
    text-decoration: none;
}

.offcanvas-body a:hover {
    color: #666;
    text-decoration: none;
}

.navbar-brand {
    font-size: 28px;
    font-weight: normal;
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus, 
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 2em;
    height: 2em;    
}

.btn-close {
    width: 2rem;
    height: 2rem;
    background-size: 1.5rem;
}

.menu-current-text {
    font-size: 24px;
    padding-right: 120px;
}

.menu-current-text a {
    color: #000;
    text-decoration: none;
}

.menu-current-text a:hover {
    color: #666;
    text-decoration: none;
}


/* HOME PAGE */

.marquee-section {
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    background-color: #fff;
}


.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 148px;
    font-weight: 900;
    font-family: "Roboto", sans-serif;
}

.marquee {
    display: inline-block;    
    animation: marquee 700s linear infinite; /* Adjust duration (10s) as needed */
    font-size: 150px;
    line-height: 150px;
    color: #000;    
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.juryCatItem {
    border-bottom: solid 1px #eee;
}

.account-bg {
    background-color: #f2f2f2!important;
}

.menu-account-item {
    padding: 10px!important;
    padding-left: 20px!important;
    border-bottom: solid 1px #d9d9d9;
    cursor: pointer;
    width: 100%;
}

.border-right-main-column {
    border-right: solid 1px #d9d9d9;
}

.border-bottom-main-column {
    border-bottom: solid 1px #d9d9d9;
}


.border-top-account {
    border-top: solid 1px #d9d9d9;
    padding: 0;
    margin: 0;
}

.vh-100-desktop {
    height: 100vh;
}

.default-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    outline: none!important;
    color: #000;
    border-radius: 0;
}

.default-input:focus {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    outline: none!important;
    color: #000;
    box-shadow: none; 
}

.default-input::placeholder {
    color: #000;
    opacity: 1;
}


.full-height {
    height: 100vh; /* Full screen height */
}

.scrollable-column {
    height: 100vh; /* Full screen height */
    overflow-y: scroll; /* Enable vertical scroll */
}

.ebge-button {
    background-color: transparent; 
    color: black; 
    border: 1px solid #d9d9d9; 
    transition: background-color 0.3s ease; 
}

.ebge-button:hover {
    background-color: #f8f9fa; 
    border: 1px solid #000; 
    color: black; 
}

.table-account * {
    background-color: #f2f2f2!important;
}

.logo-viva {
    height: 40px;
}

.lnk-icon-back {
    font-size: 30px;
}

.textarea-default {
    height: 200px;
    padding: 5px 8px;
    border: 1px solid #d9d9d9!important;
}

.top-image-area:hover .overlay {
    opacity: 1;
}

/* Default state: overlay is hidden */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Show overlay on hover */
.top-image-area:hover .overlay {
    opacity: 1;
}

/* Styling the text */
.edit-text {
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
}

.sub-gallery-container {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 400px;
    overflow: hidden;
}

.sub-gallery-hover-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.sub-gallery-container:hover .sub-gallery-hover-layer {
    opacity: 1;
}

.sub-gallery-left, 
.sub-gallery-right {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Default colors */
.sub-gallery-left {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
}

.sub-gallery-right {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent red */
}

/* Hover effects for each half */
.sub-gallery-left:hover {
    transform: scale(1.05); /* Slight zoom */
    background-color: rgba(0, 0, 0, 0.7); /* Darker black */
}

.sub-gallery-right:hover {
    transform: scale(1.05); /* Slight zoom */
    background-color: rgba(0, 0, 0, 0.7); /* Darker red */
}

.tiny-info {
    font-weight: lighter;
    font-size: 12px;
}

.media-action-link {
    color: #fff;
    text-decoration: none;
}

.media-action-link:hover {
    color: #666;    
}

.bootbox-close-button {
    display: none;
}

.submission-list-container {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 400px;
}

.submission-list-separator {
    border-bottom: 1px solid #ccc;
    padding: 4px 0px;    
}

.pagingPos {
    font-size: 32px;
    letter-spacing: -4px;
}

.sub-paging-arrow {
    top: -5px;
    position: relative;
}

.submission-page .main-image {
    width: 100%;
}

.submission-page .header-right {
    font-size: 26px;
}

.submission-page .navi-winners {
    font-size: 20px;
}

.submission-page .submission-info {
    /* padding-top: 200px; */
    border-bottom: solid 1px #eee;
}




.img-hover-mask {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Ensures the mask stays within the image boundaries */
}

.img-hover-mask img {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for hover effects */
}

.img-hover-mask::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Transparent black mask */
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade-in effect */
    cursor: pointer;
}

.img-hover-mask:hover::after {
    opacity: 1; /* Show the mask on hover */
}

#shareBox {
    width: 300px;
    left: 30%;
    transition: bottom 0.4s ease-in-out;
}

.filter-element {
    border-radius: 50px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 2px 10px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 4px;
}

.filter-element:hover {
    background-color: #f8f9fa;
    color: #000000;
}

.filter-element:focus {
outline: none;
box-shadow: 0 0 0 1px #000000;
}

.filter-element.selected {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

@media (max-width: 767px) {
    .menu-current-text {
        padding-right: 60px;
    }

    .offcanvas {
       width: 80%!important;
    }

    #shareBox {
        width: 100%!important;        
        left: 0%;
    }

    /* Account menu - 2 items per row on mobile */
    .menu-account {
        display: flex!important;
        flex-wrap: wrap!important;
    }

    .menu-account-item {
        width: 50%!important;
        box-sizing: border-box;
        text-align: center;
        padding: 15px 10px!important;
        border-bottom: solid 1px #d9d9d9;
        border-right: solid 1px #d9d9d9;
    }

    .menu-account-item:nth-child(2n) {
        border-right: none;
    }

    .vh-100-desktop {
        height: auto!important;
    }

    .border-right-main-column {
        border-right: none;
        border-bottom: solid 1px #d9d9d9;
    }
}

/* Mobile expandable cards */
.mobile-expand-icon {
    transition: transform 0.3s ease;
}

.mobile-expand-header[aria-expanded="true"] .mobile-expand-icon {
    transform: rotate(180deg);
}

/* Fix for text-truncate inside flex containers */
.min-width-0 {
    min-width: 0;
}
