.s-popup {
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    font-size: 1rem;
}

.s-popup-modal {
    width: 204px;
}

.s-popup .popover-header {
    border-radius: 5px 5px 0 0;
}

.s-list-item, .s-list-item a{
    padding: 0.25rem 0.5rem;
}

.s-list-item a{
    color: #202020;
}

.s-list-item a:hover,
.s-list-item .nav-pills .nav-link.active, .s-list-item .nav-pills .show > .nav-link{
    background-color: var(--primary);
    color: #fff !important;
}

.input-group-append .s-btn-primary{
    padding: 6px 12px;
}

/* Sizes */
.s-popup-lg {
    min-width: 480px;
}

.s-popup-auto {
    max-width:none;
}

.s-popup-md {
    min-width: 350px;
}

.s-popup-sm {
    max-width: 250px;
    font-size: 80%;
}

.s-popup .close {
    line-height: 20px;
    outline: none;
}

.s-popup-default > .popover-header {
    color: #333;
    background-color: #f7f7f7;
}

.s-popup-primary > .popover-header {
    color: #004085;
    background-color: #cce5ff;
    border-bottom: 1px solid #b8daff;
}

.s-popup-success > .popover-header {
    color: #3c763d;
    background-color: #dff0d8;
    border-bottom: 1px solid #d6e9c6;
}

.s-popup-info > .popover-header {
    color: #0c5460;
    background-color: #d1ecf1;
    border-bottom: 1px solid #bee5eb;
}

.s-popup-warning > .popover-header {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-bottom: 1px solid #faebcc;
}

.s-popup-danger > .popover-header {
    color: #a94442;
    background-color: #f2dede;
    border-bottom: 1px solid #ebccd1;
}

.popover-footer {
    padding: 4px;
    background-color: #fbfbfb;
    text-align: right;
    border-top: 1px solid #ebebeb;
    border-radius: 0 0 5px 5px;
}

.popover-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 4px;
}

.popover-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.popover-footer .btn-block + .btn-block {
    margin-left: 0;
}

.s-popup.has-footer.top > .arrow:after, .has-footer.s-popup.top > .arrow:after {
    border-top-color: #fbfbfb;
}

.s-popup.has-footer.left-bottom > .arrow:after {
    border-top-color: transparent;
    border-left-color: #fbfbfb;
}

.s-popup.has-footer.right-bottom > .arrow:after {
    border-top-color: transparent;
    border-right-color: #fbfbfb;
}
