/*
 Theme Name:   EasySite Child Theme
 Theme URI:    https://generatepress.com
 Description:  EasySite Visual Builder Child Theme based on GeneratePress
 Author:       Big Tomato Tech / NAMI EasySite
 Author URI:   https://namieasysite.com
 Template:     generatepress
 Version:      0.2
*/
/* Makes Beaver Builder work full-width with the theme */
body .grid-container,
.wp-block-group__inner-container {
  max-width: 100% !important;
}

/* allows for sticky footer in beaver themers */
.fl-page {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  min-height: 100vh;
}

.fl-page-content {
  -ms-flex: 1;
  -webkit-flex: 1;
  -webkit-box-flex: 1;
  flex: 1;
  width: 100%;
  word-wrap: break-word;
}

/* fixes sticky footer issues with older versions of IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .fl-page {
    display: block;
  }

  /* IE10 & IE11 */
}

/* Searchbar and search page!*/
.global-header .search-icon {
  font-size: 25px !important;
  color: #0c499c;
}

.search .grid-container {
  padding: 4% 14% !important;
}

/* .search img {
   width: 300px !important;
} */
#tribe-events-content {
    padding: 4% 14%!important;
}
.scriptlesssocialsharing__buttons a:not(:last-of-type) {
  margin-right: 12px !important;
  color: #ffffff !important;
}

.nami-news h4 a {
  color: #323232 !important;
}

@media screen and (max-width: 1300px) {
  .goog-te-gadget-simple .goog-te-menu-value span:first-of-type {
    display: none !important;
  }
}

/*
@media screen and (max-width: 1149px) {
.goog-te-gadget-simple span {
    display: none!important;
}
}
@media screen and (max-width: 1078px) {
#google_translate_element {
    display: none!important;
}
}*/
.goog-te-gadget-simple {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

@media (min-width: 768px) {
  .global-sidebar-navigation .pp-advanced-menu .sub-menu {
    width: 100% !important;
  }
}

.mega-sub-menu {
  padding-bottom: 10px !important;
}

.content-area {
  padding: 3%;
}

.fl-rich-text a {
  color: #0c499c;
  text-decoration: underline;
  font-family: 'Proxima Nova Bold';
}
.fl-rich-text a:hover {
  color: #513528;
}

.fl-builder .content-area {
  padding: 0% !important;
}

.fl-builder-content .fl-rich-text strong {
  font-weight: 700;
  font-family: 'Proxima Nova Bold';
}

/********************************************
  Footer
*********************************************/
/*** easysite login, sitemap, & logo row ***/
.easysite-footer-row {
  /*margin-bottom: 45px !important;*/
  color: #6caae4;
  font-size: 16px;
  text-align: center;
  /* margin-top: 15px; */
  vertical-align: middle;
}

/*
@media only screen and (max-width: 470px) {
   .easysite-footer-row {
      margin-bottom: 60px !important;
   }*/

.easysite-footer-row a {
  color: #e1d0a5;
}

.easysite-footer-row a:visited {
  color: #e1d0a5;
}

.easysite-footer-row a:hover {
  color: #6caae4;
}

.textmiddle {
  vertical-align: middle;
}

.textbottom {
  vertical-align: text-bottom;
}

.textbaseline {
  vertical-align: -webkit-baseline-middle;
}

.hosted-by-text {
  color: #6caae4;
  text-decoration: none !important;
}

.hosted-by-text a {
  color: #6caae4;
}

.hosted-by-text a:visited {
  color: #6caae4;
  text-decoration: none !important;
}

.hosted-by-text a:hover {
  color: #6caae4;
  text-decoration: none !important;
}

/*** easysite login, sitemap, & logo row ***/

.sticky-footer-row a {
  color: #e1d0a5 !important;
}

.sticky-footer-row a:hover {
  color: #94d500 !important;
  text-decoration: underline !important;
}

.sticky-footer-row a:visited {
  color: #94d500 !important;
}

.global-footer .footer-contact a {
  color: #e1d0a5 !important;
}

.global-footer .footer-contact a:hover {
  color: #94d500 !important;
}

.global-footer .footer-contact a:visited {
  color: #94d500 !important;
}

.global-footer .footer-help a {
  color: #e1d0a5 !important;
}

.global-footer .footer-help a:hover {
  color: #94d500 !important;
}

.global-footer .footer-help a:visited {
  color: #94d500 !important;
}

.global-footer .footer-help-line a {
  color: #e1d0a5 !important;
}

.global-footer .footer-help-line a:hover {
  color: #94d500 !important;
}

.global-footer .footer-help-line a:visited {
  color: #94d500 !important;
}

.global-footer .footer-sitemap a {
  color: #e1d0a5 !important;
}

.global-footer .footer-sitemap a:hover {
  color: #94d500 !important;
}

.global-footer .footer-sitemap a:visited {
  color: #94d500 !important;
}

/********************************************
  End Footer
*********************************************/

.fl-heading h1 {
  font-family: 'Roboto Slab', serif !important;
  font-weight: bold;
  letter-spacing: 2px;
}

.nami-mobile-navi
  .pp-advanced-menu.off-canvas
  .sub-menu
  > li
  > .pp-has-submenu-container
  > a {
  padding-top: 5px !important;
  padding-right: 10px;
  padding-bottom: 5px !important;
  padding-left: 10px;
}

.nami-mobile-navi
  .pp-advanced-menu.off-canvas
  .menu
  li
  .pp-has-submenu-container
  a {
  padding-top: 5px !important;
  padding-right: 10px;
  padding-bottom: 5px !important;
  padding-left: 10px;
}

@media (max-width: 992px) {
  .nami-mobile-navi .pp-advanced-menu .menu > li {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* aligns wpdatatables rows' content to top of row */
table.wpDataTable tbody tr td {
  vertical-align: top !important;
}

/* Add Nick E's box shadow's to quick links hover cards */
.new-quick-links .pp-hover-card {
  box-shadow: 0px 0px 20px -1px #6caae4;
}

/* Mega Menu Styling for Menu Location 3 - Footer Social Icons */
#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 > li.mega-menu-item {
  border-left: 0px solid #efefef;
  box-shadow: inset 0px 0 0 0 rgba(255, 255, 255, 0.1);
}

/* temporarily disable Tribe Calendar SVG icons 
.tribe-events-c-view-selector svg,
.tribe-events-c-top-bar svg,
.tribe-events-c-nav__list svg,
.tribe-events-c-ical svg {
    display: none !important;
}*/
/* fixes to event calendar */
.tribe-events-adv-list-widget .type-tribe_events,
.tribe-mini-calendar-list-wrapper .type-tribe_events {
  margin: 0;
  padding: 0;
}

.tribe-mini-calendar-event.first {
  margin-top: 10px;
}

.tribe-mini-calendar-event .list-date {
  float: left;
  overflow: hidden;
  font-weight: bold;
  margin: 10px 5% 10px 0;
  padding: 3px;
  width: 15%;
  text-align: center;
  display: inline;
  background: #666;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.tribe-mini-calendar-event .list-date .list-dayname {
  background: #fff;
  color: #666;
  padding: 3px;
  font-size: 9px;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.tribe-mini-calendar-event .list-date .list-daynumber {
  color: #fff;
  font-size: 15px;
  width: 100%;
  line-height: 22px;
  display: block;
  text-align: center;
}

/* make the events calendar legend font bigger */
.teccc-legend li {
  font-size: 14px;
}

/* make the events calendar More events link bigger and red - full calendar view */
.tribe-events
  .tribe-events-calendar-month__day-cell
  .tribe-events-calendar-month__more-events
  a {
  font-weight: bold;
  font-size: 18px !important;
  color: red;
}

/* change color of view calendar link in footer */
.tribe-events-widget-events-list__view-more.tribe-common-b1.tribe-common-b2--min-medium
  > a {
  color: #e1d0a5;
  text-decoration: underline;
}
.tribe-events-widget-events-list__view-more.tribe-common-b1.tribe-common-b2--min-medium
  > a:hover {
  color: #6caae4;
  text-decoration: underline;
}

.tribe-events-widget-events-list__view-more-link tribe-common-anchor-thin a {
  color: #e1d0a5;
  text-decoration: underline;
}
.tribe-events-widget-events-list__view-more-link
  tribe-common-anchor-thin
  a:hover {
  color: #6caae4;
  text-decoration: underline;
}
.tribe-events-widget .tribe-events-widget-events-list__view-more-link, .tribe-events-widget .tribe-events-widget-events-list__view-more-link:visited {color:#6caae4 !important;}

/* little calendar svg icon */
.tribe-events .tribe-events-series-archive__icon {color:#94d500!important;}


/* events list widget title tweak */
.tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt 
{
		color: #0c499c;
	 	font-weight: bold;
		font-size: 120%;
}

/* custom event button */
#custom-event-button {
  background-color: #0c499c;
  border: 1px;
  border-color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  color: white;
}

/* Learn More Button */
#learn-more-button {
  background-color: #0c499c;
  border: 1px;
  border-color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  color: white;
}
#learn-more-button a:hover {
  color: white;
}
#learn-more-button  a:visited {
  color: white;
}
#learn-more-button a  {
  color: white;
}



