[ondblclick^="modifyLabel"] {
    outline: 1px dotted #7b7b7b;
}
[ondblclick^="textLabelWindow"] {
    border: 1px dotted currentColor;
}

.picker-popup {
    position: fixed;
    z-index: 1010;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    font-family: arial, helvetica, sans-serif;
}

.picker-popup-window {
    background-color: #fff;
    width: 100%;
    max-width: 720px;
    height: 100%;
    max-height: 720px;
}

.picker-popup-header {
    position: relative;
    background-color: #ebebeb;
    border-bottom: 1px solid #acacac;
    padding: 10px 30px 10px 15px;
}

.picker-popup-header span {
    font-size: 15px;
    color: #000 !important;
    font-family: arial, helvetica, sans-serif;
}

.picker-popup-close-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transition: opacity 300ms ease;
    cursor: hand;
    cursor: pointer;
    margin-top: -8px;
}

.picker-popup-close-btn svg {
    width: 15px;
    height: 15px;
}

.picker-popup-content {
    height: calc(100% - 38px);
    padding: 20px 15px;
    box-sizing: border-box;
}

.file-preview-picker-popup-inner, .popup-default-content-ctn, 
.file-preview-picker-popup-selection {
    position: relative;
    height: calc(100% - 65px);
    overflow: hidden;
}

.popup-default-content-ctn {
    overflow-y: scroll;
    overflow-x: hidden;
}

/*Stuff for the gen list popup */
.gen-list-popup.has-friendly .gen-list-popup-item-header-action {
  display: none;
}
.gen-list-popup > .picker-popup-window {
	position: relative;
}
.gen-list-popup > .picker-popup-window:before {
	content: '';
	position: absolute;
	z-index: 30;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: white;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 0ms ease 300ms;
}
.gen-list-popup > .picker-popup-window:after {
	content: '';
	position: absolute;
	z-index: 30;
	top: 50%;
	left: 50%;
	border: 6px solid #f02929;
	border-right-color: transparent;
	height: 50px;
	width: 50px;
	margin: -25px 0 0 -25px;
	border-radius: 100%;
	box-sizing: border-box;
	animation: processingLoading 1.5s linear 0s infinite;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 0ms ease 300ms;
}
.gen-list-popup > .picker-popup-window.is-processing:before {
	opacity: .5;
	visibility: visible;
	transition: opacity 300ms ease, visibility 0ms ease 0ms;
}
.gen-list-popup > .picker-popup-window.is-processing:after {
	opacity: 1;
	visibility: visible;
	transition: opacity 300ms ease, visibility 0ms ease 0ms;
}

