#form-widgets-connector_db_subpath {
    width: 400px;
}

#logging .level-info {
    color: green;
}

#logging .level-warn {
    color: orange;
}

#logging .level-error {
    color: red;
    font-weight: bold;
}

#logging td {
    text-align: center !important;
    vertical-align: top;
}

#logging td.log-text {
    text-align: left !important;
}

#logging tbody tr.even,
#logging tbody tr:nth-child(even) {
    background-color: #dddddd !important;
}

#logging tbody tr.odd,
#logging tbody tr:nth-child(odd) {
    background-color: #eeeeee !important;
}

.status-ok {
    color: green;
    font-weight: bold;
}

.status-error {
    color: red;
    font-weight: bold;
}

#content .actions {
    border-top: 1px solid #329fd7;
    cursor: pointer;
    margin-bottom: 1em;
}

#content .actions ul {
    padding: 0;
    margin: 0;
}

#content .actions li {
    display: inline;
    padding-right: 1em;
    font-weight: bold;
}

#content .actions a {
    text-decoration: none;
    border: none;
}


#content .actions a:before {
    content: '\00bb';
    padding-right: 0.25em;
}

/* ACE editor  */

#content #ace-editor-info {
    padding-left: 0;
    margin: 0;
    margin-top: 1em;
    border: 0;
    border-top: 1px solid black;
}

#ace-editor-info li {
    display: inline;
}

#ace-editor-info li:before {
    content: "\00bb";
    padding-right: 0.15em;
}

button.button,
button.xml-editor {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
    font-size: 1.2em;
    padding: 4px;
}

/* hide folder contents action */
.portaltype-xmldirector-plonecore-connector #contentview-folderContents {
    display: none;
}

/* mimetype icons */

a.dir,
a.file {
    border: none !important;
}


a.file span {
    display: inline-block;
}

a.file:before {
    content: '';
    background-size: contain;
    width: 32px;
    height: 32px;
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: middle;
}

a.file:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/raw2.svg) !important;
}

a.file[href*='.xml']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/xml5.svg) !important;
}

a.file[href*='.html']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/html9.svg) !important;
}

a.file[href*='.pdf']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/pdf19.svg) !important;
}

a.file[href*='.css']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/css5.svg) !important;
}

a.file[href*='.png']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/png3.svg) !important;
}

a.file[href*='.gif']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/gif3.svg) !important;
}

a.file[href*='.jpg']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/jpg3.svg) !important;
}

a.file[href*='.svg']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/svg1.svg) !important;
}

a.file[href*='.docx']:before {
    background-image: url(++resource++xmldirector.plonecore/images/svg/docx.svg) !important;
}

input.xmlxpath-field {
    width: 80% !important;
}

#connection-test .info {
    color: green;
    font-weight: bold;
}

#connection-test .error {
    color: red;
    font-weight: bold;
}

.xml-editor-validation-msg {
    display: block;
}

/* Plone 5 specific settings */

.plone-toolbar-left {
    z-index: 100 !important;
}

/* Validator registry */

.template-transformer-registry table,
.template-validator-registry table ,
.template-transformer-registry-view #editor,
.template-validator-registry-view #editor {
    margin-top: 2em;
}

.icon-controlpanel-xmldirector_plonecore_lockmanager:before,
.icon-controlpanel-xmldirector_plonecore_introspection:before, 
.icon-controlpanel-xmldirector_plonecore:before {
    content: '\e846';
}

/* Datatables */

/* Hide datatables by default and show then upon completion (JS) */
.datatable {
    display: none;
}

.datatable tbody tr:nth-child(even) {
    background: #ddd;
}

.datatable tbody tr:nth-child(odd) {
    background: #eee;
}


/* ZIP upload */
.template-connector-zip-import legend {
    font-size: 1.0rem !important;
}

.template-connector-zip-import .help {
    font-style: italic !important;
    margin-bottom: 1em;
}

input.zip-upload {
    border-radius: 20px;
    border: 1px solid #808080;
    background: #606060;
    color: white;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-weight: bold;
    margin-top: 1em;
    
}

/* misc */
#connection-url {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
