@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;700;800&display=swap');
:root {
    --primary-color: #0083FF;
    --primary-hover-color: #0082D8;
}

*,
*:after,
*::before {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: #303030;
    background-color: #fff;
}

html {
    font-size: 16px;
}

.container {
    width: 980px;
    max-width: 100%;
}


/* COLOR THEME */

.bg-primary {
    background: var(--primary-color)!important;
}

.text-primary {
    color: var(--primary-color)!important;
}

.text-muted {
    color: #aaa!important;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    font-family: 'Exo 2', sans-serif;
}

.exo {
    font-family: 'Exo 2', sans-serif;
}

.h2 {
    font-size: 38px;
}

.font-weight-regular {
    font-weight: 400;
}

.article ul,
.article ol {
    margin-left: 1rem;
}


/* BUTTON */

a {
    color: #7B7978;
}

.btn,
button {
    outline: none!important;
}

.btn:focus,
button:focus {
    box-shadow: none!important;
}

.btn.btn-primary {
    background: var(--primary-color);
    border: 1px solid transparent;
    color: #fff;
}

.btn.btn-primary:hover {
    background: var(--primary-hover-color);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color)!important;
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color)!important;
    color: #fff;
}

.btn-outline-gray {
    border: 1px solid #aaa;
    color: #aaa;
}

.btn-outline-gray:hover {
    border: 1px solid #aaa;
    background: #aaa;
    color: #fff;
}

.btn-default {
    color: #495057;
    background-color: #fff;
    border: 1px solid rgba(0, 40, 100, 0.12);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
}

.btn-default:hover {
    background: #f6f6f6;
    border: 1px solid rgba(0, 20, 49, 0.12);
}

.btn-white {
    background: #fff;
    border: none;
}

.btn-white:hover {
    background: #eee;
}


/* IMAGE */

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.rounded-15 {
    border-radius: 15px;
}

.rounded-25 {
    border-radius: 25px;
}

.card.shadow {
    border: none;
    box-shadow: 0px 15px 30px #0001!important;
}


/* HEADER */

.header {
    background: #fff;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    padding: 0;
    z-index: 100;
}

.dropdown-circle-menu a.avatar {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    padding: 2px;
}

.dropdown-circle-menu a.avatar span.circle {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: block;
    border-radius: 50%;
}

.dropdown-circle-menu a.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.header .dropdown-menu {
    border: none;
    box-shadow: 0px 4px 15px #0001;
}

.navigation {
    z-index: 10;
    position: relative;
}

.card-navigation {
    border-radius: 15px;
    box-shadow: 0 4px 15px #0001;
    border: none;
}

.navigation .nav-link {
    font-family: 'Exo 2', sans-serif;
    color: #303030;
}

.navigation .nav-item.active .nav-link {
    color: var(--primary-color);
    position: relative;
    position: relative;
}

.navigation .nav-item.active .nav-link:before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.searchform .form-control {
    background: #F2F9FF;
    border: 1px solid transparent;
    color: #A7D4FF;
    border-radius: 10px;
}

.searchform .form-control::placeholder {
    color: #A7D4FF;
}

.searchform .btn {
    border-radius: 10px!important;
}

.searchform-alt {
    border: 1px solid #aaa;
    border-radius: 8px;
}

.searchform-alt .form-control {
    border-radius: 8px;
    border: none!important;
    outline: none;
    box-shadow: none!important;
}

.img-bg-right {
    position: absolute;
    top: 0;
    right: 0;
}

.section-product-front {
    position: relative;
}

.section-product-front:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(-50%) translateY(-15%);
}

.section-psychotest-front {
    overflow: hidden;
    position: relative;
}

.section-psychotest-front:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(50%) translateY(0);
}

.row-psychotest-slider {
    width: calc(250px * 4)!important;
}

.row-psychotest-slider .slick-slide {
    height: auto!important;
}

.row-psychotest-slider .col {
    padding: 10px 0 30px 0px;
}

