
.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;
}

/* 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: 32px;
}

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


/* 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;
}
}
