/* header */

* {
    box-sizing: border-box;
}

body {
    font-family: "Cairo", sans-serif;
    margin: 0 auto;
}

/*inner page*/

.container-fluid {
    width: 90%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.header {
    background-color: #fff;
}

/*inner page*/

.navbar-brand {
    width: 100px;
    float: left;
    border-right: solid 1px #e3e2e2;
    padding-right: 25px;
}

.navbar-brand img {
    width: 100%;
}

.top-nav-inner {
    float: left;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    padding: 15px 15px;
}

.header {
    float: left;
    width: 100%;
    z-index: 3;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header li a {
    display: block;
    padding: 20px 20px;
    font-weight: bold;
    text-decoration: none;
    color: #032644;
}

.header li a:hover {
    color: #f37021 !important;
}

.header li a:hover,
.header .menu-btn:hover {
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 20px;
    text-decoration: none;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height 0.2s ease-out;
    float: left !important;
    margin-top: 10px;
    font-size: 16px;
    display: flex;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background 0.2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
    margin-top: 10px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

.top-nav-search input {
    border-radius: 6px;
    background: #f3f4f6;
    border: none;
    height: 44px;
    width: 320px !important;
    padding: 0 22px;
}

.top-nav-search {
    position: relative;
}

.top-nav-search button {
    background: none;
    border: 0;
    position: absolute;
    z-index: 1111;
    right: 15px;
    top: 15px;
    box-shadow: none !important;
}

.top-nav-search button:hover {
    background: none;
    border: 0;
}

.top-nav-search button:active {
    background-color: #ffffff00 !important;
    border: 0;
}

.top-nav-search button:focus {
    box-shadow: none;
    outline: 0px dotted !important;
}

.form-control:focus {
    color: #495057;
    background-color: #efeeeb;
    outline: 0;
    box-shadow: none;
    border: solid 1px #dadada;
}

.top-nav-right-links {
    float: right;
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.search-submit {
    vertical-align: baseline;
}

.button-main {
    display: flex;
    width: auto;
    height: 44px;
    padding: 0px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--main, #032644);
    color: #fff !important;
    text-decoration: none;
}

.button-main:hover {
    background: #f37021;
}

.top-nav-menus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.mt-nav {
    margin-top: 25px;
}

/* 48em = 768px */

@media (min-width: 48em) {
    .header li {
        float: left;
    }
    .header li a {
        padding: 20px 30px;
    }
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }
    .header .menu-icon {
        display: none;
    }
}

@media only screen and (max-width: 780px) {
    .container-fluid {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
    .top-nav-menus {
        display: unset;
    }
    .navbar-brand {
        border-right: solid 0px #e3e2e2;
    }
    .header .menu-btn:checked ~ .menu {
        width: 100%;
    }
    .top-nav-search input {
        width: 100% !important;
    }
    .top-nav-right-links {
        float: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .top-nav-search {
        width: 100%;
    }
    .top-nav-inner {
        padding: 15px 5px;
    }
}
.active {
    color: #f47021 !important;
}


@media (min-width: 48em) {
    .header li a {
        padding: 20px 15px;
    }
}
html[lang="ar"]{
    .search-course-button {
	    right: unset;
	    left: 0;
	}
    .top-nav-inner {
        float: left;
        width: 100%;
        background: #fff;
        border-radius: 0px;
        padding: 15px 15px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar-brand {
        border-right: unset;
        border-left: solid 1px #e3e2e2;
        padding-left: 25px;
        padding-right: 0;
    }
}