.lasso-modal-open {
    overflow: hidden;
}

// modal overlay
#lasso--modal__overlay {
    z-index: 9999;
    position: fixed;
    left:0;
    top:0;
    right:0;
    bottom:0;
    background:@modal--overlay__bg;
}

// modal outer
.lasso--modal{
    z-index: 100001;
    position:fixed;
    display: table;
    top:33vh;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    max-width:@modal--width;
    margin:0 auto;
    font-family:@editor--font;
    * {
        .box-sizing(border-box);
    }

}

// modal inner
.lasso--modal__inner {
    display:table-cell;
    vertical-align: middle;
    background:@modal--bg;
    border-radius:@editor--radius;
    border:1px solid @modal--border;
    padding:@modal--padding;
    .box-shadow(0 0 10px 1px rgba(0,0,0,0.5) );
    color:@modal--color;
    .clearfix();
    position: relative; // @since 0.9.4
	label{
	    color:#fff;
	}
}

// modal close
#lasso--modal__close {
    position:absolute;
    right:20px;
    top:10px;

    &:hover {
        cursor: pointer;
    }
}

// post status slider wrap
.lasso--slider_wrap {
    padding:0 10px;
    height:18px;
}

// GLOBAL INPUT SETTINGS
.lasso--postsettings__option {
    padding-bottom:20px;
    margin-bottom:20px;
    position: relative;
    line-height: 1;
    border-bottom:1px solid @modal--border;
    .box-shadow(0 1px 1px rgba(255,255,255,0.05));


    &.lasso--last-option {
        border-bottom:none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    // story status label
    .story-status {
        margin:12px 0 8px;
        padding:0 10px;
        line-height: 1;
		display:table;
		width:100%;
        .clearfix();

        li {
            font-size: @modal--font__size;
            //float: left;
            list-style-type: none;
			display: table-cell;
        }

        &.story-status-publish {
            #lasso--status-draft {
                .opacity(0.3);
            }
        }

        &.story-status-draft {
            #lasso--status-publish {
                 .opacity(0.3);
            }
        }

        #lasso--status-pending {
			text-align:center;
        }

        // published
        #lasso--status-publish {
            float: right;
			text-align:right;
        }
    }

    // post slug option
    &.story-slug-option {

        .lasso--select-wrap {
            position: absolute;
            top:24px;
            left:1px;

            select {
                font-size:@modal--font__size - 1;
                border-radius:1px 0 0 1px;
            }
        }
        + .lasso--postsettings__footer {
            margin-top:inherit;
            padding-top:inherit;
            padding-to:20px;
            margin-top:20px;
        }
    }

    &.checkbox-option {

    }

    + .lasso--postsettings__footer {
        border-top:none;
        box-shadow: none;
        margin-top:0;
        padding-top:0;
    }
}

// post settings form footer
.lasso--postsettings__footer {
    text-align: right;
    font-size: @modal--font__size + 2;
    padding-top:20px;
    margin-top:22px;
    border-top:1px solid @modal--border;
    .box-shadow(0 -1px 1px rgba(255,255,255,0.05));

    a,input {
        display: inline-block;
    }

}

#lasso--postnew__form {
    // post slug option
    .story-slug-option {
        margin-bottom: 0;
        //input[type="text"] {
        //    padding-left:92px;
        //}
		#lasso--select-type {
		    height:35px;
		}
    }
	.lasso--modal__trigger-footer {
	   left:90px;
	   width:260px;
	}

}


// Modal Addon - 0.9.4
.lasso--modal__tabs {
    position:absolute;
    right:0;
    top:-@modal--tab__height;
    padding:0;
    margin:0;
    height:@modal--tab__height;
    list-style:none;

    li {
        display:inline-block;
        background:@modal--bg__accent;
        font-size:@input--font__size;
        border-top-left-radius: @editor--radius;
        border-top-right-radius: @editor--radius;
        padding:0 @editor--padding;
        margin:0 1px 0;
        height:@modal--tab__height;
        line-height:@modal--tab__height;
        .transition(background .15s ease);

        &.active-tab,
        &:hover {
            cursor:pointer;
            background:@modal--bg;
        }

        &:last-child {
            margin-right:-1px;
        }
    }
}
// ACF
.lasso--modal__content {
    #poststuff {
        min-width:1px;
    }
}
// wide form to fit new feature image - 0.9.4
#lasso--post-settings__modal {
    max-width:@modal--width__med;
}
// settings columns
.lasso--postsettings__1col {

}
.lasso--postsettings__2col {
    .clearfix();

    .lasso--postsettings__left,
    .lasso--postsettings__right {
        float:left;
    }

    .lasso--postsettings__left {
        width:35%;

        label {
            font-size:14px;
            line-height:1;
            display:block;
            margin-bottom: 15px;
        }

        .lasso-util--help {
            left:6px;
            top:2px;
        }
    }
    .lasso--postsettings__right {
        width:62%;
        margin-left:3%;
    }
}

.story-tags-option,
.story-slug-option {
    border-bottom:none;
    box-shadow:none;
    padding-bottom:0;
}
.lasso--postsettings__middle {
    clear:left;
    padding-top:@editor--padding__lg;
    border-top:1px solid @modal--border;
    .box-shadow(inset 0 1px 1px rgba(255,255,255,0.05));
}

// post thumb
.lasso--post-thumb {
    position: relative;

    .lasso--post-thumb__controls {
        position: absolute;
        top:@editor--padding;
        left:@editor--padding;
        right:@editor--padding;
        z-index: 1;

        i {
            text-shadow:0 1px 1px rgba(0,0,0,0.5);
            .opacity(0.6);
            .transition(all .2s ease);

            &:hover {
                cursor: pointer;
                .opacity(1.0);
                .scale(1.1);
            }

            &:active {
                .scale(1);
                box-shadow:none;
            }
        }


        #lasso--post-thumb__add {
            font-size:@input--font__size + 1;
            top:2px;
            margin-right:-4px;
            position:relative;
        }

        #lasso--save-status {
            float: right;
            font-size:@input--font__size + 1;
            position: relative;
            top: 3px;
            right: 3px;
            color:@editor--color__success;
        }

    }

    // image
    img{
        border:5px solid fadeout(@modal--bg__accent,25);
        border-radius: @editor--radius;
		width:196px;
        height:136px;
    }
}

#lasso--postsettings__form.no-thumbnail {
    #lasso--post-thumb__delete {
        .not-visible();
    }
}

// custom form #
.lasso--modal__checkbox,
#lasso--post-settings__modal {

}

#lasso--custom-taxo-select {
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 15px;
}
