.visible-inline-block { display: inline-block!important; }
.visible-block        { display: block!important; }

#flex-nav {
	width: 100%;
	height: 64px;
	/*overflow: hidden;*/
	font-size: 14px;
	letter-spacing: 0;
	position: relative;

	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;

	-moz-box-wrap: nowrap;
	-webkit-box-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	-ms-flexbox-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;

	-moz-box-direction: row;
	-webkit-box-direction: row;
	-webkit-box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flexbox-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;

	&.mm-legacy-color {
		background-color: #4A4D50;
		color: #ffffff;
	}
	&.mm-default-color {
		background-color: #8F4848;
		color: #ffffff;
	}
	&.full-size {
		/*height: 64px;*/
	}
	&.condensed-size {
		height: 32px;
	}

	a {
		color: inherit;
		text-decoration: none;
	}
	a:hover {
		background-color: #6B3535;
		background-color: rgba(0,0,0, 0.25);
	}
}

/* Logo */
.mm-schooldriver-logo {
	background-color: #6B3535;
	background-color: rgba(0,0,0, 0.25);
	height: 64px;
	overflow: hidden;
	margin-right: 2px;
}
.condensed-size .mm-schooldriver-logo, .mobile-size .mm-schooldriver-logo {
	height: 32px;
}
.mm-schooldriver-logo a {
	display: inline-block;
	&:hover {
		background-color: rgba(0,0,0, 0.5);
	}
}
.mm-schooldriver-logo img, #mm-sd-logo-svg {
	height: 64px;
	width: 60px;
	padding: 10px;
}
.condensed-size .mm-schooldriver-logo img, .mobile-size .mm-schooldriver-logo img, .condensed-size .mm-schooldriver-logo #mm-sd-logo-svg, .mobile-size .mm-schooldriver-logo #mm-sd-logo-svg {
	height: 32px;
	width: 30px;
	padding: 6px;
}
.mm-sd-logo-path {
	fill: currentColor;
}

/* Nav text */
.mm-text {
	margin: 8px 0 0;
	-webkit-box-basis: auto;
	-webkit-flex-basis: auto;
	-ms-flex-basis: auto;
	flex-basis: auto;

	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1;
}
.condensed-size .mm-text {
	line-height: 32px;
	margin: 0;
	font-size: 13px;
}
.mobile-size .mm-text {
	margin-top: 6px;
}
.condensed-size .mm-school-name-wrapper {
	display: none;
}
.mm-school-name-wrapper {
	position: relative;
	font-size: 16px;
	margin: 0 10px;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	height: 22px;
	padding-right: 12px;
	line-height: 23px;
}
.mm-school-name {
	font-size: 16px;
	position: absolute;
}
.mobile-size .mm-school-name {
	font-size: 14px;
}
.mobile-size .mm-custom-school-name {
	display: none;
}
.mm-hide-scrollbar {
	position: relative;
	width: 100%;
	height: 30px;
	overflow: hidden;
	white-space: nowrap;
}
.mobile-size .mm-hide-scrollbar {
	position: absolute;
	left: 0px;
	top: 32px;
}
.mm-scroll-arrows {
	float: left;
	display: none;
	width: 30px;
	height: 30px;
	text-align: center;
	overflow: hidden;

	&.has-shadow {
		box-shadow: 0px 0px 15px rgba(0,0,0,0.75);
	}

	i {
		padding: 9px 13px;

		&:hover {
			cursor: pointer;
			background-color: rgba(0,0,0, 0.25);
		}
	}
}
.mm-menu-wrapper {
	float: left;
	position: relative;
	overflow: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	height: 30px;
	padding: 0 0 50px;
}
.mm-scroll-arrows-visible {
	width: calc(100% - 60px);
}
.mm-menu-items {
	position: absolute;
	top: 0; 
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 20px;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
	
	li {
		display: inline;
		position: relative;

		a {
			padding: 5px 10px;
			display: inline-block;
			vertical-align: top;
		}
	}
}
.mm-current-page {
	font-weight: 700;
}
.mm-has-submenu.active {
	background-color: rgba(255,255,255, 0.15);
	display: inline-block;
	transition: background-color 1s ease;
}
.mm-has-submenu.active > a {
	background-color: rgba(0,0,0, 0.5);
	outline: none;

}
#flex-nav .mm-has-submenu.active > a:hover {
	background-color: rgba(0,0,0, 0.75);
}
.mm-has-submenu.active > .mm-submenu {
	width: auto;
	height: auto;
	max-width: 100%;
	font-weight: 400;
}
.mm-submenu {
	display: inline-block;
	width: 0;
	max-width: 0;
	height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;

	li a {
		
	}
}
.mm-all-link {
	vertical-align: -5px;
	border-left: 1px solid currentColor;
	/*border-left: 1px solid rgba(255,255,255, 0.67);*/ /* Might prefer transparency to solid */
}
.condensed-size .mm-menu-items li a {
	padding: 0 10px;
	line-height: 29px;
}