/* EasySite Facebook Feed Saved Column */
.fb-feed {
  box-shadow: 0px 0px 20px -1px #6caae4;
  border-radius: 5px 5px 5px 5px;
  border-style: solid;
  border-color: #66666636;
  border-width: 3px;
  text-align: center;
  margin: 10px;
}

/* fix problem with google chrome not showing css that is bold and italicised at the same time */

/********************************************
  Header 
*********************************************/
/* Top Menu */

.nami-top-menu-column {
  justify-content: flex-end !important;
}

.nami-top-menu-column .fl-col-content {
  flex-direction: row;
  flex: inherit;
  width: inherit;
  justify-content: flex-end !important;
}

@media only screen and (max-width: 470px) {
  .nami-top-menu-column {
    flex: 1 !important;
  }
}

/* Google Translate */
.goog-te-menu-frame {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/********************************************
 Header - Mobile Menu off canvas
*********************************************/
.menu-top-menu-container {
  border-bottom: 1px solid #cccccc;
}

@media (max-width: 992px) {
  .pp-advanced-menu .menu {
    margin-top: 20px;
  }
}

/********************************************
 SMS tooltip to show disclaimer box when hovered over 
 *********************************************/
a[href^='sms:']:hover::before {
  content: 'Message and data rates may apply. Message frequency varies. Reply STOP to opt-out. Reply HELP for help. Contact us for more information.';
  display: block;
  position: absolute;
  background-color: #fff;
  color: #0c499c;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
  z-index: 9999;
  width: 400px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  word-wrap: break-word;
}

a[href^='sms:']:hover::before a {
  color: #007aff;
  text-decoration: none;
}

a[href^='sms:']:hover::before a:hover {
  text-decoration: underline;
}

/********************************************
 New Posts Themer sidebar
 *********************************************/

.nami-post-sidebar .widget li {
  margin: 0 0 0 15px;
  padding: 0;
  list-style-type: square;
}
/* css class for gravity forms validation summary setting */
.redtext {
  color: #ef3829;
}
