
.borderBox {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
}

/* HEADER */

.desktop {
	margin-top:15px;
}

.headerTitle {
	width:87%;
	margin:0;
	padding:0;
}

.headerLogo {
	width:13%;
	margin:0;
	padding:0;
}

.top-bar .name {
	height:4rem;
}

ul.title-area {
	width:40%;
}

ul.title-area li.name {
	padding-top:10px;
}

.keepUp {
	display:block;
	float:left;
	margin-top:24px;
	font-size:.7rem;
	color:#fff;
	text-transform:uppercase;
	white-space:nowrap;
}

a.button.postfix,
input.button.postfix {
	line-height:inherit;
}

input.button.postfix {
	padding:4px 10px 6px 10px;
}

.headerMargin {
	margin-top:20px;
}

h3.mainLogo {
	text-transform:uppercase;
	margin-top:15px;
	padding-bottom:0;
	color:#fff;
	line-height:1rem;
}

span.mainTagline {
	font-size:.75rem;
	color:#fff;
	line-height:1rem;
}

/* HOMEPAGE CONTENT */

.mainSliderText {
	margin:0;
	padding:30px 60px 30px 30px;
}

.mainSliderText H2 {
	text-transform:uppercase;
}

.mainSlider img {
	width:100%;
	height:auto;
}

/* Feature Boxes */

.homeFeature {
	position:relative;
}

.homeFeature div.label {
	display:block;
	position:absolute;
	top:0;
	left:0;
	padding:6px;
	background:rgba(0,0,0,0.6);
	color:#fff;
	font-size:.8rem;
}

.homeFeature div.image {
	max-height:165px;
	overflow:hidden;
}

.homeFeature div.image img {
	width:100%;
	height:auto;
	border:0;
}

.homeFeature a,
.homeFeature a H5 {
	color:#0059a9;
	text-decoration:none;
}

.homeFeatureTitle {
	font-size:17px;
	line-height:20px;
	font-weight:700;
	text-transform:uppercase;
	padding:5px 10px 0 10px;
}

.homeFeatureSubtitle {
	font-size:14px;
	line-height:18px;
	font-weight:600;
	padding:0 10px 5px 10px;
}

.homeFeatureSubtitle p {
	margin:0;
}


/* Other Homepage elements */

.homeAboutMEA {
	background: #d8e0ee;
	padding:15px;
	margin-bottom:15px;
	border-radius:6px;
}


/* About State Partners */

div.statePartners {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
	-webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
	-webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
}


/* Photos */

.pagerNextPrevious,
.photoNextPrevious {
    font-size:11px;
    line-height:14px;
    font-weight: bold;
    color:#999;
    text-transform:uppercase;
    text-wrap:none;
}

.photoNextPreviousOverlay {
	display:block;
	position:relative;
}

a.photoPreviousOverlay,
a.photoNextOverlay {
	display:block;
	width:50%;
	height:100%;
	position:absolute;
	font-size:60px;
	color:#fff;
	font-weight:bold;
	text-shadow: 1px 1px 1px #000;
	background:transparent url('../images/spacer_trans.gif') 0 0 repeat;
}

a.photoPreviousOverlay,
.photoPreviousArrow {
	left:0;
}

a.photoNextOverlay,
.photoNextArrow {
	right:0;
}

.photoPreviousArrow,
.photoNextArrow {
    display:none;
    position:absolute;
    top:50%;
    width:20px;
    height:40px;
}

.photoPreviousArrow {
    background-image:URL("../images/previousButtonOverlay.png");
}
.photoNextArrow {
    background-image:URL("../images/nextButtonOverlay.png");
}

div.photoPreviousArrow.hoverState {
    background-image:URL("../images/previousButtonOverlayHighlight.png");
    width:20px;
    height:40px;
}

div.photoNextArrow.hoverState {
    background-image:URL("../images/nextButtonOverlayHighlight.png");
    width:20px;
    height:40px;
}



/* Connections */

#connectionsHeader {
    display:block;
}

#connectionsMobileHeader {
    display:none;
}

