:root {
    --themeColor: #0398b3;
    --themeDeepColor: #006f83;
}

/* Common Style */
.theme-color {
    color: var(--themeColor);
}

.theme-bg {
    background-color: var(--themeColor);
}

.border-theme-color {
    border-color: var(--themeColor) !important;
}

input.form-control,
textarea.form-control,
select.form-select {
    box-shadow: none !important;
}

/* Hide the default checkbox */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--themeColor);
    /* Default border color */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    outline: none;
}

/* Add a custom checkmark image when checked */
.custom-checkbox:checked {
    background-color: var(--themeColor);
    border-color: var(--themeColor);
}

/* Public View */
.container.mt-5 {
    min-height: 75vh;
}

/* .container-image {
    overflow: auto;
    border-radius: 10px;
    overflow: auto;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} */

.scholarship-card {
    color: #ffffff;
}

.scholarship-card .card-body .card-title {
    line-height: 28px;
}

.scholarship-card .card-body {
    z-index: 1;
    color: #ffffff;
    backdrop-filter: blur(5px);
    background-color: #11101070;
    transition: 0.4s all ease-in-out;
    border-bottom: 2px solid var(--themeColor);
}

.scholarship-card:hover .card-body {
    /* color: #111010; */
}

.scholarship-card .card-body::before {
    content: "";
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    z-index: -1;
    position: absolute;
    background-color: var(--themeColor);
    transition: 0.4s all ease-in-out;
}

.scholarship-card:hover .card-body::before {
    height: 100%;
}

.scholarship-card .btn {
    color: #ffffff;
    background-color: var(--themeColor);
    transition: 0.4s all ease-in-out;
}

.scholarship-card button.btn,
.scholarship-card button.btn:hover {
    cursor: not-allowed;
    background-color: #198754;
}

.scholarship-card .btn:hover {
    background-color: var(--themeDeepColor);
}

.scholarship-card .card-footer span {
    color: var(--themeColor);
    font-size: 15px;
    text-transform: uppercase;
    padding: 0;
}

.scholarship-card {
    transition: transform 0.4s ease-in-out;
    transition-delay: 0.4s;
}

.scholarship-card:hover {
    transform: translateY(-3px);
}

/* Applay form */
.apply-form input.form-control,
.apply-form textarea.form-control,
.apply-form select.form-select {
    border-radius: 5px;
    border: 2px solid var(--themeColor);
}

.apply-form textarea.form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.apply-form .input-group-text {
    color: #ffffff;
    background-color: var(--themeColor);
    border: 2px solid var(--themeColor);
}

.apply-form .input-hover .form-control {
    position: relative;
    z-index: 1;
}

.apply-form .input-hover .form-control::after {
    content: "";
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    z-index: -1;
    position: absolute;
    background-color: var(--themeColor);
    transition: 0.4s all ease-in-out;
}

.apply-form .input-hover:hover .form-control::after {
    height: 100%;
}

.apply-form .btns .btn:first-child {
    color: #ffffff;
    border: 2px solid transparent;
    transition: 0.4s all ease-in-out;
    background-color: var(--themeColor);
}

.apply-form .btns .btn:first-child:hover {
    color: var(--themeColor);
    border: 2px solid var(--themeColor);
    background-color: transparent;
}

.apply-form .btns .btn:last-child {
    color: var(--themeColor);
    transition: 0.4s all ease-in-out;
    border: 2px solid var(--themeColor);
}

.apply-form .btns .btn:last-child:hover {
    color: #ffffff;
    background-color: var(--themeColor);
}

/* Sidebar */
.dashboard_sidebar a {
    color: #121d1f;
    transition: 0.4s all ease-in-out;
    background-color: #0399b320;
}

.dashboard_sidebar a:hover {
    color: #ffffff !important;
    background-color: var(--themeColor);
}

.dashboard_sidebar a.bg-primary {
    color: #ffffff !important;
    background-color: var(--themeColor) !important;
}

.dashboard_sidebar a.logout-btn {
    color: #ffffff;
    transition: 0.4s all ease-in-out;
    background-color: #a70016;
}

.dashboard_sidebar a.logout-btn:hover {
    background-color: #70000f;
}

.dashboard_sidebar a span {
    text-decoration: none;
    transition: 0.4s all ease-in-out;
}

.dashboard_sidebar a:hover span {
    transform: translateX(5px);
}

.dashboard_sidebar a.logout-btn:hover span {
    transform: translateX(0);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .dashboard_sidebar {
        padding: 10px !important;
    }

    .dashboard_sidebar a {
        padding: 10px 0 !important;
    }
}

@media (max-width: 991px) {
    .dashboard_sidebar {
        margin-right: 1rem;
    }
}

