/* Denise Derderian*/
/* YMCA Cascading Style Sheet */



/*  This hides the icons in my footer
* {
  box-sizing: border-box;
}
*/


@media screen and (max-width:700px){
	nav,#intro{
		flex-direction: column;
	}
}


#intro{
	display:flex;
	align-items: center;  		/* aligns items in center of container - vertical   */
	justify-content: center;    /* aligns items in center of container - horizontal */
	flex-wrap: wrap;
}

#divLeft{
	flex: 25%;
	padding-left: 15px;
	text-align: center;

}
#divRight{
	flex: 25%;
	padding-right: 15px;
	text-align: center;
}

#divCenter{
	flex: 40%;
	font-size: 20px;
	padding-left: 15px;
	padding-right: 15px;

}

#adults, #seniors, #kids, #pTrainer{
	display:flex;
/*	align-items: center;  		/* aligns items in center of container - vertical   */  */
	justify-content: center;    /* aligns items in center of container - horizontal */
	flex-wrap: wrap;
}
#divAdult, #divSeniors, #divKids, #divPTrainer{
	flex: auto;
	padding-left: 50px;
}


#divAdult ul{
	list-style:none;
	margin-left:0;
	padding-left:0;
}


a.anchor{
	display: block;
	position: relative;
	top: -200px;      /* This will position the location to be placed below the header */
}
.programLogo:hover{
	opacity: .4;
}
.well{
	background: url("Assets/dumbell_50.gif") no-repeat 0 2px;  /*1st number shifts icon horizontal 2nd number shifts vertical  */
	padding-left: 55px;  /* set at least width of picture */
	line-height: 40px;
}
.grpClass{
	background: url("Assets/group-fitness_Y_colors_40x40.png") no-repeat 0 2px;
	padding-left: 55px;  /* set at least width of picture */
	line-height: 40px;
}

.swim{
	background: url("Assets/swimming_40x40.gif") no-repeat 0 2px;
	padding-left: 50px;  /* set at least width of picture */
	line-height: 40px;
}
.bBall{
	background: url("Assets/BBall_icon.gif") no-repeat 0 2px;
	padding-left: 50px;  /* set at least width of picture */
	line-height: 40px;
}

li{
	padding-left: 10px;
}

.description{
	text-align: center;
}



#welcomeDoor{
	max-width: 100%;
	height: auto;
	box-shadow: grey 5px 15px 15px;

}

#welcomeStreet{
	max-width: 100%;
	height: auto;
	box-shadow: grey 5px 15px 15px;
}

header{
	background-color: #a92b31;
	height: 150px;
	font-family: Cachet, Verdana;
	position: fixed; /* Set the header to fixed position */
	top: 0; /* Position the header at the top of the page */
	width: 100%

}

#programs, #aPrograms{
	background-color: #0060af;
}
#navPrograms{
	background-color: #20bdbe;
}


#schedules, #aSchedules{
	background-color: #5c2e91;
}
#navSchedules{
	background-color: #00aeef;
}


#facility, #aFacility{
	background-color: #01a490;
}
#navFacility{
	background-color: #fcaf17;
}


#about, #contact, #aAbout, #aContact {
	background-color: #5c2e91;
}
#navAbout, #navContact{
	background-color: #c6168d;
}
#facility{
	background-color: #01a490;
}



#mainLogo{
	border-radius: 100px;
	margin: 20px;
	float: left;

}

header p{
	text-align: right;
	color: white;
	font-size: 25px;
	margin-right: 25px;
	position: relative;
	top: 5%;
	z-index: -1;
}
header #phone{
	text-align: right;
	color: white;
	font-size: 15px;
	margin-right: 25px;
	position: relative;
}



body{
	font-family: Cachet,Verdana;

	padding-top: 250px; /* Position the body below the navbar header */
}
nav{
	background-color: #f47920;
	padding: 7px;
	color: white;
	text-align: center;
	position: fixed; /* Set the navbar to fixed position */
  	top: 150px; /* Position the navbar below the header */
  	width: 100%;

}
nav li{
	display: inline;
	list-style-type: none;
	padding: 25px 20px;

}
nav a{
	color: white;
	text-decoration: none;
	font-weight: bold;
	padding: 8px 25px;
	background-color: #a92b31;
	border-radius: 8px;
}
nav a:hover{
	padding: 11px 25px;
}


.active {
	border: solid 4px white;

}

