/*
Theme Name: Shields Lawyers
Template: 	Divi
Version: 	4.21.0
*/

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@600;700&family=Oswald:wght@500&display=swap');

/*
Custom styling
---------------------------------------------------------------------------------------------------- */

body {
	font-weight: 400;
}

/* Headings styling
----------------------------------------------- */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-weight: 400;
	padding-bottom: 20px;
}

body h2 {
	font-size: 40px;
}
body h3 {
	font-size: 30px;
}
body h4 {
	font-size: 25px;
}
body h5 {
	font-size: 22px;
}
body h6 {
	font-size: 20px;
}

p + h2,
p + h3,
p + h4,
p + h5,
p + h6 {
	padding-top: 20px;
}

/* Paragraph styling
--------------------------------------------------- */

body p {
	padding-bottom: 25px;
}
p:last-of-type + * {
	padding-top: 25px;
}
p:empty {
	display: none;
}

/* Buttons styling
----------------------------------------------- */

#page-container .et_pb_button {
	display: inline-block;
	padding: 12px 30px;
	line-height: normal !important;
	text-decoration: none;
	text-shadow: none;
	text-align: center;
}
#page-container .et_pb_button:after {
	display: none;
}
#page-container .et_pb_button:hover {
	background: #000;
}

.et_pb_button + .et_pb_button {
	margin-left: 25px;
}

/*
wpforms styling
--------------------------------------------------- */

html body div.wpforms-container-full {
	margin: 0 auto;
}
#main-content .wpforms-form .wpforms-field-label {
	font-weight: 500;
}
#main-content .wpforms-form input,
#main-content .wpforms-form select {
	height: auto;
}
#main-content .wpforms-form input,
#main-content .wpforms-form select,
#main-content .wpforms-form textarea {
	border: 1px solid #a5a5a5;
	border-radius: 0;
	font-family: inherit;
	padding: 8px 15px;
}
#page-container .wpforms-container .wpforms-form :-moz-placeholder {
	color: #000;
	opacity: 1;
}
#page-container .wpforms-container .wpforms-form ::-moz-placeholder {
	color: #000;
	opacity: 1;
}
#page-container .wpforms-container .wpforms-form :-ms-input-placeholder {
	color: #000;
}
#page-container .wpforms-container .wpforms-form ::-ms-input-placeholder {
	color: #000;
}
#page-container .wpforms-container .wpforms-form ::-webkit-input-placeholder {
	color: #000;
	opacity: 1;
}
#page-container .wpforms-container .wpforms-form ::placeholder {
	color: #000;
	opacity: 1;
}
#page-container .wpforms-submit-container {
	text-align: center;
	margin-top: 0;
}

#page-container div.wpforms-container-full .wpforms-form button[type=submit] {
	display: inline-block;
	padding: 12px 30px;
	line-height: normal;
	text-decoration: none;
	text-shadow: none;
	text-align: center;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	transition: all .2s;
	box-shadow: none;
	border: none;
	background: #000;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	height: 45px;
	border-radius: 0;
}
#page-container div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	background: #aaa;
}

#page-container .wpforms-confirmation-container-full {
	background: #000;
	border: none;
}
#page-container .wpforms-confirmation-container-full p {
	color: #fff;
}
body #page-container div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
    height: 85px;
}

/* list style
--------------------------------------------------- */

#main-content .entry-content ul,
#main-content .entry-content ol {
	padding: 0 0 0 20px;
	line-height: 1.5;
}
#main-content .entry-content li {
	list-style-position: outside;
	padding-bottom: 10px;
}
#page-container #main-content .entry-content li:last-of-type {
	padding-bottom: 0;
}

#main-content .entry-content ul li ul,
#main-content .entry-content ul li ol {
	margin-top: 10px;
}

body .entry-content ul + *,
body .entry-content ol + * {
	margin-top: 25px;
}
p:last-of-type + ul,
p:last-of-type + ol {
	margin-top: 25px;
}

