/* ----- contact group ----- */

.form-control-lg {
    height: calc(2.875rem + 2px) !important;
    padding: 0.3rem 1rem !important;
    border: 1px #fff !important;
}

.style-upload {
    border: 1px solid #ccc;
    border-radius: 5px 5px;
    height: 50px;
}

.style-upload-box {
    border: 1px solid #ccc;
    border-radius: 5px 5px;
    height: 100px;
    padding: 30px 30px;
    background-color: #28a7452b;
}


/* ----- login ----- */

.login-container {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.sky-login-body {
    font-size: 14px;
    background-image: url("../img/bg_sms.png") !important;
    background-size: cover !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.login-blog {
    padding-top: 8vh;
    margin: 0px 20px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 575px) {
    .login-blog {
        margin: 0px 70px !important;
    }
}

@media only screen and (max-device-width: 575px) {
    .login-blog {
        margin: 0px 20px !important;
    }
}

.login-content {
    margin: 30px auto;
    background-color: rgba(253, 253, 253, 0);
    color: black;
    background: #fff;
    padding: 15px 15px 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.form-input {
    outline: none;
    width: 100%;
    line-height: 43px;
    border: 1px solid #e5e5e5 !important;
    color: #666;
    padding: 0 17px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-radius: 30px;
}

.login-btn {
    color: #fff !important;
    display: block !important;
    width: 100% !important;
    line-height: 45px !important;
    padding: 0 35px !important;
    text-transform: uppercase !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
}

.login-btn:hover {
    background: #74cae8 !important;
    border-radius: 30px !important;
}

.btn-green {
    background: #035e77 !important;
    border-radius: 30px !important;
}

.btn-green:hover {
    background: #74cae8;
    border-radius: 30px;
}

.btn-green:hover {
    background: #59bd60;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: 700 !important;
}

.toggle-password {
    float: right;
    margin-right: 15px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.img-responsives {
    width: -webkit-fill-available;
    max-width: max-content;
}

.forgot-password a,
.forgot-password a:hover {
    color: black !important;
    text-decoration: none !important;
}

.link a,
.link a:hover {
    color: #035e77 !important;
    text-decoration: underline !important;
}

.img-error {
    width: 16px;
    height: 16px;
    border: 0;
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}


/* ----- sms template ----- */

.blog-text {
    margin-top: 32px;
    border-radius: 5px 5px;
}

.box {
    padding: 0px 10px 10px;
}

.box-message {
    background-color: #ffe6e6;
    padding: 50px 50px;
    border-radius: 5px 5px;
    border: 2px solid #ff9595;
}

.box-text {
    background-color: #c4e7ff;
    padding: 50px 50px;
    border-radius: 5px 5px;
    border: 2px solid #3498dbb5;
}


/* ----- credit management ----- */

.box-credit {
    margin: auto;
    text-align: center;
    width: 80%;
    border: 2px solid #ed9a9a !important;
    padding: 10px 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    color: red !important;
    background-color: #f9c5c5 !important;
    font-size: 20px !important;
}

@media only screen and (max-width: 900px) {
    .box-credit {
        margin: auto;
        text-align: center;
        width: 100%;
        border: 2px solid #ed9a9a !important;
        padding: 10px 10px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        color: red !important;
        background-color: #f9c5c5 !important;
        font-size: 20px !important;
    }
}

.box-none {
    display: none !important;
}

.box-block {
    display: block;
}

.text-blue {
    color: #2138df !important;
    font-weight: bold;
}

.textarea-style {
    height: 200px !important;
}

.blog-pdf {
    border: 2.5px solid #ef0404;
    padding: 20px 20px;
}

.blog-pdf a {
    color: #f10000;
    font-weight: bolder;
}

.icon-pdf {
    font-size: 48px;
    color: red
}

.swal2-actions .swal2-confirm {
    float: right !important;
}

.front-red {
    color: red !important;
    font-weight: bolder !important;
}

.front-gray {
    color: #4e4949 !important;
    font-weight: bolder !important;
}

.front-green {
    color: green !important;
    font-weight: bolder !important;
}

.front-black a {
    color: #4e4949 !important;
    font-weight: bolder !important;
}

.p-textarea {
    width: 400px !important;
}

.text-no {
    color: #fff0!important;
    display: none!important;
}


/* ----- security ----- */

.box-list {
    /*  width:450px;*/
}

.box-list-select {
    width: 120px;
    float: left;
}

.box-list-name {
    /*  width:300px;*/
    float: left;
}

.img-app img {
    width: 15%;
    border-radius: 5px 5px;
}

.img-app-download a img {
    width: 15%;
}

.secret {
    color: #63a1df;
    font-weight: bold;
    font-size: 20px;
    width: 60%;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
}

.text-sendotp {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid #00a572;
    background-color: #00a572;
    width: 100%;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
}
.text-request {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #63a1df;
    width: 12%;
    margin: auto;
    padding: 4px;
    border-radius: 5px;
}

.text-request:hover {
    color: #76787c;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #63a1df;
    width: 12%;
    margin: auto;
    padding: 4px;
    border-radius: 5px;
}

.copy_click {
    width: 100%;
    margin: auto;
    text-align: center;
    border: 0px solid;
    color: #63a1df;
    font-weight: 500;
    font-size: 2rem;
    background-color: rgba(255, 255, 255, .8) !important;
}

@media only screen and (max-width: 1200px) {
    .img-app img {
        width: 30%;
    }
    .secret {
        color: #3b75b8;
        font-weight: bold;
        font-size: 20px;
        border: 1px solid #ccc;
        width: 100% !important;
        margin: auto;
        padding: 20px;
        border-radius: 5px;
    }
    .text-sendotp {
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        border: 1px solid #00a572;
        background-color: #00a572;
        width: 100%;
        margin: auto;
        padding: 20px;
        border-radius: 5px;
    }
    .text-request {
        color: #000;
        font-weight: bold;
        font-size: 12px;
        border: 1px solid #63a1df;
        width: 32%;
        margin: auto;
        padding: 4px;
        border-radius: 5px;
    }
}

.icon_copy {
    color: green;
    margin-bottom: 20px;
}

.verify_number_input {
    text-align: center!important;
    display: block;
    width: 80px;
    height: 60px;
    padding: 0.375rem 0.75rem;
    font-size: 20px;
    font-weight: bolder;
    line-height: 1.5;
    /* color: #fff; */
    background-color: #d9d9d9;
    background-clip: padding-box;
    border: 1px solid #d9d9d9;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-radius: 0.25rem !important;
    margin: 0.5rem !important;
    overflow: visible;
    word-wrap: break-word;
}

.verify_number_input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #d9d9d9;
    outline: 0;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}

.cursor-pointer {
    cursor: pointer;
}

.img-key {
    width: 30% !important;
}

.img-key-delete {
    width: 15% !important;
    margin-bottom: 20px;
}

#otp-background {
    box-shadow: 0 0 1px rgba(255, 255, 255, .8), 0 1px 3px rgba(255, 255, 255, .8);
}

.text-otp {
    color: #76787c !important;
}

.text-otp-des {
    color: #76787c !important;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: unset;
    background-image: none;
    background-position: right calc(1.375em + 1.1875rem) center;
    border: 1px solid #28a745;
    padding-right: 10px;
}

.form-control.is-valid,
.was-validated .form-control:invalid {
    padding-right: 0px;
    background-image: none;
    border: 1px solid #dc3545;
}

.blog-qrcode {
    border: 1px solid #ccc;
    padding: 20px;
    height: 400px;
}

.box-qrcode {
    margin-top: 20px;
}

.box-copy-secret {
    border: 1px solid #ccc;
    padding: 50px;
}

.width-google {
    width: -webkit-fill-available;
}

.container-security {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.grid-security {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

@media (min-width: 576px) {
    .container-security {
        max-width: 700px;
    }
}

.verify_number_input_box {
    font-size: 20px;
    font-weight: bolder;
    color: #00A572;
    text-align: right;
    position: absolute;
    right: 0px;
    border-radius: 10px;
    background-color: #fff;
    border: 2px solid #00A572;
    padding: 6px;
    cursor: pointer;
    margin-top: -15px;
}

@media (max-width: 500px) {
    .box-security-name {
        font-size: 13px;
    }
}

.icon-2step {
    width: 60px;
}

.icon-otp {
    width: 150px;
    margin-bottom: 20px;
}

.delete_box {
    font-weight: bolder;
    color: #e74c3c;
    text-align: right;
    position: absolute;
    right: 20px;
    border-radius: 10px;
    background-color: #fff;
    border: 2px solid #e74c3c;
    padding: 8px;
    cursor: pointer;
    margin-top: 40px;
}

.selecte_box {
    font-weight: bolder;
    color: #28a745;
    text-align: right;
    position: absolute;
    right: 20px;
    border-radius: 10px;
    background-color: #fff;
    border: 2px solid #28a745;
    padding: 6px;
    cursor: pointer;
    margin-top: 0px;
}

.selecte_box_active {
    font-weight: bolder;
    color: #fff;
    text-align: right;
    position: absolute;
    right: 20px;
    border-radius: 10px;
    background-color: #28a745;
    border: 2px solid #28a745;
    padding: 6px;
    margin-top: 0px;
}

.box-active {
    background-color: #28a74526 !important;
}

.setting_date {
    float: left;
    padding-right: 20px;
}

.activate_date {
    float: left;
    padding-right: 20px;
}

.status-security {
    float: left;
    width: 100%;
}

@media (max-width: 1300px) {
    .activate_date {
        float: left;
        font-size: small;
    }
    .status-security {
        float: left;
    }
    .setting_date {
        font-size: small;
    }
    .title-security {
        font-size: 18px;
        font-weight: bolder !important;
    }
}

.status-green {
    color: green;
    font-weight: bolder;
}

.status-red {
    color: red;
    font-weight: bolder;
}

.blog-security {
    width: 80%;
}

.text-pdf a {
    color: #dc3545;
    text-decoration: underline;
    font-weight: bold;
}

.box-icon-security {
    width: 55%;
    margin-bottom: 10px;
    float: left;
    height: 84px;
}

.box-security-name {
    margin-top: 20px;
    font-weight: bold;
}

.box-security-list {
    /*  width:120px; */
    margin-bottom: 10px;
    float: left;
}

.img-key-security {
    width: 130px;
    margin-bottom: 5%;
}

.image-error {
    width: 150px;
    margin-bottom: 20px;
}

.modal-dialog {
    max-width: 600px !important;
    margin: 15.75rem auto !important;
    text-align: center !important;
}

.modal-title {
    margin: auto !important;
}

.modal-header {
    border-bottom: 1px solid #e9ecef00 !important;
}

.modal-footer {
    border-top: 1px solid #e9ecef00 !important;
    margin: auto;
}

.modal-footer button {
    width: 100px;
}

.img-bin-modal {
    width: 150px;
    margin: auto;
    padding: 10px 10px;
}


/*----  calculate ----*/

.calculator {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.calculator-screen {
    width: 100%;
    height: 80px;
    border: none;
    background-color: #00A572;
    color: #fff;
    text-align: center;
    padding-right: 20px;
    padding-left: 10px;
    /*  font-size: 4rem;*/
}

.equal-sign {
    height: 98%;
    grid-area: 2 / 4 / 6 / 5;
}


/*.calculator-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 8px;
}*/

.pad-number{
    Width:100%;
    /* Height: 58px; */
    border-radius: 44px;
}

.btn-light-h {
    background-color: #00A572 !important;
    border-color: #00A572 !important;
    box-shadow: none;
    color: #fff;
    font-size: 22px;
    font-weight: bolder;
}

.btn-light-h:hover {
    background-color: #d5ffe5 !important;
    border-color: #00A572 !important;
    color: #00A572 !important;
}

.btn-light-h-clear {
    background-color: #fff !important;
    border-color: #6c757d !important;
    box-shadow: none;
    color: #000;
    font-size: 22px;
    /* font-weight: bolder; */
}

.btn-light-h-clear:hover {
    color: #1f2d3d !important;
    background-color: #d5ffe5 !important;
    border-color: #d5ffe5 !important;
    color: #00A572 !important;
}

.input_pin_hide input[type="text"] {
    -webkit-text-security: none;
}

/* OTP pin hide mode: transparent text prevents iOS brief-character flash */
#otp.eye-verify input {
    color: transparent !important;
    caret-color: #495057;
}
#otp.eye-verify input.has-value {
    background-image: radial-gradient(circle, #495057 60%, transparent 60%);
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
}
#otp:not(.eye-verify) input {
    color: #495057;
    background-image: none !important;
}

.btn-light-h-otp {
    background-color: #d5ffe5 !important;
    border-color: #00A572 !important;
    color: #00A572;
    font-size: 22px;
    font-weight: bolder;
}

.btn-light-h-otp:hover {
    background-color: #00A572 !important;
    border-color: #00A572 !important;
    color: #fff;
    font-size: 22px;

}


/*----  end calculate ----*/


/*-----------------------------------------[ device ]------------------------------------------------*/


/* ================ Desktop Query ================*/

@media only screen and (min-width: 768px) {
    .calculator-keys {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .calculator-keys > div:last-child:nth-child(3n+1) {
        grid-column: 2; /* ถ้าปุ่มสุดท้ายอยู่ตำแหน่งแรกของแถว ให้ย้ายไปคอลัมน์กลาง */
    }
    .g-20 {
        grid-gap: 20px !important;
    }
    .eye-verify input {
        font-size: 55px;
    }
    .input_pin input[type="text"] {
        -webkit-text-security: disc;
        font-size: 4rem;
    }
    .calculator-screen {
        font-size: 3rem;
    }
    .copy_click {
        font-size: 1.5rem;
    }
    #text_pin {
        font-size: 2rem !important;
    }
    /* audit */
    .audit-box {
        font-size: 13px !important;
    }
    .audit-box-tipic {
        width: 18% !important;
    }
    .audit-box-tipic-2 {
        width: 41% !important;
    }
    .audit-box-detail {
        width: 18% !important;
    }
    .audit-box-detail-2 {
        width: 41% !important;
    }
}


/* ================ Desktop max ================*/

@media only screen and (min-width: 1600px) {
    /* audit */
    .audit-box {
        font-size: 15px !important;
    }
    .audit-box-tipic {
        width: 15% !important;
    }
    .audit-box-tipic-2 {
        width: 42.5% !important;
    }
    .audit-box-detail {
        width: 15% !important;
    }
    .audit-box-detail-2 {
        width: 42.5% !important;
    }
}


/* ================ Tablet Query ================*/

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .calculator-keys {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 5px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 8px;
    }
    .calculator-keys > div:last-child:nth-child(3n+1) {
        grid-column: 2; /* ถ้าปุ่มสุดท้ายอยู่ตำแหน่งแรกของแถว ให้ย้ายไปคอลัมน์กลาง */
    }
    .g-20 {
        grid-gap: 5px !important;
    }
    .eye-verify input {
        font-size: 2rem !important;
    }
    .input_pin input[type="text"] {
        -webkit-text-security: disc;
        font-size: 3rem;
    }
    .calculator-screen {
        font-size: 2rem;
    }
    .icon-pdf {
        font-size: 50px !important;
    }
    .blog-pdf a {
        font-size: 12px !important;
    }
    .blog-pdf {
        height: 120px;
    }
    .copy_click {
        font-size: 1rem;
    }
    #text_pin {
        font-size: 1.2rem !important;
    }
    /*---- dashboard ----- */
    .blog-dashboard {
        display: none !important;
        padding-right: 3.5px !important;
        padding-bottom: 10px !important;
    }
    .col-dashboard {
        width: 33.333% !important;
        max-width: 33%;
    }
    .blog-dashboard-text>h1 {
        font-size: 20px !important;
    }
    .card-dashboard {
        margin: 5px 0px !important;
        background-color: #ddf2ff;
    }
    .dashboard-title {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .blog-dashboard-text>h1 {
        font-size: 30px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .blog-dashboard-text>h2 {
        font-size: 11px !important;
        padding-top: 5px;
        font-weight: bolder;
    }
    .blog-dashboard-text {
        padding: 10px 10px !important;
        text-align: -webkit-center;
        border-left: 4px dotted #3c8dbc;
    }
    /* audit */
    .audit-box {
        font-size: 12px !important;
    }
    .audit-box-tipic {
        width: 30% !important;
    }
    .audit-box-tipic-2 {
        width: 35% !important;
    }
    .audit-box-detail {
        width: 30% !important;
    }
    .audit-box-detail-2 {
        width: 35% !important;
    }
}


/* ================  Mobile Query ================  */

@media only screen and (max-width: 480px) {
    .calculator-keys {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 9px;
    }
    .calculator-keys > div:last-child:nth-child(3n+1) {
        grid-column: 2; /* ถ้าปุ่มสุดท้ายอยู่ตำแหน่งแรกของแถว ให้ย้ายไปคอลัมน์กลาง */
    }
    .g-20 {
        grid-gap: 15px !important;
    }
    .eye-verify input {
        font-size: 18px;
        color: #495057;
    }
    .input_pin input[type="text"] {
        -webkit-text-security: disc;
        font-size: 3rem;
    }
    .calculator-screen {
        font-size: 2rem;
    }
    .box-message h5 p {
        font-size: 16px !important;
    }
    .box-message p {
        font-size: 16px !important;
    }
    .box-text h5 p {
        font-size: 16px !important;
    }
    .box-text p {
        font-size: 16px !important;
    }
    .icon-pdf {
        font-size: 50px !important;
    }
    .blog-pdf a {
        font-size: 12px !important;
    }
    .blog-pdf {
        height: 120px;
    }
    .copy_click {
        font-size: 0.9rem;
    }
    #text_pin {
        font-size: 0.99rem !important;
    }
    .box-list {
        width: 300px !important;
    }
    .box-list-name {
        float: left;
    }
    /*---- dashboard ----- */
    .blog-dashboard {
        display: none !important;
        padding-right: 3.5px !important;
        padding-bottom: 10px !important;
    }
    .col-dashboard {
        width: 49.999% !important;
        padding-right: 5px;
        padding-left: 5px;
    }
    .blog-dashboard-text>h1 {
        font-size: 20px !important;
    }
    .card-dashboard {
        margin: 5px 0px !important;
        background-color: #ddf2ff;
    }
    .dashboard-title {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .blog-dashboard-text>h1 {
        font-size: 30px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .blog-dashboard-text>h2 {
        font-size: 11px !important;
        padding-top: 5px;
        font-weight: bolder;
    }
    .blog-dashboard-text {
        padding: 10px 10px !important;
        text-align: -webkit-center;
        border-left: 4px dotted #3c8dbc;
    }
    .button-dashboard {
        padding: 0.05rem .3rem !important;
        font-size: 10px !important;
    }
    /* user agent */
    .blog-device-big {
        width: 100% !important;
    }
    /* audit */
    .audit-box {
        font-size: 12px !important;
    }
    .audit-box-tipic {
        width: 30% !important;
    }
    .audit-box-tipic-2 {
        width: 35% !important;
    }
    .audit-box-detail {
        width: 30% !important;
    }
    .audit-box-detail-2 {
        width: 35% !important;
    }
}

.select-lang {
    width: 50% !important;
    margin: auto;
}


/* ----- security  [ home ] ----- */

.box-security-home {
    padding-top: 8vh !important;
}

.card-primary-login {
    background-color: #fff0 !important;
    box-shadow: 0 0 0px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, 0) !important;
}

.card-login {
    background-color: rgb(255 255 255 / 0%) !important;
    box-shadow: 0 0 0px rgba(255, 255, 255, .8), 0 0px 0px rgba(255, 255, 255, .8) !important;
}

.image-radius {
    border-radius: 50% !important;
}

#show_tab,
#show_ref {
    height: 40px;
    /*  border: 1px solid #ccc;*/
}

.font-weight-bold {
    font-size: 14px !important;
}


/* ----- dashboard [ home ] ----- */

.card-dashboard {
    margin: 5px 10px;
}

.cookie-box {
    padding-right: 0px !important;
}

.blog-dashboard {
    background-color: #ddf2ff;
    color: #3c8dbc !important;
    text-align: center;
    font-size: -webkit-xxx-large;
    padding-top: 30px;
    border-radius: 7px 0px 0px 7px;
}

.modal-popup-show {
    margin: 0rem auto !important;
}

.modal-title-show {
    margin: 0 !important;
}

.blog-dashboard-text>h1 {
    color: #3c8dbc;
    font-weight: bolder;
    font-size: 22px !important;
}

.blog-dashboard-text>h2 {
    color: #3c8dbc;
    border-bottom: 0px solid #e5e5ea !important;
    font-size: 0.97rem;
}

.title-dashboard {
    color: #3c8dbc;
    font-size: large;
    font-weight: bolder;
    padding-left: 20px;
}

.box-title {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: .75rem 0.5rem;
    position: relative;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.button-dashboard {
    color: #fff;
    border: 1px solid #fff;
    padding: .05rem .75rem;
}

.button-dashboard:hover {
    color: #fff;
    background-color: #595d60;
    border: 1px solid #fff;
}

.active-dashboard {
    color: #fff !important;
    background-color: #595d60 !important;
    border: 1px solid #fff !important;
}

.box-dashboard-list {
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    margin-bottom: 1rem;
}

.list-a {
    border-bottom: 3px solid #078925;
    background-color: #e8f7e8;
    text-align: center;
    color: #078925;
    font-weight: 600;
    padding: 10px 0px;
    margin-bottom: 0rem;
}

.list-b {
    border-bottom: 3px solid #387bc3;
    background-color: #d0e7ff;
    text-align: center;
    color: #387bc3;
    font-weight: 600;
    padding: 10px 0px;
    margin-bottom: 0rem;
}

.list-c {
    border-bottom: 3px solid #f9b841;
    background-color: #fff3dd;
    text-align: center;
    color: #f9b841;
    font-weight: 600;
    padding: 10px 0px;
    margin-bottom: 0rem;
}

.list-d {
    border-bottom: 3px solid #e55563;
    background-color: #ffc9ce;
    text-align: center;
    color: #e55563;
    font-weight: 600;
    padding: 10px 0px;
    margin-bottom: 0rem;
}

.row-blog {
    width: 100%;
    margin: auto;
    padding: 0px 10px;
}

.dashboard-detail {
    margin-bottom: 1rem;
    height: 300px;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
}

#tb-dasboard tbody>tr {
    text-align: -webkit-center;
}

#tb-dasboard tbody>tr:hover {
    background-color: #f8f9fa;
    text-align: -webkit-center;
    border-left: 2px #6c757d dotted;
}

#tb-dasboard td,
.table th {
    border-top: 0px solid #f8f9fa;
}

.dashboard_scroll {
    overflow-y: auto;
}

#dashboard-style-a::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
}

