﻿body {
    overflow-y: scroll;
}

a:link, a:visited {
    color:#1589c8;
    font-size:14px;
}
button, .button {
    color:#fff !important;
    margin-left:4px;
}
label {
    cursor:default;
}
p, label, span, strong, li {
    font-size:12px;
    line-height:15px;
}

h1 span, h1 strong,
h2 span, h2 strong,
h3 span, h3 strong {
    font-size:inherit;
}
p {
    margin:10px 0;
}
.top-bar .name .site-title {
    padding-left:34px;
    background-image:url("images/av_logo_small.png");
    background-repeat:no-repeat;
    background-position:left center;
    display:inline-block;
    margin-left:20px;
}

.top-bar .versionInfo {
    background:#666;
    padding-left:20px;
    padding-right:20px;
    margin-left:20px;

}
.top-bar .versionInfoText {
    display:inline;
    color:#fff;
    font-size:16px;
    margin-right:10px;
}
.top-bar .versionInfoText strong, .top-bar .versionInfoText span {
    font-size:16px;    
}
.top-bar .versionInfoLink {
    background:#666 !important;
    display:inline;
    text-decoration:underline;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 2.8125rem;
    background-color:#333333;
    color:white;
    padding:10px 0 0 10px;
}

.row {
    max-width: 100rem;
}
fieldset {
    border-radius:4px;
}
fieldset legend {
    background: transparent;
}
fieldset textarea {
    resize:vertical;
}
textarea {
    min-height:112px;
}
fieldset a {
    vertical-align:sub;
}
fieldset a img {
    margin-top:-4px;    
}
ul, ul li {
    list-style-type: none;
    list-style-position: inside;
    margin-left: 0;
}

li img {
    margin-right: 10px;
    display: inline-block;
}

ul.jqtree-tree li.jqtree-selected > .jqtree-element, ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
    background: transparent;
    text-shadow: none;
    font-weight: bold;
}

.jqtree_current > div > span {
    font-weight: bold;
}

.main {
    max-width:100%;
    width:1600px;
    margin:auto;
    margin-bottom:100px;
}

.headerrow {
    min-height:150px;

}
.contentlist {
    margin-top:18px;

}
.contentlist li {
    border: 1px solid #dcdcdc;
    background-color:#f2f2f2;
    margin-bottom:10px;
    border-radius:4px;
}
.contentlist li > div {
    padding:6px 10px;

}
.contentlist a {
    display:inline-block;
    width:100%;
    height:100%;
}


.contentlist a:hover {
}
fieldset, .contentlist li, .breadcrumbs {
    background-color:#ebebeb;
}

.panel .panel{
    border: 1px solid #dddddd;
    margin: 1.125rem 0;
    padding: 1.25rem;
    border-radius:4px;
    background-color: #ebebeb;
}

.avpreviewcontainer {
    display:none;
}
.avpreview {
    font-size: 12px;
}

.panel .panel.avpreview {
    background-color:white;
}
.closePreviewButton {
    font-weight:bold;
    float:right;
    display:block;
    margin:8px;
}

a.addLink {
    display:block;
    padding-left:24px;
    background-image:url("images/add_icon.png");
    background-position:left center;
    background-repeat:no-repeat;
}
.button {
    background-color:#1589c8;
}

button:hover, button:focus, .button:hover, .button:focus {
    background-color: #0e71a7;
}

form .row .formrow {
    margin:0;
}

[data-abide] .error small.error, [data-abide] .error span.error, [data-abide] span.error, [data-abide] small.error {
    font-weight:bold;
    font-style:normal;
}

.openAjaxDialog > * {
    vertical-align:middle;    
}

.versionpanel {
    border-left:6px solid #1589c8;
    min-height:220px;
    margin-bottom:0;
    border-bottom:0;
    position:relative;
}

.version.active .versionpanel {
    border-left:6px solid #bf0002;
}

