/*
Theme Name:     NewsPlus Child - InsideNC Theme
Theme URI:      http://labs.saurabh-sharma.net/themes/newsplus/wp/
Description:    Child theme for the NewsPlus theme. Used on the InsideNC Wordpress site.
Author:         Saurabh Sharma
Author URI:     http://themeforest.net/user/SaurabhSharma
Template:       newsplus                             
Version:        2.3.2
*/

/* !!! If you update the parent theme, be sure to remove anything with outline: 0 or outline: none in the updated parent theme. !!! */

body {
    overflow: visible !important; /* newsplus randomly adding overflow: hidden to the body */
}

#responsive-menu {
    margin: 0 auto 2rem;
}

/***************************/
/* Accessibility Overrides */
/***************************/

b, strong {
    font-weight: 600;
}

a {
    text-decoration: underline;
    color: #007DC3;
}
a:active, a:focus, a:hover {
    color: #404040;
}

.a-hide {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute;
    width: 1px !important;
}

/* Responsive Toggle */
.menu-button {
    padding: 12px;
}

/* Top Nav Menu */
nav#optional-nav ul#menu-secondary-top-menu li a {
    text-decoration: underline !important;
}
    nav#optional-nav ul#menu-secondary-top-menu li a:hover,
    nav#optional-nav ul#menu-secondary-top-menu li a:focus {
        text-decoration: none !important;
    } 

/* Header Widget Nav Menu */
.header-widget-area ul.extra-widget-nav li a {
    color: #F2F2F2;
}
.header-widget-area ul.extra-widget-nav li a:hover,
.header-widget-area ul.extra-widget-nav li a:focus {
    text-decoration: none !important;
    color: #fff;
}

/* Main Nav */
.primary-nav {
    box-shadow: none;
    border-bottom: solid 2px #F0F0F0;
}
.primary-nav li:hover > a {
    border-bottom: none !important; /* remove hover from li */
}
ul.nav-menu > li > a {
    border-bottom: solid 2px #fff !important; /* add border to normal link */
}
ul.nav-menu > li > a:hover,
ul.nav-menu > li > a:focus {
    border-bottom: solid 2px #0078be !important; /* add border to hovered and focused link */
}
ul.nav-menu > li.current-menu-item > a,
ul.nav-menu > li.current-menu-ancestor > a,
ul.nav-menu > li.current_page_item > a,
ul.nav-menu > li.current_page_ancestor > a {
    border-bottom-color: #0078be !important; /* re-add border to current page link */
}

/* Breadcrumbs */
.breadcrumbs a:hover,
.breadcrumbs a:focus,
#breadcrumb a:hover,
#breadcrumb a:focus {
    text-decoration: none;
    color: #007DC3;
}

/* Section Span Blocks */
h2.section-title a.ss-label:hover,
h2.section-title a.ss-label:focus {
    color: #fff;
    text-decoration: underline;
}

/* Slide Image - Thumb */
.slide-image:focus {
    border: dashed 2px #007DC3;
    padding: 0.25rem;
}

/* Front Page Video Player */
.html5-video-player a {
    outline: inherit !important;
}

/* Front Page Entry Titles */
.entry-content h3 a:hover,
.entry-content h3 a:focus {
    text-decoration: none;
    color: #007DC3;
}

/* Front Page Entry Meta */
.entry-meta a:hover,
.entry-meta a:focus {
    text-decoration: none;
    color: #007DC3;
}

/* Prev/Next */
a.flex-next:hover {
    color: red !important;
}

/* Category/Archive List */
.entry-list-left .post-thumb a:focus img {
    border: dotted 1px #939393;
}
.entry-list-right a:hover,
.entry-list-right a:focus {
    text-decoration: none;
    color: #007DC3;
}

/* Headings */
.entry-grid h2, .entry-grid h3, .entry-list h2, .entry-list h3, .carousel h2, .carousel h3, .flex-caption h2 {
    font-size: 1.5rem;
    line-height: 2.3rem;
    margin-bottom: 0;
    text-decoration: underline;
}

/*******************************/
/* End Accessibility Overrides */
/*******************************/

/* -- */
/* Top Pop Bar */
/* -- */

