/*
Theme Name: Divi Attorney
Theme URI: https://diviextended.com/product/divi-attorney-child-theme/
Description: A ready-to-use Divi child theme designed for Attorneys and Law Firms websites with multiple pre-built necessary pages and layouts.
Author: Elicus
Author URI:   https://elicus.com/
Template: Divi
Version: 1.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Table of Contents
 *
 * 01. Text Formatting
 * 02. Miscellaneous
 * 03. Header
 * 04. Inner Pages
 * 05. Home Page
 * 06. About Page
 * 07. Attorneys Page
 * 08. Pricing Page
 * 09. Blog Pages
 *     Media Queries
 *         09.1 - >= Min 1500px 
 *         09.2 - >= Min 981px
 *         09.3 - >= Max 980px
 * 10. Sidebar
 * 11. Footer
 * 12. - Media Queries
 *    12.1 - >= Max 980px
 *    12.2 - >= Max 767px
 */
 
/* Text Formatting */

body {
    font-weight: 400;
}

#left-area .post-meta,
.et_pb_post .post-meta {
    font-size: 12px;
}


/* Miscellaneous */

.et_pb_blurb_content {
    max-width: 100%;
}

.et_pb_contact_message {
    min-height: 100px;
}

.et_pb_contact p input,
.et_pb_contact p textarea {
    padding: 10px;
}


/* Header */

#top-menu li.mega-menu>ul>li>a:first-child {
    padding-left: 15px;
}

.nav li ul {
    padding: 0;
}

#top-menu li li {
    padding: 0;
    width: 100%;
}

#top-menu li li a {
    padding: 3px 15px;
    width: 100%;
}

.et_mobile_menu li a:hover,
.nav ul li a:hover {
    background-color: initial;
}


/* Inner Pages */

.da-cta-form .et_contact_bottom_container {
    float: left;
    margin-left: 3px;
}


/* Home Page */

.da-home-header .et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content {
    max-width: 100%;
}

.da-right-icon-blurb .et_pb_main_blurb_image {
    float: right;
}

.da-right-icon-blurb .et_pb_blurb_container {
    padding-left: 0;
    padding-right: 15px;
}

.da-service-blurb .et_pb_blurb_container {
	vertical-align: middle;
}

.da-service-blurb .et_pb_module_header {
    padding-bottom: 0;
}

.da-blog-module .et_pb_post {
    align-items: flex-start;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    float: left;
    margin-bottom: 30px;
    margin-right: 5%;
    padding: 0;
    width: 47.5%;
}

.da-blog-module .et_pb_post:nth-child(2n+2) {
    margin-right: 0;
}

.da-blog-module .et_pb_image_container {
    margin: 0;
    width: 100%;
}

.da-blog-module .et_pb_post .entry-featured-image-url {
    margin-bottom: 10px;
}

.da-blog-module .et_pb_post .post-meta {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 10px;
    order: 0;
    width: 100%;
}

.da-blog-module .et_pb_post .entry-title {
    border-bottom: 1px solid;
    order: 1;
    width: 100%;
}

.da-blog-module .et_pb_post .post-content {
    order: 2;
    padding-top: 10px;
    width: 100%;
}

.da-blog-module .et_pb_post .et_pb_row {
    width: 100%;
}

.da-blog-module .et_pb_post .et_pb_section:first-child,
.da-blog-module .et_pb_post .et_pb_section:first-child .et_pb_row:first-child {
    padding: 0;
}

.da-map-address-section {
    overflow: hidden;
}

.da-map-address-row {
    left: -9999px;
    position: absolute;
    right: -9999px;
    top: 0;
    z-index: 11;
}

.da-map-address-row:before {
    background: inherit;
    content: '';
    height: 100%;
    left: -9999px;
    position: absolute;
    top: 0;
    width: 9999px;
}

.da-map-address-row:after {
    background: inherit;
    content: '';
    height: 100%;
    position: absolute;
    right: -9999px;
    top: 0;
    visibility: visible;
    width: 9999px;
}


/* About Page */

.da-about-cta > .et_pb_row {
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

/* Attorneys Page */

.da-attorney .et_pb_team_member_description .et_pb_member_position {
    border-bottom: 1px solid;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.da-attorney .et_pb_member_social_links {
    margin-top: 10px;
    padding: 0;
}

.da-attorney .et_pb_member_social_links a {
    border: 1px solid;
    padding: 4px 10px 2px 10px;
}

.da-attorney .da-phone-icon {
    padding-bottom: 0;
}

.da-attorney .da-phone-icon,
.da-attorney .da-mail-icon {
    font-size: 12px;
}

.da-attorney .da-phone-icon:before,
.da-attorney .da-mail-icon:before {
    font-family: ETmodules;
    padding-right: 7px;
}

.da-attorney .da-phone-icon:before {
    content: '\e090';
}

.da-attorney .da-mail-icon:before {
    content: '\e076';
}


/* Pricing Page */

.da-price {
    font-size: 40px;
}


/* Blog Pages */

.da-blog .et_pb_post .post-meta {
    font-size: 12px;
}

.da-blog .et_pb_post {
    border-bottom: 1px dotted;
    padding-bottom: 50px;
}

.da-blog .et_pb_post:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.el-blog-1 article {
	align-content: center;
	display: flex;
	flex-wrap: wrap;
}

.el-blog-1 .entry-title {
	width: 100%;
}

.el-blog-1 .et_pb_image_container {
    margin-bottom: 0;
}

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

.el-blog-1 .post-meta:before {
	content: '';
	height: 100%;
	left: -19px;
	position: absolute;
	width: 3px;
}

.el-blog-2 .et_pb_post {
	background: #ffffff;
	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);
}

@media screen and (min-width: 1500px) {
    
	.el-blog-1 .et_pb_post {
		padding: 0 0 30px 0;
	}

	.el-blog-1 .entry-title,
	.el-blog-1 .post-meta,
	.el-blog-1 .post-content {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.el-blog-1 .et_pb_image_container {
        margin: 0;
    	width: 100%;
    }

	.el-blog-1 .post-meta:before {
		left: 1px;
	}
    
}

@media screen and (min-width: 981px) and (max-width: 1080px) { 
    
    #logo {
        max-height: 30% !important;
    }
    
    #top-menu li {
        padding-right: 12px;
    }
    
}