/* Search */
.mm-search {
	position: relative;
}
.full-size .mm-search {
	top: 14px;
}
.condensed-size .mm-search, .mobile-size .mm-search {
	top: 4px;
}

.mm-search-icon {
	font-family: 'FontAwesome';
	content: "\f002";
	font-size: 14px;
	line-height: 20px;
	position: absolute;
	top: 9px;
	left: 26px;
	cursor: pointer;
}
.full-size .mm-search-icon {
	top: 9px;
	left: 25px;
}
.condensed-size .mm-search-icon, .mobile-size .mm-search-icon {
	top: 2px;
	left: 18px;
}

input[type="text"].mm-search-field {
	background-color: #6B3535;
	background-color: rgba(0, 0, 0, 0.25);
	color: #ffffff;
	font-weight: 400;
	border: 0px none;
	border-radius: 200px;
	box-shadow: none;
	transition: width 0.25s ease;
	cursor: pointer;
   -webkit-appearance: none;
	outline: none;
}
.full-size input[type="text"].mm-search-field {
	width: 38px;
	margin: 0 12px;
	padding: 0 0 0 38px;
	line-height: 38px;
	min-height: 38px; /* Added for IE8 */
	font-size: 14px;
}
.condensed-size input[type="text"].mm-search-field, .mobile-size input[type="text"].mm-search-field {
	width: 25px;
	margin: 0 0 0 12px;
	padding: 0 0 0 25px;
	line-height: 25px;
	min-height: 25px; /* Added for IE8 */
	font-size: 13px;
}

input[type="text"].mm-search-field:focus, .full-size input[type="text"].mm-search-field-full, .condensed-size input[type="text"].mm-search-field-full, .mobile-size input[type="text"].mm-search-field-full {
	width: 200px;
	font-family: "Open Sans";
	cursor: text;
}
.full-size input[type="text"].mm-search-field:focus {
	padding: 0 15px 0 35px;
}
.condensed-size input[type="text"].mm-search-field:focus, .mobile-size input[type="text"].mm-search-field:focus {
	padding: 0 15px 0 25px;
}

.autocomplete-lookup-student {
  background-color: #191A1B;

  .choice {
    color: #fff;
    overflow: hidden;
    padding: 3px 20px 3px 10px;

    img {
      float: left;
      width: 37px;
      margin: 2px 7px 2px 0;
    }

    .no-pic {
      float: left;
      margin: 2px 7px 2px 0;
      width: 38px;
      background-color: #333;
      color: #555;
      font-size: 35px;
      vertical-align: -15%;
      padding-left: 5px;
      padding-top: 2px;
    }

    .student-name {
      font-weight: 600;
    }

    &.hilight {
      background-color: #868D92;
      background-image: none;

      .no-pic {
        background-color: #bbb;
        color: #999;
      }
    }
  }

  .no-results {
    padding: 3px 20px 3px 10px;
    color: #fff;
  }
}

