.form-element.has-text .xgp-input-field {
    width: 100%;
    height: 50px;
    padding: 0 30px;
}

.form-element.has-text .text {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    background-color: #F5F5F5;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.form-element.has-text {
    display: block;
    position: relative;
}

.form-element.has-text:focus,
.form-element.has-text .xgp-input-field:focus {
    outline: none;
    box-shadow: none;
}

/**
    default margin class
 */
.margin-left-0 {
    margin-left: 0 !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.xgp-tab-nav.ui-tabs-nav {
    margin: 0;
    padding: 0;
    margin-top: 30px;
}

/*#xgp_product_settings_metabox .handlediv,div#xgp_product_settings_metabox .hndle.ui-sortable-handle {*/
/*display:  none;*/
/*}*/
.xgp-tab-nav.ui-tabs-nav li:first-child {
    margin-left: 0;
}

.xgp-tab-nav.ui-tabs-nav li {
    display: inline-block;
    margin: 0 2px;
}

.xgp-tab-container {
    padding-top: 30px;
}

.xgp-tab-nav.ui-tabs-nav li a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 25px;
    background-color: #A46497;
}

.xgp-tab-nav.ui-tabs-nav li a:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.xgp-tab-nav.ui-tabs-nav li.ui-tabs-active a {
    background-color: #18a530;
}

.xgp-form-element .xgp-input-field {
    height: 50px;
    width: 30%;
    border-radius: 3px;
    padding: 5px 25px;
    font-size: 16px;
    margin-left: 10%;
}

.xgp-form-element.has-icon .xgp-input-field {
    padding-right: 60px;
}

.has-icon {
    position: relative;
    display: block;
    width: 200px;
}

.the-icon {
    position: absolute;
    right: -1px;
    top: 1px;
    width: 50px;
    height: 50px;
    background-color: #F2F2F2;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.the-icon .ictext {
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    color: #515151;
    display: block;
}

.xgp-submit-btn:focus {
    outline: none;
    box-shadow: none;
}

.xgp-submit-btn {
    display: block;
    width: 180px;
    height: 50px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 18px;
    background-color: #18a530;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
}

.xgp-form-element {
    margin-bottom: 20px;
}

.xgp-form-element .label .help-text {
    font-size: 14px;
    color: #777;
    display: block;
}

.xgp-form-element .label {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
    display: inline-block;
    width: 30%;
}

.width-200 {
    width: 200px !important;
}

.form-element-label .label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.form-element-label .help-text {
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

.xgp-form-element .select-field {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.xgp-form-element .select-field:focus {
    outline: none;
    box-shadow: none;
}

.width-200 {
    width: 300px;
}

.xgp-form-element .wp-picker-container {
    display: inline-block;
    margin-left: 10%;
}

.xgp-form-element .wp-picker-container input[type=text].wp-color-picker {
    width: 100px;
    height: 30px;
}

/* select 2 plugins override */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 50px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 50px;
    user-select: none;
    -webkit-user-select: none;
    line-height: 50px;
    padding: 0 14px;
    font-size: 16px;
    width: 99%;
    border: 1px solid rgba(0, 0, 0, .07) !important;
}

.select2-container--open .select2-dropdown {
    left: -138px;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    margin-left: 138px;
}

.select2-container:focus {
    outline: none;
}

.xgp_display_none {
    display: none;
}

.xgp-display-block {
    display: block;
}

.xgp-toggle {
    display: flex;
    position: relative;
    width: 130px;
    height: 40px;
    align-self: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #F2F2F2;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.xgp-toggle:after, .xgp-toggle:before {
    flex: 1;
    text-align: center;
    line-height: 40px;
}

.xgp-toggle:after {
    content: "OFF";
    font-weight: 600;
    color: #242424;
}

.xgp-toggle:before {
    content: "ON";
    font-weight: 600;
    color: #242424;
}

.xgp-toggle input {
    display: none;
}

.xgp-toggle label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.xgp-toggle .xgp-card {
    position: relative;
    background: #dc3545;
    transition: .4s;
    width: 65px;
    height: 40px;
    pointer-events: none;
}

.xgp-toggle input:checked + label .xgp-card {
    background: #28a745;
}

.xgp-toggle .xgp-card {
    -webkit-transform: translate(0);
    transform: translate(0);
}

.xgp-toggle input:checked + label .xgp-card {
    -webkit-transform: translateX(66px);
    transform: translateX(66px);
}

.xgp-toggl-wrapper {
    display: inline-block;
    margin-left: 10%;
}


/*-----------
    Column Css
------------*/
/*
    xgp product metabox stylesheet
*/
.xga_shotcode_wrapper {
    width: 270px;
    padding: 6px;
}

.xga-shortcode-element-field {
    position: relative;
    height: 35px;
}

.xga-shortcode-element-field .icon {
    width: 60px;
    background-color: #ddd;
    position: absolute;
    right: 0;
    top: 0;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;

}

.xga-shortcode-element-field {
    display: inline-block;
}


.xgp-shortcode-element-field .icon {
    display: inline-block;
    width: 60px;
    height: 35px;
    background-color: #f2f2f2;
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    line-height: 35px;
    font-weight: 600;
}

.xgp-shortcode-element-field {
    position: relative;
    z-index: 0;
    display: inline-block;
}


/*---------------------------
    Team Slider
----------------------------*/
#xgt_team_slider_shortcode_copy,
#xgt_team_grid_shortcode_copy,
#xgt_team_filter_shortcode_copy {
    width: 100% !important;
    padding: 0px;
    margin-left: 0;
    background-color: #f5f5f5;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

#copy_shortcode,
#copy_grid_shortcode,
#copy_filter_shortcode {
    display: block;
    margin-top: 10px;
    border: none;
    background-color: #18A530;
    text-transform: uppercase;
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}