/* welcome on 1st page */
#welcome{
	background-color: #a92b31;
	color: white;
	text-align: center;
	width: 65%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
	font-size: 40px;
	font-weight: bold;
	border-radius: 25px;
	padding: 5px;
}


h2,h3{
	color: white;
	text-align: center;
	width: 65%;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	margin-bottom: 25px;
	border-radius: 25px;
}


.headerAges{
	background-color: #0060af;
	color: white;
	width: 15%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	margin-bottom: 25px;
	margin-top: 50px;
	border-radius: 25px;
}


/* horizontal rule */
hr{
	width: 50%;
	height: 10px;
	margin: auto;
	background-color: #5c2e91;
	border-radius: 25px;
}


.tSchedules{
	table-layout: fixed;   /* makes all cells same width */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 65%;
	padding: 15px;
	border: none;
	border-collapse: collapse;
	margin-bottom: 25px;
	margin-top: 25px;
}
.tSchedules th{
	background-color: #00aeef;
	color: white;
	font-size: 20px
	}
.tSchedules th, td{

	border: solid 3px #00aeef;
	padding-left: 5px;
}


#days{
	font-weight: bold;
}

caption{
	caption-side: bottom;
	text-align: left;
}

#video{
	display: flex;
	width: 75%;
	margin-left: auto;		    /* centers box on the page   */
	margin-right: auto;			/* centers box on the page   */
	background-color: #00aeef;
	justify-content: center; 	 /* centers content in the box - horizontal  */
	align-items: center;  		/* aligns items in center of container - vertical   */
	padding: 30px;
	border-radius: 20px;
}

video{
	margin-left: 25px;
	margin-right: 25px;
	border: solid 8px #5c2e91;
}








#news{
	text-align: center;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}
#captionNews{
	color: white;
	background-color: #c6168d;
	width: 50%;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 25px;
}

#sourceNews{
	color: white;
	background-color: #c6168d;
	width: 25%;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 25px;
}
#wdiv{
	height: 400px;
	width: 550px;
}

#aboutUs{
	display: block;
	text-align: justify;
	column-count: 2;
	column-gap: 50px;
	column-rule:  solid 8px #c6168d;
	padding-left:  25px;
	padding-right: 25px;
}

#container{
	display: flex;
	justify-content: center; 	 /* centers content in the box - horizontal  */
	flex-wrap: wrap;
}

#hours{
	width: 45%;
	margin-left: 25px;
	padding-left: 30px;
}

#address{
	width: 45%;
	margin-right: 25px;
	margin-left: 30px;
	text-align: center;
}

#map{
	box-shadow: grey 5px 15px 15px;
	width: 300px;
	max-width: 100%;
	height: auto;
}
form{
	width: 75%;
	border: 5px solid #c6168d;
	border-radius: 25px;
	margin-left: auto;
	margin-right: auto;
	padding: 15px;

}

label{
	float: left;
	width: 10em;
	text-align: right;

}
input, select{
	margin-left: 1em;
	margrin-bottom:.5em;

}






#amenities{
	display: flex;
	flex-wrap: wrap;
}
#facilityDescription{
	flex:70%;
	margin-left: 25px;
	margin-right: 5px;

}
#facilityPictures{
	flex: 25%;
	margin-left: 5px;
	margin-right: 25px;
}

#RimgFacility{
	height: 100px;
	width: 200px;
	object-fit: scale-down;
	box-shadow: grey 5px 15px 15px;
	margin-bottom: 25px;
	float:right;
}
#LimgFacility{
	height: 100px;
	width: 200px;
	object-fit: scale-down;
	box-shadow: grey 5px 15px 15px;
	margin-bottom: 25px;
	float: left;
}
#thumb img:hover{
	width: 210px;
	height: 110px;
	box-shadow: #01a490 10px 15px 15px;
}


footer{
	height: 175px;
	width: 100%;
	background-color: black;
	color: white;
	margin-top: 30px;
	display:flex;
	align-items: center;  		/* aligns items in center of container - vertical   */
	justify-content: center;    /* aligns items in center of container - horizontal */
	flex-wrap: wrap;
}
#footerLeft{
	display: flex;
	width: 20%;
	justify-content: flex-start;
}
#footerRight{
	display: flex;
	width: 20%;
	justify-content: flex-end;
}
#footerCenter{
	display: flex;
	width: 50%;
	justify-content: center;
}

#footerReturn{
	display: flex;
	width: 90%
	justify-content:center;
}

.smedia{
	height:50px;
	width: 50px;
	padding-left: 50px;
	padding-right: 50px;
}
