.tc-events-wrap * {
    box-sizing: border-box;
}

.tc-events-wrap {
    height: auto;
    width: 100%;
    display: inline-block;
}

.tc-display-filter-events {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
}

.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-event-datepicker-white {
    background-color: #fff !important;
}

.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 {
    flex-grow: 1;
    width: 100%;
}


.tc-2-column {
    max-width: 48%;
}

.tc-3-column {
    max-width: 31%;
}

.tc-4-column {
    max-width: 22%;
}

.tc-event-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 18px 0 24px;
}

.tc-event-filter__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
}

.tc-event-filter__row--primary .tc-event-filter__field {
    flex: 1 1 0;
    min-width: 220px;
    max-width: none;
}

.tc-event-filter__row--secondary {
    justify-content: flex-start;
}

.tc-event-filter__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.tc-event-filter__field--date {
    flex: 1 1 0;
    min-width: 200px;
}

.tc-event-filter__field--button {
    flex: 0 0 200px;
    align-self: flex-end;
}

.tc-event-filter__label {
    font-size: 14px;
    font-weight: 600;
    color: #f5f5f5;
}

.tc-events-wrap select,
.tc-events-wrap input,
.tc-events-wrap button {
    height: 40px;
    margin: 0;
    padding: 0 12px;
    width: 100%;
}

.tc-events-wrap button {
    padding: 0 20px;
}

.tc-events-wrap .ms-options-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: block;
}

.tc-event-filter__field--button button {
    width: 100%;
}

.tc-low-content-width .tc-event-filter__field {
    min-width: 140px;
}

@media (max-width: 768px) {
    .tc-event-filter__row {
        gap: 16px;
    }

    .tc-event-filter__row--primary .tc-event-filter__field,
    .tc-event-filter__field--date,
    .tc-event-filter__field--button {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .tc-event-filter__field--button {
        align-self: stretch;
    }

    .tc-event-filter__field--button button {
        width: 100%;
    }
}

body .ms-options-wrap > .ms-options ul input[type="checkbox"] {
    height: 14px;
    margin: 3px 0 0 0;
    width: auto;
}

.tc-event-filter .ms-options-wrap > button {
    color: #111;
    border-color: #d8d8d8;
    background-color: #fff;
}

.tc-event-filter .ms-options-wrap > .ms-options {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.tc-event-filter .ms-options-wrap > .ms-options ul label {
    color: #111;
}

.tc-event-filter .ms-options-wrap > .ms-options ul li {
    margin: 0;
}

.tc-event-filter .ms-options-wrap > .ms-options > ul > li.optgroup {
    padding-left: 0;
}

.tc-event-filter .ms-options-wrap > .ms-options ul li .label {
    font-weight: 600;
}

.tc-event-filter .ms-options-wrap > .ms-options > ul label {
    padding-left: 20px;
}

.tc-event-filter .ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    left: 2px;
}

.tc-event-date-wrap {
    float: left;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.03);
}

.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 .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: 100%;
        max-width: 48%;
    }
}

@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%;
        max-width: unset;
    }
}
