/* 
--- 
code with love by David Čáp http://www.davidcap.cz/
*/

/* RESET */   
html, body, div, span, applet, object, iframe,  
h1, h2, h3, h4, h5, h6, p, blockquote, pre,  
a, abbr, acronym, address, big, cite, code,  
del, dfn, em, font, img, ins, kbd, q, s, samp,  
small, strike, strong, sub, sup, tt, var,  
b, u, i, center,  
dl, dt, dd, ol, ul, li,  
fieldset, form, label, legend,  
table, caption, tbody, tfoot, thead, tr, th, td {  
margin: 0;  
padding: 0;  
border: 0;  
outline: 0;  
font-size: 100%;  
vertical-align: baselinebaseline;  
background: transparent;  
font-weight: 400;
}  
body {  
line-height: 1;  
}  
ol, ul {  
list-style: none;  
}  
blockquote, q {  
quotes: none;  
}  
blockquote:before, blockquote:after,  
q:before, q:after {  
content: '';  
content: none;  
}  

  
/* remember to define focus styles! */  
:focus {  
outline: 0;  
}  
  
/* remember to highlight inserts somehow! */  
ins {  
text-decoration: none;  
}  
del {  
text-decoration: line-through;  
}  
  
/* tables still need 'cellspacing="0"' in the markup */  
table {  
border-collapse: collapse;  
border-spacing: 0;  
}  
/* RESET END*/ 


/* COLORS */
/*
orange: FDA75D
light-grey: F9F9F9
grey (outline): D1D3D4
*/


/* GENERAL */
* { margin:0; padding:0; }
body {  
    width:100%;
    min-width: 320px;
    background-color:#fff;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
    color: #333333;
    font-size: 18px;
    line-height: 1.5;    
}

::selection {
    background: #FDA75D;
}
::-moz-selection {
    background: #FDA75D;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.wrap{
    padding: 0 30px;
}
a {  
    text-decoration: none;
    color: #333333;
}
.orange {
    color: #FDA75D;
}

/* FORM */
.btn,
a.btn,
input.btn {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 13px;
    font-weight: 400;
    background: #FDA75D;
    border: 0px solid transparent;
    border-radius: 0;
    box-shadow: 0;
    color: #fff;
    display: inline-block;
    padding: 19px 30px 22px;
    position: relative;
    text-align: left;
    text-decoration: none;
    text-shadow: 0;
    vertical-align: middle;
    white-space: nowrap;
    zoom: 1;
    cursor: pointer;
    height: 51px;
    text-transform: uppercase;
}
input{
    width: 100%;
    border: 0 ;
    display: block;
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 30px; 
    appearance: none;
    box-shadow: none;
    border-radius: none;
    background: #D2D2D2;
    color: #000;
    font-weight: 400;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}
.form-element {
    padding: 10px 30px;
    background: #D2D2D2;
    border-bottom: 2px solid #fff;
}

/* HEADER */
#header {  
    height: 50px;
    width: 100%; 
    z-index: 1000;
}
#header #breadcrumb {  
    position: fixed;
    top: 0;
    left: 320px;
    right: 0;
    height: 48px;
    background-color: #F9F9F9;
    line-height: 48px;
    border-bottom: 2px solid #fff;
    z-index: 1000;
    overflow: hidden;
    overflow-x: auto;
}
#homepage #header #breadcrumb {  
    display: none;
}

#header #breadcrumb .back {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 90px;
    padding-left: 20px;
    border-right: 2px solid #fff;
    height: 50px;
    line-height: 50px;
}
#header #breadcrumb .back:before {
    content: " ";
    display: inline-block;
    height: 16px;
    width: 8px;
    padding-right: 15px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    background-position: -145px -97px;
}
#header #breadcrumb .back:hover:before {
    background-position: -145px -67px;
}
#header #breadcrumb .parts {
    margin-left: 110px;
    margin-right: 0;
}
#header #breadcrumb .parts .part {
    display: inline-block;
    padding: 0 20px;
    border-right: 2px solid #fff;
}
#header #breadcrumb .back:hover,
#header #breadcrumb .parts .part.active,
#header #breadcrumb .parts .part:hover {
    color: #FDA75D;
}
#tools {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 320px;
    right: 0;    
    height: 35px;
    background-color: #F9F9F9;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
}
#tools .download {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 210px;
    height: 35px;
    border-left: 2px solid #fff;
    padding: 0 15px;
}
#tools .download .link{
    display: inline-block;
    font-size: 14px;
    line-height: 16px;  
    text-transform: uppercase;
    font-weight: 600;
    padding-top: 7px;
}
#tools .download .link:before {
    content: " ";
    display: inline-block;
    height: 17px;
    width: 20px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    margin-right: 5px;
    position: relative;
    top: 2px;
}
#tools .download.active .link{
    display: none;
}
#tools .download .link:before {
    background-position: -58px -69px;
}

