/*!
Author: Top Line
Author URI: https://www.topline.com.sa
*/

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #0088C7;
    --color-secondary: #5CC1ED;
    --color-third: #2E60AC;
    --color-fourth: #053A58;
}

.text-color1 {
    color: var(--color-primary);
}

.text-color2 {
    color: var(--color-secondary);
}

.bg-color1 {
    background-color: var(--color-primary);
}

.bg-color2 {
    background-color: var(--color-secondary);
}

.border-color1 {
    border-color: var(--color-primary) !important;
}

.border-color2 {
    border-color: var(--color-secondary) !important;
}

.bg-gradient1 {
    background: linear-gradient(90deg, var(--color-secondary) 10%, var(--color-primary) 90%);
}

.text-gray {
    color: #BCBCBC;
}

.bg-gray {
    background-color: #E9EAEA;
}


body {
    font-family: 'Tajawal', sans-serif;
    color: var(--color-fourth);
}

img {
    max-width: 100%;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a {
    transition-duration: 1s;
    color: var(--color-fourth);
}

a:hover,
a:focus {
    transition-duration: 1s;
}

.h2,
h2 {
    font-size: 40px;
    font-weight: bold;
}

.h5,
h5 {
    font-size: 21px;
}

p {
    line-height: 1.8em;
}

.shadow {
    box-shadow: 0 3px 15px #DDD !important;
}

.border-dashed {
    border: dashed 1px #DDDDDD;
}

.divider1 {
    background-color: var(--color-primary);
    height: 30px;
    width: 2px;
    margin: auto;
}

.divider2 {
    background-color: #FFFFFF;
    height: 1px;
    width: 50px;
    text-align: center;
}

ul {
    list-style-type: none;
    padding-inline-start: 0;
}

[type=email],
[type=number],
[type=tel],
[type=url] {
    direction: rtl;
}

button,
input,
optgroup,
select,
textarea {
    max-width: 100%;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: #9ba2ad;
}

select:focus>option:checked {
    background-color: var(--color-secondary) !important;
    color: #FFFFFF !important;
}

.form-check-input:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.form-select,
.form-control {
    padding: 14px;
    font-size: 14px;
    border: 0;
    background-color: #F8F8F8;
    border-radius: 0;
}

textarea.form-control {
    height: inherit;
}

.mt--50 {
    margin-top: -50px;
}

.mt--100 {
    margin-top: -100px;
}

.mb--50 {
    margin-bottom: -50px;
}

.mb--100 {
    margin-bottom: -100px;
}

.mb--150 {
    margin-bottom: -150px;
}

.mb--250 {
    margin-bottom: -250px;
}

.max-h-400 {
    max-height: 400px;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #eeeeee;
    border-radius: 7px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.dropdown-menu.show {
    border-radius: 0;
    border: none;
    box-shadow: 0 0 10px #DDDDDD;
}


/* Header */
#site-header .top {
    position: relative;
    padding: 7px 0;
    background: linear-gradient(to left, var(--color-secondary) 25%, var(--color-third) 25%);
}

#site-header .top .user-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

#site-header .top .dropdown-toggle::after {
    color: #FFFFFF;
}

#site-header .social a {
    color: #E1F4FC;
    font-size: 11px;
    margin: 5px;
}

#site-header .social a:hover {
    color: var(--color-primary);
}



#site-header li.nav-item,
#home-header li.nav-item {
    text-align: center;
}

#site-header .navbar-brand img {
    height: 60px;
}

#site-header nav.navbar.navbar-expand-lg {
    padding: 5px;
}

#site-header .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}

#site-header .navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 500;
    padding: 15px;
}

#site-header .navbar-expand-lg button.navbar-toggler {
    border: none;
}



/* Footer */
#site-footer {
    color: #FFFFFF;
    font-weight: 300;
}

#site-footer .footer1 {
    margin-bottom: -75px;
    position: relative;
    z-index: 1;
}

#site-footer .footer2 {
    background: url("../images/bg-f.jpg") top center/cover;
    position: relative;
}

#site-footer .social a {
    color: #FFFFFF;
    font-size: 12px;
    margin: 7px;
}

