/* STYLES FOR HOME PAGE TEMPLATE */
.horizontal-line {
	background-color:#e4e2e1;
	height:2px;
}


/* START HEADER */
#relative-container {
	position:relative;
	top:543px;
	width:100%;
	background-color:#fff;
}

#hdr-bulletin {
	border:1px solid transparent;
	height:40px;
	padding-left:10px;
	background-color:#c62026;
	color:#fff;
	font-size:12px;
	font-weight:600;
	overflow:hidden;
}

#hdr-bulletin a {
	color:#fff;
	text-decoration:none;
	font-weight:200;
}

#splash-container {
	padding-top: 91px;
	height:493px;
}

.clone {
	position:fixed;
	top:0;
	width:100%;
	background-color:#fff;
	-webkit-box-shadow:0 10px 5px 0 rgba(0,0,0,.075);
	-moz-box-shadow:0 10px 5px 0 rgba(0,0,0,.075);
	box-shadow:0 10px 5px 0 rgba(0,0,0,.075);
	display:none;
	z-index:9999;
}

.clone nav {
	width:1200px;
	max-width:100%;
	margin:0 auto;
}

/* END HEADER */



/* START SPLASH STYLES */
#splash-headline {
	position:absolute;
	width:75%;
	height:250px;
	right:0;
	top:25%;
	padding:0;
}

#splash h1 {
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	width:50%;
	float:left;
	font-weight:600;
	font-style:italic;
	color:#fff;
	text-align:center;
	font-size:36px;
	text-shadow:1px 2px 3px #666;
	padding:20px;
}

#splash-logo {
/*
	position:absolute;
	left:55%;
	width:45%;
	margin-left:-22.5%;
	height:310px;
*/
	width:45%;
	margin:0 auto;
	height:310px;
	background:url(/img/site-images/splash-logo.png) center center no-repeat;
	background-size:contain;
/* 	margin-top:40px; */
}

/* END SPLASH STYLES */



/* START FLAG NAV STYLES */
#flag-nav-container {
	min-height:180px;
	background:url(/img/site-images/gray-shadow.png) repeat-x;
	background-color:#e4e2e1;
	padding-top:25px;
	margin-left:0;
	padding-left:0;
}

#flag-nav-container ul {
	margin-left:1em;
	margin-right:1em;
	padding-left:0;
}

#flag-nav-1-container,#flag-nav-2-container,#flag-nav-3-container {
	text-align:center;
	color:#fff;
	position:relative;
	background-color:#e4e2e1;
}

#flag-nav-1-container ul,#flag-nav-2-container ul,#flag-nav-3-container ul {
	height:131px;
	display:block;
	list-style:none;
	margin-left:0;
	margin-right:0;
/* 	padding-left:0; */
/*
	-webkit-margin-before:1em;
	-webkit-margin-after:1em;
	-webkit-margin-start:0;
	-webkit-margin-end:0;
	-webkit-padding-start:0;
*/
}

#flag-nav-1-container ul li,#flag-nav-2-container ul li,#flag-nav-3-container ul li {
	padding-top:25px;
	background:url(/img/site-images/bucket-bg.gif) repeat-x;
}

#flag-nav-1-container ul li:hover,#flag-nav-2-container ul li:hover,#flag-nav-3-container ul li:hover {
	cursor:pointer;
}

#flag-nav-1-container ul li ul li:hover,#flag-nav-2-container ul li ul li:hover,#flag-nav-3-container ul li ul li:hover {
	cursor:pointer;
	background-color:#c71b0a!important;
}

#flag-nav-1-container ul li ul,#flag-nav-2-container ul li ul,#flag-nav-3-container ul li ul {
	height:auto;
	display:none;
	margin-bottom:0;
}

#flag-nav-1-container ul li ul li,#flag-nav-2-container ul li ul li,#flag-nav-3-container ul li ul li {
	height:auto;
	padding-bottom:10px;
	padding-top:10px;
	background:#000;
}

#flag-nav-1-container ul li ul li:hover,#flag-nav-2-container ul li ul li:hover,#flag-nav-3-container ul li ul li:hover {
	background-color:#c71b0a!important;
}

#flag-nav-1-container ul li:last-of-type,#flag-nav-2-container ul li:last-of-type,#flag-nav-3-container ul li:last-of-type {
	height:64px;
}

#flag-nav-1-container ul li:last-of-type {
	background:url(/img/site-images/bucket-btm-bg-1.png) no-repeat;
	background-size:contain;
}

#flag-nav-2-container ul li:last-of-type {
	background:url(/img/site-images/bucket-btm-bg-2.png) no-repeat;
	background-size:contain;
}

#flag-nav-3-container ul li:last-of-type {
	background:url(/img/site-images/bucket-btm-bg-3.png) no-repeat;
	background-size:contain;
}

#flag-nav-1-container ul li ul li:last-of-type,#flag-nav-2-container ul li ul li:last-of-type,#flag-nav-3-container ul li ul li:last-of-type {
	background:#000;
	height:auto;
}

#flag-nav-container a {
	-webkit-font-smoothing:none;
	text-decoration:none;
	color:#fff;
}

.bucket-hdr {
	font-weight:700;
}

/* END FLAG NAV STYLES */