.featuredStory {
	position:relative;
	padding:0;
	margin:0;
	overflow:hidden;
	max-height:400px;
}

.featuredStory a img {
	width:100%;
	min-width:100%;
	height:auto;
	padding:0;
	margin:0;
}

.featuredStoryTitle {
	position:absolute;
    left:0;
	bottom:0;
	padding:10px;
	background:rgba(0,0,0,0.6);
}

.featuredStoryTitle h1 {
    color: white;
    text-shadow:1px 1px 1px #000;
    text-decoration:none;
}

.featuredStoryTitle H3,
.connectionsOtherArticles H4 a {
    color:#fff;
    text-shadow:1px 1px 1px #000;
    text-decoration:none;
}

li.otherArticles {
	position:relative;
}

.connectionsOtherArticles {
	position:relative;
	max-height:190px;
	margin-left:12px;
	overflow:hidden;
}

.connectionsOtherArticles H4 {
	display:block;
	position:absolute;
	width:100%;
	bottom:0;
	left:0;
	margin:0;
	padding:10px;
	background:rgba(0,0,0,0.6);
}

.connectionsOtherArticles H3 a,
.connectionsOtherArticles H3 a:hover {
	color:#fff;
}

.connectionsOtherArticles img {
	width:100%;
	height:auto;
	max-height:
}

.connectionsSeparator {
  display: block;
  float: left;
  width: 100%;
  height: 4px;
  background: #000000;
  margin: 15px 0 15px 0;
  clear: both;
}


/* Sidebar */

.sidebarTitle {
	font-size:1.2rem;
	margin: 15px 0 10px 0;
  	padding: 4px 0 4px 4px;
  	background: #dee8f3;
  	border-top: 1px solid #99b1d7;
}

.sidebarText {
	font-size:.8rem;
}

.sidebarText img {
	width:100%;
	height:auto;
}

.asideConnections h4 a i {
	font-size: 1.2em;
	margin-top: 0.1em;
}

/* Pages with archives */

#ArchiveYears {
    margin-bottom:15px;
    padding:0;
}

#ArchiveYears h6,
#CategoryLinks h6 {
    display: inline;
    color:#999;
}

#ArchiveYears h6 a {
    margin: 0 8px 0 8px;
}

#ArchiveYears h6:first-child a {
    margin-left: 0px;
}

#ArchiveYears.video,
#ArchiveYears.photoSeries {
    height: 40px;
}

#ArchiveYears.video #YearLinks,
#ArchiveYears.photoSeries #YearLinks {
	width:auto;
	float:left;
	margin: 0 6px 0 0;
	padding: 7px 8px 7px 16px;
	background:#eee;
}

@media screen and (max-width: 460px) {
	#ArchiveYears #YearLinks {
		width: 100% !important;
		float: none !important;
	}
	#Form_PhotoSeriesYearsForm_Year_Holder,
	#Form_VideoYearsForm_Year_Holder {
		margin-top: 4px;
		max-width: 100%;
	}
	#ArchiveYears {
		height: auto !important;
	}
}


/* Pagination */

.currentPage,
.pageNum {
  padding-top: 0.5rem;
  padding-right: 1rem;
  padding-bottom: 0.5625rem;
  padding-left: 1rem;
}

a.meaButton,
a.allStaff,
a.allConnectionsArticles,
a.photoAllGalleries,
a.photoNextPrevious,
a.pagerNextPrevious,
a.pageNum,
a.pageNextPrev {
    display:inline;
    background: #2a5aaa;
    color:#fff;
    border: 1px solid #CCC;
    margin:0;
    padding: 6px;
    text-transform:uppercase;
    text-decoration:none;
    text-wrap:none;
}

a.photoAllGalleries {
    vertical-align:middle;
}

a.allStaff:hover,
a.photoAllGalleries:hover,
a.photoNextPrevious:hover,
a.pagerNextPrevious:hover,
a.pageNum:hover,
a.pageNextPrev:hover {
    color:#fff;
}

#paginator {
    display:block;
    float:left;
    width:100%;
    line-height:32px;
    padding-top:10px;
    padding-bottom:20px;
    clear:both;
}


