/*
Theme Name: Legally Smart
Template: 	Divi
Version: 	3.11.1
*/

@font-face {
	font-family: 'Conv_Avenir Roman';
	src: url('fonts/Avenir Roman.eot');
	src: url('fonts/Avenir Roman.woff') format('woff'), url('fonts/Avenir Roman.ttf') format('truetype'), url('fonts/Avenir Roman.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

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

body {
	font-weight: 400 !important;
	font-family: 'Conv_Avenir Roman';
}

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

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	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;
}

body p {
	padding-bottom: 25px;
}

p:last-of-type + * {
	padding-top: 25px;
}

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

#page-container .et_pb_button {
	display: inline-block;
	padding: 14px 30px !important;
	line-height: normal !important;
	text-align: center;
	text-decoration: none;
}
.et_pb_button + .et_pb_button {
	margin-left: 25px;
	margin-top: 5px;
}
.btn {
	color: #fff !important;
	display: inline-block;
	padding: 16.5px 30px;
	text-decoration: none;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
	border: 2px solid #f7ba21;
}
.btn:hover {
	background: #f7ba21;
}



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

#main-content .wpforms-form .wpforms-field-label {
	font-weight: bold;
}
#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: 12px 15px;
}
::-webkit-input-placeholder {
	color: #000000;
}
:-moz-placeholder {
	color: #000000;
}
::-moz-placeholder {
	color: #000000;
}
:-ms-input-placeholder {
	color: #000000;
}
.entry-content .wpforms-submit-container {
	text-align: center;
}

body div.wpforms-container-full .wpforms-form button[type=submit] {
	background: transparent;
	color: #000;
	border: 2px solid #282e56;
	border-radius: 0px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1;
	padding: 16px 30px;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	transition: all .2s;
	min-width: 210px;
}
body div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	background: #282e56;
	border: 2px solid #282e56;
	color: #fff;
}

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

body .entry-content ul,
body .entry-content ol {
	padding-left: 30px;
	line-height: 1.5;
}
body .entry-content ul li,
body .entry-content ol li {
	list-style-position: outside;
	margin-bottom: 5px;
	padding-bottom: 20px;
}

#main-content .list-style li {
	display: block;
	position: relative;
	padding-left: 15px;
	padding-bottom: 5px;
}
#main-content .list-style li:before {
	content: '\f105';
	font-family: FontAwesome;
	display: inline-block;
	font-size: 18px;
	position: absolute;
	left: 0;
	color: #282e56;
	font-weight: 700;
}

/* empty p tag none
--------------------------------------------------- */

p:empty {
	display: none;
}

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

.entry-content a:hover {
	color: #282e56;
	text-decoration: underline;
	text-underline-position: under;
}

/* old font awesome icons style
--------------------------------------------------- */

.fa-icon .fa {
	font-family: FontAwesome;
}

/* 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: 0px 0px 35px rgba(0, 0, 0, 0.40);
	-moz-box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.40);
	box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.40);
}
.round-img-widget img {
	border-radius: 50%;
	margin-bottom: 20px;
	border: 5px solid #fff;
	-webkit-box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.40);
	-moz-box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.40);
	box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.40);
}

/* Divi row and container styling
----------------------------------------------- */

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

/* Divi section styling
----------------------------------------------- */

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

/* Divi text module inner styling
----------------------------------------------- */

.et_pb_text_inner {
	clear: both;
}

/* Contact icons styling
--------------------------------------------------- */

.prg-icon {
	position: relative;
	padding-left: 30px;
	margin-bottom: 20px;
}
.prg-icon .icon {
	position: absolute;
	left: 0;
}

/* 
Header styling
---------------------------------------------------------------------------------------------------- */

/* Header right widget area styling
--------------------------------------------------- */

.header-right-area {
	position: relative;
	z-index: 999;
	overflow: hidden;
	float: right;
	padding-top: 20px;
	padding-bottom: 25px;
}
.header-right-area p {
	display: inline-block;
	padding-bottom: 0;
}
.header-right-area img {
	vertical-align: middle;
	margin-right: 10px;
}

/* Header menu styling
--------------------------------------------------- */

body.et_fullwidth_nav #main-header .container {
	max-width: 100%;
}
#main-header #et-top-navigation {
	clear: both;
}
body #top-menu li {
	padding-right: 45px;
}
body #top-menu > li > a {
	font-weight: 500;
}
body.et_header_style_left #et-top-navigation nav>ul>li>a,
body.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a {
	padding-bottom: 20px;
}
body.et_header_style_left #et-top-navigation nav>ul>li>a:hover,
body.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a:hover {
	opacity: 1;
}
#main-header li ul {
	border-top: none;
	background-color: rgba(255,255,255,0.8);
	padding-top: 0;
	padding-bottom: 0;
}
body #top-menu .menu-item-has-children li {
	padding: 0;
	line-height: 1.1;
	display: block;
	position: relative;
}
body #top-menu li li a {
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	text-transform: capitalize;
	border-left: 3px solid transparent;
	opacity: 1;
}
body #main-header.et-fixed-header #top-menu li li a {
	color: #000 !important;
}
body #top-menu li li a:hover {
	background: #fff;
	border-color: #f7ba21;
}

