#post-new-article {
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #88aaff;
    background: #ddeeff;
    margin-bottom: 10px;
    cursor: pointer;
}

.icon {
    position: absolute;
    top: 0px;
    width: 22px;
    height: 22px;
    background-size: 18px 18px ! important;
    cursor: pointer;
}

.delete {
    background: url('edit-delete.png') no-repeat center;
    right: 3px;
}

.cancel {
    background: url('dialog-cancel.png') no-repeat center;
    right: 3px;
}

#intro-cancel {
    background: url('dialog-cancel.png') no-repeat center;
    right: 3px;
}

.edit {
    background: url('document-edit.png') no-repeat center;
    right: 25px;
}

#intro-edit {
    background: url('document-edit.png') no-repeat center;
    right: 3px;
}

.restore {
    background: url('edit-redo.png') no-repeat center;
    right: 47px;
}

.valid {
    background: url('dialog-ok-apply.png') no-repeat center;
    right: 25px;
}

#intro-valid {
    background: url('dialog-ok-apply.png') no-repeat center;
    right: 25px;
}

.preview {
    background: url('document-preview.png') no-repeat center;
    right: 47px;
}

#intro-preview {
    background: url('document-preview.png') no-repeat center;
    right: 47px;
}

.article>div:first-child>div>input#date {
    width: 120px;
}

.article>div:first-child>div>input#title {
    width: 55%;
}

.article>div:last-child>form {
    position: relative;
    width: 100%;
    height: 360px;
    padding: 0;
}

#album-suggest, #tags-suggest {
    position: absolute;
    right: 244px;
    left: 90px;
    height: 100px;
    border: 1px solid #ddeeff;
    z-index: 1;
    background: white;
    overflow-y: auto;
}

#album-suggest>div, #tags-suggest>div {
    background: #ededed;
    padding: 2px;
    cursor: pointer;
}

#album-suggest>div:nth-child(2n), #tags-suggest>div:nth-child(2n) {
    background: #fafafa;
}

#album-suggest>div:hover, #tags-suggest>div:hover {
    background: #e0e0e0;
}

.article>div:last-child>form>label {
    position: absolute;
    display: block;
    width: 80px;
    text-align: right;
    line-height: 20px;
    left: 5px;
    vertical-align: middle;
}

.article>div:last-child>form>label[for=album] { top: 5px; }

.article>div:last-child>form>label[for=tags] { top: 30px; }

.article>div:last-child>form>div#album {
    position: absolute;
    left: 90px;
    right: 248px;
    height: 16px;
    top: 5px;
}

.article>div:last-child>form>div#tags {
    position: absolute;
    left: 90px;
    right: 248px;
    height: 16px;
    top: 30px;
}

.article>div:last-child>form>div#article-src {
    position: absolute;
    left: 5px;
    right: 248px;
    top: 55px;
    bottom: 10px;
}

.article>div:last-child>form>div>input {
    position: relative;
    width: 100%;
    height: 100%;
}

.article>div:last-child>form>div>textarea {
    position: relative;
    width: 100%;
    height: 100%;
}

.article>div:last-child>form>div#album-suggest {
    display: none;
    top: 24px;
}

.article>div:last-child>form>div#tags-suggest { 
    display: none;
    top: 49px;
}

.article>div:last-child>form>div#pictures, .article>div:last-child>form>div#videos {
    position: absolute;
    top: 5px;
    width: 200px;
    right: 35px;
    bottom: 32px;
    border: 1px solid #88aaff;
    overflow-y: scroll;
}

.article>div:last-child>form>div#pictures>div, .article>div:last-child>form>div#videos>div {
    border: 1px dashed #88aaff;
    text-align: center;
    margin: 8px;
    padding: 4px;
    background: #ddeeff;
    cursor: pointer;
    -moz-user-select: none;
}

.article>div:last-child>form>div#btn-add-pict, .article>div:last-child>form>div#btn-add-vid {
    position: absolute;
    height: 20px;
    right: 35px;
    bottom: 5px;
    width: 200px;
    background: #ddeeff;
    border: 1px solid #88aaff;
}

.article>div:last-child>form>div#btn-add-pict>div, .article>div:last-child>form>div#btn-add-vid>div {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    text-align: center;
    cursor: pointer;
}

#add-picture {
    position: absolute;
    left: 0px;
    right: 0px;
    top: -5px;
    bottom: 0px;
}

#add-picture>div {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: #000000;
    opacity: 0.5;
}

#add-picture>form {
    position: absolute;
    left: 15%;
    right: 15%;
    top: 130px;
    bottom: 130px;
    background: #ddeeff;
    border: 1px solid #88aaff;
    text-align: center;
}

#add-picture>form>input {
    margin: 10px;
}

#add-picture>form>div {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 40px;
    bottom: 40px;
    background: white;
    border: 1px solid #88aaff;
}

#add-picture>form>div>div {
    position: absolute;
    left: 0px;
    width: 33%;
    top: 0px;
    bottom: 0px;
    background: #ddd;
}

#cleaning>div>div:last-child {
    min-height: 20px;
}

#config>div>div:last-child {
    text-align: center;
}

#config>div>div:last-child>form {
    display: table;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

#config>div>div:last-child>form>div {
    display: table-row;
}

#config>div>div:last-child>form>div>label {
    display: table-cell;
    width: 20%;
    text-align: right;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

#config>div>div:last-child>form>div>div {
    display: table-cell;
    padding-right: 10px;
    width: 80%;
}

#config>div>div:last-child>form>div>div>input {
    width: 100%;
    text-align: left;
}

#config>div>div:last-child>input {
    margin-bottom: 8px;
}

div[id|=orphan] {
    position: relative;
    margin: 10px;
    border: solid green 1px;
}

div[id|=orphan]>div {
    padding: 2px;
    background: #eee;
}

div[id|=orphan]>div:nth-child(2n) {
    background: #ddd;
}

div[id|=orphan]>div:last-child {
    position: absolute;
    background: lightgreen;
    right: 0px;
    padding: 0px;
    top: 0px;
    bottom: 0px;
    width: 200px;
    border-left: solid 1px green;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

div[id|=orphan]>div:last-child>div {
    display: inline-block;
    vertical-align: middle;
    line-height: 100%;
    height: 100%;
    width: 1px;
}

div[id|=orphan]>div:last-child:hover {
    background: #beb;
}

#intro>div>div>textarea {
    width: 90%;
    height: 100px;
    margin: 10px;
}

#panels {
    position: absolute;
    right: 5px;
    bottom: 5px;
    top: 5px;
    width: 22px;
    border-left: solid 1px #88aaff;
}

#panels>div {
    transform: rotate(90deg);
    padding: 3px 5px 7px 5px;
    margin-top: 52px;
    margin-left: -26px;
    text-align: center;
    border: 1px solid #88aaff;
    display: block;
    width: 60px;
    height: 10px;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
    -moz-user-select: none;
}

#panels>div.selected {
    background: #ddeeff;
}

#panels>div:hover {
    background: #eef2ff;
}

#pictures, #btn-add-pict, #style, #videos, #btn-add-vid {
    display: none;
}

.vid>img {
    max-width: 150px;
    max-height: 150px;
}

#infos, #style {
    position: absolute;
    top: 5px;
    width: 200px;
    bottom: 5px;
    text-align: center;
    border: solid 1px #88aaff;
    right: 27px;
    padding: 3px;
}

#infos>img {
    border: solid 1px #88aaff;
    padding: 2px;
    margin: 3px;
}

#style {
    text-align: left;
    overflow-y: scroll;
}

#style>div {
    margin-bottom: 6px;
}

.red {
    color: red;
}