@media (max-width: 1240px) {
	#header {
		box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
	}
    #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 0;
        height: 100vh;
        display: block;
        transition: background-color 0.3s ease, right 0.3s ease;
        -webkit-transition: background-color 0.3s ease, right 0.3s ease;
    }

    body.menu_open {
        overflow: hidden;
    }

    body.menu_open #close_menu {
        display: block;
        background: rgba(0, 0, 0, 0.5);
        right: min(90vw, 430px);
        width: 100%;
    }

    body.menu_open.show_menu_close #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        width: 100%;
        right: 0;
    }

    #wrap {
        position: relative;
        width: auto;
        min-width: 320px;
        overflow: hidden;
    }

    #shifter {
        position: relative;
        width: 100%;
        left: 0;
        transition: left 0.3s ease;
        -webkit-transition: left 0.3s ease;
        background: #fff;
    }

    body {
        background: #d8d8d8;
    }

    body.menu_open #shifter {
        left: calc(-1 * min(90vw, 430px));
    }

    body.menu_open.show_menu_close #shifter {
        left: 0;
    }
	#logo-mobile {
		display: block;
	}
	#logo {
		display: none;
	}
    #mobile_menu_button {
        display: flex;
        flex-direction: column;
        width: 30px;
        padding: 15px 0 15px 15px;
        gap: 7px;
	    align-items: flex-end;
	    justify-content: center;
    }

    #mobile_menu_button > div {
        border: 2px solid var(--dark-teal);
        border-radius: 15px;
	    width: 100%;
    }

    #mobile_menu_button > div:nth-child(2) {
        width: 75%;
    }

    #mobile_logo {
        display: block;
	    margin-bottom: 50px;
    }

    .menu_content_container {
        display: flex;
        top: 0;
        left: 100%;
        width: 100%;
        z-index: 11;
        position: fixed;
        overflow-x: hidden;
        overflow-y: scroll;
        max-height: 100vh;
        -webkit-transition: left 0.3s ease;
        height: 100%;
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        scrollbar-width: none; /* Firefox */
        box-sizing: border-box;
        background: #FFF;
        flex-direction: column;
        gap: 60px;
    }

    .menu_content_container::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    body.menu_open .menu_content_container {
        left: 0;
    }

    body.menu_open.show_menu_close .menu_content_container {
        left: 100%;
    }

    .main_menu, .main_menu ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .contact_link_container {
        flex-direction: column;
    }

    .main_menu li.menu-item-has-children > ul {
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
        overflow: hidden;
    }

    .main_menu li.active ul {
        max-height: 50000px;
        transition: max-height 0.5s ease-in-out;
    }

    .main_menu a {
        display: block;
        color: var(--teal);
        padding: 20px;
        font-size: 20px;
        font-weight: 400;
        text-decoration: none;

    }

    #header ul.main_menu li a {
        padding: 30px 20px;
	    color: var(--white);
	    font-size: 22px;
	    font-weight: 700;
    }

    .menu_cta {
	    padding: 0 20px;
	    box-sizing: border-box;
    }
    .menu_cta .phone_number {
	    font-size: 28px;
	    font-weight: 700;
	    margin: 0 0 10px 0;
    }
	ul#main_menu > li.menu-item-has-children ul.mega-menu {
		/* display: none; */
	}
    .close_icon {
	    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='%23fff' stroke-width='2' d='M1.579 1 12 11.703m0 0L23 23M12 11.703 1 23m11-11.297L22.421 1'/%3E%3C/svg%3E");
	    width: 24px;
	    min-height: 24px;
	    background-size: contain;
	    cursor: pointer;
	    background-position: center;
	    background-repeat: no-repeat;
	    display: block;
	    margin: 20px 20px 0 auto;
    }
	.menu_cta .email_address {
		color: var(--white);
		font-size: 18px;
		font-weight: 500;
		margin: 0 0 40px 0;
		display: block;
	}
    .main_menu > li {
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.32);
        margin: 0 0px;
    }
	#header .menu_content_container {
		justify-content: flex-start;
		gap: 35px;
		flex-wrap: nowrap;
		background: var(--black);
	}
	#header .menu_content_container::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='115' height='119' fill='none'%3E%3Cpath fill='%23FFD600' fill-rule='evenodd' d='M.054 119A117.912 117.912 0 0 1 0 115.445C0 51.712 51.506.009 115 0v44.645c-38.889.009-70.52 31.764-70.52 70.8 0 1.192.029 2.377.087 3.555H.054Z' clip-rule='evenodd'/%3E%3C/svg%3E");
		max-height: 115px;
		content: '';
		aspect-ratio: 24 / 23;
		background-repeat: no-repeat;
		background-position: right bottom;
		background-size: contain;
		margin-top: auto;
	}
    .main_menu li.menu-item-has-children > .expand_container {
        position: absolute;
        width: 50px;
        height: 78px;
        right: 4px;
        top: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.01);
        border-radius: 4px;
    }

    .main_menu li.menu-item-has-children > .expand_container > .expand_btn {
        transition: transform 0.3s;
        display: block;
        width: 16px;
        height: 10px;
        position: absolute;
        background: center / cover no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' fill='none'%3e%3cpath stroke='%23fff' stroke-linecap='square' stroke-width='2' d='m14.2 2.2-6 6-6-6'/%3e%3c/svg%3e");
    }

    .main_menu li.menu-item-has-children.active > .expand_container > span.expand_btn {
        transform: rotate(-180deg);
    }

    .main_menu li.menu-item-has-children.clicked > a:after {
        transform: rotate(-180deg);
    }
	#header ul.main_menu li.menu-item-has-children > ul {
		border-top: 1px solid rgba(255,255,255,0.32);
	}
	#header ul.main_menu li.menu-item-has-children > ul li {
		border-bottom: none;
		margin-bottom: 1px;
	}
	#header ul.main_menu li.menu-item-has-children > ul li:last-child {
		margin-bottom: 0;
	}
    #header ul.main_menu li.menu-item-has-children > ul li a {
        padding: 15px 25px;
        border: none;
        font-family: "Josefin Sans", sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        background: rgba(71, 83, 83, 0.35);
    }

    #header ul.main_menu li.menu-item-has-children.active > a {
        color: var(--teal);
    }

    #header ul.main_menu li.menu-item-has-children.active ul li:last-child a {
    }

	.title_container , .mega_menu_footer {
		display: none;
	}
	li.mega-menu-courses a {
		margin: 0 0 1px 0;
	}
	li.mega-menu-courses p:not(.title) {
		display: none;
	}
	li.mega-menu-courses p {
		margin: 0;
		line-height: 1.7em;
	}
	.mega-menu-left.wp_content {
		display: none;
	}

	.menu_cta .button {
		margin-bottom: 15px;
	}


}
