/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /**
 * @license
 * MyFonts Webfont Build ID 3479601, 2017-11-07T17:56:29-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: RiftSoft-BoldItalic by Fort Foundry
 * URL: https://www.myfonts.com/fonts/fort-foundry/rift/soft-bold-italic/
 * 
 * Webfont: RiftSoft-Bold by Fort Foundry
 * URL: https://www.myfonts.com/fonts/fort-foundry/rift/soft-bold/
 * 
 * Webfont: RiftSoft-MediumItalic by Fort Foundry
 * URL: https://www.myfonts.com/fonts/fort-foundry/rift/soft-medium-italic/
 * 
 * Webfont: RiftSoft-Regular by Fort Foundry
 * URL: https://www.myfonts.com/fonts/fort-foundry/rift/soft-regular/
 * 
 * Webfont: RiftSoft-Medium by Fort Foundry
 * URL: https://www.myfonts.com/fonts/fort-foundry/rift/soft-medium/
 * 
 * 
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3479601
 * Licensed pageviews: 10,000
 * Webfonts copyright: Copyright &#x00A9; 2016 by Mattox Shuler. All rights reserved.
 * 
 * � 2017 MyFonts Inc
*/
@font-face {
    font-family: 'NerisBlack';
    src: url('fonts/neris-black-webfont.eot');
    src: url('fonts/neris-black-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/neris-black-webfont.woff2') format('woff2'), url('fonts/neris-black-webfont.woff') format('woff'), url('fonts/neris-black-webfont.ttf') format('truetype'), url('fonts/neris-black-webfont.svg#nerisblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neris Light';
    src: url('fonts/neris-light-webfont.eot');
    src: url('fonts/neris-light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/neris-light-webfont.woff2') format('woff2'), url('fonts/neris-light-webfont.woff') format('woff'), url('fonts/neris-light-webfont.ttf') format('truetype'), url('fonts/neris-light-webfont.svg#nerislight') format('svg');
    font-weight: normal;
    font-style: normal;
}


@import url("//hello.myfonts.net/count/351831");
@import url('https://fonts.googleapis.com/css?family=Montserrat:500');

@font-face {
    font-family: 'RiftSoft';
    src: url('fonts/351831_0_0.eot');
    src: url('fonts/351831_0_0.eot?#iefix') format('embedded-opentype'), url('fonts/351831_0_0.woff2') format('woff2'), url('fonts/351831_0_0.woff') format('woff'), url('fonts/351831_0_0.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}


@font-face {
    font-family: 'RiftSoft';
    src: url('fonts/351831_1_0.eot');
    src: url('fonts/351831_1_0.eot?#iefix') format('embedded-opentype'), url('fonts/351831_1_0.woff2') format('woff2'), url('fonts/351831_1_0.woff') format('woff'), url('fonts/351831_1_0.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'RiftSoft';
    src: url('fonts/351831_2_0.eot');
    src: url('fonts/351831_2_0.eot?#iefix') format('embedded-opentype'), url('fonts/351831_2_0.woff2') format('woff2'), url('fonts/351831_2_0.woff') format('woff'), url('fonts/351831_2_0.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}


@font-face {
    font-family: 'RiftSoft';
    src: url('fonts/351831_3_0.eot');
    src: url('fonts/351831_3_0.eot?#iefix') format('embedded-opentype'), url('fonts/351831_3_0.woff2') format('woff2'), url('fonts/351831_3_0.woff') format('woff'), url('fonts/351831_3_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'RiftSoft';
    src: url('fonts/351831_4_0.eot');
    src: url('fonts/351831_4_0.eot?#iefix') format('embedded-opentype'), url('fonts/351831_4_0.woff2') format('woff2'), url('fonts/351831_4_0.woff') format('woff'), url('fonts/351831_4_0.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
.clear {
    display: block;
    height: 0 !important;
    clear: both;
    
}
 .pageTitle {
	 text-align:center;
     font-family: 'RiftSoft',Tahoma,Arial,sans-serif;
     color: #1f3145;
     
 }
 .site-container {padding: 0 42px;}
 
 /* Filter Bar */
.show-filters-button { display: none; }
.filter-bar, 
.filter-type {
	display: flex;
	width: 100%;
	flex-wrap: nowrap;
	justify-content: center;
	align-content: space-between;
}

.filter-bar .filter-box
{
    display: inline-block;
	width: 100%;
	background-color: #B6C7D3;
	height : 95px;
    padding: 18px 21px;
    margin: 0 5px;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    vertical-align: top;
    transition: all .25s ease;
}

.filter-box.jump-to, .filter-box.search {width: 24%;}
.filter-box.miles-within {width: 37%;}
.filter-box.view-toggle {width: 12%; padding: 18px 18px 18px 21px; text-decoration: none;}
.filter-box:hover {cursor: pointer;}
.filter-box .filter-title {display:inline-block; padding: 0 0 6px 0; font-family: 'Montserrat', 'Arial Rounded MT', sans-serif; font-size: 12px; font-weight: 500; text-transform: uppercase; }

.filter-box.active, .filter-box:hover, .filter-box:focus {background: #1f3145; color: #fff;}
.filter-box.active .filter-title, .filter-box:hover .filter-title, .filter-box:focus .filter-title  {color: #fff;}
.filter-box.view-toggle:hover, .filter-box.view-toggle:focus {background: #1f3145; color: #fff;}
.filter-box.view-toggle.active .filter-title, .filter-box.view-toggle:hover .filter-title, .filter-box.view-toggle:focus .filter-title {color: #1f3145;}
.filter-bar .filter-box:first-child { margin-left: 0px;}
.filter-bar select { color:black; }
.filter-bar .filter-box.view-toggle { background-color: #88a1b3!important; color:black; cursor:pointer; margin-right: 0px; transition: all .25s ease;}

.filter-type {
    width: 668px;
    font-size: 0;
    margin: 0 auto 8px auto;
}
.month-view .filter-type {margin-bottom: 0px;}
.filter-type .filter-type-item {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    padding: 6px 0;
    width: 20%;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    background-color: #88a1b3;
    box-sizing:border-box;
    cursor: pointer;
}
.filter-type .filter-type-item.grant-deadlines { background: #BD265E;}
.filter-type .filter-type-item.public-scholars-project{ background: #F27B21;}
.filter-type .filter-type-item.community-events { background: #F9A61D;}
.filter-type .filter-type-item.njch-events { background: #00B9B4;}
.filter-type .filter-type-item.grantee-events { background: #78CDD1;}

.filter-type .filter-type-item.inactive {
	background-color: grey;
}
.filter-box select {
    width: 100%;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    vertical-align: top;
    min-height: 30px;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
}
.filter-box select::-ms-expand {display: none;}
.select-arrow {position: relative; display: inline-block; vertical-align: middle; width: 81%; }
.miles-within .select-arrow {width: 30%; margin-right: 6px;}
.filter-box .select-arrow::after, .filter-box .select-arrow:after{
    content:'';
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -2px;
    height: 0;
    width: 0;
    border-top: 5px solid #1f3145;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;

}
/*.filter-box.miles-within select {width: 30%;}*/

#keyword {width: 81%; font-family: 'Montserrat', 'Arial Rounded MT', sans-serif; font-size: 12px; font-weight: 500; color: #1f3145; padding: 5px 14px; box-sizing: border-box; border-radius: 0;}
#zipCode {width: 45%; font-family: 'Montserrat', 'Arial Rounded MT', sans-serif; font-size: 12px; font-weight: 500; color: #1f3145; margin-left: 6px; padding: 5px 14px; box-sizing: border-box; border-radius: 0;}
.error #zipCode {border: 2px solid #F27B21;}
/*#distance { margin-right: 6px;}*/
#findMonth, #findKeyword, #findZipCode {
    position: relative; 
    display: inline-block; 
    width: 32px; 
    height: 32px;
    background: #1F3145 url(/wp-content/plugins/njch-event-plugin/images/lens-white.png) no-repeat center center;
    background-size: 16px auto; 
    padding: 8px;  
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    vertical-align: top; 
    margin-left: 4px; 

}
#findMonth, #findZipCode {
    background: #1F3145 url(/wp-content/plugins/njch-event-plugin/images/go-white.png) no-repeat center center;
    background-size: 20px auto;
}

.filter-box.active #findKeyword, .filter-box.active #findZipCode, .filter-box.active #findMonth, .filter-box:hover #findKeyword, .filter-box:hover #findZipCode, .filter-box:hover #findMonth, .filter-box:focus #findKeyword, .filter-box:focus #findZipCode, .filter-box:focus #findMonth {background-color: #88a1b3}
.filter-box.active #findKeyword:hover {background: #b6c7d3 url(/wp-content/plugins/njch-event-plugin/images/lens.png) no-repeat center center; background-size: 16px auto;}
.filter-box.active #findMonth:hover, .filter-box.active #findZipCode:hover {background: #b6c7d3 url(/wp-content/plugins/njch-event-plugin/images/go.png) no-repeat center center; background-size: 20px auto;}

.filter-box.view-toggle span {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(/wp-content/plugins/njch-event-plugin/images/Month.png) no-repeat center center;
    background-size: 20px auto;
    vertical-align: middle;
}
.filter-box.view-toggle span.view-type {
    position: relative;
    display: inline-block; 
    width: auto;
    height: auto;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 19px;
    font-weight: 500;
    vertical-align: middle;
    color: #1f3145;
    background: none;
    font-weight: 500;
}
.filter-box.view-toggle:hover span.view-type, .filter-box.view-toggle:focus span.view-type {color: #fff;}
.filter-box.view-toggle span.List {
    background: url(/wp-content/plugins/njch-event-plugin/images/List.png) no-repeat center center;
    background-size: 20px auto;
}
.filter-box.view-toggle:hover span.List {
    background: url(/wp-content/plugins/njch-event-plugin/images/List-white.png) no-repeat center center;
    background-size: 20px auto;
}
.filter-box.view-toggle span.Month {
    background: url(/wp-content/plugins/njch-event-plugin/images/Month.png) no-repeat center center;
    background-size: 20px auto;
}
.filter-box.view-toggle:hover span.Month {
    background: url(/wp-content/plugins/njch-event-plugin/images/Month-white.png) no-repeat center center;
    background-size: 20px auto;
}

/* PREVIOUS / NEXT TABS*/

.prevNextTabs, .prevNextPage, .prevNextTabs:visited, .prevNextPage:visited, .prev-month, .next-month, .prev-month a, .next-month a, .prev-month a:visited, .next-month a:visited {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1f3145;
    text-transform: uppercase;
    vertical-align: middle;
}
.prevNextTabs {margin-top: 18px;}
.prevNextPage{
    padding: 24px 0;
}
.prev-month, .next-month {margin-top: 10px; margin-bottom: 14px;}
.prevNextTabs.next, .prevNextPage.next, .next-month {float: right;}

.passed-event {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px 18px;
    margin: 10px auto 40px auto;
    background: #9c2646;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 16px; 
    line-height: 19px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;

}
.zip-warning {position: relative; display: inline-block; padding: 0 5px 0 84px; color: #F27B21; font-weight: 600;}
/* calendar - view */
.calendar-view {
	display: flex;
	flex-direction: column; 
	width: 100%;
    margin-bottom: 52px;
}

.calendar-week, .calendar-week-day-names {
	display: flex; 
	flex-direction: row;
	width: 100%;
    border-left: 2px solid #969696;
}
.calendar-week-day-names {
	height: 50px;
    border-left: 2px solid #1f3145;
}

.calendar-week-day-names .calendar-day {
	background-color:#1F3145!important;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    line-height: 16px;
	color:white;
	text-align: center;
    font-weight: 500;
	vertical-align: middle;
	min-height:0!important;
	padding:  17px 0;
    border-color: #1f3146;
}

.calendar-day {
	width: 100%;
	min-height: 200px;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size:12px;
    font-weight: 500;
	background-color:white;
    border-right: 1px solid #969696;
    border-bottom: 1px solid #969696;
}
.calendar-week .calendar-day:last-child {border-right: 2px solid #969696;}
.calendar-view .calendar-week:last-child .calendar-day {border-bottom: 2px solid #969696;}
.calendar-week.calendar-week-day-names .calendar-day:last-child {border-right: 2px solid #1f3145;}
.calendar-day .day-month {padding: 11px 0 0 11px; }

.out-month .day-month{
	color: #CCCCCC;
}
.calendar-day.out-month {background-color: #f7f7f7;}
/* Events Boxes */
.event-item {
    padding: 12px;
    color: #fff;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    line-height:14px;
    margin-bottom: 5px;
}
.event-item a, .event-item a:visited  {
	color: white;
}

.event-item { color: white; }


/* list - view  */
.event-type {
	width: 178px;
    padding: 7px 0;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 12px;
    line-height: 15px;
     font-weight: 700;
    color: #fff;
    background: #88a1b3;
    text-align: center;
}
.event-type.grant-deadlines, .event-item.grant-deadlines {background: #BD265E;}
.event-type.public-scholars-project, .event-item.public-scholars-project {background: #F27B21;}
.event-type.community-events, .event-item.community-events {background: #F9A61D;}
.event-type.njch-events, .event-item.njch-events {background: #00B9B4;}
.event-type.grantee-events, .event-item.grantee-events {background: #78CDD1;}

#showAll {
    position: relative;
    display: block;
    width: 180px;
    padding: 5px 0;
    margin: 0 auto;
    font-size: 12px;
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    text-align: center;
    font-weight: 700;
    background: none;
    color: #1f3145;
    text-transform: uppercase;
    cursor: pointer;
}
.single-event .event-type {margin-top: 10px; }
.event-list-item {
    position: relative;
    display: block;
    padding: 0 0 46px 0;
}
.event-date {
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 14px;
    line-height: 17px;
     font-weight: 500;
    color: #1f3145;
    padding: 12px 0 4px 0;
}
.event-title, h2.event-title {
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    color: #1f3145;
    text-decoration: none;
}
.event-list-item a:hover .event-title, .event-list-item a:focus .event-title {text-decoration: underline;}
.event-list-item a, .event-list-item a:visited {color: #1f3145;}
.event-description, .content-empty {
    padding-top: 14px;
    font-family: Georgia,'Times New Roman',Times,serif;
    font-size: 16px;
    line-height: 20px;
    color: #1f3145; 
}
.content-empty { font-family: 'RiftSoft',Tahoma,Arial,sans-serif; font-size: 36px; line-height: 40px; font-weight: 700; padding: 0 0 54px 0; text-align: center;}
.single-event .event-title {
    margin: 10px 0;
    font-family: 'RiftSoft',Tahoma,Arial,sans-serif;
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
	text-transform: uppercase;
}

.single-event .event-date {padding: 0 0 16px 0; font-size: 16px; line-height: 21px; font-weight: 500;}
.single-event .event-description {padding-bottom: 100px; font-size: 20px; line-height: 26px;}
.single-event .event-info-block {
    position: relative;
    display: inline-block;
    padding: 0 54px 0px 54px;
    margin-bottom: 54px;
    vertical-align: top;

}
.single-event .event-info-block.venue {
    padding-left: 0;
    border-right: 1px solid #92a1b4;
}
.single-event .event-info-block {
    font-family: 'Montserrat', 'Arial Rounded MT', sans-serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
}
.single-event .event-info-block .title2 {padding-bottom: 20px; text-transform: uppercase;}
.single-event .event-info-block a, .single-event .event-info-block a:visited {color: #1f3145; text-decoration: underline;}
.single-event .event-info-block .contact-phone a, .single-event .event-info-block .contact-phone a:visited {text-decoration: none;}

@media screen and (max-width: 1120px) {
    #keyword {width: 70%;}
    .select-arrow {width: 70%;}
    #zipCode {width: 35%;}
    
}
@media screen and (max-width: 1024px) {
    .event-list-item a:hover .event-title, .event-list-item a:focus .event-title {text-decoration: none;}
    a:hover {text-decoration: none;}
    .filter-box select, #keyword, #zipCode{font-size: 16px;}
    .filter-bar .filter-box {padding: 7px 20px; height: 85px;}
    #findMonth, #findKeyword, #findZipCode {height: 40px; width: 40px;}
    .filter-box.jump-to, .filter-box.search {width: 25%;}
    .select-arrow {width: 74%;}
    .miles-within .select-arrow {width: 34%}
    #zipCode {width: 37%; }
    #keyword {width: 74%;}
    .filter-box.view-toggle span {width: 15px; height: 15px;}
    .filter-box.view-toggle span.Month, .filter-box.view-toggle span.List {background-size: 15px auto;}
    .filter-box.view-toggle span.view-type {font-size: 16px;}
}
@media screen and (max-width: 980px) {
    .filter-bar, .filter-type {flex-wrap: wrap}
    .view-toggle {display: none;}
    /*.filter-box.search {margin-right: 0;}*/
    .filter-box.miles-within, .filter-bar .filter-box.miles-within {width: 44%; margin-right: 5px; margin-top: 8px }
    .filter-box.jump-to, .filter-box.search {width: 27%;}
	.filter-bar .filter-box.view-toggle { margin-top: 8px; }
    .select-arrow {width: 68%;}
    .miles-within .select-arrow {width: 32%;}
    #zipCode {width: 35%;}
    #keyword {width: 68%;}
    .filter-type {width: 100%; font-size: 0;}
    .filter-type .filter-type-item {width: 18%; margin: 0 1%;}
    .filter-type .filter-type-item.grant-deadlines {margin-left: 0;}
    .filter-type .filter-type-item.grantee-events {margin-right: 0;}
}
@media screen and (max-width: 768px) {
    .filter-bar .filter-box, .filter-bar .filter-box.miles-within {width: 100%; display: block; margin: 0 auto 5px auto;}
    .filter-bar .filter-box.view-toggle {display: none;}
    .filter-bar .filter-box {padding: 7px 10px;}
    .select-arrow, #keyword {width: 80%;}
    .miles-within .select-arrow {width: 50%;}
    #zipCode {width: 80%; margin-left: 0; margin-top: 8px;}
    #findZipCode {margin-top: 8px;}
    .filter-bar .filter-box.miles-within {height: 135px;}
    .pageTitle {font-size: 1.5em; margin: 0 .5em 0;}
    .filter-type {display: none;}
    .single-event .event-info-block, .single-event .event-info-block.venue, .single-event .event-info-block.contact {
        display: block; 
        padding: 0 0 20px 0;
        margin: 0;
    }
    .single-event .event-info-block.venue {border-right: none; border-bottom: 1px solid #92a1b4;}
    .single-event .event-info-block.contact {padding: 20px 0 50px 0;}
    .filter-section { display: none; }
    .show-filters-button { 
        display: block; 
        position: relative;
        padding: 7px 0; 
        margin: 10px auto 0 auto;
        width: 100%; 
        font-family: 'Montserrat', 'Arial Rounded MT', sans-serif; 
        font-size: 14px; 
        line-height: 20px; 
        font-weight: 700; 
        text-align: center; 
        color: #fff;
        background: #1f3145;
    }
    .show-filters-button::after, .show-filters-button:after {
        content:'';
        position: absolute;
        display:block;
        width: 20px;
        height: 20px;
        top: 7px;
        right: 10%;
        background: #1f3145 url(/wp-content/plugins/njch-event-plugin/images/go-white.png);
        background-size: 100% auto;
        transform: rotate(90deg); 
    }
}