/*
 Theme Name:     Divi Child Theme
 Description:    Divi Child Theme for DEWDNEYVET.com
 Author:         Dionne Ong
 Author URI:     http://www.dionneong.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* GENERAL
------------------------------------------------------- */

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

.box-shadow {
	box-shadow: 0 0 40px -12px #000;
}

.home .et_pb_blog_grid .et_pb_post {
	margin-bottom: 0 !important;
}

h1, h2, h4 {
	line-height: 1.33em !important;
	font-weight: 800 !important;
}

.et_pb_section .et_pb_row h2 {
	font-size: 50px;
	line-height: 59px;
}

.et_pb_section .et_pb_row h3 {
	font-size: 24px;
	line-height: 32px;
}

.white {
	color: #FFF;
}

.thick {
	font-weight: 600;
}

.font-size-18 {
	font-size: 18px;
}

.font-size-24 {
	font-size: 24px;
}

.font-size-32 {
	font-size: 32px;
}

.font-size-36 {
	font-size: 36px;
}

.font-size-42 {
	font-size: 42px;
}

.font-size-48 {
	font-size: 48px;
}

.font-size-60 {
	font-size: 60px;
}

.font-size-72 {
	font-size: 72px	;
}

.font-size-96 {
	font-size: 96px;
}

@media screen and (max-width: 600px) {

	.font-size-36 {
		font-size: 18px;
	}

	.font-size-96 {
		font-size: 36px;
	}
}

@media screen and (min-width: 601px) and (max-width: 980px) {

	.font-size-36 {
		font-size: 24px;
	}

	.font-size-96 {
		font-size: 60px;
	}
}

body #page-container .et_pb_button.et_pb_button {
	position: relative;
	padding: 24px !important;
	border: 1px solid rgba(255,255,255,0.15);
	min-width: 300px;
	background-color: #E04A5D;
	box-shadow: 0 6px 0px 0 #9E3F36;
	border-radius: 18px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 3.7px;
	text-align: center;
}

body #page-container .et_pb_button.et_pb_button:active {
	background-color: #a33745;
}

@media screen and (max-width: 500px) {
	body #page-container .et_pb_button.et_pb_button {
		width: 100%;
	}
}

body #page-container .et_pb_button.et_pb_button:hover {
	opacity: 0.8;
}

.et_pb_bg_layout_light.et_pb_module.et_pb_button {
	color: #fff;
}


/* HEADER
------------------------------------------------------- */

#page-container {
	padding-top: 0 !important;
}

#page-container #main-header {
	background-color: #b73655;
}

@media (min-width: 980px) {
	#page-container #main-header {
		background-color: transparent;
		box-shadow: none;
	}
	#page-container .et-fixed-header#main-header {
		background-color: rgba(68,68,68,0.63);
	}
}

.et_header_style_left .mobile_menu_bar {
	margin-bottom: 24px;
	padding: 1px;
	background-color: #e04a5d;
	border: 1px solid #ffffff;
	border-radius: 8px;
}

#page-container #main-header .et_mobile_menu {
	background-color: #b73655;
}


/* HOME
------------------------------------------------------- */
.dewdney-hero {
	background-position: top center;
	height: calc(100vh - 84px);
	min-height: 0 !important;
}

.dewdney-hero .et_pb_fullwidth_header_container {
	max-width: 1260px;
	height: calc(100vh - 84px);
}

@media (min-width: 980px) {
	.dewdney-hero,
	.dewdney-hero .et_pb_fullwidth_header_container {
		height: 100vh;
	}
}

.dewdney-hero .header-content-container {
	max-width: 506px;
	align-self: flex-end;
	margin-top: auto;
}

.dewdney-hero .et_pb_fullwidth_header_container .header-content-container .header-content {
	margin: 0;
	padding: 0;
}

.dewdney-hero .header-content p {
	display: none;
}

.dewdney-hero h1 {
	text-align: center;
	text-shadow: 0 2px 19px rgba(255, 255, 255, 0.12), 3px 6px 0 #b73655;
	line-height: 1.06 !important;
}