.card-psychotest {
    width: 230px;
    box-shadow: 0px 4px 25px #0001;
    text-decoration: none!important;
    transition: .3s ease;
}

.card-psychotest:hover {
    transform: translateY(-10px);
}

.row-psychotest-slider .slick-slide {
    outline: none!important;
    box-shadow: none!important;
}

.section-psychologist-front {
    overflow: hidden;
}

.row-psychologist-slider {
    width: calc(250px * 4)!important;
}

.row-psychologist-slider .slick-slide {
    height: auto!important;
}

.row-psychologist-slider .col {
    padding: 10px 0 30px 0px;
}

.card-psychologist {
    width: 230px;
    box-shadow: 0px 4px 25px #0001;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none!important;
    transition: .3s ease;
}

.card-psychologist:hover {
    transform: translateY(-10px);
}

.card-psychologist:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(#0000, #000);
}

.card-psychologist .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    color: #fff;
}

.row-psychologist-slider .slick-slide {
    outline: none!important;
    box-shadow: none!important;
}

.footer-top .nav-link {
    color: #303030;
}

.footer-middle {
    color: #aaa;
    border-bottom: 1px solid #E5E5E5;
}

.footer-bottom {
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
}

.footer-contact,
.footer-contact a {
    color: #303030;
    font-weight: bold;
    font-size: 1.125rem;
}

.page-login {
    height: 100vh;
}

.page-login .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 100px);
    height: 100%;
    object-fit: cover;
}

.page-login .content {
    background: #fff;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    position: relative;
    padding: 50px!important;
}

.page-login .content .bg-fingerprint {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
}

.form-control {
    border: 1px solid #1ECCA2;
    border-radius: 8px;
}

.form-control:focus {
    border: 1px solid #303030;
}

.valid-feedback {
    font-size: 1rem;
    color: #1ECCA2;
}

.invalid-feedback {
    font-size: 1rem;
    color: #E94747;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    background-image: url(../images/icon/Icon-Verify.svg);
}

.form-control.is-invalid,
.was-validated .form-control:valid {
    background-image: url(../images/icon/Icon-Invalid.svg);
}

.section-product-detail {
    position: relative;
}

.bg-circle-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(15%) translateY(-15%);
}

.bg-circle-double-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(10%) translateY(-30%);
}

.bg-circle-double-right:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translate(-50%, -50%);
}

.bg-circle-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 508px;
    height: 508px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(-30%) translateY(30%);
}

table.table th {
    background: #F6F6F6;
    border: none;
    font-weight: 500;
    color: #aaa;
}

table.table .rounded th:first-child {
    border-radius: 10px 0 0 10px;
}

table.table .rounded th:last-child {
    border-radius: 0px 10px 10px 0;
}

table.table td {
    color: #303030;
    border: none;
    border-bottom: 1px solid #E5E5E5;
}

.select2-container .select2-selection--single {
    border: 1px solid #1ECCA2!important;
    border-radius: 8px!important;
    height: 38px!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px!important;
}

.section-mission {
    margin-top: -180px;
    position: relative;
}

.section-mission:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px dotted #0083FF;
    transform: translateX(20%);
}

.section-mission h3 {
    position: relative;
}

.section-mission h3:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
    width: 400px;
    border-bottom: 1px dotted #0083FF;
}

.section-mission h3:after {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #0083FF;
    position: absolute;
    top: 50%;
    right: 200px;
    transform: translateY(-50%);
    border-radius: 50%;
}

.section-mission .image {
    position: relative;
    z-index: 10;
}

.section-product-about:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(-20%) translateY(-15%);
}

.section-product-about:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    transform: translateX(10px) translateY(15px);
}


/*jQuery Validation*/

label.error {
    color: red;
}

.nav-user-menu .nav-item .nav-link {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
    min-width: 150px;
}

.nav-user-menu .nav-item .nav-link.active {
    background: #F2F9FF;
    color: #0083FF;
}