#site-footer .social a:hover {
    color: var(--color-primary);
}

#site-footer .border-top-dashed {
    border-top: 2px #dddddd1c dashed;
}


/* ratings */
.ratings .bi-star-fill {
    color: #9ba2ad;
    font-size: 12px;
}

.ratings .bi-star-fill.checked {
    color: gold;
}

.rating {
    display: inline-block;
    position: relative;
    height: 50px;
    line-height: 50px;
    font-size: 50px;
}

.rating label {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    cursor: pointer;
    margin: auto;
}

.rating label:last-child {
    position: static;
}

.rating label:nth-child(1) {
    z-index: 5;
}

.rating label:nth-child(2) {
    z-index: 4;
}

.rating label:nth-child(3) {
    z-index: 3;
}

.rating label:nth-child(4) {
    z-index: 2;
}

.rating label:nth-child(5) {
    z-index: 1;
}

.rating label input {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
}

.rating label .icon {
    float: right;
    color: transparent;
}

.rating label:last-child .icon {
    color: #DDDDDD;
}

.rating:not(:hover) label input:checked~.icon,
.rating:hover label:hover input~.icon {
    color: gold;
}

.rating label input:focus:not(:checked)~.icon:last-child {
    color: #DDDDDD;
}

[dir="rtl"] .lang-toggle .me-1 {
    margin-left: .25rem;
    margin-right: 0;
}

.no-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* All */

#otpForm {
    text-align: center;
}

#otpForm .section-title {
    font-size: 22px;
}

#otpForm .input {
    width: 55px;
    border: 1px solid var(--color-secondary);
    margin: 0 5px;
    text-align: center;
    font-size: 26px;
    /*cursor: not-allowed;
    pointer-events: none;*/
}

#otpForm .input:focus {
    border: 1px solid var(--color-primary);
    outline: none;
}


.swiper-button-next:after,
.swiper-button-prev:after {
    color: #ffffff;
    font-size: 12px;
    padding: 15px 18px;
    border-radius: 50%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.accordion-item {
    border: none;
}

button.accordion-button {
    background-color: #FCFCF4;
    margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #FCFCF4;
    border-bottom: none;
}

.accordion-collapse.collapse.show {
    box-shadow: 0 3px 5px 0 #DDD;
    margin-bottom: 10px;
    margin-top: -10px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: white;
    box-shadow: 0 0 10px 0 #DDDDDD;
    border-radius: 50px;
}

.btn1 {
    background: var(--color-primary) linear-gradient(to right, var(--color-secondary), var(--color-primary));
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 14px;
    padding: 14px 20px;
    margin: 5px;
}

.btn1:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn2 {
    background: #FFFFFF;
    border: none;
    border-radius: 0;
    font-size: 14px;
    padding: 14px 20px;
    margin: 5px;
}

.btn2:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn3 {
    background: var(--color-primary) linear-gradient(to right, var(--color-secondary), var(--color-primary));
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 14px;
    padding: 14px 60px;
    margin: 5px;
}

.btn3:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn4 {
    background: var(--color-primary) linear-gradient(to right, var(--color-secondary), var(--color-primary));
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 13px;
    padding: 10px 20px;
    margin: 5px;
}

.btn4:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn5 {
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 0;
    font-size: 14px;
    padding: 14px 50px;
    margin: 5px;
}

.btn5:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn6 {
    background: #DC3545;
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 13px;
    padding: 10px 25px;
    margin: 5px;
}

.btn6:hover {
    background: black;
    color: #FFFFFF;
}

.btn7 {
    background-color: var(--color-secondary);
    height: 40px;
    width: 40px;
    line-height: 35px;
    border-radius: 50%;
    display: inline-block;
    color: #FFFFFF;
    font-size: 25px;
    font-weight: bold;
    margin-left: -20px;
}

.btn8 {
    background: #053956;
    border: none;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 13px;
    padding: 10px 20px;
    margin: 5px;
}

.btn8:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}

#about {
    background: url("../images/Path1.png") bottom right no-repeat;
    padding: 70px 0;
    position: relative;
}

#about .bg1 {
    /* background: url("../images/a-1.jpg") top right no-repeat; */
    padding: 70px 0;
}

