/* STEALING GRAPHICS FOR HEADER -- via deploy-time pass of buildutils/python/process_vhosts.py
/* url(/graphics/headers/MSHSLogoheader.svg);*/


body {
	margin: 0;
	font: normal 16px/20px 'Open Sans', Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 16px;
	text-align: left;
	color: #000033;
	background-color:#FFF;
	}

a, a:visited, a:active  {
	color: #092F63;
	text-decoration: underline;
	background-color: inherit;
    }
a:hover {
    color: #0D4087;
    text-decoration: none;
	background-color: inherit;
    }

#mastertable {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	font: normal 14px/20px 'Open Sans', Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 14px;
	text-align: left;
	color: #000033;
	}

#toptable {
	width: 98%;
	margin-top: 5px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	}

#reducetable {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	}

.languageLinkPadding {
	padding-right: 5px;
	font-size: 15px;
	}

.welcomeMS {
    margin-top: -5px;
    padding-bottom: 40px;
    padding-top: 20px;
    font-weight: normal;
    color: #061E3F;
    background-color: #F4F4F4;
    font-size: 15px;
}
.welcomeMS > div {
	max-width: 900px;
	margin: auto;
}
.welcomeHead {
	line-height:125%;
	font-size:190%;
	margin: 0 auto 10px auto;
    text-align: center;
}

h1 {
	font-size: 22px;
	}

#paintTitle {
	color: #000033;
	border-bottom: solid 1px #061E3F;
	background-color: inherit;
	}

.paintTitle {
	color: #000033;
	border-bottom: solid 1px #061E3F;
	background-color: inherit;
	}

.paintTitle2 {
	color: #000033;
	border-bottom: solid 1px #061E3F;
	background-color: inherit;
	}

.paintTitleH2 {
	color: #000033;
	border-bottom: solid 1px #061E3F;
	font-size: 16px;
	background-color: inherit;
	}


.footerstrip
{
	background-color: inherit;
}

.MSFooter {
	color:#000;
	border-top: solid 10px #f5b335;
	}
.MSFooter a {
	color:#092F63;
	}
.MSFooter > div {
	max-width:1300px;
	margin: 0 auto;
	}
.footerNav {
	display:inline-flex;
	flex-wrap:wrap;
	line-height:175%;
    width: 100%;
	}
.footerNav > div {
    padding: 20px 39px 10px 20px;
	}
.footerNav > div:last-child {
	text-align: center;
    display: inline-flex;
    flex-wrap: wrap;
	margin-left: auto;
    padding: 20px 20px 10px 20px;
	}
.footerNav ul {
    margin: 0;
    padding: 0;
	}
.footerNav li {
    white-space: nowrap;
    list-style-type: none;
	}
.footNavHead {
	color:#061E3F;
	font-weight: bold;
	}
.MSSponsor {
	margin:0 20px;
	flex-basis:200px !important;
	}
.MSSponsor > div:first-child {
	height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	}
.MSSponsor > div > div:nth-child(2) {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
	}
.MSSponsor > div > div:nth-child(2) > a {
	margin:5px auto 0 auto;
	}
.standardFooter {
	margin-top:15px;
	font-size:75%;
	color:#000;
	}
.standardFooter img {
	background-color:#FFF;
}

.standardFooter a {
	color:#000;
}

/*Text Search Styling*/

.MSTextSearchContainer form > div {
	display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
}

.MSTextSearchContainer .tsTextboxClass {
	border:none;
	height:36px;
	width: calc(100% - 44px);
}

.MSTextSearchContainer .tsSubmitClass {
	height:30px;
	width:initial;
	background:#fff;
	border:none;
	padding: 5px;
}
.tsSuggest {
	flex-basis: 100%;
	background: white;
	color: #111;
	padding: 3px;
	margin-top: 3px;
	margin-bottom: -25px;
	z-index:99;
}
.tsSuggest > ul {
	margin: 2px;
	padding: 0px;
	list-style-type: none;
	-webkit-columns: 4 150px;
	-moz-columns: 4 150px;
	columns: 4 150px;
}
.tsMessage {
	margin-bottom:-10px;
}