#main-content .list-style li {
	display: block;
	position: relative;
	padding-left: 25px;
}
#main-content .list-style li:before {
	content: "\f345";
	font-family: dashicons;
	font-size: 20px;
	position: absolute;
	left: 0;
	top: -4px;
	color: #a30ffb;
}

/* anchor tag style
--------------------------------------------------- */

.entry-content a:hover {
	color: #c00000;
}
.et_pb_bg_layout_dark a,
.et_pb_bg_layout_dark a:hover {
	color: #fff;
}
a[href^="tel"]:link,
a[href^="tel"]:visited, 
a[href^="tel"]:hover {
	display: inline-block;
}

/* underline text style
--------------------------------------------------- */

body a,
body u {
	text-underline-position: under;
}

/* table style
--------------------------------------------------- */

table {
	width: 100%;
} 
tr {
	background: transparent;
}
thead tr,
tbody tr:nth-child(2n+2) {
	background: #eee;
}
th,
td {
	border: 1px solid #dadada;
}

/* image styling
--------------------------------------------------- */

img.alignright {
	margin-left: 25px;
	margin-bottom: 15px;
	padding-bottom: 0;
}
img.alignleft {
	margin-right: 25px;
	margin-bottom: 15px;
	padding-bottom: 0;
}
.frame-img-widget img {
	border: 5px solid #ffffff;
	-webkit-box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
	-moz-box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
}
.round-img-widget img {
	border-radius: 50%;
	margin-bottom: 20px;
	border: 5px solid #fff;
	-webkit-box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
	-moz-box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.40);
}

/* Divi builder sections and module styling
---------------------------------------------------------------------------------------------------- */

.et_pb_pagebuilder_layout #main-content {
	position: relative;
	overflow: hidden;
}

/* builder section 
----------------------------------------------- */

body .et_pb_section {
	padding-top: 30px;
	padding-bottom: 30px;
}

/* builder row and container 
----------------------------------------------- */

body .et_pb_row,
body .container {
	width: 100%;
}

/* text module pick full height
----------------------------------------------- */

.et_pb_text_inner:after {
	content: '';
	clear: both;
	display: block;
}

/* Divi sup styling
----------------------------------------------- */

#page-container sup {
	bottom: 0.2em;
}

/* dashicons icon styling
--------------------------------------------------- */

.dashicons-icon i {
	font-family: dashicons;
	font-style: normal;
	font-weight: 400;
}
.dashicons-phone {
	-moz-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1);
	display: inline-block;
}

/* contact icons styling
--------------------------------------------------- */

.prg-icon {
	position: relative;
	padding-left: 35px;
}
.prg-icon .icon {
	position: absolute;
	left: 0;
}

/*
Blog page styling
---------------------------------------------------------------------------------------------------- */

body.blog header .et_builder_inner_content {
	z-index: 9;
}
body.blog header .et_builder_inner_content.has_et_pb_sticky {
	z-index: inherit;
}

/*
inner banner section styling
--------------------------------------------------- */

.inner-banner-section .et_pb_column {
	width: 100%;
}

/*
main content area styling
--------------------------------------------------- */

#main-content.post-custom-style .container {
	padding-top: 0;
	margin-top: 30px;
}
#main-content .container:before {
	display: none;
}

/*
post styling
--------------------------------------------------- */

.post-custom-style article,
.archive article,
.sp-custom-style #left-area article,
.blog article {
	border: 1px solid #d7d7d7;
	padding: 10px;
	margin-bottom: 60px;
	overflow: hidden;
}
body .et_pb_post .post-meta {
	margin-bottom: 0;
}
.post-custom-style .et_pb_post .entry-content,
.archive .et_pb_post .entry-content,
.sp-custom-style .et_pb_post .entry-content {
	padding-top: 0;
}
body .has-post-thumbnail .entry-featured-image-url {
	margin-bottom: 0;
}
.has-post-thumbnail .entry-featured-image-url img {
	width: 45%;
	float: left;
	margin-right: 20px;
}
.entry-title a {
	text-decoration: none;
}
.post-custom-style .post-excerpt .post-more-link {
	display: inline-block;
	margin-top: 12px;
	padding: 0;
}
body .read-more {
	margin-left: 5px;
}

