/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#searchable-pro-no-more-data {
    background-color: #b4b9be;
    padding: 12px;
    color: #fff;
    border-radius: 2px;
}

.searchable-pro-warning {
    background-color: #fcf8e3;
    border-color: #faf2cc;
    color: #8a6d3b;
    padding: 12px;
    border-radius: 2px;
}

.searchable-pro-block-content {
    position: relative;
}

.searchable-loader:before,
.searchable-loader-load-more:before{
    content: " ";
    position: absolute;
    width: 32px;
    height: 50px;
    background: url("../assets/sp-loading.svg");
    background-repeat: no-repeat;
    background-position: 50%;
    speak: none;
    -webkit-font-smoothing: antialiased;
    color: #82878c;
    display: inline-block;
    margin-left: 16px;
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}
.searchable-filter-loader:before {
    content: " ";
    width: 32px;
    height: 50px;
    text-align: center;
    background: url("../assets/sp-loading.svg");
    background-repeat: no-repeat;
    background-position: 50%;
    speak: none;
    -webkit-font-smoothing: antialiased;
    color: #82878c;
    display: inline-block;
    margin-left: 16px;
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}

.sp-df-loading:before {
    content: " ";
    width: 32px;
    height: 50px;
    text-align: center;
    background: url("../assets/sp-df-loading.svg");
    background-repeat: no-repeat;
    background-position: 50%;
    speak: none;
    -webkit-font-smoothing: antialiased;
    color: #82878c;
    display: inline-block;
    margin-left: 16px;
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.select2 {
    display: inline-block;
    width: 100%;
    border-radius: 0.25rem;
}

@media screen and (max-width: 768px) {
    .select2 {
        margin-top: 16px;
    }
}

.select2-container--default .select2-selection--single {
    height: calc(2.35rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    line-height: 1.6;
    color: #495057;
    vertical-align: middle;
}
.select2-selection--single {
    margin-right: 6px;
    min-height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 30%;
    right: 5px;
    width: 26px;
}

.select2-container--default .select2-selection--single{
    margin-right: 0;
}

.searchable-pro-df-wrapper {
    position: relative;
}

.searchable-pro-df-wrapper .df-spinner {
    position: absolute;
    right: 2%;
    top: 0;
}
.sp-col .searchable-pro-form-control {
    border-radius: 2px;
}
.dynamic-field-container .searchable-pro-form-control {
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    width: 100%;
    min-height: 50px;
}
.download-results {
    cursor: pointer;
    margin-bottom: 8px;
    margin-top: 8px;
}

.sp-table th {
    line-height: 35px;
}

.sp-table .sp-sort-arrows {
    position: relative;
    height: 30px;
    width: 20px;
    margin-left: 20px;
    display: inline-block;
    margin-bottom: -4px;
}

.sp-table .sp-sort-arrow-up {
    background-image: url("../assets/sp-sort-arrow-up-default.svg");
    height: 20px;
    width: 20px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
}
.sp-table .sp-sort-arrow-down {
    background-image: url("../assets/sp-sort-arrow-down-default.svg");
    height: 20px;
    width: 20px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
}

.sp-table th[role=columnheader]:not(.no-sort) {
    cursor: pointer;
}

.sp-table th[aria-sort=ascending]:not(.no-sort) .sp-sort-arrow-up{
    background-image: url("../assets/sp-sort-arrow-up-active.svg");
}

.sp-table th[aria-sort=descending]:not(.no-sort) .sp-sort-arrow-down{
    background-image: url("../assets/sp-sort-arrow-down-active.svg");
}

.sp-element-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.sp-col {
    padding: 8px;
}
.sp-col-12{
    width: 100%;
}
.sp-col-1{
    width: 8.3%;
}
.sp-col-2{
    width: 16.6%;
}
.sp-col-3{
    width: 25%;
}
.sp-col-4{
    width: 33.3%;
}
.sp-col-5{
    width: 41.6%;
}
.sp-col-6{
    width: 50%;
}
.sp-col-7{
    width: 58.3%;
}
.sp-col-8{
    width: 66.6%;
}
.sp-col-9{
    width: 75%;
}
.sp-col-10{
    width: 83.3%;
}
.sp-col-11{
    width: 91.6%;
}
.sp-submit-margin{
    margin: 16px 0;
}

.sp-section-header {
    font-weight: bold;
    color: #17a2b8;
    margin: 16px 0 8px;
}
.sp-dropdown {
    margin-top: 8px;
}
.sp-checkbox-label {
    margin-left: 4px;
}
@media screen and (max-width: 768px){
    .sp-col-1,
    .sp-col-2,
    .sp-col-3,
    .sp-col-4,
    .sp-col-5,
    .sp-col-6,
    .sp-col-7,
    .sp-col-8,
    .sp-col-9,
    .sp-col-10,
    .sp-col-11 {
        width: 100%;
    }
}

.datepicker-col {
    padding-left: 0;
}
.datepicker-col input {
    width: 100%;
}
.sp-red-bg {
    background-color: #f8d7da !important;
}