/* @font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
         url('fonts/SpaceGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
} */
/* 
body {
    font-family: var(--unnamed-font-family);
    font-weight: 400;
    font-style: normal;
} */

h1,
h2,
h3 {
    font-family: var(--unnamed-font-family);
    font-weight: 700;
    /* Using a bolder weight for headers */
}

footer label#verify-terms-txt {
    color: white !important;
}

.dropdown-submenu {
    position: sticky;
}

.dropdown-item.nav-link:hover {
    background-color: #E30713;
    color: #FFFFFF !important;
}

/* li.nav-item.show:hover{
    background-color: red;

} */
.navbar-top {
    /* position: relative; */
    display: flex;
    justify-content: center;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    transition-duration: 2s;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 0px 0 0px 0px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: left;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

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

.info-pos {
    padding: 25px;
    z-index: 2;
    position: absolute;
}


.info {
    /* font-size: 20px; */
    color: white;
}


.gradient-over {
    /* background: linear-gradient(to bottom, rgba(46, 46, 46, 0.7), rgba(51, 87, 142)); */
    /* background-image: url("https://212.199.114.183:8888/wp-content/themes/realtime/imgs/young-programmers.jpg"); */
    overflow: hidden;
    height: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Manuale&display=swap');

.bigText {
    font-size: 60px;
}

.notSoBigText {
    font-size: 20px;
}

.redText {
    color: #E30713;
}

.whiteStripe {
    border-top: 2px solid white;
}

.blackStripe {
    border-top: 2px solid black;
}

#rted-logo {
    margin-right: calc(50% - 4rem);
}

/* less then hd */
@media(max-width:500px) {
    #courses {
        display: none;
    }

    #nav-search {
        width: 45%;
    }

    .h2 {
        font-size: 1.25rem;

    }

    #info-card-courses {
        display: none;
    }

    #primary-menu li.nav-item {
        float: left;
    }

    /* .main-navigation ul {
        display: flex;
      } */
    #primary-menu li.nav-item {
        float: left;
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* .sticky-top  */
    #sticky-nav {
        position: relative !important;
        top: 0 !important;
        ;
    }

    /* #header-video {
        display: none;
    } */
    #rted-logo {
        display: none;
    }

    .info-pos {
        padding: 25px;
        z-index: 2;
        position: relative;
    }

    #nav-search {
        width: 45%;
    }

    div.card-columns {
        column-count: 1 !important;
        font-size: 1.0em !important;
    }

    .card-columns {
        column-count: 2 !important;
    }

    .card-columns1 {
        column-count: 2 !important;
    }

    .card-columns2 {
        column-count: 1 !important;
    }

    .collapse.show {
        height: auto;
    }

    span.dropdown-submenu {
        width: 80vw !important;
    }

    #logo-mobile {
        display: block !important;
    }

    #student-portal-mobile,
    #cart-section-mobile {
        display: block !important;
    }

    #logo-desktop {
        display: none !important;
    }

    #student-portal,
    #cart-section,
    #more-information {
        display: none !important;
    }

    #details-notes .box-info {
        margin: 2px !important;
    }

}

.course-line-details .custom-align {
    text-align: left;
    margin: 0;
    margin-right: auto;
}

/* mobile  global */
@media screen and (max-width: 600px) {

    .course-line-details .custom-align {
        text-align: center !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        max-width: 25%;
    }

    #nav-secondary-path,
    #nav-secondary-course {

        display: none !important;
    }

    #nav-search-string.col-8 {
        max-width: 50%;
    }

    .btn.btn-outline-light {
        max-width: 50%;
    }
}


/* iphone 6,7 */

@media (max-width: 380px) and (min-width: 370px) {}

/* galaxy 6,7 */

@media (max-width: 369px) and (min-width: 350px) {}

/* iphone 6,7 plus */

@media (max-width: 576px) {
    .nav-item {
        text-align: left;
        /* font-size: 18px;
        font-weight: bold; */
    }

    /* li.nav-item.dropdown {
        margin-left: auto !important;
    } */
    ul.dropdown-menu {
        background-color: transparent;
        /* color: white; */
        border: 0 !important;
        box-shadow: none !important;
    }

    /* a.dropdown-item {
        color: white !important;
    } */
}

@media(max-width:500px) and (min-width:421px) {

    /* .info {
       font-size: 24px;
   } */
    #header-cont {
        min-height: 70vh;
    }
}