/* Footer */

.footer {
	margin-top:20px;
	padding-top:20px;
	padding-bottom:20px;
	background:#0059a9;
}

.footer H4,
.footer H5,
.footer,
.footer a {
	color:#fff;
}

.smallText {
	font-size:.8rem;
	font-weight:normal;
}

.mobile {
	display:none;
}

/* Connections slideshow viewer */
div#mygalone {
    width:100%;
}
div#mygalone.stripViewer  {
    width:580px;
    height:400px;
}
div#mygalone img {
    width:580px;
    height:400px;
}

@media only screen and (max-width: 48rem) {

.desktop {
	margin-top:0;
}

ul.title-area {
	width:55%;
}

.headerTitle {
	width:100%;
	margin:inherit;
	padding:0 10px 0 10px;
}

.headerMargin {
	margin-top:10px;
}

.top-bar-section li:not(.has-form) a:not(.button) {
	margin-right:0;
	padding-left:.5rem;
	padding-right:1.2rem !important;
	background:#008CBA;
}

.top-bar-section .has-dropdown>a:after {
	margin-right:.25rem;
}

.mainSliderText {
	padding:20px;
}

.connectionsOtherArticles {
	margin:0;
	margin-top:12px;
	padding:0;
}

.milestones {
	margin-bottom:12px;
	padding-bottom:12px;
	border-bottom:1px solid #ccc;
}

}


@media only screen and (max-width: 40rem) {

ul.title-area {
	width:100%;
}

nav.top-bar {
	height:4rem;
}

ul.title-area li.name {
	width:65%;
}
}


@media only screen and (max-width: 30rem) {

ul.title-area li.name {
	width:70%;
}

nav.top-bar {
	height:3.125rem;
}


/* Connections */

#connectionsHeader {
    display:none;
}

.connectionsArticlesSubtitle {
	display:none;
}

#connectionsMobileHeader {
    display:block;
}

.connectionsOtherArticles H4 {
	padding-left:20px;
}

.connectionsOtherArticles,
li.otherArticles {
	padding:0;
}

.quotes {
	margin-bottom:12px;
	padding-bottom:12px;
	border-bottom:1px solid #ccc;
}

.mobile {
	display:block;
}
}

/*  USER DEFINED FORM STYLE OVERRIDES */

.userform fieldset input,
.userform fieldset textarea {
  background: #FFF !important;
}

.userform select.dropdown {
    width: calc(100% - 15px) !important;
}

.userform .middleColumn input.checkbox + label,
.userform .middleColumn input.radio + label {
  margin: 2px 20px 0 0 !important;
}

.userform .optionset legend,
.userform .checkboxset legend {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  background: none !important;
}

.userform .optionset ul, .userform .checkboxset ul {
    padding: 10px 15px 0px 15px;
    overflow: hidden;
    float: none !important;
    margin: 0 !important;
}


/* USER DEFINED FORM */


/*.UserDefinedForm fieldset > fieldset {
  padding: 30px;
}*/

.UserDefinedForm form > fieldset {
  padding: 30px;
  background: #EFEFEF;
  margin-bottom: 15px;
}

.UserDefinedForm form fieldset .middleColumn input,
.UserDefinedForm form fieldset .middleColumn textarea {
  max-width: calc(100% - 10px) !important;
}

.UserDefinedForm .Actions .action {
  padding: 15px 20px;
  font-size: 1em;
  font-family: 'Droid Sans', sans-serif;
  font-weight: bolder;
}

.UserDefinedForm label {
  font-weight: 300 !important;
}

.UserDefinedForm form .field.city {
  width: 40%;
  margin-right: 3%;
  float: left;
}

.UserDefinedForm form .field.state {
  width: 20%;
  margin-right: 3%;
  float: left;
}

.UserDefinedForm form .field.zip {
  width: 34%;
  float: left;
}

.UserDefinedForm .city input,
.UserDefinedForm .state input,
.UserDefinedForm .zip input,
.UserDefinedForm .halfCol input  {
  width: 100%;
}