@media (min-width: 780px) {
	.dewdney-hero h1 {
		text-align: left;
	}
	.dewdney-hero .header-content-container {
		margin-top: 80px;
		align-self: center !important;
	}
}

.homevideo {
	border-radius: 9px;
    overflow: hidden;
    -webkit-box-shadow: 10px 10px 27px -8px rgba(0, 0, 0, 0.32);
	-moz-box-shadow: 10px 10px 27px -8px rgba(0, 0, 0, 0.32);
	box-shadow: 10px 10px 27px -8px rgba(0, 0, 0, 0.32);
}

.cff-wrapper {
    padding: 44px;
    background-color: #F7F7F7;
/*    border: 1px solid #DADADA;*/
}

#u_0_0 ._2p3a {
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 966px) {
	  .home .et_pb_section_2 {
	    background-image: none;
		}
}

#home-four-blurbs {
	margin-top: -54px;
}

#home-four-blurbs .et_pb_column {
	width: 100% !important;
	margin-bottom: 30px !important;
	margin-right: 0 !important;
	border-radius: 18px;
	box-shadow: 9px 9px 13px 0 rgba(238, 120, 71, 0.39), -9px -9px 12px 0 rgba(255, 198, 161, 0.23);
}

@media screen and (min-width: 720px) {
	#home-four-blurbs {
		margin-top: -100px;
	}

	#home-four-blurbs .et_pb_row {
		flex-wrap: wrap;
	}

	#home-four-blurbs .et_pb_column {
		margin-right: 2% !important;
		width: 49% !important;
		flex: 1 1 49%;
	}

	#home-four-blurbs .et_pb_column:nth-child(even) {
		margin-right: 0 !important;
	}
}

@media screen and (min-width: 1350px) {
	#home-four-blurbs .et_pb_column {
		width: 23.5% !important;
		flex: 1 1 23.5%;
	}
	#home-four-blurbs .et_pb_column:nth-child(even) {
		margin-right: 2% !important;
	}
	#home-four-blurbs .et_pb_column:last-child {
		margin-right: 0 !important;
	}
}



#home-four-blurbs .et_pb_column:last-child {
	margin-right: 0;
}

@media (max-width: 767px) {
	#home-four-blurbs + .et_pb_section {
		padding: 4px 0;
	}
}

.dewdney-blurb {
	color: #fff;
}

.dewdney-blurb br {
	display: none;
}

.dewdney-blurb__header {
	padding: 32px 42px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: rgba(182, 0, 0, 0.05);
}

.dewdney-blurb__header .fa {
	font-size: 24px;
}

.dewdney-blurb__header h3 {
	margin-top: 24px;
	color: #fff;
	font-weight: 600;
	text-align: center;
}

.dewdney-blurb__header h3 span {
	display: block;
}

@media (min-width: 720px) {
	.dewdney-blurb__header {
		padding: 42px 32px;
		min-height: 204px;
	}
}

.dewdney-blurb p {
	padding: 42px 42px 60px 42px;
}

.as-seen-on {
	margin: 16px auto 0;
	border-radius: 18px;
	border: 1px solid #E2E8F6;
	padding: 32px 42px;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 730px;
}

@media (min-width: 720px) {
	.as-seen-on {
		flex-direction: row;
		justify-content: space-between;
	}
}

.as-seen-on h3 {
	color: #7E7E7E;
	font-weight: 700;
	font-size: 20px;
}

.love-as-family .et_pb_column_1_3 {
	margin-bottom: 72px;
}

.love-as-family .et_pb_column .et_pb_blurb {
	margin-bottom: 48px;
}

@media (max-width: 600px) {
	.love-as-family .et_pb_video_box {
		margin-left: 50%;
		width: 100vw;
		transform: translateX(-50%);
	}
	.love-as-family .et_pb_video_overlay {
		left: 50%;
		width: 100vw;
		transform: translateX(-50%);
	}
}

@media (max-width: 980px) {
	.love-as-family {
		padding-bottom: 20px;
	}
	.love-as-family + .et_pb_section {
		padding-top: 0;
	}
}

