/* STEALING GRAPHICS FOR HEADER -- via deploy-time pass of buildutils/python/process_vhosts.py
/* url(/graphics/headers/MaineHSlogo.png);*/
/* url(/graphics/images/MaineHSSearchIcon.png);*/

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: #00215B;
	text-decoration: underline;
	background-color: inherit;
    }
a:hover {
    color: #F7BE00;
    text-decoration: none;
	background-color: inherit;
    }

#mastertable {
	max-width:1400px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	font: normal 16px/20px 'Open Sans', Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 16px;
	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;
	flex-basis:100% !important;
}

.welcomeFL {
	text-align:center;
	max-width:1000px;
	margin:auto;
	font-size:115%;
	line-height:140%;
}
.welcomeHead {
	color:#00215B;
	text-align:center;
	line-height:125%;
	font-size:175%;
	margin:10px auto;
}

@media only screen and (max-width: 500px) {
	.welcomeHead {
		font-size:140%;
	}
	.welcomeWAddy {
		font-size:100% !important;
	}
}


h1 {
	font-size: 120%;
	color: #00215B;
	}

#paintTitle {
	color: #F7BE00;
	border-bottom: solid 1px #F7BE00;
	background-color: inherit;
	}

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

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

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

.footerstrip
{
	background-color: inherit;
}

.FLFooter {
	background-color:#fff;
	color:#000;
	margin-top:20px;
	padding-bottom:40px;
	border-top:solid 20px #00215B;
	}
.FLFooter > div:first-child {
	display:flex;
	flex-wrap:wrap-reverse;
	max-width:1400px;
	margin: 0 auto;
	}
.FLFooter > div:first-child > div {
	flex:1 1 400px;
	}
.FLFooter a {
	color:#79242F;
	}
.footerNav {
	display:flex;
	flex-wrap:wrap;
	align-content: flex-start;
	line-height:175%;
	}
.footerNav > div {
	flex:1 1 1%;
    padding: 20px 20px 10px 20px;
	}
.footerNav > div:last-child {
	flex-basis:325px;
	}
.footerNav > div:last-child > div {
	display: flex;
	flex-wrap:wrap;
	font-style: italic;
}
.footerNav > div:last-child > div > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width:375px;
}
.footerNav > div:last-child > div > div > a {
	flex: 1 1 auto;
}
.footerNav ul {
    margin: 0;
    padding: 0;
	}
.footerNav li {
    white-space: nowrap;
    list-style-type: none;
	}
.footNavHead {
	color:#000;
	font-weight:700;
	}

.standardFooter {
	font-size:75%;
	background-color: #00215B;
	color:#FFF;
	}
.standardFooter a {
	color:#FFF;
}
.standardFooter img {
	background-color:#FFF;
}

.headFlex {
	display:flex;
	flex-wrap:wrap;
	align-items:flex-end;
	max-width:1200px;
	margin:0 auto;
}
.headFlex > div {
	flex: 1 1 auto;
}
.headFlex > div:nth-child(2) {
	padding:0 5px;
	text-align: left;
}
.headProper img {
	padding-bottom:10px;
}

/*Text Search Styling*/

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

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

.FLTextSearchContainer .tsSubmitClass {
	height:40px;
	width:initial;
	background:#fff;
	border:none;
	padding:0;
}
.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 {
	width:88%;
	padding: 10% 6%;
	background:url(/graphics/headers/MaineHSbg.jpg) no-repeat;
	background-position-y:center;
	background-position-x:center;
	background-size: cover;
}
.textFlex {
	display:flex;
	flex-direction:column;
	color:white;
	background-color: rgba(0,33,91,0.8);
	padding:2%;
	max-width: 750px;
	margin: 0 auto;
}
.textTitle {
	font-size: 40px;
	font-weight:700;
	line-height: 40px;
	padding-bottom: 4px;
	margin-left: -3px;
	line-height: 120%;
}
.bottomLinks {
	display: flex;
	flex-wrap: wrap;
}
.textAdvanced {
	padding-top:10px;
	text-align:right;
	font-weight: bold;
	font-size: 125%;
	display: inline-block;
	margin-left: auto;
}
.textAdvanced a {
	color:white;
	text-decoration:none;
}

