/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* Mill River Home Page */
.mrp-slideshow-overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,0.65) 100%);
}
#menu-item-14995 > span {
    text-transform: uppercase;
    color: #eceb43 !important;
    font-family: Oswald;
    font-size: 21px !important;
    font-weight: 400;
}
.mrp-pyv-header, .mrp-ne-header{
    background: #6cc24a;
    line-height: 70px;
    font-family: oswald;
    margin-bottom: 25px;
    padding: 0;
}
.mrp-pyv-heading, .mrp-ne-heading{
    display: inline-block;
    background: #ffffff;
    padding-right: 43px !important;
    color: #6cc24a;
}
.mrp-pyv-heading-link, .mrp-ne-heading-link{
    font-size: 20px;
    float: right;
    line-height: 70px;
    display: inline-block;
    color: #000000 !important;
    padding-right: 20px;
    text-decoration: underline !important;
}
.mrp-ne-header{
    background: #0063a5;
}
.mrp-ne-heading{
    color: #0063a5;
}
.mrp-ne-heading-link{
    color: #ffffff !important;
}
.mrp-pyv-blocks{
    float: left;
    width: 58.77862595419847%;
}
.mrp-pyv-block{
    display: inline-block;
    width: 50%;
    padding: 0 15px;
}
.mrp-pyv-block:first-child, .mrp-pyv-block:first-child+.mrp-pyv-block{
    padding-bottom: 30px;
}
#mrp-pyv-block-3, #mrp-pyv-block-4{
    margin-bottom: 0;
} 
.mrp-block-container{
    padding: 20px;
    min-height: 310px;
}
.mrp-pyv-featured-image{
    float: right;
    width: 41.22137404580153%;
    padding-left: 15px;
}
.mrp-pyv-featured-image img{
    height: 645px;
    width: 540px;
}
.main_color .mrp-pyv-title{
    color: #ffffff;
}
.mrp-pyv-block a{
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px; 
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
    display: inline-block;
}
.mrp-pyv-block a img{
    margin-left: 5px;
    vertical-align: middle;
}
#mrp-call-to-action .avia_codeblock_section{
    text-align: center;
}

/* News and Events */
.mrp-ne-blocks{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.mrp-ne-block {
    /* margin: 20px 20px 20px 0; */
    color: #ffffff;
    position: relative;
    width: 33.333333%;
    padding: 0 15px 30px;
}
.mrp-ne-label{
    display: block;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 30px;
    text-transform: uppercase;
}
.mrp-ne-title{
  font-size: 21px;
  font-family: "Oswald";
  text-transform: uppercase;
  line-height: 30px;
    color: #ffffff !important;
  padding-bottom: 3px;
}
.mrp-block-container{
    position: relative;
    padding: 10px;
    min-height: 390px;
}
.mrp-block-container p{
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
}
.mrp-learn-more{
    position: absolute;
    bottom: 45px;
    left: 25px;
}
#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-views #tribe-bar-filters-wrap, #tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-views #tribe-bar-filters-wrap{
    width: 66.66%;
}
#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-filters #tribe-bar-views, #tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-filters #tribe-bar-views{
  width: 33.33%;  
}
.main_color .tribe-bar-views-inner{
    background: transparent;
}
.tribe-bar-date-filter, .tribe-events-shortcode .tribe-bar-search-filter, .tribe-events-shortcode .tribe-bar-submit{
    width: 33.33%;
}
#tribe-bar-form label{
    display: inline-block;
}
#tribe-bar-form #tribe-bar-filters-wrap input[type='text']{
    width: 40%;
    display: inline-block;
}
.tribe-bar-views-inner{
    padding: 0;
}
#tribe-bar-views-toggle{
    display: none;
}
#tribe-bar-views .tribe-bar-views-list{
    display: inline-block;
    position: relative;
    width: auto;
}
#tribe-bar-views .tribe-bar-views-option{
    display: inline-block;
}
.photo-link-wrap{
		height: 250px !important;
}