.top-pop-it {
    background: #262626;
}
    .top-pop-it #utility-top {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    .top-pop-it #header {
        background: none;
        padding: 2.25rem 1.25rem 2rem;
    }
    .top-pop-it .primary-nav {
        width: 100%;
        max-width: 100%;
    }

/* All paragraphs */
p {
    font-size: 1.2rem;
}

/* All lists */
.entry-content li {
    font-size: 1.2rem ;
}

/* Search bar wrapper */
#search-bar {
    padding: 0.45rem;
}

/* Adjust top secondary navigation bar width */
.secondary-nav {
    max-width: 80%;
    text-decoration: underline;
    padding: 0 0.5rem;
}
    .secondary-nav li a {
        padding: 0 0.55rem 0 1.45rem;
        position: relative;
        margin: 1rem 0.3rem;
    }

/* Header widget */
.header-widget-area h3.hwa-title {
    color: #fff;
    font-size: 1.45rem;
    margin: 0.5rem 0;
    font-weight: 600;
}
    .header-widget-area ul.extra-widget-nav {
        margin: 0;
    }    
        .header-widget-area ul.extra-widget-nav li {
            border-right: 2px solid #6f6e6e;
            display: inline-block;
            list-style-type: none;
        }
            .header-widget-area ul.extra-widget-nav li:last-child {
                border: none;
            }
            .header-widget-area ul.extra-widget-nav li a {
                display: inline-block;
                padding: 0 0.85rem 2px 0.65rem;
                font-size: 1.1rem;
            }

/* Secondary navigation bar icons */
nav.secondary-nav ul li a:before {
    font-family: "FontAwesome";
    margin: 0 0.35rem 0 0;
    position: absolute;
    left: 0;
}
    nav.secondary-nav ul li.nc-home-link a:before {
        content: "\f015";
    }
    nav.secondary-nav ul li.blackboard-link a:before {
        content: "\f040";
    }
    nav.secondary-nav ul li.email-link a:before {
        content: "\f0e0";
    }
    nav.secondary-nav ul li.directory-link a:before {
        content: "\f0e8";
    }

/* Search results */
p.search-results {
    background: #F5F5F5;
    display: block;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    margin: 0 0 2.5rem 0;
}
    p.search-results .search-term {
        font-weight: 600;
        color: #007DC3;
    }

/* Add extra space between main nav and content */
#main .wrap {
    padding: 3.5rem 0 0;
}

/* Hide image in the main featured area */
#slider-10873 .slide-image {
    display: none;
}

/* Adjust 3 column layout so padding isn't overridden */
.two-col li, .three-col li, .four-col li {
    padding: 0 12px !important;
}
ul.three-col li {
    border-bottom: none; /* Remove extra border */
}

/* Alter section labels */
.ss-label {
    background-color: #212121;
    color: #fff;
    display: inline-block;
    font-size: 1.35rem;
    letter-spacing: 0.02rem;
    padding: 0.25rem 1rem;
    text-decoration: none;
    margin: 0 0.2rem 0 0;
}
    .ss-label.blue {
        background: #007DC3;
    }
    .ss-label.grey {
        background: #5B5B5B;
    }

/* Default sidebar widget titles */
aside.widget h3.sb-title {
    font-size: 1.45rem;
    margin: 0 0 0.5rem 0;
}

/* Increase text size of excerpts */
.flex-caption .slide-excerpt,
.post-excerpt {
    font-size: 1.15rem;
}

/* Equalize width of submission buttons in default contribute widget area */
#black-studio-tinymce-6 a.ss-button {
    min-width: 24rem;
}

/* Shortcode generated buttons - all */
.ss-button {
    text-decoration: none;
    font-weight: 600;
}

/* Shortcode generated buttons - size m */
.ss-button.size-m {
    font-size: 1.1rem;
}

/* Shortcode generated buttons - size m */
.ss-button.default {
    font-size: 0.95rem;
}

/* No entries message on archive pages */
.no-entries {
    font-size: 1.5rem;
    font-style: italic;
}

/* Upcoming Events widget */
aside#text-4 {
    background: #F5F5F5;
    padding: 1rem;
    border-radius: 4px;
}
    aside#text-4 h3.sb-title {
        color: #007DC3 !important;
        text-transform: uppercase;
        font-size: 1.45rem;
    }