#dashboard-style-a::-webkit-scrollbar {
    width: 2.5px;
    background-color: #F5F5F5;
}

#dashboard-style-a::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #078925;
}

#dashboard-style-b::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
}

#dashboard-style-b::-webkit-scrollbar {
    width: 2.5px;
    background-color: #F5F5F5;
}

#dashboard-style-b::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #387ac1;
}

#dashboard-style-c::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
}

#dashboard-style-c::-webkit-scrollbar {
    width: 2.5px;
    background-color: #F5F5F5;
}

#dashboard-style-c::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #f9b841;
}

#dashboard-style-d::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .8);
}

#dashboard-style-d::-webkit-scrollbar {
    width: 2.5px;
    background-color: #F5F5F5;
}

#dashboard-style-d::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #e55563;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
    outline: 0px auto -webkit-focus-ring-color !important;
}

.box-message>h1>p>strong {
    font-size: 22px;
}

.box-text>h1>p>strong {
    font-size: 22px;
}

.box-text>h1>p {
    font-size: 22px !important;
}


/*---- user agent ----- */

.title-device {
    color: #5a5757;
    font-weight: bolder;
    font-style: italic;
}

.blog-device-big {
    width: 80%;
    border-radius: 10px 10px 0px 0px !important;
}

.blog-device {
    padding: 20px 20px;
}

