body {
    font-family: 'Lexend', sans-serif;
    /* font-family: 'Teko', sans-serif; */
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #1F1D59;
    font-style: normal;
    overflow-x: hidden;
}

a,
button,
input {
    transition: all 0.5s ease;
}

/* Typography */

.font_secondary {
    font-family: 'Teko', sans-serif;
}

.color_white {
    color: #fff;
}

.lead {
    line-height: 160%;
}

/* Colors & Background */

.secondary_bg {
    background-color: #ED1C24;
}

.primary_bg {
    background-color: #1F1D59;
}

.white_bg {
    background-color: #fff;
}

/* Navbar */

.navbar {
    z-index: 999;
}

.menu a {
    color: #fff;
}

.navbar-toggler {
    padding: 0.75rem 0.75rem;
    line-height: 1;
    background: url(/image/menu.svg) top center no-repeat;
    border-radius: 0;
}

.active a {
    color: #ED1C24;
}

.nav-item {
    padding: 0 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn {
    background-color: #ED1C24;
    padding: 10px 20px;
}

.nav-link:focus,
.nav-link:hover {
    color: #ED1C24;
}

.nav-link.menu-btn:focus,
.nav-link.menu-btn:hover {
    color: #fff;
}

/* Hero Badge */

.hero_badge {
    background: url(/image/badge.svg) no-repeat;
    position: absolute;
    bottom: -70px;
    height: 150px;
    width: 150px;
    left: 0;
    right: 0;
    margin: auto;
}

/* Owl Carousel */


.owl-theme .owl-nav {
    position: absolute;
    top: -48px;
    right: 0;
    margin-top: 0;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    width: 40px;
    height: 40px;
    margin-top: -50px;
    background-color: #ED1C24;
}


.hero-home {
    background: url(/image/hero-images/home-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    height: 740px;
}

/* .header {
    background: #1F1D59;

} */

.header-title {
    margin-top: 180px;
    margin-bottom: 130px;
}

    .header-title h1 {
        color: #FFF;
        text-align: center;
        font-family: 'Teko', sans-serif;
        font-size: 96px;
        font-style: normal;
        font-weight: 500;
        line-height: 100px;
        text-transform: uppercase;
    }

    .header-title p {
        color: #FFF;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
    }

.hero-certified {
    background: url(/image/hero-images/become-certified-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 800px;
}

.background-color {
    background: #F9F9FF;
}

.certified {
    border: 1px solid #E2E2F6;
    background: #FFF;
    box-shadow: 0px 0px 40px 0px rgba(31, 29, 89, 0.08);
    padding: 70px;
    position: relative;
    margin-top: -300px;
}

.form-control:focus {
    border-color: #1F1D59;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #1f1d5912;
}


.btn-primary {
    color: #fff;
    background-color: #ED1C24;
    border-color: #ED1C24;
}

    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #D8151D;
        border-color: #D8151D;
    }

    .btn-primary.focus,
    .btn-primary:focus {
        color: #fff;
        background-color: #D8151D;
        border-color: #D8151D;
        box-shadow: 0 0 0 0.2rem rgba(216, 21, 29, 0.5);
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #D8151D;
        border-color: #D8151D;
    }

/* Buttons */

.secondary_bg .btn-primary {
    background-color: #1F1D59;
    border-color: #1F1D59;
}

    .secondary_bg .btn-primary:hover,
    .secondary_bg .btn-primary:focus {
        color: #1F1D59;
        background-color: #fff;
        border-color: #fff;
    }

.submit .btn {
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.accordion .fa {
    position: absolute;
    right: 20px;
    top: 34px;
}

.accordion .btn-link {
    display: block;
    width: 100%;
    text-align: left;
}

.footer-text {
    padding: 70px 0px;
}


.hero-standards {
    background: url(/image/hero-images/standards-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 600px;
}


/* FAQ */
.standards-card {
    border-bottom: 1px solid #E1E1F5;
    border-left: none;
    border-right: none;
}

.standards-card-header {
    background-color: #fff;
    border-bottom: 1px solid #E1E1F5;
}


.standards-card-link {
    color: #1F1D59;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    /* 140% */
    text-transform: capitalize;
}

    .standards-card-link:hover {
        color: #191749;
        text-decoration: underline;
    }

    .standards-card-link:focus {
        outline: 0;
        box-shadow: none;
    }


.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    border: 1px solid #1F1D59;
    background: #1F1D59;
    border-radius: 0;
    min-width: 180px;
}

.nav-pills .nav-link {
    border-radius: 0;
    color: #1F1D59;
    border: 1px solid #E8E8FF;
    background: #FFF;
    min-width: 180px;
}


.hero-event {
    background: url(/image/hero-images/event-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 600px;
}

.event-box {
    border: 1px solid #E8E8FF;
    padding: 25px 15px;
    margin-bottom: 30px;
    height: fit-content;
}


    .event-box h3 {
        color: #1F1D59;
        font-size: 20px;
        font-weight: 600;
        line-height: 28px;
        text-transform: capitalize;
        margin-bottom: 0;
        width: 200px;
        height: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 768px) {
}

.event-date h6 {
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.event-date p {
    margin-bottom: 0;
}

.event-box p {
    margin-bottom: 0px;
}

.noevent-box {
    padding: 25px 15px;
    margin-bottom: 30px;
    height: 100px;
    width: 500px;
    margin-left: 350px;
    margin-top: 180px;
}

    .noevent-box p {
        font-size: 25px;
        color: whitesmoke;
        text-shadow: 10px 10px 50px rgba(1, 1, 1, 100);
    }

.nomember-box {
    padding: 25px 15px;
    width: 500px;
    margin-left: 350px;
    margin-top: 50px;
}

    .nomember-box p {
        font-size: 25px;
        color: #1F1D59;
    }

.contact-inquiry {
    background: url(/image/hero-images/Contact-inquiry.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
}


.btn {
    border: 1px solid transparent;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 0;
}

.form-control {
    border-radius: 2px;
    height: 50px;
}

.hero-member {
    background: url(/image/hero-images/members-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 600px;
}

.member {
    color: #1F1D59;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    text-transform: capitalize;
}

.event-number p {
    font-size: 14px;
    font-weight: 500;
}

.event-number a {
    font-size: 14px;
    font-weight: 500;
    color: #ED1C24;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
}

    .event-number a:hover {
        color: #D8151D;
    }

.search-btn {
    background: #E8E8FF;
    color: #1F1D59;
    padding: 13px 20px;
}

    .search-btn:hover {
        background: #1F1D59;
        color: #fff;
        padding: 13px 20px;
    }

.input-border {
    border: 1px solid #E8E8FF;
}

.input-group-icon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #ffffff;
    border: 1px solid #E8E8FF;
    border-right: none;
    border-radius: 2px;
}


.hero-member-profile {
    background: url(/image/hero-images/member-profile-header.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 600px;
}

.profile-card {
    border: 1px solid #E2E2F6;
    background: #FFF;
    box-shadow: 0px 0px 40px 0px rgba(31, 29, 89, 0.08);
    position: relative;
    margin-top: -50px;
}

    .profile-card h3 {
        color: #1F1D59;
        font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: 40px;
        text-transform: capitalize;
    }


    .profile-card p {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        text-transform: inherit;
    }

.profile-about {
    border: 1px solid #E2E2F6;
    background: #FFF;
    box-shadow: 0px 0px 40px 0px rgba(31, 29, 89, 0.08);
    margin-top: 30px;
    height: 603px;
    overflow-y: auto;
}

    .profile-about h2 {
        color: #1F1D59;
        font-family: Teko;
        font-size: 48px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
    }

.profile-event h3 {
    font-family: Teko;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.profile-event-filter {
    background: #F5F4FF;
    margin-bottom: 30px;
    padding: 30px 30px;
}

.profile-event-section {
    border: 1px solid #E1E1F5;
    background: #FFF;
    box-shadow: 0px 0px 40px 0px rgba(31, 29, 89, 0.08);
}

.accordion .fa {
    margin-right: 0.5rem;
}

.accordion button,
.accordion button:hover,
.accordion button:focus {
    text-decoration: none;
}

.upcoming-event {
    background: url(/image/hero-images/upcoming-event-home.jpg) #1F1D59 top center no-repeat;
    background-size: cover;
    min-height: 600px;
}


.secondary_bg .btn-primary:hover {
    background-color: #191749;
    color: #fff;
    border-color: #191749;
}

.members-directory .item h3 {
    color: #1F1D59;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    text-transform: capitalize;
}


.owl-prev i {
    color: #fff;
}

.owl-next i {
    color: #fff;
}


.owl-theme .owl-nav [class*=owl-]:hover {
    background: #D8151D;
    color: #FFF;
    text-decoration: none;
}

.address {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value for transparency */
    display: none;
    z-index: 999;
}

.captchaimage {
    width: 100% !important;
    max-height: 50px;
    border-radius: 3px;
}

.evt-a {
    color: #1f1d59 !important;
}

    .evt-a:hover {
        text-decoration: none !important;
    }

/* // Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap */
/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 768px) {
    .navbar {
        background: #1f1d59a8;
        padding: 0 !important;
    }

    .navbar-collapse {
        background: #ED1C24;
    }

    .menu-btn {
        background: #1F1D59 !important;
    }

    .navbar-nav .nav-link {
        text-align: center;
    }

    .navbar-collapse .nav-item {
        display: block;
    }

    .certified {
        padding: 30px;
        margin-top: -100px;
    }

    .nav-pills .nav-link,
    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .footer-text {
        padding: 50px 0px;
    }

    .header-title {
        margin-top: 100px;
        margin-bottom: 100px;
    }

        .header-title h1 {
            font-size: 50px;
            line-height: 50px;
        }

        .header-title p {
            font-size: 16px;
            line-height: 20px;
        }

    .certified {
        margin-top: -300px;
    }

    .nav-item {
        padding: 0;
    }

    .mobile-logo {
        position: relative;
        left: 30px;
    }

    .menu-btn {
        background-color: #ED1C24;
        padding: 10px 20px;
    }

    .hero-member {
        min-height: auto;
    }

    .active a {
        color: #191749;
    }

    .search-btn {
        width: 100%;
    }

    .hero-event {
        min-height: auto;
    }

    .hero-standards {
        min-height: auto;
    }

    .hero-member-profile {
        min-height: auto;
    }
}

.standards-card-link p {
    padding-right: 20px;
}

.member-link {
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    text-transform: inherit;
    white-space: inherit;
    text-overflow: inherit;
    overflow: initial;
    display: flex;
    flex-direction: row;
    word-break: break-all;
}

.footer-section {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    font-weight: 500;
}

.footer-link {
    color: #007BFF;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-copy {
    color: #0D1A2B;
}

/* // Small devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) { 
  
 } */

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 320px) and (max-width: 767px) {

    .mobile-logo {
        position: relative;
        right: -30px;
    }

    .certified {
        margin-top: -200px;
    }

    .navbar {
        background: #1f1d59a8;
        padding: 0 !important;
    }

    .navbar-collapse {
        background: #ED1C24;
    }

    .menu-btn {
        background: #1F1D59 !important;
    }


    .navbar-nav .nav-link {
        text-align: center;
    }

    .navbar-collapse .nav-item {
        display: block;
    }
}

#PreLoader {
    background-color: #F5F4FF;
    position: absolute;
    z-index: 9999;
}

    #PreLoader img {
        width: 109.375px;
        height: 140px;
        animation: fade-in-out 2s infinite alternate;
    }

/* // Large devices (desktops, 992px and up) */
/* @media (min-width: 992px) { 

 } */
/* // Extra large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) { 

 } */

.card-image-div {
    height: 170px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-image-div > img {
        max-height: 170px !important;
        width: inherit !important;
    }


@media (min-width: 320px) and (max-width: 767px) {

    .hero-home {
        height: inherit;
    }

    .noevent-box {
        width: 100% !important;
        padding: 1rem !important;
        margin-bottom: inherit;
        height: inherit;
        margin-left: inherit;
        margin-top: inherit;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

    .hero-home {
        height: inherit;
    }
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

    .hero-home {
        height: inherit;
    }
}

@media all and (min-device-width: 1025px) and (max-device-width: 1180px) and (orientation:landscape) {

    .hero-home {
        height: inherit;
    }
}