.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.85em;
    margin-bottom: unset;
}
.tag-item:last-child {
    margin-right: 0;
}
.select2-container--default .select2-selection--multiple {
    border-radius: 0!important;
    border: 1px solid #ced4da!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
     background-color: #004b96!important;
     border: 1px solid #004b96!important;
}
/* ============================ top users ================================ */
.top .top-panel {
    border: 1px;
}

.top .top-panel {
    border: 2px solid #004b96;
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    margin: 0 40px 30px 40px;
}

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

.top .panel-text {
    height: 100%;
    border-radius: 10px;
    background: #476ead;
    padding: 15px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
    margin: 0 10px;
}

.top .panel-text-header {
    max-width: 285px;
    background: #fff;
    width: 100%;
    font-size: 0.8rem;
}

.top .panel-text-content {
    max-width: 257px;
    font-size: 0.8rem;
    padding: 0 10px;
    color: #FFF;
}
.top .top-content {
    width: 90%;
    margin: 10px 0 0 0;
}

.top h4.top-content-item-title {
    color: #000;
    text-align: center;
    border: none;
    margin: 10px 0 10px 0;
    padding: 0;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: bold;
}

.top .top-content-item-text {
    font-size: 13px;
    text-align: left;
    padding: 0;
}
.top .top-content-item {
    margin-bottom: 40px;
}
.top .top-content-item-title a{
    color: #000b16;
}
.top .top-content-item-title a:hover{
    color:#004b96 !important;
}
.top .top-content-item-img img{
    width: 100%;
    max-height: calc(50vh - 255px);
    object-fit: contain;
}

/* ================================= search result ================================= */
.content-wrapper, .page-content {
    /*background-color: #fff;*/
    position: relative;
}
.page-content .breadcrumb {
    /*background-color: #fff;*/
    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: 50%;
    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: 80%;
    position: relative;
    padding-bottom: 80px;
    margin-bottom: 60px; /*footer fixed*/
}
.pagi-text {
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    padding-bottom: 4px;
}
.result-list {}
.result-list .item {
    border-bottom: 1px solid #dee2e6;
    padding: 35px 0 20px 0;
}
.result-list .item .tags {}