#copy_shortcode:focus,
#copy_grid_shortcode:focus {
    outline: none;
    box-shadow: none;
}


/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
    cursor: default !important;
    pointer-events: none;
}

/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-slider {
    position: relative;
    text-align: left;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
    background-color: #18a530;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
    filter: inherit;
}

.ui-slider-horizontal {
    height: .8em;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.3em;
    margin-left: -.6em;
}

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}

.ui-slider-vertical {
    width: .8em;
    height: 100px;
}

.ui-slider-vertical .ui-slider-handle {
    left: -.3em;
    margin-left: 0;
    margin-bottom: -.6em;
}

.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 100%;
}

.ui-slider-vertical .ui-slider-range-min {
    bottom: 0;
}

.ui-slider-vertical .ui-slider-range-max {
    top: 0;
}

/* Component containers
----------------------------------*/
.xgp-ui-slider.ui-widget {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

.xgp-ui-slider.ui-widget .ui-widget {
    font-size: 1em;
}

.xgp-ui-slider.ui-widget input,
.xgp-ui-slider.ui-widget select,
.xgp-ui-slider.ui-widget textarea,
.xgp-ui-slider.ui-widget button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

.xgp-ui-slider.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
}


/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
    /* We use html here because we need a greater specificity to make sure disabled
    works properly when clicked or hovered */
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}

.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited,
a.ui-button,
a:link.ui-button,
a:visited.ui-button,
.ui-button {
    color: #454545;
    text-decoration: none;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
    border: 1px solid #cccccc;
    background: #ededed;
    font-weight: normal;
    color: #2b2b2b;
}

.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited,
a.ui-button:hover,
a.ui-button:focus {
    color: #2b2b2b;
    text-decoration: none;
}

.ui-visual-focus {
    box-shadow: 0 0 3px 1px rgb(94, 158, 214);
}

.ui-icon-background,
.ui-state-active .ui-icon-background {
    border: #003eff;
    background-color: #ffffff;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #ffffff;
    text-decoration: none;
}

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid #dad55e;
    background: #fffa90;
    color: #777620;
}

.ui-state-checked {
    border: 1px solid #dad55e;
    background: #fffa90;
}

.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
    color: #777620;
}

.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
    border: 1px solid #f1a899;
    background: #fddfdf;
    color: #5f3f3f;
}

.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
    color: #5f3f3f;
}

.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
    color: #5f3f3f;
}

.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
    font-weight: bold;
}

.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
    opacity: .7;
    filter: Alpha(Opacity=70); /* support: IE8 */
    font-weight: normal;
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    opacity: .35;
    filter: Alpha(Opacity=35); /* support: IE8 */
    background-image: none;
}

.ui-state-disabled .ui-icon {
    filter: Alpha(Opacity=35); /* support: IE8 - See #6059 */
}

/* Misc visuals
----------------------------------*/

/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
    border-top-left-radius: 3px;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 3px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
    border-bottom-left-radius: 3px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-bottom-right-radius: 3px;
}

/* Overlays */
.ui-widget-overlay {
    background: #aaaaaa;
    opacity: .3;
    filter: Alpha(Opacity=30); /* support: IE8 */
}

.ui-widget-shadow {
    -webkit-box-shadow: 0px 0px 5px #666666;
    box-shadow: 0px 0px 5px #666666;
}


.xgp-form-element.slider-field {
    display: flex;
    max-width: 835px;
}

.xgp-form-element.slider-field .right-content .xgp-ui-slider {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    min-width: 200px;
}

.xgp-form-element.slider-field .right-content {
    position: relative;
    z-index: 0;
    width: 42%;
}

.xgp-form-element.slider-field .right-content .xgp-input-field {
    position: absolute;
    left: 230px;
    margin-left: 0;
    width: 60px;
    padding: 5px;
}

.xgp-form-element.slider-field .right-content .unit {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border: 1px solid #e2e2e2;
    background-color: #f3f3f3;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
}
