/*

1. Resets/Site Wide
2. Utilities
3. Header
4. Index Page
5. Boxes/cards
6. Sub-Page left/right nav





*/

/*     1.  Resets     */

body {
	display: grid;
	grid-template-rows: auto auto 1fr auto; /*  remove 1st auto after Hazard ends*/
	min-height: 100vh;
	line-height:1.5!important;
	background:#fff;
}

section {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.page {
	padding-top: 2rem;
	padding-bottom: 2rem;
	color: #545454;
	width: 100%;
	margin: auto;
	max-width: 1920px;
	background-color:#fff;
}

.page p {
	color:#000;
	background:#fff;
}

.page ul, .page ol {
	color:#000;
	background:#fff;
}

a {
	color: #660000;
	text-decoration: underline;
}

h3 {
	font-size: 1.3em;
	color: #202020;
	background:#fff;
}

.page > .row {
	margin-left: 0;
	margin-right: 0;
}

article p {
	width: 90%;
	margin: auto;
	text-align: center;
	padding-top: 0.5rem;
}

article {
	padding: 2rem 0rem;
}

.container-fluid {
	max-width: 1400px;
}

/*    2.  Utilities     */

.activeTab {
	border: 1px solid white !important;
	background: #fff;
}

.activeTab a {
	color: #450000 !important;
}

.color-maroon {
	color: #660000;
}

.text-success {
	color: #186329 !important;
}

.line {
	position: relative;
	height: 1px;
	background: #7c5427;
	width: 60%;
	top: 50%;
	margin: auto;
	/*min-width: 500px;*/
}

.line_header h1 {
	padding-left: 2%;
	padding-right: 2%;
	background: #fff;
	z-index: 1;
	position: absolute;
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	left: 50%;
	text-align: center;
	font-size: 1.8em;
	color: #343a40;
}

.line_header h2 {
	padding-left: 2%;
	padding-right: 2%;
	background: #fff;
	z-index: 1;
	position: absolute;
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	left: 50%;
	text-align: center;
	font-size: 1.8em;
	color: #343a40;
}

.line_header {
	width: 100%;
	margin: auto;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.breadcrumb {
	padding: 0;
	margin-bottom: 20px;
	list-style: none;
	background-color: transparent;
	font-size: 15px;
}

.bg-grey {
	background-color: #f5f5f5;
}

.breadcrumb > li + li:before {
	padding: 0 5px;
	color: #ccc;
	content: "/\00a0";
}

/*     3.  Header     */

a.skip-main {
	left: -999px;
	position: absolute;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
}

a.skip-main:focus,
a.skip-main:active {
	color: #fff;
	background-color: #000;
	left: auto;
	top: auto;
	width: 30%;
	height: auto;
	overflow: auto;
	margin: 10px 35%;
	padding: 5px;
	border-radius: 15px;
	border: 4px solid #640d0d;
	text-align: center;
	font-size: 1.2em;
	z-index: 999;
}

/* .main_header * {
	z-index: 1002;
} */

.main_header #msu-header {
	position: relative;
	width: 100%;
	background-color: #ffffff;
	border-bottom: 0px;
	background-image: none;
}

.top_links {
	padding-top: 0px !important;
}

.navbar-nav .nav-item a {
	color: #000;
	text-transform: uppercase;
	display: block;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	padding: 8px 10px;
	line-height: 1.5;
	position: relative;
	z-index: 2;
	transition: background 0.25s ease-in-out;
}

.mobile-menu .navbar-collapse .navbar-nav li {
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px solid #fff;
}

.mobile-menu .navbar-collapse .navbar-nav a:hover {
	text-decoration: none;
}

.mobile-menu .first {
	border-top: none !important;
	padding-top: 0px !important;
}

.sub_header header#msu-header {
	background-color: transparent;
	background-image: radial-gradient(
			circle,
			rgba(0, 0, 0, 0.3) 0%,
			rgba(0, 0, 0, 0.6) 100%
		),
		url(../img/header2.jpg) !important;
	background-repeat: no-repeat;
	z-index: 1001;
	border-bottom: 0px;
	background-size: cover;
}