#tools .download .download_message {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 15px;
    background-color: #D2D2D2;
}
#tools .download:hover .download_message {
    opacity: 1;
}
.hidden {
    display: none;
}
#sidebar {  
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #F9F9F9;
    border-right: 2px solid #fff;
    min-width: 320px;
    overflow: hidden;
    overflow-y: auto;
    z-index: 1000;
}
#sidebar #logo {  
    position: fixed;
    top: 0;
    left: 0;
    background-color: #F9F9F9;
    height: 50px;
    width: 320px;
    z-index: 1000;
}
#sidebar #logo:after {
    content: " ";
    display: block;
    position: absolute;
    left: 20px;
    top: 11px;
    height: 33px;
    width: 179px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    background-position: -0px -0;
}
#sidebar #logo:hover:after {
    background-position: -0 -31px;
}
#sidebar #nav {  
    margin-top: 50px;
    padding-top: 20px;
}
#sidebar a {  
    display: block;
}
#sidebar #nav ul > li,  
#subnav ul > li {  
    padding: 2px 20px;
    position: relative;
}
#sidebar #nav li:hover a,  
#sidebar #nav li.active a {  
    color: #FDA75D;
}
#sidebar #nav li.item:after,
#subnav li.item:after {
    content: " ";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 25px;
    width: 25px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    background-position: -113px -62px;
    margin-right: 18px;
}
#sidebar #nav li.search:after {
    background-position: -0px -62px;
}
#sidebar #nav li.show_selected:after{
    background-position: -27px -62px;
}
#sidebar #nav li.remove_selected:after{
    background-position: -163px -62px;
}
#sidebar #nav li.download_selected:after {
    background-position: -55px -62px;
}
#sidebar #nav li.logout:after {
    background-position: -85px -62px;
}
#subnav li.item:hover:after,
#sidebar #nav li.item:hover:after,
#sidebar #nav li.item.active:after {
    background-position: -113px -93px;
}
#sidebar #nav li.search.active:after,
#sidebar #nav li.search:hover:after {
    background-position: -0px -92px;
}
#sidebar #nav li.show_selected:hover:after,
#sidebar #nav li.active.show_selected:after  {
    background-position: -27px -92px;
}
#sidebar #nav li.remove_selected:hover:after{
    background-position: -163px -92px;
}
#sidebar #nav li.download_selected:hover:after {
    background-position: -55px -92px;
}
#sidebar #nav li.logout:hover:after {
    background-position: -85px -93px;
}

#subnav {
    position: fixed;
    z-index: 1000;
    top: 50px;
    bottom: 0;
    left: 320px;
    background-color: rgba(238,238,238,0.95);
}
#subnav .subnav_col {
    display: none;
    float: left;
    height: 100%;
    width: 320px;
}
#subnav .subnav_col.active,
#subnav .subnav_col:nth-child(2) {
    display: block;
}
#subnav li {
    padding-left: 20px;
}

/* CONTENT */

.content {
    margin-left: 322px;
    position: relative;
    z-index: 500;  
}
#homepage .content .image{
    position: fixed;
    top:0;
    left: 320px;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.content .items {
    padding: 5px;
    margin: 0;
}
.content .items .item {  
    line-height: 0;
    position: relative;
    float: left;
    min-width: 210px;    
    width: 210px;    
    min-height: 210px;
    height: 210px;
}
.content .items .item .in {  
    background-color: #D2D2D2;
    line-height: 0;
    margin: 5px;
    width: 200px;    
    height: 200px;  
    overflow: hidden;
}
.content .items .item.folder {   
}
/*
@media screen and (min-width: 520px) {
    .content .items .item {
        width: 100%;    
    }
}
@media screen and (min-width: 600px) {
    .content .items .item {
        width: 50%;   

    }
}
@media screen and (min-width: 970px) {
    .content .items .item {
        width: 33.33%;   
    }
}
@media screen and (min-width: 1180px) {
    .content .items .item {
        width: 25%;   
    }
}
@media screen and (min-width: 1500px) {
    .content .items .item {
        width: 20%;  
    }
}
@media screen and (min-width: 1700px) {
    .content .items .item {
        width: 16.66%;  
    }
}
@media screen and (min-width: 2240px) {
    .content .items .item {

    }
}
@media screen and (min-width: 2560px) {
    .content .items .item {

    }
}
@media screen and (min-width: 2880px) {
    .content .items .item {

    }
}
*/

