/*
Theme Name: tbth
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

:root {
    --size-hd: 20rem;
    --color-pri: #a2612c;
    --color-sec: #a2612c;
    --color-tt: #a2612c;
    --color-text: #3d3d3d;
    --color-black: #111;
    --color-white: #fff;
    --distance: 4rem;
    --cl-border: #e2e8f0;
    --pd-sc: 4rem;
}

body {
    font-family: "SVN-Poppins" !important;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    color: var(--color-text);
    overflow: hidden auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a,
.nav>li>a {
    font-family: "SVN-Poppins" !important;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsBlack.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsBlackItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsBlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsBold.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraLightItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraLight.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsBoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraBold.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraBoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsMediumItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsMediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsLight.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsLightItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsLightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsThinItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsSemiBoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsSemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsSemiBold.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsSemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsThin.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsThin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-PoppinsMedium.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-PoppinsMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('/wp-content/themes/tbth/fonts/SVN-Poppins.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-Poppins.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Swashington';
    src: url('/wp-content/themes/tbth/fonts/SVN-Swashington.woff2') format('woff2'),
        url('/wp-content/themes/tbth/fonts/SVN-Swashington.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*css header button*/
.btn>* {
    position: relative;
    z-index: 2;
}

.btn {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    cursor: pointer;
    padding: 0.4rem 1.2rem;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    overflow: hidden;
    position: relative;
    background: var(--color-pri);
    gap: 0.8rem;
    color: #fff;
    font-size: 1rem;
    border-radius: 100rem;
}

.btn .icon.icon-img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.btn .icon {
    width: 2rem;
    height: 2rem;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-weight: 500;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    background: #f3ccd2;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn:hover {
    color: var(--color-pri);
    background: transparent;
}

.btn:hover::after {
    left: 0;
    width: 100%;
}

.btn:hover .icon.icon-img {
    -webkit-filter: unset;
    filter: unset;
}
/*Blog home*/
.container_lists{
  margin-top: 25px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 450px;
}
.category_container {
  --gap:0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(var(--gap) * 2);
  width: 100%;
  height: 100%;
}
.content_boxs {
  --active: 0;
  cursor: pointer;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 2.5rem;
  width: calc((100% / 3) - var(--gap));
  height: 100%;
  border-radius: 1rem;
  transition: width 0.5s ease-in-out;
}
.content_boxs:hover {
  --active: 1;
  width: calc(70% - var(--gap));
}
.content_boxs::before {
  content: "";
  position: absolute;
  z-index: -10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  opacity: 0.6;
}
.content_boxs img {
  position: absolute;
  z-index: -20;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.content_boxs .profile_image {
  opacity: calc(1 - var(--active));
  transition: opacity 0.3s ease-in-out;
}
.profile_detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 12rem;
  transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}
.profile_detail span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light);
  text-wrap: nowrap;
}
.profile_detail p {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--light);
}
.profile_quote {
  width: 22rem;
  transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
}
.profile_quote p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light);
  transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
  transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
}
.wrapper_boxs{
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
  transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s, -ms-grid-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.profile_quote {
  min-height: 0;
  transform: translateY(50%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.content_boxs:hover .wrapper_boxs{
  grid-template-rows: 1fr;
}

.content_boxs:hover .profile_quote {
  transform: none;
  opacity: 1;
}