/*
Theme Name: Divi Dental
Theme URI: https://diviextended.com/products/divi-dental-child-theme/
Description: A premium child theme to set up the online presence of Dental Clinics and Hospitals with over 10+ pre-built pages and layouts.
Version: 1.3.1
Author: Elicus
Author URI:	https://elicus.com/
Template:Divi
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Table of Contents
 *
 * 1. Header
 * 2. Button
 * 3. Heading
 * 4. Border Image
 * 5. Background Colour
 * 6. Our Office Page
 * 7. Treatment Inner Page 
 * 8. Patient Form Page
 * 9. Cost Of Treatment Page
 * 10. Gallery
 * 11. Blog 
 * 12. FAQ Page
 * 13. Contact Page
 * 14. Sidebar
 * 15. Footer 
 * 16. Media Queries
 *    16.1 - >= Min 981px
 *    16.2 - >= Max 980px
 *    16.3 - >= Max 767px
 *    16.4 - >= Max 630px
 *    16.5 - >= Max 479px
 *    16.6 - >= Max 340px
 */

/* Header */
#top-header {
	background: linear-gradient(105deg, #44B1D2 70%, #1ddacc 30%);
	box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
	position: relative;
}

#main-header {
	position: inherit;
}

#et-info {
	float: none;
}

#top-header .et-social-icons {
	float: right;
}

#page-container {
	overflow: hidden;
}

.el-header-title .et_pb_title_container {
	bottom: 20px;
	left: 10%;
	position: absolute;
}

.el-inner-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 18px;
}

.el-menu:after {
	content: '\5e';
	font-family: ETmodules;
	font-size: 18px;
	margin: 0 15px;
	vertical-align: middle;
}

.el-submenu-section {
	background-color: #26bfb4;
	clip-path: polygon(0% 25%, 100% 0%, 100% 100%, 0% 100%);
	margin-top: -46px;
	padding: 20px !important;
}

/* Button */
.et_button_no_icon .et_pb_button,
.et_button_no_icon .et_pb_button:hover {
	font-weight: 600 !important;
	padding: 6px 35px !important;
}

.el-rect-button,
.appoint-form .et_pb_contact_submit,
.el-contact-form .et_pb_contact_submit {
	padding-right: 2.4em !important;
}

.el-rect-button:after,
.appoint-form .et_pb_contact_submit:after,
.el-contact-form .et_pb_contact_submit:after {
	border-left: 1px solid;
	font-size: 24px !important;
	margin-left: 0.7em !important;
	margin-top: -6px;
	padding: 6px;
}

.el-rect-button:hover:after {
	color: #fff !important;
}

.el-contact-form .et_pb_contact_submit,
.appoint-form .et_pb_contact_submit {
	color: #fff !important;
}

/* Heading */
.el-heading {
	font-size: 40px;
	font-weight: 700;
	text-transform: uppercase;
}

