.tag-item {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 2px 10px;
    margin-right: 15px;
    color: #000;
    font-size: 0.8rem;
    margin-bottom: unset;
    margin-top:6px;
}
.tag-item:last-child {
    margin-right: 0;
}
.navbar-nav-sp {
    flex-direction: row!important;
}
.navbar-nav-sp a.btn-custom-last {
    margin-right: 0rem;
    margin-left: 2.2rem;
    margin-top: 5px;
}
.logo-sp {
    flex-grow: 1;
    text-align: center;
}
.logo-sp img{
    max-width: 150px;
}
.btn-search-sp{
    font-size: 22px;
    padding: 0 10px 0 9px !important;
    line-height: 40px;
    color: black!important;
}
.ul-nav-sp{
    border-bottom: 1px solid #4b545c;
}
.ul-btn-sp{
    padding-top: 8px
}
.ul-btn-sp a{
    margin-left: 1px;
    font-size: 16px;
    font-weight: 100;
}


/* ============================ top users ================================ */
a.nav-link.title-custom h4 {
    font-size: 18px;
}

a.nav-link.title-custom {
    padding-left: 5px!important;
}

/* ============================ top users ================================ */
.top .top-panel {
    border: 1px;
}

.top .top-panel {
    border-radius: 10px;
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.top img.panel-img {
    padding: 9px 0;
    height: 130px;
}

.top .panel-text {
    height: 100%;
    border-radius: 10px;
    background: #476ead;
    padding: 14px 15px 5px 15px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
}
.top .panel-text-header,
.top .panel-text-content{
    font-size: 0.75rem;
}
.top .panel-text-header {
    max-width: 245px;
    background: #fff;
    width: 100%;
}

.top .panel-text-content {
    max-width: 260px;
    color: #FFF;
    margin-top: 10px;
}
.top .top-content {
    padding-bottom: 5px;
    width: 100%;
    margin: auto;
}

.top h4.top-content-item-title {
    color: #000;
    text-align: center;
    border: none;
    margin: 5px 0;
    padding: 0;
}

.top .top-content-item-text {
    font-size: 11px;
    text-align: left;
}
.top .top-content-item {
    margin-bottom: 25px;
    padding: 0 10px;
}
.p-top-custom-p{
    padding: 0 1rem 1rem 1rem;
}
.top .top-content-item-title a{
    color: #000b16;
    font-size: 15px;
    font-weight: bold;
}
.top .top-content-item-title a:hover{
    color:#004b96 !important;
}
.top .top-content-item-img img {
    width: 100%;
}

/* ================================= search result ================================= */
:not(.layout-fixed) .main-sidebar {
    /*box-shadow: none !important;*/
}
.content-wrapper, .page-content {
    /*background-color: #fff;*/
    position: relative;
}
.page-content .breadcrumb {
    background: transparent;
    padding: 20px 0 0 0;
    margin: 0;
    font-size: 18px;
}
.page-content .breadcrumb a, .page-content .breadcrumb a:hover {
    color: #2878C8;
}
.page-content .breadcrumb-item.active {
    padding-left: 10px;
    color: #000;
}
.page-content .breadcrumb-item+.breadcrumb-item::before {
    content: "＞";
    padding-right: 8px;
}
.page-content {
    padding-left: 15px;
    padding-right: 15px;
}
.search-page {
    /*margin-top: 20px;*/
}
.search-page .form {
    width: 100%;
    margin: 0 0 20px 0;
}
.form-course-search {}
.form-course-search input {
    width: 100%;
    padding-right: 40px;
    border: 1px solid #dee2e6;
    color: #000;
    border-radius: 0;
    z-index: 1;
}
.form-course-search input:focus {
    border-color: #000;
}
.form-course-search button {
    border: none;
    background: transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}
.form-course-search button:hover, .form-course-search button:focus {
    background: transparent;
}
.form-course-search button span {
    color: #dee2e6;
}
.result-box {
    width: 100%;
    position: relative;
    padding-bottom: 60px;
    margin-bottom: 60px; /*footer fixed*/
}
.pagi-text {
    margin: 0;
    font-size: 0.85rem;
    padding-bottom: 3px;
    border-bottom: 1px solid #000;
}
.result-list {}
.result-list .item {
    border-bottom: 1px solid #000;
    padding-top: 20px;
}

.result-list .item .tags .tag-item:last-child {
    margin-right: 0;
}
.result-list .item .tags .tag-item:hover {
    /*color: #2878C8;*/
}
.result-info {
    display: flex;
    align-items: center;
    padding: 15px 0;
    margin-left: -15px;
    margin-right: -15px;
}
.result-info .left {
    width: 66.66%;
    padding-left: 15px;
}
.result-info .right {
    width: 33.33%;
    padding: 0 15px;
}
.result-info .name {
    width: 100%;
}
.result-info .name .main {
    font-size: 16px;
    font-weight: 700;
}
.result-info .name .sub {
    font-size: 12px;
    padding: 7px 0;
}
.result-info .detail {}
.result-info .detail ._g {
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    font-size: 12px;
}
.result-info .detail ._g:last-child {
    margin-right: 0;
}
.result-info .detail span {

}
.result-info .detail span.spare {

}

.result-info .view-more {
    width: 100%;
    text-align: center;
}
.result-info .view-more .more {
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    color: #004b96;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    border: solid 1px #004b96;
    border-radius: 20px;
    background-color: #fff;
    padding: 2px 15px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.result-info .view-more .more:hover {
    color: #fff;
    background-color: #004b96;
}
.result-info .view-more span {
    display: block;
    font-size: 12px;
    margin-top: 7px;
}
.pagination-box {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.pagination-box .pagination {
    justify-content: center;
    margin-bottom: 0;
}

/* ================================= syllabuses users ================================= */
/* CSS custom for syllasbuses page */
.content-syllabuses{}
.title-p h3{
    font-size: 5vw;
}
.title-p{
    padding: 1rem 0 1rem 1rem;
}
.title-2-p:before{
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    background: #004b96;
}
.description-p{
    margin: 0 0 3vw 0;
    font-size: 3.2vw;
    border-bottom: solid 1px #A8A8A8;
    padding-bottom: 3px;
    font-weight: bold;
}
.flex-row-p{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 4vw;
}
.area-wrapper-p .tab-area .form-check-label{
    color: #004B96;
}
.step-inf-p a{
    color: #004B96!important;
}
.list-item-p tr:nth-child(even){
    background: #F1F5F9;
}
.input-tuition-fee{
    display: block;
    width: 95%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #000;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.input-tuition-fee:focus{
    outline: none;
}
.custom-radio .icheck-primary label{
    font-size: 3.5vw;
}
.custom-radio .icheck-primary:not(:last-child){
    margin-right: 3.5vw;
}

.custom-radio [class*=icheck-]>input:first-child:checked+input[type=hidden]+label::after,
.custom-radio [class*=icheck-]>input:first-child:checked+label::after{
    width: 5px;
    height: 8px;
}
.custom-radio [class*=icheck-]>label{
    padding-left: 23px!important;
}
.custom-radio [class*=icheck-]>input:first-child+input[type=hidden]+label::before,
.custom-radio [class*=icheck-]>input:first-child+label::before{
    width: 18px;
    height: 18px;
    margin-left: -22px;
}

.content-syllabuses .tab-header{
    display: flex;
    flex-direction: row;
    margin-top: 2vw;
}
.content-syllabuses .tab-title,
.content-syllabuses .text-content-tab{
    padding: 10px 0;
}
.inf-tech-area-p{
    margin-top: 0vw;
}
.step-inf-p{
    display: flex;
    flex-direction: row;
    justify-content: start;
}
.step-inf-p a:not(:last-child){
    margin-right: 5vw;
}
.step-inf-p a{
    color: #000;
    font-weight: 600;
    text-decoration: underline;
    font-size: 3.3vw;
}
.step-inf-p a:hover{
    color: #004b96;
}
.list-item-p{
    margin-top: 5vw;
}
.list-item-p table{
    width: 100%;
}
.list-item-p table thead tr th{
    color: #004b96!important;
}
.label-left-p {
    float: left;
    margin-right: 10vw;
}
.content-syllabuses .label-mid,
.label-left-p {
    font-size: 3.2vw;
}
.content-syllabuses .label-mid{
    display: flex;
}
.title-header-p{
    padding: 0.2vw 1.5vw;
    border-left: solid 1.2vw #004b96;
}
.table-inf table{
    background: unset;
}
.content-syllabuses .table-inf table thead tr,
.content-syllabuses .table-inf table tbody tr{
    border-bottom: 1.5px solid #A8A8A8;
}
.content-syllabuses .table-inf table tbody tr td:last-child{
    padding-right: unset !important;

}
.content-syllabuses .table-inf table tbody tr td{
    text-align: left;
    padding: 5px 10px 10px 5px;
    vertical-align: middle;
}
.content-syllabuses .table-inf table tr th{
    border-bottom: unset;
    font-size: 3.3vw;
    color: #000;
    text-align: center;
    font-weight: 100;
}
.btn-get-subject{
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    color: #004b96;
    font-size: 3vw;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    border: solid 1px #004b96;
    border-radius: 4vw;
    background-color: #fff;
    padding: 0.5vw 2vw;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.btn-get-subject:hover{
    color: #fff;
    background-color: #004b96 !important;
    outline: none;
}
.btn-get-subject:focus{
    outline: none;
}
.content-syllabuses .table-inf{
    margin-top: 10px;
}
.title-2-p{
    display: flex;
    align-items: baseline;
    font-size: 3.9vw;
}
.w-55 {
    width: 55%;
}
.w-30 {
    width: 30%;
}
.p-l-5{
    padding-left: 1vw!important;
}
.content-subjects p{
    margin: 2vw 0 2vw 0;
    font-size: 3.3vw;
}
.content-wrapper{
    margin-bottom: 60px;
}
.main-footer{
    position: fixed;
    width: calc(100% - 0px);
}
.custom-btn-login-sp{
    height: 1.8rem !important;
    font-size: 0.9rem;
    min-width: 6rem;
}
.message-alert-p{
    background-color: unset !important;
    text-align: left !important;
    padding: 0 2px !important;
}
.message-alert-p:before{
    content: '' !important;
    padding: unset !important;
    height: unset !important;
    width: unset !important;
}
@media (min-width: 500px) {
    .title-p h3{
        font-size: 25px;
    }
    .title-p {
        padding: 10px 0 10px 10px;
    }
    .title-2-p{
        font-size: 20px;
    }
    .description-p {
        padding: 0 0 12px 0;
        font-size: 16px;
    }
    .input-tuition-fee{
        font-size: 13px;
    }
    .flex-row-p {
        margin-bottom: 12px;
    }
    .content-syllabuses .tab-header{
        margin-top: 10px;
    }
    .step-inf-p a {
        font-size: 15px;
    }
    .label-left-p {
        margin-right: 40px;
    }
    .label-mid, .label-left-p {
        font-size: 20px;
    }
    .table-inf table tr th {
        font-size: 16px;
    }
    .content-subjects p {
        margin: 5px 0 5px 0;
        font-size: 16px;
    }
    .btn-get-subject{
        font-size: 16px;
    }
    .list-item-p {
        margin-top: 15px;
    }
    .title-header-p {
        padding: 1px 10px;
        border-left: solid 6px #004b96;
    }
    .custom-radio .icheck-primary label {
        font-size: 16px;
    }
}
@media (min-width: 1024px){
    .input-tuition-fee {
        width: 30%;
    }
    .flex-row-p{
        justify-content: start;
    }
}
@media (max-width: 320px){
    .custom-radio .icheck-primary:not(:last-child){
        margin-right: 1.5vw;
    }
    .custom-radio [class*=icheck-]>label{
        padding-left: 23px!important;
    }
    .custom-radio [class*=icheck-]>input:first-child+input[type=hidden]+label::before,
    .custom-radio [class*=icheck-]>input:first-child+label::before{
        margin-left: -23px;
    }
}
@media (max-width: 360px) {
    .btn-get-subject {
        font-size: 3.5vw;
        padding: 0.5vw 1.5vw;
    }
}

@media screen and (max-width: 320px) {
    .result-list .item .tags .tag-item {
        margin-bottom: 5px;
    }
    .result-info .view-more .more {
        padding-left: 10px;
        padding-right: 10px;
    }
    .result-info .view-more span {
        font-size: 10px;
    }
}