/* ipad  */

@media (max-width: 992px) and (min-width: 576px) {
    .dropdown-menu {
        position: absolute !important;
    }
}


/* FOOTER */
.footer-label {
    font-size: 36;
}

.footer-heading {
    color: red;
    text-shadow: 0px 0px 1px;
    font-weight: 600;
    font-size: 48px !important;
}

footer h5 {
    color: #dc3545 !important;
    font-size: 30px;
}

footer #rt-leads-form {
    margin-top: 2.5rem;
}

/* #navbar-paths{
    left:unset!important;
    right:0;
    width:fit-content;
}
#navbar-course{
    left: unset!important;
    right:0; 
    width: fit-content;
} */
.card-columns1 {
    column-count: 3;
}

.card-columns2 {
    column-count: 2;
}



.subnav {
    float: left;
    overflow: hidden;
}

.subnav .subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.subnav:hover .subnavbtn {
    /* background-color: #E20613; */
    color: #E20613 !important;

}

.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #E20613;
    width: 100%;
    z-index: 1;
}

.subnav-content a {
    float: left;
    color: white;
    text-decoration: none;
}

.subnav-content a:hover {
    background-color: #eee;
    color: black;
}

.subnav:hover .subnav-content {
    display: block;
}

/* The side navigation menu */
.sidenav {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    /* top: 15%; */
    left: 0;
    background-color: #111;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 32px 8px 32px;
    text-decoration: none;
    font-size: 1rem;
    color: #f8f9fa;
    display: block;
    transition: 0.3s;
    text-align: left;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #e20613;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 36px;
    margin-left: 0px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
/* #main {
    transition: margin-left .5s;
    padding: 20px;
  }
   */
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

/*  
  #student-portal {
    top: 20%;
    background-color: #04AA6D;
  }
   */
@media (max-width: 430px) {
    span.dropdown-submenu {
        width: 80vw !important;
        height: auto !important;
    }

    #logo-mobile {
        display: block !important;
    }

    #student-portal-mobile,
    #cart-section-mobile {
        display: block !important;
    }

    #logo-desktop {
        display: none !important;
    }

    #student-portal,
    #cart-section,
    #more-information {
        display: none !important;
    }

    #details-notes .box-info {
        margin: 2px !important;
    }
}

#nav-course {
    font-size: 1.125em;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* #sticky-nav{
    position: sticky; 
     top: 40px; 
     z-index: 1020;
} */
@media screen and (max-width: 768px) {
    .head-home {
        bottom: 0px !important;
    }

    h1 {
        font-size: 30px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    #pathMenu .dropdown-menu,
    #courseMenu .dropdown-menu {
        width: 100% !important;
        margin-top: 10px !important;
    }
}


/* **********update***************** */
#pathMenu .dropdown-menu,
#courseMenu .dropdown-menu {
    width: 50vw;
    left: auto;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 6px #00000080;
    opacity: 1;
}

.categories-column,
.categories-column1 {
    background-color: #ECECF3;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

/* Style for the category-and-courses container */
.category-and-courses {
    display: flex;
}

.category-column,
.category-column1 {
    /* width: 100%; */
    font: normal normal normal 16px/33px var(--unnamed-font-family);
    /* cursor: pointer; */
    position: relative;
    /* width: 200px; */
    height: 40px;
    /* display: inline-block; */
    padding-left: 10px;
    /* position: relative; */
    background-color: transparent;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.category-column:hover,
.category-column1:hover,
.hover-effect {
    background-color: #E30713;
    color: #fff;
    transform: scale(1.05);
    /* Slightly scale the category */
    font: normal normal bold 16px/33px var(--unnamed-font-family);
}

.category-column:hover:before,
.category-column1:hover:before,
.hover-effect::before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid #E30713;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

/* .hover-effect {
    background: #E30713 0% 0% no-repeat padding-box;
    color: #fff !important;
    transform: scale(1.05);
    font: normal normal bold 16px/33px var(--unnamed-font-family);
} */


/* Style for the courses column */
#courses-display,
#courses-display1 {
    top: 0 !important;
    flex: 1;
    /* padding: 5px; */
    /* background-color: #e0e0e0; */
    /* background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 6px #00000080; */
}

/* Style for the course links */
.course-link,
.course-link1 {
    /* color: #0090b7; */
    display: flex;
    align-items: center;
    /* padding: 10px; */
    transition: background-color 0.2s ease;
}

.course-link:hover {
    background-color: #f7f7f7;
    color: #E30713;
}

/* Show courses column when hovering over category link */
.category-column:hover+#courses-display {
    display: block;
}