.navbar {
	padding: 0rem 1rem;
}

.navbar-nav {
	width: 100%;
}

.navbar-nav li {
	text-align: center;
	padding-bottom: 0px;
	padding-top: 0px;
}

.navbar-nav .first {
	border-top: none;
}

#main-menu {
	width: 100%;
	background: black;
}

.top-menu-row .nav {
	background: transparent !important;
}

/* .top-menu-row .nav > li > a {
	background: transparent !important;
} */

.top-menu-row .nav > li > a:hover {
	text-decoration: none;
	background: #600 !important;
	color: #fff !important;
}

.nav-item {
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	transition: 1s;
}

.nav-item:first-child {
	border-left: 2px solid #fff;
}

.nav-item:last-child {
	border-right: 2px solid #fff;
}

.nav-item:hover {
	/* border: transparent; */
	transition: 1s;
	background: #fff;
}

.mobile-logo {
	max-width: 60%;
	height: 100%;
}

header#msu-header .secondary .top-menu-row .nav {
	background-color: #000;
	font-size: 100%;
}

header#msu-header .secondary .top-menu-row .nav > li > a {
	color: #000;
	background: transparent;
	border-bottom: 1px solid #7c5527;
}

@media (min-width: 768px) {
	.fixed-top {
		height: 3.5rem;
	}

	.sticky-nav {
		z-index: 1000;

		/*position: fixed;*/
		width: 100%;
		/*top: 0px;*/
		left: 0px;
		right: 0px;
		background: rgba(0, 0, 0, 0.85);
		/*height: 3.5rem;*/
	}

	.main_header .fixed-index#mainHeader {
		width: 100%;
		top: 0px;
		left: 0px;
		right: 0px;
		/* background: rgba(0, 0, 0, 0.7);
		height: 3.5rem; */
		position: fixed;
		transition: background 800ms linear;
		/* padding-top: 0.5rem;
		padding-bottom: 0.5rem; */
	}
}

@media (max-width: 767.98px) {
	.sticky-nav {
		display: none;
	}
}

.main_header #mainHeader {
	z-index: 1002;
	background: #f5f5f5;
	transition: background 500ms linear;
	border-bottom: 2px solid #fff;
}

@media (min-width: 768px) {
	header#msu-header {
		height: auto;
	}
}

@media (max-width: 767px) {
	.main_header #msu-header {
		display: none;
	}
	#mobile-menu .navbar {
		padding: 1em;
	}

	#mobile-menu .navbar-collapse {
		max-height: none;
		border-top: 0px solid #333;
		border-bottom: 0px solid #333;
		box-shadow: none;
		padding: 0;
	}

	address {
		text-align: center;
	}

	.feature_cap h3 {
		font-size: 1.4rem !important;
	}

	.card-deck {
		-ms-flex-flow: column;
		flex-flow: column;
	}
}

/* @media (min-width: 900px) {
	header#msu-header {
		height: 14rem;
	}
}

@media (min-width: 1024px) {
	header#msu-header {
		height: 13rem;
	}
} */

@media (max-width: 767.98px) {
	header#msu-header .logo {
		padding-bottom: 0 !important;
	}
}

/*     4.  Index     */

.slick-dots li button:hover,
.slick-dots li button:focus {
	outline: 1px dotted #fff;
}

.feature .slick-next,
.feature .slick-prev {
	display: none !important;
}

.feature,
.feature .item {
	min-height: 400px;
	height: 400px;
}

.feature .item {
	padding: 50px 0;
}

.bg-fade {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.5) 25%,
		rgba(0, 0, 0, 0.5) 75%,
		rgba(0, 0, 0, 0.5) 100%
	);
}

.feature .feature_cap {
	position: relative !important;
	/* top: 15% !important; */
	margin: auto;
	width: 65%;
	text-shadow: none;
	color: #fff;
}