@keyframes processingLoading {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.gen-list-popup.has-friendly .mce-edit-area iframe {
  min-height: 300px;
}

.gen-list-popup-list {
    text-align: left !important;
}

.gen-list-popup-item-error-message {
    color: red;
    display: none;
    margin-top: 10px;
}

.gen-list-popup-item-content-item {
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.gen-list-popup-item-content-item .alert-submit-form-gen-list.hidden,
.gen-list-popup-item-content-item[data-gencom]:not(.show-gencom) {
    display: none;
}

.gen-list-popup-item {
    margin-bottom: 20px;
}

.gen-list-popup-item.has-error .gen-list-popup-item-header {
	background-color: red;
}

.gen-list-popup-item.open > .gen-list-popup-item-content-ctn {
  display: block !important;
}

.gen-list-popup-item .picker-popup {
    transform: scale(0.95);
    box-shadow: none;
    background-color: transparent;
}

.gen-list-popup-item .picker-popup-window {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 1);
    backface-visibility: hidden;
}

.gen-list-popup-item:first-child:last-child .gen-list-popup-item-header-handle {
    opacity: 0.5;
    pointer-events: none;
}

.gen-list-popup-item-header {
    background-color: #f0f0f0;
    padding: 10px;
    transition: all 200ms ease;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.gen-list-popup-item-header-title {
    font-size: 20px;
    width: 100%;
}

.gen-list-popup-item-header-action {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;


    min-width: 100px;
}

.gen-list-popup-item-header-handle {
    margin-right: 10px;
    cursor: hand;
    cursor: pointer;
}

.gen-list-popup-item-header-handle span {
    display: block;
    width: 15px;
    height: 1px;
    background-color: #000;
}

.gen-list-popup-item-header-handle span:not(:last-child) {
    margin-bottom: 4px;
}

.gen-list-popup-item-header-toggle {
    cursor: hand;
    cursor: pointer;
}

.gen-list-popup-item-header-toggle svg {
    transition: transform ease 200ms;
}

.open > .gen-list-popup-item-header .gen-list-popup-item-header-toggle svg {
    transform: rotate(-180deg);
}

.gen-list-popup-item-content-ctn {
    width: 100% !important;
}

.gen-list-popup-item-content-ctn:not(.show) {
    display: none;
}

.gen-list-popup-item-content-ctn br {
    display: inline !important;
}

.gen-list-popup-item-del-btn {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px;
    font-size: 12px;
    line-height: 12px;
    border-radius: 32px;
    background-color: #ddd;
    margin-top: 10px;
    cursor: hand;
    cursor: pointer;
}

.gen-list-popup-item-del-btn span {
    margin-right: 5px;
}

.gen-list-popup-item-del-btn svg {
    max-width: 20px;
    max-height: 20px;
}

.gen-list-popup-item-title {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.gen-list-popup-item-sub-title {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}

.gen-list-popup-item-text, .gen-list-popup-item-select,
.gen-list-popup-item-select-country, .gen-list-popup-item-select-state,
.gen-list-popup-item-bigtext {
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
}

.gen-list-popup-item-bigtext {
    max-width: 100%;
    min-width: 100%;
    min-height: 82px;
}

.picker-popup-window .gen-list-popup-item-textarea-toolbar .mce-tinymce {
    display: block !important;
}

.picker-popup-window .gen-list-popup-item-textarea {
    border: 1px solid #c5c5c5;
    min-height: 125px;
}

.gen-list-popup-item-footer {
    width: 100%;

    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

.gen-list-popup-item-friendly-url-input {
    margin-left: 10px;
}

.gen-list-popup-file-picker-btn, .gen-list-popup-gen-list-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #555;
    color: #fff;
    font-size: 14px;
}

.gen-list-popup-file-picker-value, .gen-list-popup-item .picele {
    margin-left: 10px;
    word-break: break-all;
}

.gen-list-popup-add-item-btn {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #aaa;
    font-size: 18px;
    line-height: 18px;
    border-radius: 40px;
    cursor: hand;
    cursor: pointer;
    transition: opacity 500ms ease;
}

.gen-list-popup-add-item-btn.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.gen-list-popup-add-item-btn svg {
    width: 15px;
    height: 15px;
    margin-left: 10px;
}

.gen-list-popup-add-item-btn svg * {
    fill: yellow;
}

.gen-list-popup-admin-title {
    font-size: 30px;
    font-weight: bold;
}

.gen-list-popup-admin {
    padding: 10px;
    background-color: #ccc;
    margin-top: 50px;
    text-align: left !important;
}

.gen-list-popup-admin-item, .gen-list-popup-admin-add-ctn, .gen-list-popup-admin-title-selector {
    padding: 10px 0;
    border-top: 1px solid #333;
}

.gen-list-popup-admin-item, .gen-list-popup-admin-title-selector {
    background-color: #ccc;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.gen-list-popup-admin-gencom-ctn span {
    display: inline-block;
    width: 150px;
    padding-right: 10px;
    box-sizing: border-box;
}

.gen-list-popup-admin-gencom {
    width: calc(100% - 150px);
    box-sizing: border-box;
}

.gen-list-popup-admin-note {
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
}

.gen-list-popup-admin-item.clone {
    display: none;
}

.gen-list-popup-admin-add-ctn {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.gen-list-popup-admin-item-main-content {
    width: 100%;
}

.gen-list-popup-admin-list {
    margin-top: 20px;
    overflow-x: hidden;
}

.gen-list-popup-admin-item-header {
    font-size: 18px;
    line-height: normal;
}

.gen-list-popup-admin-item-header-title {
    border: 1px dotted #333;
}

.gen-list-popup-admin-item-content {
    margin-top: 5px;
    line-height: normal;
}

.gen-list-popup-admin-item-item span {
    margin-right: 10px;
}

.gen-list-popup-admin-add-btn, .gen-list-popup-admin-save-btn {
    padding: 10px;
    border-radius: 35px;
    background-color: #ccc;
}

.gen-list-popup-admin-add-btn svg, .gen-list-popup-admin-save-btn svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    height: 15px;
    width: 15px;
}

.gen-list-popup-admin-add-btn span, .gen-list-popup-admin-save-btn span {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    line-height: 14px;
}

.gen-list-popup-admin-item-actions {
    min-width: 30px;
    width: 30px;
    text-align: center;
}

.gen-list-popup-admin-item:first-child:last-child .gen-list-popup-admin-item-del-btn,
.gen-list-popup-admin-item-extra-select-item:first-child:last-child .gen-list-popup-admin-item-extra-select-del {
    opacity: 0.5;
    pointer-events: none;
}


.gen-list-popup-admin-item-extra-select-select {
    margin-left: 5px;
    margin-bottom: 10px;
}

.gen-list-popup-admin-item-extra-select-list.hidden,
.gen-list-popup-admin-item-extra-select-add.hidden {
    display: none;
}

.gen-list-popup-admin-item-del-btn {
    padding: 0 2px;
}

.gen-list-popup-admin-item-del-btn svg {
    width: 20px;
    height: 20px;
}

.gen-list-popup-admin-item-del-btn svg * {
    stroke: red;
}

.gen-list-popup-admin-item-handle {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    cursor: hand;
}

.gen-list-popup-admin-item-handle span {
    display: inline-block;
    width: 25px;
    height: 1px;
    margin-bottom: 6px;
    background-color: #333;
}

.gen-list-popup-admin-item-handle span:last-child {
    margin-bottom: 0;
}

.gen-list-popup-admin-item-extra {
    background-color: #f0f0f0;
    padding: 10px;
}

.gen-list-popup-admin-item-extra:not(.show) {
    display: none;
}

.gen-list-popup-admin-item-extra-select-item {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 10px;
}

.gen-list-popup-admin-item-extra-select-handle, .gen-list-popup-admin-item-extra-select-del {
    padding: 5px;
    min-width: 15px;
    width: 15px;
    cursor: pointer;
    cursor: hand;
}

.gen-list-popup-admin-item-extra-select-handle span {
    display: block;
    width: 15px;
    height: 1px;
    margin-bottom: 4px;
    background-color: #333;
}

.gen-list-popup-admin-item-extra-select-handle span:last-child {
    margin-bottom: 0;
}

.gen-list-popup-admin-item-extra-select-del svg {
    width: 15px;
    height: 15px;
}

.gen-list-popup-admin-item-extra-select-text {
    width: 200px;
}

.gen-list-popup-admin-item-extra-select-add {
    padding: 10px 0;
    width: 250px;
    text-align: center;
}

.gen-list-popup-item-select-selected-item {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
    margin-top: 5px;
    width: 300px;
}

.gen-list-popup-item-select-selected-item.clone {
    display: none;
}

.gen-list-popup-item-select-selected-item-inner {
    width: 100%;
    padding-right: 10px;
}

.gen-list-popup-item-select-selected-item-del {
    width: 14px;
    min-width: 14px;
    height: 14px;

    svg {
        width: 100%;
        height: 100%;
    }
}

.gen-list-popup-item-select-selected-item-val {
    display: none;
}

/* Country/state select */
.gen-list-popup-item-select-country {
    margin-bottom: 10px;
}

.gen-list-popup-item-select-state:not(.selected) {
    display: none;
}

.gen-list-popup-admin-item-extra.file label, .gen-list-popup-admin-item-extra.gen-list label,
.gen-list-popup-admin-item-extra.text label, .gen-list-popup-admin-item-extra.bigtext label {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.gen-list-popup-admin-item-extra.file span, .gen-list-popup-admin-item-extra.gen-list span,
.gen-list-popup-admin-item-extra.text span, .gen-list-popup-admin-item-extra.bigtext span {
    display: inline-block;
    min-width: 200px;
    vertical-align: top;
}

.gen-list-popup-admin-item-extra.file input, .gen-list-popup-admin-item-extra.gen-list input,
.gen-list-popup-admin-item-extra.text input, .gen-list-popup-admin-item-extra.bigtext textarea {
    width: 350px;
    vertical-align: top;
}

.gen-list-popup-admin-item-extra.icon label span {
    display: block;
    margin-bottom: 5px;
}

.gen-list-popup-admin-item-extra.icon input, .gen-list-popup-admin-item-extra.icon select {
    width: 50%;
}

.gen-list-popup-item .foxoneWindow {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/*Stuff for the file picker tool*/
.file-preview-picker-tab-ctn:not(.selected) {
    display: none;
}

.file-preview-picker-popup-inner, .file-preview-picker-popup-selection {
    margin-left: -15px;
    margin-top: 15px;
    height: calc(100% - 125px);
}
.image-preview-picker-popup-inner {
    position: relative;
    height: calc(100% - 80px);
    overflow: auto;
    margin-top: 15px;
    margin-left: -15px;
}

.file-preview-picker-item-big, .image-preview-picker-item-big {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding-left: 15px;
    padding-bottom: 15px;
    box-sizing: border-box;
}

@media screen and (min-width: 600px) {
    .file-preview-picker-item-big, .image-preview-picker-item-big {
        width: 33.3333%;
    }
}

@media screen and (min-width: 1024px) {
    .file-preview-picker-item-big, .image-preview-picker-item-big {
        width: 25%;
    }
}

.file-preview-picker-item, .image-preview-picker-item {
    width: 100%;
    padding:0;
    background: none;
    border: 0 none;
}

.file-preview-picker-item.selected .file-preview-picker-item-inner, .image-preview-picker-item.selected .image-preview-picker-item-inner {
    border-color: red;
}

.file-preview-picker-item-inner, .image-preview-picker-item-inner {
    padding: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 300ms ease;
    cursor: pointer;
}

.file-preview-picker-item-image-ctn {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.image-preview-picker-item-image-ctn {
    position: relative;
    overflow: hidden;
}

.file-preview-picker-item-image-ctn-inner, .image-preview-picker-item-image-ctn-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.file-preview-picker-item-image-ctn-inner .file-icon, .file-preview-picker-item-image-ctn-inner svg, .image-preview-picker-item-image-ctn-inner .file-icon, .image-preview-picker-item-image-ctn-inner svg {
    height: 100%;
    width: 100%;
}

.file-preview-picker-item-image-ctn-inner .file-icon tspan, .image-preview-picker-item-image-ctn-inner .file-icon tspan {
    font-family: arial, helvetica, 'sans-serif';
    text-transform: uppercase;
}

.file-preview-picker-item-image-ctn img, .image-preview-picker-item-image-ctn img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}

.file-preview-picker-item-value-ctn, .image-preview-picker-item-value-ctn {
    font-family: arial, helvetica, 'sans-serif';
    font-size: 12px;
    color: #707070;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 5px;
    text-align: left;
    min-width: 1px;
    word-wrap: break-word;
}

.file-preview-picker-popup-close-btn:hover, .image-preview-picker-popup-close-btn:hover {
    opacity: 0.7;
}

.file-preview-picker-popup-btn-ctn, .image-preview-picker-popup-btn-ctn,
.popup-default-submit-ctn {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #b7b7b7;
}

.file-preview-picker-current-directory, .image-preview-picker-current-directory {
    font-size: 14px;
    font-family: arial, helvetica, sans-serif;
    color: #707070;
    padding-right: 20px;
}

.file-preview-picker-popup-accept-btn, .image-preview-picker-popup-accept-btn,
.popup-default-submit-btn {
    display: inline-block;
    font-family: arial, helvetica, 'sans-serif';
    font-size: 16px;
    line-height: 24px;
    min-width: 125px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    transition: background-color 300ms ease;
}

.file-preview-picker-popup-accept-btn:hover, .image-preview-picker-popup-accept-btn:hover,
.popup-default-submit-btn:hover {
    background-color: #555;
}

.file-preview-picker-top-tools {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
}

.file-preview-picker-input-ctn, .image-preview-picker-input-ctn,
.popup-default-content-ctn {
    width: 100%;
    position: relative;
}

.gen-list-search-input-ctn {
    margin: -20px -15px 20px;
    padding: 20px 15px;
    border-bottom: 1px solid #acacac;
    position: relative;
}

.file-preview-picker-input-ctn svg, .image-preview-picker-input-ctn svg,
.gen-list-search-input-ctn svg {
    height: 24px;
    width: 24px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.gen-list-search-input-ctn svg {
    right: 25px;
}

input[type="text"].file-preview-picker-input, input[type="text"].gen-list-search-input, input[type="text"].image-preview-picker-input {
    width: 100%;
    padding: 15px 44px 15px 12px;
    font-size: 13px;
    border: 1px solid #b7b7b7;
    box-sizing: border-box;
    font-family: arial, helvetica, 'sans-serif';
}

.file-preview-picker-tabs-ctn {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
    
    width: 40%;
    min-width: 40%;
    padding-left: 20px;
    box-sizing: border-box;
}

.file-preview-picker-tab-btn {
    border: 1px solid #ccc;
    transition: all 200ms ease;
    height: 47px;
    width: 50%;
    box-sizing: border-box;
}

.file-preview-picker-tab-btn:not(:first-child) {
    border-left: none;
}

.file-preview-picker-tab-btn.selected {
    background-color: #ccc;
}


.file-preview-picker-main-directory, .file-preview-picker-directory,
.image-preview-picker-main-directory, .image-preview-picker-directory {
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    text-align: left !important;
}


.file-preview-picker-main-directory.directory-loading:before, .file-preview-picker-directory.directory-loading:before,
.image-preview-picker-main-directory.directory-loading:before, .image-preview-picker-directory.directory-loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    border: 4px solid white;
    border-left-color: transparent;
    animation: spin-directory-loader 1s linear infinite;
    z-index: 12;
}


.file-preview-picker-main-directory.directory-loading:after, .file-preview-picker-directory.directory-loading:after,
.image-preview-picker-main-directory.directory-loading:after, .image-preview-picker-directory.directory-loading:after {
    content: '';
    position: absolute;
    z-index: 11;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
}

.file-preview-picker-main-directory.child-folder-open,
.file-preview-picker-directory.child-folder-open, .image-preview-picker-main-directory.child-folder-open,
.image-preview-picker-directory.child-folder-open {
    overflow-y: hidden;
}

.file-preview-picker-main-directory.child-folder-open > .file-preview-picker-item-big,
.file-preview-picker-directory.child-folder-open > .file-preview-picker-item-big, .image-preview-picker-main-directory.child-folder-open > .image-preview-picker-item-big,
.image-preview-picker-directory.child-folder-open > .image-preview-picker-item-big {
    display: none;
}

.file-preview-picker-directory, .image-preview-picker-directory {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform-origin: top left;
    transition: transform 500ms ease;
    visibility: hidden;
    transform: scale(0);

}

.file-preview-picker-directory.clone, .image-preview-picker-directory.clone,
.file-preview-picker-item-big.clone, .image-preview-picker-item-big.clone {
    display: none;
}

.file-preview-picker-directory.show, .image-preview-picker-directory.show {
    transform: scale(1);
}

.file-preview-picker-directory-back-ctn, .image-preview-picker-directory-back-ctn {
    padding-bottom: 10px;
    padding-left: 15px;
}

.file-preview-picker-directory-back svg, .file-preview-picker-directory-back span, .image-preview-picker-directory-back svg, .image-preview-picker-directory-back span {
    display: inline-block;
    vertical-align: middle;
}

.file-preview-picker-directory-back svg, .image-preview-picker-directory-back svg {
    width: 15px;
    height: auto;
}

.file-preview-picker-directory-back svg path, .image-preview-picker-directory-back svg path {
    fill: #707070;
}

.file-preview-picker-directory-back span, .image-preview-picker-directory-back span {
    font-family: arial, helvetica, 'sans-serif';
    color: #707070;
    margin-left: 10px;
}

.file-preview-picker-popup-selection-item {
    padding: 0 0 15px 15px;
}

.file-preview-picker-popup-selection-item.clone {
    display: none;
}

.file-preview-picker-popup-selection-item-inner {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: white;
    
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
}

.file-preview-picker-popup-selection-handle, .file-preview-picker-popup-selection-del {
    min-width: 18px;
    cursor: pointer;
}

.file-preview-picker-popup-selection-handle svg, .file-preview-picker-popup-selection-del svg {
    width: 18px;
    height: 18px;
}

.file-preview-picker-popup-selection-title {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Color picker */
.color-picker-color-picker-ctn {
    padding: 15px;
    width: 357px;
    margin: 0 auto;
    box-sizing:border-box;
}

.color-picker-color-current {
    height: 40px;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    color: #fff;
    text-shadow: 0 0 4px #000;
    line-height: 40px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    position: relative;
    transition: color 0.3s ease,
        text-shadow 0.3s;

}

.color-picker-color-current:after {
    content: attr(data-copy-text);
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    text-shadow: 0 0 4px #000;
    opacity: 0;
    transform: translate( -50%, -50% );
    transition: opacity 0.3s ease;
}

.color-picker-color-current:after {
    content: attr(data-copy-text);
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    text-shadow: 0 0 4px #000;
    opacity: 0;
    transform: translate( -50%, -50% );
    transition: opacity 0.3s ease;
}

.color-picker-color-current.copied {
    color: transparent;
    text-shadow: 0 0 4px transparent;
}

.color-picker-color-current.copied:after {
    opacity: 1;
}

.color-picker-hue-picker-ctn,
.color-picker-color-picker-inner {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.color-picker-hue-picker-ctn {
    overflow: visible;
    margin-left: 15px;
}

.color-picker-hue-picker-ctn .color-picker-picker-cursor {
    width: 20px;
    height: 20px;
    left: 50%;
}

.color-picker-picker-cursor {
    border: 2px solid #fff;
    width: 30px;
    height: 30px;
    padding:0;
    transform: translate( -50%, -50% );
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 50%;
    overflow: visible;
    transition: transform 300ms ease-out;
    pointer-events: none;
}

.color-picker-picker-cursor:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.color-picker-picker-canvas {
    user-select: none;
    cursor: pointer;
}

.color-picker-hue-picker {
    border-radius: 5px;
}



/* Styles for the star rating system */
.r-star{
    display:inline-block;
}

.r-star svg .svg-star-full {
    fill: #EEEE33;
    stroke: #EEEE33;
}

.r-star svg .svg-star-half {
    fill: transparent;
}

.r-star.half svg .svg-star-full {
    fill: transparent;
}

.r-star.half svg .svg-star-half {
    fill: #EEEE33;
}
.r-star.full svg .svg-star-full {
    fill: #EEEE33;
    stroke: #EEEE33;
}
.r-star.empty .svg-star-full {
    fill: #FFFFFF;
}

.r-star.empty .svg-star-half {
    stroke: transparent;
    fill: transparent;
}


.stool-cover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.stool-link-edit {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    padding: 2px;
    outline: 1px solid;
}
.radioLabelContainer {
    display: inline-block;
    padding: 3px 0;
    margin: 4px 12px 4px 0;
    cursor: pointer;
}
.radioLabelContainer>* {
    vertical-align: middle;
}
#editSiteLink {
    z-index: 1010;
}
#editSiteLinkForm {
    width: 418px;
}
#editSiteLinkForm .inputContainer {
    margin: 6px 0;
}
#editSiteLinkForm .inputContainer input[type="checkbox"]{
    display:block;
}
#editSiteLinkForm input[type="radio"] {
    margin: 0 4px 0 0;
    cursor: pointer;
}

.stool-icopick-mod {
    display: inline-block;
    cursor: pointer;
}
.stool-icopick-mod svg {
    width: 22px;
    height: 22px;
}
.stool-icopick-icon-container {
    width: 448px;
    max-height: 448px;
    overflow-y: scroll;
}
.stool-icopick-icon {
    display: inline-block;
    vertical-align: top;
    width: 58px;
    height: 58px;
    padding: 12px;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
}
.stool-icopick-icon:hover {
    border-color: #ef292a;
}
.stool-icopick-icon.selected {
    border-color: #009ade;
}
.stool-icopick-icon svg {
    width: 100%;
    height: 100%;
}


/* Basic styles to have on a element that contains svg-file */
.file-icon tspan {
    font-size: 16px;
    font-family: OpenSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.file-icon .document {
    fill: #AAAAAA;
}

.file-icon .corner {
    fill: #787878;
}

.file-icon[data-ext="pdf"] .document {
    fill: #EF5350;
}

.file-icon[data-ext="pdf"] .corner {
    fill: #D32F2F;
}

.file-icon[data-ext="zip"] .document {
    fill: #ffcf13;
}

.file-icon[data-ext="zip"] .corner {
    fill: #bf6638;
}

.file-icon[data-ext="ppt"] .document, .file-icon[data-ext="pptx"] .document {
    fill: #FBC02D;
}

.file-icon[data-ext="ppt"] .corner, .file-icon[data-ext="pptx"] .corner {
    fill: #FB8C00;
}

.file-icon[data-ext="xls"] .document, .file-icon[data-ext="xlsx"] .document {
    fill: #26A69A;
}

.file-icon[data-ext="xls"] .corner, .file-icon[data-ext="xlsx"] .corner {
    fill: #00897B;
}

.file-icon[data-ext="doc"] .document, .file-icon[data-ext="docx"] .document {
    fill: #42A5F5;
}

.file-icon[data-ext="doc"] .corner, .file-icon[data-ext="docx"] .corner {
    fill: #1E88E5;
}


/* Anchor Setter */
.anchor-setter {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 400px;
}

.anchor-setter.open .anchor-setter-pannel {
    transform: translateX(0%);
}

.anchor-setter-open-btn {
    height: 25px;
    width: 25px;
    padding: 5px;
    background-color: #555;
    cursor: hand;
    cursor: pointer;
}

.anchor-setter-pannel {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 200ms ease;
    white-space: nowrap;
}

.anchor-setter-pannel label {
    margin-right: 5px;
}

.anchor-setter-pannel label span {
    margin-right: 5px;
    font-size: 16px !important;
    line-height: 18px !important;
}

.anchor-setter-pannel label input {
    font-size: 14px !important;
    line-height: 16px !important;
    padding: 1px !important;
    border: 1px solid #888 !important;
}

.anchor-setter-save-btn, .anchor-setter-copy-btn, .anchor-setter-cancel-btn {
    display: inline-block;
    vertical-align: middle;
    height: 25px;
    width: 25px;
    margin-left: 5px;
    cursor: hand;
    cursor: pointer;
}

.anchor-setter-save-btn svg, .anchor-setter-copy-btn svg, .anchor-setter-cancel-btn svg {
    width: 100%;
    height: 100%;
}

.anchor-setter-cancel-btn svg path {
    fill: red;
}

/* Style for the social popup */
.social-popup .picker-popup-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-direction: column;
    flex-direction: column;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
}

.social-popup-content {
    height: 100%;
    overflow-y: scroll;
}

.social-popup-item {
    background-color: #fff;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-wrap: none;
}

.social-popup-item:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px solid #000;
    margin-bottom: 15px;
}

.social-popup-item-icon {
    width: 35px;
    min-width: 35px;
    height: 35px;
    padding-left: 10px;
}

.social-popup-item-icon svg {
    width: 100%;
    height: 100%;
}

.social-popup-item-icon svg * {
    fill: #000;
}

.social-popup-item-content {
    width: 100%;
    padding: 0 10px;
}

.social-popup-item-title {
    color: #000000 !important;
    font-family: Arial, helvetica, sans-serif;
    text-align: left;
}

.social-popup-input {
    padding: 3px;
    width: 100%;
    margin-top: 3px;
    box-sizing: border-box;
}

.social-popup-btn-ctn {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -ms-flex-pack: end;
}

.social-popup-draggable-ctn {
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
}

.social-popup-draggable-handle {
    padding: 10px;
    cursor: hand;
    cursor: pointer;
}

.social-popup-draggable-ctn span {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    height: 1px;
    background-color: #000;
}

.social-popup-draggable-ctn span:last-child {
    margin-bottom: 0;
}


/* Custom links */
/*.hide{
        display:none;
}
.windowMainContainer{
        background-color:#EEE;
        padding: 10px;
        #box-sizing;
        background-image:none;
        input:not([type = checkbox]):not([type=radio]){
                width: 100%;
                padding-left: 5px;
                #box-sizing;
                font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
                color: #333;
                border: 1px solid #DDD;
                height: 40px;
                background-color: #FFF;
        }
}*/
.save-custom-links{
    cursor: hand;
    cursor: pointer;
}
.admin-section-ctn{
    max-height:50vh;
    overflow-y:auto;
}
.choose-custom-links{
    padding: 0 10px;
    vertical-align:middle;
}
.choose-custom-links svg{
    width:25px;
    height:25px;
    transition: fill 0.3s;
}
.choose-custom-links svg{
    fill:red;
}
.admin-custom-link-choice{
    width:350px;
    margin-right:20px;
}
.admin-section-custom-choice{
    border:1px solid gray;
    margin-bottom:10px;
}
.admin-section-custom-choice .admin-section-name{
    padding:5px 10px;
    font-weight:600;
    font-size:1.2rem;
    border-bottom:1px solid gray;
}
.admin-section-custom-choice .selector{
    display:inline-block;
    width:20px;
    height:20px;
    padding:1px;
    box-sizing:border-box;
    border:1px solid darkgray;
    margin-right:10px;
    vertical-align:middle;
}
.admin-section-custom-choice .selector span{
    transition: background 0.3s;
}
.admin-section-custom-choice .selected .selector{
    border-color:red;
}
.admin-section-custom-choice .selected .selector span{
    display:block;
    width:100%;
    height:16px;
    background-color:red;
}
.admin-section-custom-choice .admin-page-name, .admin-page-name-external{
    font-size:1.4rem;
    padding:5px 10px;
    cursor: hand;
    cursor: pointer;
    transition: background 0.3s;
}
.admin-section-custom-choice .admin-page-name:hover, .admin-page-name-external:hover{
    background-color: lightgray;
}
.admin-section-custom-choice .add-custom-link{
    padding:10px 15px !important;
    float:none !important;
    display:inline-block !important;
    margin-top:10px !important;
}
.chosen-custom-links{
    width:250px;
    border:1px solid lightgray;
}


.admin-custom-links-ctn{
    display:block;
    padding:5px 10px;
    border-bottom:1px dashed lightgray;
    background-color:#EEE;
}
.admin-custom-links-ctn .admin-custom-selected-links{
    margin-left:10px;
}
.admin-dragger{
    vertical-align:middle;
    padding:5px 5px 5px 0;
    cursor: hand;
    cursor: pointer;
    margin-right:5px;
}
.admin-dragger svg{
    fill:darkgray;
    width:20px;
    height:20px;
    transition: fill 0.3s;
}
.admin-dragger svg:hover{
    fill:lightgray;
}
.admin-custom-link-delete{
    vertical-align:middle;
    padding:5px 5px 5px 0;
    cursor: pointer;
}
.admin-custom-link-delete svg{
    width:20px;
    height:20px;
}
.admin-custom-link-delete polyline{
    stroke:red;
    -webkit-transition: stroke 0.3s;
    transition: stroke 0.3s;
}
.admin-custom-link-delete:hover polyline{
    stroke:lightgray;
}
/* ###### */

/* image-editor */

.image-editor.nosrc .image-editor-view,
.image-editor.hascrop .image-editor-view {
    height: 0;
    overflow: hidden;
}
.image-editor.nosrc .image-editor-tools,
.image-editor.hascrop .image-editor-tools {
    display:none;
}
.image-editor.hascrop .image-editor-pre {
    display: block;
}
.image-editor.removal .imed-cur {
    opacity: .3;
}
.image-editor.removal .imed-del svg {
    fill: red;
}
.image-editor-view {
    position: relative;
}
.imed-zo1 {
    padding: 40px;
    background: #cecece;
    overflow: hidden;
}
.imed-zo1-inner {
    max-width: 100%;
}
.imed-pho {
    margin: 0 auto;
    position: relative;
}
.imed-res {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow :0 0 2px rgba(0,0,0,.4);
    overflow: hidden;
}
.imed-img {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;
    height: 100%;*/
}
.imed-img.iei1 {
    opacity: .3;
}
.imed-img img {
    width: auto;
    height: auto;
}
.imed-zo2 {
    cursor: move;
}
.imed-ctrl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.image-editor-tools {
    text-align: center;
    padding: 8px 0;
    background: #fff;
    position: relative;
}
.imed-t1 {
    display: inline-block;
    vertical-align: middle;
}
.imed-t1 span {
    font-size: 18px;
    line-height: 1;
    color: lightgrey;
    margin: 0 8px;
    vertical-align: middle;
}
.imed-t2 {
    position: absolute;
    top: 0;
    right: 0;
}
.imed-t2 >a {
    display: inline-block;
    float: right;
    margin: 8px 8px 0 2px;
    cursor: pointer;
}
.imed-t2 >a svg {
    width: auto;
    height: 19px;
}

.image-editor-pre {
    display: none;
    text-align: center;
    padding: 20px 40px;
}
.imed-cur {
    max-width: 100%;
}
.imed-t3 a {
    display: inline-block;
    vertical-align: middle;
    margin: 8px 8px 0;
    cursor: pointer;
}
.imed-t3 a svg {
    width: auto;
    height: 25px;
}
.imed-can polyline {
    stroke: grey;
}
.imed-can polyline:hover polyline {
    stroke: #000;
}
.imed-mod svg {
    fill: grey;
}
.imed-mod svg:hover {
    fill: #000;
}

.imed-del svg {
    fill: grey;
}
.imed-del svg:hover {
    fill: red;
}


.imed-sca {
    width: 150px;
    margin: 0;
    vertical-align: middle;
    -webkit-appearance: none;
}
.imed-sca:focus {
    outline: none;
}
.imed-sca::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    -webkit-animate: 0.2s;
    -moz-animate: 0.2s;
    -ms-animate: 0.2s;
    -o-animate: 0.2s;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: #333;
    border-radius: 1px;
    border: 0.2px solid #010101;
}
.imed-sca::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 16px;
    width: 6px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
}
.imed-sca:focus::-webkit-slider-runnable-track {
    background: #555;
}
.imed-sca::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    -webkit-animate: 0.2s;
    -moz-animate: 0.2s;
    -ms-animate: 0.2s;
    -o-animate: 0.2s;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: #333;
    border-radius: 1px;
    border: 0.2px solid #010101;
}
.imed-sca::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 16px;
    width: 6px;
    background: #ffffff;
    cursor: pointer;
}
.imed-sca::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    -webkit-animate: 0.2s;
    -moz-animate: 0.2s;
    -ms-animate: 0.2s;
    -o-animate: 0.2s;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}
