
/*
================================
Micro Editor - Textbox
================================
*/

.-pd-micro-editor-textbox {
    width: 100% !important;
    height: 22px !important;
    border-width: 0px !important;
    box-sizing: border-box !important;
    padding-left: 5px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    /* IE8 Hack */
    line-height: 14px\9;
    border-color: #FFFFFF !important;
}

.-pd-micro-editor-textbox:disabled
{
    border: 0px !important;
    width: 100%;
    color: #AAAAAA !important;
    background-color: #f2f2f2 !important;
    border-color: #AAAAAA !important;
}

.-pd-micro-editor-textbox.-pd-has-tags {
    color: darkorange;
}

/*
================================
Micro Editor - Drop Down List
================================
*/
    .-pd-micro-editor-ddl,
    .-pd-micro-editor-ddl:focus {
        height: auto;
        width: 100%;
        border: 0;
        padding: 3px;
        box-sizing: border-box;
        font-size: 12px;
        margin: 0;
    }

.-pd-micro-editor-ddl[disabled]
{
    background-color: #f2f2f2;
}

.-pd-micro-editor-ddl[disabled] option
{
    color: #ff0000 !important;
}

/*
================================
Micro Editor - Integer
================================
*/

.-pd-micro-editor-textbox.k-numerictextbox 
{
    padding: 0px;
    border-radius: 0px;
}

.-pd-micro-editor-textbox.k-numerictextbox .k-numeric-wrap
{
    border-radius: 0px;
    border-width: 0px;
}

.-pd-micro-editor-textbox.k-numerictextbox .k-numeric-wrap .k-select
{
    border-width: 0px;
}


.-pd-micro-editor-textbox.k-numerictextbox .k-numeric-wrap .k-input
{
    padding-top: 0px;
    border-radius: 0px;
}

/*
================================
Micro Editor - Composite
================================
*/
  
.-pd-micro-editor-composite
{
    position: relative;
    width: 100%;
    height: 22px;
    box-sizing: border-box;
    border: 0px none;
    padding-right:21px;
    background-color:#FFFFFF !important;
}

.-pd-micro-editor-composite > INPUT[type=text],
.-pd-micro-editor-composite > INPUT[type=text]:focus
{
    width: 100% !important;
    border: 0px none;
    line-height: 13px;
    padding-top: 3px;
    background-color: #FFFFFF;
    font-size: 12px;
    height: 22px;
    box-sizing: border-box;
}

.-pd-micro-editor-composite > INPUT[type=text]:disabled 
{
    background-color: #f2f2f2;
    color: #808080;
}

.-pd-micro-editor-composite > INPUT[type=button] {
    position: absolute;
    right: 1px;
    top: 1px;
    font-weight: bold;
    height: 20px !important;
    width: 19px !important;
    padding: 0;
    box-sizing: border-box;
}


.-pd-micro-editor-composite > INPUT[type=button]:disabled:hover {
    padding: 0;
    height: 20px !important;
    width: 19px !important;
}

/*
================================
Micro Editor - Color Picker
================================
*/
    .-pd-micro-editor-composite.color-picker > INPUT[type=text] {
        border: 0px none;
        line-height: 13px;
        width: 100% !important;
        padding-left: 25px !important;
    }
    
.-pd-micro-editor-composite.color-picker > .swatch
{
    height: 16px;
    width: 16px;
    background-color: transparent;
    border: 1px solid #000000;
    position: absolute;
    top: 3px;
    left: 3px;
    box-sizing:border-box;
}

.-pd-micro-editor-composite.color-picker > .swatch.transparent
{
    background-image:url(../../application/icons/misc/trasnparent-hint-4x4.png);
    background-position: 3px 3px;
}

.-pd-color-picker-dialog 
{
    position: absolute;
    top:10px;
    bottom:10px;
    left:10px;
    right:10px;
}

.-pd-color-picker-dialog > DIV[data-id=swatch]
{
    position:absolute;
    right:0px;
    top:0px;
    width:100px;
    height:90px;
    border:1px solid #AAAAAA;
    background-color:#FFFFFF;
}

.-pd-color-picker-dialog > [data-id=palette]
{
    position:absolute;
}

.-pd-color-picker-dialog > DIV[data-id=inputs]
{
    top:100px;
    right:0px;
    width:100px;
    position:absolute;
}

.-pd-color-picker-dialog > DIV[data-id=inputs] > INPUT
{
    width:60px;
    right:0px;
    position:absolute;
    padding-left:5px;
}

