/*
Theme Name: Flatsome
Theme URI: http://flatsome.uxthemes.com/
Author: UX-Themes
Author URI: http://www.uxthemes.com/
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.10.4
Text Domain: flatsome
License: http://themeforest.net/licenses
License URI: http://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/


/** yen update 7/4/2025*/
.logo-left .logo {
    margin-right: 20px;
    width: 200px !important;
}
@media (max-width: 849px) {
    .header-main li.html.custom {
        display: block;
    }
}
@media screen and (max-width: 849px) {
    .medium-logo-center .flex-right {
        flex: none !important;
    }
}

a.glink {
    text-decoration: none;
    padding: 0px 3px;
    opacity: 0.5;
}

a.glink img {
    opacity: 0.5;
}
a.gt-current-lang img , a.gt-current-lang{ 
    opacity: 1 !important;
}

/* Yen fix pdf css layout preview 06/09/2025 */

/* Let the tab content (right side) shrink inside the flex container */
.tabbed-content .tab-panels {
  flex: 1 1 0%;
  min-width: 0;               /* ← the key fix */
  overflow: hidden;           /* avoids visual spill */
}

/* Flatsome sometimes needs this too */
.col-inner { min-width: 0; }

/* Make PDF Embedder responsive */
.panel.entry-content .pdfemb-embed-container,
.panel.entry-content .pdfemb-viewer,
.panel.entry-content .pdfemb-inner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Reasonable height so it doesn't push the panel too tall */
.panel.entry-content .pdfemb-viewer { height: 70vh; }  /* adjust as you like */

.tabbed-content .panel.entry-content iframe[src$=".pdf"] {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 70vh;
}
.panel.entry-content .pdfemb-viewer{ height:70vh; }


 .page-template-page-blank .tabbed-content .tab-panels {
  width: 75% !important;
}

