h1.base_wheretoapply_title {
    background-color: #f3f3f3;
    font-size: 120%;
    padding: 10px 0;
    color: #00577b;
    margin: 2em 0 0.5em;
}

.header_new {
    display: inline-block;
    color: #045dbc;
    padding-top: 10px;
    margin: 10px;
    text-decoration: none;
    border: none;
    text-align: left;
}

.grey {
    width: 100%;
    overflow: hidden;
    background: #f2f2f2;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.info_text1 {
    display: block;
    float: left;
    margin: 8px 1% 20px;
    padding-bottom: 20px;
    width: 20%;
}


@media (max-width: 768px) {
    .grey {
        flex-direction: column;
        align-items: flex-start;
    }

    .info_text1 {
        width: 80%;
        /* Adjust the width as needed for mobile devices */
        height: auto;
    }

    .card-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.brown {
    width: 90%;
    height: 80px;
    background: #83764e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin: 100px 80px 100px 30px;
    padding: 15px 50px 15px 10px
}

.white_inside {
    float: right;
    width: auto;
    height: auto;
    background: white;
    border-radius: 60px;
    padding: 10px 50px 10px 50px
}

.left_text {
    background: transparent;
    color: white;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .brown {
        flex-direction: column;
        align-items: flex-start;
    }


    .white_inside,
    left_text {
        width: 80%;
        /* Adjust the width as needed for mobile devices */
        height: auto;
    }
}

.info_text2 {
    display: flex;
    float: left;
    margin: 8px 1% 1% 0;
    width: auto;

}

.card-content {
    display: flex;
    flex-direction: column;
    padding-right: 30px;
    margin: 0;
    min-height: 350px;
    max-height: 350px;
    text-align: left;
    max-width: 200px;

}

.timedate {
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    color: black;
    padding-left: 3px;
    /* float:inline-end; */
    position: absolute;
    top: 85%;
    left: 0%;
    vertical-align: bottom;

}

.card-content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    color: #234c5e;
}

.card-content h5 {
    color: #045dbc !important;
}

.card-content h4,
h5 {
    margin-left: 5px;
}




.card-link {
    display: table-cell;
    position: relative;
    height: 350px;
    text-decoration: none !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    /* box-shadow: 4px 4px 8px 5px #f2f2f2; */
    background-color: #f2f2f2;
}

.card-image {
    width: 200px;
    height: 134px;
    /* Maintain the image's aspect ratio */
    display: block;
}

.new-line {
    margin: 10px;
    display: flex;
    clear: left;
}

.align-left {
    text-align: left;
}

.body1 {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh;
        justify-content: left;
        align-items: left; */
}

.content1 {
    display: flex;
    justify-content: flex-start;

}

.content1 ul,
.content1 ol,
.homecontent1 ul,
.homecontent1 ol {
    margin-left: 0px;
    /* margin-bottom: 2em; */
    padding-left: 0px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.pagination ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
    margin: 0 1px;
}

.pagination li a {
    text-decoration: none;
    padding: 5px 10px;
}

.pagination li a.active {
    background-color: #4CAF50;
    color: white;
}

.pagination li a:hover {
    background-color: #ccc;
    /* Customize hover background color */
}

.block-video-center {
    display: grid;
    /* margin auto works here because embed adapts to size of container */
    margin: auto;
    overflow: hidden;
    font: italic 12px Georgia, serif;
}

.block-video-right {
    float: right;
    margin-left: 20px;
    font: italic 12px Georgia, serif;
}

.block-video-left {
    float: left;
    margin-left: 20px;
    font: italic 12px Georgia, serif;
}

.block-video-small {
    width: 240px;
    height: auto;
}

.block-video-medium {
    width: 400px;
    height: auto;
    max-width: 100%;
}

.block-video-large {
    width: 2400px;
    height: auto;
    max-width: 100%;
}

.my-custom-class {
    max-width: 640px;
    width: 100%;
    height: auto;
}

.embedded-video-container {
    position: relative;
    margin: 20px 20px 40px 0;
    padding-bottom: 56.25%;
    max-width: 800px;
    height: 0;
    overflow: hidden;
}

.embedded-video-container iframe,
.embedded-video-container object,
.embedded-video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overview1 {
    display: flex;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    padding-top: 2.5px;
}

.rectangle {
    width: 60px;
    height: 20px;
    background-color: #7E7444;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 10px;
}

.overview_first_line {
    display: flex;
}

.button-as-link {
    background: none !important;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}

.button-as-link:hover {
    outline: 1px solid #000000;
    background-color: #000000;
}

.button-as-link:focus {
    outline: 2px solid #000000;
}

.form-inline {
    display: inline;
}

.float-right {
    float: right;
}

