/*
Theme Name: Jones, Cobb, Wadsworth & Davis, LLC
Description: Designed and Powered by Too Darn Loud - Digital Marketing
Version: 1.0
Author: Too Darn Loud - Digital Marketing
Theme URI: https://www.toodarnloudmarketing.com/
Template: enfold
*/


/* CUSTOM CSS */

.hide {
    display: none;
}
.html_header_top.html_logo_center .logo {
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}
#top #header .av-main-nav > li {
    text-transform: uppercase;
}
.av-main-nav > li > a {
    padding: 0 30px;
    font-weight: normal !important;
}
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
    padding-left: 30px;
    margin-left: -30px;
}
.header_color span {
    border-color: rgba(235, 235, 235, 0.4);
}
#header_main .inner-container .widget,
#header_main .contact-info {
    position: relative;
    float: right;
	line-height: 1;
    transform: translate(-0%);
    z-index: 1;
	padding: 0;
    margin: 28px 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#header_main .inner-container .flex_column {
	width: auto;
    float: right;
    margin: 0 0 0 5px;
}
#header_main .inner-container div .first,
#header_main .inner-container div .a1,
#header_main .inner-container div .a2 {
	margin-right: 20px;
    padding-right: 25px;
    border-right: 1px solid #a4a4a4;
}
#header_main .inner-container .widget p,
#header_main .phone p,
#header_main .address p {
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    margin: 5px 0;
}
#header_main .address,
#header_main .a1,
#header_main .a2,
#header_main .phone {
    display: inline-block;
	vertical-align: middle;
}
#header_main .inner-container div .first p {
    margin-top: 8px;
}
#header_main .inner-container .widget h2,
#header_main .inner-container .phone h2 {
    text-align: right;
    font-size: 32px;
    font-weight: 600 !important;
    line-height: 32px;
    margin: 5px 0;
}
.avia-button {
    font-size: 15px !important;
}
.slideshow_caption {
    width: 60%;
}
.home_slider p {
    line-height: 1.25em;
}
.home_banner_eval_btn .avia-button {
    min-width: 300px !important;
}
.home_banner_eval_bottom_btn .avia-button {
    font-size: 20px !important;
    padding: 35px 0px !important;
}
.home_header .av-subheading {
    color: #990000;
}
.home_settlements_slider {
	font-size: 20px;
    border-top: 2px solid #f2f2f2 !important;
    border-bottom: 2px solid #f2f2f2 !important;
    margin: 30px 0 40px 0 !important;
}
.home_settlements_slider .avia-smallarrow-slider-heading{
    display: none !important;
}
.practice-areas-images h3 {
    font-size: 1.25em !important;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
    background: rgba(0,0,0,0.5);
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content:hover {
    background: rgba(83, 0, 0, 0.5);
}
.honors_badges-home {
    text-align: center;
}
.honors_badges-home a,
.honors_badges-home img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px !important;
}
.honors_badges-home a:hover .image-overlay {
    display: none !important;
}
.attorneys_home_btn a {
    width: 100%;
}
.attorneys_images .av-masonry-entry-title {
    text-align: center;
}
.article-content h1 {
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid #990000 !important;
}
.article-content_home h2,
.article-content_home_side h2 {
    color: #990000;
}
.article-content p {
    margin: 0.55em 0;
}
.article-content p + h2,
.article-content p + h3 {
    margin-top: 0.85em;
}
.article-content_home_side {
    padding: 10px 20px;
}
body div .avia-testimonial {
    float: left !important;
}
.article-testimonials .avia-testimonial-row {
    float: left;
    width: 100%;
    padding-bottom: 15px;
}
.article-testimonials .avia-testimonial_inner {
    padding: 25px;
}
.article-testimonials strong {
    color: #990000 !important;
    font-weight: normal;
}
.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
    opacity: 0.85;
}
.map {
    line-height: 0.5em;
}
.av-share-box {
    max-width: 350px;
}

