/* RESETS */
* { position: relative; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0 }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
button, input, select, textarea { font-family: inherit; color: inherit; }
body, h1, h2, h3, h4, h5, h6, p, li { margin: 0; padding: 0; }
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
b, strong { font-weight: bold; }
em { font-style: italic; }
blockquote { margin: 1em 40px; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: 'courier new', monospace, serif; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
abbr[title],acronym { cursor:help; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
small { font-size: inherit; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol, ul.nav, ol.nav { list-style: none; list-style-image: none; margin: 0; padding: 0; }
ul.horizontal li { display: inline-block; /* float: left; */ }
ul.horizontal a, ul.nav a, nav ul a { display: block; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: baseline; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }
.hidden, [hidden] { display: none !important; visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 12px;
    background-image: url('../img/bg.jpg');
    background-repeat:repeat;
}

.wrapper {
    margin: 0 auto;
    width: 960px;
}

header {
    height: 80px;
    background-color: #4a4a4a;
}

header .wrapper {

}

a {
    text-decoration: none;
}

#logo {
    display: block;
    line-height: 50px;
    font-size: 27px;
    text-transform: uppercase;
    color: #bbb;
    vertical-align: text-bottom;
}

#logo:hover {
    color: #fff;
}

header a:hover {
    text-shadow: 0 0 2px #eee;
}

#logo img {
    top: 10px;
    width:200px;
}

#nav-meta {
    text-align: right;
    position: absolute;
    right: 0;
    top: 6px;
}

#nav-meta li,
#nav-meta a {
    color: #aaa;
    margin-left: 15px;
    font-size: 12px;
}

#nav-meta a {
    border-bottom: 1px dotted #aaa;
}

#nav-meta a:hover {
    color: #fff;
}



#sidebar {
    width: 220px;
    margin-right: 20px;
    float: left;
}

#main {
    float: left;
    width: 720px;
}

form select,
form input {
    background-color: #ffffff;
    padding: 2px;
    border: 1px solid #eee;
    color: #888;
    width: 250px;
}

form select:focus,
form input:focus {
    border-color: #ccc;
    color: #000;
    background-color: #f8f8f8;
}

form label {
    top: 4px;
}

form select {
    width: 256px;
}

form button {
    background-color: #000;
    color: #fff;
    border: 0;
    padding: 2px 6px;
}

form button:hover {
    background-color: #86bc24;
}

form label {
    float: left;
    width: 120px;
}

form.blocklabel label {
    float: none;
    width: auto;
    top: auto;
    display: block;
    padding-bottom: 3px;
}

form .choiceelement {
    margin-left: 120px;
    padding: 2px 0;
}

form .choiceelement label {
    width: auto;
    top: auto;
    float: none;
    display: inline;
}

form .choiceelement input {
    float: left;
    width: auto;
    margin-right: 5px;
}

form .choiceelement-holder {
    margin-top: 18px;
}

form > div {
    overflow: hidden;
    margin-bottom: 20px;
}

form > div.nolabel {
    margin-left: 120px;
    clear: left;
}

form .submitbutton-holder {
    clear: left;
}

form.one-row {
    overflow: hidden;
}

form.one-row div.nolabel {
    margin-left: 0;
}

form.one-row div {
    width: 300px;
    float: left;
}

form.one-row label {
    width: auto;
    padding-right: 7px;
    top: 5px;
}

form.one-row input {

}

form input.link {
    font-family: monospace;
    font-size: 15px;
    font-weight: bold;
    padding: 5px;
    width: 900px;
}

#menu a {
    color: #000;
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
    font-size: 13px;
    text-transform: uppercase;
}

#menu a.logout_hide{
    color: #000;
    display: none;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
    font-size: 13px;
    text-transform: uppercase;
}

#menu a.current {
    font-weight: bold;
}


.splash {
    border:  1px solid #ffbf5e;
    background-color: #ffe991;
    padding: 10px;
    font-weight: bold;
    margin-top: 20px;
}

.splash-success {
    border-color: #71ac07;
    background-color: #def2b9;
}

.splash-danger,
.splash-error {
    border-color: #c70000;
    background-color: #eba0a0;
}


table.def {
    width: 100%;
}

table.def th {
    text-align: left;
}

table.def td {
    line-height: 16px;
    border-bottom: 1px solid #ccc;
    padding: 2px 1px;
    vertical-align: middle;
}

