﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


/* ซ่อน radio button */
.image-container input[type="radio"] {
    display: none;
}

/* เพิ่ม border และ shadow เมื่อถูกเลือก */
.image-container.selected {
    border: 2px solid #007bff;
    /* สี border */
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.5);
    /* shadow */
    border-radius: 5px;
    /* ให้มุมมนเหมือนรูป */
}



a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    /* Vertically center the text there */
}

.custom-btn {

    border-color: #e0e2e3;
    border-radius: 10px;
    padding: 10px 25px;
    font-size: 1.1em;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.icon-example {
    width: 70px;
    height: 70px;
    font-size: 24px;
    position: relative;
}

.icon-example:after {
    content: attr(data-title);
    display: none;
    position: absolute;
    background: #444;
    color: #fff;
    padding: 3px 6px;
    border-radius: 2px;
    bottom: 100%;
    left: 50%;
    font-weight: bold;
    transform: translate(-50%, -4px);
    font-size: 12px;
    white-space: nowrap;
}

.icon-example:hover:after {
    /*display: block;*/
}



.badgeStatus_blue {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    /* Make it a circle */
    font-size: 14px;
    width: 30px;
    /* Adjust width and height as needed */
    height: 30px;
    text-align: center;
    /* Center text horizontally */
    line-height: 30px;
    /* Center text vertically */
}

.font-table-header {
    font-size: 0.9em;
    font-weight: bolder;
}



.font-table-row {
    font-size: 1.3em;
}

.fs1 {
    font-size: 48px;
}

.fsq {
    font-size: 40px;
}

.fs2 {
    font-size: 36px;
}

.fs31 {
    font-size: 30px;
}

.fs3 {
    font-size: 24px;
}

.fs4 {
    font-size: 20px;
}

.fs41 {
    font-size: 18px;
}

.fs42 {
    font-size: 16px;
    color: #e199df;
}


.badgeStatusCard {
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 35px;
}

.badgeStatusRow {
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    /* Make it a circle */
    font-size: 16px;
    font-weight: 600;
    width: 32px;
    /* Adjust width and height as needed */
    height: 32px;
    text-align: center;
    /* Center text horizontally */
    line-height: 32px;
    /* Center text vertically */
}

.badgeClient {
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    /* Make it a circle */
    font-size: 14px;
    font-weight: 600;
    width: 40px;
    /* Adjust width and height as needed */
    height: 40px;
    text-align: center;
    /* Center text horizontally */
    line-height: 42px;
    /* Center text vertically */
    padding-left: 2px;
}

.custom-card {
    border-radius: 5px 15px !important;
    /* or any value you prefer */
}

/* Custom CSS for modal transition animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-in !important;
    transform: translate(0, -50px) !important;
}

.modal.fade.show .modal-dialog {
    transform: translate(0, 0) !important;
}


@media (min-width: 576px) {
    .modal-slide .modal-dialog {
        width: 35% !important;
    }
}

.modal-slide .modal-content {
    overflow: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    border-radius: 0 !important;
}

.modal-slide .modal-body {
    margin: 0 !important;
    padding-top: 0 !important;
    /* Adjust this value to move content down from the top */
    padding-bottom: 0 !important;
}

.modal-slide .close {
    top: 0.625rem !important;
    z-index: 10 !important;
    -webkit-transform: none !important;
    transform: none !important;
}

#autocomplete-container {
    max-height: 200px;
    /*// Set the maximum height of the container */
    overflow-y: auto;
    /*//Enable vertical scrolling */
    border: 1px solid #ccc;
    /*//Optional: Add border for better visibility */
    background-color: #234569;
    /* // Optional: Set background color */
    /*    // Add any other styles as needed */
}



modal-fullscreen {
    padding: 10px;
    /* This sets the padding to -10px */
    margin: 20 !important;
}

.modal-fullscreen .modal-content {
    height: 100vh;
    width: 100%;
    border: none;
    border-radius: 15;
}

.modal-fullscreen .modal-body {
    overflow-y: auto;
}


.select2-container--inline .select2-selection--multiple {
    display: flex;
    flex-wrap: wrap;
}

.select2-container--inline .select2-selection__choice {
    margin: 2px;
    padding: 2px 8px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, .05);
    color: white;
    display: inline-flex;
    align-items: center;
}

/* Customize the size of the Select2 input */
.select2-container .select2-selection--single {
    margin: 2px;
    padding: 5px;
    height: auto !important;
    /* Adjust the height as needed */
    font-weight: bold !important;
}

.select2-container--inline .select2-selection__choice__remove {
    margin-left: 10px;
    cursor: pointer;
}

.select2-container--inline .select2-selection__rendered {
    overflow: visible !important;
}

.select2-container--inline .select2-selection__rendered .select2-selection__choice {
    margin: 0;
}




.select2-results__option--selected {
    font-weight: bold;
}