/* for changes to mobile browsers */
@media screen and (max-width: 767px) {
	body {
		width: 100%;
		overflow: scroll;
	}
	body div.grid-container {
		overflow-x:hidden;
		margin-left:auto;
		margin-right:auto;
		padding-left:10px;
		padding-right:10px;
		width: 95%;
	}
	.logo {
		background-color: #fff;
		z-index: 100;
	}
	.logo img {
		width: 75%;
	}
	.grid-33.mobile-grid-100 img {
		max-width: 100%;
	}
	.hero-image-module {
		height: auto;
		width: 100%;
	}
	.hero-image-module > img {
		position: relative;
		width: 100% !important;
		height: auto !important;
		right: auto;
		top: auto;
		left: auto;
		bottom: auto;
		min-width: auto;
	}
	.hero-image-module > img:not(.cmsEditImage) {
		display: none;
	}
	/*MENU*/
	.mobile-menu-icon {
		text-align: center;
		position: absolute;
		top: 0;
		right: 0;
		padding: 30px 10px 10px 10px;
		font-size: 20px;
		width: 50px;
		height: 50px;
		z-index: 100;
	}
	nav#navigation {
	 	position: absolute;
	 	top: 0;
	 	left: 0;
	 	width: 100%;
	 	display: none;
	 	margin-top: 67px;
	}
	ul#menu {
		border-top: solid 1px #0f2f81;
	}
	ul#menu, ul#menu ul.sub-menu {
	    padding:0;
	    margin: 0;
	    z-index: 10000;
	    float: none;
	}
	ul#menu li, ul#menu ul.sub-menu li {
	    list-style-type: none;
	    width: 100%;
	    border-bottom: solid 1px #e1e1e1;
	}
	ul#menu li a i {
		margin-left: 10px;
	}
	/*Link Appearance*/
	ul#menu li a, ul#menu li ul.sub-menu li a {
		font-size: 14px;
		font-weight: 500;
		font-family: 'Inter', sans-serif;
	    text-decoration: none;
	    text-transform: uppercase;
	    color: #0f0f0f;
	    background: #fff;
	    width: 100%;
		padding: 8px 10px 8px 25px;
	    display:inline-block;
	}
	ul#menu li ul.sub-menu li a {
		font-size: 15px;
		font-weight: 400;
		background: #b62c2f;
		padding: 8px 10px 8px 25px;
		color: #fff;
		width: 100%;
		text-transform: none;
	}
	ul#menu li ul.sub-menu li:hover a {
		background: #c94144;
	}

	ul#menu li:last-child a, ul#menu li:last-child ul.sub-menu li a {
		padding-right: 0;
	}
	ul#menu > li > a:hover, ul#menu > li.selected a {
		color: #787878;
	}
	ul#menu div.arrow-up {
		display: none;
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #b62c2f;
		position: absolute;
		top: 27px;
		bottom: 0px;
		left: 22px;
	    z-index: 10000;
	}
	ul#menu > li:hover div.arrow-up {
		display: block;
	}

	/*Make the parent of sub-menu relative*/
	ul#menu li {
	    position: relative;
		list-style-image: none;
		z-index: 20;
	}
	/*sub menu*/
	ul#menu li ul.sub-menu {
		top: 0;
	    display: none;
	    position: relative;
	    width: 100%;
	}
	ul#menu li:hover ul.sub-menu {
	    display:block;
	}

	.hero-menu li {
		width: 13.5% !important;
		height: 35px;
		border-top: solid 1px #acacac;
	}
	.hero-menu li a span {
		display: none;
	}
	.hero-menu li a {
		height: 35px;
		padding: 0 !important;
	}
	.hero-menu li:nth-child(1) a:before, .hero-menu li:nth-child(2) a:before, .hero-menu li:nth-child(3) a:before, .hero-menu li:nth-child(4) a:before, .hero-menu li:nth-child(5) a:before, .hero-menu li:nth-child(6) a:before, .hero-menu li:nth-child(7) a:before, .hero-menu li:nth-child(8) a:before {
		margin-left: 0;
		margin-top: 0;
	}
	.hero-menu li a:before {
		margin-left: 0;
		margin-top: 0;
		position: relative;
		display: block;
		width: 100%;
		text-align: center;
		padding-top: 10px;
	}
	.hero-menu li:nth-child(3) a, .hero-menu li:nth-child(3):hover a, .hero-menu li.hero-menu-selected:nth-child(3) a,
	.hero-menu li:nth-child(7) a, .hero-menu li:nth-child(7):hover a, .hero-menu li.hero-menu-selected:nth-child(7) a {
		background-position: center center !important;
	}

	ul.project-list li {
		width: 100%;
		clear: both;
		display: block;
	}
}

/** PORTRAIT MODE **/
@media only screen and (orientation: portrait) and (min-width: 768px) {

}

/* Ensure hero-menu text shows on mobile */
.hero-menu a span {
    display: inline !important;   /* show text */
    color: #000 !important;       /* set text color */
    font-size: 16px !important;   /* adjust size for mobile */
    font-weight: 600 !important;  /* make it visible */
    text-decoration: none !important;
}

.hero-menu li {
    list-style: none;
    margin: 0 10px;               /* spacing between links */
}

.hero-menu {
    display: flex !important;
    justify-content: center !important;  /* center links */
    margin-top: 15px !important;
}


/* Make mobile hero image full screen */
@media screen and (max-width: 767px) {
    .mobile-hero {
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-hero > div {
        width: 100vw !important;
        height: 100vh !important;     /* full screen height */
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        margin: 0;
    }
}