  html {
  scroll-behavior: smooth;
}

span.reco {
    font-size: .9em;
    opacity: .9;
}

button.mapBtn {
    padding: 10px 20px;
    margin: 8px;
    border: none;
    border: 1px solid;
    box-shadow: 1px 1px 1px 0px #b7b7b7;
	transition: all 100ms linear;
}

button.mapBtn.active {
    background: #1d4e91;
    color: #fff;
    font-weight: bold;
    transform: scale(1.1);
	

}

button.mapBtn:hover {
	transform: scale(1.1);
}

.map {
    border: 2px solid #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 0;
	padding-bottom: 1rem;
	margin: 40px 0 50px;
	display: none;
	position: relative;

}

.map.showMap {
	display: block !important;

	
}

/* .map::before {
  display: block; 
  content: " "; 
  margin-top: -108px; 
  height: 108px; 
  visibility: hidden; 
  pointer-events: none;
} */

.mapHeader {
    border-bottom: 2px solid #ddd;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.mapHeader .mapTitle {
    flex: 1;
    padding: 0 25px;
}

.mapHeader .acp-icon {
    max-width: 315px;
}

.mapHeader .acp-icon img {
    max-width: 100%;
    min-width: 200px;
}

.mapHeader .mapTitle h2 {
	font-size: 1.4em;
}

.mapSemesters {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
}

.mapSemesters .semester {
    padding: 0px 15px 20px;
    border: 1px solid #f0f0f0;
    margin-bottom: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 315px;
    box-shadow: 1px 1px 1px 1px #d3d3d3;
    border-radius: 8px;
	font-size: .9em;
}

.mapSemesters h3 {
    padding: 0;
    margin: 0;
    padding: 10px 0;
	font-size: 1.4em;
}

.mapSemesters ul {
    list-style-type: none;
    padding: 0 !important;
    margin: 0;
    margin-bottom: 15px;

}

.mapSemesters li {
    padding: 5px;
    border-top: 1px solid rgb(248, 248, 248);
    display: flex;
	border: 1px solid #f0f0f0;

}

.mapSemesters li span {
    padding: 5px 0 5px 5px;
}

.mapSemesters li span.reco {
	padding: 0;
    padding: 5px 0 5px;
}

.mapSemesters li .units {
    flex: 2;
    text-align: right;
}

.semesterUnits {
    text-align: right;
}

.totalUnits {
    background: #dddddd82;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: bold;
}

.semesterList {
    flex: 2;
}

.semesterTitle {
    text-transform: uppercase;
    font-family: sans-serif;
}

span.course {
    font-weight: bold;
    font-family: sans-serif;
}

[data-type="REQ"] {
    background: #0093aa87;
    background: #6ca9fa9c;
	background: #82dbff5e;
}

[data-type="GE"] {
    background: #4ecdc482;
    background: #69d4ff82;
	background: #82dbff5e;
	background: #ffbf5f3d;
}

[data-type="ELEC"] {
    background: #fcf2be;
	background: #ffeccf;
	background: #ffbf5f3d;
	background: #fff;
}

.mapSemesters li span.units {
    padding-right: 3px;
	min-width: 51px;
}

.mapSemesters li span.area {
    padding: 5px 8px;
    background: #ffffffad;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
	font-weight: bold;
}

span.area + span.course {
	font-weight: normal;
}

.mapNotes .note {
    padding: 0;
    padding: 0 20px;
    margin: 0;
    margin: 8px 0;
}

.basic-page-template .fixed-width-content ul:not(.nav-tabs) li.course:before {
	display: none !important;
}

.basic-page-template .fixed-width-content ul:not(.nav-tabs) li.course {
	padding: 0 !important;
	padding: 6px !important;
	
}

.color {
	padding: 2px 6px;
}

.catalogLink a {
	padding: 10px 20px;
	border: 1px solid;
	margin: 10px 20px;
}

.mapsContainer {
	padding: 0;
	margin: 0;
	margin: 25px 0;
}