.content .items .item img {  
    width: 100%;
    height: auto;
}
.content .items .item .text { 
    background-color: #D2D2D2;   
    padding: 10px;
    line-height: 25px;
}
.content .items .item.file .text { 
    min-height: 160px;   
}
.content .items .item.image .text { 
    opacity: 0;
    position: absolute;
    top:5px;
    left:5px;
    right:5px;
    bottom:5px;
    background-color: #D2D2D2;
    -webkit-transition: opacity .3s ease-in;
    -moz-transition: opacity .3s ease-in;
    -o-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;    
}
.content .items .item.image:hover .text { 
    opacity: 1;  
    line-height: 1.4em;
}
.content .items .item .table { 
    height: 100%;
    width: 100%;
    display: table;
    background-color: #fff;
    background-image: url('/css/rolling.gif');
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;    
}
.content .items .item .table .td { 
    height: 100%;
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.content .items .item .table .td img.portrait { 
    height: 200px;
    width: auto;
}
.content .items .item .text .extension { 
    display: block;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-right: 25px;
}
.content .items .image.item .text .extension { 
    text-transform: uppercase;
}
.content .items .item .text .title { 
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 5px;
}
.content .items .item .text .path { 
    display: inline-block;
    font-size: 9px;
    line-height: 11px;
}
.content .items .item .text a.path:hover { 
    background-color: #FDA75D;
}
.content .items .item.file .text a.path:hover { 
    background-color: #000;
    color: #FDA75D;
}
.content .items .item .text .details { 
    font-size: 10px;
    line-height: 13px;    
}

.content .items .item .text .space {
    display: block;
    padding-top: 5px;
}
.content .items .item .text .show,
.content .items .item .text .download{
    display: block;
}
.content .items .item .text .show .link,
.content .items .item .text .download .link{
    display: inline-block;
    font-size: 14px;
    line-height: 16px;  
    text-transform: uppercase;
    font-weight: 600;
}
.content .items .item .text .show .link:before,
.content .items .item .text .download .link:before {
    content: " ";
    display: inline-block;
    height: 17px;
    width: 20px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    margin-right: 5px;
    position: relative;
    top: 2px;
}
.content .items .item .text .show .link:before{
    background-position: -29px -66px;;
}
.content .items .item .text .download.active .link{
    display: none;
}
.content .items .item .text .download .link:before {
    background-position: -58px -69px;
}

.download_message {
    opacity: 0;
    font-size: 9px;
    line-height: 11px;  
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;  
    text-transform: none;
}
.download_selected:hover .download_message,
.content .items .item .text .download:hover .download_message {
    opacity: 1;
}
.content .items .item .selectbox  {
    opacity: 0;
    position: absolute;
    top: 15px;
    right: 15px;
    height: 20px;
    width: 20px;
    background-image: url('/css/icons.png');
    background-size: 244px 197px;
    background-repeat: no-repeat;
    background-position: -3px -120px;
    margin-right: 0;
    cursor: pointer;
    -webkit-transition: opacity .3s ease-in;
    -moz-transition: opacity .3s ease-in;
    -o-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;      
}
.content .items .item:hover .selectbox  {
    opacity: 0.7;
}
.content .items .item .selectbox.active  {
    background-position: -3px -145px;
    opacity: 1;
}
.content .items .item .selectbox:hover  {
    opacity: 1;
}
.content .message  {
    padding: 30px;
    color: #000;
}
.content .message a  {
    color: #FDA75D;
}

@media only screen and (max-width: 640px) {
    #nav {
        display: none;
    }  
    #sidebar #logo {
        top: -3px;
    }  
    #sidebar {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;  
        bottom: auto;
        height: 48px;
        min-width: 220px;
        width: 220px;
        border-bottom: 2px solid #fff
    }    
    .content {
        margin-left: 0;
    }
    #header #breadcrumb {
        left: 222px;
    }
    #header #breadcrumb .parts {
        display: none;
    }
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    padding: 0;
}