@font-face {
    font-family: poppinsRegular;
    src: url(fonts/Poppins-Regular.ttf);
}
@font-face {
    font-family: poppinsSemiBold;
    src: url(fonts/Poppins-SemiBold.ttf);
}

:root {
    --normal-font: 12px;
    --normal-medium-font: 14px;
    --medium-font: 24px;
    --big-font: 38px;
    --bigger-font: 60px;
    --primary-cdsu: #002fa7;
    --lightest-cdsu: #fff;
    --darkest-cdsu: #080f10;
}

body.template-sc {
    color: var(--primary-cdsu);
    font-size: var(--normal-font);
    font-family: poppinsRegular;
}

.template-sc h1 {
    font-size: var(--big-font);
    text-transform: uppercase;
    line-height: 0.9;
    color: var(--primary-cdsu);
    font-family: poppinsRegular;
    font-size: 38px;
    font-weight: 500;
}
.template-sc h2 {
    margin-bottom: 0;
    font-size: var(--medium-font);
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--primary-cdsu);
    font-family: poppinsRegular;
    font-size: 24px;
    font-weight: 500;
}
.template-sc h3 {
    margin-bottom: 0;
    font-family: poppinsSemiBold;
    font-size: var(--normal-font);
    color: var(--primary-cdsu);
    line-height: 1.2;
}
.template-sc h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: var(--normal-font);
    text-transform: uppercase;
    color: var(--primary-cdsu);
    line-height: 1.2;
}

.template-sc a {
    text-decoration: none;
    color: var(--primary-cdsu);
}
.template-sc .season {
    display: block;
    text-align: right;
    font-size: var(--bigger-font);
    line-height: 0.8;
    color: var(--primary-cdsu);
}


/* masonry */
.template-sc .grid-item { 
    /*position: relative !important;
    left: auto !important;*/
    width: calc(100% - 6.4%);
}

@media (min-width: 768px) {
    .template-sc .grid-item { 
        width: calc(25% - 30px); 
    }
}

@media (min-width: 1200px) {
    .template-sc .grid-item { 
        width: calc(20% - 30px); 
    }
}

/* custom cards */
.template-sc .custom-card {
    position: relative;
    border-top: 1px solid var(--primary-cdsu);
}
.template-sc .custom-card .theme {
    float: right;
    font-size: var(--normal-medium-font);
    text-transform: uppercase;
}
.template-sc .custom-card .start-date {
    margin-top: 4px;
}
.template-sc .custom-card .start-date, .custom-card .end-date {
    position: relative;
    display: block;
    font-size: 38px;
    line-height: 0.8;
    text-transform: uppercase;
    letter-spacing: -3px;
}
.template-sc .custom-card .start-date span, .custom-card .end-date span {
    position: relative;
    top: -17px;
    left: 5px;
    margin-top: -20px;
    font-size: var(--normal-medium-font);
    letter-spacing: 0;
}
.template-sc .custom-card .date-container {
    position: relative;
}
.template-sc .custom-card-header {
    padding-top: 20px;
    padding-bottom: 40px;
    color: var(--primary-cdsu);
    font-family: poppinsSemiBold;
}
.template-sc .custom-card-header span {
    font-family: poppinsRegular;
}
.template-sc .custom-card-body p {
    font-size: 12px;
    font-family: poppinsRegular;
    line-height: 1.5;
    color: var(--primary-cdsu);
}
.template-sc .footer-container {
    border-top: 1px solid var(--primary-cdsu);
}
.template-sc .custom-card-footer {
    margin-top: 20px;
}
.template-sc .custom-card-footer table {
    margin-bottom: 30px;
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
}
.template-sc .custom-card-footer table td {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    border: 0;
    color: var(--primary-cdsu);
}
.template-sc .custom-card-footer table .contact-entry {
    display: block;
}
.template-sc .custom-card-footer table tr td:first-child {
    vertical-align: top;
    font-family: poppinsSemibold;
    text-align: left;
}
.template-sc .custom-card-footer .entry {
    text-align: right;
}
.template-sc .custom-card-footer img {
    margin-bottom: 20px;
}
.template-sc .no-date-event {
    margin-top: 34px;
    text-align: center;
}
.template-sc .past-event {
    opacity: 0.3;
    filter: grayscale(100%);
}
.template-sc .season-pict {
    object-fit: cover;
    width: 100%;
    max-height: 400px;
}



/* footer */
.template-sc .footer-container p,
.template-sc .footer-container a {
    font-size: 12px;
    line-height: 1.2;
    color: var(--primary-cdsu);
}
.template-sc .back-button {
    float: right;
}
.template-sc .back-button svg {
    margin-top: -20px;
    transition: all 0.3s ease;
}
.template-sc .back-button:hover svg {
    transform: translateX(10px);
}
.template-sc .back-button-text span {
    display: block;
    line-height: 1;
}
.template-sc .back-button-text {
    display: inline-block;
    margin-bottom: 0;
    font-size: var(--medium-font);
    text-transform: uppercase;
    text-align: left;
    line-height: 0.8;
}

/* custom select */
/* The container must be positioned relative: */
.template-sc .custom-select {
    position: relative;
    font-family: Arial;
}

.template-sc .custom-select select {
    display: none; /*hide original SELECT element: */
}

.template-sc .select-selected {
    background-color: transparent;
    font-size: var(--normal-medium-font);
    color: var(--primary-cdsu);
    padding-left: 0;
    border-bottom: 1px solid var(--primary-cdsu);
    text-transform: uppercase;
    background-color: var(--lightest-cdsu);
    color: var(--primary-cdsu);
}

/* Style the arrow inside the select element: */
.template-sc .select-selected:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--primary-cdsu) transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.template-sc .select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--primary-cdsu) transparent;
    top: 12px;
}

/* style the items (options), including the selected item: */
.template-sc .select-items div,.select-selected {
    color: var(--primary-cdsu);
    padding: 8px 16px;
    padding-left: 0;
    border: 1px solid transparent;
    border-color: transparent transparent var(--primary-cdsu) transparent;
    cursor: pointer;
}

/* Style items (options): */
.template-sc .select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.template-sc .select-hide {
    display: none;
}

.template-sc .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}