﻿@font-face {
    font-family: "sukhumvit_setbold";
    src: url("~/Resource/fonts/sukhumvit-set_bold.woff");
}

@font-face {
    font-family: "sukhumvit_settext";
    src: url("~/Resource/fonts/sukhumvit-set_text.woff");
}

@font-face {
    font-family: "sukhumvit_setthin";
    src: url("~/Resource/fonts/sukhumvit-set_thin.woff");
}

@font-face {
    font-family: 'KrungsriCondensedBold';
    src: url('~/Resource/fonts/KrungsriCondensedBold.ttf') format('truetype');
}

body {
    background: #E5E5E5;
    font-family: 'sukhumvit_settext';
}

.ks-login {
    margin-top: -50px;
}

    .ks-login .card {
        border-color: transparent;
        max-width: 540px;
        width: 100%;
        margin: auto;
    }

        .ks-login .card .card-header {
            background: #FFFFFF;
        }

.form-control {
    border-color: #C2CFE0;
    border-radius: 8px;
    height: calc(1.5em + 1.15rem + 2px);
}

.upload_avatar {
    background-size: cover;
    background: url(~/Resource/assets/apiportal/user/avatar_icon.png) center no-repeat;
    height: 105px;
    width: 105px;
    position: relative;
    margin: 0 auto;
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

    .upload_avatar .edit-icon {
        position: absolute;
        width: 24px;
        height: 24px;
        background: #FFF;
        bottom: 5px;
        right: 5px;
        border-radius: 100%;
        z-index: 2;
        transition: all 250ms ease-in-out;
    }

        .upload_avatar .edit-icon:before {
            content: "\e975";
            font-family: 'figma';
            text-align: center;
            display: block;
        }

    .upload_avatar:hover:after {
        content: "";
        position: absolute;
        display: block;
        margin: auto;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }

#upload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-file {
    border-radius: 4px;
    border-color: #EBEFF2;
    margin-top: 0.5rem;
}

    .upload-file:hover {
        background: #EBEFF2;
    }

label {
    font-family: 'sukhumvit_settext';
}

    label span {
        color: red;
    }
@font-face {
    font-family: "sukhumvit_setbold";
    src: url("~/Resource/fonts/sukhumvit-set_bold.woff");
}

@font-face {
    font-family: "sukhumvit_settext";
    src: url("~/Resource/fonts/sukhumvit-set_text.woff");
}

@font-face {
    font-family: "sukhumvit_setthin";
    src: url("~/Resource/fonts/sukhumvit-set_thin.woff");
}

@font-face {
    font-family: 'KrungsriCondensedBold';
    src: url('~/Resource/fonts/KrungsriCondensedBold.ttf') format('truetype');
}

body {
    background: #E5E5E5;
    font-family: 'sukhumvit_settext';
}

.ks-login {
    margin-top: -50px;
}

    .ks-login .card {
        border-color: transparent;
        max-width: 540px;
        width: 100%;
        margin: auto;
    }

        .ks-login .card .card-header {
            background: #FFFFFF;
        }

.form-control {
    border-color: #C2CFE0;
    border-radius: 8px;
    height: calc(1.5em + 1.15rem + 2px);
}
    .form-control::placeholder {
        color: #6c757d !important;
    }
    .upload_avatar {
        background-size: cover;
        background: url(~/Resource/assets/apiportal/user/avatar_icon.png) center no-repeat;
        height: 105px;
        width: 105px;
        position: relative;
        margin: 0 auto;
        transition: all 250ms ease-in-out;
        cursor: pointer;
    }

    .upload_avatar .edit-icon {
        position: absolute;
        width: 24px;
        height: 24px;
        background: #FFF;
        bottom: 5px;
        right: 5px;
        border-radius: 100%;
        z-index: 2;
        transition: all 250ms ease-in-out;
    }

        .upload_avatar .edit-icon:before {
            content: "\e975";
            font-family: 'figma';
            text-align: center;
            display: block;
        }

    .upload_avatar:hover:after {
        content: "";
        position: absolute;
        display: block;
        margin: auto;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }

#upload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-file {
    border-radius: 4px;
    border-color: #EBEFF2;
    margin-top: 0.5rem;
}

    .upload-file:hover {
        background: #EBEFF2;
    }

label {
    font-family: 'sukhumvit_settext';
}

    label span {
        color: red;
    }

