.header-title-subpage h2.w-10 {
    width: 10%;
}

.header-title-subpage h2.w-20 {
    width: 20%;
}

.header-title-subpage h2.w-30 {
    width: 30%;
}

.header-title-subpage h2.w-40 {
    width: 40%;
}

.header-title-subpage h2.w-50 {
    width: 50%;
}

img.gt-new {
    height: auto;
}

.tablinks.active{
    background-color: #A72A28;
    box-shadow: none;
}

.grid-col-1-2-content-left.new{
    background-color: white;
    margin: 0px;
}

ul li {
    list-style-type: none;
}

img.new_height{
    object-fit: cover;
}

img.responsoive_img{
    object-fit: cover;
    height: 300px;;
}

.subpage-tdtu h4 {
    width: fit-content;
    padding: 5px 10px;
}

.ts h5.ts-title{
    border-radius: 30px;
}

.designation{
    font-size: 18px;
}

.website-copyright.cus {
    width: 100%
}

.block-region.region-copyright.cus {
    display: flex
}

.footer-block.footer-three.cus {
    flex: 50%;
    padding-bottom: 0px
}

.block.cus {
    flex: 50%;
}

.footer-block.footer-one.cus {
    flex: 30%;
}

.footer-block.footer-two.cus {
    flex: 70%;
}

.child{
    margin-top: -32px;
    padding-bottom: 30px;
}

ul.sf-menu.sf-style-default a:hover{
    text-decoration: none;
    color: #A72A28 !important;
}

.grid-col-center.custom {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
#navbar-tdtu .scroll-tdtu-1 a:hover{
    text-decoration: none;
    color: #A72A28 !important;
}

.anew {
    font-size: 18px !important;
    padding: 5px 10px;
    border-radius: 30px;
    border: 2px solid #0352A5;
}

.anew:hover {
    border: 2px solid #A72A28;
}

.grid-col-center.custom.cus2 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr) !important;
}

.grid-col-center.custom.cus3 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr) !important;
}

.grid-col-center.custom.cus4 {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr) !important;
}

.sf-no-children .ahome{
    padding: 10px;
}

.bonus {
    position: fixed;
    bottom: 7.5%;
    z-index: 999;
    right: 10px;
}

.post-title.custom{
    display: flex;
    justify-content: center;
}
.atron{
    color: #0352A5;
    border-radius: 30px;
    border: 2px solid #A72A28;
    width: 300px;
    height: 70px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600 !important;
}
.atron:hover{
    color: #A72A28;
    border: 2px solid #A72A28;
}
.background-news{
    background-image: url('/templates/themes/portal01/layout/hpu2/sites/aaa.webp');
}

.block-content.boder {
    border-left: 1px solid #A72A28;
}
.img-lk{
height: 120px;
    object-fit: cover;
    border: 1px solid #ADD8E6;
    border-radius: 5px;
    padding: 5px;
    display: block
}

.abotron{
    padding: 5px 10px;
    color: #A72A28;
    border-radius: 30px;
    border: 2px solid;
    font-weight: normal !important;
    border-bottom: 2px solid #A72A28 !important;
}

.abotron:hover, .abotron:active, .abotron:focus{
    color: #A72A28;
    border: 2px solid #A72A28;
}

.textbox {
    background: #F6F6F6 !important;
    border: 1px solid #EEEEEE !important;
    color: #666666 !important;
    font-weight: normal !important;
    margin-bottom: 10px !important;
}

.post-image.cus-2 img {
    aspect-ratio: 0.8 / 1;
    object-fit: cover;
}

.contact-info {
    border-right: 1px solid white;
    float: left;
    padding-right: 50px;
    margin-right: 0px;
}

.dia-chi {
    margin: 0 auto;
    font-size: 16px;
    color: white;
    text-align: left;
}

.school-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.top-text {
    font-size: 16px;
    font-weight: bold;
}

.bottom-text {
    font-size: 16px;
    font-weight: bold;
}

.title-container {
    padding-top: 10px;
}

.image-field.news-image{
    aspect-ratio: 1.54 / 1;
    object-fit: cover;
}

.image-field.news-image-2{
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
}

.tc-sk-td{
    height: 125px;
}

.sidepanel{
    z-index: 3;
}

.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

.info-row {
    margin-bottom: 5px;
}

.post-title.height{
    height: 95px;
}