.version.active:after {
    display:block;
    position:absolute;
    content: "Sie bearbeiten zur Zeit diese Version.";
    z-index:50;
    bottom:46px;
    margin-left:26px;
    color:#bf0002;
    font-weight:bold;
}

.versionpanelSub {
    background-color:#eaeaea !important;
    background-color:rgba(220, 220, 220, 1) !important;
    position:absolute;
    top:0;
    left:0;
    margin:0 !important;
    z-index:100;
    display:none;
    width:100%;
    height:100%;
    border:0 !important;
    padding:10px 0 !important;
}
    .versionpanelSub h5 {
        padding:0 10px 10px 10px !important;
    }
.versionpanel:hover .versionpanelSub {
    display:block;
}

.versionoptions {
    margin:0;
    padding:0;
}
.versionoptions li {
    border-top:1px solid #eee;
    padding:10px !important;
}
button.secondary, .button.secondary {
    background-color: #d7d7d7;
    color: #1589c8 !important;
}

#newCategoryFormContainer {
    display:none;
}

#newCategoryLink {
    margin:-1rem 0 1rem 0;
    display:block;
}

input[type="checkbox"] + input[type="hidden"] + label {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0.5rem;
    margin-right: 1rem;
    vertical-align: baseline;
}

.entry-panel {
    padding:14px 1.25rem;
    margin-bottom:10px;
}

.entry-label, .entry-info {
    display:inline-block;
    vertical-align:middle;
}

.entry-label {
    min-width:120px;

}
.entry-info {
    margin-left:10px;
    min-width:140px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-size: inherit !important;
}

a:hover {
    text-decoration:underline;
}

.ago-dialog {
    min-width:700px;
    max-width:100% !important;
    width:70%;
}

.loadingValuesLabel:after {
    display:block;
    content: " ";
    position:absolute;
    top:16px;
    left:16px;
    background-color:#fafafa;
    /*background-color:rgba(250,250,250,0.6);
    opacity:0.7;*/
    background-image:url(images/preloader.gif);
    background-repeat:no-repeat;
    background-position: 10px center;
    height:35px;
    width:116px;
}

button.loading:before {
    display:block;
    content: " ";
    position:absolute;
    top:3px;
    left:-40px;
    background-image:url(images/preloader.gif);
    background-repeat:no-repeat;
    background-position: 10px center;
    height:30px;
    width:30px;

}

@media screen and (max-width: 1200px) {
    .ago-dialog {
        width:100%;
    }
}
.context_link_item {
    border-radius:4px;
    padding:4px 8px;
    background-color:#dddddd;
    margin-bottom:4px;
}

.context_link_item span {
    color:#a81c1b;
    font-weight:bold;
    float:right;    
}

hr {
    margin:0;
}

.listCreateLink {
    margin-bottom:40px;
    display:inline-block;
    background-image:url(images/add_icon.png);
    background-repeat:no-repeat;
    background-position:left center;
    padding-left:25px;
}

.delete-link:link, .delete-link:visited {
    color:#b51f2a;
    margin-right:20px;
    margin-left:20px;
    font-weight:normal;
}

.copy-link:link, .copy-link:visited {
    font-weight:normal;
}

form:after {
    content:"";
    display:block;
    clear:both;
}

small.error {
    background-color: #c60f13 !important;
    border-color: #9e0c0f;
}

/*Sortable List (Drag and Drop)*/
.standardList li {
    min-height:46px;
}
body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

.sortableList li.placeholder {
  position: relative;
  border:2px dashed #888;
  margin-bottom:10px;
  /** More li styles **/
}
.sortableList li.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
}

.sortHandle {
    display:none;
    width:16px;
    height:17px;
    float:left;
    margin-right:10px;
    background-image:url(images/sortHandle.png);
    background-repeat:no-repeat;
    cursor:grab;
}

.sortableList .sortHandle {
    display:block;
}