@media (min-width: 767px) {
	.love-as-family .et_pb_column_1_3 {
		margin-bottom: 0;
	}
	.love-as-family .et_pb_column .et_pb_blurb {
		margin-bottom: 0;
	}
}

.love-as-family h4 {
	margin-bottom: 32px;
}

.facebook-cta {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 630px;
}

.facebook-cta br {
	display: none;
}

.facebook-cta__icon-row {
	display: flex;
	justify-content: align-items;
	margin-bottom: 24px;
}

.facebook-cta__icon-row svg {
	margin: 0 20px;
	height: 24px;
	color: #3C3B3F;
}

.dewdney-grid {
	display: grid;
  grid-gap: 42px 36px;
  justify-content: center;
  align-content: stretch;
}

.dewdney-grid img {
	border: 5px solid rgba(255,255,255,0.73);
	box-shadow: 0 22px 41px -15px rgba(49,50,57,0.31), 4px 8px 7px 5px rgba(0, 0, 0, 0.15);
}

.dewdney-grid img:nth-of-type(1) {
	grid-column: 1 / 7;
	grid-row: 1 / 4;
}

.dewdney-grid img:nth-of-type(2) {
	grid-column: 1 / 3;
	grid-row: 4;
}

.dewdney-grid img:nth-of-type(3) {
	grid-column: 3 / 5;
	grid-row: 4;
}

.dewdney-grid img:nth-of-type(4) {
	grid-column: 5 / 7;
	grid-row: 4;
}

.dewdney-grid img:nth-of-type(5) {
	grid-column: 1 / 3;
	grid-row: 5;
}

.dewdney-grid img:nth-of-type(6) {
	grid-column: 1 / 3;
	grid-row: 6;
}

.dewdney-grid img:nth-of-type(7) {
	grid-column: 3 / 7;
	grid-row: 5 / 7;
}

.dewdney-grid img:nth-of-type(8) {
	grid-column: 1 / 7;
	grid-row: 7 / 10;
}

.dewdney-grid img:nth-of-type(9) {
	grid-column: 1 / 4;
	grid-row: 10 / 12;
}

.dewdney-grid img:nth-of-type(10) {
	grid-column: 4 / 7;
	grid-row: 10 / 12;
}

@media (min-width: 720px) {
	.dewdney-grid {
		grid-gap: 35px 36px;
		grid-template-columns: repeat(8, 2fr);
		grid-template-rows: repeat(3, 1fr);
		justify-content: center;
		align-content: stretch;
	}

	.dewdney-grid img:nth-of-type(1) {
		grid-column: 1 / 4;
		grid-row: 1 / 4;
	}

	.dewdney-grid img:nth-of-type(2) {
		grid-column: 4;
		grid-row: 1;
	}

	.dewdney-grid img:nth-of-type(3) {
		grid-column: 4;
		grid-row: 2;
	}

	.dewdney-grid img:nth-of-type(4) {
		grid-column: 4;
		grid-row: 3;
	}

	.dewdney-grid img:nth-of-type(5) {
		grid-column: 5;
		grid-row: 1;
	}

	.dewdney-grid img:nth-of-type(6) {
		grid-column: 6;
		grid-row: 1;
	}

	.dewdney-grid img:nth-of-type(7) {
		grid-column: 5 / 7;
		grid-row: 2 / 4;
	}

	.dewdney-grid img:nth-of-type(8) {
		grid-column: 7 / 9;
		grid-row: 1 / 3;
	}

	.dewdney-grid img:nth-of-type(9) {
		grid-column: 7;
		grid-row: 3;
	}

	.dewdney-grid img:nth-of-type(10) {
		grid-column: 8;
		grid-row: 3;
	}
}


/* ABOUT US
------------------------------------------------------- */

@media (max-width: 979px) {
	#et-main-area {
		margin-top: 84px;
	}
}

.aboutintro p {
	font-size: 23px;
    font-weight: 300;
    line-height: 1.4;
}

.aboutservices ul {
	list-style-type: none;
}

