/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/*************** ADD CUSTOM CSS HERE.   ***************/
.box-shadow-1, .box-shadow-1-hover:hover, .row-box-shadow-1 .col-inner, .row-box-shadow-1-hover .col-inner:hover {
    box-shadow: 2px 2px 10px 0 rgb(0 0 0 / 5%);
	border:1px solid #ddd;
	border-radius:10px;
}
li.has-dropdown.header-language-dropdown i.image-icon {
    display: flex;
    padding: 0 5px;
}
.p-10 p{
	margin-bottom:10px;
}
.p-0 p {
    margin-bottom: 0;
}
.box-blog-post .is-divider {
	display:none;
}
.box-about .box-shadow-1 {
    width: 120%;
    z-index: 2;
    box-shadow: 0px 5px 20px 0 #00000042;
}
.about-left {
    z-index: 1;
}
.page-id-598 .header .nav>li {
    text-transform: uppercase;
    margin: 0 20px;
}
.box-cs .box .box-image {
	transition: all .2s ease-in-out;
}
.box-cs .box .box-image:hover {
	transform:translateX(-10px) translateY(-10px);
	box-shadow: 14px 14px 0px #333399;
}
.box-cs .box-text :is(h1, h2, h3, h4, h5, h6) {
	&:after {
	display: block;
    content: "";
    position: absolute;
/*     background-image: url('/wp-content/uploads/2024/08/right.svg'); */
	background-image: url('http://localhost/anphat/wp-content/uploads/2024/08/right.svg');
    background-repeat: no-repeat;
    inset-inline-end: 0;
    inset-block-start: 5px;
    width: 30px;
    height: 30px;
    background-position-x: -30px;
    transition: all .3s ease-in-out;
	}
}
.box-cs .box:hover :is(h1, h2, h3, h4, h5, h6) {
	&:after {
		background-position-x: 0px;
	}
}

.thongtin {
    font-size: 1.2rem;
    font-weight: 600;
}

.titel-tt {
	font-size:0.8rem;
    margin-bottom: 5px;
    color: #333333;
}

.linh-vuc .image-zoom:hover:before, .linh-vuc .image-zoom:hover:after {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all .8s ease-in-out 0s;
    -webkit-transition: all .8s ease-in-out 0s;
    -ms-transition: all .8s ease-in-out 0s
}
.linh-vuc .image-zoom:hover:before {
    top: 0;
    left: 0;
    z-index: 1;
}
.linh-vuc .image-zoom:hover:after {
    bottom: 0;
    right: 0;
    z-index: 2;
}

.bd-5 img {
    border-radius: 5px;
}
.bd-10 img {
    border-radius: 10px;
}
.bd-15 img {
    border-radius: 15px;
}
.bd-20 img {
    border-radius: 20px;
}
.con-so .icon-box-left {
    display: flex;
    align-items: center;
}
.doitac .box-image.image-zoom {
    box-shadow: 2px 2px 10px 0 rgb(0 0 0 / 5%);
	border:1px solid #ddd;
	border-radius: 10px;
	height:126px;
	background:#fff;
}
.doitac .box-image.image-zoom img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    width: auto;
	padding:10px;
}
.doitac .flickity-prev-next-button {
	top:70%;
}
/* end slider home */

