html:root{
    --fff-main-color: #d63b0d;
    --fff-secondary-color: #007cba;
    --fff-bg-color: #eaeaea;
    --fff-font-color: #252a34;
}

.fff-error{
    color: var(--fff-main-color);
}
.fff-button{
    border: 1px solid transparent;
    padding: 10px 15px;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    background: var(--fff-main-color);
    cursor: pointer;
    transition: all ease .25s;
}
.fff-button:hover{
    border: 1px solid var(--fff-main-color);
    color: var(--fff-main-color);
    background: transparent;
}
.fff-button.fff-btn-blue{
    background: var(--fff-secondary-color);
}
.fff-button.fff-btn-blue:hover{
    border: 1px solid var(--fff-secondary-color);
    color: var(--fff-secondary-color);
    background: transparent;
}

.wrap h1.fff-main-admin-title{
    padding-bottom: 20px;
}

/* table */
.fff-wrap{
    padding: 20px;
    background: #fff;
    margin: 30px 0;
    max-width: 70%;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.ff-filter-general-wrap{
    padding: 5px 20px 20px;
}
.ff-filters-all-table table{
    font-size: 14px;
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}
.ff-filters-all-table table td,
.ff-filters-all-table table th{
    border-top: 1px solid #c9d6df;
    padding: 15px 8px;
}
.ff-filters-all-table table td p{
    margin: 0;
}
.ff-filters-all-table table th{
    text-align: left;
    background-color: var(--fff-secondary-color);
    color: #fff;
}
.ff-filters-all-table table td:last-of-type{
    width: 50%;
    text-align: right;
}
.ff-filters-all-table table td a{
    text-decoration: none;
    color: var(--fff-main-color);
    cursor: pointer;
    transition: all ease .25s;
}
.ff-filters-all-table table td a:hover{
    color: var(--fff-font-color);
}
.ff-filters-all-table table .fff-shortcode{
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 5px;
    line-height: 12px;
    width: 100%;
    background: var(--fff-bg-color);
    color: var(--fff-font-color);
    font-size: 12px;
    box-shadow: none;
    outline: none;
    overflow: inherit;
}
.ff-filters-all-table table .fff-shortcode:focus,
.ff-filters-all-table table .fff-shortcode:active{
    border: 1px solid var(--fff-main-color);
}
.ff-filters-all-table table .ff-table-option{
    margin: 0 7px 0 0;
    cursor: pointer;
}
.ff-filters-all-table table .ff-table-option img{
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 23px;
    transition: all ease .25s;
}
.ff-filters-all-table table .ff-table-option img:hover{
    filter: brightness(0%);
}
.fff-shortcode{
    margin: 15px 0;
}
.fff-shortcode p{
    margin-bottom: 3px;
}
.fff-shortcode .fff-shortcode-input{
    display: block;
    max-width: 70%;
    background-color: var(--fff-secondary-color);
    border-radius: 3px;
}
.fff-shortcode .fff-shortcode-input input,
.fff-shortcode .fff-shortcode-input input:focus{
    background-color: transparent;
    border: none;
    border-radius: 0;
    font-size: 14px;
    color: #fff;
    box-shadow: none;
    outline: inherit;
}
.ff-filters-new{
    max-width: 70%;
    margin: 30px 0;
}
.ff-filters-nav{
    background-color: var(--fff-secondary-color);
    padding: 20px 30px 0;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    z-index: 3;
    position: relative;
}
.ff-filters-nav h2{
    color: #fff;
    margin-top: 15px;
    font-size: 25px;
    font-weight: 600;
}
.ff-filters-nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.ff-filters-nav ul li{
    position: relative;
    list-style-type: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    margin: 0;
    padding: 15px 0;
    width: 15%;
    text-align: center;
    cursor: pointer;
    transition: all ease .25s;
}
.ff-filters-nav ul li:hover{
    background: #0073aa;
}
.ff-filters-nav ul li.active:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
}
.ff-filter-settings-wrap{
    position: relative;
    background: var(--fff-bg-color);
    border-radius: 0 0 3px 3px;
    z-index: 2;
    padding: 20px 30px;
}
.ff-filter-settings-wrap .ff-filter-settings{
    background: #fff;
    padding: 20px 25px 20px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.ff-filter-settings-wrap .ff-filter-settings .ff-filter-tab{
    display: none;
}
.ff-filter-settings-wrap .ff-filter-settings .ff-filter-tab.active{
    display: block;
}
.ff-filters-option{
    position: relative;
    margin: 30px 0 15px;
}
.ff-filters-option-input input{
    font-size: 16px;
    padding: 10px 0;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--fff-bg-color);
    outline: none;
    overflow: inherit;
    border-radius: 0;
    color: var(--fff-font-color);
}
.ff-filters-option-input input:focus{
    box-shadow: none;
}
.ff-filters-option-input label{
    color: var(--fff-font-color);
    font-size: 16px;
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 15px;
    transition: 0.2s ease all;
}
.ff-filters-option-input input:focus ~ label,
.ff-filters-option-input input.active ~ label{
    top: -10px;
    font-size: 14px;
    color: var(--fff-secondary-color);
}
.ff-filters-option-input .bar{
    position: relative;
    display: block;
    width: 100%;
}
.ff-filters-option-input .bar:before,
.ff-filters-option-input .bar:after{
    content: "";
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: var(--fff-secondary-color);
    transition: 0.2s ease all;
}
.ff-filters-option-input .bar:before{
    left: 50%;
}
.ff-filters-option-input .bar:after{
    right: 50%;
}
.ff-filters-option-input input:focus ~ .bar:before,
.ff-filters-option-input input:focus ~ .bar:after{
    width: 50%;
}
.ff-filters-option .ff-filters-option-label{
    display: inline-block;
    color: var(--fff-font-color);
    font-size: 16px;
    margin-bottom: 15px;
}
.ff-filters-option-radio-wrap .ff-filters-option-radio-cont{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.ff-filters-option-radio-wrap .ff-filters-option-radio{
    position: relative;
    margin-right: 15px;
}
.ff-filters-option-radio-wrap .ff-filters-option-radio input{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 2;
    cursor: pointer;
}
.ff-filters-option-radio-wrap .ff-filters-option-radio input:before{
    display: none;
}
.ff-filters-option-radio-wrap .ff-filters-option-radio input:checked ~ img{
    border: 5px solid var(--fff-main-color);
}
.ff-filters-option-radio-wrap .ff-filters-option-radio img{
    max-width: 100px;
    border: 5px solid var(--fff-bg-color);
    border-radius: 3px;
    padding: 5px;
}
.ff-filters-option-switcher{
    position: relative;
    margin-bottom: 15px;
}
.ff-filters-option-switcher input{
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    margin: 0;
}
.ff-filters-option-switcher label{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.ff-filters-option-switcher label span{
    color: var(--fff-font-color);
    font-size: 16px;
    margin-right: 15px;
    min-width: 200px;
}
.ff-filters-option-switcher label .switch{
    position: relative;
    width: 35px;
    height: 15px;
    border-radius: 20px;
    background: var(--fff-bg-color);
}
.ff-filters-option-switcher label .switch:before{
    content: '';
    position: absolute;
    top: -3px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    transition: all ease .25s;
}
.ff-filters-option-switcher input:checked ~ label .switch:before{
    left: 20px;
    background: var(--fff-secondary-color);
}
.fff-color-option .ff-filters-option-label{
    display: block;
}

/* Popup */
.fff-saved-popup-cont{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}
.fff-saved-popup-cont.active{
    display: flex;
}
.fff-saved-popup-cont:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 40, 45, .7);
    z-index: 1;
}
.fff-saved-popup-cont .fff-saved-popup{
    position: relative;
    z-index: 2;
    padding: 10px 20px 30px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    text-align: center;
}
.fff-saved-popup-cont .fff-saved-popup p{
    font-size: 20px;
    color: var(--fff-font-color);
    text-transform: uppercase;
    margin-top: 0;
}
.fff-saved-popup-cont .fff-saved-popup .fff-saved-popup-bttns{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
}
.fff-saved-popup-cont .fff-saved-popup .fff-saved-popup-bttns.center{
    justify-content: center;
}

