.csf-resource-filter-wrap{
    padding: 10px;
}

.csf-resource-filter-form-select-wrap{
    padding: 0 0 20px 0;
    text-align: center;
}

.csf-resource-filter-form-select-wrap-item{
    min-width: 200px;
    margin: 5px 5px 5px 0;
    display: inline-block;
    position: relative;
}

.csf-resource-filter-form-select-wrap-item label{
    display: block;
    text-align: left;
}

.csf-resource-filter-form select{
    padding: 10px;
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    background-color: #f7f7f7;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.csf-resource-filter-form button{
    padding: 11px 20px;
    border: none;
    border-radius: 0px;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.1s;
    margin: 5px;
    border-radius: 5px;
    font-size: 18px;
}

.csf-resource-filter-form button:hover{
    background-color: #D02A2F;
    transition: 0.1s;
}

.csf-resource-filter-wrap table{
    margin: 5px;
    width: 100%;
    border-collapse: collapse; 
}

.csf-resource-filter-wrap th{
    text-align: left;
    border-bottom: 2px solid #555555;
}

.csf-resource-filter-wrap th,
.csf-resource-filter-wrap td {
    padding: 10px 20px;
}

.csf-resource-filter-wrap td h5,
.csf-resource-filter-wrap td h4{
    padding:0;
    margin: 0;
}

.csf-resource-filter-wrap td p{
    padding:0;
    margin: 0;
}

.csf-resource-filter-wrap tr:nth-child(even) {background-color: #f2f2f2;}

.csf-filter-tags span {
    font-size: 12px;
    display: inline-block;
    padding: 0;
    margin: 0 10px 0 0;
}

.csf-resource-filter-loader{
    background: url('../img/loading.gif') center no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {

    .csf-resource-filter-form-select-wrap-item{
        min-width: 100%;
        margin: 5px 0;
    }

    .csf-resource-filter-form button{
        margin: 5px 0;
    }

    .csf-resource-filter-wrap table{
        margin: 0;
    }

    .csf-resource-filter-wrap table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
      }
      
      .csf-resource-filter-wrap table tr {
        border: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
      }
      
      .csf-resource-filter-wrap table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: left;
      }
      
      .csf-resource-filter-wrap table td::before {
        content: attr(data-label);
        float: left;
        width: 100%;
        font-weight: bold;
        text-transform: uppercase;
      }
      
      .csf-resource-filter-wrap table td:last-child {
        border-bottom: 0;
      }

}