/*
Theme Name: NW Theme
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: 10.0
Author: Dustin Grof
Author URI: http://www.dustingrof.com
Template: enfold
*/
/*==============================
START HEADER STYLES
============================== */
p {
    text-align: justify;
}
.linear-gradient-background p {
    text-align: inherit;
}
.av-subheading p {
    text-align: inherit;
}
.js_active .av-elegant-toggle .toggler, .avia-admin-preview-container .av-elegant-toggle .toggler {
    padding: 25px 55px 20px 15px;
}
li#menu-item-2806 a {
    background-color: #555349 !important;
    padding: 5px 10px;
    color: white !important;
    font-size: 14px;
    font-weight: bold !important;
    text-transform: uppercase;
    border-bottom: 2px #555349 solid;
    border-top: 2px #555349 solid;
}
#top li#menu-item-2806 a:hover {
    color: #ffffff;
}
#header_meta li {
    font-size: 14px;
    font-weight: 400;
}
#header_meta li a {
    font-weight: 400;
}
#top #header_meta a, #top #header_meta li, #top #header_meta .phone-info {
    color: #000000;
}
.phone-info.with_nav {
    font-size: 14px;
    font-weight: 400;
}
#top.home h2.avia-caption-title {
    font-family: inherit;
}
.sub_menu>ul>li>a {
    -webkit-transition: none;
    transition: none;
    -webkit-transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}
/* change transparent glassy opacity */
#top .av_header_glassy.av_header_transparency .header_bg {
    opacity: 0.5;
}
/* change top bar background color on transparent glassy hearder */
#top .av_header_transparency #header_meta {
    background-color: rgb(172 166 147 / 80%);
}
/*  */
#top .av_header_transparency.header_color .social_bookmarks a {
    color: #000 !important;
}
#top .av_header_transparency.header_color .social_bookmarks li {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #7a776e !important;
}
#top .av_header_transparency #header_meta li {
    border-color: #7a776e;
}
#top #header.av_header_transparency.header_color .av-main-nav > li > a {
    color: #fff;
}

/* Hover color for main menu items */
#top #header.header_color.av_header_transparency .av-main-nav > li > a:hover, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-text {
    color: #333 !important;
    text-decoration: underline;
}
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*===========================
END HEADER STYLES
============================== */


/*==============================
START GENERAL STYLES
============================== */

/* border settings for grid rows */
.av-border-cells .flex_cell {
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: white;
}
/* border settings for grid rows */
.av-border-top-bottom {
    border-top-style: solid;
    border-top-width: 2px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: white !important;
    border-top-color: white !important;
}
/* text shadow to full width easy slider */
.avia_transform .av_slideshow_full .active-slide .avia-caption-title,
.avia_transform .av_fullscreen .active-slide .avia-caption-title {
    text-shadow: 1px 1px 1px #000000;
    text-shadow: 0px 0px 40px #000;

}
/*  */
.modern-quote .av-special-heading-tag {
    font-weight: 600;
}
/*  */
.av-subheading p:last-child {
    font-weight: normal!important;
}
/*  */
#top .text-shadow h1.av-special-heading-tag {
    text-shadow: 1px 1px 1px #000000;
    text-shadow: 0 0 40px black;
}
.text-shadow h1, .text-shadow h2, .text-shadow h3, .text-shadow h4, .text-shadow p, .text-shadow div {
	text-shadow: 1px 1px 1px #000000;
}
/* hide post feature image in blog posts element with this class */
#top .decisions_settlements_posts .slide-image {
    display: none;
}
/*make h3 white and add text shadow to image captions*/
#top #wrap_all .all_colors .av-image-caption-overlay-center h3, .av-image-caption-overlay-center {
    color: #ffffff !important;
    text-shadow: 0 0 10px black;
}
/*change the color of post meta links*/
#top .main_color span.post-meta-infos a {
    color: #284356;
}
#top.home #wrap_all .all_colors h3 {
    font-size: 32px;
}
#top .av-large-testimonial-slider .avia-testimonial-content {
    font-size: inherit;
}
#top.areas_of_practice-template-default .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: initial;
    margin-left: auto;
    margin-right: auto;
}

#top.areas_of_practice-template-default .fullsize .template-blog .post .entry-content-wrapper {
    text-align: justify;
    font-size: initial;
}
#top.areas_of_practice-template-default .no_margin.av_one_fourth {
    width: 24%;
    padding-right: 1%;
    padding-bottom: 1%;
}
.grid-content {
    padding: 10px;
}
#top.areas_of_practice-template-default .grid-content {
	min-height: 65px;
}
.lawyer_contact_info table tr td {
    border-left: none;
    border-right: none;
	    padding: 10px 10px;
}
.lawyer_contact_info table tr {
    background: white;
}
.av-inner-tab-title {
    text-transform: none;
    display: initial;
    font-size: 24px;
}
.flex_column.column_hover:hover {
    background-color: rgba(0,0,0,.7) !important;
}

