.hf-display-inline {
    display: flex;
    justify-content: space-between;
}

/* Panel Tabs */

.hf-head-panel-tabs {
    margin: 15px 0 0;
}

.hf-head-panel-tabs .hf-panel-tabs-wrap {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    transition: all 0.1s ease-in-out;
}

.hf-panel-tabs-wrap .hf-panel-tab {
    position: relative;
    align-items: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 3px 3px 0 0;
    bottom: -1px;
    color: #888;
    cursor: pointer;
    display: flex;
    flex: 1;
    flex-direction: column;
    font-weight: 400;
    height: 70px;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    outline: 0 !important;
}

.hf-panel-tabs-wrap .active-tab.hf-panel-tab {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
    color: #191e23;
    font-weight: 500;
}

.hf-panel-tabs-wrap .active-tab.hf-panel-tab:first-child {
    border-left-color: transparent;
}

.hf-panel-tabs-wrap .active-tab.hf-panel-tab:last-child {
    border-right-color: transparent;
}

.hf-panel-tabs-wrap .hf-panel-tab .dashicons {
    font-size: 25px;
    height: auto;
    margin-bottom: 8px;
    width: auto;
}

.hf-panel-tabs-wrap .hf-panel-tab .dashicons svg path {
    fill: #888;
}

.hf-panel-tabs-wrap .active-tab.hf-panel-tab .dashicons svg path {
    fill: #191e23;
}

/* Fields */
.hf-field {
    margin-bottom: 18px;
    position: relative;
}

.hf-field:last-child {
    margin-bottom: 0;
}

.hf-field input {
    font-size: 13px;
}

/* Label */
.hf-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.hf-device {
    height: 20px;
    width: 20px;
    position: relative;
    z-index: 1;
}

.hf-device > button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    color: #555d66;
    cursor: pointer;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    height: 20px;
    width: 20px;
    padding: 0;
}

.hf-device > button > svg {
    height: 8px;
    width: 8px;
}

.hf-device > button.active {
    color: #191e23;
    background: none;
}

.hf-device.active-md .active,
.hf-device.active-sm .active,
.hf-device.active-xs .active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hf-device.active-md > button,
.hf-device.active-sm > button,
.hf-device.active-xs > button {
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: all 0.3s linear;
    visibility: hidden;
}

.hf-device:hover button.hf-device-desktop {
    opacity: 1;
    top: 0;
    visibility: visible;
}

.hf-device:hover button.hf-device-tablet {
    opacity: 1;
    top: -22px;
    visibility: visible;
}

.hf-device:hover button.hf-device-mobile {
    opacity: 1;
    top: -44px;
    visibility: visible;
}

/* Units */
.hf-unit-btn-group {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.hf-unit-btn-group button {
    background: none;
    border: 0;
    color: #8d96a0;
    cursor: pointer;
    font-size: 10px;
    padding: 0 4px;
    text-transform: uppercase;
    box-shadow: none;
    outline: 0;
}

.hf-unit-btn-group button.active {
    color: #000;
    text-decoration: underline;
}

.hf-unit-btn-group button:focus {
    outline: 0;
}

/* Input Range */
.hf-input-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hf-input-range input[type="number"] {
    width: 55px !important;
    border-color: #e6e6e6;
    border-radius: 3px;
    height: 28px;
    padding-right: 0;
}

.hf-input-range input[type="range"] {
    -webkit-appearance: none;
    background: none;
    width: 100%;
}

.hf-input-range input[type="range"]::-webkit-slider-runnable-track {
    animate: 0.2s;
    background: #e5e7ea;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    height: 4px;
    width: 100%;
}

.hf-input-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #606871;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    height: 14px;
    margin-top: -5px;
    width: 14px;
}

.hf-input-range input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #f3f4f5;
}

.hf-input-range input[type="range"]::-moz-range-track {
    animate: 0.2s;
    background: #e5e7ea;
    border: 0 solid #000;
    border-radius: 5px;
    cursor: pointer;
    height: 4px;
    width: 100%;
}

