﻿.rows-n1 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.rows-n2 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rows-n3 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3; /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fix .slidetop img {
    max-height: 275px !important;
	width:100% !important;
}
.fix .tinkhac-container img {
   height: 50px !important;
}
.tinkhac-container img,.img-container img  {
    border: 1px solid #ccc !important;
    padding: 1px 1px 1px 1px !important;
}
.rows-n4 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.rows-n5 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 5; /* number of lines to show */
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}
.wpx-70 {
    width: 70px !important;
}
.wpx-80 {
    width: 80px !important;
}
.wpx-90 {
    width: 90px !important;
}

.wpx-100 {
    width: 100px !important;
}

.wpx-110 {
    width: 110px !important;
}

.wpx-120 {
    width: 120px !important;
}

.wpx-130 {
    width: 130px !important;
}

.wpx-140 {
    width: 140px !important;
}

.wpx-150 {
    width: 150px !important;
}
.wpx-160 {
    width: 160px !important;
}
.wpx-170 {
    width: 170px !important;
}
.wpx-180 {
    width: 180px !important;
}
.wpx-190 {
    width: 190px !important;
}
.wpx-200 {
    width: 200px !important;
}
.title-cm a.title {
    font-weight: 500;
    line-height: 1.5;
    color: #000 !important;
    text-decoration: auto !important;
}

.title-cm icon {
    position: relative;
    bottom: 1px;
}

    .title-cm icon::before {
        content: "✫" !important;
        font-size: 13px;
    }

.cms-date {
    font-size: 11px;
    font-weight: normal;
    line-height:1.3 !important;
}
.bi-clock-history {
	font-size:13px !important;
}

.bdr-1 {
    border-radius: 1px !important;
}

.bdr-2 {
    border-radius: 2px !important;
}

.bdr-3 {
    border-radius: 3px !important;
}

.bdr-4 {
    border-radius: 4px;
    border: 0px solid transparent;
}

.bdr-5 {
    border-radius: 5px !important;
}

.bdr-6 {
    border-radius: 6px !important;
}

.bdr-7 {
    border-radius: 7px !important;
}

.bdr-8 {
    border-radius: 8px !important;
}

.bdr-9 {
    border-radius: 9px !important;
}

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

.bdr-11 {
    border-radius: 11px !important;
}

.bdr-12 {
    border-radius: 12px !important;
}

.bdr-13 {
    border-radius: 13px !important;
}

.bdr-14 {
    border-radius: 14px !important;
}

.bdr-15 {
    border-radius: 15px !important;
}

.bdr-16 {
    border-radius: 16px !important;
}

.bdr-17 {
    border-radius: 17px !important;
}

.bdr-18 {
    border-radius: 18px !important;
}

.bdr-19 {
    border-radius: 19px !important;
}

.bdr-20 {
    border-radius: 20px !important;
}

.p-px-1 {
    margin-top: 3px;
    margin-right: 1px;
}

.p-px-2 {
    margin-top: 3px;
    margin-right: 2px;
}

.p-px-3 {
    margin-top: 3px;
    margin-right: 3px;
}

.p-px-4 {
    margin-top: 4px;
    margin-right: 4px;
}

.p-px-5 {
    margin-top: 5px;
    margin-right: 5px;
}

.p-px-6 {
    margin-top: 6px;
    margin-right: 6px;
}

.p-px-7 {
    margin-top: 7px;
    margin-right: 7px;
}

.p-px-8 {
    margin-top: 8px;
    margin-right: 8px;
}

.p-px-9 {
    margin-top: 9px;
    margin-right: 9px;
}

.p-px-10 {
    margin-top: 10px;
    margin-right: 10px;
}

.cms a.d-title {
    font-weight: 400;
    color: #000;
    text-decoration: auto !important;
}

    .cms a.d-title:hover {
        font-weight: 400;
        color: brown !important;
        text-decoration: auto !important;
    }

    .cms a.d-title:visited {
        font-weight: 400;
        color: #1e4d8a;
        text-decoration: auto !important;
    }

    .cms  icon::before {
        content: " ●";
        font-size: 13px;
    }

    .cms  icon {
        position: relative;
        bottom: 2px;
    }

.cms a {
    color: #3c0f5d;
    text-decoration: auto !important;
}

.tieudiem-item a {
    color: #ffd800 !important;
}
.tieudiem-item a:hover{
    color:#fff !important;
}
.cms a:hover {
    color: #3c0f5d !important;
    text-decoration: auto !important;
}

    .cms a:visited {
        color: #3c0f5d;
        text-decoration: auto !important;
    }
