/* CSS Document */

body {
	text-align: center;
	/*center the page in IE*/
	font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
	background-image: url(images/pet-paws.gif);
	color: #226845;
}

/*accessibility stuff*/
.hide {
	position: absolute;
	left: -9000px;
}

/*properties*/
h1 {
	font-size: 1.3em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #006633;
	margin-top: 5px;
}

h2 {
	color: #000;
	text-align: left;
	padding: 0.2em, 0.2em, 0.2em, 0;
	margin: 20px 0 0 0;
	font-size: 1.1em;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}

h3 {
	color: #000;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
	margin-top: 25px;
}

h4 {
	color: #000;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: 0.9em;
}

p {
	font-size: 0.8em;
	line-height: 1.3em;
	font-weight: 600;
}

p#areas {
	font-size: 0.8em;
	color: #009933;
}

h1#index_page {
	font-size: 1.2em;
}

h2#call_us {
	font-size: 1em;
	color: #660000;
	margin-top: 5px;
	margin-bottom: 15px;
}

h2#areas {
	font-size: 1em;
	color: #660000;
}

.black_text {
	color: #000;
}

.olive_text {
	color: #666600;
}

.white_text {
	color: #FFF;
}

/* hyperlinks */
a:link {
	color: #660000;
	text-decoration: underline;
}

a:visited {
	color: #660000;
	text-decoration: underline;
}

a:hover {
	color: #996633;
	text-decoration: underline;
}

a:active {
	color: #660000;
	text-decoration: underline;
}

/***********************************************/
/* Layout Divs                                 */
/***********************************************/
#wrapper {
	top: 10px;
	margin: 0 auto;
	text-align: left;
	max-width: 760px;
	background-color: #FFFFFF;
}

#masthead {
	padding: 5px 0 15px 0;
	border-bottom: 3px solid #063;
}

#container {
	width: 760px;
	background-image: url(images/dog-paws.gif);
	background-repeat: repeat-y;
	padding-bottom: 40px;
	box-sizing: border-box;
}

#sidebar {
	float: left;
	width: 200px;
	padding-left: 10px;
	padding-top: 20px;
}

#call_us_div {
	width: 190px;
}

#cardiff_areas_div {
	width: 190px;
}

#content {
	position: relative;
	margin: 0 0 0 210px;
	padding: 15px 10px 10px 20px;
}

#footer {
	clear: both;
	/*make footer align at bottom of content and sidenav divs correctly - if relevant*/
	margin: auto;
	width: 100%;
	height: 60px;
}

#message_sent {
	text-align: center;
}

#google_ad_div {
	padding: 20px 30px;
}

/*photos*/
#container .rightphotos {
	float: right;
	margin: 18px 20px 0 10px;
}

#container .leftphotos {
	float: left;
	margin: 15px 25px 10px 5px;
}

#container .testimonialpics {
	float: left;
	margin: 5px 5px 5px 5px;
}

#container #dobermanpic {
	float: right;
	margin-right: 20px;
	margin-top: 20px;
}

#container #letsgo {
	padding-top: 20px;
}

#dogwalking {
	background-color: #339966;
}

#petsgodog {
	margin-top: 20px;
	margin-left: 50px;
}

/***********************************************/
/* Lists                                       */
/***********************************************/
ul {
	margin: 0;
	padding: 0;
	font-size: 0.8em;
	line-height: 1.3em;
	font-weight: 600;
}

ol {
	padding: inherit;
	font-size: 0.8em;
	line-height: 1.3em;
	font-weight: 600;
}

li {
	margin: 10px;
}

ul#menu {
	margin-left: 0;
}

ul#menu li {
	float: left;
	list-style-type: none;
	margin: 0;
}

ul.footer_menu {
	margin-left: 60px;
	margin-right: 60px;
}

ul.footer_menu li {
	list-style-type: none;
	display: inline;
	margin: 0;
}

ul.footer_menu a:link {
	color: #003300;
	text-decoration: none;
}

ul.footer_menu a:visited {
	color: #003300;
	text-decoration: none;
}

ul.footer_menu a:hover {
	color: #339966;
	text-decoration: none;
}

ul.footer_menu a:active {
	color: #003300;
	text-decoration: none;
}

ul.petsitting_menu {
	margin-top: 20px;
}

ul.petsitting_menu li {
	list-style-type: none;
	display: inline;
}

ul.pics {
	margin-top: 30px;
}

ul.pics li {
	list-style-type: none;
	display: inline;
	margin: 3px;
}

ul#indent {
	margin-left: 10px;
}

ul.nomarker {
	list-style-type: none;
}

ul.directory_listing {
	list-style-type: none;
}

ul.directory_listing li {
	margin: 0;
}

ul#top_listing {
	margin-top: 20px;
}

ul.directory_page_list {
	list-style-type: none;
}

ul.directory_page_list a:link {
	color: #666;
}

ul.directory_page_list a:visited {
	color: #666;
}

ul.directory_page_list a:hover {
	color: #999;
}

ul.directory_page_list a:active {
	color: #666;
}

/***********************************************/
/* Tables                                      */
/***********************************************/
table {
	border: 0;
	font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
	font-size: 0.9em;
	line-height: 1.3em;
	font-weight: 600;
	margin: 0 0 20px 0;
}

#copyright {
	list-style-type: none;
	text-align: center;
	font-weight: 600;
	font-size: 1em;
	color: #000000;
}

@media screen and (max-width: 768px) {

	#wrapper,
	#container {
		width: 100%;
		max-width: 100%;
		/* keeps it inside the viewport and stops scrolling horizontally*/
		padding-top: 20px;
		box-sizing: border-box;
	}

	#masthead,
	#sidebar,
	#content,
	#footer {
		width: 100% !important;
		float: none !important;
		margin-bottom: 1rem;
		padding: 0px;
		box-sizing: border-box;
	}

	#copyright {
		list-style-type: none;
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding-top: 1.5rem !important;
		margin-top: 1rem !important;
		padding-right: 10px;
		padding-left: 10px;
		text-align: center;
		font-weight: 600;
		font-size: 0.9em;
		color: #000000;
	}

	#sidebar {
		padding-left: 10px;
		padding-top: 0;
		text-align: center;
	}

	#content {
		margin: 0;
		padding: 10px;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	ul#menu li {
		float: none;
		display: block;
		margin: 10px auto;
		text-align: center;
	}

	ul.footer_menu {
		margin: 0 auto;
		text-align: center;
	}

	ul.footer_menu li {
		display: inline-block;
		margin: 5px;
	}

	#call_us_div,
	#cardiff_areas_div {
		text-align: center;
		margin-bottom: 20px;
	}

	table {
		width: 100%;
	}

	html {
		scroll-behavior: smooth;
	}

	/* Contact form adjustments */
	#contact_form {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	#contact_form input[type="text"],
	#contact_form textarea {
		width: 100% !important;
		box-sizing: border-box;
		font-size: 1em;
		padding: 8px;
	}

	#contact_form_table {
		width: 100% !important;
		border-collapse: collapse;
		table-layout: fixed;
	}

	#contact_form_table td {
		word-wrap: break-word;
		overflow-wrap: break-word;
		padding: 0.5em;
		font-size: 1rem;
	}

	.clearfix::after {
		content: "";
		display: table;
		clear: both;
	}

}