#about .bg2 {
    background: url("../images/bg2.png") center/100% 100%;
    padding: 20px 40px;
    width: fit-content;
    position: absolute;
    bottom: 40%;
    right: 15%;
    color: #FFFFFF;
    z-index: 3;
}

#about .bg3 {
    /* background: url("../images/a-2.jpg") bottom left no-repeat; */
    width: 300px;
    height: 230px;
    position: absolute;
    bottom: 70px;
    right: 23%;
    color: #FFFFFF;
    z-index: 2;
}

#effective {
    background: url("../images/Path2.png") bottom left no-repeat;
    padding: 40px 0 70px 0;
    position: relative;
}

.posts .card {
    border-radius: 0;
}

.posts .card-img-top {
    border-radius: 0;
}

.posts .card-title a {
    font-size: 16px;
    font-weight: bold;
}

.posts .user-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.user-img2 {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

#blockEvents {
    background: url("../images/bg.png") center/cover;
    padding: 250px 0 70px 0;
    position: relative;
}

#contactHome {
    background: url("../images/bg-c.jpg") center fixed;
    background-size: cover;

    padding: 70px 0;
    position: relative;
}

.modal-content {
    border-radius: 0;
}

ul.pagination {
    column-gap: 5px;
}

ul.pagination a.page-link {
    border-radius: 5px;
    color: #b3b3b3;
    font-size: 13px;
}

.notifications .alert {
    border-radius: 0;
    padding: 10px;
}

.notifications .alert a.btn-close {
    --bs-btn-close-bg: none;
    top: 5px;
}


/* Zoom In*/
figure {
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    height: 230px;
}

figure:hover+span {
    bottom: -36px;
    opacity: 1;
}

figure img {
    height: 230px;
    object-fit: cover;
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

figure:hover img {
    transform: scale(1.3);
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.figure2 {
    height: 100%;
}

.figure2 img {
    height: 100%;
}



.border-dashed-right {
    border-right: 2px #DDDDDD dashed;
}

.tabs-requests .nav-link {
    background: #D8D8D8;
    border: none;
    border-radius: 0;
    color: #333333;
    font-size: 13px;
    padding: 7px 15px;
    margin: 5px;
}

.tabs-requests .nav-link.active {
    background: var(--color-primary) linear-gradient(to right, var(--color-secondary), var(--color-primary));
    color: #FFFFFF;
}

.img-c-h {
    height: 100px;
    width: auto;
}


/* RESPONSIVE */
@media (min-width: 992px) {}

@media (max-width: 62em) {

    .h2,
    h2 {
        font-size: 40px;
    }

    .h5,
    h5 {
        font-size: 16px;
    }

    #site-header .navbar-brand img {
        height: 50px;
    }

    #site-header div#menu2,
    #home-header div#menu2 {
        position: absolute;
        top: 26px;
        left: 50px;
    }

    #site-header a.navbar-toggler {
        padding: 0;
        border: 0;
    }

    #site-header .top {
        background: var(--color-third);
    }

    #about .bg2 {
        bottom: auto;
        top: 70px;
    }

    #about .bg3 {
        display: none;
    }

    #otpForm .input {
        width: 30px;
        font-size: 20px;
    }

}

@media (max-width: 40em) {}

.institute-logo {
    width: 360px;
    height: 130px;
    margin: 0;
    margin-inline: auto;
}

.institute-logo img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

figure.institute-logo:hover img {
    transform: unset;
}

#institute .logo-institute {
    display: block;
    height: 60px;
    transition: unset;
    margin-bottom: 30px;
}

#institute .logo-institute img {
    width: 100% !important;
    height: 100% !important;
    object-fit: scale-down;
}

#homeSlider {
    margin-bottom: 30px
}

#homeSlider .item {
    height: 210px;
}

#homeSlider .item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (min-width:992px) {
    #homeSlider .item {
        height: 410px;
    }

    #institute .logo-institute {
        height: 90px;
    }
}

@media (min-width:1200px) {
    #homeSlider .item {
        height: 550px;
    }

    #institute .logo-institute {
        height: 110px;
    }
}