/* Divi Builder Module selection popup */
ul>li.ds_dual_heading:before {
    color: white;
}

ul>li.ds_dual_heading {
    background-color: #2c3d49 !important;
    color: white !important;
    overflow: visible !important;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

ul>li.ds_dual_heading:hover {
    background-color: #1f2b33 !important;
}

ul>li.ds_dual_heading span {
    font-size: 10px !important;
}

ul>li.ds_dual_heading .et-fb-icon.et-fb-icon--svg {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: -3px auto 5px auto !important;
}

:root {
    --background-text-content: '';
  }
.ds-dh-main{
    display: flex;
}
.ds-dual-heading .ds-dh-main::before{
    content: var(--background-text-content);
    z-index: 1;
    position: absolute;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    text-align: center;
    border-style: solid;
    border-width: 0;
}

.ds-dual-heading .ds-dh-first-heading,
.ds-dual-heading .ds-dh-second-heading{
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: inline-block;
}

.ds-dual-heading .ds-dh-main .ds-dh-second-heading:before,
.ds-dual-heading .ds-dh-main .ds-dh-first-heading:before{
    display: block;
    width: 0%;
    height: 0%;
    background: #eeeeee;
    position: absolute;
    z-index: 1;
}

.ds-dual-heading.ds-dh-waypoint .ds-dh-first-heading:before,
.ds-dual-heading.ds-dh-waypoint .ds-dh-second-heading:before {
    animation-timing-function: ease;
    animation-fill-mode: forwards;
 }
 .ds-dual-heading .ds-dh-first-heading .ds-dh-bg-container,
 .ds-dual-heading .ds-dh-second-heading .ds-dh-bg-container{
    display: block;
 }
 .ds-dual-heading.ds-dh-waypoint .ds-dh-first-heading .ds-dh-animation-container,
.ds-dual-heading.ds-dh-waypoint .ds-dh-second-heading .ds-dh-animation-container{
    animation-fill-mode: forwards;
    visibility: hidden;
}

.et-fb.et-bfb .ds-dual-heading.ds-dh-waypoint .ds-dh-first-heading .ds-dh-animation-container,
.et-fb.et-bfb .ds-dual-heading.ds-dh-waypoint .ds-dh-second-heading .ds-dh-animation-container{
    visibility: visible;
}
/* Reveal Effects */
@keyframes dsDHreveal {
    0% {  visibility: hidden;}
    35% { visibility: hidden;}
    70% { visibility: hidden;}
    100% {  visibility: visible;}
}
@keyframes dsDHSlideLeft {
    0%   { height: 100%;width: 0;   top:0;left:0;right:auto;}
    35%  { height: 100%;width: 100%;top:0;left:0;right:auto;}
    75%  { height: 100%;width: 100%;top:0;right:0;left:auto;}
    100% { height: 100%;width: 0;   top:0;right:0;left:auto; }
}
@keyframes dsDHSlideRight {
    0%   { height: 100%;width: 0;   top:0;right:0;left:auto;}
    35%  { height: 100%;width: 100%;top:0;right:0;left:auto;}
    75%  { height: 100%;width: 100%;top:0;left:0;right:auto;}
    100% { height: 100%;width: 0;   top:0;left:0;right:auto;}
}
@keyframes dsDHFadeOut {
    0%   { height: 100%;width: 100%;opacity: 0 }
    35%  { height: 100%;width: 100%;opacity: 1 }
    70%  { height: 100%;width: 100%;opacity: 1 }
    100% { height: 100%;width: 100%;opacity: 0; }
}
@keyframes dsDHSlideUp {
    0%   { height: 0%;  width: 100%;  left:0;bottom:0;top:auto;}
    35%  { height: 100%;width: 100%;  left:0;bottom:0;top:auto;}
    75%  { height: 100%;width: 100%;  left:0;bottom:auto;top:0;}
    100% { height: 0%;  width: 100%;  left:0;bottom:auto;top:0;}
}
@keyframes dsDHSlideDown {
    0%   { height: 0%;  width: 100%;  left:0;top:0;bottom:auto;}
    35%  { height: 100%;width: 100%;  left:0;top:0;bottom:auto;}
    75%  { height: 100%;width: 100%;  left:0;top:auto;bottom:0;}
    100% { height: 0%;  width: 100%;  left:0;top:auto;bottom:0;}
}
/* End of Reveal Effects */

@keyframes dsBGLeftToRight {
    0%   { background-position: 0 0 ; }
    100% { background-position: -100% 0; }
}
@keyframes dsBGRightToLeft {
    0%   { background-position: 0 0 ; }
    100% { background-position: 100% 0; }
}
@keyframes dsBGTopToBottom {
    0%   { background-position: 0 0 ; }
    100% { background-position: 0 -100%; }
}
@keyframes dsBGBottomToTop {
    0%   { background-position: 0 0 ; }
    100% { background-position: 0 100%; }
}

@keyframes dsBGHorizontal {
    0%   { background-position: 0 0 ; }
    50% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

@keyframes dsBGVertical {
    0%   { background-position: 0 0 ; }
    50% { background-position: 0 100%; }
    100% { background-position: 0 0; }
}

h1.ds-dh-main,
h2.ds-dh-main,
h3.ds-dh-main,
h4.ds-dh-main,
h5.ds-dh-main,
h6.ds-dh-main{
    padding-bottom: 0;
}

.ds-dual-heading-typography-tabs .et-vb-group-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