/* START HOT TOPICS SLIDER STYLES */
#hot-topics {
	background-color:#e4e2e1;
	margin:0;
	padding:0;
	width:100%;
	float:left;
	clear:both;
}
.newslider div {
	padding: 0 2px 0 0;
	margin-right:10px;
	margin-left: 10px;

}
.newslider div img {
	width:100%;
	max-width: 100%;
}
.newslider div a {
	text-decoration:none;
}

.newslider div p {
	margin-top:0;
}
.newslider button {
	height:10px;
	width:10px;
}
.slider-caption {
	width:96%;
	padding:2%;
	left:0;
	bottom:0;
	background-color:#c71b0a;
	color:#fff;
	text-shadow:0 -1px 0 rgba(0,0,0,.3);
	font-size:14px;
}





/*
.flexslider {
	z-index:1;
}
*/
/* END HOT TOPICS SLIDER STYLES */



/* START MAYOR SECTION */
#mayors-message {
	background:url(/img/site-images/phila-logo-grayed.gif) #fff center center no-repeat;
	background-size:cover;
	min-height:200px;
	width:100%;
	clear:both;
}

.mayors-message-link {
	width:100%;
	margin:25px auto;
	background:url(/img/site-images/right-arrow.png) center left #c71b0a no-repeat;
	text-indent:38px;
	font-size:26pt;
	display:block;
	clear:both;
	color:#fff;
	text-decoration:none;
	height:58px;
	line-height:58px;
	overflow:hidden;
}

.mayors-message-links-small {
	text-decoration:none;
	font-weight:600;
	color:#c71b0a;
	font-size:16px;
}

.mayors-message-links-small img {
	clear:both;
	float:left;
	margin-right:10px;
}

.mayors-message-links-small span {
	float:left;
	display:block;
	line-height:20px;
}

/* END MAYOR SECTION */



/* START COMMUNITY SECTION */
#tour-community-container {
	background:url(/img/site-images/tour-container-bg.jpg)center right no-repeat;
	background-size:cover;
	min-height:331px;
}

.community-links {
	list-style:none;
}

.community-links li {
	color:#fff;
	font-size:24px;
	line-height:36px;
}

.community-links li:before {
	content:"\25BA";
	color:#c71b0a;
	margin-left:-35px;
	margin-right:10px;
}

.community-links li a {
	text-decoration:none;
	color:#fff;
}

/* END COMMUNITY SECTION */



/* START FUN FACT SECTION */
#fun-fact {
	background-color:#c71b0a;
	width:95%;
	margin:20px auto;
	height:325px;
}

#fun-fact h2 {
	color:#fff;
	margin:10px 10px 10px 0;
}

#fun-fact img {
	margin-bottom:15px;
}

#fun-fact h3 {
	color:#fff;
	margin-top:0;
	margin-bottom:5px;
}

#fun-fact p {
	color:#fff;
	margin:0;
	padding:5px 0;
	font-size:18px;
}
/* END FUN FACT SECTION */



/* START FACEBOOK FEED SECTION */
#feeds-container {
	background:url(/img/site-images/feed-container-bg.jpg)center center no-repeat;
	background-size:cover;
	min-height:390px;
	padding-bottom:45px;
}

#facebook-feed {
/* 	background-color:#fff; */
	margin:20px auto;
	height:325px;
	width:95%;
}
/* END FACEBOOK FEED SECTION */


#footer-container {
	background-color:#bfbfbf;
	margin-top:-70px;
}



/* MOBILE STYLES */
@media screen and (max-width: 767px) {
	/* START FLAG NAV STYLES */
	#flag-nav-1-container,#flag-nav-2-container,#flag-nav-3-container {
		min-height:10px;
	}
	
	#flag-nav-1-container ul,#flag-nav-2-container ul,#flag-nav-3-container ul {
		height:auto;
	}
	
	#flag-nav-1-container ul li:last-of-type,#flag-nav-2-container ul li:last-of-type,#flag-nav-3-container ul li:last-of-type {
		height:0;
	}
	
	#flag-nav-1-container ul li:last-of-type,#flag-nav-2-container ul li:last-of-type,#flag-nav-3-container ul li:last-of-type {
		background:none;
	}
	
	.bucket-hdr,.bucket-sub li:last-of-type {
		padding-bottom:16px;
	}
	/* END FLAG NAV STYLES */
	
}
/* END MOBILE STYLES */





/* MOBILE AND TABLET STYLES */
@media screen and (max-width: 1024px) {
	/* START SPLASH STYLES */
	#splash-headline {
		position:absolute;
		width:100%;
		height:auto;
		display:block;
		left:0;
		right:0;
		top:0;
		padding-bottom:0;
	}
	
	#splash h1 {
		position:relative;
		top:0;
		width:85%;
		float:center;
		font-weight:600;
		font-style:italic;
		color:#fff;
		text-align:left;
		font-size:36px;
		text-shadow:1px 2px 3px #666;
		margin:0;
		margin-top:100px;
		background-color:rgba(0,0,0,.15);
	}
	
	#splash-logo {
		clear:both;
		position:relative;
		margin:0 auto;
		width:75%;
		max-width:220px;
		padding:25px;
		padding:0;
		left:0;
		vertical-align:middle;
		background:url(/img/site-images/splash-logo.png) center center no-repeat;
		background-size:contain;
	}
	/* END SPLASH STYLES */
}
/* END MOBILE AND TABLET STYLES */