﻿a.add-dynamic-field{
    position:relative;
}
span.Prompt{
    float:left;
    font-weight:bold;
}
.insert-appendable{
    display:inline-block;
    width:100%;
    padding:0;
}

div.appendable-menu.hide{
    height: 0;
    width:0;
    overflow:hidden;
    display:block!important;
    border:1px solid #eee;
    
    -webkit-transition: height 5s ease, width 500ms ease;
	-moz-transition: height 5s ease, width 500ms ease;
	-o-transition: height 5s ease, width 500ms ease;
	transition: height 5s ease, width 500ms ease;
    }

div.appendable-menu {
    height: auto;
    width: 100%;
    -webkit-transition: width 500ms ease;
    -moz-transition: width 500ms ease;
    -o-transition: width 500ms ease;
    transition: width 500ms ease;
}
.appendable-menu{
    
    border:5px solid #fff;
    width:calc(99% - 2px);
    padding:0;

}
.appendable-menu table{
    display:table;
    width:calc(95% - 18px);
    margin:0!important;
}
.appendable-menu table tr{
    min-width:100%!important;
    width:100%!important;
}
.appendable-menu table tr td{
    min-width:33%!important;
    vertical-align:top;
    padding:0;
}
.appendable-menu td a.button{
    display:block;
    margin:5px;
}

div.preformatted {
    font-family: monospace;
    white-space: pre;
    overflow-x:scroll!important;
}

.code {
    overflow-x:scroll!important;
}

    div.code.file-input {
        overflow: hidden;
        border: 1px solid green;
    }

    div.code textarea {
        font-family: monospace;
    }

div.pastable {
    min-height:5em;
    width:calc(100% - 1em);
    border:1px solid #aaa;
}
.pastable[placeholder]:empty:before {
    content: attr(placeholder);
    color: #555; 
}
.small {
    font-size:0.8em;
}
div.pasted {
    width:100%;
    margin-bottom:0.5em;
}
.table-head table tr:first-child td{
    border-bottom:1px solid #ccc;
}
.table-caption {
    text-align:center;
    font-weight:bold;
    text-transform:capitalize;
    margin-top:0.5em;
}
div.pasted table{
    width:calc(100% - 2px);
}

    div.pasted td {
        border:1px solid #eee;
    }
.dynamic.edit-mode {
    overflow: auto;   
    position:absolute;
    z-index:9;
    background:#aaa;
    
}

    .dynamic.edit-mode input[type=text],
    .dynamic.edit-mode textarea {
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        -khtml-border-radius: 5px;
    }



    .dynamic.edit-mode div:last-child {
        width: 98%;
        margin: 5px 1%;
    }


div.dynamic-fields {
    position: relative;
    padding-bottom: 1.5em;
}


div.add-field {
    position: absolute;
    height: 1.5em;
    bottom: 0;
    width: 100%;
}

    div.add-field select {
        display: none;
    }

    div.add-field:hover select {
        display: inline-block;
        width: calc(100% - 2em);
    }

    div.add-field span {
        display: inline-block;
        width: calc(100% - 3em);
    }

    div.add-field:hover span {
        display: none;
    }

div.cell div.dynamic-edit {
    position: relative;
    z-index: 99;
    border-top: 1px solid #eee;
    vertical-align: middle;
    width: 100%;
    border: 1px solid #aaa;
    margin: 3px;
    padding: 2px;
    border-bottom: 2px solid #000;
}

div.dynamic-edit > input[type=radio] {
    position: absolute;
    left: 0;
    top: 0;
}

div.dynamic-edit > a.del {
    position: absolute;
    top: 9px;
    right: 0;
    text-decoration: none;
    margin: 1px;
}

div.cell .dynamic-text.inline span.embedded,
div.cell .dynamic-text.inline span.embedded span.formula,
div.cell .dynamic-text.inline span.embedded span.formula span {
    position: relative !important;
    float: none !important;
    display: inline !important;
}

div.dynamic-edit > div.input-field {
    width: calc(100% - 2em) !important;
    display: inline-block;
    margin: 0 1em!important;
    padding: 0;
}

div.input-field textarea, div.input-field input[type=text],
div.input-field div,
div.input-field div.edit-board,
div.input-field div.fileselect,
div.input-field input[type=file] {
    width: 100%;
    margin: 0 !important;
}