.ff-filters-option .fff-add-rep{
    display: block;
    padding: 10px;
    border: none;
    background: var(--fff-secondary-color);
    border-radius: 3px;
    line-height: 13px;
    cursor: pointer;
    transition: all ease .25s;
}
.ff-filters-option .fff-add-rep span{
    display: inline-block;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    vertical-align: middle;
}
.ff-filters-option .fff-add-rep img{
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}
.ff-filters-option .fff-add-rep:hover{
    background: var(--fff-font-color);
}
.ff-filters-option .ff-filters-option-repeater-set{
    position: relative;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid var(--fff-bg-color);
    border-radius: 3px;
}
.ff-filters-option .ff-filters-option-repeater-set .ff-filters-option-del{
    position: absolute;
    top: 10px;
    right: 10px;
}
.ff-filters-option .ff-filters-option-repeater-set .ff-filters-option-del img{
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all ease .25s;
}
.ff-filters-option .ff-filters-option-repeater-set .ff-filters-option-del img:hover{
    opacity: .5;
}
.ff-filters-option-select{
    position: relative;
    width: 100%;
}
.ff-filters-option-select select {
	position: relative;
	font-family: inherit;
	background-color: transparent;
	width: 100%;
	max-width: 100%;
	padding: 10px 10px 10px 0;
	font-size: 16px;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid rgba(0,0,0, 0.12);
	appearance: none;
}
.ff-filters-option-select select:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0, 0);
    box-shadow: none;
}
.ff-filters-option-select label {
	color: rgba(0,0,0, 0.26);
	font-size: 14px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 10px;
	transition: 0.2s ease all;
}
.ff-filters-option-select select:focus ~ label,
.ff-filters-option-select select:valid ~ label {
	color: var(--fff-secondary-color);
	top: -10px;
	transition: 0.2s ease all;
	font-size: 14px;
}
.ff-filters-option-select-bar {
	position: relative;
	display: block;
	width: 100%;
}
.ff-filters-option-select-bar:before,
.ff-filters-option-select-bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: var(--fff-secondary-color);
	transition: 0.2s ease all;
}
.ff-filters-option-select-bar:before {
	left: 50%;
}
.ff-filters-option-select-bar:after {
	right: 50%;
}
.ff-filters-option-select select:focus ~ .ff-filters-option-select-bar:before,
.ff-filters-option-select select:focus ~ .ff-filters-option-select-bar:after {
	width: 50%;
}
.ff-filters-option-select-highlight {
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

.ff-filters-checkbox-set{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.ff-filters-checkbox-set .ff-filters-checkbox-s{
    position: relative;
    margin-right: 15px;
}
.ff-filters-checkbox-set .ff-filters-checkbox-s input{
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 1;
}
.ff-filters-checkbox-set .ff-filters-checkbox-s label span{
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: var(--fff-font-color);
}
.ff-filters-checkbox-set .ff-filters-checkbox-s label .check{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 2px solid var(--fff-bg-color);
}
.ff-filters-checkbox-set .ff-filters-checkbox-s label .check:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/check.svg) no-repeat center;
    background-size: 14px 14px;
    width: 100%;
    height: 100%;
}
.ff-filters-checkbox-set .ff-filters-checkbox-s input:checked ~ label .check{
    background: var(--fff-secondary-color);
    border: 2px solid var(--fff-secondary-color);
}
.ff-filters-option.fff-option-hide{
    display: none;
}

/* Media */
@media (max-width: 992px) {
    .fff-wrap,
    .ff-filters-new,
    .fff-shortcode .fff-shortcode-input{
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .ff-filters-nav ul li{
        padding: 10px;
        width: auto;
    }
    .ff-filter-settings-wrap{
        padding: 10px 5px;
    }
    .ff-filters-option-radio-wrap .ff-filters-option-radio img{
        max-width: 50px;
    }
    .ff-filters-option .ff-filters-option-repeater-set{
        padding: 10px;
    }
    .ff-filters-nav{
        padding: 20px 10px 0 10px;
    }
    .ff-filters-all-table table .fff-shortcode{
        min-width: 120px;
    }
}