/*
Theme Name: Avada Child
Description: Child theme for the Avada
Author: Together Editing & Design, www.togetherediting.com
Template: Avada
*/

/* These are all customizations made to the WITH website. They are included
 * here in this child theme so that they are not overwritten when the Avada theme
 * releases updates.
 * All customizations made by Together Editing & Design.  www.togetherediting.com
 */

@import url("../Avada/style.css");

/* ----- PAGES & POSTS ----- */
.post { margin-bottom: 45px; }
#main h2 { margin: 5px 0px 15px 0px; color:#1A80B6 !important; }
#main .post h2 { font-size: 2.0em; color:#1A80B6 !important; }
.fusion-page-title-captions { width: 85% !important; }
.fusion-page-title-bar h1 { line-height: 1.3; }

/* Post-shortcode pages */
#blog.blog-shortcode .post { margin: 15px 0px; }
#blog.blog-shortcode .post h2 { margin-bottom: 15px; }
#blog.blog-shortcode .post .meta-info { margin-top: 0px; }



/* ----- HEADINGS ----- */
.header-v4 #header .tagline { padding-top: 5px; }
/* Make heading links blue, not default orange, then orange on hover */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color:#1A80B6 !important; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color:#F26522 !important;}




/* ----- MAIN MENU ----- */
/* Bottom-align menu items */
.fusion-main-menu > ul > li > a { 
     line-height: 1.2em !important; 
     text-align: center;
     display: table-cell; vertical-align: bottom;
}



/* ----- TEXT STYLES ----- */
#content ol li, #content ul li { padding-left: 5px; }

/* Link in footer for board-internal pages */
.copyright a.internal_link { color: #8C8989 !important; }

/* in Chrome, bold text looks no different than regular; this
   helps make them look like they should */
.post-content p strong { 
	-webkit-font-smoothing: antialiased; 
	text-rendering: optimizeLegibility;
}



/* ----- PHOTOS ----- */
.alignleft { margin: 0 1.5rem 1rem 0 !important; }
.alignright { margin: 0 0 1rem 1.5rem !important; }

.wp-caption { background-color: #F6F6F6; margin: 10px; padding: 15px; }
.wp-caption img { margin: 0 0 15px 0; }
p.wp-caption-text { margin-bottom: 0; }

/* Blog featured image */
.flexslider .slides img {
    max-width: 762px !important;
    max-height: 762px !important;
    width: auto!important;
    height: auto!important;
    display: block;
    margin-left:auto;
    margin-right: auto;
}
#content ul li.flex-active-slide {
    padding: 0;
}

/* add space under image in blog archive listing */
.fusion-blog-archive .fusion-post-medium img.attachment-blog-medium.size-blog-medium {
	padding-bottom: 0.5rem;
    max-height: 320px !important;
}



/* ----- SPECIFIC PAGES ----- */
/* Contact-us Page */
#sidebar .widget.contact_info .heading h3 { font-size: 17px !important;}
#sidebar .contact_info p.email { margin-top: 15px; }
#comment-input input, #comment-textarea textarea { font-size: 15px; }

/* Previous recipients page */
span.recipient_location { font-weight: normal; font-size: 90%; color: #747474; }
span.grant_date { display: inline-block; padding-left: 100px; }
hr.prev_recip_separator { 
	background: #ddd; 
	float: none; 
	width: 100%; height: 1px;
	margin: 0 0 1.4em; 
	border: none;  
}

/* FAQ template page - make a wider sidebanner */
#main #sidebar.wide_sidebar { width: 30%; }



/* ----- TABLES ----- */
/* Board Meeting Table */
#main table.board_meeting_table { margin-bottom: 2rem; border: 1px solid #ccc !important; }
#main table.board_meeting_table td { 
     vertical-align: text-top;
     padding: 0.75rem;
     border: 1px solid #ccc !important;
     font-size: 110%;
}
#main table.board_meeting_table td:first-child { font-weight: bold; text-align: right; }

/* Format second column of funder scan tables to be right-aligned (numbers) */
table.funder_scan, table.funder_appendix { }
table.funder_scan td, table.funder_appendix td, table.plan_2012 { vertical-align: text-top; padding: 5px; }
table.funder_scan td:last-child { text-align: right;}

/* Table in Minutes */
div.table-2.minutes-meta { margin-bottom: 40px; }
table.stats { margin-left: auto; margin-right: auto; border: 1px solid #444; }
table.stats th td { background-color: #000; color: #FFF; }
table.stats td { text-align: center; padding: 5px; }




/* ----- HOME PAGE ----- */
/* Revolution Slider: Make links be the color set in the revolution slider settings
   instead of the link style from the rest of the site */
.tp-caption a, .tp-caption a:hover, .tp-caption a:active, .tp-caption a:visited { color: inherit; }

/* tag line box             */
p#home-page-tagline { 
	text-align: center; 
	color: #1a80b6; 
	padding-bottom: 0.3em; 
	font-size: 40px; line-height: 1.3em; 
	font-family: font-family: 'ArsenalRegular', 'PT Sans', Trebuchet, Helvetica, sans-serif; 
	text-shadow: 0px 2px 2px rgba(0,0,0,0.3); 
}
@media screen and (max-width: 830px) {
	p#home-page-tagline { font-size:28px; }
}

/* Home page Recent Posts area */
.page-id-1990 .fusion-recent-posts { margin-bottom: 0 !important; }


/* Home page Facebook & Twitter Feeds */
/* Hides FB name & group description */
.fts-jal-fb-header, .fts-jal-fb-group-header-desc { display: none; }
/* Font size & line-height for Twitter & FB feeds */
.fts-twitter-text { font-size: 18px; line-height: 25px; }
.fts-jal-fb-message { line-height: 25px; }

/* Titles above FB & Twitter - remove bottom margin */
#post-1990 .fusion-layout-column.fusion-one-half .fusion-title-size-two {
	margin-bottom: 0 !important;
}


/* ----- HOME PAGE FLIP BOXES ----- */
/* Size of flip boxes */
#post-1990 .flip-box-front, #post-1990 .flip-box-back { width: 337px; height: 294px; }

/* Front side of flip boxes */
#post-1990 .flip-box-front { 
	background-origin: border-box; 
	background-size: cover; 
	background-position: center center;
}
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(1) .flip-box-front {
	background: url('https://withfoundation.org/wp-content/uploads/flip-oceanBehind.jpg') no-repeat !important;
}
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(2) .flip-box-front {
	background: url('https://withfoundation.org/wp-content/uploads/flip-womanParents.jpg') no-repeat !important;
}
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(3) .flip-box-front {
	background: url('https://withfoundation.org/wp-content/uploads/flip-orangeShirt.jpg') no-repeat !important;
}
#post-1990 .flip-box-front-inner { position: relative; }
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper h2 { 
	position: fixed;
	color: #f4ee56 !important; 
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	letter-spacing: 0.03rem;
}
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(1) h2 { top: 35%; right: 7%; }
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(2) h2 { top: 6%; right: 5%; }
#post-1990 .fusion-flip-boxes .fusion-flip-box-wrapper:nth-child(3) h2 { top: 35%; left: 5%; }