.imed-sca::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000;
}
.imed-sca::-ms-fill-upper {
    background: #333;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000;
}
.imed-sca::-ms-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 16px;
    width: 6px;
    background: #ffffff;
    cursor: pointer;
}
.imed-sca:focus::-ms-fill-lower {
    background: #333;
}
.imed-sca:focus::-ms-fill-upper {
    background: #343434;
}

@keyframes spin-directory-loader {
    from {transform:translate(-50%, -50%) rotateZ(0deg)}
    to {transform:translate(-50%, -50%) rotateZ(360deg)}
}

/* SHARED POPUP */
.stool-shared-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    justify-content: center;
    background-color: rgba(0,0,0,0.5);
    align-items: flex-start;
    box-sizing: border-box;
    transition: visibility 1ms ease 300ms,
        opacity 300ms ease;
}
.stool-shared-popup.visible {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition: visibility 1ms ease,
        opacity 300ms ease;
}
.stool-shared-popup.no-anim {
    transition: none;
}
.stool-shared-popup.no-overlay {
    background-color: rgba(0,0,0,0);
}
.stool-shared-popup .stool-shared-popup-inner {
    position: relative;
    z-index: 2;
    padding: 40px 45px 20px; 
    box-sizing: border-box;  
    min-height: 200px;
    background-color: #fff;
    width: 600px;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.2);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 85vh;
}
.stool-shared-popup .stool-shared-popup-inner.has-processing:after {
    border-radius: inherit;
}
.stool-shared-popup .stool-shared-popup-header-ctn {
    margin-bottom: 36px;
}
.stool-shared-popup .stool-shared-popup-content-ctn {
    /*position: relative;*/
    box-sizing: border-box;
}
.stool-shared-popup .stool-shared-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;   
}
.stool-shared-popup .stool-shared-popup-close-btn svg {
    pointer-events: none;
    fill: #000;
    width: 16px;
    height: 16px;
}
.stool-shared-popup.slide-right {
    transition: background-color 500ms ease, visibility 0s ease 500ms;
    opacity: 1;
    background-color: rgba(0,0,0,0);
}
.stool-shared-popup.slide-right .stool-shared-popup-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    max-width: 450px;
    max-height: 100%;
    transform: translate(110%, 0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.2);
    border-radius: 0;
    transition: all 500ms ease;
}
.stool-shared-popup.stool-shared-popup-outer.visible.slide-right {
    visibility: visible;
}
.stool-shared-popup.stool-shared-popup-outer.visible.slide-right:not(.no-overlay) {
    background-color: rgba(0,0,0,0.5);
}
.stool-shared-popup.stool-shared-popup-outer.visible.slide-right .stool-shared-popup-inner {
    transform: translate(0, 0);
    transition: transform 500ms ease;
}

