﻿
#FnlPage > .InnerPage > div[class^="FnlContentPage"] > .WidthContain {
	/*width: 1200px;*/
}

#FnlPage > .InnerPage > div[class^="FnlContentPage"] > .WidthContain {
	/*width: 1200px !important;*/
}

.IsResponsive .WidthContain {
	max-width: 1200px;
}

h2 {
	font-size: 18px;
	font-weight: bold;
	color: #141414;
}


/*grid*/
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
	grid-gap: 20px;
	align-items: start;
	margin-bottom: 30px;
}

.grid-item {
	content: '';
	min-height: 210px;
	width: 100%;
	background: #fffce5;
}

.grid-item-1.SectionBanner {
	grid-column: 1 / -1;
	min-height: 120px;
	border: solid 1px #d7dfe4;
	border-radius: 5px;
	/*	margin: 12px 0 20px 0;*/
	overflow: hidden;
	background: #fafafa;
	padding: 10px;
	padding: 12px;
	box-sizing: border-box;
}

	.grid-item-1.SectionBanner > .PageDetails img {
		position: absolute;
		top: 38px;
		right: 40px;
		width: 87px;
		opacity: .2;
	}

.grid-container .grid-item {
	border-radius: 5px;
	border: 1px solid #DAE2E6;
}

	.grid-container .grid-item .BoxHeader {
		display: grid;
		position: relative;
		border-bottom: none;
		margin-bottom: 6px;
		align-items: center;
		height: 82px;
		padding: 0 62px 0 20px;
	}

	.grid-container .grid-item .BoxBody {
		margin: 15px 0;
		position: relative;
		padding: 0 20px;
	}

	.grid-container .grid-item .BoxHeader img {
		position: absolute;
		top: 20px;
		right: 12px;
		width: 40px;
		opacity: .82;
	}

	.grid-container .grid-item h2 {
		margin: 0;
	}

	.grid-container .grid-item h3 {
		display: inline-block;
		margin: 8px 0;
		width: 90%;
	}

	.grid-container .grid-item a.PlusIcon {
		background-image: url(../Media/Images/Icons/plus.svg);
		height: 10px;
		width: 10px;
		padding: 5px;
		right: 20px !important;
		position: absolute;
		cursor: pointer;
	}

		.grid-container .grid-item a.PlusIcon.active {
			background-image: url(../Media/Images/Icons/minus.svg);
			height: 10px;
			width: 10px;
			padding: 5px;
			right: 20px !important;
			position: absolute;
			cursor: pointer;
		}

	.grid-container .grid-item .BoxPanel {
		display: none;
	}

	.grid-container .grid-item:nth-of-type(2) {
		background: #FEFEF4;
	}

		.grid-container .grid-item:nth-of-type(2) .BoxHeader {
			background-image: linear-gradient(#FAF1CD, #FAFAED);
		}

	.grid-container .grid-item:nth-of-type(3) {
		background: #F4FEF5;
	}

		.grid-container .grid-item:nth-of-type(3) .BoxHeader {
			background-image: linear-gradient(#CDFBD2, #EDF9EE);
		}

	.grid-container .grid-item:nth-of-type(4) {
		background: #F4FDFE;
	}

		.grid-container .grid-item:nth-of-type(4) .BoxHeader {
			background-image: linear-gradient(#C7F4F9, #EEFAFB);
		}

	.grid-container .grid-item:nth-of-type(5) {
		background: #FEF4F8;
	}

		.grid-container .grid-item:nth-of-type(5) .BoxHeader {
			background-image: linear-gradient(#F7DAEF, #F9EBF0);
		}

/*Home Page*/
.SectionBanner > .PageDetails {
	display: inline-block;
	padding: 0 5px;
	max-width: 56%;
	vertical-align: middle;
}

	.SectionBanner > .PageDetails h1 {
		margin-top: 0;
	}

	.SectionBanner > .PageDetails > .PageDescription {
		margin-bottom: 0;
	}

.SectionBanner > img {
	display: inline-block;
	vertical-align: middle;
	width: 32%;
	margin-right: 20px;
}

.SectionBanner > .PageDetails img {
	position: absolute;
	top: 50px;
	right: 34px;
	width: 87px;
	opacity: .2;
}

.SectionBanner > img.MobileImageChildrenPlaying {
	display: none;
}

/* Sign in block */
.SignInBlock {
	overflow: hidden;
	margin: 0px 0px 24px 0px;
}

	.SignInBlock .SignInBox {
		float: left;
		width: 400px;
		margin: 0px 16px 0px 0px;
		padding: 0px 0px 12px 0px;
		border: 1px solid Silver;
	}

		.SignInBlock .SignInBox:first-child {
			margin-left: 16px;
		}

		.SignInBlock .SignInBox .ToolBar {
			margin: 0px 0px 12px 0px;
			padding: 6px;
			border-bottom: 1px solid Silver;
			text-align: center;
			font-weight: bold;
			color: white;
			background-color: #555555;
		}


.MinimumDivHeight {
	min-height: 400px;
}


/*New Daycare Registration Form*/
fieldset.FnlFieldSet ol.InputFields > li > span.Label:first-child {
	margin-left: 10px; /*This code adds margin left to the "Web Address" field in New Daycare Registration Form */
}

.Required + .Label {
	margin-left: 0;
}

.EditListingLinkTopSpace {
	margin-top: 20px;
}

/*Home Based Daycare List*/
.DaycareListing {
	border-top: 1px solid #ABABAB;
	border-right: 1px solid #ABABAB;
	border-left: 1px solid #ABABAB;
	padding: 12px 12px 12px 12px;
}

.AlternatingDaycareListing {
	border-top: 1px solid #ABABAB;
	border-right: 1px solid #ABABAB;
	border-left: 1px solid #ABABAB;
	padding: 12px 12px 12px 12px;
	background-color: #F3F2F2;
}

/*Daycare List*/
.WrapDescription {
	word-wrap: normal;
	word-break: break-all;
}



/*** Icon Links ***/
/*a.IconLink {
  display: inline-block;
  font-size: 1.2em;*/ /* 1.2em = 16/13.33333 */
/*line-height: 17px;
  padding-top: 1px;
  padding-left: 27px;
  position: relative;
  text-decoration: none;
}

  a.IconLink:hover {
    color: #344287;
    text-decoration: underline;
  }

a.IconLink:before {
  background: transparent url(../Media/Images/Icons/GeneralIconSprite.png) no-repeat 0 0;
  content: "";
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  top: 0;
  width: 19px;
}

a.IconLink.HomeIcon {
  padding-left: 24px;
}

a.IconLink.HomeIcon:before {
  background-position: 0 0;
}

a.IconLink.CenterIcon:before {
  background-position: 0 -100px;
}*/



/*** Fancy Buttons ***/
/*a.FancyInputButtonLink {
	background: #fef9e9;
  border: 1px solid #ffe6a3;
  -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
  color: #7b7974;
  cursor: pointer;
	display: inline-block;
  font-size: 1.05em;*/ /* 1.05em = 14/13.33333 */
/*line-height: 1.2em;*/ /* 1.2em = 16.8/14 */
/*margin-right: 3px;
	padding: 6px 15px 8px;
	text-decoration: none;
  vertical-align: top;
}

	a.FancyInputButtonLink:hover {
		background: #ffe6a3;
		color: #7b7974;
	}*/

/* IE Styles */
/*a.FancyInputButtonLink {
	*margin-right: 7px;*/ /* ie7 extra margin */
/*}*/




/* Listings */
fieldset.FnlFieldSet ol.InputFields li > label:first-child,
fieldset.FnlFieldSet ol.InputFields li > span.Required:first-child + label,
fieldset.FnlFieldSet ol.InputFields li > span.Label:first-child,
fieldset.FnlFieldSet ol.InputFields li > span.Required:first-child + span.Label {
	width: 180px;
	vertical-align: sub;
}

div.FnlViewSet ol.ViewFields > li > label:first-child,
div.FnlViewSet ol.ViewFields > li > span.Required:first-child + label,
div.FnlViewSet ol.ViewFields > li > span.Label:first-child,
div.FnlViewSet ol.ViewFields > li > span.Required:first-child + span.Label {
	width: 220px;
}

	div.FnlViewSet ol.ViewFields > li > label:first-child + span,
	div.FnlViewSet ol.ViewFields > li > span.Label:first-child + span {
		margin-left: 220px;
	}

fieldset.FnlFieldSet ol.OverflowFix > li {
	padding-bottom: 2px; /* fix for overfow hidden cutting off bottoms of fields */
}

div.FnlViewSet ol.ViewFields > li.label.Attendance {
	width: 150px;
}

.FloatRight {
	float: right;
}

.FloatLeft {
	float: left;
}

div.Listings {
	margin: 12px 0px 0px 0px;
}

	div.Listings .Sort {
		margin: 0px 0px 12px 0px;
	}

	div.Listings .Pager {
		font-size: .9em;
		border: 1px solid #ABABAB;
		background-color: #A90101;
		overflow: hidden;
		padding: 3px;
		margin: 0px;
		color: white;
	}

		div.Listings .Pager > .RowCount {
			float: left;
			margin: 3px 0px 0px 6px;
		}

		div.Listings .Pager > .PageLinks {
			float: right;
			margin: 2px 6px 0px 0px;
			color: black;
		}

			div.Listings .Pager > .PageLinks > span {
				margin: 0px 6px 0px 0px;
			}

			div.Listings .Pager > .PageLinks > a {
				margin: 0px 3px 0px 0px;
				color: white;
			}

		div.Listings .Pager > .PageSize {
			float: right;
			margin: 1px 6px 0px 0px;
		}

			div.Listings .Pager > .PageSize > select {
				height: 20px;
				font-size: 12px;
			}

	div.Listings > ul {
		padding: 0px;
		margin: 0px;
	}

		div.Listings > ul > li {
			padding: 12px 12px 12px 12px;
			margin: 0px;
			list-style-type: none;
			background-color: White;
			border-top: 1px solid #ABABAB;
			border-right: 1px solid #ABABAB;
			border-left: 1px solid #ABABAB;
		}

			div.Listings > ul > li:first-child {
				border-top-style: none;
			}

			div.Listings > ul > li.Alternate {
				background-color: #EEEEEE;
			}

	div.Listings ul.Features {
		overflow: hidden;
		width: 700px;
		padding: 0px;
		margin: 12px 0px 12px 24px;
	}

		div.Listings ul.Features > li {
			width: 312px;
			margin: 0px 20px 0px 0px;
			padding: 0px 0px 0px 18px;
			float: left;
			list-style-type: none;
			background-image: url("../Media/Images/FeaturesBullet.png");
			background-position: left center;
			background-repeat: no-repeat;
		}

	div.Listings > ul > li > .Top {
		overflow: hidden;
	}

.ListStyle {
	list-style: none;
}

div.Listings > ul .Top .Location {
	float: left;
	width: 500px;
	margin: 0px 0px 12px 0px;
	list-style: none;
	padding-left: 0px;
}

div.Listings > ul .Top > .Location li a {
	font-weight: bold;
}

div.Listings > ul .Top > .Location > H2 {
	font-size: 1.1em;
	color: #A90101;
	font-weight: bold;
	margin: 0px 0px 0px 0px;
	display: block;
}

div.Listings > ul .Top > .Contact {
	list-style: none;
	margin-top: 18px;
	float: left;
}

div.Listings > ul .Top > .ContactEditListing {
	list-style: none;
	margin-top: 18px;
	float: left;
}

.WrapContact {
	width: 200px;
	word-wrap: break-word;
}


div.Listings .Label, div.Listings label, div.Sort .Label, div.Sort label {
	color: #272727;
}



div.FnlViewSet ol.ViewFields.Location > li:first-child {
	margin-top: 0;
}

div.FnlViewSet ol.ViewFields.Location > li {
	margin: 3px 0 0 0;
}

div.Listings > ul .Bottom {
	clear: both;
}

@media only screen and (max-width: 1000px) {
	.IsResponsive .WidthContain {
		max-width: 1000px;
	}
}

@media only screen and (max-width: 1091px) {
	.SectionBanner > img {
		display: none;
	}

	.grid-item-1.SectionBanner > .PageDetails {
		display: inline-block;
		max-width: 60%;
	}

		.grid-item-1.SectionBanner > .PageDetails img {
			display: none;
		}

	.SectionBanner > img.MobileImageChildrenPlaying {
		display: inline-block;
		width: 30%;
		margin-right: 3%;
	}
}


@media only screen and (max-width: 740px) {
	/*These styles area form cellphones*/
	.grid-item-1.SectionBanner {
		padding: 3%;
	}

	.SectionBanner > img.MobileImageChildrenPlaying {
		display: block;
		width: 46%;
		margin: 3% auto;
	}

	.grid-item-1.SectionBanner > .PageDetails {
		display: block;
		max-width: 100%;
		margin: 3% 0;
		line-height: 1.25;
	}
}

@media only screen and (min-width: 1091px) {

	.grid-container .grid-item:nth-of-type(3) {
		grid-row: 2/5;
		grid-column: 2/3;
	}

	.grid-container .grid-item:nth-of-type(4) {
		grid-row: 2/4;
		grid-column: 3/4;
	}

	/*@media only screen and (max-width: 800px) {
	.IsResponsive .WidthContain {
		max-width: 800px;
	}

	.grid-container {
		grid-template-columns: repeat(2, 1fr)*/ /*1fr 1fr*/ /*200px 200px*/ /*;
		grid-gap: 15px;
		padding: 15px;
	}
}

@media only screen and (max-width: 500px) {
	.IsResponsive .WidthContain {
		max-width: 500px;
	}

	.grid-container {
		grid-template-columns: repeat(1, 1fr)*/ /*1fr 1fr*/ /*200px 200px*/ /*;
		grid-gap: 10px;
		padding: 10px;
	}
}*/
