/*
Theme Name: YMCA Leadership Theme
Theme URI: http://ymcaleadership.com
Description: A WordPress theme for the YMCA Leadership website.
Version: 1.0
*/

a img, :link img, :visited img {

	border: none;
	padding: 0px;
	margin: 0px;

	}

html {
	padding:0;
    margin:0;
    width:100%;
	height:100%;
}

body{
    padding:0;
    margin:0;
    width:100%;
	height:100%;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 200;
	overflow-x: hidden;

	/* going to use box shadow instead
	background-image: url('images/background-width-gradient.png');
	background-position: center;
	background-repeat: repeat-y;
	*/
}


h1 {
	font-size: 24px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4, h5, h6 {
	font-size: 14px;
}

#page-top-gradient {
	position: relative;
/* bawb: removing this
background-image:url('images/page-top-gradient.png');
background-repeat:repeat-x;
height: 100%;*/
}

#page-wrapper {
	margin: 0 auto 0;
	max-width: 1100px;
	position: relative;

	overflow: hidden;
	border-radius: 0 0 15px 15px;

	-webkit-box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.6);
	-ms-box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.6);
	box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.6);
}

#section {
	padding: 32px 6%;
}

.slideshow-nav {
	display: none;
}

.portfolio-slideshow {
	margin: 0 !important;
}

.slideshow-content {
	margin: 0 !important;
	font-size: 0;
}

.slideshow-content img {
	width: 100%!important;
	height: auto!important;
}

#header-container {
overflow: hidden;
width: 100%;
margin: 0 auto;
}

#header-wrapper {
overflow: hidden;
}

#header{
width:100%;
position: relative;
top: 0px;
overflow:hidden;
}

#y-logo-header {
	display: block;
	position: absolute;
	bottom: 63px;
	left: 0;
	margin: 2%;
	z-index: 3;
	width: 25%;
	max-width: 100px;
	height: auto;
}

#y-logo-header > img {
	width: 100%;
	height: auto;
	transition: opacity 0.5s cubic-bezier(0,0,0,1);
	-webkit-transition: opacity 0.5s cubic-bezier(0,0,0,1);
	-moz-transition: opacity 0.5s cubic-bezier(0,0,0,1);
	-ms-transition: opacity 0.5s cubic-bezier(0,0,0,1);
	-o-transition: opacity 0.5s cubic-bezier(0,0,0,1);
}

#y-logo-header .logo-in {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#y-logo-header:hover .logo-in {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#y-logo-header:hover .logo-out {
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#separation-line {
	background: #1c3839;
	border-color: #274d4e;
	border-style: solid;
	border-width:0 0 2px 0;
	height: 2px;
	width: 100%;
	position: absolute;
	bottom: 0;
}


div.marquee {
	width: 100%;
	position: relative;
	top: -10px;	
}

.top-rounded-corners,
.bottom-rounded-corners {
	position: absolute;
	left: 0;
	width: 100%;
}

.top-rounded-corners img,
.bottom-rounded-corners img {
	width: 100%;
}

.top-rounded-corners { top: -11px; }
.bottom-rounded-corners { bottom: -11px; }

#container {
	position: relative;
	background: #fff;
	overflow: auto;
  	width: 100%;
  	padding: 0;
  	margin: 0;
  	z-index: 1;
}

.push {
	height: 4em;	
}

/* ~~ The footer ~~ */
#footer-wrapper {

}

#footer {
	color: #fff;
}

#footer-links {
	margin-left: -10px;
}

#footer-links a {
	margin: 0 10px;
}

.footer-container {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}

.footer {
	color: #fff;
}

a.footer {
	color: #fff;
	text-decoration: none;
}

a.footer:hover {
	text-decoration: underline;
}

.footer-navigation {
	
}


nav.navigation-primary-container {
	display: block;
	position: relative;
	width: 80%;
	height: 0;
	bottom: 0;
	overflow: visible;
}

.navigation-primary {
	position: absolute;
	left: -36px;
	margin-left: 6%;
	bottom: 0;
	z-index: 100;
	font-size: 0;
	white-space: nowrap;
}