@media screen and (min-width: 767px) {
    .stool-shared-popup {
        padding: 85px 0;
    }
}

@media screen and (max-width:1279px) {
    .stool-shared-popup .stool-shared-popup-inner {
        width: 450px;
    }
}
@media screen and (max-width: 767px) {
    .stool-shared-popup {
        padding: 50px;
    }
    .stool-shared-popup .stool-shared-popup-inner {
        border-radius: 0;
        width: 100%;
        max-width: none;
        padding-top: 120px;
        padding: 35px 25px;
    }
}
@media screen and (max-width: 479px) {
    .stool-shared-popup {
        padding: 0;
    }
}


/* SHARED TABS */

.stool-shared-tab {
	padding: 10px 20px;
	/*background-color: @light;*/
	/*transition: all @duration-short @ease;*/
}
.stool-shared-tab.selected {
	/*background-color: @grey-light;*/
}

.stool-shared-tab-ctn:not(.selected) {
	display: none;
}


/*TEST ANNIE START*/
.stool-btn {
    background-color: #f02929 !important;
    padding: 10px !important;
}

.stool-btn svg {
    fill: #fff !important;
}

.stool-component-settings-btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.stool-component-settings-btn svg {
    width: 24px;
    height: 24px;
}

.stool-component-settings-popup {
    overflow: auto !important;
}