/* Sidebar */

.sidebar .widget {
    padding: 20px 0;
}
#text-11 {
    padding-bottom: 5px !important;
}
#text-11 a {
    color: #990000;
}
#text-12 {
    color: #fff;
	background: #ececec url(/wp-content/uploads/2018/04/images_sidebar.jpg) center center no-repeat scroll;
	background-size: cover !important;
    padding: 5px 20px !important;
    margin: 15px 0 20px;
}
#avia_google_maps-2 {
    padding-top: 5px !important;
}

.page-id-86 #avia_google_maps-2,
.page-id-213 #avia_google_maps-2 {
    display: none;
}
#text-13 a {
    background-color: #990000;
    color: white;
    text-align: center;
    text-decoration: none !important;
    padding: 15px 0;
    width: 100%;
    display: table;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#text-13 a:hover {
    background-color: #b80000;
}

/* END Sidebar */

/* Contact Form */
.wpcf7 form {
    float: left;
    width: 100%;
}
.wpcf7 p,
.wpcf7 div {
    float: left;
    width: 100%;
    margin: 0.35em 0;
}
.wpcf7 span {
    color: #df2618 !important;
}
.wpcf7 input[type='text'], 
.wpcf7 input[type='email'], 
.wpcf7 input[type='tel'],
.wpcf7 textarea {
    padding: 13px !important;
    margin-bottom: 5px !important;
    font: 14px/1 Open Sans, sans-serif !important;
    border-color: #c0c0c0 !important;
    background-color: #f3f3f3 !important;
    color: #222222 !important;
}
.wpcf7 input[type='file'] {
    padding: 13px 13px 13px 0 !important;
}
.wpcf7 select {
    padding: 15px 13px !important;
    margin-bottom: 5px !important;
    font: 14px/1 Open Sans, sans-serif !important;
    border-color: #c0c0c0 !important;
    background-color: #f3f3f3 !important;
    color: #222222 !important;
}
.wpcf7 .half, .wpcf7 .half-2 {
    float: left;
    width: 49.5%;
}
.wpcf7 .half-2 {
    margin-left: 1%;
}
.wpcf7 .wpcf7-response-output {
    float: left;
    margin: 1.25em 0;
}
.wpcf7 .wpcf7-validation-errors {
    border: 2px solid #ed0909 !important;
    background-color: rgba(237, 9, 9, 0.1);
}
.wpcf7 .wpcf7-mail-sent-ok {
    border: 2px solid #50ad28 !important;
    background-color: rgba(80, 173, 40, 0.15);
}
.wpcf7 input[type="submit"], 
.wpcf7 #submit {
    float: left;
    color: #ffffff;
    margin-top: 15px;
    padding: 16px 50px;
    border-radius: 2px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-weight: normal;
    font-size: 0.92em;
    outline: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
/*.wpcf7 input[type="submit"]:hover {
    background-color: #3c508d;
    border-color: #3c508d;
}*/
div.wpcf7 .ajax-loader {
    display: none;
}
/* END Contact Form */

/* Footer */
#footer {
    border-top: 8px solid #990000;
	padding: 10px 0 30px 0;
}
.page-id-76 #footer {
    border-top: none !important;
}
.footer_color {
    background-size: cover !important;
}
#footer .image-overlay-inside, 
#footer .image-overlay.overlay-type-extern {
	display: none !important;
}
#footer .flex_column.av_one_fourth:nth-child(1) {
   	width: 100%;
	margin-bottom: 20px;
   	/*border-bottom: 1px solid #464646;*/
}