.courses li,
.courses1 li {
    list-style-type: none;
    /* text-align: right; */
    padding: 5px;
}

.hidden-courses {
    display: none;
}

.course-item .course-link {
    align-items: center;
}

.course-icon-container {
    flex-shrink: 0;
    /* לוודא שהאייקון לא יתצמצם או יתרחב */
    align-self: flex-start;
}

.course-icon-container img {
    width: 50px;
    height: 50px;
}

.course-info {
    /* flex-grow: 1; */
    padding-left: 10px;

}

.course-item a:hover {
    color: #E30713;
}

.course-item a {
    color: #000;
}



/* .courses-column {
    padding: 10px;
    background-color: #e0e0e0;
} */
.coursesName{
    font: normal normal bold 16px/33px var(--unnamed-font-family);
}
@media (max-width: 767px) {

    .courses-column,
    .courses-column1 {
        display: none;
    }

    .categories-column,
    .categories-column1 {
        width: 100%;
    }

    .back-to-categories {
        display: block;
        /* Changed to block */
        /* height: 40px; */
        text-align: left;
        font: normal normal bold 16px/33px var(--unnamed-font-family);
        letter-spacing: 0px;
        color: #FFFFFF;
        /* position: relative; */
        opacity: 1;
        /* padding-left: 20px; */
        /* Adjust padding as needed */
        /* line-height: 40px; */
        /* Center the text vertically */
        background-color: #E30713;
        transition: background-color 0.3s ease-in-out, transform 0.2s ease;
    }

    /* .back-to-categories::before {
        content: "";
        position: absolute;
        left: -20px;        
        top: 0;       
        width: 0;
        height: 0;
        border-right: 20px solid #E30713;        
        border-top: 20px solid transparent;        
        border-bottom: 20px solid transparent;       
    } */


    ul.courses1 {
        padding: 5px;
    }

    .flex-container {
        /* float: left; */
        padding: 3px;
    }
}

ul.courses {
    padding: 10px;
}

.course-description {
    /* color: black !important; */
    /* color: #333;
    font-size: 0.9rem;
    line-height: 1.4; */
    text-align: left;
    font: normal normal normal 16px/20px var(--unnamed-font-family);
    letter-spacing: 0px;
    color: #000000;
}

.course-title {
    /* font-weight: 600;
    font-weight: 600;
    font-size: 1.1rem; */
    text-align: left;
    font: normal normal bold 16px/26px var(--unnamed-font-family);
    letter-spacing: 0px;
    /* color: #000000; */
}

.coursesDesign {
    display: flex;
    align-items: center;
}

/* .navbar-expand-lg .navbar-nav .dropdown-menu .nav-link {
    color: #E30713;
    font: normal normal normal 16px/24px var(--unnamed-font-family);
} */

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #E30713;
    transition: color 0.5s ease-in-out;
}

.navbar-cart-icon {
    /* position: absolute; */
    /* right: 0;
    top: 50%;
    transform: translateY(-50%); */
    margin: 10px;
}

.navbar-cart-icon a {
    /* color: white; */
    color: black;

}

.navbar-cart-icon .fa-shopping-cart {
    margin-right: 5px;
}

.cart-count {
    background-color: rgba(220, 21, 21);
    color: #ffffff;
    padding: 0 5px;
    border-radius: 50%;
    font-size: 0.8em;
}

.bg-with-transparency {
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* background-color: rgba(255, 255, 255, 0.75);  */
    background-color: rgba(182, 186, 178, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* Custom navbar styling */
.navbar-white {
    background-color: #fff;
    /* Set the background to white */
}

.navbar-white .navbar-nav .nav-link,
#student-portal-mobile a {
    color: #000;

    text-align: left;
    font: normal normal normal 16px/24px var(--unnamed-font-family);
    letter-spacing: 0px;
    opacity: 1;
}

.navbar-white .navbar-nav .nav-link:hover,
#student-portal-mobile a {
    color: #E30713;
    font: normal normal 600 16px/24px var(--unnamed-font-family);
}

.head-home {
    min-height: min-content;
    position: absolute;
    bottom: 150px;
    width: 100%;
}

.head-notHome {
    min-height: 200px;
}