/* blog-cs */
.blog-cs {
    display: flex;
    gap: 20px;
}
.blog-cs .blog-cs1,
.blog-cs .blog-cs2 {
    flex: 1;
    max-width: 50%;
}
.blog-cs1 .box-blog-post {
    display: block;
    width: 100%;
}
.blog-cs1 .box-blog-post .box-image {
    width: 100% !important;
    display: block;
}
.blog-cs1 .box-blog-post .box-text {
    width: 100% !important;
    display: block;
    padding: 10px 0;
}
.blog-cs2 {
	font-size:95%;
}
.blog-cs2 .col.post-item {
    padding-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
}
.blog-cs2 .box-text {
    padding-top: 0;
    padding-bottom: 0;
	vertical-align:top;
}
.blog-cs1 .col.post-item {
    padding: 0 !important;
}
.blog-cs:after {
    display: none;
}
h5.post-title a {
    font-size: .9rem;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    max-width: 100%;
    height: 36px !important;
    margin: 0 auto;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    white-space: break-spaces;
}
.box.box-normal.box-text-bottom.box-blog-post.has-hover {
	border-radius:10px;
}
/* giang vien */
.tab-giangvien, .tab-giangvien .tabbed-content {
	height:100%;
}
.tab-giangvien .tabbed-content .nav-vertical {
	padding:10px;
    width: 86px;
    background: #e6e7e7;
}
.tab-giangvien .tab-panels {
    padding: 15px 30px !important;
}
.tab-giangvien .nav.nav-vertical li {
    width: auto;
    display: block;
	text-align:center;
}
.tab-giangvien .nav-vertical>li>a, .tab-giangvien .nav-vertical>li>ul>li a {
    width: 100%;
    justify-content: center;
}
#tab_about-me h3 {
    margin: 30px 0px !important;
}
li#tab-about-me a span:before{
    content: "\f2bb";
    font-family: 'FontAwesome';
    text-align: center;
    margin: auto;
	width: 100%;
    display: block;
}
li#tab-gallery a span:before {
    content: "\f083";
    font-family: 'FontAwesome';
    text-align: center;
    margin: auto;
	width: 100%;
    display: block;
}
li#tab-blog a span:before {
    content: "\f1ea";
    font-family: 'FontAwesome';
    text-align: center;
    margin: auto;
	width: 100%;
    display: block;
}
li#tab-contact a span:before {
    content: "\f658";
    font-family: 'FontAwesome';
    text-align: center;
    margin: auto;
	width: 100%;
    display: block;
}

.hoc-van-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.thoi-gian-hoc {
  flex: 1.1;
  font-weight: bold;
  position: relative;
  padding: 10px 25px 10px 15px;
  color: #fff;
  font-size: 14px;
  border-radius: 5px;
  line-height: 12px;
  background: #0073aa;
	margin-right:25px
}

