/* element manager */

body.iwptp-editor-element-manager-display {
    overflow: hidden;
}

.iwptp-editor-element-manager-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 100000;
    overflow-y: overlay;
    display: none;
}

.iwptp-editor-element-manager {
    width: 1000px;
    border: 2px solid #555;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    margin: 50px auto;
    position: relative;
    min-height: calc(100% - 100px);
}

.iwptp-editor-element-manager:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: #666;
    width: 220px;
    height: 100%;
}

.iwptp-editor-element-manager:after,
.iwptp-editor-element-manager>div:after {
    content: '';
    display: block;
    clear: both;
}

.iwptp-editor-element-manager>i.fa-times-thin {
    position: absolute;
    right: -130px;
    top: 0;
    font-size: 35px;
    cursor: pointer;
    color: #999;
    transition: .2s;
}

.iwptp-editor-element-manager>i.fa-times-thin:hover {
    color: black;
}

.iwptp-editor-element-manager>i.fa-times-thin>span {
    font-size: 20px;
    font-family: verdana;
    margin-left: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
}

.iwptp-editor-element-manager>i.fa-times-thin:before {
    content: '\00d7';
}

.iwptp-editor-element-manager-title {
    font-size: 20px;
    /* font-weight: bold; */
    letter-spacing: 5px;
    padding: 34px 10px;
    text-align: center;
    border-bottom: 2px solid #555;
    background: white;
    position: relative;
    text-transform: uppercase;
    color: #676767;
}

.iwptp-editor-element-sources {
    width: 220px;
    float: left;
    position: relative;
}

.iwptp-editor-element-source {
    padding: 15px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 2em;
    border-bottom: 1px solid #555;
    position: relative;
    cursor: pointer;
}

.iwptp-editor-element-source:not(.iwptp-editor-element-source-selected):hover {
    background: #777;
}

.iwptp-editor-element-source-count {
    color: #555;
    background: #d0d0d0;
    font-size: 12px;
    padding: 3px;
    width: 1.4em;
    line-height: 1.4em;
    margin-left: 8px;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
    vertical-align: baseline;
    box-sizing: content-box!important;
    border: 1px solid #545454;
    box-shadow: 0 0 10px rgba(51, 51, 51, 0.3);
}

.iwptp-editor-element-source-selected {
    background: white;
    color: black;
}

.iwptp-editor-element-source:after {
    content: ' ';
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-width: 2px 2px 0 0;
    font-family: 'fontawesome';
    position: absolute;
    right: 10px;
    font-size: 20px;
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
    opacity: 0;
    transition: .3s right;
}

.iwptp-editor-element-source-selected:after {
    right: 0;
    opacity: .5;
}

.iwptp-editor-element-source-selected .iwptp-editor-element-source-count {
    color: black;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.iwptp-editor-element-library,
.iwptp-editor-element-workbench {
    padding: 15px 30px;
    width: calc(100% - 220px);
    display: inline-block;
}

.iwptp-editor-element-workbench {
    display: none;
}

.iwptp-editor-element-library .iwptp-editor-row-handle>div {
    width: calc((100% - (4 * 60px)) / 1);
    /* 4 -> number of action columns 3 -> number of data columns */
}

.iwptp-editor-element-library .iwptp-editor-row-handle-data {
    padding-left: 0;
}

.iwptp-editor-row-toggle {
    position: relative;
}

.iwptp-editor-row-toggle:before {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .02);
    border-radius: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.iwptp-editor-element-library input[type="text"],
.iwptp-editor-element-library input[type="number"],
.iwptp-editor-element-library textarea,
.iwptp-editor-element-library select {
    padding: 10px;
    height: 40px;
    width: 100%;
    font-size: 16px;
    border: 1px solid #ddd;
}

.iwptp-editor-element-library textarea {
    height: 90px;
}

.iwptp-editor-element-library>div {
    display: none;
}

.iwptp-elements-list-for {
    color: #000000;
    font-weight: lighter;
    font-size: 25px;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.iwptp-element-type-focus {
    font-size: 35px;
    margin: 0px 0 25px;
    letter-spacing: -1px;
    text-transform: uppercase;
    border-bottom: 2px dashed #efefef;
    padding-bottom: 15px;
    line-height: 45px;
}

.iwptp-editor-row-option+.iwptp-editor-row-style-options {
    margin-top: 10px;
    /* border-top: 2px dashed rgba(0, 0, 0, 0.1); */
}

.iwptp-toggle-options:not(.iwptp-open)>*:not(.iwptp-toggle-label) {
    display: none;
}

.iwptp-editor-row-style-options .sp-preview {
    width: 151px;
    height: 25px;
}

input.iwptp-element-shortcode {
    padding: 10px;
    background: whitesmoke;
    border: none;
    width: 100%;
    font-size: 16px;
}

.iwptp-editor-row-handle-action {
    padding: 30px 0 !important;
}

.iwptp-add-element {
    background: #42A5F5 !important;
    color: white !important;
    font-weight: 200;
    font-size: 16px;
    margin-bottom: 0px!important;
    width: 190px;
    float: right;
    padding: 10px !important;
    position: relative;
    top: 2px;
    transition: .2s;
}

.iwptp-add-element:hover {
    background: #0f8aec !important;
}