/* ----- Magnific Popup Custom Style ----- */

.mfp-bg {
    background: #111;
    opacity: 0.6;
    z-index: 109995;
}

.mfp-wrap {
    z-index: 109996;
}

.mfp-content {
    z-index: 109997;
}

.mfp-close {
    box-shadow: none;
    background: none;
}

.mfp-close:active,
.mfp-close:hover,
.mfp-close:focus {
    background: none;
    box-shadow: none;
    text-decoration: none;
}

.mfp-close-btn-in .mfp-close,
.mfp-close-btn-in .mfp-close:hover {
    color: #333; 
}

.wpsc-clear:before {
    content: " ";
    display: table;
}

.wpsc-clear:after {
    clear: both;
    content: " ";
    display: table;
}

/* ----- Reset ------ */

#wpsc-block-calendar * {
	background:none;
	border:0 none;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	float:none;
	height:auto;
	letter-spacing:normal;
	list-style:none;
	outline:none;
	position:static;
	text-decoration:none;
	text-indent:0;
	text-shadow:none;
	text-transform:none;
	width:auto;
	visibility:visible;
	overflow:visible;
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	-ms-box-shadow:none;
	-o-box-shadow:none;
	box-shadow:none;
}

/* ----- Credit ----- */

#wpsc-block-calendar .wpsc-credit {
    color: #333;
    font-size: 14px;
    text-align: right;
    line-height: 1.6;
}

/* ----- Loading Panel ----- */

.wpsc-loading-panel {
    position: relative;
    background: #fff;
    padding: 20px 30px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
    font-size: 18px;
}

/* ----- Calendar Block ----- */

.wpsc-clear:before {
    content: " ";
    display: table;
}

.wpsc-clear:after {
    clear: both;
    content: " ";
    display: table;
}

#wpsc-block-calendar .wpsc-nav-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: #eee;
}

#wpsc-block-calendar .wpsc-nav-container:empty {
    margin-bottom: 0;
}

#wpsc-block-calendar .wpsc-no-important-dates {
    border: 1px solid #ddd;
    padding: 15px 20px;
}

/* ----- Navigation Button ----- */

#wpsc-block-calendar .wpsc-button {
    background: #f7f7f7;
    color: #333;
    padding: 4px 10px;
    text-transform: none;
    text-decoration: none;
    width: auto;
    font-family: inherit;
    font-weight: normal;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
    vertical-align: middle;
    letter-spacing: normal;
}

#wpsc-block-calendar .wpsc-button:hover,
#wpsc-block-calendar .wpsc-button:active,
#wpsc-block-calendar .wpsc-button:focus {
    background: #f5f5f5;
    text-decoration: none;
}

#wpsc-block-calendar .wpsc-button:before,
#wpsc-block-calendar .wpsc-button:after {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "dashicons";
    font-size: 20px;
    line-height: 20px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    speak: none;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
    vertical-align: top;
    position: relative;
    width: 16px;
    color: #333;
    outline: none;
}

#wpsc-block-calendar .wpsc-button-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}


/* ----- School Year Navigation ----- */

#wpsc-block-calendar .wpsc-heading-section {
    color: #333;
}

#wpsc-block-calendar .wpsc-heading-section__heading {
    display: inline-block;
    margin-right: 10px;
    font-size: 15px;
    line-height: 1.4;
}

#wpsc-block-calendar .wpsc-heading-section__school-year {
    display: inline-block;
    position: relative;
    margin-right: 5px;
}

#wpsc-block-calendar .wpsc-school-year-button {
    background-color: #e9ecef;
    border-color: rgba(27,31,35,.35);
    box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,.15);
}

#wpsc-block-calendar .wpsc-school-year-button:after {
    content: "\f347";
    margin-left: 10px;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus {
    position: absolute;
    width: 100%;
    right: 0;
    top: calc(100% + 2px);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(27,31,35,.15);
    border-radius: 4px;
    box-shadow: 0 1px 15px rgba(27,31,35,.15);
    z-index: 1000;
    display: none;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus ul {
    margin: 0;
    padding: 0;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus li a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    text-align: center;
    color: #000;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus li a:hover {
    text-decoration: none;
    color: #000;
    background: #f5f5f5;
}

#wpsc-block-calendar .wpsc-heading-section__school-year-menus li:last-child a {
    border: none;
}