/* Back side of flip boxes */
.flip-box-back { position:relative; }
.flip-box-back-inner { 
	padding: 25% 0 0 0; 
	width: 80%; margin-left: auto; margin-right:auto;
}

/* Links on Flip Boxes */
.fusion-flip-box a, .fusion-flip-box a:hover, .fusion-flip-box a:active { color: #fff; }

/* ----- end of FLIP BOXES ----- */



/* ----- WIDGETS & SIDEBARS ----- */

/* jQuery archive widget - blog & news */
/* add spacing to post titles when month section is expanded */
ul.jaw_widget ul li.jaw_posts { 
	font-size: 16px; 
	padding-bottom: 0.5rem; padding-left: 0.75rem; 
}

/* Board Meeting Materials sidebar */
#sidebar #text-5 { margin: 0em 0 1em 0; }
#sidebar #text-5 h3 { font-size: 150%; border-bottom: 4px double #ccc; }

#sidebar #text-3 h3, 
#sidebar #text-4 h3, 
#sidebar #jal_widget-6 h3 { border-bottom: 1px solid #ccc; }

.sidebar #text-3.widget ul, 
.sidebar #text-4.widget ul { 
    list-style-type: disc; 
    list-style-position: inside; 
    margin-left: 1em; 
}
.sidebar #text-3.widget ul ul, 
.sidebar #text-4.widget ul ul { 
    list-style-type: circle; 
}

.sidebar #text-3.widget ul li, 
.sidebar #text-4.widget ul li { 
    display: list-item; 
    text-indent: -1em;
    padding-left: 1em;
}

/* Board References, using Ultimate Posts Widget */
#main #sidebar .widget_ultimate_posts h3 { border-bottom: 1px solid #ccc; }
#main #sidebar .upw-posts h4.entry-title { margin: 0.5rem 0 !important; }
#main #sidebar .upw-posts h4.entry-title, #sidebar .upw-posts h4.entry-title a { color: #e8845d !important; }
#main #sidebar .upw-posts h4.entry-title a:hover { text-decoration: none !important; color: #1a80b6 !important; }
#main #sidebar .upw-posts article { border: 0 none; margin-bottom: 0; padding: 0; }


/* ----- FORMS ----- */
::-webkit-input-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

::-ms-placeholder {
    font-style: italic;
}

::placeholder {
    font-style: italic;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
