.form-select{
    border: solid 2px #000000;
    border-radius: 0;
    height: 2.75rem;
}

.archive-event-search-page .event-search-info {
    padding: 20px 2rem 0 2rem;
}

.bg-black-grey-image{
    background-image: url(../img/rough-white-bg.jpg);
    /* background-repeat: repeat; */
    background-size: 100%;
    position: relative;
    /* height: 46em; */
    /* background-color: #000; */
    background-position-y: 29.8em;
    
}

/*.archive-event-search-page .event-search-info:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    max-height: 26.75rem;
    margin: -2.5rem -1.9375rem -7rem -3.0625rem;
}*/

.type-selectors button{
    background-color: #fff;
    min-width: 150px;
    border: solid 2px #5C009A;
    border-radius: 25px;
    height: 40px;
    font-size: 1.125rem;
    line-height: 1.625rem;
    color: #5C009A;
    margin:0 0 1.5rem 1.5rem;
}

.type-selectors button.selected{
    cursor: default;
    background-image: linear-gradient(to right, #ae37a0 , #8004ce);
    border: none;
    color: #ffffff;
}

.type-selectors{
    width: 80%;
}

.year-selectors{
    width: 20%;
}

.select_row{
    display: flex;
    justify-content: space-between;
}

.event-search-result-item{
    background-color: #FFFFFF;
    cursor: pointer;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
    padding: 1.5rem;
    display:flex;
}

.event-search-result-item:hover{
    background-color: #DDDDDD;
}

.search-result-item-right {
    display:flex;
    flex-direction: column;
}

.search-result-item-title{
    color: #5C009A;
    font-size: 1.25rem;
}

.search-result-item-detail{
    /* font-family: FiraSansCondensed-Regular; */
    color: #000;
}

.search-result-item-left {
    padding-right: 20px;
    position:relative
}

.search-result-item-image {
    width: 280px;
    height: 170px;
    /* issue Log 142 Display width of the thumbnails in Programme Archive Page */
    object-fit: contain;
    overflow: hidden;
}

.search-result-item-category {
    display: flex;
    border: 2px solid;
    border-radius: 20px;
    color: #5C009A;
    min-width: 200px;
    width: max-content;
    justify-content: center;
    margin-top: auto;
}

.back-button{
    width: 20%;
    min-width: 120px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .event-search-result{
        margin-bottom: 20px;
    }
    .event-search-result-item{
        display: block;
    }
    .back-button{
        width:275px;
    }
    .archive-event-search-page .event-search-info{
        padding: 20px 20px 0 20px;
        /*padding-left: 20px;
        padding-right: 20px;*/
    }

    .title-row{
        margin-bottom: 10px;
    }

    .year-selectors{
        width: 80%;
    }

    .select_row{
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    
    .type-selectors button{
        
        /*240802 Michael*/
        min-width: 0px;
        flex: 1 1 auto;
        /* width: 40%;
        margin: 1.5rem 1.5rem 0 1.5rem; */
    }
    
    .type-selectors{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .event-search-result{
        margin-top: 25px;
    }
}

@media (max-width: 991px) {
    .type-selectors button{
        padding: 6px 10px 10px 10px;
        /*240802 Michael*/
        /* width: 90%; 
        margin: 1.5rem 1.5rem 0 1.5rem; */
        margin-top: 0.5rem;
    }
}

/* issue log 128 adjust the margin between selector buttons in Programme archive mobile ver to 0.3rem */
@media (max-width: 575px) {
    .type-selectors button{
        margin: 0.3rem;
    }
}

/*240802 Michael*/
@media (max-width: 415px){
    .search-result-item-left{
        padding: 0px;
    }
    .search-result-item-image{
        width: 100%;
    }
}

@media (max-width: 240px){
    .back-button{
        width:50%;
    }
}