/* ----- Filter Navigation ----- */

#wpsc-block-calendar .wpsc-filter-section {
    position: relative;
    color: #333;
}

#wpsc-block-calendar .wpsc-filter-button {
    background-color: #e9ecef;
    border-color: rgba(27,31,35,.35);
    box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,.15);
}

#wpsc-block-calendar .wpsc-filter-button:before {
    content: "\f536";
    margin-right: 10px;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus {
    position: absolute;
    width: auto;
    min-width: 300px;
    left: 0;
    top: calc(100% + 2px);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(27,31,35,.15);
    border-radius: 4px;
    box-shadow: 0 1px 15px rgba(27,31,35,.15);
    padding: 15px 20px;
    z-index: 1000;
    display: none;
}

#wpsc-block-calendar .wpsc-filter-section__heading {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
    white-space: nowrap;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus ul {
    margin: 0 0 10px;
    padding: 0;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus li label {
    cursor: pointer;
    display: block;
    white-space: nowrap;
    padding: 5px 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: normal;
    color: #333;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus li input[type="checkbox"] {
    border: 1px solid #b4b9be;
    background: #fff;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 16px;
    margin: -4px 4px 0 0;
    outline: 0;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    width: 16px;
    min-width: 16px;
    -webkit-appearance: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: .05s border-color ease-in-out;
}

#wpsc-block-calendar .wpsc-filter-section__category-menus li input[type="checkbox"]:checked:before {
    float: left;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    font: normal 21px/1 dashicons;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f147";
    margin: -3px 0 0 -4px;
    color: #333;
}

#wpsc-block-calendar .wpsc-filter-num {
    margin-left: 7px;
}

#wpsc-block-calendar .wpsc-apply-button,
#wpsc-block-calendar .wpsc-apply-button:hover {
    background: #279f43;
    color: #fff;
    border-color: rgba(27,31,35,.5);
}

#wpsc-block-calendar .wpsc-filter-selected {
    margin: 10px 0;
}

#wpsc-block-calendar .wpsc-filter-selected ul {
    margin: 0;
    padding: 0;
}

#wpsc-block-calendar .wpsc-filter-selected li {
    margin: 0 5px 5px 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

#wpsc-block-calendar .wpsc-filter-selected .wpsc-clear-filter-item {
    padding: 5px 10px;
    background: #ddd;
    color: #000;
    border-radius: 2px;
    font-size: 15px;
    line-height: 1.5;
    display: block;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
}

#wpsc-block-calendar .wpsc-filter-selected .wpsc-clear-filter-item:hover {
    text-decoration: none;
    color: #000;
}

#wpsc-block-calendar .wpsc-filter-selected .wpsc-clear-filter-item:after {
    content: "\f335";
    margin-left: 10px;
}

#wpsc-block-calendar .wpsc-filter-selected .wpsc-clear-filters {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
}

#wpsc-block-calendar .wpsc-filter-selected .wpsc-clear-filters:hover {
    text-decoration: underline;
    color: #333;
}

/* ----- Download Navigation ----- */

#wpsc-block-calendar .wpsc-download-section {
    position: relative;
    margin-left: auto;
    margin-right: 5px;
    color: #333;
}

#wpsc-block-calendar .wpsc-download-navigation-icon {
    background-color: #e9ecef;
    border-color: rgba(27,31,35,.35);
    box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,.15);
}

#wpsc-block-calendar .wpsc-download-navigation-icon:before {
    content: "\f316";
}

#wpsc-block-calendar .wpsc-download-menus {
    position: absolute;
    width: auto;
    height: auto;
    top: calc(100% + 2px);
    right: 0;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(27,31,35,.15);
    border-radius: 4px;
    box-shadow: 0 1px 15px rgba(27,31,35,.15);
    display: none;
    padding: 0;
    z-index: 1000;
}

