/*
 Theme Name:   eps
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Peter Leighton
 Author URI:   http://www.d2creative.co.uk
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: 'dosisbold';
    src: url('fonts/dosis-bold-webfont.woff2') format('woff2'),
         url('fonts/dosis-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dosismedium';
    src: url('fonts/dosis-medium-webfont.woff2') format('woff2'),
         url('fonts/dosis-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dosisregular';
    src: url('fonts/dosis-regular-webfont.woff2') format('woff2'),
         url('fonts/dosis-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* font-family:'Aller W01 Light'; font-family:'Aller W01 Light Italic'; font-family:'Aller W01 Regular'; font-family:'Aller Display W01 Regular'; font-family:'Aller W01 Italic'; font-family:'Aller W01 Bold'; font-family:'Aller W01 Bold Italic'; */

body { background-color: #cccccc; }

/*  */
#logo { max-height: 220px; height: 220px; }

.blue-text , .blue-text h1 { color: #089bd9; }

.blue-text h1 { font-family: 'dosisbold'; font-size: 3vw; }
@media only screen and (min-width: 1590px) { .blue-text h1 { font-size: 51px; } }

.blue-hero-text #hero-text.et_pb_text_0 { padding-top: 4.7% !important; padding-bottom: 1% !important; }
#hero-container-plain #hero-row { min-height: 150px; }

/*
.et_header_style_left .logo_container { width: 25%; max-width: 260px; }
.et_header_style_left .logo_container img#logo { width: 100%; max-width: 260px; }
@media only screen and (min-width: 1590px) { 
	.et_header_style_left .logo_container { width: 260px; height: 220px; }
	.et_header_style_left .logo_container img { width: 260px;  }
}
*/

#et-main-area, #main-header { max-width: 1590px; margin-left: auto; margin-right: auto; }
#main-header .container { width: 100%; }
#main-header { box-shadow: 0 0 0 0; }
#top-menu > li:last-child { padding-right: 11px; }
span.logo_helper { display: none; }
#et-top-navigation { float: none; }
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation { padding-top: 0; }
.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a { padding-top: 29px; padding-bottom: 28px; }
#top-menu .menu-item-has-children > a:first-child::after { top: 40%; }
#top-menu li { padding-left: 11px; padding-right: 11px; float: left; }
.et-hover, .current_page_item { background-color: #f7a600; }
.current_page_item a { color: rgba(0, 0, 0, 0.6) !important; }
.nav li ul { border-top: none; left: 0px; padding-top: 0; padding-bottom: 0; }
#top-menu li li { padding: 0; }
#top-menu li li.et-hover { background-color: #dcdcdc; }
#top-menu li li a { width: 240px; padding: 11px 20px 11px 10px; }

.fb-block { float: right; position: absolute; top: 0; right: 0; }

#homepage-hero { min-height: 650px; position: relative; } 
#homepage-sub-hero { min-height: 342px; position: relative; }

#hero-row.et_pb_row_0 { background-repeat: no-repeat; }
#hero-content-row { position: absolute; bottom: 3%; }
#hero-content-row.et_pb_row.et_pb_row_fullwidth { max-width: 100% !important; width: 100% !important; }

.splitcols-four h3 { font-family: 'dosisbold'; font-size: 2vw; }
@media only screen and (min-width: 1590px) { .splitcols-four h3 { font-size: 35px; } }

.splitcols-four p:first-child { padding-right: 10%; }
.splitcols-four .et_pb_column { background: url('images/icon-std-size.png') no-repeat 15% 85%; min-height: 610px; }
.splitcols-four .et_pb_column { padding: 3% 4% 20% 4% !important; }

.splitcols-four .morelink { position: absolute; bottom: 15%; right: 12%; font-family: 'dosisbold'; font-size: 1.5vw; }

@media only screen and (min-width: 1590px) { font-size: 27px; }

.splitcols-four .morelink a { color: #535a45; } 

.splitcols-four hr { height: 5px; width: 25%; border: none; margin-left: 0; margin-bottom: 14%; }

.splitcols-four-one h3 { color: #3f4e54; }
.splitcols-four-two h3 { color: #f7a600; }
.splitcols-four-three h3, .splitcols-four-three hr { color: #089bd9; }
.splitcols-four-four h3, .splitcols-four-four hr { color: #bb7cb3; }

.splitcols-four-one hr { background-color: #3f4e54; }
.splitcols-four-two hr { background-color: #f7a600; }
.splitcols-four-three hr { background-color: #089bd9; }
.splitcols-four-four hr { background-color: #bb7cb3; }

#hero-text { font-family: 'dosisregular'; font-size: 2.8vw; line-height: 3.1vw; }
@media only screen and (min-width: 1590px) { #hero-text { font-size: 46px; line-height: 55px; } }

#hero-row.et_pb_row_0 { background-size: cover; }

.text-panel-white { font-family:'dosismedium'; font-size: 1.3vw; line-height: 1.8vw; }
@media only screen and (min-width: 1590px) { .text-panel-white { font-size: 22px; line-height: 30px; } }
.split-cols.split-cols-left { font-family: 'dosismedium'; font-size: 1.6vw; }
@media only screen and (min-width: 1590px) { .split-cols.split-cols-left { font-size: 27px; } }

.split-cols h3 { font-size: 3.7vw; width: 70%; }
@media only screen and (min-width: 1590px) { .split-cols h3 { font-size: 60px; } } /* Fix font sizes so they do not get any larger once you hit the max width */ 

.split-cols.split-cols-left ul, .split-cols.split-cols-left ul li { list-style: none; margin: 0; padding: 0; }
.split-cols.split-cols-left ul li { border-bottom: 1px solid #ffffff; padding: 12px 0; line-height: 2.4vw; } 
@media only screen and (min-width: 1590px) { .split-cols.split-cols-left ul li { line-height: 32px; } }

.split-cols.split-cols-left ul li:last-child { border-bottom: 0; }
.split-cols.split-cols-left table { margin-top: 20px; }
.split-cols.split-cols-left table, .split-cols.split-cols-left tr, .split-cols.split-cols-left td { border: 0px; }
.split-cols.split-cols-left td { padding-left: 0; padding-bottom: 9px; }

#white-text-row.et_pb_row { width: 100%; padding-left: 5%; padding-right: 5%;  }

#team-members .et_pb_row { padding-top: 0; }

#first-person.et_pb_team_member_0.et_pb_team_member { padding-top: 0 !important; }

.et_pb_team_member:nth-child(even) { background-color: #bb7cb3 !important; color: #ffffff !important; }
.et_pb_team_member:nth-child(even) h4, .et_pb_team_member:nth-child(even) .et_pb_member_position { color: #ffffff !important; }
.et_pb_team_member:nth-child(odd) { background-color: #e5e5e5 !important; color: #535a45 !important; }
.et_pb_team_member:nth-child(odd) h4, .et_pb_team_member:nth-child(odd) .et_pb_member_position { color:  #39464b !important; }
/*
.person-item.et_pb_bg_layout_light h4, .person-item.et_pb_bg_layout_light .et_pb_member_position { color: #39464b !important; }
.person-item.et_pb_bg_layout_dark h4, .person-item.et_pb_bg_layout_dark .et_pb_member_position { color: #fffefe !important; }
*/

#gallery-block, #form-map-panel { padding-top: 10px; }

/* Gallery Tweaks */
/* Set the image widths */
/*
.et_pb_gallery_grid .et_pb_gallery_item, .et_pb_gallery_grid .column_width, .et_pb_gallery_grid .et_pb_gallery_image, .et_pb_gallery_grid .et_pb_gallery_image.portrait img { width: 250px !important; }
.et_pb_gallery_grid .et_pb_gallery_image img { min-width: 250px; }
*/
/* Set the image heights */
/* .et_pb_gallery_grid .et_pb_gallery_image, .et_pb_gallery_grid .et_pb_gallery_image.landscape img { height: 250px !important; }
.et_pb_gallery_grid .et_pb_gallery_image img { min-height: 250px; }
*/

#hero-row.dog-walk-hero .et_pb_text_0 { padding-top: 0 !important; z-index: 20; }
#hero-row.dog-walk-hero .et_pb_text_0 h1 { width: 50%; padding: 16% 0 7.6% 0; font-size: 5.2vw; text-align: center; line-height: 5.4vw; }
@media only screen and (min-width: 1590px) { #hero-row.dog-walk-hero .et_pb_text_0 h1 { font-size: 86px; line-height: 86px; } }

.small-heading-text { font-size: 50%; font-family: 'dosisregular'; }
@media only screen and (min-width: 1590px) { .small-heading-text { font-size: 20px; } }

.pricing-row .split-cols { font-family: 'dosisregular'; }
.pricing-row .split-cols h3 { padding-bottom: 20px; }
#pricing-row-one { background-repeat: no-repeat; }
.pricing-row .split-cols h3 { width: 90%; }

#pricing-row-one .et_pb_column_1, #pricing-row-two .et_pb_column_3, #pricing-row-three .et_pb_column_5 { background-position: top right; }
#pricing-row-one .et_pb_column_2, #pricing-row-two .et_pb_column_4, #pricing-row-three .et_pb_column_6 { background-position: top left; }
.pricing-row { min-height: 100%; background-size: 100%; }

.pricing-cells.et_pb_row { padding-top: 0; padding-bottom: 0; }
.pricing-cells .smalltext { font-size: 1.1vw; line-height: 1.3vw; }
@media only screen and (min-width: 1590px) { .pricing-cells .smalltext { font-size: 18px; line-height: 22px; } }
.pricing-row p { font-size: 1.7vw; line-height: 2vw; }
@media only screen and (min-width: 1590px) { .pricing-row p { font-size: 28px; line-height: 34px; } } /* Fix font sizes so they do not get any larger once you hit the max width */ 

#pricing-row-one.pricing-row .et_pb_column_1 p { font-size: 1.2vw; line-height: 1.8vw; }
@media only screen and (min-width: 1590px) { #pricing-row-one.pricing-row .et_pb_column_1 p { font-size: 19px; line-height: 30px; } } /* Fix font sizes so they do not get any larger once you hit the max width */ 


#hero-row.testimonials-hero.et_pb_row_0 { position: relative; background-size: cover; background-position: top center; min-height: 800px; }
#hero-row.testimonials-hero .et_pb_text_0 { padding-top: 21% !important; z-index: 20; }
#hero-row.testimonials-hero .et_pb_text_0 h1 { font-family: 'dosisbold'; font-size: 4.5vw; }
@media only screen and (min-width: 1590px) { #hero-row.testimonials-hero .et_pb_text_0 h1 { font-size: 82px; } }

.testimonial-item { padding: 3% 15% 3% 5%; background-image: url('images/icon-std-size.png'); background-position: 95% 50%; background-repeat: no-repeat;  }
#testimonial-first .testimonial-item { position: absolute; top: -380px; z-index: 10; padding-bottom: 0; background-position: 95% 60%; }

#testimonial-wrap h2 { font-family: 'dosisbold'; font-size: 2vw; margin-bottom: 1.2vw; }
@media only screen and (min-width: 1590px) { #testimonial-wrap h2 { font-size: 36px; margin-bottom: 20px; } }

#testimonial-wrap .et_pb_row:nth-child(odd) { background-color: #bb7cb3; }
#testimonial-wrap .et_pb_row:nth-child(even) { background-color: #e5e5e5; }
#testimonial-wrap #testimonial-first.et_pb_row { background-color: transparent; }

.the-testimonial, .testimonial-credit { font-family: 'dosisregular'; font-size: 1.5vw; line-height: 2vw; }
@media only screen and (min-width: 1590px) { .the-testimonial, .testimonial-credit { font-size: 26px; line-height: 34px; } }
.testimonial-credit { font-family: 'dosisbold'; }

#links-heading-panel { padding-top: 90px; }
#links-block.et_pb_section { padding-top: 0; }
#links-block .et_pb_column { padding-top: 80px; padding-bottom: 80px; }
.link-logo { position: relative; min-height: 80px; margin-bottom: 7%; }
.link-logo img { /* position: absolute; */ bottom: 0; }
#links-block a { color: #3f4e54; font-weight: bold; }

#form-map-panel .et_pb_column.et_pb_column_1_2.et_pb_column_1 { padding-top: 50px; padding-bottom: 50px; }
.et_pb_column_1_2 .et_pb_map, .et_pb_column_3_8 .et_pb_map { height: 620px; }
#eps-contact-form label { display: none; }

#eps-contact-form p { padding-bottom: 0.5em; }
#eps-contact-form p input { padding: 0.7em; }
#eps-contact-form p.form-elements input, #eps-contact-form p.form-elements textarea { padding: 0.7em; width: 80%; font-size: 1.5em; font-family: 'dosisbold'; }
#eps-contact-form p.form-button input { float: right; margin-right: 20%; font-size: 1.5em; font-family: 'dosisbold'; padding: 0.4em 2em; background-color: #3f4e54; color: #ffffff; border: none; }

::-webkit-input-placeholder { color: #535a45 !important; }
:-moz-placeholder { color: #535a45 !important; } /* Firefox 18- */
::-moz-placeholder { color: #535a45 !important; }  /* Firefox 19+ */
:-ms-input-placeholder { color: #535a45 !important; }

/* Only add the rollovers on larger screens */

@media all and (min-width: 960px) {
	#animal-panels .splitcols-four-one:hover { background-image: url('images/home-hover-one.png'); background-position: center; }
	#animal-panels .splitcols-four-two:hover { background-image: url('images/home-hover-reptile.jpg'); background-position: center; }
	#animal-panels .splitcols-four-three:hover { background-image: url('images/home-hover-three.png'); background-position: center; }
	#animal-panels .splitcols-four-four:hover { background-image: url('images/home-hover-cat.jpg'); background-position: center; }
	
	#animal-panels .splitcols-four-one:hover h3, #animal-panels .splitcols-four-one:hover hr, #animal-panels .splitcols-four-one:hover p, #animal-panels .splitcols-four-one:hover a span,
	#animal-panels .splitcols-four-two:hover h3, #animal-panels .splitcols-four-two:hover hr, #animal-panels .splitcols-four-two:hover p, #animal-panels .splitcols-four-two:hover a span,
	#animal-panels .splitcols-four-three:hover h3, #animal-panels .splitcols-four-three:hover hr, #animal-panels .splitcols-four-three:hover p, #animal-panels .splitcols-four-three:hover a span,
	#animal-panels .splitcols-four-four:hover h3, #animal-panels .splitcols-four-four:hover hr, #animal-panels .splitcols-four-four:hover p, #animal-panels .splitcols-four-four:hover a span { visibility: hidden; }
	
	
	#animal-panels .splitcols-four-one:hover .morelink, #animal-panels .splitcols-four-two:hover .morelink, #animal-panels .splitcols-four-three:hover .morelink, #animal-panels .splitcols-four-four:hover .morelink { width: 100%; height: 100%; top: 494px; left: 188px; }
	
	#animal-panels .splitcols-four-one:hover .morelink a, #animal-panels .splitcols-four-two:hover .morelink a, #animal-panels .splitcols-four-three:hover .morelink a, #animal-panels .splitcols-four-four:hover .morelink a { display: block; width: 100%; height: 100%; color: #fff; }
}

#about-details, .scaled-background { background-repeat: no-repeat; background-size: cover; }

.person-item { background-image: url('http://www.exeterpetsitters.co.uk/wp-content/uploads/2016/11/icon-std-size.png'); background-repeat: no-repeat; background-position: 96% 50%; }

.person-item { font-family: 'dosisregular'; }
.person-item .et_pb_team_member_image { margin-top: 6px; }
.person-item p.person-info { margin-top: 3%; }

.person-item p { font-size: 1.6vw; line-height: 2vw }
@media only screen and (min-width: 1590px) { .person-item p { font-size: 26px; line-height: 32px; } }

.person-item h4, .person-item p.et_pb_member_position { font-size: 3.1vw; line-height: 3.4vw; }
@media only screen and (min-width: 1590px) { .person-item h4, .person-item p.et_pb_member_position { font-size: 49px; line-height: 56px; } }


#first-person.et_pb_team_member_0.et_pb_team_member.person-item { background-position: 96% 20%; }

#text-quote .et_pb_text { font-family:'dosismedium'; font-size: 1.7vw; line-height: 2.6vw; letter-spacing: 3px; }

#cta-panel .et_pb_row, #footer-panel .et_pb_row { width: 90%; }

#contact-panel { font-family: 'dosisbold'; font-size: 3.5vw; line-height: 3.3vw; }
@media only screen and (min-width: 1590px) { #contact-panel { font-size: 64px; line-height: 64px; } }

#contact-panel a { color: #666; }

.cta-pic { width: 20%; }
.cta-pic img { width: 100%; }
@media only screen and (min-width: 1590px) { .cta-pic img { width: auto; } .cta-pic { width: 266px; } }
.cta-body { position: absolute; bottom: 0; left: 26%; }

#footer-panel { padding-bottom: 15%; padding-top: 0; }

#footer-panel.et_pb_section { background-position: bottom !important; background-size: 100% !important; } 

#footer-left-col { font-family: 'dosisbold'; font-size: 1vw; line-height: 1.1vw; }
@media only screen and (min-width: 1590px) { #footer-left-col { font-size: 18px; line-height: 22px; } }

#footer-left-col ul, #footer-left-col ul li { list-style: none; margin: 0; padding: 0; }
#footer-left-col ul li a { display: block; color: #ffffff; background-color: #aaaaaa; padding: 4% 2%; margin-bottom: 5px; text-align: center; font-size: 1.2vw; }
#footer-left-col ul li:first-child { margin-top: 14px; }
#footer-center-col { color: #089bd9; padding-top: 2%; }


#footer-right-col { position: relative; }
#footer-right-col .et_pb_image img { float: right; margin-top: 30%; }

.credits { font-weight: bold; color: #999999; margin-top: 16px; }
.credits a { color: #999999; }




#homepage-hero h2 { font-family: 'dosisregular'; font-size: 4vw; }
@media only screen and (min-width: 1590px) { #homepage-hero h2 { font-size: 73px; } }

#homepage-hero h1 { font-family: 'dosisbold'; font-size: 6vw; }
@media only screen and (min-width: 1590px) { #homepage-hero h1 { font-size: 103px; } }

#hero-sub-content-row h3 { padding-top: 2%; font-family: 'dosisregular'; font-size: 2vw; letter-spacing: 3px; }
@media only screen and (min-width: 1590px) { #hero-sub-content-row h3 { font-size: 31px; } }

#main-footer { display: none; }

#et_mobile_nav_menu { margin-right: 15%; }

@media only screen and ( max-width: 1350px ) {
	#logo { height: 200px; max-height: 200px; }
	#top-menu-nav, #top-menu { display: none; }
	/* #et_top_search {display: none;} */
	#et_mobile_nav_menu { display: block; }
	#et-top-navigation { height: 72px; }
	#et_mobile_nav_menu { margin-right: 90px; }
	.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar { padding-top: 24px; padding-bottom: 16px; }
}


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

	#logo { height: 150px; max-height: 150px; }
	
	.split-cols h3 { font-size: 5vw; }
	.pricing-row p { font-size: 2.7vw; line-height: 3vw; }
	.pricing-cells .smalltext { font-size: 2.1vw; line-height: 2.3vw; }
	#pricing-row-one.pricing-row .et_pb_column_1 p { font-size: 2.2vw; line-height: 2.8vw; }
	
	#hero-container-plain #hero-row { min-height: 90px; }
	.blue-hero-text #hero-text.et_pb_text_0 { padding-top: 3% !important; }

	.splitcols-four .et_pb_column { background-image: none; }
	.splitcols-four .morelink { position: relative; top: 0; left: 0; font-size: 2.5vw; margin-top: 20px; margin-bottom: 20px; }
	.splitcols-four hr { margin-bottom: 5%; }
	#text-quote .et_pb_text { font-size: 4vw; line-height: 5vw; }
	#footer-left-col { font-size: 4vw; line-height: 5vw; }
	.cta-body { clear: both; position: relative; top: 20px; left: 0; font-size: 6vw; line-height: 6vw; }
	#footer-left-col ul li a { font-size: 6vw; }
	#footer-right-col .et_pb_image img { margin-top: 10px; }
}

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

	#logo { height: 110px; max-height: 110px; }
	.person-item img { width: 100%; margin-bottom: 20px; }
	
	#homepage-hero h2 { font-size: 5.5vw; }
	#homepage-hero h1 { font-size: 7vw; }
	#hero-container-plain h1 { font-size: 5.5vw; }
	.blue-hero-text #hero-text.et_pb_text_0 { padding-top: 3.3% !important; }
	.splitcols-four .morelink { font-size: 4vw; }
	
	#hero-container-plain #hero-row { min-height: 60px; }
	#hero-sub-content-row h3, .splitcols-four h3, #hero-text, #about-details h3, .split-cols.split-cols-left h3, .split-cols.split-cols-left { font-size: 5vw; }
	#about-details .split-cols.split-cols-left img.alignright { width: 90px; }
	#pricing-row-one.pricing-row .et_pb_column_1 p { font-size: 3vw; line-height: 4vw; }
	.pricing-row p { font-size: 3.5vw; line-height: 4.5vw; }
	.pricing-row p.smalltext { font-size: 3vw; line-height: 4vw; }
	#hero-text { font-size: 3vw; line-height: 3.5vw; }
	.text-panel-white { font-size: 2.5vw; line-height: 3vw; }
	.split-cols.split-cols-left td { padding-bottom: 4px; }
	
	.split-cols.split-cols-left ul li { font-size: 3vw; line-height: 3.5vw; }
	#animal-panels .et_pb_row { padding-top: 0 !important; padding-bottom: 0 !important; }
	#animal-panels.et_pb_section { padding-top: 5% !important; padding-bottom: 0 !important; }
	#cta-panel #contact-panel .cta-pic img { width: 90px; }
	#cta-panel.et_pb_section { padding-top: 15px; padding-bottom: 15px; }
	#team-heading-panel { height: auto; }
	#team-members .et_pb_row { padding-top: 0; }
	#first-person.person-item .et_pb_team_member_image { margin-top: 0; padding-top: 6px; }
	
	.person-item h4, .person-item p { font-size: 4vw; line-height: 5vw; }
	.person-item h4, .person-item p.et_pb_member_position { font-size: 5.1vw; line-height: 5.4vw; }
	/* #team-members { position: relative; top: -30px; } */
	.person-item { background-position: 96% 98%; }
	#first-person.et_pb_team_member_0.et_pb_team_member.person-item { background-position: 96% 98%; }
	.person-item p { padding-bottom: 120px; }
	.person-item p.et_pb_member_position { padding-bottom: 0px; }
	#first-person.et_pb_team_member_0.et_pb_team_member, #team-members .et_pb_team_member { padding: 4% 4% 4% 6% !important; }
	
	
	.et_header_style_left #logo, .et_header_style_split #logo { max-width: 100%; }
	
	#eps-contact-form p.form-elements input, #eps-contact-form p.form-elements textarea { width: 100%; }
	#eps-contact-form p.form-button input { margin-right: 0; }
	
	#hero-row.testimonials-hero .et_pb_text_0 { padding-top: 15% !important;  }
	#hero-row.testimonials-hero.et_pb_row_0 { min-height: 140px; }
	#testimonial-first .testimonial-item { position: relative; top: 0px; background-color: #bb7cb3; padding-bottom: 15px; }
	.testimonial-item { background-image: none; background-size: auto; }
	#testimonial-wrap h2 { font-size: 4vw; }
	.the-testimonial { font-size: 3vw; line-height: 4vw; }
	.testimonial-item { padding-right: 5%; }
	.testimonial-credit { font-size: 3vw; line-height: 4vw; }
	
	#links-block .et_pb_column { padding-top: 10px; padding-bottom: 30px; }
	
	.person-item p { padding-bottom: 6px; }
	.person-item { background-image: none; }
	
}
