.wdt-button-holder { display: inline-flex; position: relative; -webkit-transition: var(--wdt-Ad-Transition); transition: var(--wdt-Ad-Transition); }
.wdt-button { border: 1px solid transparent; display: inline-flex; align-items: stretch; font-size: 1em; 
    letter-spacing: 0; line-height: normal; margin: 0; overflow: visible; position: relative; z-index: 0; text-decoration: none; 
    text-transform: none; -webkit-transition: var(--wdt-Ad-Transition); transition: var(--wdt-Ad-Transition); }

.wdt-button, .wdt-button-holder .wdt-button { background-color: var(--wdtSecondaryColor); color: var(--wdtAccentTxtColor); justify-content: center; position: relative;
    text-align: center; font-family: var(--wdtFontTypo_Alt); -webkit-border-radius: var(--wdtRadius_Zero); border-radius: var(--wdtRadius_Zero); overflow: hidden; }
.wdt-dark-bg .wdt-button, .wdt-dark-bg .wdt-button-holder .wdt-button { background-color: var(--wdtAccentTxtColor); color: var(--wdtSecondaryColor); }

.wdt-dark-bg .wdt-button, .wdt-dark-bg .wdt-button-holder .wdt-button { background-color: var(--wdtAccentTxtColor); color: var(--wdtSecondaryColor); }

.wdt-button:focus, .wdt-button-holder .wdt-button:focus,
.wdt-button:hover, .wdt-button-holder .wdt-button:hover,
.wdt-button:before, .wdt-button-holder .wdt-button:before { 
    background-color: var(--wdtPrimaryColor); color: var(--wdtAccentTxtColor); }

.wdt-dark-bg .wdt-button:focus, .wdt-dark-bg .wdt-button-holder .wdt-button:focus,
.wdt-dark-bg .wdt-button:hover, .wdt-dark-bg .wdt-button-holder .wdt-button:hover,
.wdt-dark-bg .wdt-button:before, .wdt-dark-bg .wdt-button-holder .wdt-button:before { 
    background-color: var(--wdtPrimaryColor); color: var(--wdtAccentTxtColor); }

.wdt-button .wdt-button-text, 
.wdt-button .wdt-button-icon { vertical-align: top; }

.wdt-button .wdt-button-text { display: inline-grid; align-content: center; text-align: left; gap: 10px; height: 100%; text-shadow: 0 5em currentColor; transition: inherit; }
.wdt-button:hover .wdt-button-text { transform: translateY(-5em); }
.wdt-button .wdt-button-icon { display: inline-flex; line-height: 0; transition: var(--wdt-Ad-Transition) }
.wdt-button .wdt-button-icon span { display: inherit; align-items: center; position: relative; }
/* .wdt-button .wdt-button-icon span, .wdt-button .wdt-button-icon span i { -webkit-transition: inherit; transition: inherit; } */

.wdt-button .wdt-button-text .wdt-button-subtext { display: block; font-size: 0.75em; margin-top: -2px; }

.wdt-button-holder.wdt-button-size-sm .wdt-button { font-size: var(--wdtFontSize_Ext); padding: var(--wdtPadding_MiniBtn); 
    font-family: var(--wdtFontTypo_Base); font-weight: var(--wdtFontWeight_Ext); line-height: 1; text-transform: uppercase; letter-spacing: var(--wdtLetterSpacing_3X); }
.wdt-button-holder.wdt-button-size-nm .wdt-button { font-size: var(--wdtFontSize_Ext); padding: var(--wdtPadding_Btn); 
    font-family: var(--wdtFontTypo_Base); font-weight: var(--wdtFontWeight_Ext); line-height: 1; text-transform: uppercase; letter-spacing: var(--wdtLetterSpacing_3X); }
.wdt-button-holder.wdt-button-size-lg .wdt-button { font-size: var(--wdtFontSize_Ext); padding: var(--wdtPadding_MaxiBtn); 
    font-family: var(--wdtFontTypo_Base); font-weight: var(--wdtFontWeight_Ext); line-height: 1; text-transform: uppercase; letter-spacing: var(--wdtLetterSpacing_3X); }

.elementor-align-justify .wdt-button-holder, .elementor-align-justify .wdt-button-holder .wdt-button { width: 100%; }

.wdt-button-holder.wdt-button-icon-before .wdt-button .wdt-button-icon { margin-right: 12px; }
.wdt-button-holder.wdt-button-icon-after .wdt-button .wdt-button-icon { margin-left: 12px; }


/* Styles */
.wdt-button-holder.wdt-button-style-underline .wdt-button .wdt-button-text:before, 
.wdt-button-holder.wdt-button-style-overline:before,
.wdt-button-holder.wdt-button-style-line-through .wdt-button .wdt-button-text > span:before { 
    content: ""; display: inline !important; height: 1px; pointer-events: none; position: absolute; bottom: 0; left: 0; right: 0; top: 0; 
    width: auto; -webkit-transition: inherit; transition: inherit; }

