/* font-family: 'Jost', sans-serif;
font-family: 'Quicksand', sans-serif; */

body {
    font-family: 'Jost', sans-serif;
}

.text-violet{
    color: #2F2D51 !important;
}

.text-cream{
    color: #FFC78B !important;
}

.bg-violet {
    background: #2F2D51 !important;
    /* color: #fff; */
}

.bg-cream {
    background: #FFC78B !important;
    /* color: #fff; */
}

.btn-violet {
    background: #2F2D51;
    color: #fff;
}

.btn-violet:hover {
    background: #1b1a33;
    color: #fff;
}

.table-fit {
    width: 1%;
    white-space: nowrap;
}

.space {
    height: 80px;
}

.form-control:focus {
    border-color: #2F2D51;
    box-shadow: none;
}

.main-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background: #F7F9FB;
}

.main-navbar .navbar-brand img {
    width: 50px;
    margin-right: 10px;
}

.main-navbar .navbar-brand {
    font-size: 26px;
    font-weight: 500;
    color: #2F2D51;
}

.main-navbar .navbar-brand:hover {
    color: #2F2D51;
}

.main-navbar .nav-item {
    margin-left: 10px;
    margin-right: 10px;
}

.main-navbar .nav-item .nav-link {
    color: #2F2D51;
    font-size: 18px;
}

.main-navbar .nav-item .nav-link:hover {
    opacity: 0.7;
}

.main-navbar .nav-item .active {
    font-weight: 600;
}

.dropdown-item:active{
    background: #2F2D51;
    color: #fff;
}

.my-slider{
    height: calc(100vh - 80px);
}

.my-slider .content {
    position: relative;
}

.my-slider .content .caption {
    position: absolute;
    padding: 25px;
    background: #2F2D51;
    border-radius: 10px;
    z-index: 1;
    right: 6%;
    top: 50%;
    transform: translateY(calc(-50% - 40px));
    width: 550px;
}

.my-slider .content .caption h1 {
    color: #FFC78B;
}

.my-slider .content .caption p {
    color: #fff;
}

.my-slider .content .caption .btn {
    background: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 10px;
}

.my-slider .content .overlay {
    width: 100%;
    height: 100%;
    background: #000;
    position: absolute;
    top: 0;
    opacity: 0.2;
}

.my-slider .content img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.service {
    background: #F0FDF8;
    padding-top: 60px;
    padding-bottom: 60px;
}

.service .item {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.service .item .icon {
    border: 1px solid #F5DEBC;
    padding: 25px;
    border-radius: 50%;
}

.service .item .icon i {
    color: #EE8E00;
    font-size: 46px;
    background: #F5DEBC;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service .item h2 {
    font-size: 20px;
}

.latest,
.blog-home {
    background: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.latest a,
.popular a,
.product .list a,
.other-product a {
    text-decoration: none;
}

.latest .item,
.popular .item,
.product .list .item,
.other-product .item {
    padding: 15px;
    color: #000;
    border: 1px solid #e7e7ec;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    height: calc(100% - 30px);
}

.latest .item .cover,
.popular .item .cover,
.product .list .item .cover,
.other-product .item .cover {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: calc((.5625 * 100%) + 100%);
    margin-bottom: 20px;
}

.latest .item .cover img,
.popular .item .cover img,
.product .list .item .cover img,
.other-product .item .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: calc(50%);
    left: calc(50%);
    transform: translate(-50%, -50%);
    display: block;
    max-height: none;
    max-width: none;
}

.latest .item h3,
.popular .item h3,
.product .list .item h3,
.other-product .item h3 {
    font-size: 16px;
    font-weight: 400;
    color: #77838f;
}

.latest .item .title,
.popular .item .title,
.product .list .item .title,
.other-product .item .title {
    /* height: 60px; */
}

.latest .item h2,
.popular .item h2,
.product .list .item h2,
.other-product .item h2 {
    font-size: 22px;
}

.latest .item p,
.popular .item p,
.product .list .item p,
.other-product .item p {
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.latest .item p span,
.popular .item p span,
.product .list .item p span,
.other-product .item p span {
    text-decoration: line-through;
    margin-left: 5px;
    color: #77838f;
    font-weight: normal;
    font-size: 16px;
}

.latest .item .sale,
.popular .item .sale,
.product .list .item .sale,
.other-product .item .sale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2F2D51;
    color: #fff;
    border-radius: 10px;
    padding: 2px 20px;
    font-size: 18px;
    font-weight: 600;
}

.popular {
    background: #2F2D51;
    padding-top: 60px;
    padding-bottom: 60px;
}

.popular h1 {
    color: #fff;
}

.popular p {
    color: #acb2b9;
}

.latest .btn,
.blog-home .btn {
    color: #fff;
    background: #2F2D51;
    font-size: 22px;
    width: 160px;
    border-radius: 10px;
}

.blog {
    padding-top: 60px;
    padding-bottom: 60px;
}

.blog .list .item {
    margin-bottom: 30px;
}

.blog .list .item a {
    text-decoration: none;
    color: #000;
}

.blog .list .item .thumbnail {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: calc(.96 * 100%);
    border-radius: 10px;
}

.blog .list .item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: calc(50% + 1px);
    left: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
    display: block;
    max-height: none;
    max-width: none;
}