.nav-item>button {
    display: inline-block;
    vertical-align: top;
    padding: 16px 3px;
    background: none;
    color: inherit;
    font: inherit;
    border: none;
    box-sizing: content-box;
    z-index: auto;
    position: static;
    margin-top: -16px;
    font-family: 'lato_regular', 'Open Sans', Arial, sans-serif;
    letter-spacing: 1px;
    line-height: 1;


}

/* focus/open states of first descendant link within a top level
   navigation item */
.nav-item>button:focus,
.nav-item>button.open {
    border: 1px solid #234c5e;
}

/* open state of first descendant link within a top level
   navigation item */
.nav-item>button.open {
    background-color: #234c5e;
    border-bottom: none;
    z-index: 1;
}

.header_menu {
    display: block;
    padding: 5px 0;
}

.header_menu :focus,
.header_menu :hover {
    /* outline: 5px #FFBF47; */
    border: 3px solid #FFBF47;
}

.info_text_home {
    background-color: #fff;
    float: left;
    margin: 8px 1% 20px;
    width: 31%;
    height: clamp(400px, 60vh, 450px);

}

.card-link2 {
    display: flex;
    position: relative;
    height: clamp(400px, 60vh, 450px);
    text-decoration: none;
}

.card-link2 h4,
h5,
.timedate2 {
    margin-left: 10px;
}

.card-content2 {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 80vh;
    max-height: 80vh;
    text-align: left;

}

.card-content2 h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
}

.timedate2 {
    text-decoration: none;
    margin-top: 10px;
    padding-left: 3px;
    position: absolute;
    top: 90%;
    left: 0%;
    vertical-align: bottom;
    font-size: clamp(0.9rem, 0.9vw, 1rem);
    text-align: left;
    padding: 1px;

}



@media (max-width: 768px) {
    .info_text_home {
        width: 90vw;
        background-color: #fff;
        margin: 0 20px 25px;
        padding: 5px 0;
        height: clamp(0px, 30vh, 250px);
        /* height: clamp(0px, 30vh, 300px); */
        /* height: auto !important; */
    }

    .card-content2,
    .card-link2 {
        width: 90vw;
        display: flex !important;
        flex-direction: row !important;
        /* height: auto !important; */
    }

    .card-link2 {
        height: clamp(0px, 30vh, 250px);

    }

    .card-link2 img {
        width: auto;
        max-height: 30vh;
        flex-shrink: 0;
        /* height: auto; */
    }

    .card-text-content {
        /* flex: 1; */
        width: 60%;
        padding-left: 10px;
        overflow: hidden;
    }


    .card-content2 h5 {
        margin-top: 5px;
        margin-bottom: 10px;

    }

    .card-content2 h4 {
        max-width: 90vw;
        font-size: clamp(0.9rem, 1vw, 1.5rem);
        margin: 0;
        padding: 0;
    }

    .timedate2 {
        position: static;
        font-size: clamp(0.8rem, 0.9vw, 1rem);

    }

    .card-link2 h4,
    h5,
    .timedate2 {
        margin-left: 5px;
    }
}


.timedate3 {
    font-style: italic;
    margin-bottom: 10px !important;
    font-size: clamp(0.9rem, 0.9vw, 1rem);
    margin-top: 30px;
}

.contact-form {
    list-style-type: none;
    padding-left: 0;
}

.contact-form li {
    margin-bottom: 1.5rem;
}

.contact-form input,
select {
    width: 40vw;
    height: 5vh;
}

.contact-form textarea {
    width: 40vw;
}

.contact-form label {
    margin-top: 20px;
    display: block;
    font-weight: bold;
}

.contact-form input[type="checkbox"] {
    position: relative;
    /* display: inline-block; */
    cursor: pointer;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    margin-top: 15px;
    background-color: #f2f2f2;
    border: 2px solid #ccc;
}

.contact-form input[type="radio"] {
    display: inline-block;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.contact-form button {
    width: 10vw;
    height: 5vh;
}

.submit-btn {
    width: 10vw;
    height: 5vh;
}

.button-container {
    display: flex;
    flex-direction: column;

}


/* Desktop layout */
@media (min-width: 992px) {
    .button-container {
        flex-direction: row;
        justify-content: flex-start;
    }

    #reject-cookies-btn {
        order: 1;
    }

    #accept-cookies-btn {
        order: 3;
    }

}

@media (max-width: 991px) {
    .button-container {
        display: flex;
        flex-direction: column;
    }

    #reject-cookies-btn {
        order: 3;
    }

    #accept-cookies-btn {
        order: 1;
    }
}

/* Embed custom content */
.embed-custom-content {
    position: relative;
    display: block;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    margin-top: 40px;
}

.embed-custom-content iframe {
    max-width: 100%;
}