.post-image.before.new{
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.date-box.new{
    text-align: center;
    border: 1px solid #b2b2b2;
    min-width: 60px;
    flex-shrink: 0;
}
ul.sf-menu a {
    padding: 1em 0.6em;
}
@media only screen and (min-width: 960px) {

    /* styles for browsers larger than 960px; */
    img.fix-img {
        height: 205px !important;
        object-fit: cover;
    }

    img.gt-new {
        height: 300px;
    }
}


@media only screen and (max-width: 2000px) {

    .bonus {
        position: fixed;
        bottom: 5.5%;
        z-index: 999;
        right: 10px;
    }
    .background-news {
        background-size: cover;
    }

    .tc-sk-content {
        height: auto;
    }

    /* .nganh-css-tdtu {
        display: block !important;
    } */
}

@media only screen and (max-width: 1640px) {
    /* styles for browsers larger than 1440px; */

    .bonus {
        position: fixed;
        bottom: 7.5%;
        z-index: 999;
        right: 10px;
    }

}

@media only screen and (max-width: 1360px) {
    .image-field.news-image-2 {
            aspect-ratio: 1.74 / 1;
            object-fit: cover;
        }
    .image-field.news-image {
        aspect-ratio: 1.34 / 1;
        object-fit: cover;
    }
    .tc-sk-td {
        height: 120px;
    }
    .anew{
        font-size: 15px !important;
    }
    .sf-no-children .ahome {
        padding: 18.8px;
    }
    .bonus {
        position: fixed;
        bottom: 9.5%;
        z-index: 999;
        right: 10px;
    }
	ul.sf-menu a {
        padding: 1em 0.4em;
    }
    .sf-no-children .ahome {
        padding: 0.63em 0.5em;
    }
    .post-image.before.new {
        padding-left: 10px;
    }
    #navbar-tdtu .scroll-tdtu-1 a {
        padding: 1em 0.3em;
    }
}

@media only screen and (max-width: 1025px) {

    .image-field.news-image-2 {
        aspect-ratio: auto;
        object-fit: cover;
    }

    .image-field.news-image {
        aspect-ratio: auto;
        object-fit: cover;
    }
    
    .bonus {
        position: fixed;
        bottom: 4.5%;
        z-index: 999;
        right: 10px;
    }
    .site-logo img {
        width: 420px !important;
        height: 100% !important;
    }
    a.ahome{
        display: none !important;
    }
    #block-mainnavigationvi-2 ul.sf-menu a{
        border-right: 0px;
        border-left: 0px;
        background: #0352A5 !important;
    }
    .block-content.boder{
        border-left: 0px;
    }
    .anh-nganh-css.anh-nganh-left{
        display: none;
    }
    .footer-1,
    .footer-2 {
        padding: 0 10px;
    }
    .post-image.new {
        margin: 15px 50px 12px 50px !important;
    }

    .views-col.custom{
        width: 50% !important;
    }
    .css-event.views-col{
        width: 50% !important;
    }
}