.cms a.title {
    font-weight: 500;
    color: #3c0f5d;
    text-decoration: auto !important;
}
.cms a.title-italic {
    font-weight: 500;
    font-style: italic;
    text-decoration: auto !important;
}
.cms a.title-normal {
    font-weight: 400;
    text-decoration: auto !important;
}

.cms a.title-normal-italic {
    font-weight: 400;
    font-style: italic;
    color: #000;
    text-decoration: auto !important;
}

.fpx-13,.fpx-13 * {
    font-size: 13px !important;
}

.fpx-14,.fpx-14 * {
    font-size: 14px !important;
}

.fpx-15,.fpx-15 * {
    font-size: 15px !important;
}

.fpx-16,.fpx-16 * {
    font-size: 16px !important;
}

.fpx-17,.fpx-17 * {
    font-size: 17px !important;
}

.fpx-18,.fpx-18 * {
    font-size: 18px !important;
}
.fpx-19,.fpx-19 * {
    font-size: 19px !important;
}
.fpx-20,.fpx-20 * {
    font-size: 20px !important;
}
.fpx-21,.fpx-21 * {
    font-size: 21px !important;
}
.fpx-22,.fpx-22 * {
    font-size: 22px !important;
}
.fpx-23,.fpx-23 * {
    font-size: 23px !important;
}
.fpx-24,.fpx-24 * {
    font-size: 24px !important;
}
.fpx-25,.fpx-25 * {
    font-size: 25px !important;
}
.cms a {
    cursor:pointer !important;
    text-decoration: auto !important;
}
.cms p {
    text-decoration: auto !important;
}

.cms li.list-group-item {
    border:0;
}
.cms .border-bottom {
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
    padding-top: 3px ;
    padding-bottom: 3px ;
}
.line-15 {
    line-height: 1.5 !important;
}
.line-16 {
    line-height: 1.6 !important;
}
.line-17 {
    line-height: 1.7 !important;
}
.line-18 {
    line-height: 1.8 !important;
}
.line-19 {
    line-height: 1.9 !important;
}
.line-20 {
    line-height: 2 !important;
}
.mwpx-100{
    max-width:100px;
}
.mwpx-110 {
    max-width: 110px;
}
.mwpx-120 {
    max-width: 120px;
}
.mwpx-130 {
    max-width: 130px;
}
.mwpx-140 {
    max-width: 140px;
}
.mwpx-150 {
    max-width: 150px;
}
.fa-square-o:before {
    content: "\f096";
    font: normal normal normal 14px/1 FontAwesome;
}