@media screen and (min-width: 981px) {
	
	.el-blog-2 .et_pb_post {
		padding: 20px;
	}
	
	.el-blog-2 .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 {
		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%;
	}
	
	.el-blog-3 .has-post-thumbnail .entry-featured-image-url {
		width: 30%;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(odd) .entry-featured-image-url {
		float: left;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(even) .entry-featured-image-url {
		float: right;
	}
	
	.el-blog-3 .has-post-thumbnail .entry-title,
	.el-blog-3 .has-post-thumbnail .post-meta,
	.el-blog-3 .has-post-thumbnail .post-content {
		width: 67%;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(odd) .entry-title,
	.el-blog-3 .has-post-thumbnail:nth-child(odd) .post-meta,
	.el-blog-3 .has-post-thumbnail:nth-child(odd) .post-content {
		float: right;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(even) .entry-title,
	.el-blog-3 .has-post-thumbnail:nth-child(even) .post-meta,
	.el-blog-3 .has-post-thumbnail:nth-child(even) .post-content {
		float: left;
		text-align: right;
	}
	
	.el-blog-3 .has-post-thumbnail .entry-title a {
		position: relative;
	}
	
	.el-blog-3 .has-post-thumbnail .entry-title a:after {
		border-bottom: 2px solid;
		content: '';
		position: absolute;
		top: calc(50% - 1px);
		width: 60px;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(odd) .entry-title a:after {
		left: -70px;
	}
	
	.el-blog-3 .has-post-thumbnail:nth-child(even) .entry-title a:after {
		right: -70px;
	}
	
}

@media screen and (max-width: 980px) {
	
	.el-blog-2 .et_pb_no_thumb {
		padding: 20px;
	}
	
	.el-blog-2 .has-post-thumbnail .entry-title {
		padding: 0 20px;
	}
	
	.el-blog-2 .has-post-thumbnail .post-meta {
		padding: 10px 20px 0;
	}
	
	.el-blog-2 .has-post-thumbnail .post-content {
		padding: 0 20px 20px;
	}
	
	.el-blog-2 .et_pb_post a img {
		border-radius: 7px 7px 0 0;
	}
	
}

/* Sidebar */

#sidebar ul li:not(:last-child),
.da-sidebar-module ul li:not(:last-child) {
    border-bottom: 1px solid #f4f4f4;
}

#sidebar ul li a,
.da-sidebar-module ul li a {
    display: table;
    padding: 8px 0;
}

#sidebar ul li a:before,
.da-sidebar-module ul li a:before {
    content: '$';
    display: table-cell;
    font-family: ETModules;
    padding-right: 8px;
}


/* Footer */

#main-footer {
    background-image: url(images/footer-image.jpg);
    background-position: center;
    position: relative;
}

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

#footer-widgets .footer-widget li {
    margin-bottom: 0;
    padding-left: 0;
}

#footer-widgets .footer-widget li:before {
    content: initial;
}

#footer-widgets .footer-widget a,
#footer-widgets .footer-widget li a,
#footer-widgets .footer-widget li a:hover {
    color: #ffffff !important;
}


/* Media Queries */

@media screen and (max-width:980px){
        
    .da-right-icon-blurb .et_pb_main_blurb_image {
        float: none;
    }
    
    .da-right-icon-blurb .et_pb_blurb_container {
        padding-left: 15px;
        padding-right: 0;
    }
    
    .da-right-icon-blurb.et_pb_text_align_right .et_pb_blurb_content .et_pb_blurb_container {
        text-align: left;
    }
    
    .da-blog-module .size-1of2 .et_pb_post {
        margin-right: 0;
        width: 100%;
    }
    
    .da-map-address-section {
        background-color: rgba(0,0,0,0.7);
    }
    
    .da-map-address-row {
        background-color: transparent !important;
        left: 0;
        overflow: hidden;
        position: relative;
        right: 0;
        top: 0;
    }
        
}

@media screen and (max-width: 767px) {
        
    .da-blog-module .size-1of2 {
        margin-right: 0 !important;
        width: 50% !important;
    }
    
    .da-blog-module .size-1of1 .et_pb_post {
        margin-right: 0;
        width: 100%;
    }
    
}