﻿/* ------------------------------------------------------------------------------
*
*  # Select2 selects
*
*  Styles for select2.js - custom select plugin
*
*  Version: 1.2
*  Latest update: Nov 20, 2015
*
* ---------------------------------------------------------------------------- */
.select2-container {
    outline: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}

.select2-selection--single {
    cursor: pointer;
    outline: 0;
    display: block;
    height: 36px;
    padding: 7px 0;
    line-height: 1.5384616;
    position: relative;
    border: 1px solid transparent;
    white-space: nowrap;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .select2-selection--single:hover,
    .select2-selection--single:focus,
    .select2-container--open .select2-selection--single {
        -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.01) inset;
        box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.01) inset;
    }

    .select2-selection--single:not([class*=bg-]) {
        background-color: #fff;
    }

        .select2-selection--single:not([class*=bg-]):not([class*=border-]) {
            border-color: #ddd;
        }

    .select2-selection--single[class*=bg-]:hover,
    .select2-selection--single[class*=bg-]:focus,
    .select2-container--open .select2-selection--single[class*=bg-] {
        -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.025) inset;
        box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.025) inset;
    }

    .select2-selection--single[class*=bg-] .select2-selection__placeholder {
        color: #fff;
    }

.select2-container--disabled .select2-selection--single[class*=bg-] .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 12px;
    padding-right: 31px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #555;
}

    .select2-selection--single .select2-selection__rendered > i {
        margin-right: 10px;
    }

.select2-selection--single .select2-selection__clear {
    position: relative;
    cursor: pointer;
    float: right;
    font-size: 0;
    line-height: 1;
    margin-top: 2px;
    opacity: 0.75;
    filter: alpha(opacity=75);
}

    .select2-selection--single .select2-selection__clear:hover {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    .select2-selection--single .select2-selection__clear:after {
        /*content: '\ed6b';*/
        content: '\f00d';
        /*font-family: 'icomoon';*/
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        display: inline-block;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

.select2-selection--single .select2-selection__placeholder {
    color: #999999;
}

.select2-selection--single .select2-selection__arrow:after {
    content: '\f107';
    font: normal normal normal 14px/1 FontAwesome;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -0.5rem;
    font-size: 1rem;
    line-height: 1;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Font Awesome 5 Pro";
}

.select2-container--open .select2-selection--single .select2-selection__arrow:after {
    content: '\f078';
    font-family: "Font Awesome 5 Pro";
}

.select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--disabled .select2-selection--single {
    cursor: not-allowed;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .select2-container--disabled .select2-selection--single:not([class*=bg-]) {
        background-color: #fafafa;
        color: #999999;
    }

    .select2-container--disabled .select2-selection--single[class*=bg-] {
        -webkit-box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.25) inset;
        box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.25) inset;
    }

    .select2-container--disabled .select2-selection--single .select2-selection__clear {
        display: none;
    }

.select2-selection--multiple {
    display: block;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: text;
    outline: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .select2-selection--multiple:not([class*=bg-]) {
        background-color: #fff;
    }

        .select2-selection--multiple:not([class*=bg-]):not([class*=border-]) {
            border-color: #ddd;
        }

    .select2-selection--multiple .select2-selection__rendered {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        list-style: none;
        margin: 0;
        padding: 0 3px 3px 3px;
        width: 100%;
    }

    .select2-selection--multiple .select2-selection__placeholder {
        color: #999999;
    }

.select2-container--disabled .select2-selection--multiple:not([class*=bg-]) {
    background-color: #fafafa;
    color: #999999;
}

.select2-container--disabled .select2-selection--multiple[class*=bg-] {
    -webkit-box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.25) inset;
    box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.25) inset;
}

    .select2-container--disabled .select2-selection--multiple[class*=bg-] .select2-selection__choice {
        opacity: 0.9;
        filter: alpha(opacity=90);
    }

.select2-container--disabled .select2-selection--multiple,
.select2-container--disabled .select2-selection--multiple .select2-selection__choice,
.select2-container--disabled .select2-selection--multiple .select2-search__field {
    cursor: not-allowed;
}

.select2-selection--multiple .select2-selection__choice {
    background-color: #024ca5;
    color: #fff;
    border-radius: 3px;
    cursor: default;
    float: left;
    margin-right: 3px;
    margin-top: 3px;
    padding: 7px 12px !important;
}

    .select2-selection--multiple .select2-selection__choice > i {
        margin-right: 10px;
    }

    .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
        cursor: pointer;
        float: right;
        font-size: 14px;
        margin-top: 3px;
        line-height: 1;
        margin-left: 7px;
        opacity: 0.75;
        filter: alpha(opacity=75);
    }

        .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
            opacity: 1;
            filter: alpha(opacity=100);
        }

.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

    .select2-container--disabled .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
        display: none;
    }

