/*
Theme Name: EasternPAFootball 2018
Theme URI: https://easternpafootball.com
Author: Ed Weaver, Circle W Sports
Author URI: http://www.circlewsports.com
Description: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: epafootball2018

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/***** LAYOUT STYLES *****/
#advertising-blank250 {
	display: block;
	position: static;
	width: 100%;
	height: 200px;
	background: #000;
}

#advertising-blank400 {
	display: block;
	position: static;
	width: 100%;
	height: 195px;
	background: #000;
}

html, body {
	height: 100%;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
}

html, body {
	font-size: 100%;
}

body {
	background: #fff;
}

a:link, a:active, a:visited {
	color: #800000;
	text-decoration: underline;
}

a:hover {
	color: #c60;
	text-decoration: underline;
}

.row {
	background: #fff;
}

.row.nobg {
	background: none;
}

.alignright {
  float: right;
}

.off-canvas-list li a, .off-canvas-submenu li a {
	text-decoration: none;	
}

.off-canvas-submenu li {
	list-style-type: none;
}

.tab-bar-large {
	display: block;
	background-color: #800000;
	height: 100px;
}

.tab-bar {
	display: block;
	background-color: #800000;
}

.addthis_inline_share_toolbox {
  margin-top: 10px;
}

#header {
	background-image: url(img/layout/headerv4.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 300px;
}

#header-title {
	display: none;
}

/*#logo {
    float: left;
	margin-left: 20px;
}

#logo img {
	width: 150px;
	height: 93px;
}*/

.navbuttons {
	background-color: #800000;
	height: 50px; /*70px;*/
}

.top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {
	border-right: 1px solid #ccc;	
}

.top-bar-section ul.left, .top-bar-section ul.right {
	margin-top: 2.5px; /*12.5px;*/
}

.top-bar-section ul li, .top-bar-section li:not(.has-form) a:not(.button) {
    background-color: #800000;
}

.navbuttons li {
	list-style-type: none;
}

.navbuttons a:link, .navbuttons a:active, .navbuttons a:visited, .navbuttons a:hover {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}

#social a:link, #social a:active, #social a:visited, #social a:hover {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}

#social a:hover {
	color: #fff;
	background: none;
	text-decoration: none;
}

#ads-row1 div {
	text-align: center;
}

#ads-row2 div.align-right {
	text-align: right;
}

#ads-side1 div {
	text-align: right;
	margin-right: 0;
}

#footer {
	background-color: #800000;
	color: #e5e5e5;
}

#footer ul li {
	margin-left: -15px;
	margin-bottom: 15px;
	list-style-type: none;
}

#footer a:link, #footer a:active, #footer a:visited {
	color: #e5e5e5;
	text-decoration: none;
}

#footer a:hover {
	color: #e5e5e5;
	text-decoration: underline;
}

/*#footer img {
	margin-top: -12px;
	margin-right: 15px;
	width: 208px;
	height: 50px;
}*/

#footer-logo img {
	width: 100%;
	height: 100%;
}

h4.footer-header {
	font-family: "Nunito Sans", sans-serif;
    font-size: 22px;
  	font-weight: bold;
  	font-stretch: condensed;
	color: gold;
  	/*color: #d2ac67;*/
}

.cws-branding p {
	color: #fff;
}

.cws-branding p a:link, .cws-branding p a:active, .cws-branding p a:visited {
	color: #fff;
	text-decoration: none;
}

.cws-branding p a:hover {
	color: #fff;
	text-decoration: underline;
}

#sub-footer {
	color: #fff;
	background-color: #222;
}

#sub-footer .right {
	color: #fff;
	text-align: right;
}

#sub-footer-under p {
	color: #fff;
	font-size: 12px;
	text-align: center;
}

#sub-footer-under p a {
	padding: 0px 10px;
}

#sub-footer-under p a:link, #sub-footer-under p a:active, #sub-footer-under p a:visited {
	color: #fff;
	text-decoration: none;
}

