/*
 Theme Name:   Travelling Pet Vet Theme
 Theme URI:    https://www.wpbeginner.com/
 Description:  A Twenty Eleven child theme 
 Author:       Mason W
 Author URI:   https://www.wpbeginner.com
 Template:     twentyeleven
 Version:      1.4
*/
 
@import url("../twentyeleven/style.css");

h1, h2, h3, h4, h5, h6 {
	color: #3d7f98 !important;
}

.entry-title {
	color: #3d7f98 !important;
	text-align: center !important;
}

/*
Reducing the white space at the top of the page
*/
.singular.page .hentry {
    padding: 0em 0 0;
}

/*
Home page table
*/
/*

*/
.petVetMainGallery {
	display: grid;
	grid-template-columns: repeat(8,1fr);
	grid-template-rows: repeat(10,1fr);
	grid-gap: 5px;
	width: 100%;
	max-width: 540px;
	max-height: 618px;
}

.petVetMainGallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.petVetMainGallery__img_normal {
	width: auto;
	height: 100%;
	object-fit: cover;
}

.petVetMainGallery__img_small {
	display: none !important;
}

.petVetMainGallery__item {
	display: block;
	position: relative;
	float: left;
	text-align: center;
}

.petVetMainGallery__item--center {
	grid-column: 1 / span 4;
	grid-row: 3 / span 6;
}

.petVetMainGallery__item--top1 {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}

.petVetMainGallery__item--top2 {
	grid-column: 3 / span 2;
	grid-row: 1 / span 2;
}

.petVetMainGallery__item--top3 {
	grid-column: 5 / span 2;
	grid-row: 1 / span 2;
}

.petVetMainGallery__item--top4 {
	grid-column: 7 / span 2;
	grid-row: 1 / span 2;
}

.petVetMainGallery__item--right1 {
	grid-column: 5 / span 4;
	grid-row: 3 / span 2;
}

.petVetMainGallery__item--right2 {
	grid-column: 5 / span 4;
	grid-row: 5 / span 2;
}

.petVetMainGallery__item--right3 {
	grid-column: 5 / span 4;
	grid-row: 7 / span 2;
}

.petVetMainGallery__item--bottom1 {
	grid-column: 1 / span 2;
	grid-row: 9 / span 2;
}

.petVetMainGallery__item--bottom2 {
	grid-column: 3 / span 2;
	grid-row: 9 / span 2;
}

.petVetMainGallery__item--bottom3 {
	grid-column: 5 / span 2;
	grid-row: 9 / span 2;
}

.petVetMainGallery__item--bottom4 {
	grid-column: 7 / span 2;
	grid-row: 9 / span 2;
}

.petVetMainCenteredText {
	position: absolute;
	top: 85%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 999;
	font-family: "sniglet", sans-serif;
	color: black;
	font-weight: bold;
	background-color: rgba(237,248,252,0.4);
	padding-left: 5px;
	padding-right: 5px;
	white-space: nowrap;
	font-size: 80%;
}

@media screen and (max-width: 767px) {
	.petVetMainGalleryCaption {
		display: none;
	}
	
	.petVetMainGallery__img2 {
		width: auto;
		height: 100% !important;
		object-fit: cover;
	}
	
	.petVetMainGallery__img_normal {
		display: none !important;
	}
	
	.petVetMainGallery__img_small {
		width: auto;
		height: 100%;
		object-fit: cover;
		display: block !important;
	}
}

/*
Changing the menu colours and hiding the search bar
*/
#access {
	background: #3d7f98;
}

#branding #searchform {
	display: none;
}

#branding .only-search + #access div {
	padding-right: 0;
}