.thoi-gian-hoc::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #0073aa;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: -6px;
  margin-top: -6px;
	border-radius:1px;
}
.noi-hoc {
    flex: 5; 
    color: #333;
}
.tt-lienhe {
    list-style: none;
    font-size: 14px;
}
.tt-lienhe object {
    width: 16px;
}
.portfolio-summary .entry-title {
    text-transform: capitalize !important;
    margin-top: 15px !important;
	color:#fff;
}
.image-cover.img-giangvien {
    padding-top: 120%;
}
.portfolio-single-page .large-3.col.col-divided {
    color: #fff;
    padding: 15px;
    background: var(--wp--preset--color--primary);
	display:block !important;
}
.portfolio-single-page {
    background: #f0f0f0;
}
.portfolio-single-page .align-equal>.col {
	display:grid !important;
}
.portfolio-single-page .page-wrapper {
    background: #fff;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 !important;
    box-shadow: 2px 2px 10px 0 rgb(0 0 0 / 5%);
}
div#portfolio-content {
	padding: 0px;
}
.portfolio-box .box-image {
    border-radius: 15px;
}
.portfolio-box .box-text {
    padding: 15px;
    top: -30px;
    background: #0D4E7B;
    border-radius: 15px;
    width: 85%;
    margin: 0 auto;
}
.portfolio-box-title {
    color: #fff;
}
.portfolio-box-category span.show-on-hover {
    opacity: 1;
    color: #fff;
}
/* album -anh */
.justified-gallery {
	margin: 0 auto;
	padding: 10px;
}
.justified-gallery img {
	max-width: 100%;
	height: auto;
}
.lg-toolbar .lg-icon {
	margin-bottom:0px;
}
.lg-inner {
	top:0px !important;
}
a#lg-download {
	padding-top: 15px !important;
	margin-right: 10px !important;
}
.lg-outer .lg-toogle-thumb {
	top:-50px;
	height:50px;
	border: solid 1px;
	font-size:0;
	line-height:0;
}
.lg-outer .lg-toogle-thumb:after {
	font-size: 24px !important;
	line-height: 24px !important;
}
/* Bai viet giang vien */
.related-posts-cs {
    margin: 20px 0;
}
.related-posts-cs .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.related-posts-cs .post-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-posts-cs .post-item .image-cover{
	padding-top:56.25% !important;
}
.related-posts-cs .post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.related-posts-cs .post-thumbnail {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.related-posts-cs .post-title {
    font-weight: bold;
    text-decoration: none;
    color: #0073aa;
    display: block;
    margin: 10px 0;
}
.related-posts-cs .post-title:hover {
    color: #005177;
}
.related-posts-cs .post-excerpt {
    font-size: 0.9em;
    color: #555;
}
/* // end */
.trien-vong .icon-box-img img {
    border-radius: 50%;
    height: 120px;
    border: solid 1px #fff;
    padding: 3px;
}
.logo-cs {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-cs .col-inner.text-center {
    top: -30px;
}
.line-boder {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    align-content: center;
	margin: 0 !important;
}
.line-boder img {
    display: block;
    transform-origin: center;
    transition: transform 0.3s ease;
    width: 200px;
    height: auto;
}
.logo-item {
    width: 180px !important;
    height: 180px !important;
    border: solid 5px #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s ease;
	top:10px;
}
.logo-item .img-inner {
	width: 160px;
    height: 160px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.3s ease;
}
.logo-item .img-inner img {
    width: auto;
    height: 60px;
}

@media only screen and (max-width: 570px) {
	.portfolio-single-page .large-3.col.col-divided {
		display:block;
	}
 	.sticky-bottom {
	  position: fixed;
	  bottom: 0;
	  left: 0;
	  width: 100%;
	  z-index: 9999;
	}
	.nav-vertical {
	  transition: all 0.3s ease-in-out;
	}
	.tab-giangvien .tabbed-content .nav-vertical {
        flex-flow: nowrap;
        width: 100%;
        display: flex;
        justify-content: space-around;
    }
	.portfolio-single-page .page-wrapper {
		padding-top:0;
		margin:0;
	}
	div#portfolio-content {
		padding: 0;
	}
	.related-posts-cs .posts-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.tab-giangvien .tab-panels {
		padding:15px !important;
	}
	.justified-gallery {
		left:10px;
	}
	.hoc-van-item {
		display:block;
	}
	.thoi-gian-hoc {
		margin-right:0;
		margin-bottom:10px;
	}
	.thoi-gian-hoc::after{
		display:none;
	}
}
/* Bộ lọc danh mục */
.archive #post-list .col.post-item {
    flex-basis: 100%;
    max-width: 100%;
}
.archive #post-list .box.box-text-bottom.box-blog-post.has-hover {
	display:flex;
}
.archive #post-list .col.post-item .box-image {
    width: 40%;
}
.archive #post-list .box-blog-post .box-text {
    width: 60%;
    padding: 0 10px;
}
.archive .menu-danhmuc {
    display: flex;
    align-content: flex-start;
    flex-direction: inherit;
}
.archive .menu-danhmuc .ux-menu-link.flex.menu-item {
    width: max-content;
    margin-right: 30px !important;
}
.archive .boloc_danhmuc {
    list-style: none;
    display: flex;
    margin: 0;
    align-items: center;
}
.archive .boloc_danhmuc li {
    padding: 0 10px;
}
.archive .cat-active a {
    border-bottom: solid 1px;
    padding-bottom: 5px;
}
.archive .tra-active {
    font-size: 24px;
    font-weight: 600;
    color: #000 !important;
    margin-bottom: 10px;
	padding-left:0px !important;
}

