/*
 Theme Name:   Divi Child
 Theme URI:    
 Description:  Divi Child Theme
 Author:       Peter Rondelez
 Author URI:   https://www.wishlink.ca
 Template:     Divi
 Version:      1.0.0
 Tags: 
*/

/*

Divi Break Points:

@media (max-width: 1080px){}
@media (max-width: 980px){}
@media (max-width: 767px){}
@media (max-width: 480px){}

*/


/*****

Header

*****/

/* Prevent last dropdown menu from leaving page */
#top-menu > li:last-child .sub-menu {
position: absolute;
right: 0;
}

/* Hide secondary nav (top-header) on scroll */

#top-header.et-fixed-header {
/*	display: none !important; */
	z-index: 0;
}

#main-header {
	/*top: 36px !important;*/
}

#main-header.et-fixed-header {
	top: 0 !important;
	transition: 0.3s !important;
}

#top-header {
	transition: 0.3s !important;
}

#main-header {
	transition: 0.3s !important;
}

/*
#top-header.et-fixed-header {
	opacity: 100;
	transition: 0s !important;
}
*/

/* Bring all content up to hide white header gap on scroll-up */
div#page-container {
	/*
	background: url("/wp-content/uploads/page_header_bg.gif") left -50px scroll repeat-x;
	*/
}
div#et-main-area {
	background-color: #FFF;
}

/* Add shadow to header */
header#main-header,
header#main-header .et-fixed-header {
-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.6);
-moz-box-shadow:    0px 2px 5px 0px rgba(0, 0, 0, 0.6);
box-shadow:         0px 2px 5px 0px rgba(0, 0, 0, 0.6);
}


/* END Header */

/*****

Navigation

*****/

#top-menu li li a {
	font-size: 17px;
	font-weight: normal;
	line-height: 1.2em;
	/* border-top: 1px solid #6D6D6D; */
}

#top-menu li li a:hover {
	background-color: #565656;
	color: #FFF;
}

#main-header .et_mobile_menu {
	background-color: #5e5e5e !important;
}

.et_mobile_menu li a {
	color: #fff !important;
	font-size: 18px;
}

#main-header .mobile_menu_bar:before {
	color: #fff;
}

/*
.dashicons,
.dashicons-before:before {
	color: #000;
}
*/


/* Mobile/Tablet Nav */

@media (max-width: 980px) {
	.et_header_style_left #logo {
		max-height: 100%;
		max-width:75%;
	}
}

/* END Navigation */

/*****

Share Buttons

*****/

/* Fix share buttons alignment
.et_social_inline ul.et_social_icons_container li {
	display: inline-block;
	float: none;
}

.et_monarch .et_pb_section .et_social_inline_top {
	margin-top: 0;
	margin-bottom: 0;
}
 */
/* END Share Buttons */

/*****

Sidebar

*****/

/* Hide sidebars on all posts */
.single-post div#left-area {
width: 100%;
padding-right: 0;
}
.single-post #main-content .container:before {
content: initial;
}

/* END Sidebar */

/*****

Content

*****/

/*

Content Pages

*/

div#sw_content_area li {
	list-style-position: outside;
	margin-bottom: 7px;
	margin-left: 30px;
}

div#sw_content_area tr td {
	padding: 10px 5px;
}

/* END - Content Pages */

/*****

Calculators

*****/

#sw_calc table {
	width: auto;
	margin: auto;
	font-size: 15px;
}

.page-id-945 #sw_calc tr:nth-child(-n+6) {
	background-color: #F7F7F7;
}
.page-id-6064 #sw_calc tr:nth-child(-n+5) {
	background-color: #F7F7F7;
}

#sw_calc td {
	padding: 5px;
}

#sw_calc input[type=button] {
	padding: 6px 10px;
	color: #FFF;
	font-weight: bold;
	font-size: 15px;
	background-color: #000;
	border: 0;
	border-radius: 4px;
}

#sw_calc input[type=button]:hover {
	background-color: #2369E0;
}

#sw_calc_fineprint {
	font-size: 11px;
	color: #CCC;
}

select#sw_calc_hideterm {
	display: none;
}

/* END Calculators */

body.page-id-916 div#sw_content_area h2 {
	margin: 20px 0;
}
body.page-id-916 div#sw_content_area p {
	border-bottom: 1px solid #DBDBDB;
	padding-bottom: 4px;
}

body.page-id-916 div#sw_content_area p:last-of-type {
	border-bottom: none;
	padding-top: 20px;
}

/*

Ninja Forms

*/

div.ninja-forms-form-wrap input[type=text],
div.ninja-forms-form-wrap input[type=email],
div.ninja-forms-form-wrap input[type=tel],
div.ninja-forms-form-wrap select,
div.ninja-forms-form-wrap textarea {
	font-size: 15px;
	padding: 5px;
}

div.nf-field-container {
	margin-bottom: 5px;
}

.label-above div.nf-field-label {
	margin-bottom: 2px;
}

div.ninja-forms-form-wrap input[type=button] {
	padding: 10px 20px;
	margin-top: 20px;
	background: #000;
	color: #fff;
	border: none;
	font-size: 20px;
	border-radius: 5px;
}

div.ninja-forms-form-wrap input[type=button]:hover {
	background: #2369E0;
}

/* END Ninja Forms */

div.our_team_person .et_pb_team_member_image img {
	border-radius: 100%;
	max-width: 270px;
}

div#title_divider_row {
	background: url("https://www.suttonwolf.ca/wp-content/uploads/sw_divider.gif") center bottom no-repeat scroll;
	height: 15px;
}

