/*
  Theme Name: Mbet.info Theme
  Theme URI: 
  Description: Day la child theme cua Pt theme
  Author: Pt developer
  Author URI: 
  Version: 0.1
  Template: pttheme
  */

@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-primary: #3498db;
  --on-primary: #333333;
  --color-secondary: #d8312e;
  --text-basic: #000;
  --text-secondary: #999;
  --bg: #efefef;
  --surface: rgba(0, 0, 0, 0.3);
  --surface-hover: rgba(0, 0, 0, 0.4);
  --size-title: 32px;
}

body {
  font-family: "Roboto", sans-serif;
}

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

b,
strong {
  font-weight: 500;
}

ul,
ol {
  padding-left: 1rem;
}

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

main .wp-caption {
  max-width: 100%;
  background: var(--bg-gray);
  padding: 2px;
}

main .wp-caption .wp-caption-text {
  margin-bottom: 0px;
  padding: 9px 10px;
  color: var(--text-basic);
  background: unset;
}

div#ez-toc-container {
  max-width: 100%;
}

/* Header ------ */
#header-middle,
#header-bottom {
  padding: 0;
  background-color: var(--bg-gray);
}

#header-middle .header_inner .header_box.center {
  background-color: var(--header-middle-bg, #fff);
  padding: 10px 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#header-bottom .header_inner .header_box.left {
  width: 100%;
  background-color: var(--header-bottom-bg, #fff);
  margin-right: 0;
}

#header .header_inner {
  background-color: var(--bg-theme);
}

#header-bottom .header_box:not(.left),
#header-middle .header_box:not(.center) {
  display: none;
}

#header-bottom .menu-item > a {
  padding: 5px 10px;
  text-transform: uppercase;
  font-weight: 400;
}

#header-bottom .menu-item > a:hover,
#header-bottom .current_page_item > a {
  background: var(--primary-color);
}

#header-bottom .sub-menu .menu-item > a {
  padding: 5px 0;
  text-transform: uppercase;
  color: var(--text-basic);
  background: unset;
}

#header-bottom .sub-menu .current_page_item > a {
  font-weight: 600;
}

#header-mobile-middle .header_box.center {
  width: 100%;
  justify-content: center;
  padding: 10px 0;
}

#header-mobile-middle .header_box:not(.center),
#header-mobile-bottom .header_box:not(.left) {
  display: none;
}

#header-mobile-middle #logo {
  max-width: 100%;
  max-height: 70px;
}

#header .header_btn-window i {
  font-size: 1.7rem;
  padding: 10px 5px;
  opacity: 0.6;
}

#header-mobile-middle {
  padding: 0;
}

#header-mobile .header_wrap {
  background-color: var(--bg-gray, #fff);
}

#header-mobile-bottom .header_box.left {
  background-color: var(--header-bottom-bg, #fff);
  width: 100%;
  margin-right: 0;
  padding: 0 7px;
  justify-content: space-between;
}

#header .window_wrap .menu-item a {
  padding: 12px 0;
}

#header .window_wrap .menu-item a span {
  font-size: 1.1rem;
}

#header .window_wrap .menu-item.active > .sub-menu {
  padding-left: 0;
  border-left: 0;
  border-radius: 0;
  margin-bottom: 10px;
}

#header .window_wrap .sub-menu .menu-item {
  padding: 0;
}

#header .window_wrap .menu-item:not(:first-child):before {
  border-top: 1px solid hwb(0deg 95% 5% / 15%);
}

#header .window_wrap .menu-item.active > .sub-menu > .menu-item > a {
  font-weight: normal;
  background: var(--header-bottom-bg);
}

.window_wrap .window_content-inner {
  background: var(--header-bottom-bg);
}

#header .window_wrap .menu-item .img {
  display: inline-block;
}

#header.sticky {
  box-shadow: none;
}

.sticky-up #header-bottom .header_inner,
.sticky-down #header-bottom .header_inner,
.sticky-up #header-mobile-bottom .header_inner,
.sticky-down #header-mobile-bottom .header_inner {
  padding-top: 7px;
  padding-bottom: 7px;
}

.logo-on-sticky {
  margin-left: auto;
  margin-right: 0;
  padding: 10px 0;
  height: 100%;
  display: none;
}

.sticky-up .logo-on-sticky,
.sticky-down .logo-on-sticky {
  display: block;
}

.logo-on-sticky img {
  height: 30px;
  width: auto;
}

#header .header_box.left .header-dir_wrap {
  margin-left: auto;
}

.header-btn {
  background: var(--color-secondary);
  padding: 7px 10px;
  border-radius: 3px;
  margin-right: 12px;
  text-transform: uppercase;
  transition: 300ms all;
}

.header-btn:hover {
  background: var(--color-primary);
}

#header-mobile-bottom .header-btn {
  margin-right: 0;
  margin-left: 12px;
}

/* Body --------------  */
#main {
  background-color: var(--bg-gray);
  padding: 0;
}

#main > .container {
  background-color: var(--bg-theme);
  padding-top: 1.3rem;
  padding-bottom: 1rem;
}

#main > .container-fluid,
#main > .box-the-content {
  background-color: var(--bg-theme);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Bradcrumb ------ */
#theme-breadcrumb {
  margin-bottom: 1.2rem;
  margin-top: 0.2rem;
}

/* Footer ----------- */
#footer,
#coppyright {
  background-color: var(--bg-gray);
  padding: 0;
}

#footer > .footer-inner {
  background-color: var(--footer-bg, #fff);
  padding-top: 2.5rem;
}

#coppyright > .section-inner {
  background-color: var(--coppyright-bg, #f3f3f3);
  padding: 14px 50px 0 14px;
  position: relative;
}

#footer .widget-title {
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  margin-bottom: 1.2rem;
}

