/**
Theme Name: FPG Project Theme
Description: Astra child theme to be used for FPG Project sites
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fpg-projects
Template: astra
*/

/* =============================================================================
 *   Color Variables
 * ========================================================================== */

:root {
  --text: #050505;
  --unc_blue: #4b9cd3;
  --link_blue: #007fae;
  --dark_blue: #662D77!important;
}

/* =============================================================================
 *   Typography and HTML
 * ========================================================================== */

h1, h2, h3, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  margin-bottom:10px !important;
}

h4 {
  font-family: Arial, sans-serif !important;
  margin-bottom:5px !important
}

body, p {
  font-family: Arial, sans-serif;
}

body, p {
  font-size: 16px;
}

a {
  color: #007FAE;
}

a:hover,
a:focus {
  color: #13294B;
}


h1.entry-title {
  margin-top: 20px;
  font-size: 30px !important;
  font-weight: 600 !important;
}


h2, h3, h4, h5, h6 {
  text-transform: none !important;
}

h2, .entry-content h2  {
  margin: 15px 0;
}

h3, .entry-content h3, h4, 
.entry-content h4, h5, 
.entry-content h5, h6, 
.entry-content h6 {
  margin: 10px 0;
}

h4 a {
  color:#1e7eab !important;
  font-weight:bold !important}


.custom-font {
  font-family: "Montserrat", Arial, sans-serif !important;
}

/* style for captions */
.wp-element-caption a {
  color:black!important;
  font-size:14px;
}

.wp-element-caption a:hover {
  color: #ffc845!important;
  font-size:14px;
}

.summary {
  font-size:16px;
}
.dynamic_links a {
  color:#fff!important;
}

.summary a:hover, .dynamic_links a:hover {
  color:#000!important;
}

/* =============================================================================
 *   Home page
 * ========================================================================== */

#post-8 .wp-elements-c076adbef9d5e41b7e90a0238279e178 a:where(:not(.wp-element-button)) {
  color: #007FAE !important;
} 

#post-8 .wp-elements-c076adbef9d5e41b7e90a0238279e178 a:hover,
#post-8 .wp-elements-c076adbef9d5e41b7e90a0238279e178 a:focus {
  color: #13294B !important;
}

/* =============================================================================
*  Rainbow borders
* ========================================================================== */

/*  No border on homepage */
.page-id-8 .site-header {
  padding-bottom:0px!important;
  background-image: none;
}

.bg-border,  
.bg-border-thin, 
.site-footer, 
.site-header {
  background-image: url('images/border.png');
  background-repeat: repeat-x !important; z-index:30;
}

.bg-border, 
.site-header    {
  background-position: 50% 100%;
  background-size: auto 20px !important;
  padding-bottom:20px;
}

.bg-border-thin
{
  background-position: 100% 100%;
  background-size: auto 5px !important;
}

.bg-border-top,  
.site-footer {
  background-position: 0% 0%;
  background-size: auto 20px !important;
}

/* =============================================================================
 *  Program overview page
 * ========================================================================== */

.uagb-tab:hover {
  background: #FEC32E !important
}
.uagb-tab a:hover {
  color:black !important
}

.uagb-tab a{
  text-decoration:none!important;
}

.list-in-tabs li {
  font-family: Arial, sans-serif !important;
  margin-bottom: 3px;
}

/* =============================================================================
 *  Sites listing page
 * ========================================================================== */

#wpv-view-layout-781 .wpv-block-loop-item {
  margin: 20px 0;
}

#wpv-view-layout-781 p {
  margin: 0px; 
}

/* =============================================================================
 *  Buttons
 * ========================================================================== */

/* styles for all buttons */
.wp-block-button a {
  font-weight: 600 !important;
  font-size: 18px !important;
}

/* styles for solid buttons */
.wp-block-button a {
  background-color: var(--dark_blue) !important;
  color: #fff !important;
  border-color: var(--dark_blue) !important;
  border: 2px solid !important;
}


.wp-block-button a:hover,
.wp-block-button a:focus {
  background-color: #fff !important;
  color: var(--dark_blue) !important;
  border-color: var(--dark_blue) !important;
  border: 2px solid !important;
}

/* styles for border buttons */
 .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button, .wp-block-button.is-style-outline a {
  background-color: #fff !important;
  color: var(--dark_blue) !important;
  border-color: var(--dark_blue) !important;

}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button:hover, .wp-block-button.is-style-outline a:hover,
.wp-block-button.is-style-outline a:focus {
  background-color: var(--dark_blue) !important;
  color: #fff !important;
  border: #fff 2px solid !important;
}


/*Contact us button*/
.button {
  color: #000 !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
  background:#642e77;
  color:#fff!important;
}

/* =============================================================================
 *  Gutenberg block adjustments
 * ========================================================================== */

/* style hr, adjust color as needed */
.wp-block-separator {
  border: 0px !important;
  color: #ccc !important;
}

/* =============================================================================
 *  Forms
 * ========================================================================== */