.select2-selection--multiple .select2-search--inline {
    float: left;
}

    .select2-selection--multiple .select2-search--inline .select2-search__field {
        font-size: 100%;
        margin-top: 3px;
        padding: 7px 0;
        background-color: transparent;
        border: 0;
        outline: 0;
        margin-left: 5px;
        -webkit-appearance: textfield;
    }

        .select2-selection--multiple .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

.select2-dropdown {
    background-color: #fff;
    color: #333333;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 9999;
}

.select2-results {
    display: block;
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.select2-results > .select2-results__options {
    padding-bottom: 5px;
    max-height: 250px;
    overflow-y: auto;
}

.select2-search--hide + .select2-results > .select2-results__options {
    padding-top: 5px;
}

.select2-results:first-child > .select2-results__options {
    padding-top: 5px;
}

.select2-results__option {
    padding: 7px 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .select2-results__option + .select2-results__option {
        margin-top: 1px;
    }

    .select2-results__option i {
        margin-right: 10px;
    }

        .select2-results__option i.icon-undefined {
            display: none;
        }

    .select2-results__option[role=group] {
        padding: 0;
    }

    .select2-results__option.select2-results__option--highlighted {
        /*background-color: #f5f5f5;*/
        background-color: #0d6cc3 !important;
        color: #fff !important;
    }

    .select2-results__option[aria-disabled=true] {
        /*color: #999999;
        cursor: not-allowed;*/
        background-color: #0d6cc3 !important;
        color: #fff !important;
    }

.select2-dropdown[class*=bg-] .select2-results__option[aria-disabled=true] {
    color: rgba(255, 255, 255, 0.6);
}

.select2-container .select2-results__option.select2-results__option--highlighted:not(.select2-results__option--selected),
.select2-results__option[aria-selected=true] {
    /*background-color: #c9c9c9;
    color: #000;*/
    background-color: #0d6cc3 !important;
    color: #fff !important;
}

.select2-results__options--nested > .select2-results__option {
    padding-left: 24px;
    padding-right: 24px;
}

.select2-results__group {
    display: block;
    padding: 7px 12px;
    font-size: 11px;
    line-height: 1.82;
    text-transform: uppercase;
    cursor: default;
    margin-top: 5px;
    margin-bottom: 5px;
}

.select2-results__option:first-child > .select2-results__group {
    margin-top: 0;
}

.select2-results__message {
    color: #999999;
    cursor: default;
}

.select2-dropdown[class*=bg-] .select2-results__message {
    color: rgba(255, 255, 255, 0.75);
}

.select2-results__option.loading-results {
    padding-top: 0;
}

    .select2-results__option.loading-results + .select2-results__option {
        margin-top: 5px;
    }

.select2-results__option--load-more {
    text-align: center;
    margin-top: 5px;
    cursor: default;
}

.select2-container--open .select2-dropdown {
    left: 0;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

    .select2-container--open .select2-dropdown--above[class*=bg-] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

.select2-container--open.select2-container--above .select2-selection--single,
.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

    .select2-container--open .select2-dropdown--below[class*=bg-] {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.select2-search--dropdown {
    display: block;
    position: relative;
    padding: 12px;
}

    .select2-search--dropdown:after {
        content: '\f002';
        font: normal normal normal 14px/1 FontAwesome;
        position: absolute;
        top: 50%;
        left: 24px;
        color: inherit;
        display: block;
        font-size: 12px;
        margin-top: -6px;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        opacity: 0.6;
        filter: alpha(opacity=60);
        font-family: "Font Awesome 5 Pro";
    }

    .select2-search--dropdown + .select2-results .select2-results__message:first-child {
        padding-top: 0;
    }

.select2-container .select2-search--dropdown .select2-search__field {
    height: 36px;
    padding: 7px 12px;
    padding-left: 36px !important;
    border-radius: 3px;
    border: 1px solid #ddd;
    outline: 0;
    width: 100%;
}

        .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

    .select2-search--dropdown.select2-search--hide {
        display: none;
    }

.select-lg.select2-selection--single {
    height: 40px;
    padding: 9px 0;
    font-size: 14px;
}

    .select-lg.select2-selection--single .select2-selection__rendered {
        padding-left: 15px;
        padding-right: 34px;
    }

    .select-lg.select2-selection--single .select2-selection__arrow:after {
        right: 15px;
    }

.select-lg.select2-selection--multiple .select2-selection__choice {
    padding: 9px 15px;
    font-size: 14px;
}

.select-lg.select2-selection--multiple .select2-search--inline .select2-search__field {
    padding: 9px 0;
    font-size: 14px;
}

.select-sm.select2-selection--single {
    height: 34px;
    padding: 6px 0;
}

    .select-sm.select2-selection--single .select2-selection__rendered {
        padding-left: 11px;
        padding-right: 26px;
    }

    .select-sm.select2-selection--single .select2-selection__arrow:after {
        right: 11px;
    }

.select-sm.select2-selection--multiple .select2-selection__choice {
    padding: 6px 11px;
}

.select-sm.select2-selection--multiple .select2-search--inline .select2-search__field {
    padding: 6px 0;
}

.select-xs.select2-selection--single {
    height: 32px;
    padding: 5px 0;
    font-size: 12px;
    line-height: 1.6666667;
}

    .select-xs.select2-selection--single .select2-selection__rendered {
        padding-left: 10px;
        padding-right: 24px;
    }

    .select-xs.select2-selection--single .select2-selection__arrow:after {
        right: 10px;
    }

.select-xs.select2-selection--multiple .select2-selection__choice {
    padding: 5px 10px;
    font-size: 12px;
}

.select-xs.select2-selection--multiple .select2-search--inline .select2-search__field {
    padding: 5px 0;
    font-size: 12px;
}

.select2-selection--multiple[class*=bg-] .select2-selection__choice {
    background-color: rgba(0, 0, 0, 0.25);
}

.select2-dropdown[class*=bg-] .select2-search--dropdown .select2-search__field {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: transparent;
    color: #fff;
}

.select2-dropdown[class*=bg-] .select2-results__option[aria-selected=true] {
    background-color: rgba(0, 0, 0, 0.2);
}

.select2-dropdown[class*=bg-] .select2-results__option--highlighted {
    background-color: rgba(0, 0, 0, 0.1);
}

.select2-close-mask {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    z-index: 99;
    background-color: #fff;
    opacity: 0;
    filter: alpha(opacity=0);
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: fixed !important;
    width: 1px !important;
}

.select2-result-repository {
    padding-top: 7px;
    padding-bottom: 7px;
}

.select2-result-repository__avatar {
    float: left;
    width: 60px;
    margin-right: 10px;
}

    .select2-result-repository__avatar img {
        width: 100%;
        height: auto;
        border-radius: 100px;
    }

.select2-result-repository__meta {
    margin-left: 70px;
}

.select2-result-repository__title {
    font-weight: 500;
    word-wrap: break-word;
    margin-bottom: 2px;
}

.select2-result-repository__forks,
.select2-result-repository__stargazers,
.select2-result-repository__watchers {
    display: inline-block;
    font-size: 12px;
}

.select2-result-repository__description {
    font-size: 12px;
}

.select2-result-repository__forks,
.select2-result-repository__stargazers {
    margin-right: 15px;
}

.form-floating .select2.select2-container,
.form-floating .selection,
.form-floating .select2-selection {
    /*border-radius: 10px !important;*/
    border-radius: 0.25rem !important;
    /*border-radius: 1.7rem !important;*/
}
.form-floating .select2-selection--single {
    height: auto !important;
    background: none !important;
}

.form-floating .select2.select2-container {
    width: 100%;
    height: auto;
    position: relative;
    padding-top: 0rem !important;
    padding-bottom: 0 !important;
    border: 1px solid #ddd !important;
    display: block;
    border-radius: 1.7rem;
}
.form-floating:hover .select2.select2-container {
    background: #407ec70d !important;
}

.form-floating .select2-selection {
    border: none !important;
    /*padding-top: 1.26rem !important;*/
    padding-top: 1.6rem !important;
    padding-left: 1rem;
    padding-bottom: 0.15rem !important;
    border-radius: 1.7rem;
}
.form-floating .select2-selection--single:hover {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.form-floating .select2-selection--single .select2-selection__rendered {
    /*padding-left: 1rem;*/
    padding-left: 0rem;
    padding-right: 31px;
    min-height: 25px;
    background: transparent !important;
}
.form-floating .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

/*.btn-taonhanh .form-floating:focus {
    color: #344050;
    background-color: #fff;
    border-color: #96bdf2;
    outline: 0;
    -webkit-box-shadow: #96bdf2;
    box-shadow: #96bdf2;
}*/
@media (min-width: 576px) {
    .btn-taonhanh .form-floating .select2.select2-container {
        padding-right: 135px !important;
    }
}
@media (max-width: 576px) {
    .btn-taonhanh .form-floating .select2.select2-container {
        padding-right: 50px !important;
    }
}

/***************/
.tag-select .form-floating {

}
    .tag-select .form-floating label {
        opacity: 0.65 !important;
        -webkit-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
        -ms-transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
        transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
    }
    .tag-select .form-floating tags-input .host {
        border: none !important;
        box-shadow: none !important;
    }
    .tag-select .form-floating tags-input .tags {
        border: 1px solid #d8e2ef !important;
        border-radius: 0.25rem !important;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075) !important;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075) !important;
        padding-top: 1.8rem !important;
        padding-left: 0.5rem !important;
        
    }

