/*
Theme Name: Tiếng Trung
Theme URI: 
Description: Đây là theme child của Pt theme
Author: Pt developer
Author URI: 
Version: 1.0
Template: pt-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
	--color-yellow: #f0ad4e;
	--color-yellow-rgb: 240 173 78;
	--color-green: #96c052;
	--color-green-rgb: 150 192 82;
	--color-red: #cf142b;
	--color-red-rgb: 207 20 43;
	
	--color-alert: 236, 69, 60;
    --color-success: 87, 197, 111;
    --color-process: 63, 162, 246;
    --color-warning: 255, 175, 0;
	
	--font-family: "Roboto", sans-serif;

	--ff-material-outline: 'Material Symbols Outlined';
	--ff-material-round: 'Material Symbols Rounded';

	--blog-img-ratio: 75%;

	--radius-1: 6px;
	--radius-2: 10px;
	--radius-3: 16px;
	--radius-4: 28px;
	--radius-sm: 4px;

	--size-ratio: 1.175;
	--size-small: 14px;
	--size-small-a: 13px;
	--size-2: calc(1rem * var(--size-ratio) - 1px);
	--size-3: calc(var(--size-2) * var(--size-ratio));
	--size-4: calc(var(--size-3) * var(--size-ratio));
	--size-5: calc(var(--size-4) * var(--size-ratio));
	--size-6: calc(var(--size-5) * var(--size-ratio));
	--size-7: calc(var(--size-6) * var(--size-ratio));
	--size-8: calc(var(--size-7) * var(--size-ratio));

	--sketch-loading-bg: linear-gradient(90deg, rgb(var(--bg-opposite), 5%) 8%, rgb(var(--bg)) 18%, rgb(var(--bg-opposite), 5%) 33%);
	--sketch-loading-bg-size: 200% 100%;
	--sketch-loading-animetion: 1.5s sketchloading linear infinite;

	--sticky-top: 20px;

	font-size: 16px;
}

body {
  background-color: var(--bg-theme);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
i,
b,
strong,
span,
a,
div {
  font-family: var(--font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  font-size: var(--size-6);
}

h2 {
  font-size: var(--size-5);
}

h3 {
  font-size: var(--size-4);
}

h4 {
  font-size: var(--size-3);
}

h5 {
  font-size: var(--size-2);
}



iframe {
  max-width: 100%;
}

p,
ul,
li {
  font-weight: 400;
}

.gap-y {
  --bs-gutter-y: 1.5rem;
}

/* Ux- form  */
.form-wrap .is-required {
	color: var(--color-red);
}

/* Header  - Middle --- */
.header-middle, 
.header-mobile-middle {
	padding: 15px 0; 
}

.header-slogan {
    text-align: center;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: block;
    font-size: 1rem;
    border-radius: var(--radius-2);
    padding: 10px 0 10px 0;
    line-height: 1.4;
    background-size: cover;
    background-position: center;
    width: 550px;
    box-shadow: 0 5px 20px -5px rgb(0 0 0 / 20%);

}

.header-slogan_text {
    position: relative;
    isolation: isolate;
    overflow: hidden;	
	padding: 8px 15px;
}

.header-slogan_text:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    opacity: 0.8;
}

.header-slogan .header-slogan_title {
	font-size: var(--size-4);
    font-weight: bold;	
}

.header-slogan span {
    display: block;
    color: inherit;
    font-size: inherit;
}



/* Element - Slider ----- */
.slider .slider_button {
  background-color: rgb(46 46 46 / 50%);
  transition: 320ms all;
  border-radius: 50%;
  padding: 4px;
  font-size: 28px;
  line-height: 1;
}

.slider .slider_button:hover {
  background-color: var(--primary-color);
}

.slider .slider_dot {
  height: 4px;
  width: 20px;
  margin: 0 3px;
}



/* Box- Product Vertical ---- */

/* Element - Box Post loop --- */
.blog-post-box {
  box-shadow: none;
}

.blog-post-box .blog_load {
  display: none;
}