input[type="email"], input[type="number"],
input[type="password"], input[type="reset"],
input[type="search"], input[type="tel"], input[type="text"],
input[type="url"], select, textarea {
  padding: 10px;
}

/*SLI Site Password*/
.post-password-form input[type=submit] {
  background-color:#662d77!important;
}

.post-password-form input[type=submit]:hover {
  color:#662d77!important;
  background-color:#fff!important;
}

/* =============================================================================
 *  Posts, general
 * ========================================================================== */

/* hide previous next links as we don't use */
nav.post-navigation {
  display: none;
}

.entry-meta {
  display:none;
}

/* =============================================================================
 *  Search
 * ========================================================================== */

/* Clean up search results */
.entry-header {
  margin-top:0 !important;
}


/* =============================================================================
 *  SLI Hub
 * ========================================================================== */

/*Navigation */ 

/* Make the UL act as a full-width container */
.wp-block-navigation__container.is-vertical.wp-block-navigation {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Make each li full width */
.wp-block-navigation__container.is-vertical.wp-block-navigation li.wp-block-navigation-item {
  display: block;
  width: 100%;
}

/* Make the link fill the full width of the parent */
.wp-block-navigation__container.is-vertical.wp-block-navigation a.wp-block-navigation-item__content {
  display: block;
  width: 100%;
  padding: 10px 14px;
  color: #003366;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* hover and focus effects */
.wp-block-navigation__container.is-vertical.wp-block-navigation a.wp-block-navigation-item__content:hover,
.wp-block-navigation__container.is-vertical.wp-block-navigation a.wp-block-navigation-item__content:focus {
  background-color: #ffffff;
  color: #000;
}

/* ACTIVE/CURRENT full-width background */
.wp-block-navigation__container.is-vertical.wp-block-navigation .current-menu-item > a.wp-block-navigation-item__content,
.wp-block-navigation__container.is-vertical.wp-block-navigation .current_page_item > a.wp-block-navigation-item__content {
  background-color:#00436a;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 781px) {
  .wp-block-column.has-ast-global-color-3-background-color {
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 0px !important;
  }
}

.bookmark {
  clip-path: polygon(0% 0%, 100% -2%, 100% 85%, 50% 50%, -2% 85%);
}

/* =============================================================================
 *  SLI Hub News
 * ========================================================================== */

.news-archive .wpv-block-loop-item {
    margin-bottom: 30px !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #ddd;
}

.news-archive a {
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.news-archive .tb-field {
    margin-bottom: 5px !important;
}


/* =============================================================================
 *  SLI Hub Events 
 * ========================================================================== */

/* Single Event */

.tribe-events-meta-group a:hover, 
.tribe-events-event-meta a:hover {
  color:#000 !important;
}

#tribe-events-footer {
  display:none !important;
}

.tribe-events-single-event-title {
  font-family: Montserrat, serif;
}

.hentry {
  margin-bottom:0; 
}

.single-tribe_events #primary {
    width: auto !important;
}

.single-tribe_events #primary a {
  color: #007fae; !important;
  font-weight: normal !important;
}

.tribe-events-event-meta::before {
  border-top: 1px solid #ddd !important;
}

.tribe-events-event-meta {
  border-bottom: 1px solid #ddd !important;
}

.tribe-events-after-html {
  margin: 30px;
  font-size: 14px;
}

.tribe-events-venue-map {
  margin: 30px 0 10px 0 !important;
}

.events-breadcrumb {
  font-size: 90% !important;
}

.single-tribe_events .tribe-events-single-event-title {
  color: #000;
  line-height: 1.5em;
  font-size: 28px !important;
}

.tribe-common .tribe-common-c-btn-border, 
.tribe-common a.tribe-common-c-btn-border {
  background-color: #fff !important;
  border: 2px solid #662D77 !important;
  border-radius: 9px;
  color: #662D77 !important;
}

.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common .tribe-common-c-btn-border:focus,
.tribe-common a.tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:focus {
  background-color: #662D77 !important;
  border: 2px solid #662D77 !important;
  border-radius: 9px;
  color: #fff !important;
}

/* Event Lists */

.single-tribe_events .tribe-events-event-meta {
  margin:0!important
}

.ecs-event-list {
  list-style:none;
  margin-left:5px;
}

.ecs-event {
  margin-bottom:30px!important
}

.tribe-common-b2 {
  padding-left:0!important;
}

@media (max-width: 1000px) {

  .event_date_column {
    display: none !important;
  }

  /* adjust date info column in mobile */
  .fwpl-row.el-ymldy4,   .fwpl-row .fwpl-col.el-a2j8nh {
    grid-template-columns: 100% 0fr!important;1
    padding:0;
  }

}

/* SLI Hub landing page events list */

.tribe-events-widget .tribe-events-widget-events-list__event-date-tag {
  width: 100px !important;
}

.tribe-events .tribe-events-widget-events-list__event-date-tag-datetime {
    background-color: #efefef;
    padding: 5px 15px 5px 10px !important;
    margin-right: 15px;
}

