/*
Theme Name: Devins Theme
Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: devinstheme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
	font-size: 17px;
	font-family: 'Open Sans', sans-serif;
}


/* Common ----------------- */

.bg_f5f5f5 {
	background-color: #f5f5f5;
}

img {
	max-width: 100%;
	height: auto;
}

.fa-phone::before {
	margin-right: 10px;
	font-family: "FontAwesome";
}

.btn-phone {
	font-size: 22px;
	font-family: "Open Sans";
	font-weight: bold;
	text-decoration: none;
	color: #25408f;
}

.btn-phone:focus {
	text-decoration: none;
	outline: 0;
}

.btn-phone:hover {
	color: #ff6600;
	text-decoration: none;
}

.pad_t10 {
	padding-top: 10px;
}

.pad_t20 {
	padding-top: 20px;
}

.pad_tb20 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.pad_20 {
	padding: 20px;
}

.sidebarformEl {
	padding: 15px;
}

.btn-blue {
	display: inline-block;
	font-size: 20px;
	padding: 20px 24px;
	border: 2px solid #fff;
	background-color: #25408f;
	color: #fff;
	text-transform: uppercase;
}

.btn-blue:hover {
	background-color: #fff;
	border: 2px solid #25408f;
	color: #25408f;
}

.btn-blue-small {
	font-size: 18px;
	padding: 12px 20px;
}

.entry-title {
	margin: 0 0 20px;
	font-size: 30px;
	font-weight: bold;
	color: #222;
}

