/* -------------------------------------------------------------------*/


/* Homepage */


/* -------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');
body {
	background-color: white;
	text-align: center;
	font-family: 'Nunito', sans-serif;
	color: black;
	overflow-x: hidden;
	padding: 0;
	margin: 0;
}

.home-container {
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: center;
}

.container1 {
	display: flex;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	position: relative;
	text-align: center;
	justify-content: center;
	align-items: center;
	padding-top: 0px;
}

.container2 {
	position: relative;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	background-color: white;
	justify-content: center;
}

.container2>div {
	background-color: #6C9EB7;
	margin: 10px;
	padding: 20px;
	justify-content: center;
	box-shadow: 3px 3px lightgrey;
}

img {
	display: flex;
	position: relative;
	width: 100%;
	max-width: 100vw;
	max-height: 100vh;
	height: 100%;
	padding: 10px;
	justify-content: center;
}

.text-over-image {
	position: absolute;
	bottom: 50px;
	right: 120px;
}

h1 {
	text-align: center;
	color: #083e58;
}

p1 {
	text-align: center;
	font-size: 16px;
	color: #083e58;
	padding-top: 0px;
	font-weight: bolder;
}

.div-background {
	background: rgba(211, 211, 211, 0.6); 
	padding: 1%;
	border-radius: 5px;
}



/* -------------------------------------------------------------------*/


/* Navigation bar styling */


/* -------------------------------------------------------------------*/

#main-menu {
	display: block;
	background-color: white;
	overflow: hidden;
	border-bottom-style: double;
	border-bottom-color: black;
	border-bottom-width: 6px;
}

#main-menu ul {
	list-style-type: none;
	white-space: nowrap;
	margin: 0;
	float: center;
	padding-left: 0;
}

#main-menu li {
	display: inline-block;
}

#main-menu a {
	float: left;
	color: black;
	text-align: center;
	padding: 30px 30px;
	text-decoration: none;
	font-size: 20px;
}


/* Change the color of links on hover */

.main-menu a:hover {
	font-weight: bold;
	color: black;
}

.main-menu a:active {
	font-weight: bold;
	color: black;
}

.logo {
	float: left;
	max-width: 120px;
	margin: 0;
	padding-left: 0;
}


/* social media icons adapted from: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_social_media_buttons*/

.fa {
	padding-top: 0px;
	font-size: 30px;
	width: 1px;
	text-align: center;
	text-decoration: none;
}

.fa:hover {
	opacity: 0.4;
}

.fa-facebook {
	background: white;
	color: black;
}

.fa-twitter {
	background: white;
	color: black;
}

.fa-youtube {
	background: white;
	color: black;
}

.fa-instagram {
	background: white;
	color: black;
}


/* Search bar styling*/


/* partially adapted from Tamra Ross' Search bar implementation*/

#search {
	font-size: 20px;
	text-align: right;
	padding-bottom: 22px;
	padding-left: 30px;
	float: right;
}

.searchbar {
	width: 18px;
	height: 30px;
	margin-right: 23px;
	border: 2px solid #6C9EB7;
	border-radius: 20px;
	padding: 0 10px 0;
	font-weight: 700;
	font-size: 12px;
	-webkit-transition: width 0.4s ease-in-out;
	transition: width 0.4s ease-in-out;
	background: url('../../images/magnify.png') center/cover no-repeat;
}


/* When the input field gets focus, change its width */

.searchbar:focus {
	width: 220px;
	background: white;
}


/* Homepage Lower elements */

.homepage-lower {
	font-size: 16px;
	color: white;
}

.homepage-lower a {
	color: white;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
}

.homepage-lower a:hover {
	opacity: 0.5;
}


/* -------------------------------------------------------------------*/


/* About Page */


/* -------------------------------------------------------------------*/

.general-about,
.locationdetails {
	max-width: 1000px;
	background: #6C9EB7;
	padding: 10px 20px;
	margin: 10px auto;
	border-radius: 8px;
}

.general-about {
	margin-top: 25px;
}

.infoholder {
	margin-bottom: 25px;
	align-items: center;
}

