:root {
    /* var(--color-primary): #3d9970; */
    --green: #47aa7d;
    --green-hover: #267753;
}

.btn-success {
    color: #fff;
    background-color: var(--green);
    border-color: var(--green);
}

.btn-success:hover {
    color: #fff;
    background-color: var(--green-hover);
    border-color: var(--green-hover);
}

.navbar-dark {
    border-color: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* .input-group.date {
    flex-wrap: nowrap !important;
} */

.input-group.date {
    position: relative;
}

.input-group.date .input-group-append {
    max-height: 38px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
    /* border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important; */
    border-radius: 0px;
}

.input-group.date .is-invalid~.input-group-append {
    background-color: #ffeaea !important;
    border-color: #dc3545 !important;
    color:#dc3545;
    transition: all 0.3s ease-in-out;
}

.input-group.date .is-invalid~.input-group-append:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color:#ffffff
}



.brand-image {
    opacity: 1;
    background-color: #fff;
    padding: 1px;
    height: 40px;
}

i.fa-spinner {
    animation: spinner 1s linear infinite paused;
    -webkit-animation: spinner 1s linear infinite;
  }
  
@keyframes spinner {
    to {
        transform: rotate(1turn);
        -webkit-transform: rotate(1turn);
        -moz-transform: rotate(1turn);
        -ms-transform: rotate(1turn);
        -o-transform: rotate(1turn);
    }
}


.horizontal-scroll {
    overflow-x: scroll;
} 

/* Admin table styles */

table#result_list {
    overflow-x: scroll;
}

table#result_list td, table#result_list th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Select 2 fix styles */

.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.select2-container .custom-select {
    background: none !important;
}

.select2-container--disabled .select2-selection {
    background-color: #eee !important;
}

.select2-selection--single .select2-selection__rendered {
    padding-top:2px;
    min-width: 100% !important;
}

.select2-selection__clear {
    margin-right: 2px !important;
    margin-left: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    /* margin-top:2px; */
    text-align:right;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    right: 4px !important;
}

/* .select2-container--default .select2-selection--single .select2-selection__arrow b {
    top:70% !important; 
}*/
.jazzmin-login-page .login-logo img {
    width:auto;
    max-width:250px;
}

.select2-container-focus {
    height: auto !important;
}

.select2-selection--multiple {
    height:auto !important;
    min-height:38px !important;
    padding-bottom:0px !important;
    padding-top:0px !important;
    padding:0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin:5px 0px 0px 5px !important;
    color:#4c4c4c;
    padding-right: 26px !important;
    padding-left: 8px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    left: auto !important;
    right: 0;
    border-left: 1px solid #aaa !important;
    border-right: none !important;
    padding-left: 5px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.select2-container--default .select2-selection--multiple[aria-disabled=true] .select2-selection__choice__remove {
    display: none !important;
}
.select2-container--default .select2-selection--multiple[aria-disabled=true] .select2-selection__choice {
    margin:5px 5px 0px 5px !important;
    color:#4c4c4c;
    padding-right: 8px !important;
    padding-left: 8px !important;
}

/* Styles for input with attr type=radio and attr disabled=disabled */

.custom-control-input:disabled~.custom-control-label, .custom-control-input[disabled]~.custom-control-label {
    color: #a2aab3 !important;
}

.custom-control.custom-radio {
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.custom-radio .custom-control-label {
    width: 100%;
}
.custom-control.custom-radio:hover .custom-control-input:not(:checked)~.custom-control-label::before {
    border: 2px solid var(--primary);
    cursor: pointer;
}
.custom-control.custom-radio:hover > .custom-control-input:not(:checked)~.custom-control-label {
    color: var(--primary);
    cursor: pointer;
}

.custom-control.custom-radio:hover {
    background: #f4f4f4 !important;
}



@media screen and (max-width: 768px) {
    #changelist-search .form-group:not(#search_group) {
        min-width: 250px;
    }
    .change-list-actions .actions > label:first-child {
        min-width: 100%;
    }

    .change-list-actions .actions button[type=submit] {
        margin-left: 0px !important;
    }
}

@media screen and (min-width: 769px) {
    #changelist-search .form-group:not(#search_group) {
        min-width: 300px;
    }

    .change-list-actions .actions > label:first-child {
        min-width: 300px;
    }
}

#changelist-search .form-group input {
    width: 100%;
}


.form-group.field-password1 input, .form-group.field-password2 input {
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}