/* ALERT POPUP */
.alert-business-card {
    position: fixed;
    width: 90%;
    max-width: 640px;
    z-index: 100;
    background: var(--blue);
    box-shadow: none !important;
    color: #fff !important;
    opacity: 0;
    border-radius: 0;
    padding: 1.25rem 3rem;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%) translateY(150px);
    transition: all 300ms ease;
}

/* CARDS */
.small-card {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    margin: 0 0 1rem 0;
}

.small-card:hover {
    cursor: pointer;
}

.small-card[data-type="account"] {
    background-color: rgba(191, 237, 250, .3);
    border: 2px solid rgba(191, 237, 250, 1);
}

.small-card[data-type="account"]:hover {
    background-color: rgba(191, 237, 250, 1);
}

.small-card[data-type="stand"] {
    background-color: rgba(231, 222, 205, .5);
    border: 2px solid rgba(231, 222, 205, 1);
}

.small-card[data-type="stand"]:hover {
    background-color: rgba(231, 222, 205, 1);
}

.small-card[data-type="visitor"] {
    background-color: rgba(180, 232, 165, .3);
    border: 2px solid rgba(180, 232, 165, 1);
}

.small-card[data-type="visitor"]:hover {
    background-color: rgba(180, 232, 165, 1);
}


.small-card .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-card .col:first-child {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.small-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.small-card .category {
    color: var(--blue);
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.small-card .name {
    color: #333;
    font-weight: 500;
    font-size: 18px;
}

.small-card .role {
    color: #666;
    font-weight: 300;
    font-size: 14px;
}


/* FORM */
.view-contacts .form--inline {
    display: grid;
    margin: 2rem 0 0 0;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas:
        'search search filters filters filters'
        'empty empty empty apply apply';
}

.custom-tab+p+.small-card,
.view-contacts .view-content {
    margin: 2rem 0 0 0;
}

.view-contacts .form--inline .form-item {
    margin: 0;
    padding: 0;
}

.view-contacts .form--inline .form-item.form-item-type-1,
.view-contacts .form--inline .form-item.form-item-type {
    grid-area: filters;
}

.view-contacts .form--inline .form-item.form-item-type-1>div,
.view-contacts .form--inline .form-item.form-item-type>div {
    margin: 0 !important;
}


.view-contacts .form--inline .form-item.form-item-type-1 ul,
.view-contacts .form--inline .form-item.form-item-type ul {
    justify-content: flex-end;
}

.view-contacts .form--inline .form-item.form-item-type-1 ul li,
.view-contacts .form--inline .form-item.form-item-type ul li {
    width: fit-content;
    flex: none;
    margin-right: .5rem;
}

.view-contacts .form--inline .form-item.form-item-type-1 ul li:nth-child(1),
.view-contacts .form--inline .form-item.form-item-type ul li:nth-child(1) {
    order: 1;
}

.view-contacts .form--inline .form-item.form-item-type-1 ul li:nth-child(2),
.view-contacts .form--inline .form-item.form-item-type ul li:nth-child(2) {
    order: 0;
}

.view-contacts .form--inline .form-item.form-item-type-1 ul li:nth-child(3),
.view-contacts .form--inline .form-item.form-item-type ul li:nth-child(3) {
    order: 2;
}

.view-contacts .form--inline .form-item.form-item-type-1 ul li:nth-child(4),
.view-contacts .form--inline .form-item.form-item-type ul li:nth-child(4) {
    order: 3;
}

.view-contacts .form--inline .form-item.form-item-type-1 .bef-link,
.view-contacts .form--inline .form-item.form-item-type .bef-link {
    width: 100px;
    display: block;
    margin: 0;
    border-radius: 0;
    padding: .5rem;
    color: var(--darkblue);
}

.view-contacts .form--inline .form-item.form-item-type-1 .bef-link:hover,
.view-contacts .form--inline .form-item.form-item-type-1 .bef-link.bef-link--selected,
.view-contacts .form--inline .form-item.form-item-type .bef-link:hover,
.view-contacts .form--inline .form-item.form-item-type .bef-link.bef-link--selected {
    border: none !important;
    text-decoration: none;
    opacity: 1;
    box-shadow: inset 0 0 0 2px var(--darkblue);
}


.view-contacts .form--inline .form-item.form-item-search {
    grid-area: search;
}

.view-contacts .form--inline .form-item.form-item-search input {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    height: 100%;
}



.view-contacts .form--inline .form-actions {
    display: none;
    grid-area: apply;
    margin: 0;
    justify-content: flex-end;
}

.view-contacts .form--inline .form-actions .btn.btn-danger,
.view-contacts .form--inline .form-actions .btn.btn-info {
    padding: 0.5rem 1rem;
    margin: 0.8rem 0 0 .5rem !important;
    height: fit-content;
}


/* custom tab style */
.custom-tab {
    margin: .5rem 0 !important;
}

.custom-tab li {
    width: 33.33%;
    height: 3rem;
    display: flex;
    padding: 0 !important;
    margin: 0;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid #e0e0e0 !important;
}
.custom-tab li.active {
    border-bottom: 4px solid var(--blue) !important;
}

.custom-tab li a {
    width: 100%;
    height: 100%;
    color: var(--blue);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1em;
}
.custom-tab li.active a {
    color: var(--blue);
}

/* .custom-tab li:hover {
    border-bottom: 4px solid var(--darkblue) !important;
} */
.custom-tab li:hover a {
    opacity: 1 !important;
    text-decoration: none;
    /* color: var(--darkblue) !important; */
    background-color: #e0e0e0;
}