/* Connect with us widget */
ul.social_icons li a {
    color: #fff;
    font-size: 15px;
    line-height: 2.2;
    text-align: center;
}

    ul.social_icons li a.twit {
        background-color: #33ccff;
    }
    ul.social_icons li a.face-book {
        background-color: #3c5a98;
    }
    ul.social_icons li a.you-tube {
        background-color: #cc3333;
    }
    ul.social_icons li a.insta {
        background-color: #336699;
    }
    ul.social_icons a:hover, .widget ul.social_icons a:focus {
    	color: #fff;
    }

/* Announcements column */
#pgc-9-2-1 #panel-9-2-1-0 {
    background: #eaf7ff;
}
    #pgc-9-2-1 #panel-9-2-1-0 .announcements-label {
        margin: 0 0 1.25rem 0;
    }
        #pgc-9-2-1 #panel-9-2-1-0 .announcements-label > a {
            background: #007DC3;
            display: block;
            padding: 1rem 1.5rem;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 1.6rem;
        }
            #pgc-9-2-1 #panel-9-2-1-0 .announcements-label > a .fa.fa-bullhorn {
                background: #fff;
                color: #007DC3;
                font-size: 2rem;
                padding: 0.65rem;
                margin: 0 0.5rem 0 0;
                border-radius: 50%;
            }
        #pgc-9-2-1 #panel-9-2-1-0 .post-list {
            margin: 0 1.5rem 1rem 1.5rem;
        }

/* Featured row */
#pg-9-0 {
    margin-bottom: 0.25rem !important;
}
#pgc-9-0-0 .entry-grid:after {
    border: none;
}
#pgc-9-0-0 .entry-content {
    padding: 0;
}

/* Rows - reverse theme decision */
#pg-9-0, #pg-9-1, #pg-9-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Campus Update row */
#pg-9-1 .panel-grid-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#pg-9-1 {
    margin: 0;
    background: #F5F5F5;
    padding: 1.25rem;
}
#panel-9-1-0-0 h2 {
    color: #007DC3;
    font-size: 1.6rem;
}
#panel-9-1-0-0 .fa.fa-newspaper-o {
    background: #007dc3;
    color: #fff;
    padding: 0.85rem 0.75rem;
    border-radius: 50%;
    margin: 0 0.25rem 0 0;
}
#panel-9-1-0-0 ul {
    margin: 0 0 1rem 0;
}
#panel-9-1-0-0 .entry-content {
    padding: 0;
}
#panel-9-1-0-0 .entry-grid:after {
    border: none;
}
#panel-9-1-0-0 li {
    margin: 0 !important;
}
#panel-9-1-0-0 h2 a {
    text-decoration: none;
}
    #panel-9-1-0-0 h2 a:focus,
    #panel-9-1-0-0 h2 a:hover {
        text-decoration: underline;
    }

/* My College/My People column */
#pgc-9-2-0 {
    background: #f9f9f9 none repeat scroll 0 0;
    padding: 1.25rem 1.25rem 1.25rem 1.25rem !important;
}
    #pg-9-2 .entry-content {
        padding: 0;
    }
    #pgc-9-2-0 .entry-grid:after {
        border: none;
    }
#pgc-9-2-0 h2 {
    color: #404040;
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
}
    #pgc-9-2-0 h2 a {
        text-decoration: none;
    }
#pgc-9-2-0 .so-panel {
    margin: 0 0 0 0 !important;
}

/* My College */
#panel-9-2-0-0 h2 i {
    background: #404040;
    color: #fff;
    padding: 0.8rem 0.6rem;
    border-radius: 50%;
    margin: 0 0.25rem 0 0;
}

/* My People */
#panel-9-2-0-1 h2 i {
    background: #404040;
    color: #fff;
    padding: 0.8rem 0.75rem;
    border-radius: 50%;
    margin: 0 0.25rem 0 0;
}

/* For announcements, remove the thumbnail */
#panel-9-2-1-0 .post-thumb { display: none; }
#panel-9-2-1-0 .post-list .post-content { margin: 0; }
#panel-9-2-1-0 .post-list > li:after,
#panel-9-2-1-0 .widget .post-list > li:after { margin: 0; }

#pgc-9-2-1.panel-grid-cell {
    padding-right: 0;
}