@media (max-width: 950px) {

    .post-title.height {
        height: auto;
    }

    .table-responsive{
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
    
    .footer-blocks-container{
        display: flex;
    }
    .site-logo img {
        height: 85% !important;
    }
    .topbar1{
        flex: 80%
    }
    .topbar2 {
            flex: 20%;
            padding-right: 0px;
        }
    .views-col.clearfix.col-1{
        width: 100% !important;
    }
    .views-col.col-1.cus {
        width: 100%;
    }

    .grid-col-4.new {
        max-width: 50% !important;
    }

    .post-image.new {
        margin: 0px 130px 0px 130px !important;
    }

    .grid-col-center.custom {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .header-container {
        flex-direction: row;
        padding: 0;
    }

    .block-image {
        display: none;
    }

    .block-region.region-header {
        justify-content: flex-start;
    }

    .site-logo img {
        width: 100% !important;
        margin: 10px 0;
    }
}

@media only screen and (max-width: 768px) {

    .mobile-text {
        display: inline;
        word-break: break-word;
        /* Handles long text better */
    }

    .desktop-text {
        display: none;
    }

    .info-row {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .post-sum {
        padding: 10px 0;
    }
    .topbar1 {
        flex: 30%;
    }
    .topbar2 {
        flex: 70%;
        padding-right: 0px;
    }

    .tc-sk-td {
        height: auto;
    }

    .fas.fa-newspaper{
        margin-top: 10px !important;
    }
    .fas.fa-external-link-alt{
        margin-top: 10px !important;
    }
    .footer-blocks-container{
        padding: 0 0;
    }

    .contact-info {
        border-right: none !important;
        float: none !important;
        padding-right: 0 !important;
    }

    .header-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .logo-container {
        flex-shrink: 0;
    }

    .logo-container img {
        max-width: 70px;
        height: auto;
    }

    .title-container {
        flex: 1;
    }

    .school-title {
        margin: 0;
        line-height: 1.4;
        font-size: 16px !important;
    }

    .top-text,
    .bottom-text {
        display: block;
    }

    .top-text {
        font-size: 16px;
        font-weight: bold;
    }

    .bottom-text {
        font-size: 16px;
        font-weight: bold;
    }

    .dia-chi {
        clear: both;
        margin-top: 10px;
        line-height: 1.5;
        font-size: 16px;
    }

    .grid-col-center.custom.cus2,
    .grid-col-center.custom.cus3,
    .grid-col-center.custom.cus4 {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    /* default iPad screens */
    .background-news {
        background-size: cover;
    }

    .tc-sk-content {
        height: auto;
    }

    .nganh-css-tdtu {
        display: block !important;
    }
}

@media only screen and (max-device-width: 550px) {

    .active-trail.sf-depth-1.menuparent.sfHover ul{
        width: auto !important;
    }

    .login-wrapper .or{
        width: auto !important;
    }

    .site-logo img {
        height: 80% !important;
    }

    .views-col {
        width: 100% !important;
    }

    .child {
        margin-top: 0px;
        padding-bottom: 10px;
    }
    .post-block.hover01{
        padding: 20px 5px 30px 5px;
    }
    .no-sidebar #main{
        margin: 0 0 0 0;
    }
    .post-block-new .post-content-front-2{
        padding: 9px 5px 0 5px;
    }
    .post-block-1.new-responsive {
        padding: 0 0px;
    }
    .news-2{
        margin-top: 0px;
    }
    .bonus {
        position: fixed;
        bottom: 6.5%;
        z-index: 999;
        right: 10px;
    }

    .gioi-thieu-nganh-css{
        padding-bottom: 10px;
    }

    .display-mobile{
        display: none !important;
    }

    .footer-1.cus{
        padding: 0 0px;
    }

    .footer.cus{
        padding: 0px;
    }

    .block-region.region-copyright.cus {
        display: flex;
        flex-direction: column;
    }

    .footer-block.footer-three.cus {
        flex: 100%;
        padding-bottom: 0px
    }

    .block.cus {
        flex: 100%;
    }

    /* styles for mobile browsers smaller than 480px; (iPhone) */
    .background-news {
        background-size: cover;
    }

    .tc-sk-content {
        height: auto;
    }

    .nganh-css-tdtu {
        display: block !important;
        height: auto !important;
        padding: 10px 0px 10px 0px;
    }

    .cover1 {
        position: relative !important;
    }

    .anh-nganh-css.anh-nganh-left {
        display: none;
    }

    .containermn {
        position: relative !important;
        margin-left: 10px !important;
        margin-top: 0px !important;
    }

    .header-title-subpage h2.w-10, .header-title-subpage h2.w-20, .header-title-subpage h2.w-30, .header-title-subpage h2.w-40, .header-title-subpage h2.w-50 {
        width: 70%;
    }
}

/* different techniques for iPad screening */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {

    /* For portrait layouts only */
    .background-news {
        background-size: cover;
    }

    .tc-sk-content {
        height: auto;
    }

    .nganh-css-tdtu {
        display: flex !important;
    }

    .anh-nganh-css.anh-nganh-left {
        display: none;
    }

    .cover1 {
        position: relative;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* For landscape layouts only */
}

.topbar-container,
.topbar2,
.topbar1,
ul.menu,
ul.sf-menu a {
    background: #A72A28;
}

#block-mainnavigationvi-2 {
    padding-top: 0px !important;
}

ul.sf-menu.sf-style-default {
    margin-bottom: 0em;
}

.doimau {
    background: #0352A5;
}

.doimau .header-container {
    padding: 0px 0 0px 0;
}

ul.sf-menu.sf-style-default a,
ul.sf-menu.sf-style-default a:visited {
    color: white;
}

#block-mainnavigationvi-2 ul.sf-menu a {
    background-color: #0352A5;
}

header.header {
    padding: 15px 0px;
}

.header-container {
    display: flex;
    flex-direction: unset;
}

.block-region.region-header {
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.post-block.hover01 {
    padding: 20px 12px 30px 12px;
}

.post-block.hover01{
    padding-bottom: 0px;
}

.limit-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6em;
    max-height: 5.5em;
}

.limit-text-4-no-height {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-text-no-height {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pager__item.is-active{
    background: #A72A28;
}

.post-image.newcusdoc img {
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
}

.post-image.newcusngang img {
    aspect-ratio: 1 / 0.6;
    object-fit: cover;
}
a.activenew{
    color: red;
}

h3.page-title.new{
    padding-bottom: 15px;
}

.node-submitted-details{
    border-bottom: 1px solid #15489f;
}

.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border: 1px solid #ddd;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1900;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%)
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0)
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5)
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}

.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5
}

