html,
body {
    margin: 0;
    padding-top: 50px;
    height: 100%;
    font-family: 'Open Sans Hebrew';
}

.main-container {
    direction: rtl;
    max-width: 1920px;
    height: 1080px;
    margin: 0 auto;
}

.main-container .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 102px;
    /* margin: 0 28px; */
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F1F1F1;
    top: 0;
    padding: 0 30px;
}

.main-container .header .header-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation-row {
    display: flex;
}

.header .menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 60px;
    min-width: 70px;
    height: 102px;
    cursor: pointer;
    border-bottom: 3px solid #fff;
}

.header .menu-item:hover,
.header .menu-item.selected {
    border-bottom: 3px solid #006995;
}

.header .dropdown-item.selected {
    /* This is not the correct color yet (the designer has not gotten back to us yet) */
    background-color: #f8f9fa;
}

.dropdown-menu a:active {
    /* This is not the correct color yet (the designer has not gotten back to us yet) */
    background-color: #f8f9fa;
}

#content-start {
    scroll-margin: 102px;
}

/* .header .menu-item:last-child {
    margin-left: initial;
} */
.header .menu-item title {}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0px;
}

.header .menu-item .title a {
    color: #666666;
    font-size: 20px;
    text-decoration: none;
}

.header .menu-item .icon {
    margin-left: 10px;
}

