#title-card {
    padding-left: 0 !important;
}

.background-page {
    background-color: #f3f3f3;
}

#non-event-div h1 {
    font-size: 2vw;
}

.nav-link.active {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.event-card label {
    color: white;
    font-size: 1.4vw;
}

.event-card h1 {
    color: var(--color-primary);
    font-size: 4vw;
    padding-top: 1vh !important;
}

.card-body h5 {
    color: var(--color-primary);
    text-align: start;
}

.event-card p {
    color: black;
    font-size: 23px;
    line-height: 15px;
}

.banner-events {
    margin-top: 1vw;
}

.banner-events h1 {
    font-size: 32px;
    width: 100%;
    text-align: left !important;
    color: var(--color-primary);
}

#banner {
    margin-top: 15px !important;
}

#banner p {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 20px;
}

#msg-no-events {
    text-align: center !important;
}

#hero {
    background-color: var(--color-primary);
    padding-top: 90px;
    padding-bottom: 60px;
}

#card-event-page {
    border-top: white;
    padding-top: 60px;
}

#card-event-page .title-news {
    width: 20rem;
    background-color: rgba(0, 0, 0, 0.5);
}

#card-event-page .news-content {
    height: 7vh;
}

#card-event-page h3 {
    font-size: 40px;
}

#card-event-page p {
    font-size: 20px;
    color: white;
}

#card-navigation {
    background-color: #e5eae7;
}

#card-event-banner {
    border-top: white;
    padding-top: 20px;
}

#card-event-banner .title-news {
    width: 25rem;
    background-color: rgba(0, 0, 0, 0.5);
}

#card-event-banner .news-content {
    height: 7vh;
}

#card-event-banner h3 {
    font-size: 30px;
}


#event-div {
    background-image: url("https://s3.amazonaws.com/images.3e.eng.br/site-cemig/calendario.png");
    background-size: contain;
    width: 10vw;
    height: 11vw;
    background-position: center;
}

#image {
    background-image: url("https://s3.amazonaws.com/images.3e.eng.br/site-cemig/411353971_837241331491304_3002774027561495617_n.png");
    background-size: cover;
    background-position: center;
    width: 80vw;
    height: 50vh;
    object-fit: cover;
    margin-top: 35px !important;
}

.title-news {
    background-color: rgba(111, 111, 111, 0.44);
    width: 7vw;
    display: flex;
}

#events-stick {
    font-weight: bold !important;
}

#next-events-stick {
    background-color: rgba(153, 77, 152, 1) !important;
}

.title-news h3 {
    color: white;
    font-size: 1.3vw;
    font-weight: 500;
    text-align: center;
    margin: auto;
}

.news-content {
    border-left: 6px solid var(--color-yellow);
    height: 30px;
    margin: 0;
}

.container-news-title {
    padding: 15px 0;
}


@media (max-width: 2560px) {
    #event-div {
        background-size: cover;
        width: 10vw;
        height: 9vw;
        background-position: center;
    }

    .event-card label {
        color: white;
        font-size: 1.4vw;
        padding-top: 0 !important;
        margin-top: 8px !important;
    }

    .event-card p {
        color: black;
        font-size: 23px;
        line-height: 15px;
    }
}

@media (max-width: 1440px) {
    #event-div {
        background-size: cover;
        width: 10vw;
        height: 9vw;
        background-position: center;
    }

    .event-card label {
        color: white;
        font-size: 1.4vw;
        padding-top: 0 !important;
        margin-top: 4px !important;
    }

    .event-card p {
        font-size: 20px;
    }


}

@media (max-width: 1025px) {
    #image {
        height: 20rem;
    }

    .event-card label {
        color: white;
        font-size: 1.4vw;
        padding-top: 0 !important;
        margin-top: 4px !important;
    }

    .event-card h1 {
        margin-top: -3px !important;
    }

    #card-navigation .row {
        justify-content: center;
    }

    #title-card {
        width: 100%;
    }

    .event-card h5 {
        text-align: center !important;
        width: 100% !important;
    }

    #card-navigation .row #label-div p {
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    #image {
        background-image: none;
        background-color: #A9C6B8;
        max-height: 100vw;
        margin-top: 108px !important;
    }

    #card-event-banner .news-content {
        height: 4rem;
    }
}

@media (max-width: 767px) {
    #event-div {
        display: none;
    }

    #section-filter {
        margin-bottom: -17px !important;
    }

    #image {
        margin-top: 0 !important;
        height: 25rem;
    }

    .event-card h1 {
        color: var(--color-primary);
        font-size: 3vw;
    }

    .event-card label {
        margin-top: 3px !important;
        vertical-align: top;
    }

    #image-section {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .banner-events {
        margin-left: 0 !important;
    }

    .news-content {
        border-left: 6px solid var(--color-yellow);
        height: 2.5vh;
    }

    .title-news {
        background-color: rgba(111, 111, 111, 0.44);
        width: 8vw;
        display: flex;
    }

    .title-news h3 {
        color: white;
        font-size: 1.5vw;
        font-weight: 500;
        text-align: center;
        margin: auto;
    }

    .banner-events h1 {
        font-size: 25px;
        color: var(--color-primary);
    }

    .banner-events h2 {
        font-size: 20px !important;
        margin-top: 5px;
        margin-left: 0 !important;
    }
}

@media (max-width: 650px) {
    .banner-events {
        width: 95% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 572px) {
    #card-event-navigation {
        margin-left: 28px;
        margin-right: 28px;
    }

    #card-event-page {
        margin-left: 28px;
    }

    #section-filter {
        margin-bottom: -47px !important;
        margin-left: 5px;
        margin-right: 5px;
    }

    #event-div {
        background-size: cover;
        width: 22vw;
        height: 20vw;
        background-position: center;
    }

    #image {
        margin-top: 30px !important;
        background-image: none;
        padding-left: 30px !important;
    }

    .event-card label {
        color: white;
        font-size: 3.5vw;
        padding-top: 5px !important;
    }

    .event-card h1 {
        color: var(--color-primary);
        font-size: 8vw;
        padding-top: 2px !important;
    }
}

@media (max-width: 522px) {
    .banner-events {
        margin-left: 0 !important;
        padding-left: 10px !important;
        height: 10vw;
    }

    #image {
        height: 25rem;
    }

    #banner {
        margin-left: 1px !important;
        width: 100% !important;
    }

    .banner-events label {
        font-size: 2vw;
    }

    #hero .container {
        margin-left: 12px !important;
    }

    .news-content {
        border-left: 6px solid var(--color-yellow);
        height: 2.5vh;
        margin-bottom: 0;
    }

    .title-news {
        background-color: rgba(111, 111, 111, 0.44);
        width: 11vw;
        display: flex;
    }

    .title-news h3 {
        color: white;
        font-size: 2vw;
        font-weight: 500;
        text-align: center;
        margin: auto;
    }
}

@media (max-width: 426px) {
    .event-card h1 {
        margin-top: 3px !important;
    }

    .event-card label {
        margin-top: -3px !important;
        vertical-align: top;
    }

    #image {
        height: 50vh;
    }

    #hero .container {
        margin-left: 0 !important;
    }

    #section-filter {
        margin-top: 30px;
    }

    #banner p {
        font-size: 17px;
    }
}

@media (max-width: 375px) {
    #image {
        width: available !important;
        object-fit: contain;
        padding-left: 15px !important;
        margin-top: 15px !important;
    }

    #section-filter {
        margin-top: 15px !important;
    }
}

@media (max-width: 320px) {
    #image {
        height: 15vh !important;
        width: available !important;
        object-fit: contain;
    }
}