.btn-ks {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    /* Restful Method*/
}

    .btn-ks:focus {
        outline: none;
    }

    .btn-ks.btn-ks-login {
        background: #ffda00;
        color: #52575C;
    }

    .btn-ks.btn-ks-about {
        background: #ffda00;
        color: #322C2C;
    }

    .btn-ks.btn-ks-signup {
        background: #ffda00;
        color: #554242;
    }

    .btn-ks.btn-ks-signup-2 {
        background: #705F5F;
        color: #FFFFFF;
    }

    .btn-ks.btn-ks-contact {
        background: transparent;
        color: white;
        border: 1px solid white;
    }

    .btn-ks.btn-ks-discover {
        background: #705F5F;
        color: #FFDA00;
        border: none;
        font-weight: bold;
        padding: 0.6rem 3rem;
        box-shadow: 4px 4px 10px #FFB946;
    }

    .btn-ks.btn-ks-discover-2 {
        background: #FFDA00;
        color: #705F5F;
        border: none;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
        font-weight: bold;
        padding: 1.6rem 0;
    }

    .btn-ks.btn-ks-subscribe {
        background: #FFDA00;
        color: #705F5F;
        border: 1px solid #FFDA00;
        padding: 0.375rem 0.75rem;
        border-radius: 12px;
    }

    .btn-ks.btn-ks-download {
        background: #FFDA00;
        box-shadow: 0px 2px 10px #FFB946;
        border-radius: 4px;
        color: #52575C;
        border: none;
        padding: 0.375rem 0.75rem;
        letter-spacing: 0.01em;
        font-weight: 500;
        font-style: normal;
        line-height: 16px;
    }

        .btn-ks.btn-ks-download.dropdown-toggle::after {
            content: none;
        }

        .btn-ks.btn-ks-download span {
            vertical-align: middle;
        }

            .btn-ks.btn-ks-download span::before {
                content: "";
                background: url(~/Resource/assets/icon/download.svg) 0 0 no-repeat;
                width: 18px;
                height: 18px;
                display: inline-block;
                vertical-align: middle;
                margin-right: 10px;
            }

        .btn-ks.btn-ks-download i.ksi-down1 {
            margin-left: 10px;
            vertical-align: middle;
            font-size: 20px;
            transition: transform 0.3s ease-in-out;
        }

        .btn-ks.btn-ks-download[aria-expanded="true"] i {
            transform: rotatex(180deg);
        }

    .btn-ks.btn-ks-discover-dark {
        background: #705F5F;
        color: #ffda00;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    }

    .btn-ks.ks-outline-secondary {
        color: #C2CFE0;
        border-color: #C2CFE0;
    }

        .btn-ks.ks-outline-secondary:hover {
            background: #C2CFE0;
            color: #FFFFFF;
        }

    .btn-ks.ks-default {
        color: #322C2C;
    }

    .btn-ks.ks-primary {
        background: #61AFFE;
        color: #FFFFFF;
    }

    .btn-ks.ks-warning {
        background: #FFB946;
        color: #FFFFFF;
    }

    .btn-ks.ks-success {
        background: #2ED47A;
        color: #FFFFFF;
    }

    .btn-ks.ks-danger {
        background: #FF6633;
        color: #FFFFFF;
    }

    .btn-ks.ks-krungsri {
        color: #322C2C;
        background: #FFDA00;
    }

    .btn-ks.ks-sm-text {
        font-size: 14px;
    }

    .btn-ks.btn-ks-api {
        background: #FFDA00;
        box-shadow: 0px 2px 10px #FFB946;
        border-radius: 4px;
        color: #52575C;
        border: none;
        padding: 0.375rem 0.75rem;
        letter-spacing: 0.01em;
        font-weight: 500;
        font-style: normal;
        line-height: 16px;
    }

        .btn-ks.btn-ks-api.dropdown-toggle::after {
            content: none;
        }

        .btn-ks.btn-ks-api i.ksi-down1 {
            margin-left: 10px;
            vertical-align: middle;
            font-size: 20px;
            transition: transform 0.3s ease-in-out;
        }

        .btn-ks.btn-ks-api[aria-expanded="true"] i {
            transform: rotatex(180deg);
        }

    .btn-ks.btn-ks-lg {
        padding: 0.65rem 3.75rem;
    }

    .btn-ks.btn-ks-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        line-height: 1.5;
        border-radius: 0.2rem;
    }

    .btn-ks.badge-pill {
        border-radius: 10rem;
    }

    .btn-ks.btn-ks-dropdown {
        background: #ffda00;
        color: #52575C;
    }

    .btn-ks.default-shadow {
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    }

    .btn-ks.primary-shadow {
        box-shadow: 4px 4px 10px #007EFF;
    }

    .btn-ks.warning-shadow {
        box-shadow: 4px 4px 10px #FFB946;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'KrungsriCondensedBold' !important;
}