.flex_column.column_hover {
    transition: all .3s ease-in-out;
}
#top .flex_column.column_hover a {
	text-decoration:none;
	color:#ffffff;
}
.main_color input[type='submit'] {
    background: #284356;
    background-color: #284356;
}
.main_color input[type='submit']:hover {
    background: #365c77;
}
.main_color .sidebar_tab, .main_color .tabcontainer .tab {
    color: #919191;
    background-color: #ffffff;
}
/*remove image from blog grid*/
#top a.slide-image {
    display: none;
}
#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    font-size: 2.2em;
}
.av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
    padding-top: 10px;
    padding-bottom: 10px;
}
.single-areas_of_practice .custom-email-address {
    display: none;
}
#top .home-transparent-textbox {
    color: white;
    font-size: 18px;
    line-height: 1em;
    text-align: center;
	text-shadow: 2px 2px 7px rgb(0 0 0 / 30%);
}
#top .home-transparent-textbox h3 {
    color: white !important;
    font-size: 24px;
}
div#home_top_section p, div#home_top_section h3, div#home_top_section h1 {
    text-shadow: 1px 1px 1px #000000;
}

/** Create the linear background effect for over a hero image  **/
.linear-gradient-background {
	background: rgb(0,0,0);
background: -moz-linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29735644257703087) 15%, rgba(0,0,0,0.5046393557422969) 50%, rgba(0,0,0,0.30015756302521013) 85%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29735644257703087) 15%, rgba(0,0,0,0.5046393557422969) 50%, rgba(0,0,0,0.30015756302521013) 85%, rgba(0,0,0,0) 100%);
background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29735644257703087) 15%, rgba(0,0,0,0.5046393557422969) 50%, rgba(0,0,0,0.30015756302521013) 85%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}


/** Style the Practice Area FAQs **/
#top .main_color .practice_area_faq .toggler {
    background-color: transparent;
}
#top .main_color .practice_area_faq .toggle_content {
    background-color: #efece3;
}

.main_color, .main_color div, .main_color header, .main_color main, .main_color aside, .main_color footer, .main_color article, .main_color nav, .main_color section, .main_color span, .main_color applet, .main_color object, .main_color iframe, .main_color h1, .main_color h2, .main_color h3, .main_color h4, .main_color h5, .main_color h6, .main_color p, .main_color blockquote, .main_color pre, .main_color a, .main_color abbr, .main_color acronym, .main_color address, .main_color big, .main_color cite, .main_color code, .main_color del, .main_color dfn, .main_color em, .main_color img, .main_color ins, .main_color kbd, .main_color q, .main_color s, .main_color samp, .main_color small, .main_color strike, .main_color strong, .main_color sub, .main_color sup, .main_color tt, .main_color var, .main_color b, .main_color u, .main_color i, .main_color center, .main_color dl, .main_color dt, .main_color dd, .main_color ol, .main_color ul, .main_color li, .main_color fieldset, .main_color form, .main_color label, .main_color legend, .main_color table, .main_color caption, .main_color tbody, .main_color tfoot, .main_color thead, .main_color tr, .main_color th, .main_color td, .main_color article, .main_color aside, .main_color canvas, .main_color details, .main_color embed, .main_color figure, .main_color fieldset, .main_color figcaption, .main_color footer, .main_color header, .main_color hgroup, .main_color menu, .main_color nav, .main_color output, .main_color ruby, .main_color section, .main_color summary, .main_color time, .main_color mark, .main_color audio, .main_color video, #top .main_color .pullquote_boxed, .responsive #top .main_color .avia-testimonial, .responsive #top.avia-blank #main .main_color.container_wrap:first-child, #top .main_color.fullsize .template-blog .post_delimiter, .main_color .related_posts.av-related-style-full a {
    border-color: #4d7692;
}

#practice-area-services-section .av_toggle_section p.toggler, 
#practice-area-services-section .av-elegant-toggle .toggle_icon .hor_icon, .av-elegant-toggle .toggle_icon .vert_icon {
    border-color: #4d7692;
}
.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon, .main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current, .main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner, .main_color .av-hotspot-fallback-tooltip-count {
    background-color: rgb(255 255 255 / 50%);
}

/**  Fix appearance of gallery  **/
#top div .avia-gallery .avia-gallery-big {
    border-color: #edece8;
}
#top div .avia-gallery img {
    padding: 2px;
    border-color: transparent;
}
.avia-chrome .avia-gallery-thumb {
    border: 1px solid #edece8;
}
/**  Force the custom checkout fields to the next line **/
.woocommerce-additional-fields__field-wrapper {
    clear: both;
}
/**  Hide dates from search results **/
.search span.post-meta-infos {
    display: none !important;
}