.nav-user-menu .icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0 0 5px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-user-menu .icon.icon-profile {
    background-image: url(../images/icon/Icon-Tab-Profile.svg);
}

.nav-user-menu .nav-link.active .icon.icon-profile {
    background-image: url(../images/icon/Icon-Tab-Profile-Active.svg);
}

.nav-user-menu .icon.icon-order {
    background-image: url(../images/icon/Icon-Tab-Order.svg);
}

.nav-user-menu .nav-link.active .icon.icon-order {
    background-image: url(../images/icon/Icon-Tab-Order-Active.svg);
}

.nav-user-menu .icon.icon-notification {
    background-image: url(../images/icon/Icon-Tab-Notification.svg);
}

.nav-user-menu .nav-link.active .icon.icon-notification {
    background-image: url(../images/icon/Icon-Tab-Notification-Active.svg);
}

.nav-user-menu .icon.icon-voucher {
    background-image: url(../images/icon/Icon-Tab-Voucher.svg);
}

.nav-user-menu .icon.icon-recap {
    background-image: url(../images/icon/icon-archive.svg);
    opacity: 0.4;
}

.nav-user-menu .nav-link.active .icon.icon-voucher {
    background-image: url(../images/icon/Icon-Tab-Voucher-Active.svg);
}

.nav-user-menu .nav-link.active .icon.icon-recap {
    background-image: url(../images/icon/icon-archive.svg);
    opacity: 0.4;
}

.nav-user-menu .icon.icon-setting {
    background-image: url(../images/icon/icon-setting.svg);
}

.nav-user-menu .nav-link.active .icon.icon-setting {
    background-image: url(../images/icon/icon-setting-active.svg);
}


/* RESPONSIVE */

@media (max-width: 768px) {}

@media (max-width: 480px) {
    .row-psychotest-slider,
    .row-psychologist-slider {
        width: calc(170px * 5)!important;
    }
    .card-psychologist,
    .card-psychotest {
        width: 150px;
    }
    .btn-dropdown-user-toggler {
        border: none!important;
    }
    .section-mission {
        margin: 0;
    }
}


/* LOADING */

body.loading:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 99998;
}

body.loading:after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid #187FE0;
    border-top: 2px solid transparent;
    border-radius: 50%;
    z-index: 99999;
    animation: preload .6s linear infinite;
}

@keyframes preload {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@-webkit-keyframes glowing {
    0% {
        background-color: #B20000;
        -webkit-box-shadow: 0 0 3px #B20000;
    }
    50% {
        background-color: #FF0000;
        -webkit-box-shadow: 0 0 40px #FF0000;
    }
    100% {
        background-color: #B20000;
        -webkit-box-shadow: 0 0 3px #B20000;
    }
}

@-moz-keyframes glowing {
    0% {
        background-color: #B20000;
        -moz-box-shadow: 0 0 3px #B20000;
    }
    50% {
        background-color: #FF0000;
        -moz-box-shadow: 0 0 40px #FF0000;
    }
    100% {
        background-color: #B20000;
        -moz-box-shadow: 0 0 3px #B20000;
    }
}

@-o-keyframes glowing {
    0% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
    50% {
        background-color: #FF0000;
        box-shadow: 0 0 40px #FF0000;
    }
    100% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
}

@keyframes glowing {
    0% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
    50% {
        background-color: #FF0000;
        box-shadow: 0 0 40px #FF0000;
    }
    100% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
}

.img-bg-full {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

.bg-img-default {
    background-color: rgba(0, 131, 255, 0.05);
}

.loader-1 {
    background-image: url('../../admin/images/loader/1.svg');
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-vertical-center {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-contain-center-left {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
}

.btn-remove-img {
    top: 10%;
    right: 10%;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    cursor: pointer;
    background-color: #eee;
    opacity: 0.8;
}

.btn-remove-img:hover {
    color: #000;
    opacity: 1;
}

.btn-upload-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
