@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400&display=swap&family=Sarabun:wght@100;300;400;800&display=swap');
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Prompt', sans-serif;
    font-weight: 400;
}

h5 {
    font-size: 14px;
}

body {
    font-family: 'Sarabun', sans-serif;
    letter-spacing: 0.05em;
    background-color: #FAFAFA;
}

.cardx {
    color: white;
    font-weight: 400;
    font-size: 18px;
}

.full_navbar {
    background-color: #2c2d53;
    font-family: 'Prompt', sans-serif;
    padding: 10px;
    font-weight: 300;
    color: white;
    height: 42px;
}

.main_navbar {
    font-family: 'Prompt', sans-serif;
    padding: 10px;
    background-color: #2c2d53;
    font-weight: 300;
    color: white;
    float: left;
}

.banner {
    font-weight: 800;
}

.main_navbar_right {
    font-family: 'Prompt', sans-serif;
    padding: 10px;
    background-color: #32532C;
    font-weight: 300;
    color: white;
    float: right;
}

.menubar {
    background-color: #FFFFCD;
    /* #FFCA28; */
    height: 50px;
    overflow: hidden;
}

.menubar div.item {
    font-family: 'Prompt';
    float: left;
    font-size: 16px;
    color: #32532C;
    text-align: center;
    padding: 14px 16px 16px 14px;
    text-decoration: none;
    cursor: pointer;
}

.menubar div.item:hover {
    font-family: 'Prompt';
    float: left;
    font-size: 16px;
    color: white;
    background-color: #32532C;
    text-align: center;
    padding: 14px 16px 16px 14px;
    text-decoration: none;
    cursor: pointer;
}

.main_navbar div.item {
    float: right;
    font-size: 16px;
    color: #666;
    text-align: center;
    padding-top: 16px;
    text-decoration: none;
    cursor: pointer;
}

.clear {
    clear: both;
}

.logo {
    text-align: center;
    width: 100%;
}

.footer {
    background-color: #32532C;
    padding: 20px;
    min-height: 100px;
    color: white;
}

div.underline {
    width: 50%;
    border-bottom: 1px solid white;
    margin-bottom: 20px;
}

.card-img-overlay {
    background-color: rgba(30, 30, 30, 0.4);
    min-height: 60px;
    padding: 10px;
}

.card-img-overlay:hover {
    background-color: rgba(255, 255, 255, 0.0);
    min-height: 60px;
    padding: 10px;
    cursor: pointer;
}

.act-card {
    max-height: 180px;
    overflow: hidden;
}

.act-container {
    margin-bottom: 40px;
    margin-top: 30px;
}

.before-footer {
    text-align: center;
    background-color: #E8E6CD;
}

img.autoresize {
    max-width: 100%;
    height: auto;
}

.join-us:hover {
    color: #333;
    background-color: rgb(255, 224, 130);
}

.donate-us:hover {
    color: #333;
    background-color: rgb(57, 149, 246);
}

.carousel-item {
    background-color: #EEE;
}

.menubutton {
    display: none;
}

.sliding-text1{
    margin-left : 10%; 
    margin-right : 10%; 
    margin-bottom: 10%;
    padding : 30px;
    background-color : rgba(30,30,30,0.4); 
    color : white; 
    text-shadow: 2px 2px #000; 
    clear:both;
    font-size : 2.4em; 
    text-align:center;
    font-family: 'Prompt', sans-serif;
    font-weight: 400;
}

/* Sidebar menu */

@media screen and (max-width: 768px) {
    .navbarX {
        padding-left: 5px;
    }
    .navbarX div:not(:first-child) {
        display: none;
    }
    .menubutton {
        display: block;
        float: right;
        margin-top: 10px;
        margin-right: 20px;
    }
    #lang_bar {
        display: none;
    }
    #search_bar {
        display: none;
    }
    #lang_bar_small {
        display: block;
    }
    #search_bar_small {
        display: block;
    }

    .sliding-text1{
        margin-top : -30px;
        margin-left : 10%; 
        margin-right : 10%; 
        padding: 10px;
        background-color : rgba(30,30,30,0.4); 
        color : white; 
        text-shadow: 2px 2px #000; 
        clear:both;
        font-size : 1.5em; 
        text-align:center;
        font-family: 'Prompt', sans-serif;
        font-weight: 400;
    }
}

@media screen and (min-width: 768px) {
    #lang_bar_small {
        display: none;
    }
    #search_bar_small {
        display: none;
    }
}

#side-menu{
    display : none;
}

.side-nav {
    font-family: 'Prompt';
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 30%;
    background-color: #FFCA28;
    font-family: Arial;
    color: black;
    opacity: 0.9;
    overflow-x: hidden;
    padding-top: 60px;
    transition: width .35s ease-in-out;
}

.side-nav a {
    font-family: 'Prompt';
    padding: 10px 10px 10px 30px;
    text-decoration: none;
    font-size: 1.1em;
    color: #666;
    display: block;
    transition: 0.3s;
}

.side-nav a:hover {
    color: black;
}

.side-nav .btn-close {
    position: absolute;
    top: 0;
    right: 22px;
    font-size: 36px;
    margin-left: 50px;
}

.side-ul {
    margin-left: 30px;
    font-family: 'Prompt';
}

#mainDiv {
    transition: margin-left 0.5s;
    padding: 0px;
    overflow: hidden;
    width: 100%;
}


/* Mega Menu */

.dropdownX {
    float: left;
    /* overflow: hidden; */
    font-family: 'Prompt';
    font-size: 16px;
    padding: 14px 16px 16px 14px;
    text-decoration: none;
    cursor: pointer;
}

.dropdownX:hover {
    float: left;
    /* overflow: hidden; */
    font-family: 'Prompt';
    font-size: 16px;
    padding: 14px 16px 16px 14px;
    text-decoration: none;
    color: #000;
    background-color: white;
    cursor: pointer;
}

.megamenu a {
    font-family: 'Sarabun', sans-serif;
}

.megamenu {
    padding: 5px;
}

.megamenu a:hover {
    background-color: #FFCA28;
}

.dropdown-contentX {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 90%px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    margin-top: 12px;
    margin-left: -350px;
}

.dropdown-contentX a {
    float: none;
    color: black;
    padding: 5px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-context:hover {
    background-color: #f9f9f9;
}

.dropdownX .dropbtnX {
    font-size: 16px;
    border: none;
    outline: none;
    color: #333;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

.dropdown-contentX {
    display: none;
    z-index: 100;
}

.dropdownX:hover .dropdown-contentX {
    display: block;
    z-index: 100;
}

.col-sm.megamenu {
    font-size: 0.9em;
    text-align: left;
    width: 220px !important;
}

.container .megamenu {
    width: 800px !important;
}

.megahead {
    color: #0D47A1;
    height: 50px;
}