.searchTips {
	padding-top:10px;
	text-decoration:underline;
	display: inline-block;
}
.searchTips a {
	color:white;
}

@media all and (max-width: 1000px) {
	.textContainer {
		background-size:cover;
	}
}
@media all and (max-width: 600px) {
	.textContainer .textTitle {
		display:none;
	}
	.FLTextSearchContainer .tsTextboxClass {
		width:80%
	}
	.FLTextSearchContainer .tsLabel {
		width:100%;
	}
	.textAdvanced {
		padding-top:4px;
	}
	.searchTips {
		padding-top:2px;
	}
}

/*CMS Styling*/
.cmsTiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	max-width: 1200px;
}
.cmsTiles > div {
	flex: 1 1 390px;
    min-height: 340px;
    max-width: 320px;
    margin: 10px;
	background-position: top !important;
}
.plate {
	color:#FFF;
	overflow: hidden;
	height:100%;
	max-height:40ch;
}
.plateContent {
	display: flex !important;
    flex-wrap: wrap;
    height: 80%;
    align-items: flex-end;
    padding-top: 10%;
}
.plateContent > span {
	flex:1 1 100%;
}
.plateTitle {
	font-weight:bold;
	font-size:160%;
	line-height:115%;
	padding-bottom:5px;
	margin-bottom:130px;
}
.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,0), rgba(0,0,0,.6));
	background-position: center top;
	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,0), rgba(0,0,0,.8));
}

.cmsTiles .cmsArticles a > span {
	flex: 1 1 auto;
}
.cmsTiles .cmsStickies a {
	text-decoration:none;
	color:#FFF;
	text-align:center;
	display:block;
	height: calc(100% - 0px);
	padding:0px;
}
.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:15px;
	width:50%;
	font-size: 120%;
	font-weight: bold;
	margin:5px auto;
	background-color: #00215B;
	color: #fff;
}
.cmsStickies a:hover .stickyButton {
	background-color:#FFF;
	color:#F7BE00;
}

.SFnavcontainer {
	font-size:90%;
}
.list-start{
	color:#F7BE00;
	font-weight: bold;
}

.forsaleFlex {
	display: flex;
	flex: 1 1 auto;
	max-width: 1000px;
	margin: 0 auto;
	margin-top:40px;
}
.forsaleFlex > div {
	flex: 1 1 400px;
}

.forsaleRight {
	background: #e8e8e8;
}
.forsaleChild {
	width: 50%;
	height: 100%;
	line-height: 140%;
	padding: 30px;
}
.forsaleHead{
	color: #00215B;
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 20px;
}

.frontBoxBox {
	width: 96%;
	margin-left: -1%;
	padding: 3%;
	background-color: #D3D5E5;
}

.frontBoxBox > div:first-child {
	font-size:125%;
	margin-top: -2%;
	line-height: 100%;
}

.frontFlex {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	margin:0 auto;
	max-width:1100px;
}
.frontFlex > div {
	flex: 1 1 250px;
	white-space:nowrap;
	min-height:255px;
	margin:10px;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}
.frontFlex > div > div {
	margin-top:150px;
}
.frontFlex a,
.frontFlex span {
    display: flex;
    font-size: 100%;
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    color: white;
    background-color: rgba(0,33,91,0.8);
    line-height: 120%;
    justify-content: center;
    min-height: 48px;
    align-items: center;
}
.frontFlex a:hover {
	background-color:rgba(211, 213, 229, 0.75);
}
.frontFlex span {
	background:inherit;
	font-size:155%;
}
.hpfContain {
	background-color:#00215B;
}
.homepageFlex {
	display: flex;
	flex-wrap:wrap-reverse;
	max-width: 1080px;
	margin: 0 auto;
	font-size:120%;
	padding:10px;
	align-items: baseline;
	background-color:#00215B;
	color:#FFF;
}

.homepageChildNarrow {

	flex: 1 1;
	height: 100%;
	line-height: 140%;
	padding-right:40px;
	min-width:185px;
}
.homepageChildWide {
	flex: 2 1;
	height: 100%;
	line-height: 140%;
	font-size:110%;
}
.homepageHead{
	color: #F7BE00;
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 20px;
}