.header .logo {
    background-image: url('../images/main-logo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 350px;
    height: 102px;
    margin-right: 50px;
}

.content-container:not(.home) {
    padding-top: 0;
}

.content-container {
    padding-top: 60px;
}

.page-note-container {
    font-family: Heebo;
}


.site-logo-home-link {
    display: block;
    width: 100%;
    height: 100%;
}

.dropdown-menu {
    border: none;
}

.dropdown-menu li {
    border-bottom: 1px solid #F1F1F1;
}

@media (max-width: 1300px) {

    .main-container {
        max-width: 1300px;
    }

    .main-container .header .header-part.logo-holder {
        max-width: 550px;
    }

    .header .logo {
        background-image: url('../images/main-logo.png');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 350px;
        height: 102px;
        margin-right: 20px;
    }

    .header .menu-item {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 40px;
        min-width: 60px;
        max-width: initial;
        white-space: nowrap;
        height: 102px;
        cursor: pointer;
    }

    .header .menu-item .title a {
        color: #666666;
        font-size: 18px;
        text-decoration: none;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #F1F1F1;
    }
}

@media (min-width: 1900px) {
    .header .logo {
        width: 476px;
        height: 102px;
    }
}

/* By Umair */

.navbar-toggler {
    border: none;
    padding: 0;
    cursor: pointer;
}

.navbar-toggler.collapsed .icon-bar {
    height: 4px;
    width: 30px;
    background: #006995;
    display: block;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    border-radius: 20px;
}

.navbar-toggler.collapsed .icon-bar:not(:last-child) {
    margin-bottom: 5px;
}

.navbar-toggler:not(.collapsed) .icon-bar {
    height: 4px;
    width: 30px;
    background: #006995;
    display: block;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    display: none;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(4) {
    transform: rotate(-45deg) translateX(2px) translateY(-2px);
}

/* .navbar-toggler::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 29px;
    height: 41px;
    background: url("../images/close.svg") no-repeat;
    background-size: cover;
}
.navbar-toggler.collapsed::before {
    background: url("../images/hamburger.svg") no-repeat;
    background-size: cover;
    width: 38px;
    height: 29px;
} */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.header .menu-item .title {
    position: relative;
}

@media (max-width: 991.98px) {
    .navigation-row {}

    html,
    body {
        padding-top: 56px;
    }

    body.menu-open {
        position: relative;
        overflow-y: hidden;
    }

    body.menu-open::before {
        position: absolute;
        content: "";
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: #ffffff;
        z-index: 1;
    }

    body.menu-open::after {
        position: absolute;
        content: "";
        left: 0;
        width: calc(100vw - 28px);
        width: calc(100vw - 20px);
        height: calc(100% - 76px);
        bottom: 0;
        background-color: #F1F1F1;
        z-index: 2;
    }

    .main-container .header .header-part {
        margin-left: 30px;
    }

    .main-container .header .header-part .navbar-collapse {
        position: absolute;
        top: 100%;
        top: calc(100% + 40px);
        top: calc(100% + 52px);
        background: #006995;
        width: 100vw;
        width: 95vw;
        width: calc(100vw - 71px);
        height: calc(100vh - 73px);
        /* height: calc(100vh - 93px); */
        overflow-y: auto;
        right: 51px;
    }

    .main-container .header .header-part .navbar-collapse.collapsing {
        height: auto;
        transition: none;
    }

    .main-container .header .header-part .navbar-collapse .navbar-nav .nav-item:nth-child(1) {
        order: 0;
    }

    .main-container .header .header-part .navbar-collapse .navbar-nav .nav-item:nth-child(2) {
        order: 2;
    }

    .main-container .header .header-part .navbar-collapse .navbar-nav .nav-item:nth-child(3) {
        order: 1;
    }

    .main-container .header .header-part .navbar-collapse .navbar-nav .nav-item:nth-child(4) {
        order: 3;
    }

    .main-container .header .header-part .navbar-collapse .navbar-nav .nav-item:last-child .menu-item {
        border-bottom: 0 !important;
    }

    .header .navigation-row .menu-item {
        height: auto;
        border-bottom: 1px solid #ffffff !important;
        margin-left: 0;
    }

    .header .navigation-row .menu-item .icon {
        display: none;
    }

    .header .navigation-row .menu-item .title {
        width: 100%;
        text-align: center;
    }

    .header .navigation-row .menu-item .title a {
        color: #CFF5FF;
        font-size: 20px;
        padding: 0;
        text-align: center;
        padding: 15px 0;
        display: block;
        position: relative;
    }

    .header .navigation-row .menu-item.selected .title>a {
        color: black;
    }

    .header .navigation-row .menu-item.selected.dropdown .title>a {
        color: #CFF5FF;
    }

    .header .navigation-row .menu-item.selected.dropdown .title>a.show {
        font-weight: bold;
    }

    .header .navigation-row .menu-item.selected.dropdown .dropdown-menu li.active>a {
        color: black;
    }

    .header .navigation-row .menu-item .title a[data-bs-toggle="dropdown"] {
        display: inline-block;
        padding-right: 30px;
    }

    .header .navigation-row .menu-item .title a[data-bs-toggle="dropdown"]::before {
        position: absolute;
        content: "";
        right: 0;
        top: 0;
        bottom: 0;
        left: auto;
        margin: auto;
        border: solid #CFF5FF;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        width: 10px;
        height: 10px;
    }

    .header .navigation-row .menu-item .title a[data-bs-toggle="dropdown"].show::before {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
    }

    .header .navigation-row .menu-item .dropdown-menu {
        background: #CFF5FF;
        border-radius: 0;
        padding: 0;
    }

    .header .navigation-row .menu-item .dropdown-menu li {
        width: 100%;
        border-bottom: 1px solid #006995;
    }

    .header .navigation-row .menu-item .dropdown-menu li:last-of-type {
        border-bottom: none;
    }

    .header .navigation-row .menu-item .dropdown-menu li a {
        text-align: center;
        color: #006995;
        font-weight: bold;
    }

    .header .navigation-row .menu-item .dropdown-menu li a:hover {
        color: #006995;
    }

    .main-container .header .header-part.logo-holder {
        margin-left: 0;
    }

    .header .dropdown-item.selected {
        background-color: #CFF5FF;
    }

    .header .navigation-row .menu-item .dropdown-menu li a.dropdown-item.selected {
        color: black;
    }
}

@media (max-width: 767.98px) {
    .main-container {
        max-width: 100%;
    }

    #content-start {
        scroll-margin: 0px;
    }
}

@media (max-width: 575.98px) {

    html,
    body {
        padding-top: 0;
    }

    body.menu-open::after {
        height: calc(100% - 20px);
    }

    .content-container {
        margin-top: 73px;
    }

    .seo-explanation .content-container {
        margin-top: 73px;
    }

    .main-container .header {
        padding: 10px 20px;
        height: 76px;
    }

    .header .logo {
        width: 244px;
        height: 52px;
    }

    .main-container .header .header-part {
        margin-left: 0;
    }

    .main-container .header .header-part.logo-holder {
        max-width: calc(100% - 45px);
        margin-left: 0;
        width: 100%;
    }

    .header .logo-holder .menu-item {
        flex-direction: column;
        height: auto;
        margin-left: 15px;
        margin-left: 0;
        min-width: 28px;
    }

    .header .logo-holder .menu-item .icon {
        margin-left: 0;
        width: 16px;
        height: 16px;
    }

    .header .logo-holder .menu-item .title {
        line-height: 0.4;
    }

    .header .logo-holder .menu-item .title a {
        color: #006995;
        font-size: 8px;
        line-height: 8px;
        text-decoration: underline;
    }

    .main-container .header .header-part .navbar-collapse {
        top: calc(100% + 35px);
    }
}

@media (min-width: 992px) {
    .header .menu-item .title .dropdown-menu {
        right: -28px;
        width: 255px;
        background: #ffffff;
        padding: 15px;
        top: calc(100% + 32px);
    }

    .header .menu-item .title .dropdown-menu li {
        padding: 5px 0;
        width: 100%;
    }

    .header .menu-item .title .dropdown-menu li a {
        color: #272727;
        font-size: 15px;
        font-weight: bold;
        display: block;
        text-align: right;
        white-space: inherit;
    }
}
