/*
Theme Name: minhtristudio
Description: This is a child theme for Flatsome Theme
Author: Zik
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* UTM Avo Font Family */
@font-face {
  font-family: "UTM Avo";
  src: url("./assets/fonts/UTM Avo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "UTM Avo";
  src: url("./assets/fonts/UTM AvoItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "UTM Avo";
  src: url("./assets/fonts/UTM AvoBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "UTM Avo";
  src: url("./assets/fonts/UTM AvoBold_Italic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

/* You can now use the font in your CSS using font-family: 'UTM Avo'; */

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

body {
  font-family: "UTM Avo", sans-serif !important;
}

@media screen and (min-width: 850px) and (max-width: 1023px) {
  #logo,
  #logo a {
    max-width: 150px !important;
  }
  .nav-size-medium > li > a {
    font-size: 0.6em;
  }
  .nav-spacing-medium > li {
    margin: 0 2px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
  #logo,
  #logo a {
    max-width: 150px !important;
  }
  .nav-size-medium > li > a {
    font-size: 0.7em;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  #logo,
  #logo a {
    max-width: 180px !important;
  }
  .nav-size-medium > li > a {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {
  #logo,
  #logo a {
    max-width: 230px !important;
  }
  .nav-size-medium > li > a {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 1400px) {
  .container-width,
  .full-width .ubermenu-nav,
  .container,
  .row {
    max-width: 1320px !important;
  }
}

@media screen and (min-width: 1600px) {
  .container-width,
  .full-width .ubermenu-nav,
  .container,
  .row {
    max-width: 1460px !important;
  }
}

.header .header-nav.header-nav-main {
  justify-content: center;
}

.welcome-text {
  width: 95%;
  max-width: 700px;
}
.about-image {
  width: 90%;
  max-width: 550px;
  z-index: -1;
}

.footer-section .icon-box {
  align-items: center;
}

.footer-section .icon-box .icon-box-img img {
  padding-top: 0;
}

.footer-section .icon-box .icon-box-text {
  padding-left: 5px;
}

.footer-section .icon-box .icon-box-text p {
  margin-bottom: 0;
}

.footer-section .ux-menu .ux-menu-link a {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  min-height: unset;
  padding-top: 0;
  padding-bottom: 5px;
}

.footer-section .row-logo .col {
  padding-bottom: 0;
}

@media screen and (min-width: 850px) {
  .footer-section .col-link {
    max-width: 32%;
    flex-basis: 32%;
  }
  .footer-section .col-info {
    max-width: 36%;
    flex-basis: 36%;
  }

  .footer-section .footer-col-link {
    max-width: 21%;
    flex-basis: 21%;
  }

  .footer-section .footer-col-info {
    max-width: 35.3333333333%;
    flex-basis: 35.3333333333%;
  }

  .footer-section .footer-col-logo {
    max-width: 18.6666666667%;
    flex-basis: 18.6666666667%;
  }
}

.quote-title {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
.quote-title h2 {
  width: fit-content;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  line-height: 1;
}

.quote-title::after {
  content: "";
  display: flex;
  width: 50px;
  height: 50px;
  background: url("./assets/images/quote.png") no-repeat center center;
  background-size: contain;
  align-self: flex-end;
}

.quote-title::before {
  content: "";
  display: flex;
  width: 50px;
  height: 50px;
  background: url("./assets/images/quote.png") no-repeat center center;
  background-size: contain;
  transform: rotate(180deg);
}

@media screen and (min-width: 550px) {
  .section-minh-tri div.img {
    width: 45% !important;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

.section-minh-tri .custom-background .col-inner {
  background: linear-gradient(to bottom, #d5d5d5, #f3f3f3) border-box;
  border: 10px solid transparent;
}

.section-minh-tri p {
  max-width: 360px;
  margin: 0;
}

.section-minh-tri .minh-tri-bottom-text p {
  margin-left: auto;
}

.box-blog-post {
  overflow: hidden;
  border-radius: 20px;
  background-color: #f3f3f3;
}

.box-blog-post .box-text {
  padding: 15px 10px !important;
  height: 215px;
}

.box-blog-post .box-text-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* .box-blog-post .blog-post-inner {
  text-align: left;
} */

.box-blog-post .box-text-inner .is-divider {
  display: none;
}

.box-blog-post .box-text-inner .is-link {
  text-align: left;
}

.box-blog-post .blog-post-inner .post-title {
  /* text-align: center; */
  padding: 0 5px;
}

@media screen and (min-width: 550px) {
  .custom-grid-l1-c1 {
    flex-basis: 14.666667% !important;
    max-width: 14.666667% !important;
  }
  .custom-grid-l2-c3 .img-inner {
    margin-top: -215px;
  }
  .custom-grid-l2-c2 {
    flex-basis: 12% !important;
    max-width: 12% !important;
  }
  .custom-grid-l2-c1 {
    flex-basis: 27.6666666667% !important;
    max-width: 27.6666666667% !important;
  }
}
.service-mega-menu .tabbed-content .nav {
  gap: 30px;
}
.service-mega-menu .tabbed-content .nav > li > a {
  line-height: 2.5;
  min-width: 200px;
  display: block;
  text-align: center;
  color: #000;
}

.service-mega-menu .tabbed-content .nav > li.active > a {
  color: #fff;
}

.welcome-image,
.welcome-image img {
  max-width: 190px;
}

.text-justify {
  text-align: justify !important;
}

.flickity-prev-next-button {
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
}
.flickity-prev-next-button svg {
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 549px) {
  .flickity-prev-next-button {
    display: block !important;
    opacity: 0.7;
    width: 40px;
    height: 40px;
  }
  .flickity-prev-next-button svg {
    width: 30px;
    height: 30px;
  }
}

.flickity-prev-next-button svg .arrow {
  fill: #fff !important;
}

/* .concept-carousel:hover .flickity-prev-next-button {
  opacity: 1 !important;
} */

/*
.concept-carousel:hover
  .flickity-prev-next-button.next {
  transform: translateX(-20%) !important;
}

.concept-carousel:hover
  .flickity-prev-next-button.previous {
  transform: translateX(20%) !important;
} */

.accordion .accordion-item {
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
}

.accordion-title {
  font-weight: 700;
  padding: 1em 2.3em 1em 3em;
  border-top: none;
}

.accordion-title.active {
  background-color: unset;
}

.accordion .accordion-item:hover {
  background-color: var(--fs-color-secondary);
}

.accordion .accordion-item:hover .accordion-title,
.accordion .accordion-item:hover .accordion-inner {
  color: #fff;
}

.accordion .toggle {
  top: 0.8em;
  left: 0.5em;
}

.pricing-section p {
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-section .col-pricing-table > .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (min-width: 850px) {
  .tabbed-content .nav-vertical {
    width: 20%;
  }
}

.absolute-footer {
  display: none;
}

.col-hover {
  transition: all 0.3s ease;
  border-radius: 20px;
  padding-top: 20px !important;
  padding-bottom: 5px !important;
}

.col-hover:hover {
  background-color: var(--fs-color-secondary);
  color: #fff;
}

.col-hover:hover h3 {
  color: #fff;
}

.vertical-sticky-icon {
  position: fixed;
  bottom: 150px;
  right: 10px;
  z-index: 9999;
  color: #fff;
  width: 50px !important;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*
Css menu đa cấp cho Flatsome
*/
@media (min-width: 850px) {
  .nav-dropdown-default {
    padding: 0;
  }
  header#header .nav-dropdown {
    display: block;
  }
  header#header .nav-dropdown ul.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    width: 250px;
    padding: 0;
    display: none !important;
    -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
  }
  header#header .nav-dropdown ul.sub-menu a {
    white-space: normal;
    margin: 0;
    padding: 10px 15px;
    border: 0;
    font-weight: 400;
  }
  header#header .nav-dropdown li:hover > ul.sub-menu {
    display: block !important;
  }
  header#header .nav-dropdown li {
    border-right: 0;
    white-space: normal;
    width: 100%;
    display: block;
    position: relative;
  }
  header#header .nav-dropdown li.menu-item-has-children > a {
    font-weight: 400;
    text-transform: none;
    color: rgba(102, 102, 102, 0.85);
    font-size: 1em;
  }

  header#header .nav-dropdown li.menu-item-has-children > a::after {
    content: "\f105";
    font-family: "fl-icons";
    font-size: 1.2em;
    color: rgba(102, 102, 102, 0.85);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  header#header .nav-dropdown li.active > a {
    color: #e82c2a;
  }
}

@media screen and (max-width: 549px) {
  p {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  h5,
  h6 {
    font-size: 14px;
  }
  .accordion-title {
    font-size: 14px;
  }
  .button {
    font-size: 14px;
  }
  .off-canvas .nav-vertical > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-bottom {
    min-height: 40px !important;
  }
}

@media screen and (max-width: 849px) {
  .header-bottom-nav.mobile-nav .nav-icon {
    position: absolute;
    right: 0;
  }
}

.stuck .header-main {
  display: none;
}

@media screen and (min-width: 550px) {
  .header-social-icons .social-icons {
    font-size: 1.3em;
  }
}

.header-social-icons a.icon:not(.button) {
  margin-left: 0.5em;
  margin-right: 0.5em;
}

@media screen and (max-width: 849px) {
  .footer-section .col {
    padding-bottom: 10px;
  }
}

.welcome-image {
  margin-bottom: -10px !important;
}
.sticky-welcome {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sticky-welcome .col {
  padding-bottom: 0;
}

.sticky-welcome-content {
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 450px) {
  .sticky-welcome {
    position: relative;
    top: unset;
    left: unset;
    transform: translate(0, 0);
  }

  .sticky-welcome-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