.el-text-heading {
	font-size: 15px !important;
	font-weight: 500;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.el-border {
	border-bottom: 1px solid #000000;
	height: 23px;
	width: 10%;
}

.el-border-1 {
	border-bottom: 1px solid #000000;
	height: 23px;
	margin-top: -20px;
	width: 7%;
}

.el-border-center {
	border-bottom: 1px solid #ffffff;
	height: 23px;
	margin: 0 auto;
	width: 10%;
}

.el-border-center-1 {
	border-bottom: 1px solid #ffffff;
	height: 23px;
	margin: 0 auto;
	margin-top: -20px !important;
	width: 7%;
}

.el-border-line-center {
	border-bottom: 1px solid #000000;
	height: 23px;
	margin: 0 auto;
	width: 10%;
}

.el-border-line-center-1 {
	border-bottom: 1px solid #000000;
	height: 23px;
	margin: 0 auto;
	margin-top: -20px !important;
	width: 7%;
}

/* Border Image */
.el-border-image .et_pb_image_wrap:before {
	border: 3px solid #26bfb4;
	content: '';
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.el-border-image img {
	left: 20px;
	top: 20px;
}

/* Background Colour */
.el-bg-color {
	background-color: #26bfb4;
	clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 100%);
	margin-top: -40px;
	padding: 20px;
}

.el-bg-color:hover {
	background-color: #a4c000;
}

.el-blurb-icon .et_pb_blurb_position_left .et-pb-icon-circle {
	border-radius: 40px;
	font-size: 24px;
	padding: 20px;
}

/* Our Office Page */
.el-doctor-des {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	padding: 50px;
}

.el-team-description .et_pb_team_member_description {
	display: flex;
	flex-wrap: wrap;
}

.el-team-description .et_pb_member_position {
	order: 1;
}

.el-team-description .et_pb_module_header {
	margin-top: 5px;
	order: 2;
}

.el-team-content {
	order: 3;
}

.el-team-description .et_pb_member_social_links {
	order: 4;
}

.el-team h4.et_pb_module_header {
	width: 100%;
}

.el-team .et_pb_team_member_image {
	max-width: 100%;
}

.el-team .et_pb_team_member_image img {
	width: 100%;
}

/* Treatment Inner Page */
.el-border-bottom {
	border-bottom: 1px solid #ebf0f5;
	margin-bottom: 10px;
}

p.el-services:before {
	color: #44b1d2;
	content: '\24';
	font-family: ETmodules;
	font-size: 20px;
	font-weight: 1000;
	margin: 0 10px;
	vertical-align: middle;
}

p.el-services a {
	color: #000000;
}

a.el-border-text {
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
}

a.el-border-text:hover {
	border-bottom: 0px;
}

/* Patient Form Page */
.el-patient-download-form {
	display: flex;
	width: 100%;
}

.el-patient-form {
	align-items: center;
	background-color: #f0f0f0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
	display: flex;
	flex-wrap: wrap;
	font-size: 24px;
	font-weight: 400;
	padding: 20px;
	width: 80%;
}

.el-download-form {
	align-items: center;
	background-color: #26bfb4;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
	display: flex;
	font-size: 15px;
	font-weight: 700;
	padding: 10px;
	text-align: center;
}

.el-download-form a {
	color: #ffffff;
}

.el-patient-form:before {
	content: '\e092';
	font-family: ETmodules;
	font-size: 18px;
	margin: 0 15px;
	vertical-align: middle;
}

/* Cost Of Treatment Page */
.el-cost-heading {
	background: #F6F6F6;
	border: 1px solid #F6F6F6;
	font-size: 16px;
	font-weight: 400 !important;
	padding: 20px 30px !important;
	position: relative;
}

.el-content table td {
	border-bottom: 1px solid #E8E8E8;
	color: #868686;
	font-size: 14px;
	line-height: 24px;
	padding: 21px 30px !important;
}

.el-pages a {
	color: #868686;
	font-size: 14px;
}

.el-pages a:hover {
	color: #26bfb4
}

.el-pages-border-bottom {
	border-bottom: 2px solid #26bfb4;
	margin: 0px 0 20px;
	padding: 10px 0 10px 10px;
}

.el-left {
	padding: 0 20px 0 0;
}

.el-cost-treatment .et_pb_text_inner {
	display: flex;
	position: relative;
	z-index: 99;
}

.el-price {
	font-size: 30px;
}

.el-contact:before {
	color: #26bfb4;
	content: '\24';
	font-family: ETmodules;
	font-size: 20px;
	font-weight: 1000;
	margin-right: 20px;
}

.el-page:before {
	content: '\24';
	font-family: ETmodules;
	font-size: 20px;
	font-weight: 1000;
	margin-right: 20px;
}

/* Gallery */
.tiled-gallery {
	margin: 0 !important;
}

/* Blog */
.el-blog-1 .post-meta:before {
	background: #26bfb4;
	content: '';
	height: 100%;
	left: -19px;
	position: absolute;
	width: 3px;
}

.el-blog-1 .post-meta {
	position: relative;
}

.el-blog-2 .et_pb_post {
	background: #fff;
	border-radius: 7px;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	transition: all .4s ease;
}

.el-blog-2 .et_pb_post:hover {
	transform: scale(1.02);
}

/* FAQ Page */
.el-toggle .et_pb_toggle_close {
	border-left: 2px solid #26bfb4;
}

.el-toggle .et_pb_toggle_title:before {
	color: #26bfb4;
	content: '\4c';
	font-size: 22px;
	margin-top: -.5em;
	position: absolute;
	right: 0;
	top: 50%;
}

/* Contact Page */
.el-contact-form .et_pb_contact {
	box-shadow: 2px 2px 21px #f2f2f2;
}

.el-contact-form .et_contact_bottom_container {
	float: inherit !important;
	padding-top: 40px;
	text-align: center;
}

.el-contact-form .et_pb_contact_form {
	padding: 40px;
}

/* Sidebar */
.sidebar .et_pb_widget {
	margin-bottom: 20px!important;
}

h4.widgettitle {
	color: #26bfb4;
	font-size: 20px;
	font-weight: 600;
}

.widget_search input#s,
.widget_search input#searchsubmit {
	color: #ffffff;
	font-weight: 600;
}

.widget_search #searchsubmit {
	background: #26bfb4;
	border: 1px solid #26bfb4;
}

/* Footer */
#main-footer .footer-widget h4 {
	font-size: 20px;
	font-weight: bold;
}

.footer-address:before {
	color: #26bfb4;
	content: '\e081';
	font-family: ETmodules;
	padding-right: 5px;
}

