/*
Theme Name:     Kingston Congregational
Description:    Kingston Congregational
Version:        1.78
Author:         Lawrence Zevon
Author URI:     http://www.zevonmedia.com/
Template:       enfold
License:        GPL v2
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
*/

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

/* Customizations Here */
.event-btn .avia_iconbox_title, .event-btn .avia_button_icon  { color: #ffffff !important; }
.special_amp { color: inherit!important; font-family: inherit; font-size: inherit; font-style: inherit; }
.inset-right { padding-bottom: 4px !important; padding-left: 5px !important; }

#menu-item-192 a {
  color: inherit;
  font-weight: 600;
  background: linear-gradient(90deg, red, orange, yellow, green, blue, purple) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  margin: auto !important;
}

li .avia-menu-text a.love {
    color: red;
}

#menu-item-192 a:hover, #menu-item-193 a:hover, #menu-item-194 a:hover, #menu-item-195 a:hover {
  color: transparent !important;
  transition: 500ms ease !important;
}

#top #header #avia-menu > li:hover > a.love {
  color: inherit;
  font-weight: inherit;
  background: linear-gradient(90deg, red, orange, yellow, green, blue, purple) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  margin: auto !important;
}

span.avia-menu-text a.love:hover {
  color: transparent !important;
  transition: 500ms ease !important;
}

/* Header */
.phone-info { font-size: 18px !important; }
#top #header_meta .social_bookmarks li a {
    float: left;
    width: 30px !important;
    line-height: 60px;
    display: block;
    outline: none;
    padding: 0;
    min-height: 60px;
    height: 100%;
    overflow: visible;
    z-index: 2;
    position: relative;
    text-align: center;
	font-size: 30px;
	color: #fff;
	background: #052e6f;
	border: none !important;
}

#top #header_meta .social_bookmarks li { margin-right: 8px; }
#top #header_meta .social_bookmarks li  .social_icon_3 { margin-left: 5px; }

@media only screen and (max-width: 767px) {
#avia-menu li.menu-search {
    display: none !important; }
}

/* Footer */
.rainbow-box {
    width: 100% !important;
    height: 10px;
    border-radius: 0px;
	margin: 0px !important;
    background: linear-gradient(
        90deg,
        rgba(255, 0, 0, 1) 0%,
        rgba(255, 154, 0, 1) 10%,
        rgba(208, 222, 33, 1) 20%,
        rgba(79, 220, 74, 1) 30%,
        rgba(63, 218, 216, 1) 40%,
        rgba(47, 201, 226, 1) 50%,
        rgba(28, 127, 238, 1) 60%,
        rgba(95, 21, 242, 1) 70%,
        rgba(186, 12, 248, 1) 80%,
        rgba(251, 7, 217, 1) 90%
    );
}
.make-pledge h2.pledge-title { color: #ffffff; font-weight: 400 !important; text-transform: none !important; font-size: 2.2em; }
.ucc-footer-logo img { width: 300px; }
.make-pledge p { font-size: 1.3em !important; line-height: 1.6em !important; }
.av_promobox .avia-button.avia-size-large { font-size: 16px; }

/* Page hero 2 col style */
#top #wrap_all .section-page-2-col-hero{
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}
#top #wrap_all .section-page-2-col-hero > .flex_cell.image-bg{
    padding: 0 !important;
}

#top .section-page-2-col-hero img.avia_image{
    width:100%;
    -o-object-fit:cover;
       object-fit:cover;
}
#top .section-page-2-col-hero  .image-bg .flex_cell_inner,
#top .section-page-2-col-hero  .image-bg .avia-image-container,
#top .section-page-2-col-hero  .image-bg .avia-image-container-inner,
#top .section-page-2-col-hero  .image-bg .avia-image-overlay-wrap,
#top .section-page-2-col-hero  .image-bg img{
    height:100%;
    width:100%;
}

#top .section-page-2-col-hero > .flex_cell{
/*     height: 100%;
    min-height: 100%; */
}

/* Flip columns on mobile */
@media screen and ( min-width: 768px ) {
.switcharoo .av_one_half.avia-builder-el-first {
left: calc(50% + 30px) !important;
}
.switcharoo .av_one_half.avia-builder-el-last {
right: calc(50% + 30px) !important;
}
}

/* Gravity Forms */
body .gform_wrapper .gform_footer input[type=submit] {
background: #077da8 !important;
font-size: 19px !important;
letter-spacing: 1px !important;
text-transform: uppercase !important;
padding: 8px 12px !important;
}

@media only screen and (max-width: 768px) {
.avia-content-slider .slide-entry-wrap {
width: 50%;
margin-bottom: 40px !important;
margin-left: 0% !important;
}}

@media only screen and (max-width: 767px)  {
#menu-item-search {
display: none !important;
}}

.rainbow-text:hover{
	background: linear-gradient(90deg, red, orange, yellow, green, blue, purple) !important;
    background-clip: text !important;
    color: transparent !important;
}
span.rainbow-text a { text-decoration: none !important; }

#top .social_bookmarks li{
	border: none;
}

span.av-upcoming-event-data h4, span.av-upcoming-event-data { color: #ffffff !important; }

/* Home page edits */
.av-upcoming-event-title { font-size: 1.3em; }
.tribe-event-date-start { font-size: 1.3em; }
.av-upcoming-event-venue { display: none; }
#home-intro { position: relative; }
.force-btm { position: absolute; bottom: 10px; }

@media screen and (max-width:767px){
    #top .kcc-section-2{
        display:flex;
        flex-wrap:wrap;
    }
    #top .kcc-section-2 .flex_cell:first-child{
        order:10;
    }
}