/* User Profile */


/* Top Nav */
.top-nav {
    font-size: 14px;
    background-color: #fbfbfb;
}



@media (max-width: 767px) {
    .top-nav .row-mx-md {
        display: flex;
        flex-wrap: wrap;
        margin-top: calc(-1* var(--bs-gutter-y));
        margin-right: calc(-.5* var(--bs-gutter-x));
        margin-left: calc(-.5* var(--bs-gutter-x));
    }

    .top-nav .row-mx-md a {
        display: inline-block;
        /* margin-bottom: 5px; */
    }
}

.top-nav img {
    width: 20px;
    height: auto;
}

.social_links img {
    width: 24px;
    height: auto;
}

.top-nav .language {
    padding-left: 3px;
    border-left: 1px solid #9b9191;
}

.language #country_selector {
    padding-left: 0 !important;
    border: 0;
    background: transparent;
    width: 0 !important;
}

.language .iti__dropdown-content {
    min-width: min-content;
}

.language .iti__dial-code {
    display: none;
}

.language .iti__flag {
    transform: scale(1.5);
}

.language .iti__arrow {
    margin-left: 10px;
}

body.navbar-fixed .top-nav .language {
    margin-top: -58px;
}

/* Navbar */
.navbar .item:hover .nav-link {
    color: #0398b3;
}

.navbar .item .nav-link.active {
    color: #0398b3;
}

.navbar .item {
    font-weight: bold;
    font-size: 16px;
    padding: 0px 10px;
    /* border-right: 1px solid #ddd; */
}

.navbar .item:nth-last-child(1),
.navbar .item:nth-last-child(2),
.navbar .item:nth-last-child(3),
.navbar .item:nth-last-child(4) {
    border: 0;
    /* padding: 0px 5px; */
    display: flex;
    align-items: center;
}



.navbar .item .btn-diff {
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 5px;
    background-color: #0398b3;
    border: 1px solid #0398b3;
    transition: 0.4s allease-in-out;
}

.navbar .item:hover .nav-link.btn-diff {
    color: #ffffff;
    background-color: #006f83;
}

.navbar .item .btn-diff-border {
    color: #0398b3;
    padding: 8px 15px !important;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #0398b3;
    transition: 0.4s allease-in-out;
}

.navbar .item:hover .nav-link.btn-diff-border {
    color: #ffffff;
    background-color: #0398b3;
}

.navbar .item .btn-diff-border.logout {
    color: #DC3545;
    border: 1px solid #DC3545;
    transition: 0.4s all ease-in-out;
}

.navbar .item:hover .nav-link.btn-diff-border.logout {
    color: #ffffff;
    background-color: #DC3545;
}

body.navbar-fixed {
    margin-top: 66px;
}

/* body.navbar-fixed .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff;
} */

@media (max-width: 1200px) {
    .navbar .item {
        padding: 0px 5px;
    }

}

@media screen and (max-width:1199px) {
    .navbar .item .btn-diff {
        width: 176px !important;
        margin: 10px 0px;
    }

    .navbar .item .btn-diff-border {
        width: 176px !important;
    }

    .goog-te-gadget-simple {
        float: left !important;
    }

    div#google_translate_element_desktop {
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    .navbar .item:nth-last-child(4) {
        padding-right: 0;
    }


}


@media (max-width: 991px) {
    .navbar .item {
        border: 0;
        width: 26%;
    }

    .navbar .item:nth-last-child(1),
    .navbar .item:nth-last-child(2),
    .navbar .item:nth-last-child(3) {
        display: block;
        text-align: center;
    }


}

@media (max-width: 767px) {

    .navbar .item {
        border: 0;
        margin-bottom: 0;
        width: 35%;
    }

    .navbar .item:nth-last-child(1) {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .navbar .item {
        margin-bottom: 0;
        width: 46%;
    }

    .row-mx-sm {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        display: flex;
        flex-wrap: wrap;
        margin-top: calc(-1 * var(--bs-gutter-y));
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x));
    }
}

/* Hero Section */
.hero .title {
    font-size: 36px;
    line-height: 52px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 10px;
}

.hero .btn {
    color: #ffffff;
    background-color: #0398b3;
    border: 1px solid #0398b3;
    transition: 0.4s all ease-in-out;
}

.hero .btn:hover {
    color: #0398b3;
    background-color: transparent;
}

.hero .hero-content {
    background-color: #dfdfdf;
}

@media (max-width: 991px) {
    .hero .title {
        font-size: 27px;
        line-height: 32px;
    }

    .hero .title br {
        display: none;
    }

    .hero p {
        line-height: 24px;
    }
}

