﻿
@import url("assets/webfonts/TH_Sarabun/thsarabunnew.css");

body {
    font-family: THSarabunNew;
}

.container-fluid {
    overflow-x: hidden;
}

.login {
    min-height: 90vh;
}

.bg-image {
    background-image: url('https://source.unsplash.com/WEQbe2jBg40/600x1200');
    background-size: cover;
    background-position: center;
}

.login-heading {
    font-weight: 300;
    margin-bottom: 1.7rem !important;
}

.btn-login {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    background-color: #f96f65;
    border-color: #f96055;
}

    .btn-login:hover {
        color: #fff;
        background-color: #f88179;
        border-color: #f87b72;
    }

.form-floating > .form-control, .form-floating > .form-select {
    height: calc(3rem + 2px);
}

.form-floating > .form-control {
    padding: 0.9rem 2.95rem;
}

.form-floating > .form-select {
    padding: .8rem .5rem 0.5rem 2.2rem;
    /*line-height: 1.7;*/
}

.form-floating > label {
    padding-top: 0.7rem;
    padding-left: 3.3rem;
    opacity: .65;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: .45;
    padding-left: 3.2rem;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:active, .bootstrap-select > .dropdown-toggle.bs-placeholder:focus, .bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #000;
}

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: unset !important;
}

.btn-light, .btn-light:hover {
    background-color: transparent;
    border-color: transparent;
}

    .btn-light:active:focus, .btn-light:focus {
        box-shadow: none;
        background-color: transparent;
        border-color: transparent;
    }

.bootstrap-select > .dropdown-toggle:after {
    margin-top: -10px;
}

.dropdown-toggle::after {
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-bottom: 0;
    border-left: 0.4em solid transparent;
}

.dropup .dropdown-toggle::after {
    border-top: 0;
    border-right: 0.4em solid transparent;
    border-bottom: 0.4em solid;
    border-left: 0.4em solid transparent;
}

.form-select {
    background-image: none;
}

footer {
    background-color: #262e37;
    color: white;
}


.copyrights {
    font-size: 0.8rem;
}

    .copyrights a {
        color: white;
        text-decoration: none;
    }

    .copyrights p {
        margin-bottom: 0px;
    }

    .copyrights.border-top {
        border-top: 2px solid #53575c !important;
    }

.bi.bi-facebook, .bi.bi-youtube, .bi.bi-line {
    margin-top: 1px;
    margin-right: 7px;
}

.footer-url {
    font-size: 0.8rem;
}

    .footer-url span {
        font-size: 22px;
        margin-top: -5px;
        margin-right: 4px;
        vertical-align: middle;
    }

    .footer-url.d-flex span {
        margin-top: -5px;
    }

    .footer-url p {
        margin-bottom: 0px;
        margin-left: 4px;
    }

.modal-header, .modal-footer {
    display: block;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.modal-body {
    padding: 40px 10px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

.btn-close {
    float: right;
    margin-top: -8px;
    font-size: 0.6rem;
    opacity: 0.2;
}

.carousel-indicators .rounded-circle {
    border: 2px solid white;
    background-color: transparent;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    opacity: 1;
    margin-right: 10px;
    margin-left: 10px;
    background-clip: unset;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #fff !important;
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: transparent;
}

.carousel-dark .carousel-control-next-icon, .carousel-dark .carousel-control-prev-icon {
    filter: invert(0) grayscale(100);
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .login {
        padding-left: 30px;
        padding-right: 30px;
    }

    footer .col-sm-4 {
        margin-bottom: 16px;
        margin-left: 25px !important;
    }
}

@media (max-width: 980px) {
    .login {
        min-height: 53vh;
    }
}