.mapsContainer h4 {
	padding: 0;
	margin: 0;
	margin: 10px 0;
}

.mapsContainer p {
	margin: 1em 0;
}

/* custom select */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: DodgerBlue;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

a.geSheetLink {
    padding: 10px 0 0;
}

.loadingContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

i.fa-spinner {
	animation: rotate 1s linear infinite;
	font-size: 2.5rem;
	color: #1d4e91;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}


@media screen and (max-width: 700px) {
	.mapHeader {
		display: block;
		width: 96%;
		margin: 0 auto;
	}
	.mapHeader .acp-icon {
		width: 98%;
		margin: 0 auto 25px;
		
	}
	.mapHeader .mapTitle {
		padding: 0 0;
	}
	.page-content {
		padding: 0;
	}
	.mapSemesters {
		padding: 0;
	}
	.mapSemesters .semester {
		padding: 0;
		min-width: 100%;
		border: none;
		box-shadow: none;
		font-size: 12px;
	}
	.semesterTitle {
		text-align: center;
	}
	.semesterUnits {
    text-align: right;
    border-bottom: 2px solid #ddd;
    padding: 0 0 15px;
    margin: 0 5px;
	}
	.mapNotes .note {
		font-size: 12px;
	}
}


/* MAP PRINTING STYLES */

.mapTitle .tooltip {
	opacity: 0;
	position: absolute;
    top: 16px;
    right: 10px;
    z-index: 100;
    background: #ffed2f;
	transition: all 300ms linear;
}

div#mapPrint {
	position: absolute;
	top: -40px;
	right: 0px;
}

#mapPrint a {
    border: 1px solid;
    padding: 4px 20px;
}


	@media print {
	.fa {
		display: none;
	}
			nav.navbar.navbar-light.fixed-top {
    display: none;
}
			.page-header.has-bg {
    display: none;
}
			 ul.breadcrumb.col-md-12 {
    display: none;
}
			  .col-lg-3.offset-xl-1.col-md-12.order-1.order-lg-0.page-sidebar {
    display: none;
}
			div.fixed-width-content > *:not(#maps) {

    			display: none;
			}
			.map {
			  margin: 0;
			 padding: 0;
			 border: none;
			}
			div#maps {
			 margin: 0;
			}
			
			.fixed-width-content.col-lg-8.col-md-12.order-0.order-lg-1 {
    width: 100%;
    flex: 1 0 100%;
    max-width: none;
			font-size: 12px !important;
}
			.page-content.row.page-two-column {
    padding: 0;
			    margin: 0;
 
}
			.catalogLink {
    display: none;
}
			.footer-bottom .footer-bottom--content ul {

    display: none;
}
			.page-content.row.no-gutters.footer-top {
    display: none;
}
			div.fixed-width-content {
    font-size: 12px !important;
}
			.semester {
			page-break-inside: avoid;
			}
			.basic-page-template .fixed-width-content ul:not(.nav-tabs) li.course {
    padding: 0 !important;
   
}
			.mapSemesters .semester {
			padding-bottom: 10px !important
			}
			.basic-page-template .fixed-width-content a:not([data-toggle=collapse]):not(.btn-arrow) {
			 display: none;
			}
			.mapHeader {
			  padding: 4px;
			border: none;
			}
			
			/* flex styling */
			.mapSemesters {
			  flex-direction: row;
    flex-wrap: wrap;
			}
			.mapSemesters .semester {
			  flex: 0 0 47.5%;
			  padding: 0 5px;
			}
			.mapSemesters .semester:nth-child(odd) {
			  margin-right: 6px;
			}
			
			/* semester optimization */
			.mapSemesters ul { margin-bottom: 0; }
			.mapSemesters h3 { padding: 10px 0 0; }
			.mapSemesters li span { font-size: 10px; }
			
			#maps .mapSemesters .semester .semesterList .course a {
			  display: block;
			}
		
		   span.course {
			   min-width:20%;
		   }
}