#sub-footer-under p a:hover {
	color: #c60;
	text-decoration: none;
}

/***** BREAKING NEWS STYLES *****/
#breaking-news {
	display: block;
	position: static;
	margin-left: 0px;
	margin-right: 0px;
}

#breaking-news-left {
	display: block;
	position: static;
	background: url("img/layout/red-stripe.png") repeat;
	height: 77px;
}

#breaking-news-left h2 {
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	line-height: 30px;
}

#breaking-news-right {
	display: block;
	position: static;
	height: 77px;
	background: #fff; /* Old browsers */
	background: -moz-linear-gradient(top,  #fff 0%, #e5e5e5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fff 0%,#e5e5e5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fff 0%,#e5e5e5 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fff 0%,#e5e5e5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

#breaking-news-right h4 {
	padding-top: 0px;
}

/***** HOME NEWS STYLES *****/
#headline-rotator img {
	width: 100%;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
}

.headline-container {
	display: block;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.6);
    bottom: 0px;
	z-index: 1;
    color: #fff;
	padding: 10px 15px;
    position: absolute;
	overflow: hidden;
}

.headline-container a:link, .headline-container a:active, .headline-container a:visited {
	text-decoration: none;
	color: #fff;
}

.headline-container a:hover {
	text-decoration: underline;
	color: #fff;
}

p.headline-title {
	color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 30px;
	line-height: 35px;
	font-weight: bold;
	margin: 0;
}

p.headline-title a:link, p.headline-title a:active, p.headline-title a:visited {
	color: #fff;
	text-decoration: none;
}

p.headline-title a:hover {
	color: #fff;
	text-decoration: underline;
}

span.headline-date {
	color: #fff;
	font-size: 13px;
	font-weight: normal;
}

p.sub-headline-title {
	color: #fff;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
}

p.sub-headline-title a:link, p.sub-headline-title a:active, p.sub-headline-title a:visited {
	color: #fff;
	text-decoration: none;
}

p.sub-headline-title a:hover {
	color: #fff;
	text-decoration: underline;
}

#recent-stories {
	width: 100%;
	min-height: 100%;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
  	background: #f2f2f2;
}

#recent-stories ul.tabs li.tab-title a {
	color: #800000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px; /*20px;*/
	font-weight: bold;
	text-decoration: none;
}

#recent-stories ul.tabs li.tab-title.active a {
	text-decoration: none;
}

#recent-stories .tabs dd > a, #recent-stories .tabs .tab-title > a {
	padding: 1em;
}

#recent-stories h3 {
	color: #800000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 24px;
	line-height: 28px;
	font-weight: bold;
	margin: 0;
	border-bottom: 1px solid #ccc;
	padding-bottom: 2.5px;
}

#recent-stories h3 span {
	border-bottom: 1px solid gold;
	padding-bottom: 2px;
}

#recent-stories .tabs-content section, #recent-stories .tabs-content div {
	background: #fff;
}

#recent-stories section ul {
	list-style-type: none;
	margin: 20px 0px;
}

#recent-stories section ul li {
	font-size: 13px;
	margin-bottom: 10px;
}

#recent-stories section p {
	font-size: 13px;
	color: #000;
}

#recent-stories section p a:link, #recent-stories section p a:active, #recent-stories section p a:visited {
	color: #000;
	text-decoration: underline;
}

/***** MAIN CONTENT STYLES *****/
#main-content h2, #gotw-content h2, .district-talk h2 {
	color: #000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 36px;
	line-height: 38px;
	font-weight: bold;
	margin: 0;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
}

/*#main-content h2 span, #gotw-content h2 span {
	border-bottom: 1px solid #800000;
	padding-bottom: 2px;
}*/

#main-content div.rankings h3 {
	color: #000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
	margin: 0;
	margin-bottom: 0.625em;
}

.rankings-holder {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
  	background: #f2f2f2;
	margin-top: 15px;
	margin-bottom: 15px;
}

