



.stratford-dma-page #header {
    background: var(--blue);
}

.page-template-template-market #branding .blog-title {
    color: #FFF;
}

.grecaptcha-badge { 
    visibility: hidden; 
}
.recaptcha-notice {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.2;
    color: #777;
    margin: 1.5rem 0 0;
}

#content {
    padding: 1.5rem 0 0;
}
.entry-content {
    padding: 0 0 1.2rem;
}
.entry-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}
.entry-content p:last-of-type {
    margin-bottom: 0;
}

#branding img {
	width: auto;
	height: 50px;
	padding: 10px 0;
}
/* #branding span {
	display: grid;
	grid-template-columns: 60px auto;
	grid-template-rows: auto;
	text-decoration: none;
	color: #FFFFFF;
    align-items: center;
} */
#branding span div p {
	font-size: 0.9rem;
    line-height: 1.2;
    color: #FFF;
}
#branding span div p:first-of-type {
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
}

/* Shade */
#nobel_slideshow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient( to bottom, rgba(0,0,0, 0.0), rgba(0,0,0, 0.4) );
    z-index: 20;
}

#slideshow_content a.stratford-button {
    display: none;
}
.stratford-button.red {
    margin: 0 auto 1rem;
}
.mobile-cta {
    display: block;
    text-align: center;
}

.map-container {
    display: none;
}

/* Campus list */
.market-schools {
    margin: 0 0 1.2rem;
}
.campus {
    position: relative;
    display: grid;
    grid-template-columns: 36% auto;
    grid-gap: 1rem;
    font-size: 16px;
    border: 1px solid var(--ltgrey);
    padding: 8px;
    margin: 0 0 8px;
}
.campus .image {
    display: flex;
    align-items: center;
}

.campus .image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.campus .info {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.campus .info h3 {
    font-size: 1em;
    font-weight: bold;
    color: var(--blue);
}
.campus .info h3 a {
    font-weight: bold;
    color: var(--blue);
}
.campus .info p {
    font-size: 0.8em;
    line-height: 1.4;
}
.campus .info p.address {
    font-size: 0.8em;
}
.campus .info .blue {
    font-weight: bold;
    color: var(--blue);
    background: transparent;
}
.campus .info .stratford-button {
    margin: 5px 0 0;
    font-size: 0.8em;
    padding: 0.2rem 1rem;
    max-width: 160px;
}

.campus .map-marker {
    display: none;
}

div.school-bubble div.school-bubble-link a {
    margin: 0 0 0 0 !important;
}

/* Form Styles */
.errors {
    background: var(--red);
	color: #FFF;
	line-height: 3rem;
	margin: 1rem auto;
	text-align: center;
    max-width: 420px;
}
.stratford-forms .error {
	border: 1px solid var(--red);
}

.market-form .wrap {
    padding: 2rem 1.5rem;
    background: var(--ltgrey);
    box-sizing: border-box;
}
.market-form p:not(.errors) {
    color: var(--red);
    margin: 0 0 2rem;
    line-height: 1.5;
}

.stratford-forms input,
.stratford-forms select {
    display: block;
    width: 100%;
	height: 36px;
    padding: 0 10px;
    margin: 4px 0 12px;
	border: none;
	background: #FFF;
	font-size: 0.9rem;
	color: #000;
    appearance: none;
	-moz-appearance: none; /* Firefox */
	-webkit-appearance: none; /* Safari and Chrome */
	-ms-appearance: none;
/* 	Sizing fix */
	-webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.stratford-forms input[type="submit"] {
    max-width: 260px;
    background: var(--blue);
    color: #FFF;
    margin: 32px auto 0;
    text-transform: uppercase;
}

.stratford-forms select {
    background: #FFF url('../images/market-form-arrow.png') no-repeat;
    background-position: 100% 55%;
    background-size: 36px 36px;
}


.stratford-forms label i {
    color: var(--blue);
    font-style: normal;
}

.stratford-forms .half {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.stratford-forms .half > * {
    width: 100%;
}


/* Tablet */
@media only screen and ( min-width: 768px ) {
    
    #branding span div p {
    	font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .market-form .wrap {
        padding: 2rem 5rem;
    }
    
    .campus {
        font-size: 20px;
    }
    
    .entry-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
}


/* Desktop */
@media only screen and ( min-width: 1024px ) {
    
    #slideshow_content a.stratford-button {
        display: inline-block;
    }
    .mobile-cta {
        display: none;
    }
    
    .entry-content {
        padding: 0 0 2rem;
    }
    .entry-content p {
        font-size: 1.1em;
    }
    
    .stratford-forms .half > * {
		width: 49%;
	}
    
    .map-container {
        position: relative;
        display: block;
        margin: 0 0 2rem;
    }
    .map-container h4 {
        text-align: center;
        color: #FFF;
        font-size: 1.1rem;
        padding: 6px 0;
        background: var(--red);
    }
    .map-container h4 i {
        font-size: 1.5em;
        margin-left: 6px;
        vertical-align: sub;
    }
    
    #map_wrap {
        height: 380px;
        position: relative;
    }
    #map_wrap.hide {
        position: absolute;
        left: -600px;
    }
    #map {
        height: 100%;
    }
    
    
    .market-schools {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem 3rem;
    }
    .campus {
        grid-template-columns: 33% 24px auto;
        grid-gap: 0.8rem;
        font-size: 20px;
        margin: 0 0 0;
    }
    .campus .info h3 {
        margin: 0 0 4px;
    }
    
    .campus .map-marker {
        display: block;
    }
    .campus .map-marker img {
        width: 100%;
    }
    
    div.school-bubble {
    	width: 275px;
    	height: 80px;
    }
    div.school-bubble a {
    	text-decoration: none;
    }
    div.school-bubble a h3  {
    	font-weight: 500;
    	color: #003865;
    	margin: 0 0 5px 0;
    	padding: 0 0 2px 0;
    	border-bottom: 1px solid rgba(0,0,0, 0.1);
    	line-height: 1.2;
    	font-size: 1.4em;
    }
    div.school-bubble p {
    	line-height: 1.2;
    }
    div.school-bubble div.school-bubble-info {
    	float: left;
    }
    div.school-bubble div.school-bubble-link {
    	float: right;
    }
    div.school-bubble div.school-bubble-link p.market-contact-link {
    	display: none;
    }
    div.school-bubble div.school-bubble-link a {
    	display: block;
    	background: #003865;
    	color: #FFFFFF;
    	padding: 5px 8px;
    	margin: 8px 0 0 0;
    	border-radius: 4px;	
    }
    
    /* HACK */
    .gm-style > div > div:nth-of-type(4) > div:nth-of-type(4) > div > div > div:nth-of-type(1) {
    	display: none;
    }
    .gm-style > div > div:nth-of-type(4) > div:nth-of-type(4) > div > div > div:nth-of-type(3) {
    	display: none !important;
    }
    .gm-style > div > div:nth-of-type(4) > div:nth-of-type(4) > div > div > div:nth-of-type(4) {
    	border: 2px solid #0099CC;
    }
    .gm-style .gm-style-iw-t {
    	bottom: 40px!important;
    }
}

a.dma-camp-link {
    color: var(--red);
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 5px 0;
}

@media screen and ( min-width: 768px ){
    a.dma-camp-link {
        font-size: 16px;
    }    
}