.nav .nav-link {
    color: #7f7f7f !important;
    border: 0;
    font-size: 12px;
    border-bottom: 3px solid transparent !important;
    position: relative;
    top: 5px;
}

.nav .nav-item:hover .nav-link:not(.dropdown-toggle) {
    border-color: #ccc !important;
    color: #4d4d4d !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #e3e3e3 !important;
}

.nav.nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
    position: relative;
    margin-top: -2px;
    padding-bottom: 4px;
    min-height: 53px;
}

.nav .nav-link.dropdown-toggle {
    color: #4d4d4d !important;
    top: 5px;
}

.nav .nav-link.dropdown-toggle:hover {
    color: #c50c09 !important;
}

.nav .nav-link.dropdown-toggle:hover::after {
    border-color: #c50c09;
}

.nav .nav-item.title {
    margin: 0 16px 0 0;
    height: 30px;
}

.title {
    position: relative;
    bottom: 5px;
}

.title a:first-child {
    color: #242424;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
}

.title div:last-child {
    font-size: 70%;
    position: relative;
    top: -7px;
    color: #4d4d4d;
}

.nav .nav-link {
    padding: 12px 0;
}

.nav .nav-item:nth-child(2) {
    margin-right: 16px;
}

.nav .nav-item:nth-child(3), .nav .nav-item:nth-child(4), .nav .nav-item:nth-child(5) {
    margin-right: 28px;
}

.nav .nav-item.active {
    pointer-events: none !important;
}

.nav .nav-item.active .nav-link {
    border-color: #5a529d !important;
    color: #4d4d4d !important;
}

.nav .dropdown-toggle::after {
    content: '';
    border: solid #4d4d4d;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    position: relative;
    top: 1px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.nav-tabs .nav-item.show .nav-link {
    background: transparent !important;
}

.nav .dropdown-menu {
    top: -39.8px !important;
    left: -14px !important;
    padding: 0;
    font-size: 14px;
    min-width: 0;
    border: 0;
    box-shadow: 0 5px 15px rgb(0 0 0 / 25%);
    border-radius: 0;
}

.nav .dropdown-menu .dropdown-item {
    padding: .5em 1em;
    line-height: 1.3;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.event-title, .place-title {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-bottom: 3px;
}

.event-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    border-bottom: 0;
}

p {
    display: inline;
  }
  
  p::after {
    content: " \A\A";
    white-space: pre;
  }
.nav .dropdown-item:hover, .nav .dropdown-item:focus, .nav .dropdown-item:active {
    background-color: #f8f9fa !important;
}

.filter_loader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100500;
}

.filter_loader .load {
    width: calc(100% + 20px);
    height: calc(100% + 10px);
    margin-left: -10px;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.6);
}


.card-spinner {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: center;
    z-index: 100501;
}

@media (min-width: 768px) {
    .nav .nav-item.title {
        height: 41px;
        margin: 0 24px 0 0;
    }

    .title a:first-child {
        color: #242424;
        font-size: 24px;
        text-transform: uppercase;
        font-weight: bold;
    }

    .title div:last-child {
        font-size: 13px;
        position: relative;
        top: -7px;
        color: #4d4d4d;
    }

    .nav .nav-link {
        font-size: 14px;
    }

    .nav .nav-item:nth-child(2) {
        margin-right: 25px;
    }
}

.place-card .card-body,
#events_container .card-body {
    padding: 10px;
}