.hf-input-range input[type="range"]::-moz-range-thumb {
    background: #606871;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    height: 14px;
    width: 14px;
}

.hf-input-range input[type="range"]::-ms-track {
    animate: 0.2s;
    background: 0 0;
    border-color: transparent;
    border-width: 14px 0;
    color: transparent;
    cursor: pointer;
    height: 4px;
    width: 100%;
}

.hf-input-range input[type="range"]::-ms-fill-lower {
    background: #d7dadf;
    border: 0 solid #000;
    border-radius: 10px;
}

.hf-input-range input[type="range"]::-ms-fill-upper {
    background: #e5e7ea;
    border: 0 solid #000;
    border-radius: 10px;
}

.hf-input-range input[type="range"]::-ms-thumb {
    background: #606871;
    border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    height: 14px;
    width: 14px;
}

.hf-input-range input[type="range"]:focus::-ms-fill-lower {
    background: #8d96a0;
}

.hf-input-range input[type="range"]:focus::-ms-fill-upper {
    background: #f3f4f5;
}

/* Buttons */
.hf-icon-button-group {
    display: flex;
}

.hf-icon-button-group.components-button-group .components-button {
    border: 0;
    box-shadow: inset 0 0 0 1px #d7d9dc;
    color: #485164;
    flex: 1;
    height: 30px;
    justify-content: center;
    line-height: 28px;
    font-size: 26px;
}

.hf-icon-button-group.components-button-group .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):not(.is-default) {
    background: #eaecf5;
    border-color: #00435d;
    box-shadow: inset 0 0 0 1px #293056;
    color: #293056;
}

.hf-icon-button-group.components-button-group .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
    box-shadow: inset 0 0 0 1px #293056;
    z-index: 1;
}

/* Gap and Dimension */
.hf-field-dimension .hf-dimension-input-group,
.hf-field-gap .hf-gap-input-group {
    display: flex;
}