.y-overflow {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.x-overflow {
    overflow-y: hidden !important;
    overflow-x: auto !important;
}
.mt-px-1 {
    margin-top: 1px;
}

.mr-px-1 {
    margin-right: 1px;
}

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

.mr-px-2 {
    margin-right: 2px;
}

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

.mr-px-3 {
    margin-right: 3px;
}

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

.mr-px-4 {
    margin-right: 4px;
}

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

.mr-px-5 {
    margin-right: 5px;
}

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

.mr-px-6 {
    margin-right: 6px;
}

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

.mr-px-7 {
    margin-right: 7px;
}

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

.mr-px-8 {
    margin-right: 8px;
}

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

.mr-px-9 {
    margin-right: 9px;
}

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

.mr-px-10 {
    margin-right: 10px;
}

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

.mr-px-11 {
    margin-right: 11px;
}

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

.mr-px-12 {
    margin-right: 12px;
}

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

.mr-px-13 {
    margin-right: 13px;
}

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

.mr-px-14 {
    margin-right: 14px;
}

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

.mr-px-15 {
    margin-right: 15px;
}

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

.mr-px-16 {
    margin-right: 16px;
}

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

.mr-px-17 {
    margin-right: 17px;
}

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

.mr-px-18 {
    margin-right: 18px;
}

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

.mr-px-19 {
    margin-right: 19px;
}

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

.mr-px-20 {
    margin-right: 20px;
}
.border-bottom-dashed {
   border-bottom:  1px solid rgba(0,0,0,.125) !important;
}
.border-bottom-double {
    border-bottom: 1px double rgba(0,0,0,.125) !important;
}
.tieudiem-container {
    position: relative;
    margin: 0 auto;
}

    .tieudiem-container img {
        vertical-align: middle;
        padding: 0 !important;
    }

    .tieudiem-container .content {
        position: absolute;
        bottom: 0;
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
        color: #f1f1f1;
        width: 100%;
        padding: 10px;
        max-height: 50%;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    .tieudiem-container .prev,
    .tieudiem-container .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: #fff !important;
        font-weight: normal !important;
        font-size: 35px !important;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
        text-decoration: unset;
        cursor: pointer;
        font-size:20px;
    }

    /* Position the "next button" to the right */
    .tieudiem-container .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

        /* On hover, add a black background color with a little bit see-through */
        .tieudiem-container .prev:hover,
        .tieudiem-container .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

.tieudiem-item {
    display: none;
}

@media only screen and (max-width:577px) {
    .tieudiem-item .intro {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }

        .carousel-inner .carousel-item > div:first-child {
            display: block;
        }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}

/*.cms img {
    border: 1px solid #f6e3e3;
    border-radius: 1px;
    padding: 2px !important;
}*/

.cms .icon-new {
    border: 0 !important;
    padding: 0 !important;
}

.cms .icon-new {
    margin-top: -3px !important;
}

.luotxem {
    font-style: italic;
    font-weight: normal;
}

.cms-imgtop img {
    padding: 2px !important;
}

.page-item.active .page-link {
    font-weight: bold;
    color: #fff !important;
}

.cms-imgtop-tinkhacleft .carousel-controls, .cms-imgtop-tinkhacleft .carousel-control {
    margin-top: -5px;
    position: relative;
}
.tieudiem-item img{
    padding:0 !important;
    border: 0 !important;
}
.link .img-link {
    padding: 0 !important;
}

.link .link-header {
    border-bottom: 2px solid #9682d8;
}

    .link .link-header .link-title {
        font-weight: 500 !important;
        font-size: 17px;
    }

.link a {
    color: #000 !important;
    text-decoration: none;
}

.link-card a {
    text-decoration: none;
}

.link-card .card-title {
    text-decoration: none;
    color: #192238;
}

.link-card .card {
    align-items: center;
}

.link-card .card {
    flex-direction: row;
}
.link-card img{
    padding:0 !important;
}
.cms .list-group-item{
    background-color:unset !important;
}
.mtpx-1 {
    margin-top: -1px;
}

.mtpx-2 {
    margin-top: -2px;
}

.mtpx-3 {
    margin-top: -3px;
}

.mtpx-4 {
    margin-top: -4px;
}

.mtpx-5 {
    margin-top: -5px;
}

.mtpx-6 {
    margin-top: -6px;
}

.mtpx-7 {
    margin-top: -7px;
}

.mtpx-8 {
    margin-top: -8px;
}

.mtpx-9 {
    margin-top: -9px;
}

.mtpx-10 {
    margin-top: -10px;
}

.mtpx-11 {
    margin-top: -11px;
}

.mtpx-12 {
    margin-top: -12px;
}

.mtpx-13 {
    margin-top: -13px;
}

.mtpx-14 {
    margin-top: -14px;
}

.mtpx-15 {
    margin-top: -15px;
}

.mtpx-16 {
    margin-top: -16px;
}

.mtpx-17 {
    margin-top: -17px;
}

.mtpx-18 {
    margin-top: -18px;
}

.mtpx-19 {
    margin-top: -19px;
}

.mtpx-20 {
    margin-top: -20px;
}

.mbpx-1 {
    margin-bottom: -1px;
}

.mbpx-2 {
    margin-bottom: -2px;
}

.mbpx-3 {
    margin-bottom: -3px;
}

.mbpx-4 {
    margin-bottom: -4px;
}

.mbpx-5 {
    margin-bottom: -5px;
}

.mbpx-6 {
    margin-bottom: -6px;
}

.mbpx-7 {
    margin-bottom: -7px;
}

.mbpx-8 {
    margin-bottom: -8px;
}

.mbpx-9 {
    margin-bottom: -9px;
}

.mbpx-10 {
    margin-bottom: -10px;
}

.mbpx-11 {
    margin-bottom: -11px;
}

.mbpx-12 {
    margin-bottom: -12px;
}

.mbpx-13 {
    margin-bottom: -13px;
}

.mbpx-14 {
    margin-bottom: -14px;
}

.mbpx-15 {
    margin-bottom: -15px;
}

.mbpx-16 {
    margin-bottom: -16px;
}

.mbpx-17 {
    margin-bottom: -17px;
}

.mbpx-18 {
    margin-bottom: -18px;
}

.mbpx-19 {
    margin-bottom: -19px;
}

.mbpx-20 {
    margin-bottom: -20px;
}

.headertinkhac {
    background: #f20d0d;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    color: #fff;
    font-family: 'Oswald';
    z-index:10;
    position:relative;
}
.tinkhac-container {
    word-wrap: break-word ;
    overflow: hidden;
}
.form-control, .form-select {
    border-color: #f8f9fa !important;
}
.tinkhac-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: inline-block;
    width: 100%;
    z-index: 10;
}