.navigation-primary .first {
	position: relative;
	bottom: -16px;
	margin-right: -24px;
}

.navigation-primary a {
	position: relative;
	margin-right: -14px;
}


#sidebar {
	padding: 32px 0 0 0;
	color: #fff;
	list-style: none;
}

a.sidebar {
	display: block;
	margin: 0 0 5px 0;
	padding: 8px 10%;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	color:#fff;
	background-color: #aaa;
}

a.sidebar:hover {
	text-decoration: underline;
}

#sidebar .ig-b- {
	margin: 15px 0 15px 10%;
}

#sidebar img {
 	display:  block;
	margin: 15px 0 15px 10%;
}

#sidebar iframe {
	margin: 18px 0 15px 10px;
	vertical-align: top;
}

a.facebook-link {
	color: #fff;
	text-decoration:none;
}

#sidebar li {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
}

span.facebook {
}

img.facebook-button {
	padding: 3px 8px 10px 0;
	float: left;
}


.textwidget {
        color: #fff;
}

div.lightbox-button {
	padding-top: 10px; 
	font-size: small;
	font-weight: normal;
}



div.left-column {
	width: 80%;
	padding: 0;
	margin: 0 0 0;
	float: left;
	overflow: hidden;
}

div.right-column {
	background: #b3b3b3;
	width: 20%;
	float: left;
	overflow: hidden;
}

/* this gets the column background to 100% height */
div.right-column::before {
	content: '';
	display: block;
	background-color: #b3b3b3;
	height: 100%;
	width: 20%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

.navigation-secondary {
	margin: -20px 0 30px -14px;
	padding-right: 5px;
	position: relative;
	overflow: visible;
}

.mobile-nav-arrow {
	display: block;
	position: absolute;
	top: 0;
	font-size: 16px;
	font-weight: 600;
}

.navigation-secondary .menu {
	padding: 0;
	margin: 0;
	white-space: nowrap;
}

.navigation-secondary .menu li {
	list-style: none;
	display: inline;
	display: inline-block;
	position: relative;
	z-index: 1;
}

.navigation-secondary .menu li:hover {
	z-index: 0;
}

.navigation-secondary .menu li,
.navigation-secondary .menu li a,
.navigation-secondary .menu li .spacer,
.navigation-secondary .menu .spacer-begin,
.navigation-secondary .menu .spacer-end {
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	vertical-align: top;
	height: 31px;
	width: auto;
}

.navigation-secondary .menu li a {
	text-decoration: none;
	font-size: 14px;
	color: #fff;
	padding: 0 14px;
	line-height: 31px;
	font-weight: 600;
}

.navigation-secondary .menu li .spacer {
	position: absolute;
	right: -12px;
	top: 0;
	width: auto;
}

.navigation-secondary .menu .spacer-begin {
	position: relative;
	right: -12px;
	margin-left: -34px;
	z-index: 2;
	width: auto;
}

.navigation-secondary .menu .spacer-end {
	position: relative;
	left: -12px;
	z-index: 2;
}

.submenu-text {
	padding:0 0 0 0;	
}

.entry-content img {
	max-width: 100%;
	height: auto;
}



div.y-logo {
	float: right;
	margin-top: -5px;
}

.slideshow-wrapper {
	margin: 0 !important;
	height: 0;
	padding-bottom: 34.54%; /* h/w ratio of header area */
	overflow: visible;
}

span.submenu {
	background: #2c595a;
}

#footer-wrapper {
	padding: 20px 6%;
}

div.no-menu-push{
background: yellow;
position: relative;
top: 0px;
}








/* BEGIN SPECIFIC PAGE TEMPLATE STYLES */



/* DEFAULT */
body {
	background-color: #006a6b;
}

h1.entry-title,
h2.entry-title {
	color: #006a6b;
}

.navigation-secondary a {
	background-color: #33aa95; /* was #4e8f90 */
}

.navigation-secondary a:hover {
	background-color: #006a6b;
}

/* BOYS */
body.page-template-boys-page-php {
	background-color: #0060af;
}