/**   **/
.woocommerce-checkout input {
    border: 1px solid lightgrey;
}
/**   **/

#top div .av-dark-form .input-text, #top div .av-dark-form input[type='text'], #top div .av-dark-form input[type='input'], #top div .av-dark-form input[type='password'], #top div .av-dark-form input[type='email'], #top div .av-dark-form input[type='number'], #top div .av-dark-form input[type='url'], #top div .av-dark-form input[type='tel'], #top div .av-dark-form input[type='search'], #top div .av-dark-form textarea, #top div .av-dark-form select, div div .av-dark-form .button {
    color: #222;
    border-color: #222;
    border-width: 1px !important;
    background-color: transparent;
}
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
    border-color: #ccc;
}

.avia-icon-list-container.el_after_av_heading {
    margin-top: 0 !important;
}
.av-button-description p {
    text-align: inherit !important;
}
#top.single-landing_pages p {
    text-align: left;
    line-height: 1.5em;
}

/** Woocommerce mods  **/
#top label span.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 22px;
}
table.shop_table th, table.shop_table td, table.shop_table tr, #top #payment, #top #payment ul.payment_methods li {
    border: 0.5px solid #ccc;
}
.woocommerce-checkout p {
    text-align: initial;
}


/**  **/
article.recent-decisions-excerpt p {
    /**display: flex;**/
}
#top .canlii-button {
    background-color: #284356;
    color: white;
    border: none;
    /**align-self: baseline;**/
    /**margin-left: 20px;**/
    font-size: 15px;
    /**padding: 5px 10px;**/
}

/**.recent-decisions-excerpt .avia_button_icon::before {
    font-size:22px;
    line-height:1.3em;
}**/


/**  **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/

/*==============================
END GENERAL STYLES
============================== */


/*==============================
START Portfolio STYLES
============================== */
/**
.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: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}
.slideshow_align_caption {
    width: 60%;
    margin: 0 auto;
    background: rgba(0,0,0,.7);
	clip-path: polygon(50% 0%, 100% 50%, 100% 100%, 0 100%, 0% 50%);
	    padding: 30px 40px !important;
}
.caption_framed .slideshow_caption .avia-caption-title {
    padding-top: 40px;
}
**/
#top .post_delimiter {
    display: none;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
    text-align: left;
}
#top .fullsize .template-blog .post-title {
    text-align: left;
    font-size: 26px;
}
#top .fullsize .template-blog .post-meta-infos {
    text-align: left;
}
.decisions_settlements_posts .big-preview {
    display: none;
}
.grid-entry.flex_column {
    padding: 10px 15px;
}

/** Adjust lawyer grid   **/
#top .main_color header.entry-content-header h3 {
    font-size: 20px !important;
    line-height: 1.3em;
}
.custom-position-or-designation {
    font-size: 14px;
	padding-bottom: 5px;
}
.custom-phone-number, .custom-email-address {
    line-height: 1.4em;
}

/**  to make the lawyer details slide into view after hover still a bit buggy **/
#av-sc-portfolio-1 .grid-content .grid-entry-excerpt {
  visibility:hidden;
  opacity:0;
  height:0;
  
}
#av-sc-portfolio-1 .grid-content {
}
#av-sc-portfolio-1 .grid-content:hover {
	position:absolute;
	bottom:-75px;
	width:100%;
	background-color:white;
	border: 1px solid #ebebeb;
	transition-property: position, bottom, width;
	transition-duration: .7s;
	transition-timing-function: ease-in-out;
	
	
}
#av-sc-portfolio-1 .grid-content:hover .grid-entry-excerpt{
	visibility: visible;
	opacity:100%;
	height:initial;
	transition: all .7s ease-in;
}


/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/**   **/
/*==============================
END Portfolio STYLES
============================== */


/*==============================
Start Footer Styles
============================== */
.footer_color {
    background-size: cover;
}
section#footer-address {
    background-color: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 2px;
}
#footer-page .button {
    background: #284356;
    color: white;
    border-color: transparent !important;
}
/*==============================
END Footer Styles
============================== */


/* Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

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

} 

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

}

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

}

@media only screen and (max-width: 989px) {
.hide_on_mobile {
	display:none;
}
#top .main_color header.entry-content-header h3 {
    font-size: initial !important;
}
}

@media only screen and (max-width: 889px) {
.phone-info.with_nav {
    display: none;
}
}

@media only screen and (max-width: 767px) {
li#menu-item-search {
    display: none !important;
}
body.woocommerce-checkout .fc-content {
    margin: 0 !important;
    width: 39% !important;
}
}
/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

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

}



/*
Print Styles to be added to print.css after each update of parent theme
================================================== */
@media print {

}