.textContainer {
	padding: 7% 6%;
	background:url(/graphics/images/MSHShero.png) no-repeat;
	background-position-y:center;
	background-position-x:center;
	background-size: cover;
}
.textContainer .alt-btn,
.welcomeMS .alt-btn {
	padding: 15px 39px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	white-space: normal;
	background-color: #e9a821;
	color: #061e3f;
	border: solid 1px #fff;
	border-radius: 5px;
	align-self: center;
	text-transform: uppercase;
	font-size: 25px;
	line-height: 30px;
}
.welcomeMS .alt-btn {
	margin-top: 20px;
	margin-bottom: 40px;
	color: #fff;
	background-color: #061e3f;
}
.textContainer .alt-btn:hover{
	background-color: #fff;
}
.welcomeMS .alt-btn:hover{
	background-color: #e9a821;
}
.textFlex {
	display:flex;
	flex-direction:column;
	color:white;
	background-color: rgba(6,30,63,0.8);
	padding: 2%;
	max-width: 750px;
	margin: 0 auto;
}
.textTitle {
	font-size: 40px;
	font-weight: bold;
	line-height: 50px;
	margin-left: -3px;
}
.textAdvanced {
	padding-top:4px;
	text-align:right;
}
.textAdvanced a {
	color:white;
	text-decoration:none;
	font-size: 16px;
    text-transform: uppercase;
}

.whiteBox {
  position: relative;
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  color: #000;
}

.whiteBox::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 208px;
    height: 7px;
    background-color: #f5b335;
}

.whiteBox .bigBlue {
  color: #061E3F;
  font-size: 18px;
}

.whiteBox p {
  margin: 0;
}

@media all and (max-width: 1100px) {
.footerNav > div {
    flex:1 1 13%;
	}
}
@media all and (max-width: 1000px) {
	.textContainer {
		background-size:cover;
	}
}
@media all and (max-width: 600px) {
	.textContainer .textTitle {
		display:none;
	}
	.MSTextSearchContainer .tsTextboxClass {
		width:80%
	}
	.MSTextSearchContainer .tsLabel {
		width:100%;
	}
}

/*CMS Styling*/

.frontBoxBox {
    background-color: #F4F4F4;
	padding-bottom: 40px;
}

.cmsTiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	max-width: 1200px;
}
.cmsTiles > div {
	flex: 1 1 320px;
    min-height: 320px;
    max-width: 390px;
    margin: 10px;
    background-size: cover !important;
}
.plate {
	color:#FFF;
	overflow: hidden;
	height:100%;
	max-height:40ch;
}
.plateContent {
    padding-top: 54%;
}
.plateContent > span {
	flex:1 1 100%;
}
.plateTitle {
    font-size: 184%;
    line-height: 115%;
    padding-bottom: 10px;
    font-weight: 700;
}
.plateIntro {
	font-size:90%;
	padding-bottom:5px;
}
.cmsTiles a span {
	display:block;
}
.cmsTiles .cmsArticles a {
	text-decoration:none;
	background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
    background-position: center bottom;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: calc(100% - 40px);
	padding:20px;
}
.cmsTiles .cmsArticles a:hover {
	background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}
.cmsTiles .cmsArticles a > span {
	flex: 1 1 auto;
}
.cmsTiles .cmsStickies a {
	text-decoration:none;
	color:#FFF;
	text-align:center;
	display:block;
	height: calc(100% - 40px);
	padding:20px;
}
.cmsTiles .cmsStickies a img{
	display: none;
}
.stickyPlate {
	display:flex !important;
	flex-direction:column;
	justify-content:center;
	height:100%;
}
.stickyPlate > span {
	flex: 1 1 auto;
}
.stickyHeadSpace {
	height:15%;
}
.stickyTitle {
	font-size:140%;
	line-height:140%;
	font-weight:700;
	height:40%;
}
.stickyButtonWrapper {
	height:20%;
}
.stickyButton {
	padding: 6px 0;
    border-radius: 6px;
    width: 50%;
    font-size: 141%;
    margin: 5px auto;
    font-weight: bold;
    background-color: #f5b335;
    color: #000;
}
.cmsStickies a:hover .stickyButton {
	background-color:#FFF;
	color:#061E3F;
}

.SFnavcontainer {
	font-size:90%;
}

.aboutSection {
	padding: 50px 15px;
	max-width: 1000px;
    margin: auto;
}

.aboutSection .aboutH2 {
	font-size: 25px;
    margin: 0 0 15px;
	line-height: 1;
}

.aboutSection p {
	margin-top: 0;
}

.ctnavcontainer a {
	margin-bottom: 2px;
}

.ctnavcontainer  a.listingButton {
	display: none !important;
}

.MSResources.ui-widget {
	font-family: 'Open Sans' !important;
}

.frontLayout {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.frontLayout > div {
	flex: 1 1 300px;
}


.resourceSection {
	max-width: 1000px;
    margin: 50px auto 20px;
	font-weight: bold;
}

.resourceSection h1{
	font-size: 26px;
}

.resourceSection p{
	color: #000000;
	font-size: 18px;
}

.resourceSection ul{
	line-height: 30px;
}
.resourceSection ul li a{
	font-size: 16px;
}

.resourceBottom{
    max-width: 1000px;
    margin: auto;
}

.resourceBottom p{
	font-size: 16px;
}

.MSResources ul li {
	margin-bottom: 20px;
}