/*
custom pagination styling
--------------------------------------------------- */

#main-content .custom-pagination ul {
	border-top: 1px solid #ccc;
	padding: 25px 0;
	text-align: center;
}
.custom-pagination li {
	display: inline-block;
}
.custom-pagination li a {
	padding: 3px 10px;
	display: block;
}
.custom-pagination .active a {
	background: #567426;
	color: #fff;
}

/*
Sidebar styling
--------------------------------------------------- */

#main-content #left-area {
	width: 72%;
}
#main-content #sidebar {
	width: 28%;
	padding-left: 0;
}
#sidebar .et_pb_widget {
	border-bottom: 1px solid #d7d7d7;
	padding-bottom: 30px;
}
#sidebar .et_pb_widget:last-child,
#sidebar .widget_archive {
	border-bottom: none;
}
#sidebar .et_pb_widget li {
	border-bottom: 1px solid #ccc;
	padding-bottom: 7px;
}
#sidebar .et_pb_widget li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
#sidebar .et_pb_widget a {
	color: #000;
}

/* sidebar archive widget styling
--------------------------------------------------- */

#sidebar .widget_categories select {
	background: url(images/down-arrow.png) no-repeat right 10px center;
	border: none;
	border-bottom: 1px solid #d7d7d7;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	cursor:pointer;
	font-size: 16px;
	color: #000;
	height: auto;
	padding: 0 10px 5px;
}
#sidebar .widget_categories select::-ms-expand {
	display: none;
}

/*
Single page styling
---------------------------------------------------------------------------------------------------- */

/*
main content area styling
--------------------------------------------------- */

.single #main-content .container:before {
	display: none;
}
#main-content .sp-custom-style #sidebar {
	padding-left: 0;
}

/*
End Blog page styling
---------------------------------------------------------------------------------------------------- */













/* 
Media Queries
---------------------------------------------------------------------------------------------------- */

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

	body .et_pb_row,
	body .container {
		width: 95%;
	}

}

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

	.entry-content img.alignright,
	.entry-content img.alignleft {
		float: none;
		display: block;
		margin: 0 auto 25px;
	}
	body h1 {
		font-size: 40px;
	}
	body h2 {
		font-size: 36px;
	}
	body h3,
	.blog .entry-title,
	body.single .post .entry-title {
		font-size: 27px;
	}
	body h4 {
		font-size: 22px;
	}
	body h5 {
		font-size: 20px;
	}
	body h6 {
		font-size: 18px;
	}
	body .et_pb_section {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#main-content .et_pb_image {
		text-align: center;
	}

	#site-header .et_pb_image {
		text-align: center;
	}


	#main-content #sidebar {
		max-width: 350px;
		clear: both;
		margin: 0 auto;
	}
	.has-post-thumbnail .entry-featured-image-url img {
		width: 100%;
		float: none;
		margin: 0 auto 20px;
	}

}

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

	body h1 {
		font-size: 35px;
	}
	body h2 {
		font-size: 32px;
	}
	body h3,
	.blog .entry-title,
	body.single .post .entry-title {
		font-size: 24px;
	}

	#page-container .et_pb_button,
	#page-container div.wpforms-container-full .wpforms-form button[type=submit] {
		padding: 10px 25px;
	}

	.et_pb_button + .et_pb_button {
		margin-left: 0;
	}

}

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

	body h1 {
		font-size: 30px;
	}
	body h2 {
		font-size: 28px;
	}
	body div.wpforms-container-full .wpforms-form .wpforms-first {
		width: 100%;
	}
	body div.wpforms-container-full .wpforms-form .wpforms-first ~ div {
		width: 100%;
		margin-left: 0;
		padding-top: 20px;
	}

	#page-container .one_half,
	#page-container .one_half.et_column_last {
		width: 100%;
	}
	#page-container .one_half {
		margin-right: 0;
	}
	#page-container .one_half.et_column_last {
		margin-top: 25px;
	}

	.blog .et_pb_post .entry-title,
	.archive .et_pb_post .entry-title {
		padding-bottom: 20px;
	}

}