.stool-component-settings-popup .stool-shared-popup-inner {
    display: flex;
    flex-flow: column nowrap;
    padding: 0 !important;
}

.stool-component-settings-popup .stool-shared-popup-content-ctn {
    flex: 1 1 auto;
    padding: 20px !important;
    overflow-y: auto;
}

.stool-component-settings-popup .stool-shared-popup-content-ctn *:first-child {
    margin-top: 0;
}

.stool-component-settings-popup .stool-shared-popup-content-ctn *:last-child {
    margin-bottom: 0;
}

.stool-component-settings-popup .stool-shared-popup-header-ctn {
    padding: 20px 70px 20px 25px !important;
    background-color: #f02929 !important;
    color: #fff !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
}

.stool-component-settings-popup .stool-shared-popup-header {
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.stool-component-settings-popup .stool-shared-popup-close-btn {
    padding: 12px !important;
    border-radius: 50% !important;
    background-color: #c41e1e !important;
    top: 18px !important;
    right: 30px !important;
    transition: all 300ms ease !important;
}

.stool-component-settings-popup .stool-shared-popup-close-btn:hover {
    background-color: #ad1616 !important;
}

.stool-component-settings-popup .stool-shared-popup-close-btn svg {
    width: 11px !important;
    height: 11px !important;
}

.stool-component-settings-popup .stool-shared-popup-close-btn svg path {
    fill: #ffffff !important;
}

.stool-component-settings-item-label {
    width: 100%;
    white-space: pre;
}

.stool-component-settings-item-label-input-ctn {
    position: relative;
}

.stool-component-settings-item-label-input {
    display: block;
    max-width: 100%;
    min-width: 100%;
    min-height: 35px;
    height: 35px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;
    transition: height 200ms ease;
    resize: none;
}

.stool-component-settings-item-label-input-more, .stool-component-settings-item-label-input-less {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    transition: opacity 200ms ease;
}

.stool-component-settings-item-label-input-more {
    right: 16px;
}

.stool-component-settings-item-label-input-less .vertical {
    fill: transparent;
}

.stool-component-settings-item-label-input-less[disabled] {
    opacity: 0.5;
    cursor: default;
}

.stool-component-settings-item-label-input-more svg, .stool-component-settings-item-label-input-less svg {
    width: 12px;
    height: 12px;
}

.stool-component-settings-item {
    margin: 2rem 0;
}

.stool-component-settings-item .stool-component-settings-item-title {
    font-weight: bold;
    margin-bottom: 1rem;
}

.stool-component-settings-item .stool-normal-btn, 
.stool-component-settings-icon-element .stool-icopick-mod,
.stool-component-settings-component-controls .stool-normal-btn {
    display: inline-block;
    border: 1px solid #8c8c8c;
    border-radius: 5px;
    padding: 1rem;
    transition: all 300ms ease;
}

.stool-component-settings-item .stool-normal-btn:hover, 
.stool-component-settings-icon-element .stool-icopick-mod:hover,
.stool-component-settings-component-controls .stool-normal-btn:hover {
    color: #fff;
    background: #8c8c8c;
    border-radius: 5px;
    padding: 1rem;
}

.stool-component-settings-item .stool-component-settings-select {
    padding: 1rem;
    width: 75%;
}

.stool-component-settings-link-save-ctn {
    margin-top: 15px;
}

.stool-component-settings-link-save-ctn .stool-component-settings-save-message {
    margin-left: 15px;
}


.stool-component-settings-save-message {
    display: inline-block;
    vertical-align: middle;
    color: seagreen;
    font-size: 14px;
    line-height: 16px;
    margin-left: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 5000ms ease, visibility 0ms ease 5000ms;
}

.stool-component-settings-save-message.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease, visibility 0ms ease 0ms;
}

