/*
Theme Name: Enfold Child
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 will be much easier then. 
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*Add your own styles here:

#dde7f0 - very light blue from Estate Planning image 
#8dd1f6 - Blue from sky in Property development image with MAryann
#305227 - Dark green from ruler
#8ab0cd - Blue from pallette
#4b8a2a - Green Button background

****************** CUSTOMIZATIONS FOR MARYANN CASSIDY ************ 
*/

:root {
--logo-grey: #393b3f;
--hdr-blue: #8ab0cd;
--dark-blue: #141c4b;
--very-light-blue: #dde7f0;
--button-green: #4b8a2a;
--dark-grey: #222222;
}

h2, h3, h4, h5, h6 { color: var(--dark-blue); }

body { /* background-color: #dde7f0 !important; */ background-color: #f1f6fa; font-size: 18px; color: var(--dark-grey);}

a { font-weight: 700; }

.caption_fullwidth { position: absolute; bottom: 0; left: 0; top: 0; z-index: 10; }
#top.cassidy-single-pg #wrap_all .avia-slideshow .avia-caption-title { color: #fff; font-size: 34px;}
#top.cassidy-single-pg #wrap_all .avia-slideshow .avia-caption-content { color: #e8e8e8; font-size:20px;}
.caption_left .slideshow_caption { left: auto; padding-left: 50px; margin-left: -7%; float: left; }

#top #header .av-main-nav > li > a {
    font-size: 16px;
    letter-spacing: .05rem;
}
#top #header.header-scrolled .container.av-logo-container{
	/* logo menu bar when shrunken **/
}

.hdr-section-team h2 { text-align: center;
		/* color: #6786a1;
	color: #8ab0cd; */
	color: var(--hdr-blue);
	padding: 0;
	margin-top: 4rem;
	margin-bottom: 0;}

.hdr-section-team .template-page.content.av-content-full.alpha.units { padding-bottom:0; }
.template-page .entry-content-wrapper h2 { text-transform: none; }
#after_section_2 .container .av-content-full.units,
#hp-mid-section .container .av-content-full.units { padding-bottom: 0; }

#hp-mid-section .container .av-content-full.units h2 { margin-bottom: 0; }
.hdr-section-legal-services h2 {color: var(--hdr-blue); margin-bottom: 0;}
#after_section_2 .container_wrap { border-color: #f1f6fa; }
.responsive .logo img { float: left;}

/* CSS - Subtext on right */

#top .logo,
#top .logo a {
  overflow: visible;
}

/* Subtext styling 
* from https://kriesi.at/documentation/enfold/logo/#toggle-id-1
*/
.logo .subtext h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 38px;
	font-weight: 600;
	margin-top: 75px;
	color: var(--logo-grey);
	text-transform: uppercase;

}

.logo .subtext {
	position: absolute;
	top: 20%;
	left: 0;
	transform: translate(35%, -55%);
	z-index: 999;
	width: 270px;
	/* background-color: #f4eceb; */
	background-color: transparent; 
}

#top #header.header-scrolled .container.av-logo-container .logo .subtext h1 { font-size: 24px; margin-top: 52px; }

#header_meta .phone-info, #header_meta .sub_menu {
    font-size: 14px;
}
.fullsize .content .entry-content-wrapper, .content .entry-content-wrapper {
	padding-right: 5%; padding-top: 2rem;
}
.single-post .content .entry-content-wrapper { padding-top: 0; }

.content {
	padding-top: 10px;
}
#footer .flex_column .widget .widgettitle { height: 30px;
  vertical-align: top;
  background-color: transparent;
  margin: 0;
  display: table-cell;
  font-size: 16px;
  color: #F1F6FA;
}

/* Blog Sidebar */
/* .sidebar h3.widgettitle, .cat-item a, .sidebar .textwidget.custom-html-widget { font-size: 85%; } */

/* Our services on home page */
.iconbox_content_container p { margin-top: 5px; margin-left: 3px; line-height: 1.2;}
#footer .textwidget p, 
#footer .widget_nav_menu li { color: #F1F6FA; line-height: 1.1; font-size: 15px !important; }
#footer .textwidget p { margin: 0; line-height: 1.2;}
#footer .textwidget p a { text-decoration: underline;}

