/*
Theme Name: Peake & Fowler
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* CUSTOM CSS */

#wrap_all { position: relative !important; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}
#advanced_menu_toggle, #advanced_menu_hide {
    background-color: #0f537b;
    border-color: #0f537b;
}
.main_color a {
    color: #4089ce;
    font-weight: 600;
}
.html_header_top.html_logo_center .logo {
    left: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}
#header_main {
    border-top-color: #fff;
}
#header_main .av-logo-container {max-width: 1500px;}

#header_main .inner-container .widget {
    padding: 8px 0;
    position: relative;
    line-height: 20px;
    float: right;
    transform: translate(-0%);
    z-index: 999;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
#header_main .inner-container .widget .avia-button-center  {
    display: inline-block;
    line-height: 20px;
    margin: auto;
    padding-top: 10px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
#header_main .inner-container .widget .header_numbers {
    float: right;
    /*display: inline-block;*/
    margin: 15px 15px 0 25px;
    padding-right: 15px;
    border-right: 1px solid #bbbbbb;
  }
#header_main .inner-container .widget .header_address {
    float: right;
    color: #666666;
    font-size: 16px;
    padding: 12px 0;
    line-height: 22px;
    font-weight: 600;
  }

#header_main .inner-container .widget h2 {
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: 500;
  }

#header_main .inner-container .widget h4 {
    font-size: 21px;
    line-height: 1em;
    margin-bottom: 2px;
  }
#header.header-scrolled .widget {
    padding: 5px 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
#header.header-scrolled .avia-button.avia-size-large {
    padding: 7px 20px 5px;
    font-size: 13px;
    min-width: 120px;
}
#header.header-scrolled .widget h2 {
    font-size: 22px;
    margin: auto 0 5px 15px;
  }
.av-special-heading {
    margin-top: 10px;
}
.av-main-nav > li > a {
    padding: 0 16px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
}
.av-main-nav ul li a {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
#top .widget_nav_menu li {
    font-size: 0.9em;
}
.widget_recent_entries li a {
    font-weight: normal;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content * {
    font-family: 'Open Sans' !important;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
    background: rgba(0,0,0,0.5);
}
.avia_transform .av_slideshow_full.avia-fade-slider .active-slide .avia-caption-content h3 {
    font-size: 28px;
}

.responsive .container .content_auto-accident, .responsive .container .content_boating, .responsive .container .content_nursing-home {
    background-color: rgba(234, 234, 234, 0.85) !important;
}
.responsive .container .content_about-us {
    background-color: rgba(255, 255, 255, 0.85) !important;
}
.responsive .container .content_personal-injury, .responsive .container .content_workers-comp {
    background-color: rgba(34, 34, 34, 0.85) !important;
}
.home-testimonials {
    margin-top: 10px;
}
#top .fullsize .flex_column .template-blog .post .entry-content-wrapper > * p {
    line-height: 1.5em !important;
}
#top .attorney-wrap .attorney-button .avia-button-fullwidth {
    background-color: transparent !important;
    border: 1px solid #ececec;
    font-size: 1.15em;
}
#top #wrap_all .all_colors .body-content h2, #top #wrap_all .all_colors .body-content h3 {
    color: #333333 !important;
    font-weight: 500 !important;
}
#top #wrap_all .all_colors .videos-page h2 {
    font-size: 24px !important;
}
.contact-us_map iframe {
    border: 1px solid #c0c0c0 !important;
}
.page-id-817 .widget_nav_menu {
    display: none !important;
}
.av-share-box {
    max-width: 300px;
}

/* 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 */

/* Sidebar */
#text-7 a {
    color: #224c73;
}
/* END Sidebar */


/* Footer */

/*#footer .widget p, #footer .widget p a {
    font-size: 13px;
}
#footer #text-6 a {
    text-decoration: none !important;
}*/
#footer #text-6 a strong {
    color: #4089ce !important;
}
#footer .flex_column.av_one_fifth:nth-child(1) {
   	width: 100%;
    text-align: center;
	margin-bottom: 20px;
}
#footer .flex_column.av_one_fifth:nth-child(5) {
   	width: 100%;
    text-align: center;
	border-top: 1px solid #8a9098;
	margin: 30px 0 10px;
}
#footer .widget {
    margin: 15px 0;
}
#footer .widgettitle {
   	font-size: 24px;
	font-family: 'crimsontext-roman' !important;
    /*color: #426176;
	border-bottom: 1px solid #b1b1b1;
    padding-bottom: 8px;*/
   	margin-bottom: 20px;
}
#footer .widget_nav_menu li {
    font-size: 15px;
    padding: 0;
}
#footer .widget_nav_menu a {
    padding: 1px 0px 2px 0;
}
#footer .av_font_icon {
    display: inline-block;
	margin: 2px 5px;
}
#footer .av_font_icon a {
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#custom_html-3 {
    margin-top: 40px !important;
}
#custom_html-3 iframe {
    margin: 0 !important;
}
#super-container .link {
    background-color: transparent;
    border-color: #ffffff;
    border-radius: 3px;
    padding: 10px 15px;
}
#socket .container {
    text-align: center;
    font-size: 13px;
    padding-top: 20px;
    padding-bottom: 20px;
}
#socket .copyright {
    float: none;
	line-height: 1;
}