.blog .list .item .content {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog .list .item .author,
.blog-detail .author {
    display: flex;
    align-items: center;
}

.blog .list .item .author img,
.blog-detail .author img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid #e7e7ec;
    padding: 5px;
}

.blog .list .item .author h3,
.blog-detail .author h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.blog .list .item .author h4,
.blog-detail .author h4 {
    font-size: 16px;
    color: #acb2b9;
    margin-bottom: 0;
    font-weight: 400;
}

.blog-detail {
    padding: 60px 15%;
}

.other-post {
    padding-bottom: 60px;
}

.blog-home .item,
.other-post .item {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #e7e7ec;
    height: calc(100% - 10px);
}

.blog-home a,
.other-post a {
    text-decoration: none;
    color: #000;
}

.blog-home .item .thumbnail,
.other-post .item .thumbnail {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: calc(.6666 * 100%);
    border-radius: 5px;
}

.blog-home .item .thumbnail img,
.other-post .item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: calc(50% + 1px);
    left: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
    display: block;
    max-height: none;
    max-width: none;
}

.blog-home .item p,
.other-post .item p {
    color: #77838f;
}

.blog-home .item h3,
.other-post .item h3 {
    font-size: 22px;
}

.product {
    padding-top: 60px;
    padding-bottom: 60px;
}

.product .category a {
    text-decoration: none;
    color: #77838f;
    padding: 5px 10px;
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 500;
}

.product .category .active,
.product .category a:hover {
    color: #2f2d51;
    border-bottom: 4px solid #2f2d51;
}

.product-detail {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #2F2D51;
    color: #fff;
}

.product-detail h4 {
    color: #77838A;
    font-size: 20px;
}

.product-detail h3 span {
    color: #77838A;
    font-size: 16px;
    margin-left: 10px;
    text-decoration: line-through;
}

.product-detail .badge {
    background: #B8B2FD;
    font-size: 16px;
    font-weight: 400;
}

.product-detail .btn {
    background: #39C36D;
    color: #fff;
    font-size: 20px;
}

.other-product {
    padding-top: 60px;
    padding-bottom: 60px;
}

.other-product .item {
    padding: 10px;
}

.other-product .item .sale {
    font-size: 16px;
}

.other-product .item h3 {
    font-size: 12px;
}

.other-product .item h2 {
    font-size: 18px;
}

.other-product .item p {
    font-size: 16px;
}

.other-product .item p span {
    font-size: 12px;
}

