﻿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-min-150 {
    min-width: 150px;
}

.col-min-200 {
    min-width: 200px;
}

.col-pre-line {
    white-space: pre-line;
}

.col-pre {
    white-space: pre;
}

.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 {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

    .form-floating .select2-container--bootstrap-5 .select2-selection > .select2-selection__rendered {
        margin-top: 0.6rem;
        margin-left: 0.25rem;
    }