.blog-device:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.active-device {
    border-radius: 10px 10px 0px 0px;
}

.icon-device {
    width: 130px;
    padding-right: 40px;
}

.use-device {
    font-size: 14px !important;
}

.selecte-device {
    margin-right: 20px;
    font-weight: bolder;
    color: #1c8935;
    position: absolute;
    right: 0px;
    border-radius: 10px;
    background-color: #fff;
    border: 2px solid #1c8935;
    padding: 6px;
    cursor: default;
    margin-top: 0px;
}

.select-device-check {
    position: absolute;
    font-weight: bolder;
    color: #fff;
    border-radius: 50px;
    background-color: #19782f;
    border: 2px solid #19782f;
    padding: 6px;
    cursor: default;
    margin-top: 0px;
    left: 93px;
}

.container-device {
    width: 100%;
    margin: auto;
    /*    margin-bottom: -16px;*/
}

.container-device:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}

.container-device-row {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.action-device {
    background-color: #f7e7b8a8 !important;
    color: #0a680a;
}

.button-dark {
    background-color: black !important;
    border-radius: 30px !important;
}


/* ----- audit trail ----- */

.show-edit {
    background-color: #f7e2e2 !important;
    color: #970000;
}

.blog-audit {
    padding: 12px 14px;
}

.audit-box-color {
    background-color: #165f99;
    color: #fff;
}

.audit-box-detail {
    background-color: #bad5eb;
    font-weight: 600;
    color: #094c81;
}

.audit-box {
    text-align: center;
    border-bottom: 1px solid #727272 !important;
}

.div-audit {
    /*    border-bottom: 1px solid #ccc;*/
    padding: 6px 0px;
}

.div-audit:last-child {
    border-bottom: none;
}

.button-fit {
    width: fit-content !important;
    width: 150px !important;
}


/* ----- credit transfer ----- */

.title-transfer {
    background-color: #2980b9;
    border-radius: 8px 8px 0px 0px;
    height: revert;
    padding: 10px;
    color: #fff;
}

.title-transfer-to {
    background-color: #4a8983;
    border-radius: 8px 8px 0px 0px;
    height: revert;
    padding: 10px;
    color: #fff;
}

.blog-transfer {
    border: 1px solid #2980b9;
    /*    height: 500px;*/
    background-color: #c2def1;
    border-radius: 10px;
}

.blog-transfer-to {
    border: 1px solid #007268;
    /*    height: 500px;*/
    background-color: #026c624f;
    border-radius: 10px;
}

.blog-transfer-middle {
    text-align: center;
    line-height: 400px;
    height: 500px;
}

.transfer-img-next {
    width: 70%;
    vertical-align: middle;
}

.transfer-img-next-down {
    width: 8%;
    vertical-align: middle;
    padding: 20px 0px;
    margin: auto;
}

.blog-transfer label {
    color: #0b5789;
}

.blog-transfer-to label {
    color: #007268;
}

.box-transfer-row {
    padding: 20px;
}

.transfer-img-title {
    width: 6%;
}

.textarea-style-1 {
    height: 150px;
}

@media only screen and (max-width: 767px) {
    .transfer-img-title {
        width: 15%;
    }
    .transfer-img-next-down {
        width: 20%;
    }

    .position-relative {
        zoom: 0.7;
    }

    .verify_number_input {
        text-align: center!important;
        display: block;
        width: 60px;
        height: 60px;
        padding: 0.375rem 0.75rem;
        font-size: 20px;
        font-weight: bolder;
        line-height: 1.5;
        /* color: #fff; */
        color: #495057;
        background-color: #d9d9d9;
        background-clip: padding-box;
        border: 1px solid #d9d9d9;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        border-radius: 0.25rem !important;
        margin: 0.5rem !important;
        overflow: visible;
        word-wrap: break-word;
    }
}

.margin-top-0 {
    margin-top: 0px !important;
}


/*login form*/

.border-danger {
    outline: 2px solid red;
}

.text-danger {
    color: red;
}

.otp-header {
    margin-top: 40px;
    margin-bottom: 20px;
}

.otp-icon {
    width: 80px;
}

.otp-title {
    font-size: 28px;
    font-weight: 600;
    color: #6c757d; /* สีเทาแบบ ref */
}

.g-20 {
    grid-gap: 20px;
}