.blog-post-box:hover .box_img img {
  transform: scale(1.05);
}

.blog-post-box .box_text {
  background-color: transparent;
  padding: 16px 0 10px;
}

.blog-post-box .blog_title {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

.blog-post-box .blog_title a {
  transition: 320ms all;
}

.blog-post-box:hover .blog_title a {
  color: var(--primary-color);
}


.blog-post-box .blog_except {
  -webkit-line-clamp: 2;
  font-size: 0.925rem;
  opacity: 0.8;
  transition: 320ms all;
}

.blog-post-box:hover .blog_except {
  opacity: 1;
}

.blog-post-box .blog_except p {
  margin-bottom: 0;
}

/* Archive - Page ----- */
.archive-header .page-title {
  font-size: var(--size-l3);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  color: var(--primary-color);
}

body:is(.blog, .archive, .search) main:not(.page_full-width) {
  padding: 40px 0;
}

body.search .page-title {
  text-transform: unset;
  font-size: var(--size-l4);
  font-weight: 400;
}

body:is(.blog, .archive, .search) .archive-loop {
  --bs-gutter-y: 30px;
  --bs-gutter-x: 25px;
}

body:is(.blog, .archive, .search) .sidebar_wrap {
  padding-top: 12px;
}

.sidebar_wrap .widget-title {
  font-size: 1.1rem;
  text-transform: unset;
  font-weight: 400;
  display: block;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-color);

}

.sidebar_wrap .blog-post-box .blog_time {
  display: none;
}

.sidebar_wrap .blog_title a {
  -webkit-line-clamp: 2;
  font-weight: 300;
  color: var(--text-basic);
}

.sidebar_wrap .blog-post-box:hover img {
  transform: none;
}

.widget_blog_thumbnail_widget li {
  --blog-img-height: 65%;
}

.widget_blog_thumbnail_widget li {
  margin-bottom: 20px;
}

.widget_blog_thumbnail_widget .blog-post_vertical .box_text {
  padding: 0 0 0 12px;
}

.sidebar_wrap .blog-post_vertical .blog_title {
  font-size: calc(1rem - 1px);
}

.sidebar_wrap .cat-item {
  padding-bottom: 10px;
}

.sidebar_wrap .cat-item~.cat-item {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.sidebar_wrap .cat-item a {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-basic);
  transition: 320ms all;
}

.sidebar_wrap .cat-item a:hover {
  color: var(--primary-color);
}

.sidebar_wrap .cat-item.current-cat>a {
  font-weight: 300;
  color: var(--primary-color);
}




/* Loader  */
.loader {
  width: 30px;
  height: 30px;
  border: 3px solid var(--border-color);
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* animation */
@keyframes ani-btn-scale {
	0%, 100% {
		transform: scale(1);
	}
	60% {
		transform: scale(1.07);
	}
}

/*
* Responsive
*/
@media only screen and (max-width: 991px) {
	#header-desk .logo .img {
		width: 200px !important;
	}
	.header-slogan {
		width: 450px;
	}
}

@media only screen and (max-width: 768px) {
  :root {
	--size-ratio: 1.15;
	--size-small: 13px;
	--size-small-a: 12px;
	  
    font-size: 15px;
  }
	.header-mobile-middle {
		padding: 0;
	}
	.header-mobile-middle .header_inner {
		padding-top: 8px;
		padding-bottom: 8px;		
	}
	.header-slogan {
        width: 100%;
		border-radius: 0; 
		padding: 8px 0;
	}

}