.general-about h2,
.general-about p3,
.hours-of-ops h2,
.locationdetails h2,
.locationdetails p3 {
	color: white;
	margin: 10px;
}

.hours-of-ops {
	background: #6C9EB7;
	max-width: 1000px;
	padding: 10px 20px;
	margin: 10px auto;
	border-radius: 8px;
}

.hours-of-ops>table {
	margin-left: auto;
	margin-right: auto;
	color: #333;
	width: 640px;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 25px;
}

td,
th {
	border: 1px solid #CCC;
	height: 30px;
}

th {
	background: #F3F3F3;
	font-weight: bold;
}

td {
	background: #FAFAFA;
	text-align: center;
}


/* -------------------------------------------------------------------*/


/* Donate Page Styling */


/* -------------------------------------------------------------------*/


/* Portion of Donate Page Styling adapted from : https://codepen.io/DigimadMedia/pen/qZdMzd */

html {
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

.background {
	padding: 0 25px 25px;
	position: relative;
	width: 100%;
}

.background::after {
	content: '';
	background: #6C9EB7;
	height: 350px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

@media (min-width: 900px) {
	.background {
		padding: 0 0 25px;
	}
}

.container {
	margin: 0 auto;
	padding: 50px 0 0;
	max-width: 960px;
	width: 100%;
	position: relative;
}

.panel {
	background-color: #fff;
	border-radius: 10px;
	padding: 15px 25px;
	position: relative;
	width: 100%;
	z-index: 10;
}

.top-table {
	position: relative;
	box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #6C9EB7;
}

.bottom-table {
	position: relative;
	box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
	display: block;
	max-width: 57%;
	margin: auto;
}
.other-table {
	position: relative;
	box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
	display: block;
	max-width: 57%;
	margin: auto;
}

@media (min-width: 900px) {
	.top-table {
		flex-direction: row;
	}
}

.top-table * {
	text-align: center;
	text-transform: uppercase;
}

.table-plan {
	border-bottom: 1px solid #6C9EB7;
	padding: 25px;
}

@media (min-width: 900px) {
	.table-plan {
		border-bottom: none;
		border-right: 1px solid #6C9EB7;
		flex-basis: 100%;
		padding: 25px 50px;
	}
	.table-plan:last-child {
		border-right: none;
	}
}

.table-header {
	color: #888;
	font-weight: 600;
	letter-spacing: 1px;
}

li {
	list-style: none;
}

.table-features {
	color: #6C9EB7;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 50px 30px 25px 0px;
}

.table-features-item {
	border-top: 1px solid #e1f1ff;
	font-size: 12px;
	line-height: 1.5;
	padding: 15px 0;
}

.table-features-item:last-child {
	border-bottom: 1px solid #6C9EB7;
}

.table-price {
	color: #6C9EB7;
	display: block;
	font-size: 32px;
	font-weight: 700;
}

.table-button {
	border: 1px solid #6C9EB7;
	border-radius: 10px;
	color: #6C9EB7;
	display: inline-block;
	margin: 25px 0;
	padding: 15px 35px;
	text-decoration: none;
	transition: all 150ms ease-in-out;
}

.table-button:hover {
	background-color: #6C9EB7;
	color: white;
}


/* -------------------------------------------------------------------*/


/* Adopt Page  */


/* -------------------------------------------------------------------*/


/* parts of Adopt page is adapted from: http://css3.bradshawenterprises.com/flip/ */

.petname {
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #fff;
	font-size: 27px;
	font-size: 1.7rem;
	font-weight: 200;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding-right: 35px;
	padding-left: 80px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.7);
	height: 40px;
	z-index: 1;
}

.pet-info {
	height: 17%;
}

.quote {
	padding-left: 25px;
	padding-right: 25px;
	box-sizing: border-box;
	font-weight: 300;
	padding-top: 28px;
	text-align: center;
}

.behavioural-info {
	width: 100%;
	height: 15%;
	padding-top: 15px;
	padding-bottom: 15px;
	display: flex;
	box-sizing: border-box;
	justify-content: center;
	position: absolute;
	bottom: 25px;
}

.lg {
	font-size: 16px;
	font-weight: lighter;
}

.b-info-item {
	color: white;
	width: 33.3333%;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
}

.back {
	-webkit-transform: translate(10px, 10px);
	-ms-transform: translate(10px, 10px);
	transform: translate(10px, 10px);
	-webkit-transition: all .3s ease-in;
	transition: all .3s ease-in;
	z-index: 5;
}

.middle {
	-webkit-transform: translate(5px, 5px);
	-ms-transform: translate(5px, 5px);
	transform: translate(5px, 5px);
	-webkit-transition: all .3s ease-in;
	transition: all .3s ease-in;
	z-index: 15;
}

img.shrink{
    max-height: 600px;
    overflow: auto;
   
    
}

#pet_container {
	position: relative;
	margin: 10px auto;
	width: 450px;
	height: 281px;
	z-index: 1;
	float: left;
}