.archive .post-glaycs {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: 50% 50%;
}
.archive .post-glaycs .col.post-item:first-child {
    grid-row: span 2;
}
.archive .post-glaycs .col.post-item {
    padding-bottom: 0 !important;
}
.archive .post-glaycs .box-vertical {
    display: grid;
}
.archive .post-glaycs .cat-label {
	margin-bottom:5px;
}
.archive .post-glaycs .post-title {
    margin-bottom: 5px;
}
.archive .post-glaycs .box-blog-post .box-image {
    width: 100% !important;
}
.archive .post-glaycs .col.post-item .col-inner {
    border-top: none !important;
    padding-top: 0 !important;
}
.archive .post-glaycs .box-text.text-left {
    padding: 10px 0;
}
.archive .post-glaycs .post-item .box-text .from_the_blog_excerpt {
	display:none;
}
.archive .post-glaycs .post-item:first-child .box-text .from_the_blog_excerpt {
	display:inherit;
}
.archive .category .col.post-item .col-inner {
    border-top: solid 1px rgba(0,0,0,0.15);
    padding-top: 30px;
	padding-bottom:15px;
}
.archive .box-text {
	padding-bottom:1rem;
}
.archive .post-item .cat-label {
    background: none;
    color: black;
	border-radius:3px;
	padding:5px;
}
.archive .post-item .has-hover:hover .cat-label {
/* 	background: linear-gradient(to bottom, #CDA147,#EC1E79, #92298D, #272361); */
	background: none;
	color: black;
	opacity:1;
	width:max-content;
}
.archive .grid-col .box:not(.box-shade):not(.box-overlay):not(.box-badge) .box-text {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.archive .box-blog-post .box-image,.box-blog-post .box-image img {
    border-radius: 5px;
}
.archive .box-blog-post .is-divider {
	display:none;
}

.archive .box.box-vertical.box-text-top.box-blog-post.has-hover {
    top: 0;
    display: flex;
    align-items: flex-start;
}
.archive .box.box-vertical.box-text-top.box-blog-post.has-hover .box-text.text-left {
    padding: 0px 10px 10px 10px;
    margin-top: -5px;
}

.archive .blog-left .box-vertical .box-image {
    width: 50% !important;
}
.archive .blog-left .box-vertical .box-text {
    width: 50% !important;
}
.archive .blog-left .post-title a {
    white-space: break-spaces;
    min-height: 36px;
    font-size: .9rem;
    display: -webkit-box;
    max-width: 100%;
    max-height: 68px;
    margin: 0 auto;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.article-inner {
    background: #fff;
    padding: 15px 40px 9px;
	border-radius:5px;
}
.blog-single.page-wrapper {
    background: #f0f0f0;
}
.blog-single .entry-title {
    font-size: 28px;
    margin: 10px 0px;
}
.blog-single .is-divider {
    display: none;
}
.blog-single .entry-header-text-top {
    border-bottom: solid 1px #dedede;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.blog-single .entry-content.single-page {
    text-align: justify;
}
.widget {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}
.blog-archive .widget {
    background: #efefef;
    padding: 15px;
    border-radius: 5px;
}
.wp-block-latest-posts li {
    border-bottom: solid 1px rgba(0,0,0,0.15);
    padding-bottom: 10px;
}
.wp-block-latest-posts li:last-child {
	border-bottom:none;
}
.list-baivien-lienquan {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
}
.title-danhmuc {
    margin-bottom: 15px;
}
.blog-archive .large-9, .blog-single .large-9 {
    flex-basis: 70%;
    max-width: 70%;
}
.blog-archive .large-3, .blog-single .large-3{
    flex-basis: 30%;
    max-width: 30%;
}
.section-title-center span:after {
    content: "";
    display: table;
    clear: both;
    background: url(/wp-content/uploads/2024/12/line.png);
    width: 100%;
    height: 20px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    padding-top: 0;
}
.section-title-center b {
	opacity:0;
}
@media screen and (max-width: 850px){
	.tab-media .panel.entry-content .row .post-item:first-child {
		padding-left: 0px;
	}
		.tab-media .panel.entry-content .row .post-item.grid-col-1-2, .tab-media .panel.entry-content .row .post-item:last-child{
		padding-right: 0px;
	}
	.blog-archive .large-9, .blog-single .large-9 {
		flex-basis: 100%;
		max-width: 100%;
		padding:0;
	}
	.blog-archive .large-3, .blog-single .large-3{
		flex-basis: 100%;
		max-width: 100%;
		padding:0;
	}
}
@media only screen and (max-width: 570px) {
	.article-inner {
		padding:15px;
	}
	.page-wrapper {
		padding:0;
	}
	.blog-cs .blog-cs1, .blog-cs .blog-cs2 {
			flex: inherit;
			max-width: 100%;
		}
	.blog-cs .box-blog-post {
		display: flex;
	}
	.blog-cs .col.post-item {
		padding-left: 0;
		padding-right: 0;
	}
	.blog-cs .box-text {
		width: 75% !important;
		padding: 0 0 0 10px;
	}
	.blog-cs .box-image {
		width: 25% !important;
	}
	.blog-cs1 .box-blog-post .box-image {
		width: 25% !important;
		display: block;
	}
	.blog-cs1 .box-blog-post .box-text {
		width: 75% !important;
		display: block;
		padding: 0 0 0 10px;
	}
	.col.blog-cs1 .post-item {
		padding-bottom: 5px;
	}
}