/* Niagara Knights */
a.niagara-knights-logo {
    background: url("http://www.niagaracollege.ca/insidenc/wp-content/uploads/sites/53/2016/05/niagara-knights-logo.png") no-repeat;
    display: block;
    margin: 0 0 1rem 0;
    height: 168px;
    width: 100%;
}
    a.niagara-knights-logo h2 {
        clip: rect(1px, 1px, 1px, 1px);
        height: 1px !important;
        width: 1px !important;
        margin: 0 !important;
        overflow: hidden !important;
        position: absolute;
    }
#panel-9-2-1-1 ul.rss-aggregator {
    margin: 0 1rem;
}

/* Footer headings */
h3.sc-title {
    color: #007DC3;
    font-weight: 600;
    font-size: 1.35rem;
}

/* Previous/next links on articles */
.nav-links a {
    color: #007DC3;
}
    .nav-links .nav-previous a {
        padding: 0.65rem 1rem 0.65rem 2rem;
        display: inline-block;
        font-size: 1.4rem;
    }
    .nav-links .nav-previous a:before,
    .nav-links .nav-next a:after{
      text-decoration: none;
      font-size: 1.4rem;
      top: 9px;
    }
    .nav-links .post-title {
        font-size: 1.15rem;
    }
    .nav-links .meta-nav {
        color: #007dc3;
        text-transform: uppercase;
    }
    .nav-links a:hover,
    .nav-links a:focus {
        text-decoration: none;
    }

/* Share this article (single post) */
.ss-sharing-container {
    border-bottom: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
    .ss-sharing-container.clear > h4 {
        font-size: 1.65rem;
        font-weight: 400;
        color: #007DC3;
        margin: 0 0 1rem;
    }
        /* Fix random extra space above FB share button */
        .fb-share-button.fb_iframe_widget > span {
            height: 30px !important;
        }

/* Footer - Left note */
.notes-left {
    color: grey;
    font-size: 0.9rem;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
}

/* -- */
/* Thanks for subscribing page */
/* -- */

.thanks-for-subscribing h5 {
    background: #e0fff4;
    border-radius: 6px;
    color: #009763;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    padding: 0.5rem 1rem 0.6rem;
}
    .thanks-for-subscribing h5:before {
        font-family: "FontAwesome";
        content: "\f00c";
        font-size: 2.4rem;
        margin: 0 0.75rem 0 0;
    }
.thanks-for-subscribing h6 {
    font-size: 1.65rem;
    border-top: solid 1px #F5F5F5;
    padding: 1rem 0 0 0;
    margin: 0 0 1.5rem;
}

/* -- */
/* Submission Page */
/* -- */

ol.steps li {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}
    ol.steps li img {
        border: 3px solid #c2c2c2;
        border-radius: 4px;
        box-sizing: border-box;
        margin: 0.25rem 0 0;
    }
    ol.steps > li > ul {
        margin: 1rem 0 0 1.5rem;
    } 
        ol.steps > li > ul > li {
            margin: 0 0 0.5rem;
        }

/* -- */
/* Forms */
/* -- */

input:focus, textarea:focus {
    box-shadow: 0 2px 0 #007DC3;
    outline: 0 none;
}

/* Submission Form */
#gform_wrapper_1 {
    background: #EFEFEF;
    padding: 0 2rem 2rem 2rem;
}
    /* Section Headings */
    .gfield.gsection.field_sublabel_below.field_description_below h2 {
        font-size: 1.5rem;
        font-weight: 600;
    }
    /* Labels */
    #gform_wrapper_1 .gfield_label {
        font-size: 1.2rem;
        font-weight: 600;
    }
    /* Description of fields */
    #gform_wrapper_1 .gfield_description {
        font-size: 1rem !important;
        line-height: 1.6rem !important;
    }
    /* Fields */
    #gform_wrapper_1 input,
    #gform_wrapper_1 select,
    #gform_wrapper textarea {
        border: 1px solid #c4c4c4;
        box-shadow: none;
    }

    /* Are you submitting for someone else? */
    #gform_wrapper_1 #field_1_1 {
        margin-bottom: 1.5rem;
    }
    

/* -- */
/* Archives (Blog Home) */
/* -- */


