.spacer-50 {
  height: 5px!important;
}

.padding-tb45 {
   padding-bottom: 10px!important;
}

#content {
  background-color: #fafafa;
}
/*Transitions*/
#sidebar-col .widget input[type="button"],
#sidebar-col .widget input[type="reset"],
#sidebar-col .widget input[type="submit"],
button
{
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition:  all 0.4s ease;
}

blockquote p {
  font-size: 14px;
}


#header{
margin: 0 auto;
}


/*Colours*/
.blue {
  color: #174a7c;
}

.btn-success,
.btn-success:active,
.btn-success:visited,
.btn-success:focus {
    background-color: #174a7c!important;
    border-color: #174a7c!important;
}

.btn-success:hover {
  background-color: #154472!important;
  border-color: #154472!important;
}

.p2 a,
.p a:link,
a {
  color: #f9a25e;
  color: #a0a0a0;
}


/*Custom fonts*/
.grantee-metadata {
  font-style: normal;
  color: grey;
}

h3.grantee {
  margin-bottom: 5px;
}



/*Footers*/
.footer-widget .widgettitle{
	text-align: center;
}

/*Homepage News*/
.post-list-item:last-child {
  border-bottom: 0px;
}


/*Buttons*/
.custom-btn {
  -webkit-border-radius:2px 12px;
  -moz-border-radius:2px 12px;
  border-radius:2px 12px;
  padding: 20px 30px;
  font-size: 18px;
}

a.custom-btn, a.custom-btn-footer {
  color: white;
}

.custom-btn-footer {
  padding: 20px 30px;
  font-size: 16px;
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
}

/*Padding on Homepage*/
.lead-block {
  padding: 0;
}

/*Equalize widget heading sizes*/
.widget-title, .title {
    font-size: 20px;
}

.panel-grid h2.title {
    margin-bottom: 18px;
}

/*Customizing "featured project widget" for "Meet a Grantee"*/

.featured-project-block, .widget_featured-projects-widget, .so-widget-featured-projects-widget-base, .so-widget-featured-projects-widget, .so-widget-featured-projects-widget .col-md-6 {
    width: 100% !important;
    float: none !important;
}

.featured-project-block {
  padding: 0;
}

.project-overlay {
  bottom:0px;
  left: 0px;
}

.grantee-gallery.flexslider {
  border: none;
  width: 50%;
}

.grantee-gallery .flex-direction-nav a:before {
  display: block;
  font-size: 60%;
  text-align: center;
}

.grantee-gallery.flexslider .flex-prev:before {
  content: '\f001';
}

.grantee-gallery .flex-control-nav li {
  margin: 0;
}

.grantee-gallery .flex-control-paging li a {
  box-shadow: none;
}

.grantee-gallery .flexslider .flex-control-nav a {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #e8e8e8;
  display: inline-block;
  margin: 0 6px;
  text-indent: -9999px;
  text-decoration: none;
}

.grantee-gallery .flex-control-nav a:hover,
.grantee-gallery .flex-control-nav a.flex-active,
.grantee-gallery .flexslider .flex-prev:hover,
.grantee-gallery .flexslider .flex-next:hover {
  background-color: #f9a25e;
}

.page-header {
  background-position: center top;
}


/*Subscribe Button*/
#sidebar-col .widget input[type="button"],
#sidebar-col .widget input[type="reset"],
#sidebar-col .widget input[type="submit"],
#mc-embedded-subscribe {
  background-color: #f9a25e!important;
  color: white;
  font-weight: 400;
  font-family: "Work Sans";
  text-transform: capitalize;
  width: 96%!important;
  margin-top: 0!important;
  height: 50px!important;
}

#sidebar-col .widget input[type="button"]:hover,
#sidebar-col .widget input[type="reset"]:hover,
#sidebar-col .widget input[type="submit"]:hover,
#mc-embedded-subscribe:hover {
  background-color: #545454!important;
  color:white;
}

#mc_embed_signup {
  padding: 20px 3% 0 3%;
  border: 1px solid #f2f2f2;
  border-top: none;
  margin-top: -18px;
  background: #fff!important;
}

#mc_embed_signup_scroll p {
  line-height: 20px;
}

#mc_embed_signup .indicates-required {
    font-style: italic;
}

/*Gravity Forms customizing*/

h3.gform_title {
  display: none;
  visibility: hidden;
  opacity: 0;
}


/*Google search in sidebar*/
#sidebar-col .widget input.gsc-search-button{
background: #cecece;
height: auto;
color: #fff;
border: 1px solid #666;
padding: 6px 27px;
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow: none;
}



/*Contact Page icons*/


.secondary-bar .icon-block .icon {
    width: 35px;
    height: 35px;
    line-height: 40px;
    margin-right: 10px;
}

.secondary-bar .icon-block .icon i {
    font-size: 1.5em;
}