#footer .flex_column.av_one_fourth:nth-child(4) {
   	width: 100%;
	margin: 25px auto 10px;
    padding-top: 10px;
    border-top: 1px solid #666666;
   	/*border-bottom: 1px solid #464646;*/
}
#footer .widget {
    margin: 15px 0;
}
#footer .widgettitle {
   	font-size: 22px;
   	margin-bottom: 25px;
}
#media_image-2 {
    text-align: center;
	margin: 30px 0 15px 0 !important;
}
#footer #text-10 {
   	text-align: center;
    font-size: 14px;
    line-height: 22px;
    color: #cccccc;
}
#footer .av_font_icon {
    display: inline-block;
	margin: 2px 10px;
}
#footer .av_font_icon a {
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#socket .container {
    text-align: center;
	font-size: 12px;
}
#socket .copyright {
    float: none;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1300px) and (min-width: 990px) {

	.home_slider h2 {
	font-size: 26px !important;
}
	.home_slider .avia-caption-content p {
	font-size: 42px !important;
}
	}

@media only screen and (max-width: 1300px) and (min-width: 1100px) {

	.av-main-nav > li > a {
    padding: 0 23px;
}
	.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
    padding-left: 23px;
    margin-left: -23px;
}
	}

@media only screen and (max-width: 1200px) and (min-width: 990px) {

	#header_main .address p,
	#header_main .phone p {
    font-size: 1.5vw !important;
    line-height: 20px !important;
}
	#header_main .phone h2 {
	font-size: 2.5vw !important;
}
	}

@media only screen and (max-width: 1100px) and (min-width: 990px) {

	.av-main-nav > li > a {
    font-size: 14px !important;
    padding: 0 18px;
}
	.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
    padding-left: 18px;
    margin-left: -18px;
}
	}

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

	#header_main .address {
    display: none;
}
	#header_main .phone {
	display: block;
	padding: 10px 0;
    margin: auto;
}
	#text-12 {
    font-size: 14px;
    line-height: 21px;
}
	#text-13 a {
    font-size: 14px;
    line-height: 18px;
}
	.wpcf7 .half, .wpcf7 .half-2 {
    float: none;
    width: 100%;
}
	.wpcf7 .half-2 {
    margin-left: 0;
}
	}

@media only screen and (max-width: 989px) and (min-width: 768px) {
	
	#header_main .inner-container .widget {
    right: 10%;
    margin: 10px 0;
}
	#header_main .inner-container .widget h2 {
    font-size: 28px;
    line-height: 1;
}
	#header_main .inner-container div .first {
	display: none;
}
	.page-id-78 .avia-slideshow li img,
	.page-id-82 .avia-slideshow li img{
    left: -260px !important;
}
	}

@media only screen and (min-width: 768px) {

	#footer .flex_column.av_one_fourth:nth-child(2) {
    margin-left: 0;
    width: 69.333333% !important;
}
	#footer .flex_column.av_one_fourth:nth-child(3) {
    margin-left: 10% !important;
    width: 20.333333% !important;
}
	}

@media only screen and (max-width: 1024px) and (min-width: 480px) {	

	.practice-areas-images h3 {
    font-size: .85em !important;
    line-height: 1.25em !important;
}
	.av-masonry-entry .av-inner-masonry-content {
    padding: 10px !important;
}
	}

@media only screen and (max-width: 767px) {
	
	#header_main .inner-container .widget {
    float: none;
    display: block;
    width: 100%;
    border-top: 1px solid #9e9e9e;
    margin: 10px 0 0 0;
}
	#header_main .inner-container .widget p,
	#header_main .inner-container .widget h2 {
    text-align: center !important;
}
	#header_main .inner-container .widget h2 {
    font-size: 26px;
    line-height: 1;
}
	#header_main .inner-container .flex_column {
	margin: 8px 0 !important;
}
	#header_main .inner-container div .first {
	display: none;
}
	.page-id-78 .avia-slideshow li img,
	.page-id-82 .avia-slideshow li img{
    left: -350px !important;
}
	.wpcf7 form, 
	.wpcf7 p, 
	.wpcf7 .half, 
	.wpcf7 .half-2 {
    	width: 100%;
    	clear: both;
    	margin-right: 0;
    	margin-left: 0;
    	float: none;
}
	}

/* END CUSTOM CSS */