.rankings-holder-inside {
	margin: 0px;
	padding: 10px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
}

#main-content div.rankings ol {
	margin-left: 1.0em;
	margin-bottom: 0;
}

#main-content div.rankings ol li {
	font-size: 14px;
	margin-bottom: 5px;
}

#main-content div.rankings p {
	font-size: 14px;
	margin-bottom: 5px;
}

.links-holder {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
  	background: #f2f2f2;
}

.links-holder-inside {
	margin: 0px;
	padding: 10px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
}

.links-holder-inside h3 {
	color: #000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 24px;
	line-height: 28px;
	font-weight: bold;
	margin: 0;
	margin-bottom: 0.625em;
}

.links-holder-inside ol {
	margin-left: 1.0em;
	margin-bottom: 0;
}

.links-holder-inside ol li {
	font-size: 14px;
	margin-bottom: 10px;
}

.links-holder-inside p {
	font-size: 14px;
	margin-bottom: 5px;
}

#social-inside {
	display: block;
	position: static;
	width: 100%;
	height: 50px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #fff;
}

.addthis_sharing_toolbox {
	margin-top: 8px;
}

#headlines h1 {
	color: #000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 40px;
	line-height: 40px;
	font-weight: bold;
	margin: 0;
}

#headlines h3 {
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
}

#headlines p.sub-title-text {
	font-style: italic;
	font-size: 13px;
	line-height: 15px;
	color: #666;
	margin-top: 10px;
}

#headlines p.sub-title-text a:link, #headlines p.sub-title-text a:active, #headlines p.sub-title-text a:visited {
	color: #666;
	text-decoration: none;
}

#headlines p.sub-title-text a:hover {
	color: #800000;
	text-decoration: underline;
}

#headlines .story-image {
	padding: 3px;
	border: 1px solid #e5e5e5;
}

.mini-headlines p {
	color: #333;
	font-size: 12px;
	font-weight: normal;
	margin-top: 5px;	
}

.mini-headlines p a:link, .mini-headlines p a:active, .mini-headlines p a:visited {
	color: #800000;
	text-decoration: underline;
}

.mini-headlines p a:hover {
	color: #c60;
	text-decoration: underline;
}

p.mini-headline-title {
	color: #800000;
	font-family: 'Slabo 13px', serif;
	font-size: 18px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: -5px;
}

p.mini-headline-title a:link, p.mini-headline-title a:active, p.mini-headline-title a:visited {
	color: #800000;
	text-decoration: none;
}

p.mini-headline-title a:hover {
	color: #c60;
	text-decoration: underline;
}

span.mini-headline-date {
	color: #333;
	font-size: 10px;
	font-weight: normal;
}

p.mini-headline-title2 {
	color: #800000;
	font-family: 'Slabo 13px', serif;
	font-size: 13px;
	font-weight: bold;
	margin: 10px 0 10px 0;
	padding-bottom: 10px;
	border-bottom: 1px dashed #ccc;
}

p.mini-headline-title2 a:link, p.mini-headline-title2 a:active, p.mini-headline-title2 a:visited {
	color: #800000;
	text-decoration: none;
}

p.mini-headline-title2 a:hover {
	color: #c60;
	text-decoration: underline;
}

.district-tag {
	display: inline;
	position: absolute;
	top: 0px;
	margin-right: 2px;
	padding: 5px;
	background: #eb1e00;
	color: #fff;
	font: 700 18px/18px Verdana, Geneva, sans-serif;
}