.aboutservices li {
	font-size: 16px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-weight: 300;
}

.aboutservices .et_pb_text p + h3 {
	margin-top: 36px;
}

.et_pb_team_member .et_pb_team_member_image {
	text-align: left;
}

.et_pb_team_member_description h4 {
	font-size: 24px;
	padding: 16px 0;
	font-weight: 500 !important;
	letter-spacing: normal;
}


/* FOOTER 
------------------------------------------------------- */
.dewdney-footer.et_pb_section {
	border-top: 18px solid #e04a5d;
	background-color: #b73655;
}

.dewdney-footer .et_pb_row {
	margin: 0 auto;
	max-width: 782px;
}

.dewdney-footer .et_pb_row:first-child {
	margin-bottom: 24px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dewdney-footer .et_pb_row:first-child .et_pb_column {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	line-height: 1.5;
}

@media (min-width: 767px) {
	.dewdney-footer .et_pb_row:first-child .et_pb_column:first-child {
		justify-content: flex-end;
	}
	.dewdney-footer .et_pb_row:first-child .et_pb_column:last-child {
		justify-content: flex-start;
	}
	.dewdney-footer .et_pb_row:first-child .et_pb_column:last-child .et_pb_text {
		margin: 0;
		text-align: left;
	}
	.dewdney-footer .et_pb_row:last-child .et_pb_text {
		margin: 0;
		text-align: left;
	}
}

#page-container .dewdney-footer .et_pb_button.et_pb_button {
	padding: 4px 20px !important;
	min-width: initial;
	font-size: 24px;
	line-height: 33px;
	font-weight: normal;
	letter-spacing: normal;
	box-shadow: none;
	border-radius: 0;
	border: 1px solid #fff;
	background-color: transparent;
}

.dewdney-footer h4 {
	font-size: 18px;
	font-weight: normal !important;
	letter-spacing: normal;
}

.dewdney-footer a {
	color: #fff;
	text-decoration: underline;
}

.dewdney-footer a:hover {
	opacity: 0.75;
}

.dewdney-footer ul {
	padding-left: 0;
	list-style-type: none;
}

.dewdney-footer li {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
}

.dewdney-footer__group {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
}

.footertop img { 
	padding: 5px;
}

.footertop p {
	color: rgba(41, 7, 7, 0.15);
}

.footertop a {
	color: #ffffff;
	letter-spacing: 0.5px;
}

.footerbottom a, .footerbottom .et_pb_blog_grid .et_pb_post a, .footerbottom .et_pb_post p {
	color: #ffffff;
}

.footertop .footernav {
	padding-top: 27px;
}

a.et_pb_button.footerbutton {
	margin-top: 14px !important;
}

.footertop {
	border-bottom: 1px solid rgba(41, 7, 7, 0.11);
/*	border-top: 2px solid #eb5f4d;*/
} 

.footerstayuptodate {
	border-right: 1px solid rgba(41, 7, 7, 0.11);
}

.footerbottom a:hover, .footertop a:hover {
	color: #8A2323;
}

.footerbottom .et_pb_blog_grid .et_pb_post {
    padding: 9px;
    border: 1px solid rgba(41, 7, 7, 0.15);
    background-color: rgba(109, 53, 46, 0.14);
    word-wrap: break-word;
    color: #FFFFFF;
}

.footerbottom h2.entry-title {
    text-align: center;
}

a.emergency {
    font-size: 10px;
}

.emergencieshead h3 {
	font-size: 15px;
}

/* CONTACT
------------------------------------------------------- */

.et_contact_bottom_container {
	overflow: visible;
}

/* BLOG
------------------------------------------------------- */

.et_pb_post h2.entry-title {
	font-size: 24px;
	letter-spacing: normal;
}

body:not(.et_pb_pagebuilder_layout) #main-header {
	background-color: #1e1e1e;
}

.blogslider .post-meta {
	display: none !important;
}

.single .et_pb_text.et_pb_module.et_pb_bg_layout_light.et_pb_text_align_left.et_pb_text_3 {
    padding-left: 0px !important;
}
