.nav_cont {
    position: relative;
    height: 778px;
    margin-bottom: 30px;
    background-color: #fff;
}

.nav-link {
    transition: none !important;
    display: flex;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* CSS to style the hyperlink */
.youtube-link {
    display: flex;
    background-color: #cbe0f2;
    color: #474747;
    padding: 8px;
    height: 100px;
    text-decoration: none;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.youtube-link>img {
    object-fit: contain;

}

.youtube-link:hover {
    /* background-color: #f33535;  */
    text-decoration: none;
    color: #fff;
}


.youtube-logo {
    width: 30px;
    /* Adjust size of logo */
    vertical-align: middle;
    /* Align logo vertically with text */
    margin-right: 10px;
    /* Add spacing between logo and text */
}

.facebook-text {
    text-decoration: none;
    padding-left: 15px;
    vertical-align: middle;
    /* Align text vertically with logo */
}

.youtube-text {
    color: #2f546c;
    padding-left: 15px;
    vertical-align: middle;
    /* Align text vertically with logo */
}

#myDropdown:hover>#hItem {
    display: block !important;
    background-color: #2f546ca7;
}

.dropdown-menu {
    border-radius: 0 !important;
}

.dropdown-menu.show,
#hItem {
    background-color: #2f546ca7;
    top: -30px;
    left: 100%;
    padding: 0;
}

.dropdown-menu>li:hover>.submenu {
    background-color: #2f546ca7;
}

.dropdown-item {
    color: #fff !important;
}

.dropdown-item:hover {
    color: #2f546c !important;
}

.dropdown-menu li {
    border-bottom: solid 2px #ffffffa4;
}

.fa-caret-down {
    float: right;
    color: #2f546ca7;
}

.nav_ul {
    list-style: none;
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 4px 10px;
    list-style: none;
    width: 100%;
}

.nav_li {
    color: #2f546c;
    list-style: none;
    cursor: pointer;
    text-transform: capitalize;
    border-bottom: solid 2px #003d6639;
    text-decoration: none;
    margin: 15px;
    padding-bottom: 10px;
    font-size: 13px;
    font-weight: 600 !important;
}

.nav_li:hover {
    color: #5d97bd;
    text-decoration: none !important;
}

.nav_li_a {
    color: #2f546c;
    text-decoration: none;
    border-bottom: solid 2px #003d6639;
}

.nav_li.active {
    color: #5d97bd !important;
}

.nav_li_a:hover {
    color: #5d97bd;
    text-decoration: none !important;
}

.sidenav>a>li {
    list-style: none;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    background-image: linear-gradient(to left, #3d7ddf, #1c4788);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    color: #fff;
    text-decoration: none;
    margin-left: 50px;
}

#main {
    transition: margin-left .5s;
    padding: 20px;
}

.burger {
    display: none;
}

.youtube {
    display: flex;
    align-items: center;
    transition: 0.2s;
    margin-top: 40px;
    width: 90%;
    height: 100px;
    margin-left: 5%;

}

.youtube:hover {
    scale: 1.1;
    text-decoration: none;
}

.facebook {
    display: flex;
    transition: background-color 0.3s ease;
    /* Smooth transition on hover */
    transition: 0.2s;
    margin-left: 5%;
    height: 100px;
    margin-top: 20px;
    width: 90%;
    border-radius: 5px;
    align-items: center;
    background-color: #cbe0f2;
}

.facebook:hover {
    scale: 1.1;
}

.facebook_a {
    display: flex;
    margin: 0 auto;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    font-size: 16px;
    width: 90%;
    color: #2f546c;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

/* .facebook:hover { */
/* cursor: pointer; */
/* color: #2f546c; */
/* background-color: #4c8db9; */
/* } */
.facebook-text {
    color: #2f546c;

}

#youtube_i {
    font-size: 40px;
}

#facebook_i {
    color: #2f546c;
    font-size: 40px;
}

.facebook_posts_div {
    height: 750px;
    background-color: #fff;
}

.Embed_facebook {
    width: 100%;
    display: flex;
    justify-content: center;
}

.facebook_iframe {
    border-radius: 10px;
    overflow: hidden;
    height: 650px;
    margin: 0 auto;
    width: 90%;
}

.iframe_div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fbposts_title {
    border-bottom: 4px solid #334f53;
    color: #334f53;
    font-size: 18px;
    padding-bottom: 10px;
    padding-top: 25px;
    margin: 15px;
}

@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 1.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute !important;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    /* .nav_ul {
        width: 100%;
    } */
}

@media screen and (max-width: 768px) {
    .leftside {
        display: none;
    }

    .links {
        display: none;
    }

    .mobile {
        display: block;
    }

    .right_side {
        display: none;
    }

    .nav_li_a:hover {
        text-decoration: underline;
        color: #fff;
        background-color: unset;
    }

    .burger {
        display: block;
    }

    .header-image {
        margin-left: 0;
    }
}