.bigBlue {
	color: #FFF;
	font-weight: bold;
	font-size: 24px;
}

h3.ui-state-active {
	background: #79242F !important;
}


.CMSHead {
	background-color:#00215B;
	text-align:center;
	color:white;
	text-transform:uppercase;
}
.CMSHead > h1 {
	font-size:200%;
	margin:15px 0;
}
.CMSHead span {
	color:#6ab334;
}
.CMSContainer {
	margin-bottom:10px;
	position:relative;
	top:-1px;
}

.cmsArray {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
	max-width:960px;
	margin:auto;
	margin-top:30px;
}
.cmsTile {
	flex:1 1 300px;
	margin:7px 2px;
	max-width:305px;
	height: 300px;
	border: 1px solid white;
	background-color: #888b8d;
	color:white;
}
.cmsTileInner {
	height: 100%;
	background-size: cover;
	position:relative;
}
.cmsTileTitle {
	font-size:140%;
	line-height:1.4;
	font-weight:bold;
	text-align:center;
	position:absolute;
	width:calc(100% - 30px);
	margin:0 15px;
	padding-top:20px;
	padding-bottom:50px;
}
.sticky .cmsTileTitle {
	font-size:140%;
	padding-top: 100px;
}
.cmsSuperTitle {
	font-size:115%;
	color:#F7BE00;
}
.cmsSubTitle {
	font-size:90%;
	font-style:oblique;
	font-weight:normal;
}
.cmsGradient {
	position:absolute;
	top:0;
	width:100%;
	height:200px;
	background:linear-gradient(rgba(0, 19, 52, 0.8), rgba(0, 19, 52, 0.6) 35%, rgba(0, 19, 52, 0));
}
.cmsLink {
	position:absolute;
	bottom:20px;
	left:50%;
}
.cmsLink a {
	display:block;
	margin:auto;
	width:110px;
	padding:15px;
	color:white;
	text-align:center;
	text-transform:uppercase;
	font-weight:bold;
	text-decoration:none;
	background-color:#79242F;
	position:relative;
	left:-50%;
}
.cmsLink a:hover {
	background-color:#00215B;
}
.sticky .cmsLink a {
	background-color:#F7BE00;
	color: #00215B;
}
.sticky .cmsLink a:hover {
	background-color:#00215B;
	color: #FFF;
}

.sticky .cmsGradient {
	background: rgba( 0, 33, 91, .65);
	height:300px;
}

.panels {
    display: flex;
    flex-wrap: wrap;
	gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    padding-top: 35px;
}
.colPanel {
	background-color: #79242F;
	padding: 22px 57px 30px;
	text-align: center;
}

.colPanel p {
	color: #fff;
	font-size: 15px;
}
.colPanel p.panelTitle {
	font-weight: bold;
	font-size: 22px;
    margin: 0;
	line-height: normal;
}

.colPanel .panelBtn {
	margin-top: 30px;
}
.colPanel .panelBtn a{
    padding: 8px 27px;
    border-radius: 6px;
    font-size: 18px;
    margin: 5px auto;
    font-weight: bold;
    background-color: #fff;
	color:#79242F;
	text-transform: uppercase;
	text-decoration: none;
}

.colPanel #bell.panelBtn a{
    background: url(/graphics/images/Bell_icon.svg) no-repeat;
    background-position-y: center;
    background-position-x: 183px;
    background-color: #fff;
    padding-right: 57px;
}
.colPanel .panelBtn a:hover,
.colPanel #bell.panelBtn a:hover {
	background-color: #E9A821;
	color:#000;
}

#shsWrapper .notifyPanel.shsSpecialOptions.row3 {
	background-color: #79242F !important;
}

#shsWrapper .notifyPanel.shsSpecialOptions.row3 .imgMiddle {
	border: 1px solid #fff;
	border-radius: 50%; 
}

#shsWrapper .notifyPanel.shsSpecialOptions.row3 .saveRow .leftCol #bell.panelBtn a {
	color:#79242F;
}
#shsWrapper .notifyPanel.shsSpecialOptions.row3 .saveRow .leftCol #bell.panelBtn a:hover {
	color:#000;
}