/* User info */
.mm-user-info {
	background-color: rgba(0,0,0, 0.25);
	text-align: center;
	padding: 13px 10px;
	height: 100%;
	min-width: 75px;
	max-width: 200px;
	margin: 0;
}
.condensed-size .mm-user-info {
	display: none;
}
.mobile-size .mm-user-info {
	min-width: 0;
	max-width: auto;
	max-width: unset;
	padding: 3px 6px;
	margin: 0 0 0 10px;
	background-color: inherit;
}
.mm-user-icon {
	display: none;
}
.mobile-size .mm-user-icon {
	display: block;
	font-size: 18px;
	cursor: pointer;
}
.mobile-size .mm-user-mobile-menu-wrapper {
	display: none;
	
	&.active {
		position: absolute;
		display: block;
		top: 0;
		right: 0px;
		background-color: inherit;
		z-index: 9999;
		max-width: 70%;
	}
}
.mm-user-menu-click-space {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9998;
	cursor: pointer;
}
.mm-user-name {
	font-size: 12px;
	line-height: 17px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;

	i {
		display: none;
	}
}
.mobile-size .mm-user-mobile-menu-wrapper.active .mm-user-name {
	font-size: 14px;
	text-align: right;
	display: block;
	padding: 8px 8px 8px 15px;
	background-color: rgba(0,0,0, 0.25);
	cursor: pointer;

	i {
		display: inline-block;
		font-size: 18px;
		margin-left: 10px;
	}
}
.mm-user-icons {
	margin: 0;
	padding: 0;
	line-height: 20px;

	li {
		margin: 0;
		padding: 0;
		display: inline;
		list-style: none;
	}

	a {
		padding: 2px 6px;
		cursor: pointer;
		display: inline-block;
		position: relative;
	}

	span {
		display: none;
	}
}
.full-size .mm-user-icons a:hover span {
	padding: 6px 10px;
	display: block;
	position: absolute;
	top: 34px;
	background-color: #111;
	/*border: 1px solid rgba(0,0,0,0.25);*/
	left: -38px;
	font-size: 12px;
	line-height: 14px;
	width: 100px;
	
	&:before {
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 12px solid #111;
		width: 0px;
		height: 0px;
		content: "";
		position: absolute;
		top: -10px;
		left: 38px;
	}
}
.mobile-size .mm-user-mobile-menu-wrapper.active .mm-user-icons li {
	display: block;
	text-align: right;
}
.mobile-size .mm-user-icons {
	a {
		padding: 8px 8px 8px 15px;
		cursor: pointer;
		display: block;
		
		span {
			display: inline-block;
			margin-right: 10px;
		}
	}
	i {
		font-size: 18px;
	}
}

/* Minimize/Maximize option */
.mm-min-max {
	margin-left: 2px;
	
	i {
		padding: 0 10px 0 8px;
		height: 100%;
		cursor: pointer;
		
		&:hover {
			background-color: #6B3535;
			background-color: rgba(0,0,0, 0.25);
		}
	}
}
.full-size .mm-min-max i {
	line-height: 64px;
}
.condensed-size .mm-min-max i {
	line-height: 32px;
}
.fa.mm-minimize-button {
	display: block;
}
.fa.mm-maximize-button {
	display: none;
	font-size: 12px;
}



#mm-page-specific {
	// background-color: #F4F5F4; 
	background-color: #D0DBE4; // This is the legacy color. We can remove it in favor of the lighter gray later.
	height: 32px;
	overflow: hidden;
	font-size: 13px;
	line-height: 32px;
	color: #4A4D50;

	a {
		color: #4A4D50;
		display: inline-block;
	}

	a:hover {
		background-color: rgba(255,255,255, 0.25);
	}
}

div.breadcrumb {
	ul {
		margin: 0;
		padding: 0;
	}

	li {
		display: inline-block;
		padding: 0;
		margin: 0;
		cursor: default;
		margin-right: 10px;

		&:after {
			font-family: "FontAwesome";
			content: "\f105";
			margin-left: 10px;
		}

		&:first-child {
			margin-left: 10px;
		}

		&:last-child:after {
			content: "";
		}
	}

	a {
		display: inline-block;
		padding: 0px 10px;
		margin: 0px -10px;
		text-decoration: none;
	}
}

.mm-customize-dashboard {
	padding: 0 10px;
	i {
		margin-left: 8px;
	}
}