.contact {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact .btn {
    background: #2F2D51;
    color: #fff;
    padding: 15px 0;
    width: 200px;
    font-size: 20px;
    font-weight: 600;
}

.exercise {
    padding-top: 30px;
    padding-bottom: 30px;
}

.exercise .code-form {
    border-radius: 20px;
}

.exercise .code-form .btn {
    width: 100%;
    background: #2F2D51;
    color: #fff;
}

.exercise p {
    font-size: 20px;
}

.exercise .option .answer-box {
    margin-bottom: 10px;
}

.exercise .option .answer-box input {
    display: none;
}

.exercise .option .answer-box label {
    display: flex;
    padding: 10px;
    border: 2px solid #ebebeb;
    border-radius: 5px;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.exercise .option .answer-box input:checked+label,
.exercise .option .answer-box label:hover {
    border: 2px solid #2F2D51;
}

.exercise .option .answer-box input:checked+label .number,
.exercise .option .answer-box label:hover .number {
    color: #fff;
    background: #2F2D51;
    font-weight: 600;
}

.exercise .option .answer-box label .number {
    background: #ebebeb;
    color: #2F2D51;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.exercise .navigation .btn {
    border-radius: 10px;
    background: #2F2D51;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    width: 80px;
    padding: 2px;
}

.exercise .navigation .btn:hover {
    opacity: 0.8;
}

.exercise .number-container {
    /* position: fixed;
    width: 33%; */
}

.exercise .number .item {
    width: 20%;
    text-align: center;
}

.exercise .number .item .btn {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    color: #2F2D51;
    background: #fff;
    font-weight: 500;
}

.exercise .number .item .btn:hover {
    background: #2F2D51 !important;
    color: #fff !important;
}

.exercise .number .item .btn.active {
    background: #2F2D51 !important;
    color: #fff !important;
}

.exercise .number .item .btn.done {
    background: #FFC78B;
    color: #fff;
}

.breadcrumb a {
    text-decoration: none;
    color: #acb2b9;
    margin-right: 5px;
}

.breadcrumb a::after {
    content: '/';
    margin-left: 5px;
}

.breadcrumb .active {
    font-weight: 500;
    color: #000;
    cursor: default;
    pointer-events: none;
}

.breadcrumb .active::after {
    content: none;
}


/* .pagination a {
    text-decoration: none;
    color: #2F2D51;
    margin-right: 8px;
    margin-left: 8px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #e7e7ec;
    height: 45px;
    width: 45px;
}

.pagination .active,
.pagination a:hover {
    color: #fff;
    background: #2F2D51;
} */

.pagination .page-item {
    margin-right: 7px;
    margin-left: 7px;
}

.pagination .page-item .page-link {
    border-radius: 50%;
    border: 1px solid #e7e7ec;
    padding: 0;
    height: 45px;
    width: 45px;
    color: #2F2D51;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    color: #fff;
    background: #2F2D51;
}

.pagination .page-item.disabled .page-link {
    background: #ececec;
}

.pagination .page-item .page-link:focus {
    box-shadow: none;
}

.profile {
    padding-top: 60px;
    padding-bottom: 60px;
}

.profile .sidebar {
    border-radius: 20px;
    background: #2F2D51;
    color: #fff;
}

.profile .sidebar .info {
    background: #fff;
    border-radius: 20px;
    color: #2F2D51;
}

.profile .sidebar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.profile .sidebar .link {
    /* background: #f8f9fb; */
}

.profile .sidebar .link a {
    text-decoration: none;
    padding: 10px 15px;
    /* color: #2F2D51; */
    color: #fff;
    font-size: 18px;
}

.profile .sidebar .link a:hover {
    /* color: #fff;
    background: #2F2D51; */
    background: #f8f9fb;
    color: #2F2D51;
}

.profile .item {
    border-radius: 20px;
}

.profile .item .status .btn {
    border-radius: 20px;
    font-size: 14px;
}

.footer {
    background: #F7F9FB;
    color: #2F2D51;
    padding-top: 60px;
}

.footer .copyright {
    font-weight: 500;
}

.footer .info .icon img {
    width: 40px;
}

.footer .info .icon h2 {
    font-size: 20px;
    font-weight: 600;
}

.footer .info .table {
    font-size: 18px;
}

.footer h5 {
    font-weight: 500;
    font-size: 20px;
}

.footer .socmed a {
    text-decoration: none;
    color: #2F2D51;
    margin-bottom: 5px;
    font-size: 18px;
}

.footer .socmed a i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #2F2D51;
    border-radius: 50%;
    margin-right: 5px;
}

.footer iframe {
    width: 100%;
    height: 160px;
    border-radius: 10px;
}

.footer .btn {
    background: #2F2D51;
    color: #fff;
    font-weight: 500;
    border-radius: 10px;
}

.auth {
    background: #e4e4e4;
}

.auth img {
    width: 40px;
}

.auth h1 {
    font-size: 24px;
}