body {
    color: #333;
}

.clearfix {
    clear: both;
}

.p85 {
    font-size: 85%;
}

.p90 {
    font-size: 90%;
}

.p95 {
    font-size: 95%;
}

.bg-light-1 {
    background-color: #F0F0F0;
}

.page-section .nav, .page-section .card {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .10);
}

.grid-view table th, .grid-view .summary {
    font-size: 95%;
}


.grid-view .summary, .grid-view .pagination {
    padding: 1rem;
}

.grid-view table td {
    font-size: 90%;
}

.btn-scroll-top {
    border-color: #666;
    background-color: #666;
    color: #ffffff;
    position: fixed;
    display: none;
    right: 10px;
    bottom: 20px;
    z-index: 1601;
    line-height: 1em;
    padding: 10px;
    border-radius: 50%;
    outline: none !important;
    box-shadow: none !important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

header nav {
    border-bottom: 2px solid #d8d8d8;
    min-height: 75px;
}

.navbar-brand {
    font-weight: bold;
    font-family: Candara, Arial;
    color: #B71918 !important;
    min-height: 3rem;
    line-height: 3rem;
}

header .nav .btn {
    border-radius: 1rem;
}

#w1 .nav-item  .nav-link.active {
    background-color: #007bff;
    color: #FFF;
    border-radius: 5px;
}

/* Carousel base class */
.carousel {
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 340px;
    background-size: cover;
    background-position: center;
}

.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}


/** content */
.page-section {
    padding: 5em 0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.contact-info .fa {
    color: #2A68C9;
    font-size: 4rem;
    line-height: 6rem;
}


.breadcrumb-links a {
    font-size: 15px;
    font-weight: 500;
    color: #111111;
    margin-right: 18px;
    display: inline-block;
    position: relative;
}

.breadcrumb-links a:after {
    position: absolute;
    right: -14px;
    top: 0;
    content: "";
    font-family: "FontAwesome";
}

.breadcrumb-links a i {
    margin-right: 5px;
}

.breadcrumb-links span {
    font-size: 15px;
    font-weight: 500;
    color: #888888;
    display: inline-block;
}

.page-default-index .index-welcome {
    background-image: url("../images/home-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 75px);
    padding-top: 0;
}

.index-welcome h1 {
    font-size: 37px;
    font-weight: 400;
}
.index-welcome p {
    max-width: 800px;
    font-size: 18px;
    font-weight: 400;
    margin: 35px auto 0 auto;
}

.page-default-index .index-secondary-info {
    background-color: #DCDCDC;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    padding: 15px;
    text-align: center;
}

.index-secondary-info {
    font-size: 1.1rem;
}

.count {
    padding: 3px 8px;
}

.count-border {
    border: 1px solid #CCC;
    border-radius: 5px;
}

.count-index {
    text-align: center;
    margin: 0;
    padding: 1rem;
    color: #CCC;
    background-color: #000;
}

.top-notice {
    text-align: center;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.splash-alert .alert {
    height: 120px;
}

.page-chapter-view h5 {
    font-size: 1rem;
}

.page-chapter-view .product-brief {
    font-size: .9rem;
}

.page-chapter-view .ribbon, .page-paper-splash .ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}
.page-chapter-view .ribbon::before, .page-chapter-view .ribbon::after, .page-paper-splash .ribbon::before, .page-paper-splash .ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;
}
.page-chapter-view .ribbon span, .page-paper-splash .ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #3498db;
    box-shadow: 0 5px 10px rgba(138, 38, 38, 0.1);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(185, 17, 17, 0.2);
    text-transform: uppercase;
    text-align: center;
}
.fee span {
    background-color: #C82333 !important;
}
.free span {
    background-color: #C82333 !important;
}

.btn-danger, .bg-danger {
    background-color: #B61918;
}

.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}


.product-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-top-bar .product-bar-single {
    display: inline-block;
}

.card-img-top img {
    width: 100%;
    max-height: 200px;
    border-radius: .25rem .25rem 0 0;
}

.question-type-top img {
    height: 230px;
}

.product-brief {
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clamp-1 {
    height: 30px;
    -webkit-line-clamp: 1;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.newsletter-img {
    box-shadow: 0px 0px 30px 0px rgba(133, 129, 192, 0.3);
}

#login-code {
    height: 3rem;
}

.btn-get-code {
    width: 8rem;
}

/* float right */
#floatButton {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 9999999;
}

#floatButton .btn {
    background-color: #FFF;
    border: 1px solid #CCC;
}

#floatButton .btn:focus {
    outline: 0
}

@media screen and (max-width: 767px) {
    #floatButton {
        display: none;
    }
}

.pageQrcode img.qrcode {
    position: absolute;
    right: 50px;
    bottom: -34px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    max-width: 130px;
}

.pageQrcode:hover img.qrcode {
    display: block
}