@media(min-width: 700px) {

  .UserDefinedForm form .field.halfCol {
    float: left;
    width: 48%;
  }
  .UserDefinedForm form .field.halfCol:nth-child(even) {
    margin-left: 2%;
  }

  .UserDefinedForm form .field.halfCol:nth-child(odd) {
    margin-right: 2%;
  }

}

.userform input[type="file"] {
    display: block;
    background: #DDD !important;
    width: auto !important;
    clear: both !important;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-family: "Roboto", Arial,sans-serif;
    color: rgba(0,0,0,0.75);
    line-height: normal;
    border-radius: 0;
}


.nav-social {
    width: 230px;
}
.nav-social.left {
    text-align: right;
}
.nav-social a {
    color: #FFF !important;
    font-size: 22px;
}
.nav-social a i {
    padding: 14px 5px 8px 5px;
}
.nav-social.footer a {
    font-size: 16px;
}
.nav-social.footer a i {
	padding: 2px;
}

.educator-socials a {
	font-size: 0.9em;
	padding: 0.1em;
}

.droparea .btn.btn-primary {
	padding: 0.25em 0.5em;
}

#EditProfileForm_TheEditProfileForm .url-field {
	display: flex;
	flex-wrap: wrap;
}

#EditProfileForm_TheEditProfileForm .url-field label.left {
	float: none !important;
	flex-grow: 1;
	width: 100%;
}

#EditProfileForm_TheEditProfileForm label.prefix {
	width: 200px !important;
}

@media screen and (max-width: 500px) {
	#EditProfileForm_TheEditProfileForm label.prefix {
		width: 100% !important;
		border: 0;
	}	
}

#EditProfileForm_TheEditProfileForm label.prefix + input {
	flex-grow: 1;
	width: auto !important;
}

.captionImage {
    max-width: 100%;
}

.captionImage .caption {
    padding: 0.6em 1em;
    background: #FAFAFA;
    font-size: 0.85em;
	width: 100%;
}

.embed .caption {
    font-size: 0.85em;
}

.captionImage .image {
	margin: 0 !important;
}

.captionImage.left,
img.left.ss-htmleditorfield-file.image,
.ss-htmleditorfield-file.embed.left {
    margin-right: 25px;
    margin-bottom: 0.8em;
}

.captionImage.right,
img.right.ss-htmleditorfield-file.image,
.ss-htmleditorfield-file.right {
    margin-left: 25px;
    margin-bottom: 0.8em;
}

.captionImage.left *,
.captionImage.right * {
	float: none !important;
}

.ss-htmleditorfield-file.embed {
	max-width: 100% !important;
}

.ss-htmleditorfield-file.embed iframe, .ss-htmleditorfield-file.embed object, .ss-htmleditorfield-file.embed embed, .ss-htmleditorfield-file.embed video {
	width: 100%;
	height: auto !important;
    aspect-ratio: 16 / 9;
}

@media screen and (max-width: 640px) {
	.ss-htmleditorfield-file.embed,
	.captionImage.left,
	.captionImage.right {
		float: none !important;
		max-width: 100%;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.captionImage.left img,
	.captionImage.right img {
		float: none !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.ss-htmleditorfield-file.embed iframe,
	.ss-htmleditorfield-file.embed object
	 .ss-htmleditorfield-file.embed embed,
	 .ss-htmleditorfield-file.embed video {
		width: 100%;
	}
	.ss-htmleditorfield-file.embed p.caption {
		/* position: absolute; */
		bottom: 0;
		left: 0;
		right: 0;
	}
}

.mb-0 {
	margin-bottom: 0;
}

.mb-1 {
	margin-bottom: 0.25em;
}

.mb-2 {
	margin-bottom: 0.5em;
}

.mb-3 {
	margin-bottom: 1em;
}

.mr-1 {
	margin-right: 0.25em;
}

.mr-2 {
	margin-right: 0.5em;
}

.mr-3 {
	margin-right: 1em;
}

/* @supports not (aspect-ratio: 1) {

} */