.tc-events-wrap * {
    box-sizing: border-box;
}

.tc-events-wrap {
    height: auto;
    width: 100%;
    display: inline-block;
}

.tc-display-filter-events {
    width: 100%;
    float: left;
    display: flex;  
    justify-content: space-between;  
    flex-flow: row wrap;
}


.tc-display-filter-events .tc-single-event h4 {
    margin: 10px 0;
    padding: 0;
}

.tc-low-content-width.tc-low-content-width .tc-display-filter-events .tc-3-column h4,
.tc-low-content-width.tc-low-content-width .tc-display-filter-events .tc-4-column h4 {
    font-size: 18px;
}

.tc-low-content-width.tc-low-content-width .tc-display-filter-events .tc-4-column p {
    font-size: 18px;
}

.tc-events-wrap label .tc-event-datepicker {
    background: url(../images/calendar-icon.svg) no-repeat 7px center;
    background-size: 27px;
    padding-left: 40px;
}

.tc-low-content-width.tc-events-wrap label .tc-event-datepicker {
    font-size: 13px;
}

.tc-event-date-wrap .tc-only-event-start {
    width: 100%;
}

.tc-display-filter-events .tc-single-event h5 a {
    text-decoration: none;
}

.tc-single-event {
    float: left;
    margin-bottom: 20px;
}


.tc-2-column {
    width: 48%;
}

.tc-3-column {
    width: 32%;
}

.tc-4-column {
    width: 24%;
}

.tc-event-filter {
    display: flex;  
    justify-content: space-between;  
    flex-flow: row wrap;
    margin: 25px 0;
}


.tc-event-filters-section {
    /*width: 32%;*/    
    margin-top: auto;
}

.tc-event-filters-section.tc-categories-list {
    width: 34%;
}

.tc-low-content-width .tc-event-filters-section.tc-categories-list {
    width: 28%;
}

.tc-event-filter-button.tc-event-filters-section {
    width: 21%;
}

.tc-low-content-width .tc-event-filter-button.tc-event-filters-section {
    width: 28%;
}

.tc-event-dates-range.tc-event-filters-section {
    width: 39%;
}

.tc-low-content-width .tc-event-dates-range.tc-event-filters-section {
    width: 42%;
}

.tc-event-filters-section h5 {
    margin-bottom: 15px;
}

.tc-date-wrap {
    width: 49%;
    float: left;
    margin-bottom: auto; 

}

.tc-wrap-date-around {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.tc-events-wrap label  {
    margin: 0;
    width: 97%;
    display: inherit;
}

.tc-events-wrap select, 
.tc-events-wrap label input, 
.tc-events-wrap button,
.tc-events-wrap .ms-options-wrap {
    height: 40px;
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

.tc-event-filter-button button {
    width: 100%;
}

.tc-low-content-width .tc-event-filter-button button {
    font-size: 15px;
}

body .ms-options-wrap > .ms-options ul input[type="checkbox"] {
    height: 14px;
    margin: 3px 0 0 0;
    width: auto;
}

body .ms-options-wrap > .ms-options ul li {
    margin: 0;
}

.tc-event-date-wrap {
    float: left;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.03);
    margin: 0 0 10px 0;
    padding: 8px 15px;
}

.tc-events-wrap.tc-low-content-width .tc-3-column .tc-event-date,
.tc-events-wrap.tc-low-content-width .tc-4-column .tc-event-date,
.tc-events-wrap.tc-low-content-width .tc-3-column .tc-event-location,
.tc-events-wrap.tc-low-content-width .tc-4-column .tc-event-location {
    font-size: 14px;
}

.tc-event-date {
    width: 100%;
    float: left;
}

.tc-event-date {

}

.tc-event-date-start {
    background-color: rgba(139, 219, 150, 0.3);
    padding-right: 10px;
}

.tc-end-event {
    text-align: right;
    background-color: rgba(219, 98, 98, 0.3);
    padding-left: 10px;
}

.tc-date-show {
    font-weight: bold;
}

.tc-event-date-wrap span {
    opacity: 0.9;
}

.tc-event-location {
    padding:0;
    margin: 0;
    float: left;
    width: 100%;
    background-size: 25px;
}

.tc-event-location p {
    margin-bottom: 0;
}

.tc-display-filter-events {
    min-height: 250px;
}

.tc-calendar-date-wrap span {
    float: left;
    width: 100%;
    font-size: 15px;
}

.tc-remove-spinner .tc-listing-loader {
    display: none;
}

body .ms-options-wrap > .ms-options {
    position: relative;
}

body .tc-fullwidth-date {
    width: 100%;
    text-align: left;
}


/* PAGINATION */

.tc-events-wrap .pagination ul li {
    display: inline-block;
}

.tc-events-wrap .pagination {
    width: 100%;
}



/* PRELOADER ICON */



.tc-listing-loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    margin: 100px auto 0 auto;
    border: 4px solid #Fff;
    top: 50%;
    animation: loader 2s infinite ease;
}

.tc-loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #ebebeb;
    animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(180deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }

    25% {
        height: 0%;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0%;
    }
}


@media only screen and (max-width: 780px) {

    .tc-single-event.tc-4-column {
        width: 32%;
    }
}


@media only screen and (max-width: 680px) {

    .tc-event-filter .tc-event-filters-section {
        width: 100%;
        margin: 5px 0;
    }

    .tc-single-event.tc-3-column,
    .tc-single-event.tc-4-column {
        width: 49%;
    }

}

@media only screen and (max-width: 500px) {


    .tc-single-event.tc-2-column,
    .tc-single-event.tc-3-column,
    .tc-single-event.tc-4-column {
        width: 100%;
    }

}