/*
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  ***************/


}
@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;
}
: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;
}


/*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;
}
/* fix css button contact */
.social-fixed {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
    position: fixed;
    right: 12px;
    z-index: 20;
    bottom: 12rem;
}
.social-fixed .ic-link {
    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: 4rem;
    height: 4rem;
}
.social-fixed .ic-link img {
    display: block;
    width: 50px;
}
/* fix css youtube */
.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top:56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
}
.youtube img {
    width: 100%;
    top: -16.82%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button {
    width: 50px;
    height: 50px;
    background-color: #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0.9;
    border-radius: 99px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
/*css dvm*/
.feature-style2 {
    border: 2px solid #bd0302;
    position: relative;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    z-index: 1;
    border-radius: 20px;
}
.feature-style2 {
    background-color: #ffffff;
    padding: 40px 30px 33px;
    text-align: center;
}
.feature-style2:hover {
    border-color: #bd0302;
    background-color: #bd0302;
}
.feature-style2::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #bd0302;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.feature-style2 .feature-icon {
    background-color: #bd0302;
}
.feature-style2 .feature-icon {
    display: inline-flex;
    min-width: 80px;
    min-height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    border: 2px solid #bd0302;
    border-radius: 50%;
}
.feature-layout2 .feature-title {
    height: 64px;
}
.feature-style2 .feature-text {
    transition: all 0.3s ease-in-out;
}
.feature-style2, .feature-style2 .feature-title{
    color: #000;
}
#img1 {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(48deg) brightness(180%) contrast(100%);
}
.feature-style2:hover #img1 {
    filter: invert(12%) sepia(96%) saturate(7330%) hue-rotate(356deg) brightness(90%) contrast(123%);
}