#wpsc-block-calendar .wpsc-download-menus-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#wpsc-block-calendar .wpsc-download-menu-item {
    border-bottom: 1px solid #eee;
    width: auto;
    display: block;
}

#wpsc-block-calendar .wpsc-download-menu-item form {
    padding: 0 !important;
    margin: 0 !important;
    width: auto;
}

#wpsc-block-calendar .wpsc-download-menu-item:last-child {
    border: none;
}

#wpsc-block-calendar .wpsc-download-menu-button:not(.wpsc-button) {
    background: #fff;
    border: none;
    border-radius: 0;
    color: #000;
    padding: 6px 15px;
    text-decoration: none;
    text-transform: none;
    text-align: left;
    width: auto;
    font-weight: normal;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    box-shadow: none;
}

#wpsc-block-calendar .wpsc-download-menu-button:not(.wpsc-button):hover {
    background: #f9f9f9;
    color: #000;
    text-decoration: none;
}

/* ----- Subscribe Navigation ----- */

#wpsc-block-calendar .wpsc-subscribe-section {
    position: relative;
    color: #333;
}

#wpsc-block-calendar .wpsc-subscribe-button {
    background-color: #e9ecef;
    border-color: rgba(27,31,35,.35);
    box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,.15);
}

#wpsc-block-calendar .wpsc-subscribe-panel-container {
    position: absolute;
    width: auto;
    min-width: 400px;
    right: 0;
    top: calc(100% + 2px);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(27,31,35,.15);
    border-radius: 4px;
    box-shadow: 0 1px 15px rgba(27,31,35,.15);
    padding: 10px 15px;
    z-index: 1000;
    display: none;
}

#wpsc-block-calendar .wpsc-subscribe-panel__heading {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
}

#wpsc-block-calendar .wpsc-subscribe-panel__desc {
    margin: 10px 0 20px;
    font-size: 13px;
    line-height: 1.6;
    display: none;
}

#wpsc-block-calendar .wpsc-subscribe-panel__field {
    margin: 10px 0;
}

#wpsc-block-calendar .wpsc-subscribe-panel__navigation {
    margin: 10px 0;
}

#wpsc-block-calendar .wpsc-subscribe-panel__help-toggle {
    
}

#wpsc-block-calendar .wpsc-subscribe-panel__help-toggle:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "dashicons";
    font-size: 20px;
    line-height: 20px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    speak: none;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
    vertical-align: top;
    position: relative;
    width: 16px;
    color: #333;
    outline: none;
    content: "\f223";
}

#wpsc-block-calendar .wpsc-subscribe-panel-url {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    padding: 5px 10px;
    letter-spacing: normal;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    background-color: #fff;
    border: 1px solid #d1d5da;
    box-shadow: inset 0 1px 2px rgba(27,31,35,.075);
}

#wpsc-block-calendar .wpsc-subscribe-panel-navigation-button-copy,
#wpsc-block-calendar .wpsc-subscribe-panel-navigation-button-copy:hover {
    background: #279f43;
    color: #fff;
    border-color: rgba(27,31,35,.5);
}


/* ----- Month View Calendar ----- */

#wpsc-block-calendar .wpsc-calendars {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#wpsc-block-calendar .wpsc-calendar {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
}

@media screen and (min-width: 56.875em) {
    #wpsc-block-calendar .wpsc-calendars-two-columns .wpsc-calendar {
        width: 48%;
    }
    
    #wpsc-block-calendar .wpsc-calendars-three-columns .wpsc-calendar {
        width: 32%;
    }
    
    #wpsc-block-calendar .wpsc-calendars-four-columns .wpsc-calendar {
        width: 24%;
    }
}

#wpsc-block-calendar .wpsc-calendar-heading {
    text-align: center;
    background: none;
    color: #000;
    padding: 15px 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    text-transform: uppercase;
}

#wpsc-block-calendar .wpsc-calendar-heading-month {
    text-transform: uppercase;
}

