/*
Theme Name:     UM DEI Multicultural Lounges Child theme
Theme URI:      
Description:    Divi child theme.
Author:         Boxcar Studio
Author URI:     https://boxcarstudio.com
Template:       Divi
Version:        0.3.3
*/

/* FACET */

.filters-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.filters-wrap .facetwp-facet {
    margin-right: 1em;
}

input.text, input.title, input[type=text], select {
    height: 50px;
    padding: 5px;
    font-size: 18px;
}

/* Reach mode styling */
html[data-useragent*='umkiosk'] #kioskaccessibilitybutton {
	display: block;
    position: fixed;
    bottom: 3%;
    left: 3%;
}
html[data-useragent*='umkiosk'] #reachmodesection {
	display: block;
	background-color: transparent;
	position: fixed;
	bottom: 105px;
	left: 55px;
	width: 300px;
	padding: 0;
}
html[data-useragent*='umkiosk'] #kioskaccessibilitybutton .et_pb_row {
	padding: 2%;
}
html[data-useragent*='umkiosk'] #kioskaccessibilitybutton img {
    max-width: 100px;
    padding: 18%;
    background-color: white;
	border-radius: 50%;
	cursor: pointer;
}
html.reachmode #et-boc {
    max-height: 50vh;
    margin-top: 50vh;
    overflow-y: auto;
}

/* EVENTS */

h2.event-title, .et-db #et-boc .et-l h2.event-title  {
    color: #702082;
	font-size: 2.5em;
	position: relative;
}

h2.event-title a:after {
    content: '';
    background-image: url(/wp-content/uploads/2023/12/link-arrow.svg);
    display: inline-block;
    width: 1em;
    height: 1.25em;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 0.25em;
    position: absolute;
    top: -0.1em;
}

h2.event-title a:hover:after, h2.event-title a:focus:after {
	display: none;
}


p.event-date {
    text-transform: uppercase;
}

div#events-wrapper {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 3em;
}

.event-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

#events-list-wrapper article.event {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-gap: 4em;
    border-bottom: 10px dotted #FFCB05;
    padding-bottom: 3em;
    margin-bottom: 3em;
}

.event-image-large img {
    height: 100%;
    object-fit: cover;
}

.timerpopup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 20;
    background: white;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 48px;
    line-height: 65px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -50%);
}
.timerpopup .et_pb_button {
	margin-top: 40px;
}