.footer-inner b,
.footer-inner strong {
  font-weight: 500;
}

.footer-inner p {
  line-height: 1.5;
}

#coppyright {
  font-size: 1rem;
}

.footer-menu {
  display: inline-flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu .menu-item {
  margin: 0;
}

.footer-menu .menu-item:not(:first-child) {
  border-left: 1px solid var(--coppyright-color, #2a2a2a);
}

.footer-menu a {
  color: var(--coppyright-color, #2a2a2a);
  padding: 2px 7px;
}

.copyright-menu_wrap {
  text-align: right;
}

#footer .socials_wrap i {
  font-size: calc(1.2rem * var(--footer-font-size));
  transition: 300ms all;
}

#footer .socials_wrap i:hover {
  color: var(--footer-text-hover);
}

.btn-scroll-top {
  background: var(--surface);
  border: 0;
  font-size: 1.4rem;
  padding: 5px 12px;
  position: absolute;
  top: 0;
  height: 100%;
  right: 12px;
  transition: 300ms all;
}

.btn-scroll-top:hover {
  background: var(--surface-hover);
}

/* Widget --------- */
.sidebar_wrap .widget {
  border-top: 3px solid var(--border-basic);
  position: relative;
  margin-bottom: 1.85rem;
}
.widget .search-form {
  margin-top: 17px;
}

.widget .search-form .search-field {
  background: var(--bg-gray);
}

.widget .search-form .search-submit {
  background: var(--bg-gray);
  color: #999;
}
.widget .search-form .search-submit:hover {
  color: var(--text-basic);
}

.sidebar_wrap .widget-title {
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.925rem;
  display: block;
  width: fit-content;
  border-top: 3px solid var(--primary-color);
  padding-top: 15px;
  margin-top: -3px;
  line-height: 1.2;
}

.sidebar_wrap .widget_media_image img {
  max-height: 80vh;
  object-fit: contain;
  object-position: left;
}

/* Blog Post box --------- */
.blog-post-box {
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 7%);
  border: 1px solid var(--border-basic);
}

.blog-post-box .box_img-inner {
  padding-top: 56.2%;
}

.blog-post-box .blog_title {
  font-size: var(--size-title);
  -webkit-line-clamp: 3;
  font-weight: 500;
  margin-bottom: 0.5rem;
  height: unset;
}

.blog-post-box .box_text {
  padding: 20px;
}

.blog-post-box .blog_except {
  -webkit-line-clamp: 3;
  font-size: 1rem;
}

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

.blog-post-box .blog_info {
  font-size: calc(1rem - 2px);
  color: var(--text-secondary, #999);
  flex-wrap: wrap;
}

.blog-post-box .blog_info .blog_cate {
  left: unset;
  -webkit-transform: translate(0%, -50%);
  transform: unset;
  position: unset;
  padding: unset;
  background: unset;
  color: inherit;
  font-size: unset;
}

.blog-post-box .blog_cate a {
  color: inherit;
}

.blog-post-box .blog_detail {
  font-weight: 500;
  font-size: 1rem;
}

.blog-post-box .blog_detail:hover {
  letter-spacing: 0px;
}

/* Blog Vertical */

.blog-post-box.blog-post_vertical {
  box-shadow: unset;
  border: 0;
}

.blog-post-box.blog-post_vertical .box_img {
  min-width: 65px;
  width: 65px;
}

.blog-post-box.blog-post_vertical .box_img-inner {
  padding-top: 100%;
}

.blog-post-box.blog-post_vertical .blog_time i {
  color: var(--text-secondary);
}

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

.blog-post-box.blog-post_vertical .blog_title {
  font-size: 1.1rem;
}

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

.widget_blog_thumbnail_widget .blog-post_vertical .blog_title {
  text-align: left;
  font-weight: 500;
}

.widget_blog_thumbnail_widget .blog-post_vertical .blog_info {
  font-size: calc(1rem - 2px);
  margin: 5px 0 0;
  text-align: left;
  justify-content: flex-start;
}

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

/* Post single  */
.article_header {
  background-color: unset;
  padding: unset;
  border-radius: unset;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.article_header-img::before {
  padding-top: 56.2%;
}

.article_header-img {
  width: 100%;
  margin-bottom: 1rem;
}

.article_header-text {
  margin-left: 0;
}

.article_header h1 {
  margin-bottom: 12px;
  border-bottom: unset;
  padding-bottom: 0;
  font-size: var(--size-title);
  line-height: 1.2;
  font-weight: 500;
}

.article_meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: normal;
}

.article_meta > div {
  margin-right: 15px;
  width: fit-content;
}

.article_author-name {
  display: inline-block;
}

.article_cate a {
  color: var(--text-secondary);
}

.article_cate a {
  color: var(--text-secondary);
}

.article_cate a:hover {
  color: var(--primary-color);
}

.blog-vertical_loop .blog-post_vertical {
  margin-bottom: 1rem;
}

/*
    * Responsive ----------
  */

@media only screen and (min-width: 1024px) {
}

@media only screen and (max-width: 1024px) {
  .container {
    max-width: calc(100% - 30px);
  }
}

@media only screen and (max-width: 875px) {
  :root {
    --size-title: 26px;
  }
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
  }
}

@media only screen and (max-width: 575px) {
  :root {
    font-size: 15px;
    --size-title: 20px;
  }

  #coppyright > .section-inner {
    padding: 12px 12px 0;
    text-align: center;
  }
  .footer-menu {
    justify-content: center;
  }
  .btn-scroll-top {
    padding: 2px 10px;
    position: fixed;
    top: unset;
    height: unset;
    right: 12px;
    bottom: 12px;
    z-index: 100;
  }

  .blog-post-box .box_text {
    padding: 16px 14px;
  }

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