.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime {
    padding-right: 15px;
    padding-left: 10px;
}

.tribe-events-widget .tribe-events-widget-events-list__event-row {
  margin-bottom: 0px !important;
  padding: 10px 0 10px 10px !important;
}

.tribe-compatibility-container {
    margin-top: 0px !important;
}

.tribe-events-widget {
  margin-bottom: 0px !important;
}

/* Links */

.tribe-compatibility-container .tribe-common a,
.tribe-compatibility-container .tribe-common a:active,
.tribe-compatibility-container .tribe-common a:focus,
.tribe-compatibility-container .tribe-common a:hover,
.tribe-compatibility-container .tribe-common a:visited {
    color: #007fae;
    text-decoration: underline;
    border-bottom: none;
    font-weight: 600;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list .tribe-events-calendar-list__event-date-tag-daynum,
.tribe-compatibility-container .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium,
.tribe-compatibility-container .tribe-common .tribe-common-h4--min-medium {
    line-height: 36px;
    font-family: Arial, sans-serif;
    font-size: 28px !important;
    font-weight: bold;
    color: #000;
}

.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime {
  height: 70px !important;
}

.tribe-events-calendar-list__event .tribe-events-calendar-list__event-title a,
.tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-title a {
    color: #007fae;
    font-weight: bold !important;
    font-size: 18px;
    text-decoration: underline;
}

/* Faceted Search listing pages */

.events-list-left {
  padding: 0 !important;
}

.events-list-left .event-date {
  padding: 5px 20px 20px 20px !important;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  background-color: #efefef;
}

.events-list-left .event-month {
  padding: 20px 20px 5px 20px !important;
  text-align: center;
  text-transform: uppercase !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  background-color: #efefef;
}

.event_row {
  margin:20px;
}

.event_date_column {
  max-width: 110px !important;
}

select.facetwp-dropdown {
  max-width: 100% !important;
}

@media only screen and (max-width: 767px) {
  .uagb-block-26176b7c.uagb-buttons__outer-wrap .uagb-buttons__wrap {
    justify-content: left !important;
    align-items: center !important;

  }
}

/* Calendar page */
.post-type-archive-tribe_events .entry-header p,
.post-type-archive-tribe_events .tribe-events-after-html {
  display: none !important;
}

.post-type-archive-tribe_events .entry-header h1::after {
    content: " Calendar"; /* The text to insert */
    display: inline; /* Ensures it takes up space and allows styling */
    font-size: 30px; /* Styles the text */
    font-weight: bold;
    padding-left: 2px;
}

.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input {
  background-color: #fff !important;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday, 
.tribe-events .tribe-events-widget-events-list__event-date-tag-datetime .tribe-events-widget-events-list__event-date-tag-month {
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: #11294b;
}

.tribe-events-calendar-month__calendar-event-details {
  background-color: #FFF6D1 !important;
  padding: 10px !important;
  color: #000 !important;
  font-size: 14px !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 10px !important;
}

.return-events {
  padding-bottom: 30px !important;
}

.return-events a {
  color: #007FAE !important;
  text-decoration: underline !important;
}

.return-events a:hover,
.return-events a:focus {
  color: #13294B !important;
}

/* Color coding by taxonomy */

/* AIR */
.tribe-events-calendar-month__calendar-event.event-partner-air > .tribe-events-calendar-month__calendar-event-details,
article.event-partner-air .tribe-events-calendar-month__multiday-event-bar-inner  {
    background-color: #BADCF3!important; 
}
 
/* All SLI Partners */
.tribe-events-calendar-month__calendar-event.event-partner-all-sli-partners > .tribe-events-calendar-month__calendar-event-details,
article.event-partner-all-sli-partners .tribe-events-calendar-month__multiday-event-bar-inner  {
   background-color: #F9D371!important
}
 
 
/* Governing Partners */
.tribe-events-calendar-month__calendar-event.event-partner-governing-partners > .tribe-events-calendar-month__calendar-event-details,
article.event-partner-governing-partners .tribe-events-calendar-month__multiday-event-bar-inner  {
    background-color: #CD9FDB!important; 
}
 
/* The Impact Center */
.tribe-events-calendar-month__calendar-event.event-partner-the-impact-center-at-fpg > .tribe-events-calendar-month__calendar-event-details,
article.event-partner-the-impact-center-at-fpg .tribe-events-calendar-month__multiday-event-bar-inner  {
    background-color: #A6D496!important; 
}

.tribe-events-view--month.tribe-common--breakpoint-full .tribe-events-c-top-bar {
  min-height: 100px !important;
  background: url('images/event-partners.svg') center right no-repeat !important;
  background-size: 450px auto;
}

.tribe-events-view--month.tribe-common--breakpoint-medium .tribe-events-c-top-bar {
  min-height: 200px;
  background: url('images/event-partners.svg') bottom left no-repeat;
  background-size: 450px auto;
}