/*--------------Menu hover--------------
Menu  border bottom on hover 
------------------------------------*/

body #top-menu > li > a::before {
	content: '';
	position: absolute;
	width: 100%;
	right: 0;
	left: 0;
	margin: 0 auto;
	bottom: 0px;
	height: 6px;
	background-color: #f7ba21;
	-webkit-transform: translate(-65%,0);
	-ms-transform: translate(-65%,0);
	-o-transform: translate(-65%,0);
	transform: translate(-65%,0);
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transition: all 235ms;
	-o-transition: all 235ms;
	transition: all 235ms;
}
#top-menu-nav #top-menu li.current-menu-item > a:before,
body #top-menu > li > a:hover::before {
	-webkit-transform: translate(0,0);
	-ms-transform: translate(0,0);
	-o-transform: translate(0,0);
	transform: translate(0,0);
	opacity: 1;
	filter: alpha(opacity=100);
}

#main-header li ul li ul.sub-menu {
	top: 0;
}
#main-header li ul.sub-menu li a:after {
	top: 15px !important;
}

/*
Home Page styling
---------------------------------------------------------------------------------------------------- */

/* Banner Section
--------------------------------------------------- */

#hero-img-section {
	min-height: 550px;
	padding-top: 200px;
	position: relative;
	overflow: hidden;
}
#hero-img-section h1 {
	text-transform: capitalize;
	letter-spacing: 2px;
}
#hero-img-section .et_pb_button:hover {
	background: transparent !important;
	border-color: #fff !important;
}

/* Services Section
--------------------------------------------------- */

#services-area .icon,
#home-cta-area-arrow .icon,
#about-area .icon,
#client-testimonials .icon {
	font-size: 80px;
}
#services-area .et_pb_row:first-of-type a:hover,
#home-cta-area-arrow a:hover,
#about-area .et_pb_row:first-of-type a:hover,
#client-testimonials .et_pb_row:first-of-type a:hover {
	text-decoration: none;
}
#services-row .et_pb_image .et_pb_image_wrap {
	overflow: hidden;
}
#services-row .et_pb_image .et_pb_image_wrap:before {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(240, 236, 221, 0.78);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

/*------------------Images Hover---------------------------*/

#services-row .et_pb_image a:hover img {
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}
#services-row .et_pb_image a img {
	transition: all 200ms ease-in;
	-moz-transition: all 200ms ease-in;
	-ms-transition: all 200ms ease-in;
	-webkit-transition: all 200ms ease-in;
}

/*------------------End Images Hover---------------------------*/

#services-row .et_pb_text {
	z-index: 9;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10%;
}
#services-row .et_pb_text h4 {
	padding: 0 5px;
	font-size: 30px;
}
#services-row .et_pb_text a:hover {
	color: #f7ba21;
	text-decoration: none;
}

/* Home CTA Section
--------------------------------------------------- */

#home-cta-area {
	padding: 100px 0;
	background-attachment: fixed;
}
#home-cta-area-arrow:before,
#client-testimonials:before {
	content: "";
	width: 85%;
	height: 1px;
	background-image: -moz-linear-gradient(to right, rgba(40, 46, 86, 0.1), #282e56, rgba(40, 46, 86, 0.1));
	background-image: -o-linear-gradient(to right, rgba(40, 46, 86, 0.1), #282e56, rgba(40, 46, 86, 0.1));
	background-image: linear-gradient(to right, rgba(40, 46, 86, 0.1), #282e56, rgba(40, 46, 86, 0.1));
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}
#home-cta-area .et_pb_button,
#about-area .et_pb_button {
	border-color: #282e56 !important;
}
#home-cta-area .et_pb_button:hover,
#about-area .et_pb_button:hover {
	background: #282e56 !important;
}

/* Client Testimonials Section
--------------------------------------------------- */

