@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans/OpenSans-Regular.ttf'),
         url('../fonts/OpenSans/OpenSans-Bold.ttf'),
         url('../fonts/OpenSans/OpenSans-Light.ttf'),
         url('../fonts/OpenSans/OpenSans-Italic.ttf'),
         url('../fonts/OpenSans/OpenSans-Medium.ttf');
}
html,body {
    font-family: 'OpenSans', sans-serif;;
}
.tc {
    text-align: center !important;
}
.tr {
    text-align: right !important;
}
a {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}
.hidden {
    display: none;
}
.btn-primary {
    background: #000;
    color: #fff;
    border-radius: 0;
    border: 0 none;
    transition: all 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #000;
    box-shadow: 0 4px 4px #666;
}
.kernelite-loader-engine {
    display: none;
    opacity: 0;
    visibility: hidden;
}
.notyf {
    z-index: 50001 !important;
}

#dashboard {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

#dashboard .leftPan {
    border-right:  1px solid #ddd;
    height: 100vh;
    width: 250px;
    padding: 50px 0;
    position: fixed;
    left: 0;
    top: 0;
    background: #f4f4f4;
}
#dashboard .leftPan img.logo {
    display: block;
    margin: 0 auto;
}
#dashboard .leftPan p.welcome {
    font-size: 11px;
    color: #888;
    margin: 15px 0;
    text-align: center;
}

#dashboard .leftPan ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}
#dashboard .leftPan ul li.title {
    margin-top: 20px;
    color: #fff;
    background: #666;
    font-size: 16px;
    line-height: 40px;
    padding-left: 10px;
}
#dashboard .leftPan ul li.title i {
    margin-right: 15px;
}
#dashboard .leftPan ul li a {
    display:  block;
    color: #000;
    font-size: 15px;
    padding-left: 10px;
    line-height: 60px;
    transition: padding 0.3s ease;
}
#dashboard .leftPan ul li a i {
    margin-right: 8px;
}
#dashboard .leftPan ul li.selected a,
#dashboard .leftPan ul li:hover a {
    padding-left: 20px;
    color: #fff;
    background: #000
}

#dashboard .rightPan {
    padding: 0 !important;
    overflow: auto;
    position: fixed;    
    width: calc(100% - 250px);
    left: 250px;
    top: 0;
    height: 100%;
}
#dashboard .contentJustified {
    width: 100%;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


#dashboard h1.dTitle {
    background: #000;
    color: #fff;
    padding-left: 15px;
    font-size: 40px;
    line-height: 80px;
}
#dashboard .card {
    border-radius: 0;
    padding: 30px;
    margin: 0 20px;
}

#dashboard .card h4 {
    color: #444;
    font-size: 16px;
    font-weight: bold;
}

#dashboard label {
    font-size: 13px;
    color: #000;
    font-weight: bold;
    margin-top: 10px;
}

#dashboard .disclaimer {
    color: #888;
    font-size: 12px;
}
#dashboard .page {
    padding: 20px;
}


#documentsViewer .nodocs {
    width: 90%;
    margin: 0 auto;
    height: 100vh;
    display: table;
    color: #aaa;
    font-size: 50px;
}
#documentsViewer .nodocs p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;    
}
#documentsViewer .nodocs p i {
    font-size: 150px;
}

#documentsViewer .loader {
    text-align: center;
    margin-top: 100px;
    min-height: 300px;    
}
#documentsViewer .loader img {
    max-width: 80px;
    max-height: 80px;
}
#documentsViewer ul.docs {
    list-style: none;
    margin: 0;
    padding: 30px 0;
    height: 100vh;
}
#documentsViewer ul.docs li.t {
    background: #000;
    display: inline-block;
    color: #fff;
    line-height: 60px;
    font-size: 30px;
    padding: 0 50px;
    margin: 20px 0;
    box-shadow: 6px 6px 0 #ccc;
}
#documentsViewer ul.docs li.t:first-child {
    margin-top: 0;
}


#documentsViewer ul.docs li.file {
    margin: 5px 15px;
    border: 1px solid #666;
    box-shadow: 2px 2px 0 #ccc;
    line-height: 60px;
    height: 60px;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    min-width: 850px;
}
#documentsViewer ul.docs li.file .selBox {
    width: 25px;
    height: 25px;
    line-height: 60px;
    margin: 0 10px 0 10px;
    padding: 0 5px;
}
#documentsViewer ul.docs li.file i.icon {
    font-size: 28px;
    margin-right: 10px;
    vertical-align: 2px;
}
#documentsViewer ul.docs li.file .size,
#documentsViewer ul.docs li.file .tag {
    float: right;
    font-size: 11px;
    height: 25px;
    line-height: 23px;
    margin: 0 10px;
    margin-top: 17px;
    background: #000;
    color: #fff;
    padding: 0 5px;
}
#documentsViewer ul.docs li.file span.name {
    font-size: 15px;
    color: #000;
    font-weight: bold;
    display: inline-block;
    line-height: 15px;
    margin-top: 15px;
}
#documentsViewer ul.docs li.file span.name em {
    font-size: 11px;
    color: #666;
}

#documentsViewer ul.docs li.file .bbtn {
    float: right;
    background: #000;
    color: #fff;
    padding: 0 15px;
    font-size: 30px;
    cursor: pointer;
    border-right: 1px solid #fff;
    perspective: 800px;
}
#documentsViewer ul.docs li.file .bbtn:last-child {
    border-right: 0 none;
}
#documentsViewer ul.docs li.file .bbtn i {
    transition: all 0.5s ease;
}
#documentsViewer ul.docs li.file .bbtn:hover i {
    transform: rotateY(360deg);
}

.swal2-html-container {
    position: relative;
}
#previewFile {
    width: 100% !important;
    height: calc(100vh - 120px);
    border: none;
    border-radius: 5px;
    max-width: 100%;
}

#documentsViewer #btnDlMultiple {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
    line-height: 80px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    font-size: 50px;
    text-align: center;
    z-index: 500;
    box-shadow: 0 8px 8px #000;
    display: none;
    transition: all 0.3s ease;
}
#documentsViewer #btnDlMultiple:hover {
    transform: scale(1.3);
}



/** Dashboard filters **/


#dashboard #documentsFilters {
    white-space: nowrap;
    overflow: hidden;
}
#dashboard #documentsFilters #searchTerms {
    border-radius: 0;
    border: 0 none;
}
#dashboard #documentsFilters input[type=text],
#dashboard #documentsFilters select {
    height: 36px;
}
#dashboard #documentsFilters input:active,
#dashboard #documentsFilters input:focus,
#dashboard #documentsFilters select:active,
#dashboard #documentsFilters select:focus {
    box-shadow: 0 0 0 transparent !important;
}
#dashboard #documentsFilters label {
    margin: 0;
    cursor: pointer;
}
#dashboard #documentsFilters span.input-group-text {
    background: #fff;
}
#dashboard #documentsFilters>div {
    margin-top: 15px;
}
#dashboard #documentsFilters .opts {
    max-width: 30%;
}
#dashboard #documentsFilters .opts {
    margin: 0 5px;
}
#dashboard #documentsFilters .input-group-text {
    height: 36px;
    border-radius: 0;
}

.enseignes span {
    font-size: 12px;
    display: inline-block;
    background-color: #ddd;
    color:#888;
    line-height: 20px;
    padding: 0 5px;
    text-transform: uppercase;
    margin-right: 10px;
}