body {
    font-family: 'sukhumvit_settext' !important;
    height: 100vh;
}

@media (max-width: 768px) {
    body {
        height: auto;
    }
}

div.ks-banner-signup {
    /*background: url(~/Resource/assets/login/login-bg.jpg) center center no-repeat;*/
    background: url('/Resource/assets/banner/MyApp_BG.jpg') no-repeat center center;
    /*background: url(~/getdoc/e7c86f7c-70e0-4114-8a75-d0346de6a7d2/MyApp_BG.aspx) center center no-repeat;*/
    background-size: cover;
    padding: 50px 0;
    height: 100vh;
}

@media (max-width: 768px) {
    div.ks-banner-signup {
        background-size: auto;
    }
}

div.ks-banner-forgot {
    background: url(~/Resource/assets/forgot/forgot-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 50px 0;
    height: 100vh;
}

@media (max-width: 768px) {
    div.ks-banner-forgot {
        background-size: auto;
    }
}

div.ks-banner-reset {
    background: url(/Resource/assets/forgot/forgot-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 50px 0;
    height: 100vh;
}
.h-100 {
    height: 100% !important;
}
small {
    font-size: 80%;
    font-weight: 400;
}

.form-control {
    display: block;
    width: 100%;
    /*height: calc(1.5em + .75rem + 2px);*/
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    /*border-radius: .25rem;*/
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.invalid-feedback {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20fill='none'%20stroke='%23dc3545'%20viewBox='0%200%2012%2012'%3e%3ccircle%20cx='6'%20cy='6'%20r='4.5'/%3e%3cpath%20stroke-linejoin='round'%20d='M5.8%203.6h.4L6%206.5z'/%3e%3ccircle%20cx='6'%20cy='8.2'%20r='.6'%20fill='%23dc3545'%20stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
label {
    display: inline-block;
    margin-bottom: .5rem;
}
@media (max-width: 768px) {
    div.ks-banner-reset {
        background-size: auto;
    }
}

div.ks-banner-thanks {
    background: url(~/Resource/assets/thanks/thank-you-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 50px 0;
    height: 100vh;
}

@media (max-width: 768px) {
    div.ks-banner-thanks {
        background-size: auto;
    }
}

.card-header {
    border-bottom: 0;
    padding: 0.75rem 0.85rem;
}
/* Login */
.ks-login {
    height: 100%;
    max-width: 420px;
    margin: 0 auto;
}

    .ks-login .ks-developer-text {
        margin: 10px auto;
        color: #705F5F;
        font-size: 24px;
        text-align: center;
        padding: 10px 0 30px;
    }

        .ks-login .ks-developer-text span {
            color: #ffda00;
        }

    .ks-login .ks-form.card {
        border-color: transparent;
        border-radius: 4px;
        font-family: 'sukhumvit_settext';
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    }

    .ks-login .ks-form .btn-ks-login {
        padding: 0.85rem 1rem;
    }

    .ks-login .ks-form .ks-forgot {
        padding: 0.5rem 1.5rem;
        color: #474747;
    }

    .ks-login .ks-form .ks-signup {
        padding: 0.75rem 1rem;
    }
/* Login */
/* Forgot Password & Reset Password */
.ks-reset,
.ks-forgot {
    height: 100%;
    max-width: 620px;
    margin: 0 auto; /*50px auto;*/
}

    .ks-reset .ks-form h1,
    .ks-forgot .ks-form h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #705F5F;
    }

    .ks-reset .ks-form .desc-text,
    .ks-forgot .ks-form .desc-text {
        color: #705F5F;
    }

    .ks-reset .ks-form .small-text,
    .ks-forgot .ks-form .small-text {
        font-size: 14px;
        margin-bottom: 2rem;
    }

    .ks-reset .ks-form label,
    .ks-forgot .ks-form label {
        color: #705F5F;
        padding-left: 0.5rem;
    }
/* Forgot Password & Reset Password */
input {
    font-family: 'sukhumvit_settext';
}

    input.form-control {
        border-color: #C2CFE0;
        border-radius: 4px;
        height: calc(1.5em + 1.75rem + 2px);
    }

.fix-close {
    float: right;
}

    .fix-close.no-card {
        position: fixed;
        top: 50px;
        right: 50px;
    }

@media (max-width: 768px) {
    .fix-close.no-card {
        top: 15px;
        right: 15px;
    }
}

.fix-close a {
    color: #705F5F;
    font-size: 22px;
}

@media (max-width: 768px) {
    .fix-close a {
        font-size: 1rem;
    }
}

.fix-close a:hover {
    color: #705F5F;
    text-decoration: none;
}
