/*Sticky footer css*/
html{
	position: relative;
	min-height: 100%;
}
body{
	margin: 0 0 120px; /* bottom = footer height */
	font-family: 'Lato', sans-serif;
}
a {
	text-decoration: none;
	color: inherit;
}


/* Sticky footer css ends here*/

/* Class to position a navbar into a fix position using 
the whole width of the screen*/

.fixed-nav-bar{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background-color: #fff;
	height: 80px;
}
/* Header and nav IDs and sections*/
#header img{
	height: 80px;
}
#header img, #header nav {
	display: inline-block;
}

nav{
	margin-left: 12%;
	text-align: right;
	vertical-align: text-bottom;
}

nav ul li{
	display: inline-block;
	margin-left: 3.03%;
	color: #95a5a6;
}

nav ul li a:hover{
	border-bottom: 2px solid #7f8c8d;
}

/* ***Header and nav IDs ends here ***** */

#banner {
	height: 550px;
	padding-top: 22.5%;
	background: url("../img/help.jpeg");
	background-size: cover;
	background-position: center center;
    background-repeat: no-repeat;
}

header{
	height: 220px;
	margin-left: 9%;
}

header h1{
	background-color: rgba(0,0,0,.4);
	color: white;
	font-size: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	word-spacing: 0.3em;
}

header span{
	display: inline-block;
	/*padding: 1.6em;*/
	padding: 1.6%;
	margin-top: 4.7%;
}

.button-transparent{
	color: white;
/*	border: 1px solid white;
*/	border-radius: 5%;
	background-color: #95a5a6;
	box-shadow: 0 5px #7f8c8d;
}

.button-blue {
	background-color: #3498db;
	border: 1px solid #3498db;
	border-radius: 5%;
	box-shadow: 0 5px 0 #006599;
}

.button-transparent:hover, .button-solid:hover{
	  transform: translateY(-10%);
}
.button-solid {
	color: white;
	background-color: #e74c3c;
	border: 1px solid #e74c3c;
	border-radius: 5%;
	box-shadow: 0 5px 0 #c0392b;
	margin-left: 0.5%;
}

#descriptions{
	height: 260px;
	background-color: white;
	text-align: center;
}

.description  {
	display: inline-block;
/*	border: 1px solid black;
*/	height: 275px;
	vertical-align: top;
	text-align: center;
	/*margin-top: 1.5em;*/
	margin-top: 2.5%;
	-webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition-property: all .2s ease-in;
    transition-property: all .2s ease-in;
}
.description:hover{
	margin-top: -0.3%;
}

.description p {
	font-size: 0.875em;
}
.description i {
	color: #e74c3c;
}
#stats{
	height: 300px;
	text-align: center;
	background-color: #2c3e50;
}
#stats p {
	-webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition-property: all .2s ease-in;
    transition-property: all .2s ease-in;
}
#stats p:hover{
	font-size: 3em;
}

#stats p, #volunteer p {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	color: white;
	font-size: 2.875em;
}

#volunteer {
	display: inline-block;
	height: 500px;
	background: url("../img/dog_owner.jpeg");
	background-size:  cover;
	background-position: center center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
}

#volunteer p{
	background-color: rgba(0,0,0,.4);
	color: white;
	font-size: 4.5em;
	position: relative;
	top: 25%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	word-spacing: 0.2em;
}

#volunteer span {
	padding: 1%;
	display: inline-block;
	height: 20px;
	width: 100px;
	margin-top: 5%;
}

#volunteer span:hover {
	-webkit-transform: translateY(-10%);
}

/*#volunteer span:first-child{
	background-color: #3498db;
	border: 1px solid #3498db;
	box-shadow: 0 5px 0 #006599;
}*/

#recents {
	height: 150px;
	background-color: white;
	text-align: center;
}

#recents p {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	color: grey;
	font-size: 2em;
}
#pets{
	text-align: center;
}
#pet {
	display: inline-block;
}
#pet img{
	width: 100%;
	height: 320px;
	border-radius: 1%;
}
/*sticky footer xss*/
#footer{
	background-color: black;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 120px;
	overflow: hidden;
}

#footer > div {
	display: inline-block;
	vertical-align: top;
}
.signature{
	color: white;
	text-align: center;
/*	border: 1px solid white;
*/}
.signature p {
	margin-left: 19.27%;
}
.signature i {
	color: #e74c3c;
}
.contact{
	color: white;
/*	border: 1px solid white;
*/	text-align: right;
}

.contact i {
	color: grey;
}

/*Media queries*/

/* OLD iPhone ---------------*/
@media screen and (max-width: 750px){
	.grid_1,
	.grid_2,
	.grid_3,
	.grid_4,
	.grid_5,
	.grid_6,
	.grid_7,
	.grid_8,
	.grid_9,
	.grid_10,
	.grid_11,
	.grid_12 {
		display: block;
		/*border: 1px solid black;*/
		vertical-align: top;
		width: 100%;
	}
	#header img{
		width: 40%;
	}
	#header nav{
		display: inline-block;
		width: 46%;
		font-size: 0.8em;
	}

	#banner {
	height: 550px;
	padding-top: 22.5%;
	background: url("../img/help.jpeg");
	background-size: cover;
	background-position: center center;
    background-repeat: no-repeat;
}

	header{
		height: 220px;
		margin-left: 9%;
	}

	header h1{
		background-color: rgba(0,0,0,.4);
		color: white;
		font-size: 2em;
	}

	header span{
		display: inline-block;
		/*padding: 1.6em;*/
		padding: 3.8%;
		margin-top: 4.7%;
	}
	#descriptions{
		height: auto;
	}
	.description {
		display: block;
		margin-top: 0;

	}

	#volunteer {
		display: inline-block;
		height: 450px;
		background: url("../img/dog_owner.jpeg");
		background-size:  cover;
		background-position: center center;
		background-repeat: no-repeat;
		color: white;
		text-align: center;
	}

	#volunteer p {
		background-color: rgba(0,0,0,.4);
		color: white;
		font-size: 2.5em;
	}

	#volunteer span {
		padding: 2%;
		display: inline-block;
		height: 20px;
		width: 100px;
		margin-top: 20%;
	}

}