@media (max-width: 767px) {
    .hero .title {
        font-size: 28px;
        line-height: 38px;
    }

    /* .hero img {
        max-width: 50%;
    } */

    .hero p {
        line-height: 24px;
    }

    .ads img {
        max-width: 100%;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 400px) {
    .hero .title {
        font-size: 23px;
        line-height: 30px;
    }
}

/* Scholaships */
.breadcrumb_nav h2,
.breadcrumb_nav h5 {
    color: var(--themeColor);
}

.slick-slide {
    margin: 0 15px;
    transform: scale(0.8);
}

.slick-slide.slick-current.slick-active.slick-center {
    transform: scale(1.2);
    transition: transform 0.3s ease;
    /* border-radius: 20px; */
}

.slick-slide img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* border-radius: 20px; */
}

.center {
    overflow: hidden;
}

.slick-prev,
.slick-next {
    z-index: 1;
}

.slick-prev:before,
.slick-next:before {
    color: var(--themeColor);
}

/* .slick-prev, .slick-next {
    z-index: 999999999;
    background-color: var(--themeColor);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    opacity: 0.7;
    transition:  0.4s all ease-in-out;
  }

  .slick-prev:hover, .slick-next:hover {
    opacity: 1;
    background-color: var(--themeDeepColor);
  } */

.slick-prev {
    /* left: -50px; */
    left: 0;
    color: white;
}

.slick-next {
    /* right: -50px; */
    right: 0;
    color: white;
}

/* .slick-prev:before, .slick-next:before {
    content: '';
  }

.slick-prev:after {
    content: '\f061';
    font-size: 24px;
    color: white;
    font-family: "Font Awesome 5 Free";
}

.slick-next:after {
    content: '\f061';
    font-size: 24px;
    font-family: "Font Awesome 5 Free";
} */

.projects .project-item {
    background-color: #e2e2e291;
    padding: 15px;
    border-radius: 11px;
}

.projects h2 {
    font-size: 28px;
    font-weight: 400;
}

.projects h5 {
    font-size: 18px;
    font-weight: 400;
}

.projects .description {
    font-size: 16px;
    line-height: 26px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.projects .btn {
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    transition: 0.4s all ease-in-out;
    background-color: var(--themeColor);
}

.projects .btn:hover {
    background-color: var(--themeDeepColor);
}

.nav-link {
    font-weight: 500;
    color: #000;
    font-size: 15px;
    font-family: "Rubik", serif;
}

.footer_nav ul li a {
    font-size: 14px;
}

.scholarship_card {
    background: #f8f8f8 !important;
    padding: 12px;
    border: 1px solid #efefef !important;
}

.scholarship_open {
    background: #0398b317 !important;
    border-color: #0398b3 !important;
}

.scholarship_closed {
    background: #f443360a !important;
    border-color: #f4433626 !important;
}

.closed_tag {
    position: absolute;
    top: 11px;
    right: -41px;
    background: #ff1706;
    color: #fff;
    padding: 1px 45px;
    font-size: 14px;
    transform: rotate(45deg);
}

.btn_primary {
    background: #0398b3;
    display: block;
    text-align: center;
    color: #fff !important;
    padding: 8px 0px;
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

.scholarship_card h5 {
    font-size: 18px;
    font-weight: 500;
}

.fw-bold-light {
    font-weight: 500 !important;
}

/* @media (min-width: 768px) {
    .navbar-expand-md .navbar-nav {
        gap: 10px;
    }
} */

.university_img {
    text-align: center !important;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    height: 150px;
    overflow: hidden;
}

.university_img img {
    width: auto !important;
    max-height: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* Cusotm Card */
.custom-card {
    border: 1px solid #0398b3;
}

/* .custom-card .bottom {
    position: static;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
} */

.custom-card .title {
    font-size: 26px;
    letter-spacing: .2px;
    line-height: 28px;
    margin-bottom: 4px;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-card .period {
    font-size: 16px;
    line-height: 130%;
    color: #5b5b5b;
    margin-bottom: 0;
}

.custom-card.scholarship_closed .period {
    margin-bottom: 0;
}

.custom-card .price {
    font-size: 24px;
    color: #0c0034;
}

.custom-card .btn {
    font-size: 22px;
    color: #0398b3;
    border: 0;
}

.custom-card .btn svg {
    position: relative;
    left: 0;
    transition: all 0.4s ease-in-out;
}

.custom-card:hover .btn svg {
    left: 3px;
}

.custom-card .btn:hover svg {
    left: 5px;
}

.scholarship_price {
    border: 1px solid #0398b338;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 17px;
    background: #0398b30a;
    color: #0398b3;
}
