﻿@import url("/_css/_libs/datepicker.min.css");

.qs-current {
    text-decoration: none !important;
    text-shadow: 0px 0px 7px var(--med-blue);
}

.qs-datepicker-container {
    z-index: 0 !important;
}

#Default {
    background-color: var(--bright-bg);
    color: var(--titan-blue);
    padding-bottom: 30px;
    border-radius: 7px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.events-nav {
    display: none !important;
    /*Temporarily Disabled*/
}

#CalWidget {
    margin-bottom: 12px;
}

#CalWidgetInput {
    margin-bottom: 5px;
    display: block;
    padding: 2px;
    width: calc(100% - 8px);
    position: sticky;
    visibility: hidden;
    height: 8px;
}


.qs-day {
    color: black !important;
}


.qs-datepicker-container {
    position: sticky;
    width: auto;
}

#SingleDateNav {
    position: absolute;
    top: -1px;
    left: -2px;
    right: -2px;
    bottom: -3px;
    z-index: 99;
    background-color: #FFFFFF;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0px 0px 13px 3px #777;
}

    #SingleDateNav button {
        float: right;
        border: 0;
        background: none;
        cursor: pointer;
    }

        #SingleDateNav button span {
            font-size: 40px;
            line-height: 40px;
            margin: 2px;
            font-weight: bold;
            color: var(--titan-blue);
            text-shadow: 1px 1px 3px var(--titan-orange);
        }


        #SingleDateNav button:hover span {
            color: #CC0000;
            text-shadow: 1px 1px 3px white;
        }


@media screen and (max-width:900px) {
    #CalWidget {
        display: none;
        position: relative;
        top: unset;
        right: unset;
    }

    #CalWidgetInput {
        position: static;
    }



    .qs-datepicker-container {
        position: static;
        width: calc(100% - 8px);
        margin: 10px auto;
    }
}



#events_all {
    /* Calendar */
}

/* Default Overrides */
#GlobalNavWrapper {
    background-image: url(/news/assets/images/newsroom-banner.jpg);
    background-position: bottom;
    height: calc(75vh - 20px);
}

#CollegeEvents {
    position: relative;
}


#HomeCallout {
    border-bottom: 0 !important;
}

#Default {
    position: relative;
}


#MainSidebar {
    top: 20px;
    position: sticky;
}


.user-content {
    position: relative;
}

.sidebar-content-ADMIN {
    max-width: 1200px;
    margin: 0 auto;
}

label {
    cursor: pointer;
}

.sidebar-content-ADMIN > section:not(section:last-child) {
    border-bottom: 2px solid var(--titan-orange);
}

/* Main Page Styles */

#CollegeEvents > header {
    position: relative;
    /*    height: 1px;*/
}

#CalendarLoading {
    position: absolute;
    top: 0;
    left: -10px;
    bottom: 0;
    right: 10px;
    z-index: 99;
    background-color: white;
    animation: fadein .2s;
    box-shadow: white 15px 0px 5px 5px;
    visibility: visible;
    opacity: 0.4;
    transition: visibility 0s, opacity 0.2s linear;
}

    #CalendarLoading p {
        text-align: center;
        font-weight: bold;
        font-size: 2rem;
    }

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: .4;
    }
}

@keyframes fadeout {
    from {
        opacity: .4;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

#CalendarLoading.done {
    animation: fadeout .2s;
    opacity: 0;
    visibility: hidden;
}



@media screen and (max-width:900px) {

    h1.Ou-H1 {
        display: none;
    }

    #GlobalNavWrapper {
        height: calc(100vw / 2);
    }

    h2.high-impact {
        font-size: 2.5rem;
        text-align: center;
    }

    header {
        text-align: center;
    }
}

/*Disabled Buttons*/

[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}
/*END*/

@media screen and (max-width:900px) {

    a.action-link, a.action-link:visited {
        flex-basis: unset;
    }
}


nav.events-nav {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--titan-orange);
    padding-bottom: 15px;
}

.events-nav > .action-link, .events-nav > .action-link:hover {
    width: auto;
    min-width: auto;
    padding: 10px 20px 10px 20px !important;
}

.events-nav .current-year {
    font-size: 2.5rem;
    font-family: "museo-sans-display",sans-serif;
    text-transform: uppercase;
}

/* MISC UI */

.ui-filters {
    margin-top: 10px;
}

@media screen and (max-width:900px) {

    .ui-filters {
        text-align: center;
    }
}

/* Calendar Events */
.event-holder {
    min-height: 200px;
}

article.event {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: white;
    box-shadow: var(--titan-blue) 2px 2px 7px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}



div.details {
    flex: 1;
}

div.date-icon {
    background-color: var(--titan-blue);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.date-icon p {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .date-icon p span {
        display: block;
        margin: 5px auto;
    }

.date-icon .month {
    font-size: 2rem;
    text-transform: uppercase;
}

.date-icon .day {
    font-size: 1.5rem;
}

.event:hover .date-icon {
    /*    color: black;
    background-color: var(--titan-orange);*/
}

.date-icon.alumni-events {
    background-color: darkslategray;
}

.date-icon.student-events {
    background-color: darkgreen;
}

.date-icon.community-events {
    background-color: darkmagenta;
}

.date-icon.academic-conferences {
    background-color: darkred;
}

.date-icon.career-services {
    background-color: #306;
}

.date, .location, .summary {
    display: block;
    margin: 5px auto;
    text-align: center;
}

a u {
    text-decoration: none;
}

.details p:has(a) {
}

.details a:link, .details a:visited {
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 3px auto;
    max-width: 200px;
    padding: 6px;
    background-color: var(--titan-blue);
    box-shadow: 2px 2px 4px #999;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.details a:hover {
    color: black;
    background-color: var(--titan-orange);
}


/* Article Media Query */
@media screen and (max-width:900px) {
    article.event {
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
    }

    .details a:link, .details a:visited {
        display: block;
        margin: 5px auto;
        text-align: center;
    }

    .date-icon p {
        width: 100%;
    }

    section > h2 {
        text-align: center;
    }

    nav.events-nav {
        flex-direction: column;
        gap: 0;
    }

    .events-nav > .action-link, .events-nav > .action-link:hover {
        margin: 10px auto;
        padding: 5px;
        width: calc(100% - 50px);
    }
}

/* Page Media Query */


@media screen and (max-width:600px) {
    .sidebar-box {
        margin-top: 20px;
    }

    .sidebar-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #Default {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }
}