.hf-field-dimension .hf-dimension-input-group > span,
.hf-field-gap .hf-gap-input-group > span {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hf-field-dimension .hf-dimension-input-group input,
.hf-field-gap .hf-gap-input-group input {
    border: 1px solid #e6e6e6;
    height: 28px;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    border-radius: 3px;
    box-shadow: none;
}

.hf-field-dimension .hf-dimension-input-group > button,
.hf-field-gap .hf-gap-input-group > button {
    border: 1px solid #e6e6e6;
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: center;
    width: 50px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.hf-field-dimension .hf-dimension-input-group > button.active,
.hf-field-gap .hf-gap-input-group > button.active {
    background: #a4afb7;
    border-color: #a4afb7;
    color: #fff;
}

.hf-field-dimension .hf-dimension-input-group span:not(:first-child) input,
.hf-field-gap .hf-gap-input-group span:not(:first-child) input {
    border-left: 0;
    border-radius: 0;
}

.hf-field-dimension .hf-dimension-input-group > span:first-child input,
.hf-field-gap .hf-gap-input-group > span:first-child input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.hf-field-dimension .hf-dimension-input-group > span:nth-child(4) input,
.hf-field-gap .hf-gap-input-group > span:nth-child(2) input {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.hf-field-dimension .hf-dimension-input-group button.hf-button .dashicons,
.hf-field-gap .hf-gap-input-group button.hf-button .dashicons {
    font-size: 15px;
    transition: all 0.1s ease-in-out;
    height: auto;
    width: auto;
}

.hf-field-dimension .hf-dimension-input-group span > span,
.hf-field-gap .hf-gap-input-group span > span {
    color: #888;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: auto;
    width: auto;
}

/* Button List */
.hf-field-button-list {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.hf-field-button-wrap {
    display: inline-flex;
}

.hf-field-button-wrap .hf-button {
    border: 0;
    box-shadow: inset 0 0 0 1px #d7d9dc;
    color: #485164;
    flex: 1;
    height: 30px;
    line-height: 28px;
    padding: 0 10px;
    background: none;
    cursor: pointer;
    margin-left: -1px;
    font-size: 13px;
}

.hf-field-button-wrap .hf-button:hover {
    box-shadow: inset 0 0 0 1px #293056;
    z-index: 1;
}

.hf-field-button-wrap .hf-button.active {
    background: #eaecf5;
    border-color: #00435d;
    box-shadow: inset 0 0 0 1px #293056;
    color: #293056;
    position: relative;
    z-index: 1;
}

.hf-field-button-wrap .hf-button:not(:last-child) {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.hf-field-button-wrap .hf-button:first-child {
    border-radius: 3px 0 0 3px;
}

.hf-field-button-wrap .hf-button:last-child {
    border-radius: 0 3px 3px 0;
}

/* Border */
.hf-field.hf-field-border {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hf-field-border-type {
    display: block;
    width: 16px;
}

.hf-field-border-type.hf-field-border-type-solid {
    border-top: 3px solid #485164;
}

.hf-field-border-type.hf-field-border-type-dotted {
    border-top: 3px dotted #485164;
}

.hf-field-border-type.hf-field-border-type-dashed {
    border-top: 3px dashed #485164;
}

.hf-field-border-type.hf-field-border-type-double {
    border-top: 6px double #485164;
}

.hf-field-button-list .active .hf-field-border-type.hf-field-border-type-dashed,
.hf-field-button-list .active .hf-field-border-type.hf-field-border-type-dotted,
.hf-field-button-list .active .hf-field-border-type.hf-field-border-type-double,
.hf-field-button-list .active .hf-field-border-type.hf-field-border-type-solid {
    border-top-color: #293056;
}

/* Color */
.hf-field.hf-field-color {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hf-color-picker-container {
    border-radius: 3px;
    cursor: pointer;
    display: block;
    outline: 0;
    padding: 0;
    background-image: -webkit-linear-gradient(45deg, #ddd 25%, transparent 0), -webkit-linear-gradient(135deg, #ddd 25%, transparent 0), -webkit-linear-gradient(45deg, transparent 75%, #ddd 0), -webkit-linear-gradient(135deg, transparent 75%, #ddd 0);
    background-image: -o-linear-gradient(45deg, #ddd 25%, transparent 0), -o-linear-gradient(135deg, #ddd 25%, transparent 0), -o-linear-gradient(45deg, transparent 75%, #ddd 0), -o-linear-gradient(135deg, transparent 75%, #ddd 0);
    background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0);
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    background-size: 10px 10px;
    border: 1px solid #e6e6e6;
    height: 25px;
    width: 25px;
}

.hf-color-picker {
    background: 0 0;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 3px;
    display: block;
    height: 23px;
    outline: 0;
    width: 23px;
}

/* Reset Settings */
.hf-reset-field {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
}

.hf-field-border:hover .hf-reset-field,
.hf-field-color:hover .hf-reset-field,
.hf-field-select:hover .hf-reset-field,
.hf-field-boxshadow:hover .hf-reset-field,
.hf-field-typography:hover .hf-reset-field,
.hf-field-translate:hover .hf-reset-field,
.hf-field-rotate:hover .hf-reset-field,
.hf-field-scale:hover .hf-reset-field,
.hf-field-skew:hover .hf-reset-field,
.hf-field-opacity:hover .hf-reset-field,
.hf-field-perspective:hover .hf-reset-field {
    opacity: 1;
    visibility: visible;
}

.hf-clear-field {
    color: #485164;
    cursor: pointer;
    font-size: 12px;
}

.hf-clear-field:hover {
    color: #485164;
}

/* PopUp */
.hf-components-dropdown {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.hf-setting-button {
    background: none;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    cursor: pointer;
    height: 28px;
    width: 28px;
    outline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hf-setting-button > span {
    height: auto;
    width: auto;
    font-size: 16px;
}

.hf-popover-style .components-popover__content {
    border-color: #e6e6e6;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(25, 30, 35, 0.1);
    min-width: 260px;
    padding: 20px;
    border: 1px solid #EEE;
    border-top: 3px solid #037cba;
}

/* Box Shadow PopUp */
.hf-field.hf-field-boxshadow,
.hf-field.hf-field-radio-advanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hf-field.hf-boxshadow {
    display: flex;
}

.hf-boxshadow .components-base-control__field {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
}

.hf-boxshadow .components-base-control input {
    border: 1px solid #e6e6e6;
    height: 28px;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    border-radius: 3px;
    box-shadow: none;
}

.hf-boxshadow .components-base-control input:focus {
    box-shadow: none;
    border: 1px solid #e6e6e6;
}

.hf-boxshadow .components-base-control:not(:first-child) input {
    border-left: 0;
    border-radius: 0;
}

.hf-boxshadow .components-base-control:first-child input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.hf-boxshadow .components-base-control:nth-child(4) input {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.hf-boxshadow .hf-color-picker-container {
    height: 30px;
    margin-top: 2px;
    width: 30px;
}

.hf-boxshadow .hf-color-picker {
    height: 30px;
    width: 30px;
}

.hf-boxshadow .components-base-control .components-base-control__label {
    color: #888;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: auto;
    width: auto;
}

/* Select */
.hf-field-select .hf-input-fields {
    width: 50%;
}

.hf-popup-select select {
    border-color: #e6e6e6;
    height: 30px;
    width: 100%;
    min-width: 200px;
}

.hf-popup-select .hf-clear {
    background: #fff;
    color: #8d96a0;
    cursor: pointer;
    padding: 2px 6px;
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.hf-popup-select .hf-clear:hover {
    color: #717982;
}

.hf-popup-select .hf-select__control {
    min-height: 30px;
    height: 30px;
    background-color: rgb(255, 255, 255);
    border-color: #e6e6e6 !important;
    border-radius: 3px;
    padding: 0 2px 0 8px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: none;
    outline: 0;
}

.hf-popup-select .hf-select__value-container,
.hf-popup-select .hf-select__input-container {
    padding: 0;
    margin: 0;
    min-height: 30px;
    height: 30px;
}

.hf-popup-select .hf-select__input-container input {
    box-shadow: none !important;
    outline: 0 !important;
    min-height: 30px;
    height: 30px;
}

.hf-popup-select .hf-select__indicator-separator {
    display: none;
}

.hf-popup-select .hf-select__dropdown-indicator {
    padding: 0;
}

.hf-popup-select .hf-select__dropdown-indicator svg {
    fill: #555;
    height: 17px;
}

.hf-popup-select .hf-select__menu {
    margin: 0;
    font-size: 13px;
    border-radius: 3px;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

/* Typography */
.hf-field-typography > .hf-components-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tab Buttons */
.hf-inspect-tabs .components-tab-panel__tabs {
    display: flex;
    margin-bottom: 15px;
}

.hf-inspect-tabs .components-tab-panel__tabs button {
    border-bottom: 1px solid #d5dadf;
    border-radius: 0;
    border-right: 1px solid #d5dadf;
    border-top: 1px solid #d5dadf;
    cursor: pointer;
    display: block;
    height: 32px;
    line-height: 18px;
    padding: 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.hf-inspect-tabs .components-tab-panel__tabs button:first-child {
    border-bottom-left-radius: 3px;
    border-left: 1px solid #d5dadf;
    border-top-left-radius: 3px;
}

.hf-inspect-tabs .components-tab-panel__tabs button:last-child {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.hf-inspect-tabs > .components-tab-panel__tabs button.active-tab,
.hf-inspect-tabs > .components-tab-panel__tabs button:focus {
    background-color: #a4afb7;
    border-color: #a4afb7;
    box-shadow: none;
    color: #fff;
}

.hf-inspect-tabs > .components-tab-panel__tabs button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover {
    background: rgba(164, 175, 183, 0.83);
    border-color: rgba(164, 175, 183, 0.83);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
}


.hf-multiple-select .hf-popup-select .hf-select__control {
    height: auto;
}

.hf-multiple-select .hf-popup-select .hf-select__value-container {
    height: auto;
}