#archives-2.widget.widget_archive,
#categories-2.widget.widget_categories,
#search-2.widget.widget_search {
    background: #F2F2F2;
    padding: 1rem;
}
    #archives-2.widget.widget_archive select {
        width: 100%;
    }
    #categories-2.widget.widget_categories select#cat {
        width: 100%;
    }
    #search-2.widget.widget_search .search-form, #searchform {
        margin-bottom: 0;
    }

/* -- */
/* Events Calendar */
/* --

.tribe-add-post {
    display: none;
}

.tribe-events-meta-group.tribe-events-meta-group-organizer {
    display: none;
}


#tribe-community-events input, #tribe-community-events textarea {
    height: auto;
    padding: 0.75rem 1rem;
}

#tribe-community-events {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

#tribe-geo-results h2.tribe-events-page-title, h2.tribe-events-page-title {
    font-size: 2.4rem;
    font-weight: 500;
}

.tribe-community-events .organizer.frontend-hide{
display:none !important;
}

#tribe-community-events .event-submission-title {
    margin: 0;
}
    #tribe-community-events .page-title.event-submission-title > span {
        color: #007DC3;
        display: block;
        font-size: 1.45rem;
        text-transform: uppercase;
        margin: 0.5rem 0 0;
    }
 */

/* GRAVITY FORM EVENT CALENDAR ADD-AN-EVENT FORM STYLING */
body.insidenc-submitevent h1.page-title span{
    color: #007DC3;
    display: block;
    font-size: 1.47rem;
    text-transform: uppercase;
    margin: 0.5rem 0 0;
}

body.insidenc-submitevent .page-header{
    margin-bottom:0;
}
#gform_wrapper_2{
    background-color:#f5f5f5;
    padding:1em;
    width:70%;
}
body .gform_wrapper ul li.gfield.event-start-date,
body .gform_wrapper ul li.gfield.event-end-date {
    width:40%;
    display:inline-block;
}

.gform_wrapper .top_label li.gfield.small-ncgf-field {
    width:15% !important;
}

.gform_wrapper .gfield_html.gfield_no_follows_desc.empty-li{
    margin-top:0;
}
.gform_wrapper #field_2_20 .gfield_checkbox li label {
    font-size:1em;
}

.gform_wrapper li.gchoice_2_20_1 input {
    margin-top:5px !important;
}

input#gform_submit_button_2[type="submit"] {
    background-color:#0077be;
}

.small-ncgf-field .gfield_required {
    display:none;
}
/* datepicker */
#ui-datepicker-div {
	font-size: 90%;
}

#ui-datepicker-div .ui-datepicker {
	padding: 0;
}

#ui-datepicker-div select {
    color:#424242;
}
#ui-datepicker-div a{
    text-decoration: none;
}
#ui-datepicker-div .ui-widget-content {
	border: none;
	background: #fff;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.19);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.19);
	box-shadow: 0 1px 3px rgba(0,0,0,.19);
}

#ui-datepicker-div .ui-datepicker-header {
	color: #fff;
	padding: 0;
	border:1px solid rgba(0, 0, 0, 0.12);
	border-bottom: none;
	overflow: hidden;
	text-transform: uppercase;
    text-align:center;
    font-size:1.1em;
	border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
    background:#f0f0f0;
    position:relative;
    padding-top:0.8em;
	
}

#ui-datepicker-div .ui-datepicker-header .ui-state-hover {
	background: transparent;
	border-color: transparent;
	cursor: pointer;
}

#ui-datepicker-div .ui-datepicker .ui-datepicker-title {
	line-height: 2.2em;
	font-weight: normal;
}

#ui-datepicker-div .ui-datepicker .ui-datepicker-prev, 
#ui-datepicker-div .ui-datepicker .ui-datepicker-next {
	top: -1px;
	background: #d33e13;
	border-radius: 0;
	font-weight: normal;
	border: none;
	height: 2.2em;
	width: 1.4em;
}

#ui-datepicker-div .ui-datepicker .ui-datepicker-prev.ui-state-hover,
#ui-datepicker-div .ui-datepicker .ui-datepicker-next.ui-state-hover{
	background: #ba2c0c;
}

#ui-datepicker-div .ui-datepicker a {
    text-decoration:none !important;
}