/***** TABLE STYLES *****/
.table-wrapper table {
	width: 100%;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

.table-wrapper th {
	background-color: #800000;
	color: #fff;
	font-size: 16px;
}

.table-wrapper th h2, #main-content .table-wrapper th h2 {
    color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.table-wrapper th h2.small {
    color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.table-wrapper table th, .table-wrapper table td {
	border: 1px solid #800000;
}

.table-wrapper th.align-center, .table-wrapper td.align-center {
	text-align: center;
}

/** **/
.fteamschedules {padding: 30px;}
.fteamschedules .ctitle h4 {font-size: 40px; font-weight: 700; color: #800000;}
.fteamschedules ul {padding: 0px; margin: 0px;}
.fteamschedules ul li {list-style: none;}
.fteamschedules .schedulesleft {float: left; width: 50%;}
.fteamschedules .rightimg {float: right; width: 50%; text-align: right;}
.fteamschedules .scheduletable {float: left; width: 100%; border: 1px solid #800000; margin-top: 30px;}
.fteamschedules .scheduletable ul {float: left; width: 100%; background-color: #FDE9C1;}
.fteamschedules .scheduletable ul:nth-child(odd) {background-color: #FDF0D7;}
.fteamschedules .scheduletable ul:nth-child(2) {background-color: #C4CADB;}
.fteamschedules .scheduletable ul li {float: left; padding: 7px 15px;}
.fteamschedules .scheduletable .tablehead {background-color: #800000 !important;}
.fteamschedules .scheduletable .tablehead li {color: #fff;}
.fteamschedules .scheduletable ul .col1 {width: 10%;}
.fteamschedules .scheduletable ul .col2 {width: 40%;}
.fteamschedules .scheduletable ul .col3 {width: 15%;}
.fteamschedules .scheduletable ul .col4 {width: 15%;}
.fteamschedules .scheduletable ul .col5 {width: 20%;}
.fteamschedules .mlable {display: none;}
.fteamschedules .denotepart {float: left; width: 100%; padding: 10px 0 0;}
.fteamschedules .denotepart span {display: block;}
.fteamschedules .denotepart .pdficon {background: url(https://www.easternpafootball.com/db/schedules/pdf_resources/pdf_icon.gif) no-repeat 0 0; width: 32px; height: 32px; display: inline-block;}
.fteamschedules .reportbottom {float: left; width: 100%; border-top: 1px solid #800000; padding-top: 15px;}

@media only screen and (max-width: 991px) {
	.fteamschedules .scheduletable ul .col3, .fteamschedules .scheduletable ul .col4 {width: 15%;}
}
@media only screen and (max-width: 767px) {
	.fteamschedules {padding: 30px 20px;}
	.fteamschedules .ctitle h4 {font-size: 30px;}
	/*.fteamschedules .scheduletable ul .col1 {width: 15%;}*/
	/*.fteamschedules .scheduletable ul .col2 {width: 85%;}*/
	/*.fteamschedules .scheduletable ul .col3, .fteamschedules .scheduletable ul .col4, .fteamschedules .scheduletable ul .col5 {width: 50%;}*/
	.fteamschedules .scheduletable ul .col4 {display: none;}
	.fteamschedules .mlable {display: block; font-size: 14px;}
	.fteamschedules .scheduletable .tablehead {display: none;}
	.fteamschedules .scheduletable ul li {width: 100% !important;}
}
@media only screen and (max-width: 479px) {
	.fteamschedules .schedulesleft {width: 100%;}
	.fteamschedules .rightimg {width: 100%; text-align: center; margin-top: 20px;}
}

/** **/

/***** Large Screens *****/
@media only screen and (min-width: 1824px) {
	#header {
		background-image: url(img/layout/headerv4.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		width: 100%;
		height: 525px;
	}
}

/***** Tablets *****/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	#header {
		height: 150px;
	}
}

/***** Smartphones *****/
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	#header {
		height: 85px;
	}
	
	#headlines h1 {
		font-size: 32px;
		line-height: 32px;
	}
	
	#recent-stories ul.tabs li.tab-title a {
		font-size: 16px;
	}
	
	.tabs dd > a, .tabs .tab-title > a {
		padding: 1rem;
	}
}

.elementor-post__title a:hover {
    color: #c60 !important;
    text-decoration: underline  !important;
}

.em-link:after {
    border: 0;
}