@media only screen and (max-width: 575px) {
  :root {
  }

}/*
Theme Name: Tiếng Trung
Theme URI: 
Description: Đây là theme child của Pt theme
Author: Pt developer
Author URI: 
Version: 1.0
Template: pt-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
	--color-yellow: #f0ad4e;
	--color-yellow-rgb: 240 173 78;
	--color-green: #96c052;
	--color-green-rgb: 150 192 82;
	--color-red: #cf142b;
	--color-red-rgb: 207 20 43;
	
	--color-alert: 236, 69, 60;
    --color-success: 87, 197, 111;
    --color-process: 63, 162, 246;
    --color-warning: 255, 175, 0;
	
	--font-family: "Roboto", sans-serif;

	--ff-material-outline: 'Material Symbols Outlined';
	--ff-material-round: 'Material Symbols Rounded';

	--blog-img-ratio: 75%;

	--radius-1: 6px;
	--radius-2: 10px;
	--radius-3: 16px;
	--radius-4: 28px;
	--radius-sm: 4px;

	--size-ratio: 1.175;
	--size-small: 14px;
	--size-small-a: 13px;
	--size-2: calc(1rem * var(--size-ratio) - 1px);
	--size-3: calc(var(--size-2) * var(--size-ratio));
	--size-4: calc(var(--size-3) * var(--size-ratio));
	--size-5: calc(var(--size-4) * var(--size-ratio));
	--size-6: calc(var(--size-5) * var(--size-ratio));
	--size-7: calc(var(--size-6) * var(--size-ratio));
	--size-8: calc(var(--size-7) * var(--size-ratio));

	--sketch-loading-bg: linear-gradient(90deg, rgb(var(--bg-opposite), 5%) 8%, rgb(var(--bg)) 18%, rgb(var(--bg-opposite), 5%) 33%);
	--sketch-loading-bg-size: 200% 100%;
	--sketch-loading-animetion: 1.5s sketchloading linear infinite;

	--sticky-top: 20px;

	font-size: 16px;
}

body {
  background-color: var(--bg-theme);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
i,
b,
strong,
span,
a,
div {
  font-family: var(--font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  font-size: var(--size-6);
}

h2 {
  font-size: var(--size-5);
}

h3 {
  font-size: var(--size-4);
}

h4 {
  font-size: var(--size-3);
}

h5 {
  font-size: var(--size-2);
}



iframe {
  max-width: 100%;
}

p,
ul,
li {
  font-weight: 400;
}

.gap-y {
  --bs-gutter-y: 1.5rem;
}

/* Ux- form  */
.form-wrap .is-required {
	color: var(--color-red);
}

/* Header  - Middle --- */
.header-middle, 
.header-mobile-middle {
	padding: 15px 0; 
}

.header-slogan {
    text-align: center;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: block;
    font-size: 1rem;
    border-radius: var(--radius-2);
    padding: 10px 0 10px 0;
    line-height: 1.4;
    background-size: cover;
    background-position: center;
    width: 550px;
    box-shadow: 0 5px 20px -5px rgb(0 0 0 / 20%);

}

.header-slogan_text {
    position: relative;
    isolation: isolate;
    overflow: hidden;	
	padding: 8px 15px;
}

.header-slogan_text:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    opacity: 0.8;
}

.header-slogan .header-slogan_title {
	font-size: var(--size-4);
    font-weight: bold;	
}

.header-slogan span {
    display: block;
    color: inherit;
    font-size: inherit;
}



/* Element - Slider ----- */
.slider .slider_button {
  background-color: rgb(46 46 46 / 50%);
  transition: 320ms all;
  border-radius: 50%;
  padding: 4px;
  font-size: 28px;
  line-height: 1;
}

.slider .slider_button:hover {
  background-color: var(--primary-color);
}

.slider .slider_dot {
  height: 4px;
  width: 20px;
  margin: 0 3px;
}



/* Box- Product Vertical ---- */

/* Element - Box Post loop --- */
.blog-post-box {
  box-shadow: none;
}

.blog-post-box .blog_load {
  display: none;
}

.blog-post-box:hover .box_img img {
  transform: scale(1.05);
}

.blog-post-box .box_text {
  background-color: transparent;
  padding: 16px 0 10px;
}