div#title_module {
	background: url("https://www.suttonwolf.ca/wp-content/uploads/title_arrow_bg.png") left 11px no-repeat scroll;
}

div.et_pb_text h2 {
	border-left: solid 2px #E80000;
	padding-top: 5px;
	padding-left: 10px;
	margin-top: 8px;
	margin-bottom: 5px;
	line-height: 1.3em;
}

@media (max-width: 767px){
	div.et_pb_text h2 {
		font-size: 22px;
	}
}

div.et_pb_text p img {
	padding: 10px 20px;
}
@media only screen and ( max-width: 650px ) {
	div.et_pb_text p img {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
}

div#main-content ul.lcp_catlist {
	padding-left: 0;
	/* border-top: 1px solid #EDEDED; */
}

ul.lcp_catlist li {
	list-style-type: none;
	padding: 0;
	border: 1px solid #EDEDED; /* #E5E5E5 */
	border-top: none;
	font-size: 18px;
}

ul.lcp_catlist li a {
	display: block;
	color: #333;
	background-color: #F7F7F7;
	padding: 10px;
}

ul.lcp_catlist li a:hover {
	color: #2369e0;
	background-color: #E0EEFF;
}

ul.lcp_catlist li.current a {
	color: #E80000;
	font-weight: bold;
	background-color: #FFF;
}

ul.lcp_catlist li.current a:hover {
	text-decoration: none;
}

/*

Home Page Our Team

*/

.home_team_member {
	border-radius: 5px;
}

.home_team_member .et_pb_main_blurb_image img {
	border-radius: 100% !important;
	margin-top: -75px;
}

.home_team_member .et_pb_main_blurb_image {
	margin-bottom: 15px;
}

/* END Home Page Our Team */

/*

Local Organizations and Services Page

*/

div.et_pb_image.local_links_image img {
	max-height: 100px;
	width: auto;
}

div.local_links_text {
	line-height: 1.3em;
	padding-top: 10px;
}

/* END Local Organizations and Services Page */

/*

WP Show Posts

*/

#sw_sold_listings div.wp-show-posts-inner {
	border: 1px solid #DDDDDD;
	background: #FFF;
}
#sw_sold_listings div.wp-show-posts-image {
	position: relative;
	/*padding-top: 1px;*/
	margin-bottom: 8px;
}

div.wp-show-posts-image:after {
	content: "SOLD!";
	font-size: 15px;
	font-weight: bold;
	color: #FFF;
	padding: 2px 15px;
	/*
	width: 70px;
	height: 30px;
	*/
	top: 0;
	left: 8px;
	display: block;
	position: absolute;
	background-color: red;
	z-index: 1000;
}

#sw_sold_listings header {
	padding: 0 10px;
}

/* Sold Listings Page */
#sw_sold_listings h2 {
	font-size: 17px;
	line-height: 1.3em;
}

@media (max-width: 767px) {
	div#sw_sold_listings div.wp-show-posts-inner {
		max-width: 250px;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center;
	}
}

/* Sold listings on homepage */
#sw_sold_listings.sw_5c h2 {
	font-size: 15px;
	text-align: center;
}

div.sw_1c div.wp-show-posts-inner {
	max-width: 250px;
	margin: 0 auto !important;
}

/* END WP Show Posts */

/*

Contact Us Team Members

*/

.contact_us_team_member {
	border-radius: 5px;
}

.contact_us_team_member a {
	font-size: 14px;
	margin-top: 10px;
	display: inline-block;
}

.contact_us_team_member .et_pb_main_blurb_image img {
	border-radius: 100% !important;
	margin-top: -50px;
}

.contact_us_team_member .et_pb_main_blurb_image {
	margin-bottom: 10px;
}

div#contact_us_email_blurb {
	margin-bottom: 0;
}

/* END Contact Us Team Members */

/*

RealtyPress

*/

div#sw_listings_row {
	padding-top: 0;
	margin-top: 0;
}

@media (max-width: 480px) {
	div#sw_listings_row.et_pb_row {
		width: 100% !important;
		max-width: 100% !important;
	}
}
@media (min-width: 1025px) {
	div.rps-single-listing {
		padding-right: 50px;
		padding-left: 50px;
	}
}

/* Listing Enquiry Forms */

div#listing_enquiry_results {
	font-size: 14px;
	line-height: 1.428;
}

div#listing_enquiry_title {
	border: 1px solid #e5e5e5;
	border-bottom: 0;
	background-color: #FAFAFA;
	padding: 10px 15px;
	margin-bottom: 0;
	font-weight: bold;
}

div#listing_enquiry_form {
	border: 1px solid #e5e5e5;
	padding: 10px 15px;
	margin-bottom: 20px;
}

div#listing_enquiry_form h3 {
	margin: 0;
}

div#listing_enquiry_form .nf-before-form-content {
	margin: 5px 0;
}

div#listing_enquiry_form input[type=button] {
	width: 100%;
	background-color: #337ab7;
	border-radius: 0;
	padding: 5px;
	font-size: 17px;
}

/* END RealtyPress */

/* END Content */

/*****

Custom Footer

*****/

#footer_link_row a {
	color: #fff;
	display: inline-block;
	margin: auto 25px;
}

#footer_link_row a:hover {
	text-decoration: underline;
}

/* END Custom Footer */

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

@media (max-width: 980px) { 

	

} /* END @media (max-width: 980px) */

@media (min-width: 981px){
	
	/* Hide menu arrows */
	#top-menu .menu-item-has-children > a:first-child:after,
	#et-secondary-nav .menu-item-has-children > a:first-child:after {
		display:none;
	}

} /* END @media (min-width: 981px) */