/* END Footer */

/* MEDIA QUERIES */

@media only screen and (max-width:1300px) and (min-width: 1200px) {
	#header_main .av-logo-container {
    padding: 0 40px;
}
}

@media only screen and (max-width:1200px) and (min-width: 990px) {
	#header_main .av-logo-container {
    padding: 0 30px;
}
	#header_main .inner-container .widget .avia-button-center {
    display: none;
}
	#header_main .inner-container .widget .header_numbers {
    margin: 15px 15px 0 0;
    /*padding: 9px 15px 0 0;*/
}
	#header_main .inner-container .widget h2 {
    /*font-size: 24px;*/
    margin-bottom: 2px;
}
	#header_main .inner-container .widget h4 {
    font-size: 22px;
}
	#header_main .inner-container .widget .header_address {
    font-size: 16px;
}
}

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

}

@media only screen and (max-width:1024px) and (min-width: 990px) {
.av-main-nav > li > a {
    padding: 0 14px;
}
}

@media only screen and (max-width: 989px) {
	.responsive #top #wrap_all #header {
    position: relative;
    width: 100%;
    float: none;
    height: auto;
    margin: 0 !important;
    opacity: 1;
    min-height: 0;
}
	.responsive #top #wrap_all .main_menu {
    top: 0;
    height: 80px;
    left: auto;
    right: 0;
    display: block;
    position: absolute;
}
	.responsive #top #wrap_all .av-logo-container {
    padding: 0;
}
	.responsive #top #wrap_all .av-logo-container {
    /*height: 80px;*/
    line-height: 80px;
}
	.responsive #top .logo {
    position: static;
    display: table;
    height: 80px !important;
    float: none;
    padding: 0;
    border: none;
    width: 80%;
}
	.responsive .logo img {
    height: auto !important;
    width: auto;
    max-width: 100%;
    display: block;
    max-height: 80px;
    margin: 0;
}
	.responsive #top #wrap_all .container {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
    /*padding-left: 0;
    padding-right: 0;*/
    float: none;
}
	.responsive #header_main .container {
    height: auto !important;
}
	#header_main .inner-container .widget .avia-button-center {
    display: none;
}
	#header_main .inner-container .widget {
    float: none;
    display: block;
    width: 100%;
	border-top: 1px solid #cecece;
}
	#header_main .inner-container .widget p {
    font-size: 13px;
    line-height: 1;
    margin: 10px 0;
}
	#header_main .inner-container .widget h2 {
    font-size: 26px;
    line-height: 1;
}
	#header_main .inner-container .widget .header_numbers {
    margin: 16px 10px 0 0;
    padding-right: 10px;
}
	#header_main .inner-container .widget .header_address {	
    width: 50%;
    font-size: 14px;
    line-height: 19px;
}
.footer_color {
    background-size: cover !important;
}
.ls-wrapper .ls-ep-image {
    display: none !important;
}
}

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

	
	}

@media only screen and (min-width: 768px) {
	#socket .logo_sundown {
    float: none;
    padding-right: 15px;
    /* margin-top: 5px; */
    display: inline-block;
    vertical-align: middle;
}
	#footer .flex_column.av_one_fifth:nth-child(1) {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
	#footer .flex_column.av_one_fifth:nth-child(2) {
    margin-left: 0;
    width: 29.333333333333332% !important;
}
	#footer .flex_column.av_one_fifth:nth-child(3), #footer .flex_column.av_one_fifth:nth-child(4) {
    margin-left: 6% !important;
    width: 29.333333333333332% !important;
}
}

@media only screen and (max-width: 767px) {
	.ls-wrapper .ls-ep-image {
    display: none !important;
}
	#socket .logo_sundown {
    float: none;
    padding-right: 15px;
    margin-top: 5px;
    display: inline-block;
    vertical-align: middle;
}
}

@media only screen and (max-width: 479px) {
	#header_main .inner-container .widget .header_address {
    width: 100%;
    padding: 5px 0;
    text-align: center;
}
	#header_main .inner-container .widget .header_numbers {
    margin: 10px 0;
    padding: 10px 0 0;
    width: 100%;
    text-align: center;
	border-top: 1px solid #bbbbbb;
	border-right: none;
}
}