.progress {
    position: relative;
    margin-bottom: 0;
    height: 20px;
    background-color: #f7f7f7;
    background-image: linear-gradient(to bottom,#f5f5f5,#f9f9f9);
    background-repeat: repeat-x;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    width: 320px;
    max-width: 320px;
}

.progress .progressbar-back-text {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.progress .bar {
    position: absolute;
    overflow: hidden;
    line-height: 20px;
    height: 100%;
    color: #fff;
    float: left;
    font-size: 12px;
    text-align: center;
}

.progress-warning .bar {
    background-color: #faa732;
    background-repeat: repeat-x;
}

.progress .progressbar-front-text {
    display: block;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    width: 320px;
    max-width: 320px;
}

@media (max-width: 576px) {
    .product-top-bar {
        display: block !important;
    }

    .product-top-bar-inner {
        width: 100%;
        margin: 1rem 0;
    }
}

.pagination-option a, .view-pagination li {
    display: inline-block;
    height: 40px;
    width: 40px;
    border: 1px solid #f2f2f2;
    border-radius: 50%;
    font-size: 14px;
    background: #fff;
    color: #111111;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    -webkit-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    transition: all, 0.3s;
    margin-right: 6px;
}

.pagination-option .disabled {
    color: #CCC;
}

.pagination-option a:last-child {
    margin-right: 0;
}

.pagination-option a i {
    font-weight: 600;
}

.pagination-option a:hover, .view-pagination li.active a {
    background: #0d0d0d;
    border-color: #0d0d0d;
    color: #ffffff;
}

.info-box {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background: #ffffff;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .8rem;
    position: relative;
    width: 100%;
}

.tooltip-inner {
    min-width: 320px;
    text-align: left;
}

.input-search {
    position: relative;
}

.input-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 10px;
    border: none;
    border-radius: 0 200px 200px 0;
    background: 0 0;
}

/*** login ***/
.section-login .login-part-text, .section-login .login-part-text {
    padding: 20px;
    height: 360px;
    display: table;
}

.login-part-form {
    padding-bottom: 2rem;
}

.section-login .login-part-text {
    background-image: -moz-linear-gradient(90deg, #B08EAD 0%, #4B3049 64%, #B08EAD 100%);
    background-image: -webkit-linear-gradient(90deg, #B08EAD 0%, #4B3049 64%, #B08EAD 100%);
    background-image: linear-gradient(90deg, #B08EAD 0%, #4B3049 64%, #B08EAD 100%);
    background-size: 200% auto;
    border-radius: 3px;
}

.section-login .login-part-text .login-part-text-inner, .section-login .login-part-text .login-part-text-inner, .section-login .login-part-text .login-part-text-inner, .section-login .login-part-text .login-part-text-inner {
    display: table-cell;
    vertical-align: middle;
}

.section-login .login-part-text h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    color: #fff;
    margin-bottom: 17px;
}

.section-login .login-part-text p {
    color: #fff;
    line-height: 25px;
}

.btn-1 {
    display: inline-block;
    padding: 17px 50px;
    border-radius: 5px;
    background-color: #2577fd;
    border: 2px solid #2577fd;
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-transform: capitalize;
    color: #fff;
}

.btn-1:hover {
    background-color: #fff;
    color: #2577fd;
}

.btn-3 {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid #2577fd;
    font-size: 15px;
    font-weight: 700;
    color: #2577fd;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.btn-3:hover {
    background-color: #2577fd;
    color: #fff;
}

.site-btn {
    font-size: 14px;
    color: #fff;
    background: #ca1515;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
}

.section-login .login-part-text .btn-3 {
    min-width: 70%;
    border: 1px solid #fff;
    background-color: transparent;
    font-size: 14px;
    margin-top: 28px;
    color: #fff !important;
}

.section-login .login-part-text .btn-3:hover {
    background-color: #fff;
    color: #2577fd !important;
}

.section-login .login-part-text h3 {
    margin-bottom: 20px;
}

.section-login .login-part-text .form-control {
    border: 0px solid transparent;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.section-login .login-part-text .form-control ::placeholder {
    color: #c3c3c3;
}

.section-login .creat_account {
    margin-top: 11px;
}

.section-login .creat_account label {
    color: #777777;
    font-size: 14px;
    margin-bottom: 0;
    margin-left: 10px;
}

.section-login .form-group .btn-3 {
    display: block;
    width: 100%;
    margin: 30px 0 17px;
}

.section-login .lost_pass {
    color: #777777;
    text-align: right;
    float: right;
    text-transform: capitalize;
}

/*** end of login ***/


/*** bootstrap ***/
.form-control-inline-auto {
    display: inline-block;
    width: auto !important;
}

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
    color: #3c763d;
}
.has-success .form-control {
    border-color: #3c763d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus {
    border-color: #2b542c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.has-success .input-group-addon {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #3c763d;
}
.has-success .form-control-feedback {
    color: #3c763d;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
    color: #8a6d3b;
}
.has-warning .form-control {
    border-color: #8a6d3b;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-warning .form-control:focus {
    border-color: #66512c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
.has-warning .input-group-addon {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #8a6d3b;
}
.has-warning .form-control-feedback {
    color: #8a6d3b;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    color: #a94442;
}
.has-error .form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-error .input-group-addon {
    color: #a94442;
    background-color: #f2dede;
    border-color: #a94442;
}
.has-error .form-control-feedback {
    color: #a94442;
}

.timeline {
    margin: 0 0 45px;
    padding: 0;
    position: relative;
}
.timeline::before {
    border-radius: 0.25rem;
    background-color: #dee2e6;
    bottom: 0;
    content: "";
    left: 31px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 4px;
}
.timeline > div {
    margin-bottom: 15px;
    margin-right: 10px;
    position: relative;
}
.timeline > div::after, .timeline > div::before {
    content: "";
    display: table;
}
.timeline > div > .timeline-item {
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    border-radius: 0.25rem;
    background-color: #fff;
    color: #495057;
    margin-left: 60px;
    margin-right: 15px;
    margin-top: 0;
    padding: 0;
    position: relative;
}
.timeline > div > .timeline-item > .time {
    color: #999;
    float: right;
    font-size: 12px;
    padding: 10px;
}
.timeline > div > .timeline-item > .timeline-header {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    color: #495057;
    font-size: 16px;
    line-height: 1.1;
    margin: 0;
    padding: 10px;
}
.timeline > div > .timeline-item > .timeline-header > a {
    font-weight: 600;
}
.timeline > div > .timeline-item > .timeline-body, .timeline > div > .timeline-item > .timeline-footer {
    padding: 10px;
}
.timeline > div > .timeline-item > .timeline-body > img {
    margin: 10px;
}
.timeline > div > .timeline-item > .timeline-body ol, .timeline > div > .timeline-item > .timeline-body ul, .timeline > div > .timeline-item > .timeline-body > dl {
    margin: 0;
}
.timeline > div > .timeline-item > .timeline-footer > a {
    color: #fff;
}
.timeline > div > .fa, .timeline > div > .fab, .timeline > div > .fad, .timeline > div > .fal, .timeline > div > .far, .timeline > div > .fas, .timeline > div > .ion, .timeline > div > .svg-inline--fa {
    background-color: #adb5bd;
    border-radius: 50%;
    font-size: 16px;
    height: 30px;
    left: 18px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 30px;
}
.timeline > div > .svg-inline--fa {
    padding: 7px;
}
.timeline > .time-label > span {
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    font-weight: 600;
    padding: 5px;
}
.timeline-inverse > div > .timeline-item {
    box-shadow: none;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}
.timeline-inverse > div > .timeline-item > .timeline-header {
    border-bottom-color: #dee2e6;
}
.dark-mode .timeline::before {
    background-color: #6c757d;
}
.dark-mode .timeline > div > .timeline-item {
    background-color: #343a40;
    color: #fff;
    border-color: #6c757d;
}
.dark-mode .timeline > div > .timeline-item > .timeline-header {
    color: #ced4da;
    border-color: #6c757d;
}
.dark-mode .timeline > div > .timeline-item > .time {
    color: #ced4da;
}

footer {
    background-color: #E2E3E5;
}

footer img {
    background-color: #FFF;
    padding: 5px;
    border-radius: 3px
}

footer a {
    color: #333;
}

.page-banner {
    background-color: #E2E3E5
}

.page-banner h1 {
    font-size: calc(1.2rem + 0.8vw);
    font-weight: 500;
}

.page-banner h5 {
    font-size: 1.1rem;
    line-height: 1.6rem;
    font-weight: 500;
    margin-bottom: 0;
}

.page-paper-train a {
    color: #666;
    font-size: 1.1rem;
}

.page-paper-train a:hover {
    color: #000;
}

.page-learn .card-body {
    border-radius: 2rem;
}
.page-learn .active {
    background: #9CFB9C;
}

.page-learn .learn-icon {
    right: 1.2rem;
}

.page-paper-learn .card-body:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .40);
    cursor: pointer;
}

.page-paper-learn h6 a, .page-paper-exercise h6 a, .page-paper-instrument h6 a, .page-tool-index h6 a {
    color: #555;
}

.page-paper-learn h6 a:hover {
    text-decoration: none;
}

.color-points {
    color: #28a745;
    font-weight: 500;
}

.text-444 {
    color: #444;
}

.text-555 {
    color: #555;
}

.text-888 {
    color: #888;
}

a.nav-link {
    color: #555;
}

.top-bottom {
    min-height: calc(100vh - 115px);
}

.menu-table {
    padding: 1rem;
    background-color: #F7F7F7;
    border-radius: .2rem;
    min-width: 60%;
    width: auto;
    display: inline-block;
}
.menu-table p {
    font-weight: 600;
    margin: 0;
}
.menu-table ol {
    margin-bottom: 0;
    color: #999;
}
.menu-table a {
    color: #666;
}

.block-comment, .comment-child {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.comment-header a {
    color: #555;
}

.comment-children {
    margin-left: 2rem;
}

@media (max-width: 991px) {
    .page-section {
        padding: 3em 0;
    }
    .login-title-label {
        display: none;
    }

    .section-login .login-part-text h2 {
        font-size: 20px;
    }
    .nav-item a {
        padding-left: 10px !important;
    }

    .fixed-on-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .header-nav {
        min-height: 75px;
    }

    .header-other {
        min-height: 5px;
    }

    .mt-75px {
        margin-top: 75px;
    }

    .page-banner h5 {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
