/*
Theme Name: Lawyer Base Child
Theme URI: http://themes.goodlayers2.com/lawyerbase
Description: Lawyer Base Wordpress Theme
Author: Goodlayers
Author URI: http://www.goodlayers.com
Version: 1.04
Template: lawyerbase
License: 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, yellow, two-columns, fluid-layout, custom-background, custom-colors, featured-images, theme-options
Text Domain: gdlr_translate
*/

/* =Theme customization starts here
----------------------------------------------------------------------------------------------------------------------- */
.gdlr-navigation-wrapper .gdlr-main-menu > li > a:before
{
	content: '';
}
.gdlr-classic-practice .gdlr-practice-thumbnail a img
{
	object-fit: cover;
}
.gdlr-page-title-wrapper
{
	padding: 130px 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.gdlr-page-title-container > .gdlr-page-caption
{
	color: #fff;
	line-height: 30px;
}
.single-practice .gdlr-practice-head,
.single-practice .gdlr-practice-thumbnail,
.practice-excerpt
{
	display: none;
}
.post-type-archive-attorney .four
{
	width: 20%;
}
.post-type-archive-attorney .gdlr-isotope > .clear
{
	display: none;
}
.post-type-archive-attorney .gdlr-page-title-wrapper
{
	background-image: url('https://viewourdesign.com/allencurry/wp-content/uploads/2018/03/attorney-profiles-banner.jpg');
}
.post-type-archive-attorney .post-header
{
	background-image: url('https://viewourdesign.com/allencurry/wp-content/themes/lawyerbase/images/pattern/pattern-1.png');
    background-repeat: repeat;
    background-color: #535E5E;
}
.post-type-archive-attorney article.type-attorney:hover .post-header
{
    background: #D5A010;
}
.post-type-archive-attorney .gdlr-blog-grid .gdlr-blog-thumbnail
{
	margin-bottom: 0;
}
.post-type-archive-attorney .gdlr-blog-title a,
.post-type-archive-attorney .gdlr-blog-title
{
	color: #fff;
	text-align: center;
	font-size: 16px;
	margin-bottom: 0;
	padding: 10px 0;
}
.post-type-archive-attorney .gdlr-blog-title a > span
{
	font-size: 25px;
	text-transform: uppercase;
}
.post-type-archive-attorney .gdlr-blog-grid .gdlr-blog-content
{
	display: none;
}
.custom-post-header
{
    height: 298px;
    width: 226px;
    display: table;
    background-color: #D5A010 !important;
}
.custom-post-header > h3
{
	display: table-cell;
    vertical-align: middle;
    font-size: 25px !important;
}
.single-attorney .gdlr-attorney-info-wrapper
{
	display: none;
}
.single-attorney .gdlr-attorney-content > h3,
.single-attorney .gdlr-attorney-content p > strong
{
	color: #D29F0C;
}
.email-btn
{
	background-image: url(https://viewourdesign.com/allencurry/wp-content/themes/lawyerbase/images/pattern/pattern-1.png);
    background-repeat: repeat;
    background-color: #535E5E;
    padding: 15px;
    color: #fff;
}
.post-type-archive-attorney .gdlr-blog-thumbnail > a > img
{
	width: 100%;
    object-fit: cover;
    max-height: 220px;
    object-position: top;
}
.gdlr-page-title-wrapper .gdlr-page-title
{
	font-style: normal;
    text-shadow: 2px 2px 10px #000000;
    letter-spacing: 2px;
}
.page-id-168 #content-section-1
{
	padding: 50px 0;
}
#blog-content .gdlr-blog-medium .gdlr-blog-thumbnail a > img
{
    width: 350px;
    height: 250px;
	object-fit: cover;
	object-position: center;
	transition: all .2s ease-in-out;
}
p.blog-date
{
    display: inline-block;
    background-color: #D69E0C;
    margin: 0;
    text-align: center;
    color: #fff;
    padding: 5px 0px;
    width: 15%;
    float: left;
    max-width: 81px;
}
p.blog-date > .date-month
{
	text-transform: uppercase;
    font-size: 20px;
}
p.blog-date > .date-day
{
	display: block;
    font-size: 35px;
}
#blog-content .gdlr-blog-title > a
{
    font-size: 21px;
    position: relative;
    color: #D69E0C;
    float: left;
    width: 80%;
    margin-left: 10px;
}
#blog-content .gdlr-blog-content .excerpt-read-more
{
	display: none;
}
#blog-content .gdlr-item.gdlr-blog-medium
{
	border-bottom: 1px solid #A4A4A4;
    padding-bottom: 20px;
}
p.blog-meta
{
    font-size: 16px;
    display: block;
    position: relative;
    text-align: left;
    color: #D69E0C;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}
p.blog-meta .fa-eye:before
{
	margin-right: 10px;
    color: #999999;
    font-size: 20px;
    position: relative;
    bottom: -1px;
}
.count-comment
{
	margin-left: 10px;
}
#blog-content .gdlr-blog-thumbnail
{
	background: transparent;
}
#blog-content .gdlr-blog-thumbnail > a:after
{
	content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: 10px;
    border: 3px solid #ffffff94;
}
#blog-content .gdlr-blog-thumbnail > a:hover > img
{
	-ms-transform: scale(1.3, 1.3);
     -webkit-transform: scale(1.3, 1.3); 
    transform: scale(1.3, 1.3);
}
#blog-content .page-numbers
{
	display: none !important;
}
#blog-content .page-numbers.next,
#blog-content .page-numbers.prev
{
	display: block !important;
    background: transparent;
    color: #D69E0C;
    text-transform: uppercase;
    font-weight: bold;
}
#blog-content .page-numbers:hover
{
	background: transparent;
}
#blog-content .page-numbers.next:after
{
	content: '>>';
}
#blog-content .page-numbers.prev:before
{
	content: '<<';
}
.custom-sidebar ul, 
.recent-posts-sidebar ul
{
    padding-left: 0;
    list-style: none;
    margin-left: 0;
}
.custom-sidebar ul > li > a,
.recent-posts-sidebar ul > li > a
{
	color: #757575;
    padding: 5px 10px 15px;
    border-bottom: 1px solid #757575;
    display: block;
}
.custom-sidebar ul > li > a:hover
{
    background: #D69E0C;
    color: #fff;
}
.top-navigation-left ul li
{
	display: block;
}
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper label.hidden_sub_label,
.gform_wrapper label.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden
}

.gform_wrapper li.hidden_label input {
    margin-top: 12px
}

.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
    margin-bottom: 12px
}

.gform_wrapper .left_label li.hidden_label input,
.gform_wrapper .right_label li.hidden_label input {
    margin-left: 3.7%
}

.gform_wrapper .hidden_label input.large,
.gform_wrapper .hidden_label select.large,
.gform_wrapper .top_label input.large,
.gform_wrapper .top_label select.large {
    width: 100%
}
.ginput_container_name > span > label
{
	display: none !important;
}
.gform_wrapper textarea.large
{
	height: 100px !important;
	border-bottom: 1px solid #e2e2e2;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])
{
	border-bottom: 1px solid #e2e2e2;
}
.practice-item-wrapper.type-classic-style .practice-title a:after
{
	content: '';
	display: none;
}
a.learn-more-custom
{
	display: block;
	font-size: 22px;
}
.ms-scroll-parallax-cont{
	background-color: rgba(0, 0, 0, 0.5);
}
.msp-preset-btn-159, #main-content-section,
.practice-item-wrapper.type-classic-style .columns:nth-child(2n) .gdlr-classic-practice-ux,
.custom-post-header,
.post-type-archive-attorney article.type-attorney:hover .post-header,
.page-id-18 input#gform_submit_button_1
{
	background-color: #D5A00E !important;
}
#practice-areas-section .gdlr-item-title-wrapper .gdlr-item-title,
.gdlr-main-menu > li:hover > a, .gdlr-main-menu > li.current-menu-item > a, .gdlr-main-menu > li.current-menu-ancestor > a,
.footer-wrapper .gdlr-navigation-wrapper .sf-menu>li>a,
#footer-widget-1 .textwidget ul li:before,
.single-attorney .gdlr-attorney-content > h3, .single-attorney .gdlr-attorney-content p > strong,
.single-practice .gdlr-practice-content h2,
.page-id-18 .gdlr-item.gdlr-content-item h2,
.gdlr-blog-title a:hover,
.page-id-22 .simple-sitemap-page a:hover,
.single-attorney .gdlr-attorney-content p > a:hover
{
	color: #D5A00E !important;
}
.post-type-archive-attorney .gdlr-blog-title a:hover
{
	color: #fff;
}
.single-attorney .gdlr-attorney-content ul,
.page-id-22 .simple-sitemap-page
{
	list-style: none;
	margin-left: 0;
}
.single-attorney .gdlr-attorney-content ul li:before,
.page-id-22 .simple-sitemap-page li:before
{
	content: '•';
	color: #D5A00E !important;
	padding-left: 10px;
	padding-right: 10px;
}
.page-id-22 .simple-sitemap-page a
{
	color: #808080;
}
.pad_30
{
	padding:30px 0;
}
.single-attorney .gdlr-attorney-content .alignnone
{
	vertical-align: 0; 
}
.practice-item-wrapper.type-classic-style .columns .gdlr-classic-practice-ux
{
    background-color: #535E5E;
}
.practice-item-wrapper.type-classic-style .practice-title
{
	font-size: 24px;
}

.ms-layer.slider-text.msp-cn-1-6 {
    left: 0px !important;
}

img.alignleft.wp-image-268 {
    width: 548px;
    height: 295px;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.post-type-archive-attorney .gdlr-blog-thumbnail > a > img
	{
		max-height: none;
	}
	.custom-post-header
	{
		height: 382px;
	}
}
@media (max-width: 1280px)
{
	.custom-post-header
	{
		width: 100%;
	}
}
@media (max-width: 1079px)
{
	.practice-item-wrapper.type-classic-style .practice-title
	{
		font-size: 20px;
	}
}
@media (max-width: 991px)
{
	.home #content-section-2 #main-content-section
	{
		padding: 20px 0 !important;
	}
	.home #content-section-2 .gdlr-content-item p
	{
		font-size: 20px;
	}
}
@media (max-width: 959px)
{
	.practice-item-wrapper.type-classic-style .practice-title
	{
		font-size: 14px;
	    padding-left: 10px;
	    padding-right: 10px;
	}
	.custom-post-header
	{
		height: 240px;
	}
}

@media (max-width: 768px)
{
	.post-type-archive-attorney .four
	{
		width: 100%;
	}
	.post-type-archive-attorney .gdlr-blog-thumbnail > a > img
	{
		max-height: none;
	}
}

/* 4 18 2018 */

@media (min-width: 768px) {
	.top-navigation-left ul {
		display: flex;
	}

	.page-id-18 .gdlr-item.gdlr-content-item h2 {
		color: #d29f0c;
	}

	.page-id-18 input#gform_submit_button_1 {
		background: #d29f0c;
	}
}

@media (max-width: 768px) {
	
	.ms-slide .ms-layer {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		text-align: center;
	}
	.msp-cn-1-6 {
		font-weight: normal;
		font-size: 16px !Important;
		text-align: center;
		line-height: normal;
		color: #ffffff;
		text-shadow: 2px 2px 2px black;
		padding-top: 50px !important;
	}

	.ms-parallax-layer {
		position: relative !important;
	}

	a.ms-layer.ms-btn.ms-btn-box.ms-btn-m.msp-preset-btn-159 {
		line-height: normal !important;
		width: auto !important;
		border: none !important;
		font-size: 16px !important;
		padding: 10px 30px !important;
		margin-top: 15px !important;
		position: relative !important;
		width: 150px !important;
	}

	.ms-anim-layers {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
	}

	.ms-btn-container {
		width: 100% !important;
		text-align: center;
		position: relative !important;
	}
}

/* 5 10 2018 
.home .footer-wrapper {
	color: #535e5e !important;
	background: #ffffff !important;
}

.home .footer-wrapper h2,
.home .footer-wrapper h4,
.home .footer-wrapper .gdlr-widget-title,
.home .footer-wrapper a {
	color: #535e5e !important;	
}

.home .footer-wrapper h2,
.home .footer-wrapper h4,
.home .footer-wrapper a {
	display: inherit;
	text-align: center;
}*/

.footer-wrapper .footer-column h2,
.footer-wrapper .footer-column h4,
.footer-wrapper .footer-column a {
	display: none;
}

.gdlr-practice-content p {
	font-size: 18px;
}
a.learn-more-custom
{
	display: none;
}

.gdlr-classic-practice .gdlr-practice-thumbnail a img
{
	display: none;
}
.practice-item-wrapper.type-classic-style .gdlr-classic-practice .gdlr-practice-thumbnail
{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

@media (max-width: 767px)
{
	.practice-item-wrapper.type-classic-style .practice-title
	{
		font-size: 30px;
	}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait)
{
	.ms-anim-layers
	{
	    -webkit-transform: translate(-50%, -50%);
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) 
{
	.practice-item-wrapper.type-classic-style .practice-title 
	{
	    font-size: 19px;
	}
}

/* ----------- iPad 3, 4 and Pro 9.7" ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) 
{
	.top-navigation-left ul
	{
		display: block;
		text-align: center;
		max-width: 90%;
		margin: 0 auto;
	}
	.top-navigation-left ul li
	{
		display: inline-block;
		text-align: center;
	}
}
/* ----------- END iPad 3, 4 and Pro 9.7" ----------- */

/* iPhone 6+, 7+, 8+ */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) 
{ 
	.ms-layer.slider-text.msp-cn-1-6 
	{
	    line-height: 20px !important;
	}
}
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) 
{ 
  	.ms-layer.slider-text.msp-cn-1-6 
  	{
	    line-height: normal !important;
	}
}
/* End iPhone 6+, 7+, 8+ */

/* iPhone 5, 5S, 5C and 5SE */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) 
{
	.ms-anim-layers
	{
	    -webkit-transform: translate(-50%, -50%);
	}
}
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) 
{
	.ms-layer.slider-text.msp-cn-1-6
	{
        padding-left: 15px !important;
    	padding-right: 15px !important;
	}
}
/* End iPhone 5, 5S, 5C and 5SE */