table.def td.icons a {
    opacity: .3;
}

table.def td.icons a:hover {
    opacity: 1;
}

table tfoot ul.ajax-userlist-response a:hover,
table.def a {
    color: #888;
}

.row-prefix {
    width: 16px;
    height: 10px;
    background: transparent url('../img/doc.gif') no-repeat left center;
}

.filetype-txt .row-prefix,
.filetype-doc .row-prefix {

}

.filetype-folder .row-prefix,
.filetype-zip .row-prefix,
.filetype-rar .row-prefix {
    background-image: url('../img/folder.gif');
}

.filetype-flv .row-prefix,
.filetype-3gp .row-prefix,
.filetype-mpg .row-prefix,
.filetype-mpeg .row-prefix,
.filetype-avi .row-prefix {
    background-image: url('../img/movie.gif');
}

.filetype-mp3 .row-prefix,
.filetype-wav .row-prefix {
    background-image: url('../img/music.gif');
}

.filetype-pdf .row-prefix {
    background-image: url('../img/pdf.gif');
}

.filetype-exe .row-prefix {
    background-image: url('../img/save.gif');
}

.filetype-xlsx .row-prefix,
.filetype-xls .row-prefix {
    background-image: url('../img/sheet.gif');
}

.filetype-bmp .row-prefix,
.filetype-jpg .row-prefix,
.filetype-jpeg .row-prefix,
.filetype-png .row-prefix,
.filetype-gif .row-prefix {
    background-image: url('../img/pic.gif');
}

.add-new-file .row-prefix {
    background-image: url('../img/add.gif');
}

.view-rights .row-prefix {
    background-image: url('../img/viewrights.png');
    background-position: left top;
    opacity: .5;
}

#pagetitle {
    margin: 20px 0 10px 240px;
    padding: 5px 0 10px;
}

h2 {
    font-weight: normal;
    font-size: 30px;
    color: #888;
}

#pagetitle h2 {
    border-bottom: 1px solid #ccc;
}


#main .icolleft {
    margin-right: 20px;
}

#main .icolleft,
#main .icolright {
    width: 350px;
    float: left;
}

input[readonly],
input[disabled] {
    cursor: not-allowed;
    font-family: monospace;
}

h4.filelist-head {
    border-bottom: 1px solid #000;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: .7em;
}

table.filelist {
    margin-bottom: 20px;
}

.search-result-found {
    opacity: 1;
}

.search-result-found * {
    font-weight: bold;
}


.search-result-not-found {
    opacity: .2;
}

.hint {
    margin-bottom: 1.4em;
}

h4 a.extraopt {
    font-size: 12px;
    float: right;
    top: 10px;
    text-transform: none;
    visibility: hidden;
    color: #86bc24;
}

h4:hover a.extraopt {
    visibility: visible;
}

.selected-user td {
    font-weight: bold;
    background-color: #eee;
}


tfoot a.tablebottom {
    display: block;
    color: #888;
}

tfoot .view-rights:hover a,
tfoot .view-rights:hover td {
    opacity: 1;
    color: #111;
}

.assigned-user-list.loaded {
    height: auto;
}

.assigned-user-list.loading {
    background: transparent url('../img/ajax.gif') no-repeat center center;
    height: 60px;
    display: none; /* will be expaned via JS */
}

.assigned-user-list.hidden {
    height: 0;
    display: none;
}

@media all and (max-width: 768px) and (min-width: 200px) {
    #logo img {
        top: 10px;
        width: 0;
    }
    body {
        height: 100%;
        width: 100%;
    }
    #sidebar {
        width:100%;
        margin-right: 20px;

    }
    form input {
        background-color: #ffffff;
        padding: 2px;
        border: 1px solid #eee;
        color: #888;
        width: 180px;
    }
    form label {
        float: left;
        width: 80px;
    }
    .wrapper {
        margin: 0 auto;
        width: 100%;
    }
    #nav-meta li, #nav-meta a {
        color: #aaa;
        font-size: 12px;
        margin-left: 15px;
        display:none;
    }
    #menu a.logout_hide{
        color: #000;
        display: block;
        border-bottom: 1px solid #ccc;
        padding: 5px 0;
        font-size: 13px;
        text-transform: uppercase;
    }
    #main {
        /*float: left;*/
        width: 100%;
    }

    #pagetitle {
        margin: 20px 0 10px 5px;
        padding: 5px 0 10px;
    }
}