#client-testimonials-area .et_pb_slides .et_pb_slide {
	background-color: transparent;
}
#client-testimonials-area .et_pb_slider .et_pb_slide_description {
	padding: 0 2% 2%;
}
#client-testimonials-area .et_pb_slider .et_pb_slide_content {
	line-height: 1.5;
	text-shadow: none;
}
#client-testimonials-area .et_pb_slider .et_pb_slide_content {
	color: #000;
	font-size: 20px;
}
#client-testimonials-area .et_pb_slider .et_pb_slide_content p:last-of-type {
	color: #282e56 !important;
	text-transform: capitalize;
}
#client-testimonials-area .et-pb-slider-arrows a {
	opacity: 1;
	color: #282e56 !important;
	font-size: 60px;
}
#client-testimonials-area .et-pb-slider-arrows a:hover {
	text-decoration: none;
}
#client-testimonials-area .et-pb-slider-arrows .et-pb-arrow-prev {
	left: 8%;
}
#client-testimonials-area .et-pb-slider-arrows .et-pb-arrow-next {
	right: 8%;
}

/* Footer Styling
---------------------------------------------------------------------------------------------------- */

#main-footer > .container,
#footer-scheme-area > .container {
	max-width: 100%;
	padding:0 30px;
}

/* footer widgets styling
--------------------------------------------------- */

#main-footer #footer-widgets {
	padding: 40px 0 0;
}
#footer-widgets .footer-widget {
	margin-bottom: 0;
}
#footer-widgets .et_pb_widget {
	float: none;
}
#footer-widgets #text-4 {
	text-align: center;
}
#footer-widgets .et_pb_widget p {
	padding-bottom: 0;
}
#footer-widgets .et_pb_widget .prg-icon {
	margin-bottom: 0;
}

#footer-widgets #text-8 p {
	font-size: 16px;
}
#footer-widgets #text-5 a:hover,
#footer-scheme-area a:hover {
	text-decoration: underline;
}
#footer-widgets .et_pb_button {
	margin-top: 15px;
}

/* social icons styling
--------------------------------------------------- */

#main-footer .social-icons {
	padding-bottom: 18px;
}
#main-footer .social-icons a {
	width: 48px;
	height: 48px;
	line-height: 48px;
	display: inline-block;
	vertical-align: top;
	background: #f7ba21;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	color: #fff !important;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-left: 5px;
}
#main-footer .social-icons a:first-child {
	margin-left: 0;
}
#main-footer .social-icons a:hover {
	background: #fff;
	color: #282e56 !important;
}

/* Footer Scheme Area
--------------------------------------------------- */

#footer-scheme-area .textwidget {
	max-width: 100%;
	overflow: hidden;
}
#footer-scheme-area p,
#footer-scheme-area a {
	color: #fff;
	font-size: 16px;
}
#footer-scheme-area p:first-of-type {
	float: left;
}
#footer-scheme-area p:last-of-type {
	float: right;
}

/*
End Home Page styling
---------------------------------------------------------------------------------------------------- */

/*
Inside page styling
---------------------------------------------------------------------------------------------------- */

#inner-banner,
#inner-banner .et_pb_row {
	padding: 0;
}
#inner-banner .et_pb_row {
	max-width: 100%;
}
#inner-banner .et_pb_image {
	margin-bottom: 0;
}
#inner-banner .et_pb_image .et_pb_image_wrap {
	display: block;
	max-height: 450px;
	overflow: hidden;
}
#inner-banner .et_pb_image .et_pb_image_wrap:before {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(240, 236, 221, 0.78);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
#inner-banner .et_pb_image img {
	width: 100%;
}
#inner-banner .et_pb_text {
	z-index: 9;
	position: absolute;
	top: 52%;
	left: 50%;
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/*
End Inside page styling
---------------------------------------------------------------------------------------------------- */

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

/*
blog banner styling
--------------------------------------------------- */

body .blog-banner,
body .blog-banner img {
	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 {
	-webkit-box-shadow: 0px 0px 6px #d6d2d2;
	-moz-box-shadow: 0px 0px 6px #d6d2d2;
	box-shadow: 0px 0px 6px #d6d2d2;
	background: #fcfcfc;
	padding: 20px;
	margin-bottom: 60px;
}
.post-thumbnail {
	margin-bottom: 30px;
}
.post-thumbnail img {
	width: 100%;
	display: block;
}
.entry-title a {
	text-decoration: none;
}
.post-custom-style .post-excerpt .post-more-link {
	display: inline-block;
	margin-top: 12px;
	padding: 0;
}

/*
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: #282e56;
	color: #fff;
}

/*
Sidebar setyling
--------------------------------------------------- */

#main-content #left-area {
	width: 72%;
}
#main-content #sidebar {
	width: 28%;
	padding-left: 0;
}
#sidebar .et_pb_widget {
	-webkit-box-shadow: 0px 0px 6px #d6d2d2;
	-moz-box-shadow: 0px 0px 6px #d6d2d2;
	box-shadow: 0px 0px 6px #d6d2d2;
	background: #fcfcfc;
	font-size: 18px;
	padding: 20px;
}
#sidebar .widgettitle {
	text-transform: capitalize;
}
#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: 20px;
	color: #000;
	height: auto;
	padding: 0 0 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;
}

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