.feature_cap h1 {
	font-size: 2.5rem !important;
	color: #f5f5f5 !important;
	margin:1em 0 !important;
	line-height:normal;
	overflow:auto;
}

.feature_cap h3 {
	font-size: 2.5rem;
	color: #f5f5f5;
}

.feature {
	position: relative;
	z-index: 1001;
}
/* @media (max-width: 767.98px) {
	.feature .feature_cap {
		display: none;
	}
} */

.svg-border-rounded svg {
	position: relative;
	bottom: 0;
	left: 0;
	height: 3rem;
	width: 100%;
}

.svg-border-rounded-bottom svg {
	position: relative;
	bottom: 0;
	left: 0;
	height: 3rem;
	width: 100%;
	transform: rotate(180deg);
}

/************** Cards *************/

.lift {
	box-shadow: 0 0.15rem 1.75rem 0 rgba(31, 45, 65, 0.15);
	-webkit-transition: box-shadow 0.15s ease-in-out,
		-webkit-transform 0.15s ease-in-out;
	transition: box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
		-webkit-transform 0.15s ease-in-out;
	border: none;
}

.lift:hover {
	-webkit-transform: translateY(-0.3333333333rem);
	transform: translateY(-0.3333333333rem);
	box-shadow: 0 0.5rem 2rem 0 rgba(31, 45, 65, 0.25);
}

.lift-small {
	box-shadow: 0 0.15rem 0.5rem 0 rgba(31, 45, 65, 0.15);
	-webkit-transition: box-shadow 0.15s ease-in-out,
		-webkit-transform 0.15s ease-in-out;
	transition: box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
		-webkit-transform 0.15s ease-in-out;
	border: none;
}

.lift-small:hover {
	-webkit-transform: translateY(-0.3333333333rem);
	transform: translateY(-0.3333333333rem);
	box-shadow: 0 0.1rem 0.55rem 0 rgba(31, 45, 65, 0.25);
}

.card .card-img-right {
	/* width: 40%; */
	width: 268px;
}

.support-card .card-body h2 {
	color: #222;
	font-size: 2em;
}

/**********************************/

.video-card img {
	border-radius: 0.25rem;
}

.video_slider {
	padding-top: 1rem;
}

.video_slider .slick-slider {
	padding-bottom: 10px;
}

.flickity-enabled:focus {
	outline: 1px dotted #fff !important;
}

.feature .slick-prev,
.feature .slick-next,
.feature .slick-dots {
	display: none;
}

#video_card.carousel-cell {
	height: 100%;
	margin: 14px;
	background: #fff;
	border-radius: 5px;
	counter-increment: carousel-cell;
}

#video_player {
	max-height: 0px;
	transition: max-height 500ms linear;
	overflow: hidden;
	margin: 1rem auto;
	background: #fff;
	width: 70%;
}

#video_player.showVideos {
	max-height: 1000px;
	transition: max-height 500ms linear;
}

#index_videos {
	border-radius: 0.5rem;
	padding: 2rem 0rem;
}

#index_videos .line_header h2,
#index_videos .video_slider {
	background-color: #fff;
}

.close {
	position: absolute;
	left: 76%;
	margin-top: -14px;
	top: 0%;
	z-index: 5;
	display: block;
	font-size: 40px;
	transition: visibility 400ms linear;
	visibility: hidden;
}

.close.showVideos {
	visibility: visible;
	transition: visibility 500ms linear;
}

.close:hover,
.video-card:hover {
	cursor: pointer;
}

@media (max-width: 1200px) {
	.close {
		left: 81%;
	}
	#video_player {
		width: 60%;
	}
}

@media (max-width: 1000px) {
	.close {
		left: 86%;
	}
	#video_player {
		width: 70%;
	}
}

@media (max-width: 800px) {
	.close {
		left: 91%;
		font-size: 35px;
	}
	#video_player {
		width: 80%;
	}
}