#wpsc-block-calendar .wpsc-calendar table {
    border-collapse: separate;
    border-spacing: 1px;
    border: none;
    line-height: 1.7;
    margin: 0;
    width: 100%;
    word-break: normal;
    table-layout: fixed;
    background: #fff;
    display: table;
}

#wpsc-block-calendar .wpsc-calendar tbody {
    background: #fff;
}

#wpsc-block-calendar .wpsc-calendar td {
    padding: 0;
    word-wrap: normal;
    border: none;
    background: #eee;
    vertical-align: top;
}

#wpsc-block-calendar .wpsc-calendar-weekday,
#wpsc-block-calendar .wpsc-calendar-prevnext-date,
#wpsc-block-calendar .wpsc-calendar-general-date {
    padding: 7px 0;
    font-size: 15px;
    line-height: 1.5;
}

#wpsc-block-calendar .wpsc-calendar-weekday {
    text-align: center;
    background: #666;
    color: #fff;
}

#wpsc-block-calendar .wpsc-calendar-prevnext-date {
    text-align: center;
    background: #eee;
    color: #000;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

#wpsc-block-calendar .wpsc-calendar-general-date {
    text-align: center;
    background: #ddd;
    color: #000;
}

#wpsc-block-calendar .wpsc-calendar-weekend:not(.wpsc-calendar-weekday):not(.wpsc-calendar-important-date):not(.wpsc-calendar-prevnext-date) {
    background: #bbb;
}




/* ----- Important Date Listings ----- */

#wpsc-block-calendar .wpsc-important-date-listings {
    padding-bottom: 50px;
    overflow: hidden;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-listings-heading {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-item {
    border: 1px solid #eee;
    margin-bottom: 5px;
    padding: 0 0 0 5px;
    position: relative;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-item-inner {
    background: #f7f7f7;
    padding: 15px 20px;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-title {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-date {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-note {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-top: 5px;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-note a {
    text-decoration: underline;
}

#wpsc-block-calendar .wpsc-important-date-listings .wpsc-important-date-note a:hover {
    text-decoration: none;
}


/* ----- Important Date Categories ----- */

#wpsc-block-calendar .wpsc-category-listings {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
}

#wpsc-block-calendar .wpsc-category-listings .wpsc-category-listing {
    display: inline-block;
    margin-bottom: 20px;
    width: 48%;
    clear: both;
}

#wpsc-block-calendar .wpsc-category-listings .wpsc-category-listing-color {
    width: 50px;
    float: left;
    height: 28px;
    margin-right: 10px;
}

#wpsc-block-calendar .wpsc-category-listings .wpsc-category-listing-name {
    font-size: 16px;
    line-height: 1.6;
    float: left;
}


/* ----- Important Date Tooltip ----- */

.wpsc-important-date-tooltip {
    cursor: pointer;
}

.tooltipster-school-calendar .wpsc-tooltip-loading {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.tooltipster-school-calendar .wpsc-tooltip-container {
    padding: 10px 5px;
}

.tooltipster-school-calendar .wpsc-tooltip-item {
    padding: 0 0 0 5px;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.6;
}

.tooltipster-school-calendar .wpsc-tooltip-item:last-child {
    margin-bottom: 0;
}

.tooltipster-school-calendar .wpsc-tooltip-item-inner {
    padding: 10px;
    position: relative;
}

.tooltipster-sidetip.tooltipster-borderless .wpsc-tooltip-item-inner {
    background: #333;
    color: #fff;
}

.tooltipster-sidetip.tooltipster-light .wpsc-tooltip-item-inner {
    background: #ddd;
    color: #333;
}

.tooltipster-sidetip.tooltipster-noir .wpsc-tooltip-item-inner {
    background: #eee;
    color: #333;
}

.tooltipster-sidetip.tooltipster-punk .wpsc-tooltip-item-inner {
    background: #333;
    color: #fff;
}

.tooltipster-sidetip.tooltipster-shadow .wpsc-tooltip-item-inner {
    background: #eee;
    color: #666;
}

.tooltipster-school-calendar .wpsc-tooltip-date {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
}

.tooltipster-school-calendar .wpsc-tooltip-title {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}