#ui-datepicker-div .ui-datepicker-prev span, 
#ui-datepicker-div .ui-datepicker-next span {
    color:transparent;
    position:absolute;
    bottom:0;
}

    #ui-datepicker-div .ui-datepicker-prev span{
        left:0.5em;
    }
    #ui-datepicker-div .ui-datepicker-next span{    
        right:0.5em;  
    }

        #ui-datepicker-div .ui-icon-circle-triangle-e:after {
            font-family: "FontAwesome";
            content: "\f0a9";
            color:#424242;
            font-size:2em;
        }

#ui-datepicker-div a.ui-state-hover > .ui-icon-circle-triangle-e:after{
    color:black;
}

        #ui-datepicker-div .ui-icon-circle-triangle-w:before {
            font-family: "FontAwesome";
            content: "\f0a8";
            color:#424242;
            font-size:2em;
        }

#ui-datepicker-div table {
	margin: 0;
    background-color:#f9f9f9;
}

#ui-datepicker-div table th {
    border-width:0 0 1px 0;
}

#ui-datepicker-div table {
    border-width:1px 1px 0 1px;
}

#ui-datepicker-div td:hover,
#ui-datepicker-div td.ui-datepicker-current-day{
    background-color:#0077be;
    cursor: pointer;
}

#ui-datepicker-div td:hover > a,
#ui-datepicker-div td > a.ui-state-active{
    color:#fff;
    text-align:center;
}



/* MailChimp Sign Up Widget */
aside#text-9 {
    background: #EDF8FF;
    border-radius: 6px;
    padding: 1rem 1rem 0;
}
    aside#text-9 h3.sb-title {
        font-size: 1.45rem;
        margin: 0 0 0.75rem 0 !important;
    }
    aside#text-9 p.intro {
        font-size: 1.1rem;
        line-height: 175%;
        margin: 0 0 1.25rem 0;
    }
    aside#text-9 p.subscribe-email {
        margin: 0;
    }
        aside#text-9 p.subscribe-email label {
            clip: rect(1px, 1px, 1px, 1px);
            height: 1px !important;
            width: 1px !important;
            margin: 0 !important;
            overflow: hidden !important;
            position: absolute;
        }
        aside#text-9 p.subscribe-email input.email-box {
            padding: 0.75rem 1rem !important;
            width: 100%;
            height: auto;
        }
        aside#text-9 .go {
            clear: after;
            display:block;
            overflow:auto;
            margin: 0;
        }
        aside#text-9 .submit-button {
            background: #007DC3 !important;
            color: #fff !important;
            float: right;
        }
        aside#text-9 .unsubscribe {
            margin: 0.5rem 0 0 0 !important;
            font-size: 0.9rem;
            text-align: right;
        }
    aside#text-9 .mc4wp-alert.mc4wp-notice {
        background: #D3FFD3;
        border: solid 2px #ACEFAC;
        border-radius: 4px;
        padding: 0.75rem;
        margin: 1rem 0 0 0 !important;
    }
        aside#text-9  .mc4wp-alert.mc4wp-notice > p {
            margin: 0 !important;
            font-size: 1.1rem;
            line-height: 1.6rem;
        }

/* Events Calendar Preview (Shortcode) */
ul.events-calendar-preview {
    margin: 0 0 0.75rem 0 !important;
}
    ul.events-calendar-preview > li {
        overflow: auto;
    }
        ul.events-calendar-preview li .event-date {
            display: block;
            float: left;
            width: 28%;
        }
            ul.events-calendar-preview li .event-date .event-date-inner {
                background: #007DC3;
                height: 3.75em;
                margin: 0 0.75rem 0 0;
                border-radius: 6px;
                color: #fff;
                padding: 1rem;
                text-align: center;
            }
                ul.events-calendar-preview li .event-date .event-date-inner .event-day,
                ul.events-calendar-preview li .event-date .event-date-inner .event-month {
                    display: block;
                }
                ul.events-calendar-preview li .event-date .event-date-inner .event-day {
                    font-size: 1.6rem;
                    font-weight: 700;
                    line-height: 1;
                }
                ul.events-calendar-preview li .event-date .event-date-inner .event-month {
                    color: #c5e7f9;
                    font-size: 1.4rem;
                    font-weight: 600;
                    text-transform: uppercase;
                }
        ul.events-calendar-preview li .event-desc {
            display: block;
            float: right;
            width: 70%;
        }
            ul.events-calendar-preview li .event-desc h4 {
                margin: 0 0 0.5rem 0;
                line-height: 1.8rem;
            }
                ul.events-calendar-preview li .event-desc h4 a {
                    text-decoration: underline;
                }
                    ul.events-calendar-preview li .event-desc h4 a:hover,
                    ul.events-calendar-preview li .event-desc h4 a:focus {
                        text-decoration: none;
                    }
        ul.events-calendar-preview li:last-child {
            border: 0;
        }