/* Helper Menu */
#header_meta .container{
	display: flex;
	min-height: inherit;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
	width: 100% !important;
	max-width: none !important;
}
.av_phone_active_left .phone-info, .av_icon_active_right .social_bookmarks, .av_secondary_right .sub_menu{
	float: none;
	display: inline-block;
}
.mrp-helper-menu-widget-area{
	display: inline-block;
}
.mrp-helper-menu-widget-area .mrp-helper-menu-widget span{
	color: #ffffff;
	font-family: oswald;
	text-transform: uppercase;
	vertical-align: middle;
}
.mrp-helper-menu-widget-area .mrp-helper-menu-widget .gf_simple_horizontal_wrapper{
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}
#top .mrp-helper-menu-widget-area .mrp-helper-menu-widget .gf_simple_horizontal_wrapper form{
	margin: 0;
	padding: 0;
}
#top .phone-info{
	order: -1;
	width: 60%;
}
#top .mrp-helper-menu-widget{
	order: 2;
}
#top .social_bookmarks{
	order: 3;
}
#header_meta .sub_menu{
	order: 4;
}
#top .social_bookmarks li{
	border: none;
}
#header_meta .sub_menu{
	top: auto;
}
.sub_menu>ul>.donate-btn>a{
	display: inline-block;
	background: #0063a5;
	padding: 15px ;
}
#header_meta #field_1_2{
margin: 0; 
padding: 0;
}
#header_meta #gfield_error #input_1_2{
	border: 1px solid red;
}
#header_meta #input_1_2{
				border: 1px solid #0063a5;
				font-size: 12px;
}
#header_meta #input_1_2::placeholder{
	opacity: 0;
}
#header_meta #gform_submit_button_1{
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #ffffff;
				font-size: 0;
				width: 0;
				height: 0;
				background: transparent;
				margin: 0px 0px 12px -15px;
				padding: 0;
}
#header_meta .validation_error, #header_meta .validation_message, #header_meta .gform_confirmation_message_1{
			display: none;
}

/* MRP Responsiveness */
@media (min-width: 310px) and (max-width: 720px) {
  
    .responsive #top.home #wrap_all .container{
        width: 100%;
    }
    .mrp-pyv-header{
        background: none;
        line-height: normal;
        font-family: oswald;
        margin-bottom: 10px;
        padding: 0;
        text-align: center;
        line-height: 10px;
        padding-top: 30px;
    }
    .mrp-pyv-heading{
        display: block;
        background: none;
        padding-right: 0;
        color: #6cc24a;
    }
    .main_color .mrp-pyv-title{
        margin-bottom: 0;
    }
    .mrp-pyv-heading-link{
        padding: 0;
        float: none;
    }
    .mrp-pyv-featured-image{
        display: none;
    }
    .mrp-pyv-blocks{
        float: none;
       width: 100%;
    }
    .mrp-pyv-block {
        padding: 0 13px;
    }
	#mrp-pyv-block-1 {
		vertical-align: top;
	}
	#mrp-pyv-block-4 {
		vertical-align: top;
	}
    .mrp-pyv-block:nth-child(odd), .mrp-ne-block:nth-child(odd){
        padding-right: 0;
    }
    .mrp-ne-blocks{
        margin: 0;
    }
    .mrp-block-container {
        padding: 10px;
        min-height: 198px;
    }
    .mrp-ne-block  .mrp-block-container {
        padding: 15px;
        min-height: 315px;
    }
    .mrp-pyv-block:first-child, .mrp-pyv-block:first-child+.mrp-pyv-block{
        padding-bottom: 15px;
    }
    .mrp-ne-header{
        display: none;
    }
    .mrp-ne-block {
        /* margin: 20px 20px 20px 0; */
        color: #ffffff;
        position: relative;
        width: 50%;
        padding: 0 10px 10px;
    }
    .mrp-ne-title {
        font-size: 14px;
        line-height: 17px;
        font-family: "Open Sans";
        font-weight: 600;
        text-transform: none;
        color: #ffffff !important;
        margin: 0;
        padding: 0 0 3px 0;
    }
    .mrp-block-container p {
        font-size: 14px;
        line-height: 18px !important;
        color: #ffffff;
    }
    .mrp-ne-label {
        display: block;
        border-bottom: 1px solid #ffffff;
        padding-bottom: 5px;
        margin-bottom: 10px;
        font-size: 14px !important;
        line-height: 17px !important;
        text-transform: uppercase;
    }
    .mrp-ne-block .mrp-learn-more{
        bottom: 25px;
    }
    .mrp-learn-more {
        position: absolute;
        bottom: 25px !important;
        left: 25px;
}
}