.sp-custom-style article {
	-webkit-box-shadow: 0px 0px 6px #d6d2d2;
	-moz-box-shadow: 0px 0px 6px #d6d2d2;
	box-shadow: 0px 0px 6px #d6d2d2;
	background: #fcfcfc;
	padding: 20px;
	margin-bottom: 60px;
}

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

body .profile-client-headshot {
	border: 1px solid #f7ba21;
}
body .profile-client-headshot .et_pb_image {
	padding: 25px 0 10px;
}
body .profile-client-headshot .et_pb_text {
	padding: 0 0 20px;
}
body .profile-client-headshot p,
body .profile-client-headshot a {
	color: #282e56;
}

body #contact-form a {
	color: #000;
}
body #contact-form a:hover {
	color: #f7ba21;
	text-decoration: none;
}
body #contact-form .wpforms-container-full {
	margin-bottom: 0;
}
body #contact-form form {
	position: relative;
}
body #contact-form .wpforms-field {
	padding: 0 0 6px;
}
body #contact-form input,
body #contact-form select,
body #contact-form textarea {
	background: #fff;
	border: 1px solid #f7ba21 !important;
	font-size: 18px;
	height: auto;
	color: #000;
}
body #contact-form textarea {
	height: 142px;
}
body #contact-form ::-webkit-input-placeholder {
	color: #000;
}
body #contact-form :-moz-placeholder {
	color: #000;
}
body #contact-form ::-moz-placeholder {
	color: #000;
}
body #contact-form :-ms-input-placeholder {
	color: #000;
}
body #contact-form .wpforms-submit-container {
	text-align: center;
	padding-top: 5px;
}

/* End contact form styling
--------------------------------------------------- */

#contact-map {
	padding: 0;
}
#contact-map iframe {
	display: block;
}
body .online-form-content .wpforms-container-full .wpforms-form h2 {
	font-size: 40px;
	padding-bottom: 10px;
}
body .beneficiaries-star {
	color: #ff0000;
}









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

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

	body .et_pb_row,
	body .container {
		width: 90%;
	}
	body #top-menu li {
		padding-right: 25px;
	}
	body.et_header_style_left #logo,
	body.et_header_style_split #logo {
		height: auto;
		max-height:55%;
	}
	.header-widgets .btn{
		font-size:12px;
		padding:10px 25px;
	}

}

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

	body.et_header_style_left #logo,
	body.et_header_style_split #logo {
		height: auto;
		max-height: 100%;
	}
	.entry-content img.alignright,
	.entry-content img.alignleft {
		max-width: 300px;
	}
	body h1 {
		font-size: 40px;
	}
	body h2 {
		font-size: 35px;
	}
	body .et_pb_section {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	body.et_header_style_left .logo_container {
		position: relative;
		text-align: center;
	}
	.header-right-area {
		float: none;
		padding-top: 0;
		padding-bottom: 0;
		text-align: center;
	}
	body.et_header_style_left .mobile_menu_bar {
		padding-bottom: 0;
	}
	body.et_header_style_left .mobile_menu_bar:before {
		color: #fff;
	}
	#main-header li ul {
		background-color: transparent;
	}
	#hero-img-section {
		min-height: 100%;
		padding-top: 40px;
	}
	#footer-widgets .footer-widget:nth-child(n) {
		width: 100% !important;
		margin: 0 !important;
		text-align: center;
	}
	#footer-widgets .footer-widget:nth-child(2) {
		padding: 15px 0px;
	}
	#footer-widgets .et_pb_widget .prg-icon {
		padding-left: 0;
	}
	#footer-widgets .et_pb_widget .prg-icon .icon {
		position: relative;
	}


}

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

	body h1 {
		font-size: 33px;
	}
	body h2 {
		font-size: 29px;
	}
	body h3 {
		font-size: 26px;
	}
	body h4 {
		font-size: 23px;
	}
	#page-container .et_pb_button {
		padding: 12px 25px !important;
		font-size: 16px;
	}
	.et_pb_button + .et_pb_button {
		margin-left: 0;
	}
	.entry-content img.alignright,
	.entry-content img.alignleft {
		max-width: 200px;
	}
	.header-right-area p {
		display:block;
	}
	.header-widgets .btn{
		display:block;
		margin-top: 15px;
	}

}

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

	body h1 {
		font-size: 28px;
	}
	body h2 {
		font-size: 27px;
	}
	body h3 {
		font-size: 23px;
	}
	body h4 {
		font-size: 22px;
	}
	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;
	}
	.entry-content img.alignright,
	.entry-content img.alignleft {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 auto 20px;
	}

	body.et_header_style_left .logo_helper {
		display: none;
	}
	body.et_header_style_left #logo {
		max-width: 100%;
	}
	.header-right-area .btn {
		margin-top: 15px;
	}

}
