@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200;6..12,300;6..12,400;6..12,500;6..12,600;6..12,700;6..12,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}

:root {
    --main-color: #234E70;
}

a {
    text-decoration: none !important;

}

.clr {
    color: var(--main-color) !important;
}

.bg-clr {
    background-color: #234E70 !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 60px;
    position: fixed;
    top: 0;
}

.nav-link {
    font-size: 16px !important;
    font-weight: bold !important;
    /* color: #fff !important; */
    color: #234E70 !important;
    margin: 0px 10px;
    padding: 5px !important;
    position: relative;
    text-transform: uppercase;

}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    border-radius: 10px;
    transition: width 0.32s ease-in;
    bottom: 0;
    left: 0%;
    background-color: var(--main-color);
    /* background-color: #c6ff00; */
}



.alertify-notifier .ajs-message.ajs-success {
    background-color: #fff !important;
    color: #234E70 !important;
    border: none;
    border-radius: 5px;
}

.nav-link i {
    font-size: 22px;
}

.nav-link:hover {
    text-decoration: none;

    &::after {
        width: 100%;
    }
}

.banner {
    width: 100%;
    height: 80vh;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background: url("../images/banner2.jpg");
    object-fit: contain;
}

.contact-main {
    display: flex;
    justify-content: space-between;
}

.contact-card {
    padding: 15px;
    border: 2px solid rgba(128, 128, 128, 0.11);
    width: 32.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card h5 {
    font-size: 16px;
}

.sign-btns {
    color: #fff;
    background: radial-gradient(at top center, #234E70 0%, #234E70 100%);
    padding: 12px 50px;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
}



.sign-btns i {
    font-size: 21px;
    font-weight: bold;
    margin-right: 20px;
}

.sign-btns a {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
}

.circle-name {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    font-size: 19px;
    color: #234E70;
    font-weight: bold;
    background: #fff;
    border-radius: 100%;
    margin: 0px 10px;
    padding: 5px !important;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none !important;
}

.moving-text-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 15px 0;
}

.moving-text {
    display: flex;
    color: #234E70;
    font-size: 20px;
}

.events-main {
    margin: 20px 40px;

}

.events-nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.events-nav-sub {
    width: 33.3%;
}

.event-container {
    border-style: solid;
    border-width: 1px;
    border-color: #234E70;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px 0px 0px 0px;
}

.event {
    display: flex;
    border-bottom: 1px solid #234E70;
    padding: 3px;
}

.event-date-type {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
}

.event>div {
    padding: 0 1rem;
}

.event-type {
    background-color: #8e71b7;
    border-radius: 0.2rem;
    padding: 0.15rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    min-width: 7rem;
    text-align: center;
}

.event-date {
    display: inline-block;
    margin-right: 0.5rem;
    margin-left: 20px;
    line-height: 14px;
    font-weight: bold;
    color: #234E70;
}

.event-title-contact {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0px;
    color: #234E70;
    border-right: 1px solid #234E70;

}

.event-title {
    color: #234E70;
    font-weight: bold;

}

.event-website-button {
    background-color: #234E70;
    color: #fff;
    padding: 4px 15px !important;
    border-radius: 5px;
}

.event-contact,
.event-address {
    display: inline-block !important;
}

.event-city-province,
.event-address,
.event-date,
.event-contact,
.event-title {
    font-size: 1rem;
}

.event-contact,
.event-address {
    display: inline-block;
}

.event-contact {
    min-width: 8rem;
    color: #234E70 !important;
}

.event-details-container {
    flex: 0 0 20%;
}

.event-details {
    max-width: 100%;
}

.event-city-province {
    color: #234E70;
}

.ads-e {
    display: flex;
    justify-content: space-between;
}

.ads-e-l {
    width: 24%;
}

.ads-e-r {
    width: 74%;
}



@media screen and (max-width: 795px) {
    .events-nav {
        flex-direction: column;
        gap: 20px;
    }

    .events-nav-sub {
        width: 100%;
    }

    .events-nav> :nth-child(2) {
        display: none;
    }

    .event {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0px;
    }

    .event-title-contact {
        border: none;
    }
}

@media screen and (max-width: 500px) {
    .events-main {
        margin: 20px 12px;
    }
}