﻿button.btn, a.btn{
    border-radius: 0;
}

#sidenav{
    margin-bottom: 20px;
}

.checkbox-filter{
    margin-bottom: 20px;
}

.form-check-input{
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    height: 15px;
    width: 15px;
    border: 1px solid black;
    box-sizing: border-box;
}

.form-check-input:hover{
    background-color: #CFB991;
    cursor: pointer;
}

.form-check-input:checked{
    border: 1px solid #8f6f41;
    background-color: #8f6f41;
}

.form-check-input:checked:after{
    content: '\2713';
    display: block;
    text-align: center;
    position: absolute;
    top: -3px;
    left: 3px;
    font-size: 75%;
    font-weight: bolder;
    color: white;
}

.form-check-label{
    letter-spacing: .1rem;
    position: relative;
    top: 0;
    left: 5px;
    cursor: pointer;
}

.form-check-label:hover{
    color: #8f6f41;
}

.search-heading{
    font-family: "United Sans",Impact,"Arial Black","sans serif";
    font-weight: 700;
    font-size: 1.2rem;
    color: #727272;
    text-transform: uppercase;
    margin-top: 2px;
}

#showFilterBtn, #hideFilterBtn, #filter-controls{
    display: none;
}

button#update-filter-btn{
    border: 2px solid #8e6f3e;
    background-color: #CFB991;
    color: black;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .1rem;
    font-family: "United Sans",Impact,"Arial Black","sans serif";
    outline: none;
}

button#update-filter-btn:hover, button#update-filter-btn:focus{
    background-color: white;
    outline: none;
    box-shadow:none;
}

button.btn-link{
    text-transform: uppercase;
    color: black;
    outline: none;
}
button.btn-link:hover, button.btn-link:focus{
    color: black;
    outline: none;
    box-shadow:none;
}


.info-area{
    margin-top: 20px;
    color: grey;
}
.info-area>a{
    color: #8e6f3e;
}

.row>i{
    display: block;
    width: 100%;
    text-align: center;
}

.event-deck-title{
    font-family: "United Sans",Impact,"Arial Black","sans serif";
    font-weight: 700;
    font-size: 1.875rem;
    color: #727272;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

/* featured event card */
.featured_cards{
    margin-bottom: 20px;
}

.featured-card{
    border-radius: 0;
    transition: all .3s;
    border: none;
}

.featured-card:hover{
    box-shadow: 0 .5em 1em -0.125em rgb(0 0 0 / 60%), 0 0 0 1px rgb(0 0 0 / 5%);
    transition: all .3s;
}


.featured-card .card-img-top{
    border-radius: 0;
    height: 150px;
    object-fit: cover;
}

.featured-card>.card-corner-badge{
    position: absolute;
    background-color: #CFB991;
    color: black;
    font-weight: bold;
    left: 10px;
    top: 10px;
    padding: 0 10px;
}

.featured-card>.card-corner-icon{
    position: absolute;
    background-color: #CFB991;
    color: black;
    right: 10px;
    top: 10px;
    padding: 0 5px;
}

.featured-card>.card-body{
    background-image: url(https://purdue.edu/purdue/images/templateElements/2015/stripes-tile.png);
    background-repeat: repeat;
    color: white;
}

.featured-card .card-title{
    color: #CFB991;
    height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-card .card-text>span{
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.featured-card .card-text>span>i{
    margin-right: 5px;
}

.featured-card .card-body a{
    color: #CFB991;
    
}

a.featured-card-button{
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    text-transform: uppercase;
    font-weight: 800;
}

/* one event card */

.all-events{
    margin-top: 20px;
}

.one-event{
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
}

.one-event>.row{
    padding: 15px 15px 15px 0;
    background-color: #ededed;
    transition: all .3s;
}

.one-event>.row:hover{
    box-shadow: 0 .3em .3em -0.125em rgb(0 0 0 / 30%), 0 0 0 1px rgb(0 0 0 / 5%);
    transition: all .3s;
}

.event-date-time{
    padding: 0;
}

.event-day, .event-date{
    text-align: center;
    color: black;
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    
}

.event-day{
    height: 50px;
    line-height: 40px;
    font-size: 2rem;
    font-weight: 800;
    padding-bottom: 10px;
}

.event-date{
    height: 30px;
    line-height: 30px;
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: .1rem;
}


.long-event-title{
    height: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.long-event-title>a{
    height: 50px;
    line-height: 30px;
    color: #8f6f41;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.info-banners{
    height: 30px;
    line-height: 30px;
}

.info-banners>div{
    display: inline-block;
    margin-right: 20px;
    color: black;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.info-banners>div{
    min-width: 90px;
}

.info-banners i{
    color:#808080;
    padding-right: 3px;
}

.info-banners>div>a{
    color: black;
    text-decoration: none;
}

.event-buttons{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 0;
}

.event-buttons>div{
    display: block;
    height: 30px;
    line-height: 30px;
}

.event-buttons>div>a{
    color: #808080;
    height: 30px;
    line-height: 30px;
}

span.badge-info, span.badge{
    background-color: #CFB991;
    color: black;
    border-radius: 0;
    font-size: 100%;
}

@media only screen and (max-width: 960px) {
    #sidenav{
        display: none;
    }

    .featured_cards{
        display: none;
    }

    #filter-controls{
        display: block;
        margin-bottom: 20px;
    }

    #showFilterBtn{
        display: inline-block;
    }

    .one-event>.row{
        padding: 10px 15px;
    }

    .event-date-time{
        text-align: center;
    }
    .event-day, .event-date{
        display: inline-block;
        height: 30px;
        line-height: 30px;
        font-size: 1.2rem;
        font-weight: bold;
    }
    .event-day{
        margin-right: 10px;
    }

    .long-event-title, .info-banners{
        text-align: center;
        height: 30px;
    }

    .info-banners>div.event-location{
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .event-buttons, .event-desc{
        padding-left: 0;
        padding-right: 0;
    }

    .event-buttons{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }

    #featured-events-title{
        display: none;
    }

}