.blog-post-box .blog_title {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

.blog-post-box .blog_title a {
  transition: 320ms all;
}

.blog-post-box:hover .blog_title a {
  color: var(--primary-color);
}


.blog-post-box .blog_except {
  -webkit-line-clamp: 2;
  font-size: 0.925rem;
  opacity: 0.8;
  transition: 320ms all;
}

.blog-post-box:hover .blog_except {
  opacity: 1;
}

.blog-post-box .blog_except p {
  margin-bottom: 0;
}

/* Archive - Page ----- */
.archive-header .page-title {
  font-size: var(--size-l3);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  color: var(--primary-color);
}

body:is(.blog, .archive, .search) main:not(.page_full-width) {
  padding: 40px 0;
}

body.search .page-title {
  text-transform: unset;
  font-size: var(--size-l4);
  font-weight: 400;
}

body:is(.blog, .archive, .search) .archive-loop {
  --bs-gutter-y: 30px;
  --bs-gutter-x: 25px;
}

body:is(.blog, .archive, .search) .sidebar_wrap {
  padding-top: 12px;
}

.sidebar_wrap .widget-title {
  font-size: 1.1rem;
  text-transform: unset;
  font-weight: 400;
  display: block;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-color);

}

.sidebar_wrap .blog-post-box .blog_time {
  display: none;
}

.sidebar_wrap .blog_title a {
  -webkit-line-clamp: 2;
  font-weight: 300;
  color: var(--text-basic);
}

.sidebar_wrap .blog-post-box:hover img {
  transform: none;
}

.widget_blog_thumbnail_widget li {
  --blog-img-height: 65%;
}

.widget_blog_thumbnail_widget li {
  margin-bottom: 20px;
}

.widget_blog_thumbnail_widget .blog-post_vertical .box_text {
  padding: 0 0 0 12px;
}

.sidebar_wrap .blog-post_vertical .blog_title {
  font-size: calc(1rem - 1px);
}

.sidebar_wrap .cat-item {
  padding-bottom: 10px;
}

.sidebar_wrap .cat-item~.cat-item {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.sidebar_wrap .cat-item a {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-basic);
  transition: 320ms all;
}

.sidebar_wrap .cat-item a:hover {
  color: var(--primary-color);
}

.sidebar_wrap .cat-item.current-cat>a {
  font-weight: 300;
  color: var(--primary-color);
}




/* Loader  */
.loader {
  width: 30px;
  height: 30px;
  border: 3px solid var(--border-color);
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* animation */
@keyframes ani-btn-scale {
	0%, 100% {
		transform: scale(1);
	}
	60% {
		transform: scale(1.07);
	}
}

/* Footer --- */
.footer-info {
	padding: 20px;
}

.footer-info  .el-desc {
    text-align: center;	
}

.footer-info .el-desc p {
	margin-bottom: 12px;
}

.footer-info .footer-social-wrap {
    margin-top: 18px;
    text-align: center;
    justify-content: center;	
}

.footer-social-wrap {
	display: flex;
    gap: 10px 16px;
    align-items: baseline;
    flex-wrap: wrap;	
}

.footer-social-item.email,
.footer-social-item.email:hover {
	color: #ec5b4f;	
}

.footer-social-item .footer-social-label {
	color: inherit;
}

.footer-info .el-cta {
	display: block;
    max-width: 270px;
    margin-left: auto;	
}

.footer-social-wrap a:hover  {
	color: unset;
}

.footer-copy {
	position: relative;
}

.footer-copy:before {
	content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--coppyright-color);
    opacity: 12%;
	left: 0;
    top: 0;
}



/*
* Responsive
*/
@media only screen and (max-width: 991px) {
	#header-desk .logo .img {
		width: 200px !important;
	}
	.header-slogan {
		width: 450px;
	}
}

@media only screen and (max-width: 768px) {
  :root {
	--size-ratio: 1.15;
	--size-small: 13px;
	--size-small-a: 12px;
	  
    font-size: 15px;
  }
	.header-mobile-middle {
		padding: 0;
	}
	.header-mobile-middle .header_inner {
		padding-top: 8px;
		padding-bottom: 8px;		
	}
	.header-slogan {
        width: 100%;
		border-radius: 0; 
		padding: 8px 0;
	}
	
	.footer-info .el-cta {
		margin: auto;
	}

}

@media only screen and (max-width: 575px) {
  :root {
  }

}