#pet_container {
	perspective: 1000;
}

#pet_card {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: all 1.0s linear;
}

#pet_container:hover #pet_card {
	transform: rotateY(180deg);
	box-shadow: -5px 5px 5px #aaa;
}

.face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
}

.face.back {
	display: block;
	transform: rotateY(180deg);
	box-sizing: border-box;
	padding: 10px;
	color: white;
	text-align: center;
	background-color: #6C9EB7;
}

.petsbox {
	padding-top: 10px;
	align-self: center;
	display: flex;
	flex-wrap: wrap;
	max-width: 100%;
}

h5 {
	font-size: 40px;
	padding: 0px;
	margin-top: 50px;
	margin-bottom: 0px;
	width: 100%
}

.container2 {
	position: relative;
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	background-color: white;
	justify-content: center;
}


/* -------------------------------------------------------------------*/


/* Resource Page Styling*/


/* -------------------------------------------------------------------*/


/* Parts of form is developed from:https://www.sanwebe.com/2014/08/css-html-forms-designs */

.missing-pet-form {
	max-width: 700px;
	padding: 10px 20px;
	background: #f4f7f8;
	margin: 10px auto;
	border-radius: 8px;
}

.missing-pet-form fieldset {
	border: none;
}

.titles {
	font-size: 25px;
	padding: 10px;
	margin-bottom: 10px
}

.missing-pet-form label {
	display: flex;
	width: 100%;
}

.missing-pet-form input[type="text"],
.missing-pet-form input[type="email"],
.missing-pet-form textarea,
.missing-pet-form select {
	border: none;
	border-radius: 4px;
	font-size: 16px;
	margin: 0;
	outline: 0;
	padding: 7px;
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: #e8eeef;
	color: #8a97a0;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
	margin-bottom: 30px;
}

.missing-pet-form input[type="text"]:focus,
.missing-pet-form input[type="email"]:focus,
.missing-pet-form textarea:focus,
.missing-pet-form select:focus {
	background: #6C9EB7;
	color: white;
}

.missing-pet-form .blurb {
	background: #6C9EB7;
	color: white;
	height: 30px;
	width: 30px;
	display: inline-block;
	font-size: 0.8em;
	margin-right: 4px;
	line-height: 30px;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
	border-radius: 15px 15px 15px 0px;
}

.missing-pet-form input[type="submit"],
.missing-pet-form input[type="button"] {
	position: relative;
	display: block;
	padding: 19px 39px 18px 39px;
	color: #FFF;
	margin: 0 auto;
	background: #6C9EB7;
	font-size: 18px;
	text-align: center;
	font-style: normal;
	width: 100%;
	border: 1px solid #6C9EB7;
	border-width: 1px 1px 3px;
	margin-bottom: 10px;
}

.missing-pet-form input[type="submit"]:hover,
.missing-pet-form input[type="button"]:hover {
	background: #8a97a0;
}

.animal-control {
	background: #6C9EB7;
	max-width: 700px;
	padding: 10px 20px;
	margin: 10px auto;
	border-radius: 8px;
}

.animal-control a {
	color: white;
	text-decoration: underline;
}