.entry-description {
	font-weight: 400;
	font-size: 16px;
	color: #444;
	margin-bottom: 20px;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

@media screen and (max-width: 991px) {
	.sidebarformEl {
		padding: 15px 0;
	}
}

@media screen and (max-width: 480px) {
	.btn-phone {
		font-size: 20px;
	}
}

.site-header-inner {
	display: table;
	position: relative;
	overflow: auto;
	width: 100%;
}

.site-logo {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	padding: 5px 0;
	max-width: 200px;
}

.site-logo > a {
	position: absolute;
	bottom: -50px;
}

.site-logo img {
	max-width: 240px;
	vertical-align: auto;
}

.site-main-menu {
	height: 100%;
	display: table-cell;
	vertical-align: middle;
}

.primary-menu {
	display: table;
	height: 100%;
	float: right;
}

.header-contact {
	position: relative;
	max-width: 115px;
	display: table-cell;
	padding: 15px 0 15px 15px;
	text-align: right;
	vertical-align: middle;
}

.primary-menu .menu-item {
	position: relative;
	display: table-cell;
	height: 100%;
	border-left: 1px solid #dddddd;
}

.primary-menu .menu-item:last-of-type {
	border-right: 1px solid #dddddd;
}

.primary-menu .menu-item a {
	display: inline-block;
	color: #25408f;
	font-size: 16px;
	font-weight: bold;
	padding: 40px 20px;
	text-decoration: none;
}

.primary-menu .menu-item a:focus {
	outline: 0;
}

.nav-secondary {
	background: #25408f;
}

.nav-secondary .secondary-menu {
	text-align: right;
}

.secondary-menu .menu-item {
	display: inline-block;
	position: relative;
	text-align: left;
}

.secondary-menu .menu-item a {
	display: inline-block;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 22px 20px;
	text-decoration: none;
}

.secondary-menu .menu-item a:focus {
	outline: 0;
}

.menu-item .sub-menu {
	display: none;
	position: absolute;
	background: #25408f;
	width: 200px;
	z-index: 999;
}

.menu-item:hover .sub-menu {
	display: block;
}

.sub-menu .menu-item {
	display: block;
}

.enquiry-set {
	position: absolute;
	right: 0;
	bottom: -40px;
	width: 180px;
	padding: 20px;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
	background-color: #f5e20a;
	border: 2px solid #f5e20a;
	z-index: 999;
}

.enquiry-set:focus {
	outline: 0;
}

.enquiry-set:hover {
	border: 2px solid #25408f;
	background-color: #fff;
	color: #25408f;
	text-decoration: none;
}

@media screen and (max-width: 1200px) {
	.custom-container {
		width: 100%;
	}

	.secondary-menu .menu-item a {
		padding: 22px 15px;
	}

/*	.custom-container .row {
		margin: 0;
	}

	.custom-container .row > div[class^="col-"] {
		padding: 0;
	}*/
}

@media screen and (max-width: 991px) {
	.site-header {
		margin: 10px 0;
	}

	.enquiry-set {
		position: static;
		margin: 0;
		float: right;
	}

	.site-logo > a {
		position: static;
	}
}

@media screen and (max-width: 480px) {
	.site-logo {
		display: block;
	}

	.header-contact {
		display: block;
		overflow: auto;
		padding: 10px 0;
	}

	.enquiry-set {
		display: block;
		width: 100%;
		float: none;
	}
}


/* Page Home CSS --------------- */
.homeCt .home-feature {
	position: relative;
	height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.homeCt .home-feature-overlay {
	position: absolute;
	left: 50px;
	top: 50px;
	bottom: 100px;
	width: 500px;
	padding: 30px;
	background-color: rgba(0,0,0,0.5);
}

.homeCt .feature-heading {
	font-size: 25px;
	color: #fff;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.homeCt .feature-description {
	margin-bottom: 20px;
	font-size: 20px;
	color: #fff;
}

.enquiryEl-button .btn-blue {
	padding: 10px 15px;
}

.homeCt .home-blocks {
	margin-top: -55px;
}

.homeCt .block-data {
	padding: 10px;
	background-color: #fff;
}

.homeCt .entre-data {
	outline: 0;
	display: block;
	text-decoration: none;
}

.homeCt .entre-title {
	font-size: 22px;
	margin: 0;
	padding: 16px 0;
	text-transform: uppercase;
	color: #fff;
	background-color: #25408f;
}

.homeCt .block-feature {
	height: 200px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.page-content {
	margin: 55px 0 0;
}

.sidebarformCt {
	padding: 35px 20px 20px;
	background-color: #25408f;
	color: #fff;
	text-align: center;
}

.sidebarform_title {
	font-size: 25px;
	font-weight: bold;
	margin: 0 0 20px;
}

.sidebarform_description {
	display: block;
	font-weight: 400;
	font-size: 16px;
	margin: 0 0 20px;
}

.formstyle1 input[type="text"],
.formstyle1 input[type="email"] {
	border: 0px;
	display: block;
	width: 100%;
	height: 40px;
	padding: 10px 5px;
	margin: 0 0 10px;
	background-color: #fff;
	color: #333;
	text-align: left;
}

.formstyle1 textarea {
	display: block;
	width: 100%;
	height: 200px;
	padding: 10px;
	margin: 0 0 10px;
	border: 0;
	background-color: #fff;
	color: #333;
	resize: none;
	text-align: left;
}

.page-content .content-data {
	font-size: 17px;
	line-height: 30px;
}

.page-content iframe {
	width: 100%;
	height: 350px;
}

.page-content .content-title {
	font-size: 30px;
	font-weight: bold;
	color: #222;
}

.page-content .content-smalltitle {
	font-size: 20px;
	font-weight: bold;
	color: #222;
}

@media screen and (min-width: 992px) {
	.homeCt .sidebarformEl {
		padding: 0;
	}
}


@media screen and (max-width: 991px) {
	.homeCt .home-blocks {
		margin-top: 0;
	}

	.homeCt .block-data {
		padding: 10px 0;
	}
}


/* Menu Mobile CSS -------------- */
.nav-mobile {
	position: relative;
	padding: 17px 15px;
}

.mobile-tel-link {
	font-size: 25px;
	color: #fff;
}

.menu-strip {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 35px;
	outline: 0;
}

.menu-strip:focus {
	outline: 0;
}

.menu-strip span {
	display: block;
	margin-bottom: 5px;
	padding: 2px;
	background: #ffffff;
}

.mobile_menu {
	background-color: #25408f;
	display: none;
	font-size: 20px;
	padding: 10px;
	position: absolute;
	right: 18px;
	top: 65px;
	width: 250px;
	z-index: 999;
}

.mobile_menu .mobile-menu li {
	border-bottom: 1px solid #fff;
}

.mobile_menu .mobile-menu li a {
	display: block;
	padding: 7.5px 0;
	color: #fff;
	outline: 0;
	text-decoration: none;
}

/* Page Booking CSS ------------- */
.bookingformCt {
	padding: 0 15px;
	max-width: 800px;
	width: 100%;
	margin: 40px auto;
}

.bookingformCt .formstyle1 input[type="text"],
.bookingformCt .formstyle1 input[type="email"],
.bookingformCt .formstyle1 textarea {
	padding: 10px 15px;
	border: 1px solid #ddd;
}

.bookingformCt input {
	height: 50px;
}


/* Owner Block CSS -------------- */
.ownerblockCt {
	margin: 25px 0;
	padding: 35px 0 20px;
	border-top: 5px solid #25408f;
	border-bottom: 5px solid #25408f;
}

.owner-description {
	font-size: 17px;
	line-height: 25px;
}

.owner-feature {
	width: 100%;
	max-width: 300px;
	float: left;
	margin: 0 25px 25px 0;
}

.owner-info {
	clear: both;
	font-size: 25px;
	margin: 20px 0;
}

.owner-bottomtext {
	font-size: 16px;
}

@media screen and (max-width: 767px) {
	.owner-feature {
		display: block;
		max-width: 300px;
		float: none;
		margin: 25px auto;
	}
}


/* Blog ----------------- */
.pest_inner {
	overflow: hidden;
}

.pest_inner a {
	outline: 0;
	color: #666;
	text-decoration: none;
	text-transform: uppercase; 
}

.pest_title {
	padding: 0 0 0 15px;
}

.pest_title > h2 {
	font-size: 25px;
}

.blog-content {
	overflow: auto;
}

.pest_inner_img {
	width: 40%;
	float: left;
	padding: 15px;
}

.pests_inner_content {
	float: left;
	font-size: 16px;
	font-weight: 300;
	padding: 15px;
	width: 60%;
}

.pest_inner_img img {
	max-width: 300px;
	height: auto;
	width: 100%;
}


.custom_pagination {
	padding: 15px;
}

.custom_pagination a {
	padding: 20px;
	background-color: #23527c;
	color: #fff;
	text-decoration: none;
	outline: 0;
}

.next_pagination,
.prev_pagination {
	display: inline-block;
}

.next_pagination {
	float: right;
}

@media screen and (max-width: 767px) {
	.pest_title {
		padding: 0;
	}

	.pest_inner_img {
		width: 100%;
		float: none;
		padding: 15px 0;
		text-align: center;
	}

	.pests_inner_content {
		float: none;
		padding: 15px 0;
		width: 100%;
	}

	.custom_pagination {
		padding: 15px 0;
	}
}

/* Footer ------------------ */
footer {
	background-color: #25408f; 
	color: #fff;
	padding: 30px 0;
}

footer a {
	color: #fff;
}

footer .footer-menu li {			
	display: inline-block;
	width: auto;
}

footer .footer-menu li a {
	color: #fff;
	padding: 10px;
	line-height: 1.5;
	font-size: 18px;
	text-decoration: none;
}

footer .footer-menu li a:focus {
	outline: 0;
}

.copyright_blk {
	background-color: #25408f; 
	color: #fff;	
}
/* Contact Page  -------------------- */
.contact_ct .content-data h4 {
	line-height: 25px;
}
.contact_form {
	margin: 25px auto;
}

.contactformEl.formstyle1 input,
.contactformEl.formstyle1 textarea {
	border: 2px solid #f5f5f5;
	padding: 20px 10px;
}
.contact_us {
	text-align: left;
	padding: 20px;
	line-height: 2;
}
.content-data h1 {
	margin-top: 0px; 
}

ul.check li {
	position: relative;
	padding-left: 30px;
}

ul.check li:before {
    margin: 0 20px 0 0;
	content: "\f00c";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    position: absolute;
    left: 0;
    margin-top: 7px;
}
.contact_us h3 {
	margin-top: 0;
}
.contact_us ul li {
	line-height: 2.5;
	font-size: 15px;
}
.contact_us ul li.phone:before {
    margin: 0 14px 0 0;
	content: "\f095";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.contact_us ul li.mobile:before {
    margin: 0 20px 0 0;
    content: "\f10b";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.contact_us ul li.fax:before {
    margin: 0 20px 0 0;
	content: "\f00c";
    font-family: FontAwesome;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}
.contact_us ul li a:hover {
	color: #ff6600;
}

@media screen and (max-width: 991px) {
	.content-data h1 {
		font-size: 22px;
	}
	ul.check li {
		font-size: 15px;
	}
}

/* social_btns --------------- */
.socialblockCt {
	margin: 20px 0;
}
.social_btns .fa {
	font-size: 30px;
	margin-right: 10px;
}

.page-template-page-service .pest_inner_img img {
    max-width: 400px;
    max-height: 220px;
    height: auto;
    width: 100%;
    min-width: 300px;
}
.page-template-page-service  .pest_inner_img {
	width: auto;
}