#cms {
    position: absolute;
    left: 0px;
    bottom: 0px;
    opacity: 0.0;
}
div.cms {
    position: relative;
}
div.cms-layout {
}
div.cms-layout [draggable=true] {
    cursor: move;
}
div.cms-container {
}
div.cms-content {
    min-height: 4ex;
}

#cms-main {
    opacity: 0.8;
}
#cms-main a {
    color: rgba(255, 255, 255, 0.8) !important;
}
#cms-main a:hover {
    color: rgba(255, 255, 255, 1.0) !important;
}
#cms-main li a:hover {
    color: rgba(0, 0, 0, 1.0) !important;
}

#cms-main button {
    margin: 10px 5px;
}
#cms-main button#cms-show-remove {
    margin-right: 0;
}
#cms-main button#cms-show-hidden {
    margin-left: 0;
}

#cms-main .cms-edit, #cms-main .cms-admin {
    display: inline-block;
    float: left;
}
#cms-main .cms-hide {
    display: none;
}

.cms-hidden {
    display: none;
}
.cms-monospace {
    font-family: monospace;
}
.cms-highlight {
    color: red !important;
}

.cms-body {
    padding: 100px 0;
}
.cms-body h1, .modal-dialog h1 {
    font-size: 26px;
    font-weight: normal;
    color: #333333;
    margin-top: 0px;
    margin-bottom: 20px;
}
.cms-body h2, .modal-dialog h2 {
    font-size: 18px;
    font-weight: normal;
    color: #333333;
    margin-top: 0px;
    margin-bottom: 20px;
}
.cms-body h3, .modal-dialog h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-top: 0px;
    margin-bottom: 10px;
}
.cms-body h4, .modal-dialog h4 {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    margin-top: 0px;
    margin-bottom: 10px;
}


/* MODAL ****************************************************************** */

.modal-dialog h3, .modal-dialog p {
    margin: 0 !important;
}


/* STATE ****************************************************************** */

.cms-state {
    z-index: 1;
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    cursor: pointer;
}
.cms-state-left {
    left: -5px;
    right: auto;
}


/* ACTION ***************************************************************** */

.cms-action {
    display: none;
    z-index: 1020;
    position: absolute;
    right: -5px;
    bottom: -50px;
    white-space: nowrap;
    padding: 5px 5px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.cms-action-left {
    left: -5px;
    right: auto;
}


/* OPTION ***************************************************************** */

.cms-option {
    display: none;
    z-index: 1020;
    position: absolute;
    right: -5px;
    bottom: -5px;
    white-space: nowrap;
    padding: 5px 5px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.cms-option-left {
    left: -5px;
    right: auto;
}
.cms-option p.form-control-static {
    padding: 3px 0 6px 0;
    height: auto;
    min-height: 0;
    color: #333333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.cms-option span.cms-option-oid {
    padding-left: 10px;
}
.cms-option select.form-control {
    width: auto;
}
.cms-option div.form-group-sm {
    margin-bottom: 5px;
}
.cms-option div.form-group-sm .checkbox, .cms-option div.form-group-sm .radio {
    font-size: 12px;
}
.cms-option div.form-group-sm .checkbox-inline, .cms-option div.form-group-sm .radio-inline {
    padding-top: 0;
}
.cms-option div.form-group-sm input[type=checkbox], .cms-option div.form-group-sm input[type=radio] {
    margin: 2px 0 0 -20px !important;
}
.cms-option div.form-group-sm .control-label {
    font-size: 12px;
    padding-top: 7px;
}
.cms-option div.form-group-sm .input-group-addon {
    cursor: pointer;
}


/* SELECT ***************************************************************** */

.cms-select {
    display: none;
    z-index: 1025;
    position: absolute;
    right: 15px;
    top: 32px;
    white-space: nowrap;
    padding: 5px 5px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.cms-select p.form-control-static {
    padding: 3px 0 6px 0;
    height: auto;
    min-height: 0;
    color: #333333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.cms-select-list {
    max-height: 30ex;
    overflow: auto;
}
.cms-select-item {
    padding-right: 30px;
}
.cms-select-item span {
    display: block;
}
.cms-select-item:hover {
    background: #aaaaaa;
    cursor: pointer;
}


/* SITE ******************************************************************* */

#cms-site-page {
    padding-top: 7px;
}
#cms-site-page a {
    color: #333333 !important;
}
#cms-site-tree {
    margin: 5ex 0;
}
#cms-site-tree a {
    color: #333333 !important;
}
#cms-site-tree a[data-insert=true] i {
    color: #31708f !important;
}
#cms-site-tree a[data-remove=true] i {
    color: #a94442 !important;
}
#cms-site-tree a[data-change=true] i {
    color: #3c763d !important;
}
#cms-site-tree a[data-hidden=true] i {
    opacity: 0.5;
}
#cms-site-recover {
    display: none;
}


/* FILES ****************************************************************** */

div.cms-files {
    box-shadow: inset 0 0 1px #ffffff;
    background: #ffffff;
    border-radius: 2px;
    margin-top: 10px;
    padding: 5px 0; 
}
div.cms-files form {
    display: none;
    position: relative;
}
div.cms-files div.form-group {
    margin-bottom: 5px;
}
div.cms-files button.close {
    position: absolute;
    top: -5px;
    right: 5px;
}
img.cms-files {
    width: 100%;
    max-height: 100px;
    margin: 2px 0 5px 0; 
}
span.cms-files {
    font-size: 32px;
}
span.cms-files i {
    font-size: 36px;
    line-height: 40px;
    vertical-align: text-top;
}
div.cms-files button > strong {
    display: block;
    width: 1em;
}
div.cms-files-used {
    display: none;
    z-index: 100;
    position: absolute;
    top: 30px;
    right: 20px;
    box-shadow: inset 0 0 1px #999999;
    background: #f1f1f1;
    border-radius: 2px;
    margin-top: 10px;
    padding: 10px;
    white-space: nowrap;
}
div.cms-files-used button.close {
    top: 0px;
}
div.cms-files-used a {
    color: #333333 !important;
}
#cms-files-root {
    padding-top: 7px;
}
#cms-files-root {
    color: #333333 !important;
}
#cms-files-tree {
    margin: 5ex 0;
}
#cms-files-tree a {
    color: #333333 !important;
}


/* CONFIG ***************************************************************** */

#cms-config-text, #cms-config-tree, #cms-config-dict {
    max-height: 500px;
}
#cms-config-tree {
    margin: 0;
}
#cms-config-tree a {
    color: #333333 !important;
}
#cms-config-dict {
    display: none;
    margin: 0;
}
#cms-config-toggle {
    cursor: pointer;
}


/* OWNER ****************************************************************** */

.cms-owner-form-standard {
}
.cms-owner-form-advanced {
    display: none;
}
.cms-owner-form-specials {
    display: none;
}


/* JSTREE ***************************************************************** */

.jstree-hovered {
    background: #fafafa !important;
}
.jstree-clicked {
    background: #f1f1f1 !important;
}
.jstree-clicked.jstree-hovered {
    background: #f1f1f1 !important;
}


/* BOOTSTRAP ************************************************************** */

.table > thead > tr > th {
    border-bottom: 1px solid #000;
}
.table > tfoot > tr > th {
    border-top: 1px solid #000;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