.page-template-boys-page-php .navigation-secondary a {
	background-color: #008acd;
}

.page-template-boys-page-php .navigation-secondary a:hover {
	background-color: #0062ac;
}

.page-template-boys-page-php h1.entry-title,
.page-template-boys-page-php h2.entry-title {
	color: #005fae;
}



/* GIRLS */
body.page-template-girls-page-php {
	background-color: #91278f;
}

.page-template-girls-page-php .navigation-secondary a {
	background-color: #a72387;
}

.page-template-girls-page-php .navigation-secondary a:hover {
	background-color: #902c8d;
}

.page-template-girls-page-php h1.entry-title,
.page-template-girls-page-php h2.entry-title {
	color: #91278f;
}



/* COED */
body.page-template-coed-page-php {
	background-color: #a92b31;
}

.page-template-coed-page-php .navigation-secondary a {
	background-color: #f15922;
}

.page-template-coed-page-php .navigation-secondary a:hover {
	background-color: #a82b30;
}

.page-template-coed-page-php h1.entry-title,
.page-template-coed-page-php h2.entry-title {
	color: #a92b31;
}

/* END SPECIFIC PAGE TEMPLATE STYLES */



/* TABLET STYLING */
@media screen and (max-width: 801px) {

	#y-logo-header {
		bottom: 37px;
	}

	.navigation-primary .first {
		display: block;
		position: relative;
		bottom: -136px;
	}

	.navigation-primary .first::after {
		content: '';
		display: block;
		position: absolute;
		top: 8%;
		left: 0;
		height: 91%;
		width: 6%;
		background-color: #006a6b;
	}

	.page-template-boys-page-php .navigation-primary .first::after {
		background-color: #005eae;
	}

	.page-template-girls-page-php .navigation-primary .first::after {
		background-color: #91268e;
	}

	.page-template-coed-page-php .navigation-primary .first::after {
		background-color: #a82b31;
	}

	.navigation-primary .first img {
		max-width: 100%;
	}

	.navigation-secondary {
		border-radius: 0 10px 10px 10px;
		overflow: hidden;
		padding: 15px 25px;
	}

	.navigation-secondary {
		background-color: #4e8f90;
	}

	.page-template-boys-page-php .navigation-secondary {
		background-color: #0688cc;
	}

	.page-template-girls-page-php .navigation-secondary {
		background-color: #a72387;
	}

	.page-template-coed-page-php .navigation-secondary {
		background-color: #f15922;
	}

	.navigation-secondary .menu {
		white-space: normal;
	}

	.navigation-secondary .menu li a {
		padding: 0;
		background-color: transparent;
	}

	.navigation-secondary .menu li:hover a {
		background-color: transparent;
		text-decoration: underline;
	}

	.navigation-secondary .menu li:not(:last-of-type) a:after {
		content: '|';
		opacity: 0.5;
		padding: 0 10px 0 8px;
	}

	.navigation-secondary .menu li .spacer,
	.navigation-secondary .menu .spacer-begin,
	.navigation-secondary .menu .spacer-end {
		display: none;
	}

	div.left-column {
		float: none;
		width: 100%;
	}

	#section {
		overflow: hidden;
		padding-top: 110px;
		padding-right: 6%;
	}

	div.right-column {
		float: none;
		width: 100%;
	}

	div.right-column::before {
		display: none;
	}

	#sidebar img {
		margin-bottom: 0;
		padding-bottom: 25px;
	}

	a.sidebar {
		padding-left: 5%;
	}

	#sidebar .ig-b-,
	#sidebar img,
	#sidebar iframe {
		margin-left: 5%;	
	}
	
}

@media screen and (max-width: 575px) {
	form.fn-form {
		max-width: 90%;
	}

	form.fm-form fieldset {
		border: 0;
		padding: 0;
		max-width: 100%;
		min-width: 300px;
	}

	form.fm-form fieldset ul {
		margin: 0;
		padding: 0;
		max-width: 100%;
	}

	form table td {
		display: block;
		max-width: 80%;
	}

	form table td  input {
		max-width: 100%;
	}
}

@media screen and (max-width: 479px) {

	
}