.secondary-bar .col-md-3 strong {
  font-size: 11px;
}

/*Footer copyright*/
.site-bottom-footer {
  text-align: center;
}

/*Contact Form 7*/

@media only screen and (max-device-width : 640px) {
  .wpcf7-form input,
  .wpcf7-form textarea,
  .wpcf7-form select {
      width: 98%!important;
  }
}

/*Youtube Responsize Embed*/

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
        max-width: 100%;
}

/*GIVE plugin customization */
form[id*=give-form] .give-donation-amount .give-currency-symbol,
.give-btn {
  background-color: #f9a25e;
  color: black;
  border: 1px solid #f9a25e;
}


.give-btn:hover {
  background-color: #e18f4f;
  border: 1px solid #e18f4f;
}

.give-btn, #give-purchase-button {
  padding: 15px 10px;
}

#give-purchase-button,
.give-btn-reveal,
.give-btn-modal {
  width: 100%;
  background-color: #174a7c;
  color: white;
  border: 1px solid #174a7c;
}

form[id*=give-form] #give-final-total-wrap .give-donation-total-label {
  background-color: #174a7c;
  color: white;
  border-color: #174a7c;
}
#give-recurring-form h3.give-section-break, #give-recurring-form h4.give-section-break, #give-recurring-form legend, form.give-form h3.give-section-break, form.give-form h4.give-section-break, form.give-form legend, form[id*=give-form] h3.give-section-break, form[id*=give-form] h4.give-section-break, form[id*=give-form] legend,
form[id*=give-form] #give-final-total-wrap
{
  padding-top: 20px;
}

[id*=give-form] .give-recurring-donors-choice label
{
  font-weight: normal;
  font-size: 14px;
}

#give-donation-level-button-wrap,
#give-donation-level-button-wrap > li {
  display: flex;
  flex-wrap: wrap;
}

#give-donation-level-button-wrap > li,
.give-donation-level-btn,
.give-btn,
.give-btn-level-1,
.give-default-level
{
  order: 1;
  flex-grow: 1;
}

/*#give-donation-level-button-wrap > li > .give-btn,
#give-donation-level-button-wrap > li > #give-purchase-button {
  order: 1;
  flex-grow: 1;
}*/

[id*=give-form].give-display-modal .give-btn, [id*=give-form].give-display-reveal .give-btn {
  margin-bottom: 0;
}


/*google search bard*/
.gsc-control-cse {
  padding: 0!important;
}

input.gsc-search-button,
input.gsc-search-button:hover,
input.gsc-search-button:focus {
    border-color: #666666 !important;
    background-color: #CECECE !important;
    background-image: none !important;
    filter: none !important;
}

/*header in mobile*/

@media only screen and (max-device-width : 640px) {
.site-header{
  position:relative;
  }

  .header-v1 h1.logo img,
  .header-v1 h1.logo a,
  .header-v2 h1.logo img,
  .header-v2 h1.logo a {
    height: 50px !important;
  }
  .hide-on-mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  img.alignleft,
  .wp-caption {
    max-width: 50%;
  }
}


/**
* Custom Styles for page-grantee.php
*/

.grantee-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem 3rem 1rem;
}

.grantee-dropdown {
  padding: 3rem 0;
}

.grantee-dropdown ul {
  margin-left: 0;
}

.grantee-dropdown ul li {
  margin-right: 2rem;
}

.grantee-dropdown ul li select {
  padding: .5rem .5rem;
}

.grantee-container__wrap {
  display: grid;
  max-width: 64rem;
  margin: 0 auto;
  column-gap: 2rem;
}

.grantee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr) );
  gap: 1rem;
}

.grantee-title {
  font-size: 0.875rem;
  margin: 0;
}

.grantee-col {
  -webkit-box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 20%);
  -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 20%);
  background: #ffffff;
}

@media(min-width: 768px) {

  .grantee-dropdown form ul {
      display: flex;
  }

  .grantee-container__wrap {
      grid-template-columns: repeat(3, minmax(0, 1fr) );
  }

  .grantee-column__grantees {
      grid-column: span 2 / span 2;
  }

  .grantee-column__sidebar {
      grid-column: span 1 / span 1;
  }

  .grantee-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr) );
  }
}


/*
* Single Project styles
*/
.single-project p {
  margin-bottom: 1rem;
}

blockquote {
  border-left: none !important;
}

blockquote p {
  font-style: normal;
  margin-bottom: 1rem;
}

blockquote strong {
  font-weight: 900;
}

blockquote em {
  font-style: italic;
}

blockquote a {
  color: #f9a25e;
  text-decoration: underline;
}

.featured-image {
  padding-bottom: .75rem;
}

/*
* Grantee Pagination
*/
.grantee-pagination {
  padding-top: 4rem;
}