body {
    font-family: "Roboto",'Courier New', Courier, monospace;
    background-color: white;
}
.searchForm{
    margin: 0 auto;
    width: 80%;
}

a {
    text-decoration: none;
}

hr {
    opacity: 20%;
}

button, a{
    cursor: pointer;
}

/* HEADER */

header {
    width: 100%;
    min-height: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    padding: 2rem 0;
}

.title-container {
    display: flex;
    align-items: center;
}

.title-container img{
    height: 2.5rem;
    margin-right: 1rem;
}

h1 {
    text-align: center;
    width: fill-available;
    width: -webkit-fill-available;
    font-size: 2rem;
}

.header-container {
    background-color: rgb(241,240,236);
    position: relative;
}

.back-container {
    position: absolute;
    left: 15px;
    bottom: 4px;
    text-decoration: none;
    color: #840012;
}

.image-container {
    height: 100%;
    width: 20%;
    min-width: 200px;
}


h3 {
    text-align: center;
    font-size: 1.5em;
    color: black;
}

.eventlistcontainer > hr:first {
    display: hidden;
}

.hidden {
    display: none;
}

.searchbar-container {
    margin: 0 auto;
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.searchbar-container form {
    display: flex;
    align-items: center;
}

.searchbar-container form.searchForm{
    position: relative;
    margin: auto 0;
    height: 4vh;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbar-container form.dateSearchForm {
    margin-left: 1rem;
}

.searchbar-container input {
    border: none;
    height: 2rem;
    max-height: 2rem;
    margin-right:0;
    padding-left: 0.5rem;
    border: 1px solid rgb(150, 150, 150);
}




.searchbar-container button, .searchbar-container a {
    background-color: #840012;
    text-decoration: none;
    border: 1px solid #840012;
    font-weight: bold;
    color: #f0f0f0f0;
    transition: all 0.3s;
    height: 2rem;
    margin-left: 1vw;
    padding: 0 1rem;
    border-radius: 50px;
}

.searchbar-container a {
    height: 2rem;
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.searchbar-container button:hover, .searchbar-container button:active,
.searchbar-container a:hover, .searchbar-container a:active,
.category-container button:hover{
    background-color: white;
    color: #840012;
    border: 1px solid #840012;
}

.category-container {
    margin: 0 auto;
    width: 100%;
    height: 4rem;
    z-index: 2; 
}

.category-container button {
background-color: #840012;
text-decoration: none;
border: 1px solid #840012;
font-weight: bold;
color: white;
transition: all 0.3s;
height: 1rem;
margin-left: 4px;
padding: 0 1rem;
border-radius: 50px;
}

.category-container .active {
    background-color: white;
    color: #840012;
    border-color: #840012;
}

/*DATEPICKER*/
.flatpickr-monthDropdown-months{
    appearance: menulist-textfield !important;
    -webkit-appearance: menulist-textfield !important;
}

/* MAIN */
main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: 720px;
}

main a {
    text-decoration: none;
    color: #1e282c;
}
/*LIST*/
.event_list_container {
    position: relative;
    margin-bottom: 5rem;
}

.nav_buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
    margin: 0 auto;
}

.nav_buttons button {
    color: #840012;
    background-color: transparent;
    font-weight: bold;
    padding: 0.5rem;
    font-size: 1em;
    cursor: pointer;
    transition:ease-in all 0.2;
}

.nav_buttons button:hover {
    text-decoration: underline;
}



.nav_buttons button:disabled {
    color: rgb(205, 205, 205);
    cursor: not-allowed;
}

/*LIST ELEMENT */
.event_container {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    cursor: pointer;
    min-height: 12rem;
    height: 15rem;
    background-color: rgb(241,240,236);
}

/* DATE */
.date_container {
    height: 100%;
    width: 12rem;
    background-color: #840012;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.date_container > * {
    font-weight: bold;
    color: white;
}

.date_number {
    font-size: 3.5rem;
}

.date_month, .date_day {
    font-size: 2rem;
}

/*IMAGE*/
.eventimage_container {
    width: 240px;
    background-color: #F9F8F4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.eventimage_container img {
    width: 240px;
    height: auto;
    object-fit: contain;
    color: white;
}

/*TEXT CONTAINER*/
.event-text-container {
    width: 300px;
    color: rgb(51,51,51);
    margin:0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.event-time-container {
    text-align: left;
    font-size: 1.2em;
    display: flex;
}

.event-title, .event-subtitle {
    text-align: left;
}

.event-title {
    font-size: 1.5em;
    margin-bottom: 4px;
}
.event-subtitle {
    font-size: 1.2em;
}

.teaser-container p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* to specify the number of lines you want the text to run through... */
    -webkit-line-clamp: 2;
    /* hide the overflowing text, i.e, texts that did not fit in to the box */
    overflow: hidden;
}

.event_ticket_container {
    display: none;
}

.buyticket_container {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    right: 0;
}

.buyticket_button {
    width: 80px;
    color: rgb(226, 225, 215);;
    background-color: #840012;;
    border: 1px solid #840012;;
    font-weight: bold;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    transition: all 0.3s;
    width: 100%;
    border-radius: 50px;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.buyticket_button:hover, .buyticket_button:active {
    background-color: white;
    color: #840012;;
}


/*FOOTER*/
.footer-container {
    background-color: rgb(241,240,236);
    width: 100%;
}

footer {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgb(241,240,236);
    height: 12rem;
    margin: 0 auto;
    width: 100%;
}

footer div {
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 33%;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.footer_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

.legal_notice {
    color: black;
    text-decoration: none;
}

.fixed-bottom  {
    position: absolute;
    bottom: 0;
}

.footer-logo-ztix {
    height: 3rem;
}