ul.events-calendar-preview .event-date-mobile {
    display: none;
}

a.submit-event-btn, .insidenc-donate-btn {
    background: #E0E0E0;
    display: block;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    padding: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
}
/* Events Calendar Preview (Shortcode) Mobile Display */
@media only screen and (min-width: 0px) and (max-width: 1200px) {

    /* Hide default date */
    ul.events-calendar-preview li .event-date { display: none; }
    
    /* Show mobile date */
    ul.events-calendar-preview li .event-desc .event-date-mobile {
        display: inline-block;
        margin: 0 0.5rem 0 0;
        border-right: solid 2px #E0E0E0;
        line-height: 1.5rem;
        padding: 0 0.75rem 0 0;
    }
        ul.events-calendar-preview li .event-desc .event-date-mobile .fa.fa-calendar-o {
            margin: 0 0.5rem 0 0;
        }
    
    /* Fix description */
    ul.events-calendar-preview li .event-desc {
        display: block;
        float: none;
        width: 100%;
    }
        ul.events-calendar-preview li .event-desc h4 {
            margin: 0 0 0.25rem;
        }
    
}

/* Aside Widgets */
aside .textwidget a:hover,
aside .textwidget a:focus {
    text-decoration: none;
}

/* Individual event items on grid view calendar */
#tribe-events-content .tribe-events-calendar div[id*="tribe-events-event-"] h3.tribe-events-month-event-title {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

/* Links */
#tribe-events-content a,
.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-adv-list-widget .tribe-events-widget-link a:hover,
.tribe-events-back a, .tribe-events-back a:hover,
.tribe-events-event-meta a,
.tribe-events-list-widget .tribe-events-widget-link a,
.tribe-events-list-widget .tribe-events-widget-link a:hover,
ul.tribe-events-sub-nav a,
ul.tribe-events-sub-nav a:hover {
    text-decoration: underline;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-back a,
.tribe-events-list-widget .tribe-events-widget-link a,
ul.tribe-events-sub-nav a {
    font-size: 1.2rem;
    font-weight: 600;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover,
#tribe_events_filters_wrapper input[type="submit"],
.tribe-events-button, .tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover,
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"],
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a {
    background-color: #007DC3;
}

.tribe-events-cal-links a.tribe-events-button {
    background: #8C8C8C !important;
}

/* Content */
#tribe-events-content {
    margin-bottom: 1rem;
}

/* Back to Calendar */
.tribe-events-back > a {
    background: #ededed none repeat scroll 0 0;
    border-radius: 6px;
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;
    padding: 1rem;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Title */
.single-tribe_events .tribe-events-single-event-title {
    border-top: 4px dotted #cecece;
    font-size: 2.45rem;
    padding: 1rem 0 0;
}

/* Date */
.tribe-events-schedule h2 {
    color: #007dc3;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

/* Hide divider before price */
.single-tribe_events .tribe-events-schedule .tribe-events-divider {
    display: none;
}

/* Price */
.single-tribe_events .tribe-events-schedule .tribe-events-cost {
    background: #f5f5f5 none repeat scroll 0 0;
    border-radius: 4px;
    display: inline-block;
    font-size: 1.4em;
    margin: 0.25rem 0 0;
    padding: 0.75rem;
}

/* Description */
#tribe-events .tribe-events-content p,
.tribe-events-after-html p,
.tribe-events-before-html p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 10px;
}

/* Remove border on calendar footer links area */
.events-list #tribe-events-footer,
.single-tribe_events #tribe-events-footer,
.tribe-events-day #tribe-events-footer,
.tribe-events-map #tribe-events-footer,
.tribe-events-photo #tribe-events-footer {
    border-top: none;
    padding-top: 0;
}

/* Details area titles */
.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    text-transform: uppercase;
    color: #007DC3;
}

