/* Styles by Juju */

/* Let's make our header blue again */

header.site-header {
	background: #0072ff;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    border: none !important;
    color: #ffffff;
	}

.before-header {
	background: #0072ff;
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
	color:#fff !important;
	border-bottom: 1px solid #00c6ff;
}

a.getinvolved {color:#fff; font-weight:bold;text-decoration: none;}
a.getinvolved:hover {color:#00c6ff;text-decoration:underline;}	



/* Header Tweaks */

header #mega-menu-wrap-primary #mega-menu-primary input, #mega-menu-wrap-primary #mega-menu-primary img {
    display: none !important;
}



/* Typography */

h1, h2, h3, h4, h5, h6 {
font-family: 'Quattrocento',Georgia,"Times New Roman",serif;
    font-weight: 700;
}

.hero-section h1 {font-size: 2.3em;}

body {    
	font-family: 'Roboto',Arial,Helvetica,sans-serif !important;
color: #000;
font-size:1em !important;
}

.entry-content p  {
	color:#000;
	font-size: 0.85em;
	font-family: 'Roboto',Arial,Helvetica,sans-serif !important;
	text-align:justify;
}

@media (max-width: 400px)  {
	.entry-content p {text-align:left;}
}

.entry-content ul, .entry-content ul li {
	font-size: 0.92em;
	font-family: 'Roboto',Arial,Helvetica,sans-serif !important;
	text-align:left;
}

.hero-section p {
	font-size:0.8em;
} 

.button:hover, button:hover, input[type='button']:hover, input[type='reset']:hover, input[type='submit']:hover, .wp-block-button a:hover {background:rgba(0,0,0,0.7);
	border:1px solid #fff;
}

@media (max-width: 500px) {
.button, button, input[type='button'], input[type='reset'], input[type='submit'], .wp-block-button a {
	white-space:normal !important; text-align:center !important; height: auto !important; line-height:120% !important; padding:20px !important;
}
}

@media (max-width: 500px) {
.slick-slider .slick-dots li button {
	height: 10px !important; line-height: 1 !important; padding:0 !important;
}
}

.entry-content a:not(.button), .entry-content p a:not(.button) {
	text-decoration:none; color: #0C71C4 !important; box-shadow:none !important;}

.entry-content p a:not(.button):hover, .entry-content a:not(.button):hover {color:#000 !important; background:#f8f8f8; text-shadow: 1px 1px #fff;}

.entry-content blockquote, .entry-content blockquote em, .entry-content blockquote p {
	font-family: 'Quattrocento',Georgia,"Times New Roman",serif !important;
	font-weight:bold;
	font-size:20px;
	}

body .entry-content blockquote cite, .wp-block-pullquote cite, cite  {font-size: 16px !important; font-weight:normal; line-height:110% !important;}



/* Single Post Tweaks */

@media (min-width: 896px) {
.single .gallery {
     max-width: 768px !important;
}
	}	


/* Archive Page */

.archive .entry-image-link img {width:100% !important;}


/* Add fading white in archive posts */
	
.archive article:before {
    content: "";
    position: absolute;
    bottom:0;
    left: 0;
    height: 140px;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.8), #fff);
	overflow:hidden;
}

/*Mega Menu Tweaks */


@media only screen and (max-width: 900px) {
#mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    margin-top: 130px !important;
	}
#custom_html-2 {display:none;}
}

/* Home Hero Slider */

.has-hero-slider .front-page-1 .slick-content {max-width:512px !important; float:right; padding:20px 20px 10px 30px; 
background-image: linear-gradient(to bottom, rgba(0,0,0,0),  rgba(0,0,0,.6), rgba(0,0,0,0)); 
/*	background-image: radial-gradient(rgba(0,0,0,.5),  rgba(0,0,0,.3), rgba(0,0,0,0));*/
}


/* Home Page Tweaks*/

.has-hero-slider .front-page-1 .slick-content ul li {
	font-size:0.9em;
	border-bottom:1px solid rgba(32, 29, 30, .5);
	padding-top:5px;padding-bottom:5px;
}

.slick-content a:not(.button) {color: #fff !important; box-shadow:none !important; text-decoration:none;}
.slick-content a:not(.button):hover {color:#0C71C4 !important;}

.has-hero-slider .front-page-1 .slick-content ul li:before {content : ' \f0f6'; font-family: FontAwesome; padding-right:10px;}

.has-hero-slider .front-page-1 .slick-content span.date {font-size:0.8em;font-style:italic;color:#888;}
.has-hero-slider .front-page-1 .slick-content span.date:before {content : ' \f073'; font-family: FontAwesome; padding-right:10px; font-style:none !important; color:#fff;}

.front-page-5 img:hover { /*portfolio projects */
	background: #000 !important;
	opacity: 0.3;
}

/*.front-page-4 { /*HR's blog
	background: #f8f8f8 url('http://www.unaoc.org/wp-content/uploads/dirty-white.jpg') top center !important;
backgrond-size:cover;} */

.front-page-4 i.fa {float:left;padding-top:10px !important;}

@media (min-width: 768px) {
.front-page-4 {
    padding: 5rem 0 2rem !important;
}}

/* Portfolio */

.single-portfolio .entry-time {display:none;}


/* Before Footer widget area */

.before-footer {
	background: #0072ff;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
	color:#fff;
}

.before-footer h1, .before-footer h2, .before-footer h3, .before-footer h4, .before-footer h5, .before-footer h6 {color:#fff !important;}


.footer-widgets .widget-area.footer-widgets-2 .widget { /*extend mid footer to full width*/
	width: 100% !important;
}

.entry-footer {border-bottom:none !important;}

/* Resources Search */

.resource-type input[type='checkbox'], .doc-year input[type='checkbox'] {
	height: 1em !important; margin-right:10px !important;
}

/*Sidebar */
.sidebar .widget-title {font-size:1.4em;text-transform:uppercase;}

/*Sidebar Mailchimp subscribe button */
.archive #mc4wp-form-1 input[type='submit'] {    padding: 0 2.2em !important;}

/*Footer*/
.footer-credits {
	background: #0072ff; border-top: 1px solid #fff;
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
	color: #fff; text-align:center;
}
.site-footer .footer-credits a {color:#fff;}

.simple_tweet_widget ul li {border-bottom: 1px solid #ececec; padding-top:5px;padding-bottom:5px;}

.footer-widgets .wrap:before { /*add fading white effect to bottom */
	content: "";
    position: absolute;
    bottom:0;
    left: 0;
    height: 130px;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), #fff);
	overflow:hidden;
}

div.sharedaddy h3.sd-title {display:block !important;}
div.sharedaddy h3.sd-title:before {border-top:1px solid #eceef1 !important;}

/* Gallery Tweaks and Fixes */
@media (max-width:800px) {
	.gallery .gallery-item img {max-width:none !important; margin: 0 auto !important;}
}

.foobox_font_preload {display: none;}

/*Home Page Events and Video - Front Page 3 */

#front-page-3 {
	border-top: 1px solid #eceef1;
    border-bottom: 1px solid #eceef1;
    background-color: #f6f8fa;
}

.front-page-3 .wrap {align-items:  flex-start !important;}


@media (max-width: 768px) {
#front-page-3 .widget { margin-bottom:20px;}
	}

@media (min-width: 768px) {
#front-page-3  { padding: 5rem 0 2rem;}
	}

#tribe-events-list-widget-3 {
	padding: 0 40px 0;
	font-size:14px;
	background: linear-gradient(#fff, rgba(255,255,255,0.8), rgba(255,255,255,0));
	line-height:120% !important;
	border-style: solid solid none solid;
	border-color:#ededed; border-width:1px;
	box-shadow: -15px -10px 20px #ededed;
	
}

@media (min-width: 768px) { 
	
#tribe-events-list-widget-3 {
	overflow:scroll;overflow-x:hidden;overflow-y: scroll; max-height:354px;}
	
#tribe-events-list-widget-3::-webkit-scrollbar {
    -webkit-appearance: visible;
}

#tribe-events-list-widget-3::-webkit-scrollbar:vertical {
    width: 11px;
}

#tribe-events-list-widget-3::-webkit-scrollbar:horizontal {
    height: 11px;
}

#tribe-events-list-widget-3::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 1px solid #ededed; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .4);
}

#tribe-events-list-widget-3::-webkit-scrollbar-thumb:hover {
  background: #00c6ff; 
}
}

#tribe-events-list-widget-3 h3.widget-title {
	text-align:left;
	padding:40px 20px 20px 0;
	border-bottom: 1px solid #ededed;
	text-transform:uppercase;
	font-size:18px;

}

p.tribe-events-widget-link  {text-align:right; width:100%;}
p.tribe-events-widget-link a {color:#0C71C4 !important;font-weight:normal !important;}
p.tribe-events-widget-link a:hover {color:#000 !important;}

.home h4.tribe-event-title {
	font-size: 16px; line-height:1.3em !important;
}

.home h4.tribe-event-title a {	text-decoration:none;color:#000;	}
.home h4.tribe-event-title a:hover {color: #0C71C4;}

li.type-tribe_events {
	border-bottom:1px solid #ededed; padding-bottom:10px !important; padding-left:0 !important; 
}

.tribe-event-duration {color:#333; font-size:13px;}
.tribe-event-duration:before {
	content : ' \f073';  font-family: FontAwesome; padding-right: 5px; font-size:13px;
}

#custom_html-5 h4 {font-size:18px !important;}
#custom_html-5 p {font-size:16px; color:#000;}

/* Home News Section */

#front-page-8 {background:#f6f6f6;}
#front-page-8 entry:hover {box-shadow: 0 2rem 6rem rgba(0,0,0, 0.7);}