.-pd-color-picker-dialog > DIV[data-id=inputs] > LABEL
{
    width:40px;
    right:70px;
    position:absolute;
    text-align:right;
    line-height: 22px;
}

.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=label-g],
.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=input-g]
{
    top:30px;
}

.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=label-b],
.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=input-b]
{
    top:60px;
}

.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=label-hex],
.-pd-color-picker-dialog > DIV[data-id=inputs] > [data-id=input-hex]
{
    top:90px;
}

.-pd-color-picker-dialog > BUTTON
{
    position:absolute;
    bottom:0px;
}

.-pd-color-picker-dialog > BUTTON[data-id=ok]
{
    right:110px;
}

.-pd-color-picker-dialog > BUTTON[data-id=cancel]
{
    right:0px;
}

/*
================================
Micro Editor - TextArea
================================
*/
 
.-pd-micro-editor-textarea
{
    width: 100% !important;
    height: 70px;
    border-width: 0;
    box-sizing: border-box;
    padding: 5px;
    font-size:12px;
    line-height:16px;
    border-color: #FFFFFF !important;
}

.-pd-micro-editor-textarea:disabled
{
    color: #AAAAAA !important;
    background-color: #f2f2f2 !important;
}

/*
================================
Micro Editor - Password
================================
*/

.-pd-micro-editor-password {
    position: absolute;
    top:0;
    left:0;
    right:0;
    height: 22px !important;
    width:100%;
    border-width: 0;
    box-sizing: border-box;
    padding: 0 0 0 5px !important;
    font-size:12px;
    line-height: 18px;
    margin: 0;
    border: 0 solid white !important;
}

/*
================================
Micro Editor - Action Editor
================================
*/

.-pd-action-editor-dialog {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.-pd-action-editor-dialog > .action-label {
    position: absolute;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 0;
    height: 20px;
    width: 100%;
    font-family:Arial;
    font-size:12px;
}

.-pd-action-editor-dialog > .action {
    position: absolute;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 20px;
    width: 100%;
}

.-pd-action-editor-dialog > .action-params-label {
    position: absolute;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 50px;
    height: 20px;
    width: 100%;
    font-family: Arial;
    font-size: 12px;
}

.-pd-action-editor-dialog > .action-params {
    position: absolute;
    box-sizing: border-box;
    left: 0px;
    right: 0px;
    top: 70px;
    bottom: 40px;
    background-color: #FFFFFF;
    border: 0;
    padding: 0;
    border:1px solid #DDDDDD;
}

.-pd-action-editor-dialog > BUTTON[data-id=ok] {
    position: absolute;
    right: 110px;
    bottom: 0px;
}

.-pd-action-editor-dialog > BUTTON[data-id=cancel] {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

/*
================================
Micro Editor - Boolean Tag Editor
================================
*/

.-pd-boolean-tag-editor {
    padding-right: 0;
    position: relative;
}

.-pd-boolean-tag-editor > div:nth-child(1) {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    border: 0 none;
    height: 24px;
    padding: 2px 1px 1px 1px;
}

.-pd-boolean-tag-editor > div:nth-child(1) > select {
    border: 0;
    width: 100%;
    box-sizing: border-box;
}

.-pd-boolean-tag-editor > div:nth-child(2) {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 0;
    border: 0 solid red;
}

.-pd-boolean-tag-editor > div:nth-child(2) > input[type=text] {
    padding-left: 5px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    height: 24px;
    border: 0 none;
    color: darkorange;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

/*
================================
Micro Editor - Format
================================
*/

.-pd-editor-format {
    position: relative;
    width: 100%;
    height: 22px;
    box-sizing: border-box;
    border: 0px none;
    padding-right: 21px;
    background-color: #FFFFFF !important;
}

.-pd-editor-format > INPUT,
.-pd-editor-format > INPUT:focus {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 150px;
    border: 0px none;
    line-height: 12px;
    padding-top: 3px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #FFFFFF;
    font-size: 12px;
    height: 20px;
    box-sizing: border-box;
}

.-pd-editor-format > SPAN {
    position: absolute;
    top: 1px;
    right: 1px;
    left: 150px;
    height: 20px !important;
    padding: 0;
    box-sizing: border-box;
    background-color: #dbffce;
    line-height: 18px;
    font-size: 12px;
    display: inline-block;
    cursor: default;
    padding: 2px;
    text-align: center;
}