/* Details */
.single-tribe_events #tribe-events-content .tribe-events-event-meta dt {
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}
.single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
}
    .single-tribe_events #tribe-events-content .tribe-events-event-meta dd.tribe-organizer {
        font-weight: 700;
    }

/* Next and previous */
.tribe-events-nav-next > a,
.tribe-events-nav-previous > a {
    background: #007dc3;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 1.35rem !important;
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Search bar for events */
#tribe-bar-form label {
    font-size: 1rem;
    font-weight: 600;
}
#tribe-bar-form input[type="text"] {
    font-weight: 400;
}
#tribe-bar-form .tribe-bar-submit input[type="submit"] {
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
}
.tribe-bar-submit {
    margin-left: 0;
}
.tribe-bar-date-filter {
    width: 20%;
}
.tribe-bar-search-filter {
    width: 55%;
}

/* RSS Widget */
.widget ul a:hover,
.widget ul a:focus {
    color: #007DC3;
    text-decoration: underline;
}

/* -- */
/* Events Calendar - Events Submission Form */
/* -- */

#tribe-events > form {
    background: #EFEFEF;
    padding: 1.5rem;
}
#tribe-community-events .eventForm td {
    font-size: 1.1rem;
}
#tribe-community-events label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #545454;
}
#tribe-community-events input,
#tribe-community-events textarea {
    border: 1px solid #c4c4c4;
    box-shadow: none;
    margin: 0.25rem 0 0;
    padding: 1rem;
}
#tribe-community-events small.req {
    color: #ce0404;
    font-size: 0.9rem;
    text-transform: none;
}

/* Boxes */
#tribe-community-events .eventForm {
    background: #F7F7F7;
    padding: 1rem;
}

/* Dates */
.tribe-community-event-info label {
    font-size: 1.15rem !important;
}
.tribe-datepicker.hasDatepicker {
    font-size: 1rem;
}
.tribe-community-event-info .timeofdayoptions select {
    font-size: 1rem;
    padding: 0.25rem;
}

/* Uploader (disabled) */
#tribe-community-events .tribe-community-event-info {
    margin: 0;
}
#EventBriteDetailDiv h4,
.eventForm .tribe_sectionheader h4,
.tribe-community-event-info h4 {
    border-bottom: 2px solid #e5e5e5;
    font-size: 1.15rem;
    font-weight: 600 !important;
}
#event_image_uploader label {
    text-transform: none;
}
.tribe-community-event-info input[type="file"] {
    color: #007DC3;
    font-size: 1.1rem;
}
#EventBriteDetailDiv small, .tribe-community-event-info small {
    font-size: 1rem;
    font-style: italic;
    margin: 0.5rem 0 0;
}

/* Submit */
.button.submit.events-community-submit {
    background: #0077BE;
    color: #fff;
    border-radius: 4px;
    border: none !important;
    font-size: 1.3rem;
}

/* -- */
/* Mega Menu */
/* -- */

/* Parent menu items larger */
.nav-menu > li > a {
    font-size: 1.4rem;
}

/* Make columns for menu items */
ul.sub-menu > li > ul.sub-menu > li {
    width: 49% !important;
}

/* Alter menu column title links */
.nav-menu .mega-menu > .sub-menu > li > a,
.nav-menu .mega-menu > .sub-menu > li:last-child > a,
.nav-menu li.mega-menu ul li.menu-item-has-children > a {
    color: #0077be;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
}
.nav-menu li.mega-menu ul li.menu-item-has-children > a:focus {
    text-decoration: underline !important;
}

/* Duplicate hover states for focus accessibility */
.primary-nav li:focus > a {
	color: inherit;
	border-bottom-color: #f44336;
}
.primary-nav ul li:focus > ul {
	display: block;
}
.primary-nav li ul li > a:focus {
	color: #212121;
	background: #eee;
}
.primary-nav ul ul li.menu-item-has-children:focus > a:after {
	color: inherit;
}

@media only screen and (min-width: 0px) and (max-width: 1000px) {
    #gform_wrapper_2{
        width:100%;
    }
    
    body .gform_wrapper ul li.gfield.event-start-date,
body .gform_wrapper ul li.gfield.event-end-date {
    width:100%;
}

.gform_wrapper .top_label li.gfield.small-ncgf-field {
    width:100% !important;
}
}