.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 .name {
    width: 30%;
    padding: 0 15px;
}
.result-info .name .main {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
}
.result-info .name .sub {}
.result-info .detail {
    text-align: center;
    padding: 0 15px;
    width: 17%;
}
.result-info .detail ._h {
    padding-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.result-info .detail ._c {
    min-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.result-info .view-more {
    padding: 7px 15px;
    width: 14%;
    text-align: center;
    align-self: flex-end;
}
.result-info .view-more .more {
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    color: #004b96;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    /*line-height: 32px;*/
    display: inline-block;
    text-align: center;
    border: solid 1px #004b96;
    border-radius: 20px;
    background-color: #fff;
    padding: 5px 20px;
    -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;
}

.pagination-box {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.pagination-box .pagination {
    justify-content: center;
    margin-bottom: 0;
}

@media screen and (max-width: 1540px) {
    .result-box {
        width: 100%;
    }
    .page-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .result-info .detail {

    }
    .result-info .detail ._h {
        font-size: 14px;
    }
    .result-info .detail ._c {
        font-size: 11px;
    }
    .result-info .view-more .more {
        font-size: 12px;
        padding: 5px;
    }
}

@media screen and (max-width: 980px) {
    .search-page {
        padding-bottom: 40px;
    }
    .result-info {
        flex-wrap: wrap;
    }
    .result-info .detail {
        text-align: left;
    }
    .search-page .form, .result-info .detail, .result-info .name, .result-info .view-more, .result-info .view-more .more {
        width: 100%;
    }
    .result-info .name, .result-info .detail {
        margin-bottom: 15px;
    }
    .result-info .name .main, .result-info .detail ._h {
        padding-bottom: 0;
    }
}

/* ================================= syllabuses users ================================= */
/* CSS custom for syllasbuses page */
.content-syllabuses{}
.title-p h3{
    font-size: 1.5rem;
}
.title-p{
    padding: 1rem 0 1rem 1rem;
}
.title-2-p:before{
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background: #004b96;
}
.description-p{
    width: 77.6%;
    margin: 1px 0 15px 0;
    border-bottom: solid 1px #A8A8A8;
    font-weight: bold;
    padding-bottom: 3px;
}
.m-t-30{
    margin-top: 30px;
}
.tab-element p.text-left{
    white-space: nowrap;
    margin-bottom: 0;
}
.btn-choose-subject-p{
    background: #FFF;
    width: 20%;
    text-align: start;
    padding: 7px 15px;
    font-size: 0.9rem;
    border: solid 1px #004b96;
    color: #004b96;
    border-radius: 2px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 1px;
    font-family: 'Source Sans Pro', sans-serif;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.flex-row-p{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 10px;
}
.flex-row-p button:not(:last-child){
    margin-right: 20px;
}
.btn-choose-subject-p:hover{
    background: #004b96;
    color: #FFF;
    /*transition: 0.5s;*/
    border: solid 1px #004b96;
}
.btn-choose-active{
    background: #004b96;
    color: #FFF;
    border: solid 1px #004b96;
}
.btn-choose-subject-p:focus{
    outline: none;
}
.btn-choose-subject-p:disabled{
    background: #FFF;
    color: #004b96;
    border: solid 1px #004b96;
    opacity: 0.5;
}
.content-syllabuses .tab-header{
    display: flex;
    flex-direction: row;
    margin-top: 2px;
}
.content-syllabuses .tab-element{
    width: 13%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2px 3px 2px 13px;
    color: #A6AFB4;
    cursor: pointer;
}
.content-syllabuses .tab-header .tab-activate{
    color: #000;
}
.content-syllabuses .tab-header .tab-activate, .tab-content{
    /*background: #F1F5F9; old-color*/
    background: #d7e6f5;
    border-right: unset !important;
}
.content-syllabuses .tab-element .text-right{
    white-space: nowrap;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}
.content-syllabuses .tab-header .tab-element:not(:last-child) .text-right{
    border-right: 1.5px solid #004b96;
}
.content-syllabuses .tab-header .tab-element .text-right{
    padding-right: 30px;
}
.tab-header .tab-element.tab-activate .text-right{
    border-right: unset !important;
}
.tab-element:hover{
    background: #F1F5F9;
    transition: .25s;
    color: #000;
}
.tab-header .tab-element:hover .text-right{
    border-right: unset !important;
}
.tab-element .text-right span:last-child{
    font-size: 1.2rem;
    margin-top: -5px;
}
.tab-title,.text-content-tab{
    padding: 0 0;
}
.tab-content{
    font-size: 0.9rem;
}
.content-syllabuses .tab-content{
    width: 62.5%;
    padding: 7px 0 8px 20px;
}
.m-l-20{
    margin-left: 20px;
}
.size-child{
    font-size: 0.9rem;
}
.size-child .table-inf table tbody tr td{
    font-size: 0.8rem !important;
}
.w-9{
    width: 9%;
}
.inf-tech-area-p{
    margin-top: 25px;
    padding-left: 20px;
}
.step-inf-p{
    display: flex;
    flex-direction: row;
}
.step-inf-p a{
    margin-left: 25px;
    color: #000;
    text-decoration: underline;
}
.step-inf-p a:hover{
    color: #004b96;
}
.list-item-p tr:nth-child(even){
    background: #F1F5F9;
}
.area-wrapper-p .tab-header p{
    color: #004B96;
}
.step-inf-p p strong {
    color: #004B96;
}
.list-item-p .table-inf thead tr th{
    color: #004B96!important;
}
.list-item-p{
    margin-top: 10px;
}
.table-inf table{
    width: 100%;
}
.label-left-p {
    float: left;
    margin-right: 30px;
}
.title-header-p{
    padding: 4px 6px;
    border-left: solid 4px #004b96;
    margin: 10px 0;
}
.content-syllabuses .table-inf table{
    background: unset;
}
.content-syllabuses .table-inf table thead tr,
.content-syllabuses .table-inf table tbody tr:not(:last-child){
    border-bottom: 1.5px solid #A8A8A8;
}
.content-syllabuses .table-inf table tbody tr td{
    text-align: left;
    padding: 10px 0 10px 10px;
    vertical-align: middle;
    font-size: 0.85rem;
}
.content-syllabuses .table-inf table tr th{
    border-bottom: unset;
    color: #000;
    text-align: center;
    font-weight: 100;
    padding-bottom: 5px;
}
.content-syllabuses .table-inf table tbody tr:last-child{
    border-bottom: unset;
}
/*.content-syllabuses .table-inf table tbody tr:nth-child(even) {*/
    /*background-color: #F1F5F9;*/
/*}*/
.content-syllabuses .table-inf table tbody tr:hover{
    background-color: #F1F5F9;
}
.btn-get-subject{
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    color: #004b96;
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    border: solid 1px #004b96;
    border-radius: 20px;
    background-color: #fff;
    padding: 5px 12px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.subject-btn-area {
    width: 100%;
    padding: 10px 0;
}
.btn-get-subject:hover{
    color: #fff;
    background-color: #004b96 !important;
    outline: none;
}
.btn-get-subject:focus{
    outline: none;
}
.content-syllabuses .table-inf{
    margin-top: 14px;
}
.content-syllabuses .title-2-p{
    display: flex;
    align-items: center;
}
.content-wrapper{
    padding-bottom: 60px;
    /*overflow: auto; !*Fix Safari*!*/
}
.layout-fixed .main-footer{
    position: fixed;
    width: 100%;
}
.sidebar-open .main-footer{
    position: fixed;
    width: calc(100% - 250px);
}
.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 (max-width: 1100px) {
.btn-get-subject {
    padding: 5px 13px
}
}
@media (max-width: 1500px) {
.content-syllabuses .tab-element {
    width: 25%;
}
.content-syllabuses .tab-header .tab-element .text-right {
    padding-right: 15px;
}
.content-syllabuses .tab-content {
    width: 77.5%
}
.btn-choose-subject-p {
    width: 24%;
}
}

.custom-size-p{
    padding: 0 5px;
    max-height: calc(50vh - 175px);
}

.flex-row-center-p{
display: flex;
justify-content: center;
}
.w-19{
width: 19%;
}
.w-24{
width: 24%;
}
.w-11{
width: 11%;
}
.w-10{
width: 10%;
}
.w-12{
width: 12%;
}
.step-inf-p p{
margin-bottom: 9px;
}
/* ================================= admin/users ================================= */
.custom-form-c-us .card-footer,
.custom-form-us .card-footer{
    background-color: unset;
}
.custom-form-c-us .btn-submit-form-create,
.custom-form-c-us .btn-submit-form-edit,
.custom-form-us .btn-submit-form-search,
.custom-form-us .btn-csv{
    background: #FFF;
    border-radius: 2rem;
    border: 1px solid #004b96;
    padding: 3px 20px;
    color: #004b96;
    font-weight: bold;
}
.btn-create-us{
    border: 1px solid #004b96;
    color: #004b96 !important;
    border-radius: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    padding: 3px 25px;
}
.custom-form-c-us .btn-submit-form-create:hover,
.custom-form-c-us .btn-submit-form-edit:hover,
.custom-form-us .btn-submit-form-search:hover,
.custom-form-us .btn-csv:hover,
.btn-create-us:hover{
    color: #fff !important;
    background-color: #004b96;
}
.custom-form-us .btn-csv{
padding: 3px 10px;
}
.custom-form-us .tbl-user thead tr th {
background: #F1F5F9;
text-align: center;
}
.w-7{
width: 7%;
}
.w-5{
width: 5%;
}
.w-15{
width: 15%;
}
.w-9{
width: 9%;
}
.w-20{
width: 20%;
}
.w-50{
    width: 50%;
}
.custom-form-c-us .row{
    max-width: unset;
    padding-left: 30px;
}
.custom-form-c-us label{
    margin: unset;
}
.custom-form-c-us .input-label{
    padding: 17px 15px 17px 15px;
    display: flex;
    align-items: center;
    background: #F1F5F9;
    min-height: 58px;
    margin: 1px 0;
}
.custom-form-c-us .flex-mid-p{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: initial;
}
.align-mid{
    display: flex;
    justify-content: center;
}
.p-b-0{
    padding-bottom: unset !important;
}
.p-t-0{
    padding-top: unset;
}
.p-r-0{
    padding-right: unset;
}
.card-header-custom-p{
    padding: .75rem 1.25rem;
}
.from-left-p .form-group label{
    padding-left: 4vw;
}
.custom-form-c-us .from-submit-us label{

}
.card-header-custom-p .pagi-text{
    border-bottom: unset;
}
.custom-form-us .row,
.card-header-custom-p .row{
    max-width: unset;
}