.footer-phone:before {
	color: #26bfb4;
	content: '\e090';
	font-family: ETmodules;
	padding-right: 5px;
}

.footer-email:before {
	color: #26bfb4;
	content: '\e076';
	font-family: ETmodules;
	padding-right: 5px;
}

#menu-patient-center li,
.footer-hours li {
	border-bottom: 1px solid rgba(245, 245, 245, 0.28);
	margin-bottom: 15px !important;
}

#footer-widgets {
	border-bottom: 1px solid rgba(245, 245, 245, 0.28);
}

#footer-info {
	color: #fff;
}

#footer-info a {
	color: #fff;
	font-weight: 500;
}

#main-footer {
	background-image: url("images/dental-footer.jpg");
	background-size: cover;
	position: relative;
}

#main-footer:before {
	background: rgba(0, 0, 0, 0.8);
	content: '';
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.bottom-nav li {
	font-weight: 500;
}

/* Media Queries */
@media screen and (min-width: 981px) {
	/* Header */
	.special-menu a {
		background: #44B1D2 !important;
		border-radius: 30px;
		color: #fff !important;
		padding: 10px 20px 10px !important;
	}
	
	/* Our Office Page */
	.el-doctor-des {
		margin-left: -140px;
		margin-top: 50px;
		width: calc(47.25% + 140px) !important;
	}
	
	 /* Blog Pages */
    .el-blog-2 .et_pb_post,
	.related-posts .et_pb_post {
		padding: 50px 20px;
	}
  
	.el-blog-2 .has-post-thumbnail .entry-featured-image-url,
	.related-posts .has-post-thumbnail .entry-featured-image-url {
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 30%;
	}
  
	.el-blog-2 .et_pb_post a img,
	.related-posts .et_pb_post a img {
		border-radius: 7px 0 0 7px;
		height: 100%;
		object-fit: cover;
		width: 100%;
	}
  
	.el-blog-2 .has-post-thumbnail .entry-title,
	.el-blog-2 .has-post-thumbnail .post-meta,
	.el-blog-2 .has-post-thumbnail .post-content {
		float: right;
		width: 67%;
	}
	
	/* Footer */
	#menu-footer-navigation {
		float: right;
	}
	
	.bottom-nav li:last-child {
		padding-right: 0;
	}
	
	#footer-bottom {
		margin-left: 5%;
		width: 50%;
	}
}

@media screen and (max-width: 980px) {
	
	.el-border-image .et_pb_image_wrap {
		margin-bottom: 30px !important;
	}
	
	.el-heading {
		font-size: 22px;
		font-weight: 700;
		text-transform: uppercase;
	}
	
	.el-button-center .et_pb_button_module_wrapper {
		text-align: center;
	}
	
	.et_pb_section {
		padding: 0px 0 !important;
	}
	
	.el-header-title .et_pb_title_container {
		bottom: 10px;
		left: 40px;
		padding: 15px;
		position: absolute;
	}
      
    .el-blog-2 .has-post-thumbnail .post-content {
		padding: 0 20px 20px;
	}
  
	.el-blog-2 .has-post-thumbnail .entry-title {
		padding: 0 20px;
	}
  
	.el-blog-2 .has-post-thumbnail .post-meta {
		padding: 6px 20px;
	}
}

@media screen and (max-width: 767px) {
	#top-header {
		background: #44B1D2 !important;
	}
	
	.el-home-header .header-image-container.bottom {
		display: none;
	}
}

@media screen and (max-width: 630px) {
	.el-inner-menu {
		display: inline;
		margin-top: 18px;
		text-align: center;
	}
	
	.el-menu:after {
		content: '';
		margin: 0 15px;
	}
	
	.el-submenu-section {
		background-color: #26bfb4;
		clip-path: polygon(0% 25%, 100% 0%, 100% 100%, 0% 100%);
		margin-top: -55px;
		padding: 0px !important;
	}
	
	.el-menu-1 {
		margin-left: -30px;
	}
	
	.el-submenu-section .et_pb_text_inner {
		margin-top: 20px;
	}
}

@media screen and (max-width: 479px) {
	.el-team-description .et_pb_module_header {
		margin-left: -169px;
		margin-top: 27px;
		order: 2;
	}
	
	.el-patient-form {
		align-items: center;
		background-color: #f0f0f0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
		display: flex;
		flex-wrap: wrap;
		font-size: 19px !important;
		font-weight: 400;
		padding: 20px;
		width: 80%;
	}
	
	.el-download-form {
		align-items: center;
		background-color: #26bfb4;
		box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
		display: flex;
		font-size: 11px;
		font-weight: 700;
		padding: 10px;
		text-align: center;
	}
}

@media screen and (max-width: 340px) {
	.el-bg-color {
		background-color: #26bfb4;
		clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 100%);
		margin-top: -44px;
		padding: 20px;
	}
}