/* ----------------------------------------------------------------
	Canvas: Drone
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: var(--bs-primary);
	--cnvs-themecolor-rgb: var(--bs-primary-rgb);

	--cnvs-body-font: "hoss-round-wide", sans-serif;
	--cnvs-primary-font: "hoss-round-wide", sans-serif;
}

#header {
	--cnvs-primary-menu-font-weight: 500;
	--cnvs-primary-menu-font-size:	1rem;
	--cnvs-primary-menu-tt:	none;
	--cnvs-primary-menu-ls:	0;
	--cnvs-primary-menu-submenu-font-size:	0.875rem;
	--cnvs-primary-menu-submenu-font-weight:	400;
	--cnvs-primary-menu-submenu-hover-font-weight: 500;
	--cnvs-primary-menu-submenu-tt:	none;
}

.is-expanded-menu .mega-menu-style-2 .mega-menu-title > .menu-link {
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 0.9);
}

#header {
	--cnvs-header-height: 60px;
	--cnvs-primary-menu-font-size: .9125rem;
	--cnvs-primary-menu-font-weight: 400;
	--cnvs-primary-menu-color: var(--cnvs-contrast-800);
	--cnvs-header-floating-top-offset: 0;
	--cnvs-top-search-font-size: 1.125rem;
	--cnvs-top-search-placeholder: var(--cnvs-contrast-500);
}

.is-expanded-menu .menu-link {
	--cnvs-primary-menu-padding-x: 13px;
}

.is-expanded-menu #header.transparent-header.floating-header .container {
	border-radius: 23rem;
	max-width: calc(100% - 30px);
}

#logo img {
	transition: transform .5s ease;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

#logo:hover img {
	transform: rotate(90deg);
}

.is-expanded-menu #header-wrap,
.is-expanded-menu .sticky-header #header-wrap {
	position: fixed !important;
    top: 15px;
    background-color: transparent;
	border: 0;
}

.genchemph .top-cart-content,
.genchemph .menu-container > .menu-item > .sub-menu-container {
	border-radius: 12px;
}

.button-offset:is(:hover, :focus) {
	outline-width: 3px;
	outline-style: solid;
	outline-color: var(--cnvs-themecolor);
	outline-offset: 0;
	transition: all .1s;
}

.button-offset.button-offset-circle {
	outline-color: #FFF;
	outline-width: 2px;
}

.button-offset:is(:hover, :focus) {
	outline-offset: 3px;
}

.button-offset.button-light {
	outline-color: var(--bs-white);
}


/* Tab */

#demo-drone-tab {
	--bs-nav-tabs-border-width: 0px;
	--bs-nav-link-color: #111;
}

#demo-drone-tab .nav-item {
	position: relative;
}

#demo-drone-tab .nav-item .nav-link.active .tab-title {
	font-weight: 600;
}

@media (min-width: 992px) {
	#demo-drone-tab .nav-item .nav-link.active::after {
		content: '';
		position: absolute;
		width: 0; 
		height: 0;
		margin-left: -5px;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid var(--cnvs-contrast-300);
		bottom: 0;
		left: 50%;
	}
}

/* Home — PVC Resins / PVC Stabilizers tab panels (mobile) */
@media (max-width: 991.98px) {
  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row:has(> .col-md-5.text-white) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row:has(> .col-md-5.text-white) > .col-md-5 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Same stack order for both tabs: text block first, image second */
  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5.text-white {
    order: 1 !important;
    text-align: center !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5:not(.text-white),
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5:not(.text-white),
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5:not(.text-white) {
    order: 2 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white h1,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white h1,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5.text-white h1 {
    text-align: center !important;
    width: 100% !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white p.fs-5,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white p.fs-5,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5.text-white p.fs-5 {
    text-align: justify !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white .button,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5.text-white .button,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5.text-white .button {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .genchemph .cms-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5 img,
  .genchemph .public-page-content:not(.genchem-products-page) #gc-tab-content > .tab-pane > .row > .col-md-5 img,
  .genchemph-canvas #gc-tab-content > .tab-pane > .row > .col-md-5 img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: min(75%, 320px) !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }
}