@media (max-width: 600px) {
	.close {
		left: 93%;
	}
	#video_player {
		width: 90%;
	}
}

/*     5.  Boxes/Cards     */

.link_box {
	position: relative;
	max-height: 500px;
	max-width: 400px;
	width: 100%;
	height: 100%;
	margin: auto;
	border-radius: 0.3rem;
	transition: box-shadow 250ms linear;
	overflow: hidden;
	border: none;
	border-top: none;
	padding: 0;
	box-shadow: 0 0.15rem 1rem 0 rgba(31, 45, 65, 0.1);
}

.link_box:hover {
	box-shadow: 0 0.5rem 2rem 0 rgba(31, 45, 65, 0.25);
}

.info_box {
	padding: 1rem;
	max-width: 100%;
	margin: 0.5rem auto;
}

.fig_box {
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	margin: 0rem 1rem;
}

.fig_box.float-right {
	max-width: 50%;
	z-index:1;
}

.fig_box .fig_cap {
	font-weight: normal;
	padding: 1rem;
	color:#000;
	background:#fff;
}

.fig_box img {
	width: 100%;
}

.link_box .link_img {
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

/* .card:hover a {
	text-decoration: none;
} */

.card-overlay {
	position: absolute;
	bottom: 0;
	height: 0%;
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.75);
	transition: height 500ms linear;
	overflow: hidden;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
}

.card:hover .card-overlay {
	height: 33%;
	transition: height 500ms linear;
}

.video-card .video-title {
	margin: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(3.5rem * 1.2 + 20px);
}

.video-card .video-title h4 {
	margin-top: 0;
	margin-bottom: 0;
	font-weight: normal;
}

.video-card {
	margin: 10px 1%;
	border-radius: 0.25rem;
	width: 31%;
	background: #fff;
	counter-increment: carousel-cell;
	overflow: hidden;
	margin-bottom: 10px;
	transition: box-shadow 250ms linear;
}

@media (max-width: 800px) {
	.video-card {
		width: 48%;
	}
}

@media (max-width: 600px) {
	.video-card {
		width: 70%;
		margin: 10px 5%;
	}

	.fig_box.float-right {
		max-width: 100%;
	}

	.fig_box {
		margin: 1rem 0.5rem;
	}
}

/*     6.  Sub-Page left/right nav     */

.left-nav a {
	padding: 0.5rem 0.25rem;
	width: 80%;
	margin: auto;
	border-bottom: 1px solid #ececec;
	transition: 250ms linear;
	font-weight: bold;
	color: #5d1725;
	text-decoration: none;
}

.left-nav a:hover {
	text-decoration: none;
	background-color: rgb(122, 122, 122, 0.1);
}

.right-nav .link_box {
	width: 80%;
	height: auto;
	margin-top: 1rem;
	margin-bottom: 3rem;
}

.right-nav .link_box li {
	margin: 0.5rem 0;
	color: #595959;
}

.right-nav .link_box ul {
	padding-right: 10px;
	margin-bottom: 0.5rem;
}

.link_box .title {
	margin: 0.75rem 0;
}

.table .thead-light th {
	color: #464d53 !important;
}

/********************* Footer **********************/

footer#msu-footer {
	background: #1d2223;
	line-height:1.5!important;
}
footer#msu-footer a {
	color: #fff !important;
}

footer#msu-footer .disclosure {
	border-top: none;
	border-bottom: none;
}

footer#msu-footer hr {
	margin-top: 15px;
	margin-bottom: 15px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #333 /*#222*/;
}

footer#msu-footer .disclosure p {
	margin-bottom: 0;
	color: #ababab;
}

footer#msu-footer .problems p {
	margin-bottom: 0;
	color: #ababab;
}

footer#msu-footer .disclosure .equal {
	line-height:1.5!important;
}

h2.card-title {
	font-size: 1.1em;
    margin: 1.67em 0;
    text-transform: uppercase;
	background:#fff;
	color:#000;
}