.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title {
	background: rgba(103, 134, 161,0.9);
	display: inline-block;
	margin: 0;
	padding: 10px 15px;
	border-bottom: 1px dotted #e7eef5;
}
h2.avia-caption-title { color: #e8e8e8;}
.caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption {
	padding: 20px; background: rgba(54,77,148, 0.8);}

.cassidy-single-pg .entry-content-wrapper { border-right: none; box-shadow: none; }

.cassidy-single-pg .entry-content-wrapper a { text-decoration: underline !important; }
.cassidy-single-pg .post-entry-1217 .entry-content-wrapper { border-right: none; box-shadow: none; }

/* CASSIDY TEAM PAGE    ***** Side by side team member image and content  */
#kevinredmond-cassidylaw .team-img-container,
#michellekincade-cassidylaw .team-img-container,
#maryanncassidy-cassidylaw .team-img-container { float: right; width: 35%; margin-left: 20px; }
.cassidy-law-team-bios { padding-top:2rem;}
/* Team member circle image */
#kevinredmond-cassidylaw .team-img-container img,
#michellekincade-cassidylaw .team-img-container img,
#maryanncassidy-cassidylaw .team-img-container img { border-radius: 100%; }
.cassidy-law-team-member .team-member-name,
.cassidy-law-team-member .team-member-job-title  {font-size: 92%;}

/* real estate challenges page */
.iconlist-char {  color: #4c8a2a;  font-size: 52px; }
.main_color .avia-icon-list .iconlist_icon { background-color: #e7eef5; }

.avia-tooltip { width: 180px; }
.avia-tooltip, .alternate_color .avia-tt { background-color: rgb(221, 231, 240); }
.avia-tooltip .inner_tooltip { font-size: 1em; 	line-height: 1em; color: #009b97;}
.cassidy-single-pg .avia-image-container-inner .av-image-caption-overlay-center {
    vertical-align: bottom;
}
.cassidy-single-pg.page-id-19 .avia-image-container-inner .av-image-caption-overlay-center {
	line-height: 1; font-size: 1.1rem; font-weight:600; padding-bottom: .5rem;
}
.law-team-section-hp .av-image-caption-overlay-center > p, .law-team-section-hp .av-image-caption-overlay-center p:first-child, .law-team-section-hp .av-image-caption-overlay-center p:first-child { margin-top: 45%; }
#top .av-subnav-menu > li { margin-top: .6rem; margin-bottom: .6rem; margin-left: 4rem; }
.caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption {
	padding: 20px;
	background: rgb(103, 134, 161);
}
#collections.law-team-section-hp { max-height:400px;}

#top .main_color .avia-color-theme-color-highlight, div div .av-light-form .button {color: #fff; letter-spacing: .10em; }
#top .main_color .avia-color-theme-color-highlight {background-color: rgba(76, 138, 42,.8);}

/*  Email Sign Up form */
div div .av-light-form .button { border-left:none !important; border-right: none !important; border-top: none !important;}
div div .av-light-form .button {background-color: rgba(76, 138, 42,.8); border-color: #4b8a2a !important; }
.avia_ajax_form .button { padding: 8px 20px; }

#top .av-custom-form-color .button { border: 2px solid; }

#top .main_color .avia-color-theme-color-highlight:hover,
div div .av-light-form .button:hover,
div .main_color .button:hover {background-color: #fff; color: #4b8a2a !important; }


.contact-pg-grid-row { padding-left:150px; background-color: rgba(76, 138, 42,.8); }
.page-id-1217 .avia_ajax_form fieldset { max-width: 80%;  margin: 0 auto; }

/*** Blog Archive page ***/
.recentcomments a, .widget_recent_entries li a {
	font-style: normal;
	font-family: "Raleway", Helvetica, sans-serif;
	font-weight: normal;
}
.widget_recent_entries li a:before {
	content: "\00BB";
	font-weight: 700;
	margin-right: 5px;
}
.hp-section-meet-maryann .content { padding-bottom: 0;}

/* all types of buttons */
.main_color .primary-background, .main_color .primary-background a, div .main_color .button, .main_color #submit, .main_color input[type="submit"], .main_color .small-preview:hover, .main_color .avia-menu-fx, .main_color .avia-menu-fx .avia-arrow, .main_color.iconbox_top .iconbox_icon, .main_color .iconbox_top a.iconbox_icon:hover, .main_color .avia-data-table th.avia-highlight-col, .main_color .avia-color-theme-color, .main_color .avia-color-theme-color:hover, .main_color .image-overlay .image-overlay-inside::before, .main_color .comment-count, .main_color .av_dropcap2, .responsive #top .main_color .av-open-submenu.av-subnav-menu > li > a:hover, #top .main_color .av-open-submenu.av-subnav-menu li > ul a:hover, .main_color .av-colored-style .av-countdown-cell-inner, .main_color .wc-block-components-button:not(.is-link) {
	background-color: rgba(76, 138, 42,.8); 
	border-color: #4b8a2a !important; 
	color: #fff;
}
.page-title-no-image { font-size: 38px; }

/* blog Posts Title*/
#top h1 { margin-top: 10px; }
#top h1 a {font-weight: 600; font-size: 28px; line-height: 1.1em; }
#top h1 a {color:var(--enfold-main-color-heading) !important ;}

.single-post .container_wrap {
	clear: both;
	position: relative;
	border: none;
}
.mobile-capitalize { text-transform: uppercase; }
.mobile-capitalize  .sub-menu > li a { text-transform: none; margin-bottom: 2px; }

.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {padding: 5px 50px; }
.html_av-overlay-side #top #wrap_all .av-burger-overlay li .sub-menu > li:last-child { margin-bottom: 40px; } 

.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a:hover {text-decoration: underline;}
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a { color: var(--dark-blue);}
}
/************************************** MEDIA SIZE BELOW *************************************** */

@media only screen and (min-width: 480px) {
	ul.articles-archive-search { columns:2;}
	ul.images-archive-search { columns:3;}
	button#responsive-menu-pro-button { right: 15% !important; }
	#search-filter-form-7940, #search-filter-form-53969, #search-filter-form-53950 { width: 50%;}
	.iconbox .iconbox_content .iconbox_content_title { font-size: 1.1em !important; } /* home page services */
}

@media only screen and (min-width: 811px) {
	.cassidy-single-pg .entry-content-wrapper { border-right: 1px solid #666; padding: 0 5%; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
}
@media only screen and (min-width: 810px) { 
	.responsive .container { max-width: 810px; }
}
@media only screen and (max-width: 810px){
	.avia-fullscreen-slider .avia-slideshow > ul > li { background-size: auto 800px !important; background-attachment: scroll !important; }
}

@media only screen and (max-width: 1000px) {
  nav.main_menu { display: block !important; }
  #avia-menu .menu-item { display: none; }
  .only-desktop { display: none !important; }
  .av-burger-menu-main.menu-item-avia-special { display: block; }
	.logo.avia-standard-logo img { max-height: 45px !important;} 
	#top .main_color .avia-color-theme-color-highlight { background-color: rgba(76, 138, 42,.9);}
	#top .avia-slideshow-button {padding: 9px 5px ; margin-top: 30px; display:inline; white-space: nowrap; }
	#top.cassidy-single-pg #wrap_all .avia-slideshow .avia-caption-title { font-size: 20px}
	.responsive #top .slideshow_caption .avia-caption-content p { font-size: 16px; line-height: 1.2; }
	.attorney-maryann-cassidy-hp .avia-tooltip { margin-bottom: 2px; padding: 5px; }
	.avia_textblock h2 { font-size: 24px; }
	.responsive #top #main .sidebar.smartphones_sidebar_active { border-top-width: 5px; }
	.container.caption_container {margin-top: 5px; }
	.cassidy-law-team-member .team-img-container > img { max-width: 70%;}
	.responsive #top  #scroll-top-link { display: block; background-color: var(--enfold-alternate-color-heading);  }

}
@media only screen and (min-width: 1001px) { 

	.only-mobile { display: none !important; }
}