.stool-component-settings-icon-picker-icon {
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
}

.stool-component-settings-icon-picker-icon svg {
    width: 28px;
    height: 28px;
}

.stool-component-settings-icon-picker-content {
    margin-top: 20px;
    display: none;
}

.stool-component-settings-icon-picker-list {
    max-height: calc(86px * 4);
    overflow-y: auto;
    background-color: #eaeaea;
}

.stool-component-settings-icon-picker-save-ctn {
    margin-top: 20px;
}

.stool-component-settings-popup.stool-component-settings-is-component .stool-shared-popup-content-ctn-inner {
    position: relative;
    padding-bottom: 70px !important;
    min-height: 100%;
    box-sizing: border-box;
}

.stool-component-settings-component-controls {
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 70px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.stool-component-settings-component-controls-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fff;
}

.stool-component-settings-component-controls-del-ctn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
}

.stool-component-settings-component-controls-del-text {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
}

.stool-component-settings-component-controls-del-controls {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.stool-component-settings-tabs-ctn {
    height: 60px;
    margin: -20px -20px 0 -20px;
}

.stool-component-settings-tabs-inner {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    flex-flow: row nowrap;
    padding: 0 10px;
    border-bottom: 1px solid #ededed;
    overflow-x: auto;
    background-color: #ffffff;
}

.stool-component-settings-tab-item {
    position: relative;
    padding: 20px;
    font-size: 16px;
    line-height: 20px;
    color: #5b5b5b;
    transition: color 200ms ease;
}

.stool-component-settings-tab-item.selected {
    color: #f02929;
}

.stool-component-settings-tab-item.selected:before {
    width: 80%;
}

.stool-component-settings-tab-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: #f02929;
    transition: width 200ms ease;
    transform: translateX(-50%);
}