.wdt-button-holder.wdt-button-style-underline .wdt-button { margin-bottom: 3px; }
.wdt-button-holder.wdt-button-style-underline:before { bottom: 0; top: auto; }

.wdt-button-holder.wdt-button-style-overline .wdt-button { margin-top: 3px; }
.wdt-button-holder.wdt-button-style-overline:before { bottom: auto; top: 0; }

.wdt-button-holder.wdt-button-style-underline .wdt-button .wdt-button-text { position: relative; transition: inherit; padding-bottom: 2px; } 

.wdt-button-holder.wdt-button-style-underline .wdt-button .wdt-button-text:before { background-color: currentColor; background-image: inherit;
    top: auto; bottom: 0px; transform: scaleX(1); transform-origin: left; opacity: 1; transition-property: transform, color; } 
.wdt-button-holder.wdt-button-style-underline .wdt-button:focus .wdt-button-text:before,
.wdt-button-holder.wdt-button-style-underline .wdt-button:hover .wdt-button-text:before {
    transform: scaleX(0); transform-origin: right; color: currentColor; } 

.wdt-button-holder.wdt-button-style-overline:before { color: var(--wdt-elementor-color-accent); background-color: currentColor; background-image: inherit; }


.wdt-button-holder.wdt-button-style-underline .wdt-button .wdt-button-text:focus:before,
.wdt-button-holder.wdt-button-style-underline .wdt-button .wdt-button-text:hover:before, 
.wdt-button-holder.wdt-button-style-overline:focus:before,
.wdt-button-holder.wdt-button-style-overline:hover:before { color: var(--wdt-elementor-color-primary); background-color: currentColor; background-image: inherit; }

.wdt-button-holder.wdt-button-style-line-through .wdt-button .wdt-button-text > span { position: relative; }
.wdt-button-holder.wdt-button-style-line-through .wdt-button .wdt-button-text > span:before { 
    background-color: currentColor; margin: auto; -webkit-transform: translateY(100%); transform: translateY(100%); }


/* Template - Bordered */
.wdt-button-holder.wdt-template-filled .wdt-button { margin-top: 0; }
.wdt-button-holder.wdt-template-filled .wdt-button { margin-top: 0; }


/* Template - Bordered */
.wdt-button-holder.wdt-template-bordered .wdt-button { background: transparent; border-color: var(--wdtBorderColor); border-width: 2px; margin-top: 0; }
.wdt-button-holder.wdt-template-bordered .wdt-button:before{ display: none; }
.wdt-button-holder.wdt-template-bordered .wdt-button:not(:focus), 
.wdt-button-holder.wdt-template-bordered .wdt-button:not(:hover) { color: var(--wdtSecondaryColor); }

.wdt-button-holder.wdt-template-bordered .wdt-button:focus, 
.wdt-button-holder.wdt-template-bordered .wdt-button:hover { color: var(--wdtPrimaryColor); border-color: var(--wdtPrimaryColor); }

.wdt-dark-bg .wdt-button-holder.wdt-template-bordered .wdt-button:not(:focus), 
.wdt-dark-bg .wdt-button-holder.wdt-template-bordered .wdt-button:not(:hover) { color: var(--wdtAccentTxtColor); border-color: rgba(var(--wdtBorderColorRgb), .25); }

.wdt-dark-bg .wdt-button-holder.wdt-template-bordered .wdt-button:focus, 
.wdt-dark-bg .wdt-button-holder.wdt-template-bordered .wdt-button:hover { color: var(--wdtPrimaryColor); background-color: transparent; border-color: var(--wdtPrimaryColor); }


/* Template - Textual */
.wdt-button-holder.wdt-template-textual .wdt-button { border-width: 0; padding: 0; border-radius: var(--wdtRadius_Zero); }
.wdt-button-holder.wdt-template-textual .wdt-button:before{ display: none; }

.wdt-button-holder.wdt-template-textual .wdt-button:not(:focus), 
.wdt-button-holder.wdt-template-textual .wdt-button:not(:hover) { background: none !important; border-width: 0; color: var(--wdtSecondaryColor); }

.wdt-button-holder.wdt-template-textual .wdt-button:focus, 
.wdt-button-holder.wdt-template-textual .wdt-button:hover { background: none; border-width: 0; color: var(--wdtPrimaryColor); }

.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button:not(:focus), 
.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button:not(:hover) {  color: var(--wdtAccentTxtColor); }

.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button:focus, 
.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button:hover { color: var(--wdtPrimaryColor); }
.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button span.wdt-button-text,
.wdt-button-holder.wdt-template-textual .wdt-button span.wdt-button-text { transform: none; }
.wdt-dark-bg .wdt-button-holder.wdt-template-textual .wdt-button:hover span.wdt-button-text,
.wdt-button-holder.wdt-template-textual .wdt-button:hover span.wdt-button-text { transform: none; }