.modal-header .close {
    margin-top: -2px;
    padding: 0px !important;
    background: white;
    color: black;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143
}

.modal-body {
    position: relative;
    padding: 15px
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px
}

.modal-footer .btn-group .btn+.btn {
    margin-left: -1px
}

.modal-footer .btn-block+.btn-block {
    margin-left: 0
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.news-3.new{
    margin-top: 0px;
}
.background-news{
    padding-top: 15px;
}
.post-block-1.hover0{
    padding-top: 0px;
}

.tab{
    padding-top: 20px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
    }

    .modal-sm {
        width: 300px
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width: 650px
    }
}

.modal-content {
    border-radius: 0px;
}

.login-wrapper {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    display: table;
    z-index: 2;
}

.login-wrapper .inner {
    display: table-cell;
    vertical-align: middle;
}

.login-wrapper .login {
    max-width: 500px;
    margin: 0px auto;
}

.login-wrapper .head-block {
    display: block;
    padding: 22px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

.login-wrapper .head-block h1 {
    font-size: 34px;
    text-transform: uppercase;
    color: #353434;
}

.login-wrapper .cnt-block {
    display: block;
    padding: 40px;
    background: #fff;
}

.form-outer input {
    width: 100%;
    height: 46px;
    margin-bottom: 30px;
    padding: 0 20px;
    background: none;
    border: none;
    /* border-left: 1px #dae4e8 solid; */
    /* border-bottom: 1px #dae4e8 solid; */
    border: 1px #dae4e8 solid;
    font-size: 15px;
    font-weight: 700;
    color: #7f8385;
    z-index: 2;
    position: relative;
}

.login-wrapper .button-outer {
    display: block;
    position: relative;
}

.btn {
    display: inline-block;
    border-radius: 4px;
    background: #ae1f24;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.login-wrapper .register {
    display: block;
    float: right;
    background: #7f7f7f;
}

.login-wrapper .remember {
    display: block;
    margin: 36px 0 0 0;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
}

.login-wrapper .remember .check {
    display: inline-block;
    margin-right: 15px;
    line-height: 15px;
    color: #6e7e83;
}

.login-wrapper .remember .check input {
    height: auto;
    position: absolute;
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
}

[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 17px;
    height: 17px;
    background: #dae4e8;
    border-radius: 3px;
}

[type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

[type="checkbox"]:not(:checked)+label:after,
[type="checkbox"]:checked+label:after {
    font-family: 'icomoon';
    font-size: 11px;
    content: '\e91e';
    position: absolute;
    top: 3px;
    left: 3px;
    line-height: 0.8;
    color: #ae1f24;
    transition: all .2s;
}

.login-wrapper a.forgot {
    display: inline-block;
    margin-left: 15px;
    color: #6e7e83;
}

.login-wrapper a.forgot span {
    display: inline-block;
    margin-right: 8px;
    width: 20px;
    height: 20px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    background: #becfd5;
    border-radius: 50%;
    transition: all 0.3s ease 0s;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.login-wrapper .or {
    width: 16%;
    display: inline-block;
    font-size: 18px;
    text-align: center;
    color: #b7c1c4;
    text-transform: uppercase;
}

@media (max-width:576px) {
    .doimau {
        display: none;
    }

    .header {
        padding-bottom: 0px;
    }
}



.views-element-container.block.scroll {
    height: 580px;
    overflow: scroll;
    overflow-x: hidden;
}

@media (max-width:576px) {
    .block-content.boder {
        border-left: 0px;
    }

    .news-front-tin-qt {
        padding-right: 0px;
    }

}

.date-box {
    width: 85px;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
    font-family: Arial, sans-serif;
}

.date-day {
    font-size: 30px;
    font-weight: bold;
    color: red;
}

.date-separator {
    height: 2px;
    background-color: red;
    margin: 4px 0;
}

.date-month-year {
    font-size: 14px;
    color: gray;
}

.post-image.before div::before {
    content: none;
}

.containermn {
    /*width: 300px;
		height: 400px;*/
    position: relative;
    margin-left: 10%;
    margin-top: 50px;

}

.cover1 {
    width: 290px;
    height: 100%;
    position: absolute;
    left: 10px;
    transition: all 0.5s ease-in;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transform-origin: left;
}

figure {
    margin: 0;
    display: block;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

/*figure.back {
background: url(sites/www/files/TheX/flip2222-n23_0_0.png)no-repeat center center;background-size: cover;
transform: rotateY(180deg);
}*/

.footer h4 {
    font-size: 16px !important;
}

.footer a {
    font-size: 16px !important;
}
