﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

mark {
    padding: 0;
    background: #f1c40f;
}



.col-min-50 {
    min-width: 50px;
}

.col-min-100 {
    min-width: 100px;
}
.col-max-100 {
    max-width: 100px;
}

.col-min-150 {
    min-width: 150px;
}

.col-min-200 {
    min-width: 200px;
}
.col-max-200 {
    max-width: 200px;
}

.col-pre-line {
    white-space: pre-line;
}

.col-pre {
    white-space: pre;
}

.col-text-trim {
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-d-none {
    width: 0px !important;
    height: 0px !important;
    border-width: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.my-required {
    color: red;
}

.my-optional::after {
    content: ' (Không bắt buộc)';
    color: green;
}

/*.form-floating > .form-control:not(:placeholder-shown)::after {
    content: ' (Không bắt buộc)';
}*/

/*.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: red;
    content: ' (Không bắt buộc)';
}*/



.form-floating .select2-container--bootstrap-5 .select2-selection.select2-selection--single {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

    .form-floating .select2-container--bootstrap-5 .select2-selection.select2-selection--single > .select2-selection__rendered {
        margin-top: 0.6rem;
        margin-left: 0.25rem;
    }

.form-floating .select2-container--bootstrap-5 .select2-selection.select2-selection--multiple {
    padding: 1rem 0.75rem;
}

    .form-floating .select2-container--bootstrap-5 .select2-selection.select2-selection--multiple > .select2-selection__rendered {
        margin-top: 1rem;
        margin-left: 0.25rem;
    }

.input-group .select2-container--bootstrap-5 .select2-selection--single {
    height: calc(3.5rem + 2px) !important;
}

/*.input-group .select2-container--bootstrap-5 .select2-selection--multiple {
    height: calc(5rem + 2px) !important;
}*/

.input-group .form-floating.input-group-select-start .select2-container--bootstrap-5 .select2-selection {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


/*.input-group > .select2-container--bootstrap {
    width: auto;
    flex: 1 1 auto;
}

    .input-group > .select2-container--bootstrap .select2-selection--single {
        height: 100%;
        line-height: inherit;
        padding: 0.5rem 1rem;
    }*/


.keyCopy {
    cursor: pointer;
}