/*
cute FILE BROWSER ...folk ...byman2017!
***********************************************************
LAYOUT: STYLE.CSS
---------------------------------------------------------
1#
---------------------------------------------------------
***********************************************************
*/

@charset "utf-8";

/*-------------------------
	Simple reset
--------------------------*/

* {
    margin: 0;
    padding: 0;
}


/*-------------------------
    Minimal color style
--------------------------*/

.filemanager,
.filemanager a,
.filemanager a:link,
.filemanager a:visited {
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-decoration: none;
}

html.ie8 .filemanager,
html.ie8 .filemanager a,
html.ie8 .filemanager a:link,
html.ie8 .filemanager a:visited html.ie9 .filemanager,
html.ie9 .filemanager a,
html.ie9 .filemanager a:link,
html.ie9 .filemanager a:visited {
    background-color: orange;
    color: green;
    filter: progid: DXImageTransform.Microsoft.Chroma(color='black') progid: DXImageTransform.Microsoft.Alpha(opacity=100) progid: DXImageTransform.Microsoft.dropshadow(color=black, offX=1, offY=1) progid: DXImageTransform.Microsoft.dropshadow(color=black, offX=-1, offY=1) progid: DXImageTransform.Microsoft.dropshadow(color=black, offX=1, offY=-1) progid: DXImageTransform.Microsoft.dropshadow(color=black, offX=-1, offY=-1);
}


/*-------------------------
	Body
-------------------------*/

body {
    font: 14px normal Arial, Helvetica, sans-serif;
    z-index: -4;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

br {
    line-height: 1.5;
}


/* header [ START ] + see also MEDIA SCREEN  */

.header {
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
    padding: 12px;
}

.header #c1 {
    flex: 1;
    align-self: center;
}

.header #c2 {
    flex: 1;
    align-self: center;
}

.header #c3 {
    flex: 1;
    align-self: center;
}

.header h1 {
    text-align: center;
}

.header img {
    width: auto !important;
    height: calc(80px - 24px) !important;
}


/* header [ END ] */


/*-------------------------
	File manager
-------------------------*/

.filemanager {
    /*
    width: 95%;
    min-height: calc(100vh - 40px);
    position: relative;
    */
    margin: 20px auto 20px;
    max-width: initial;
    box-sizing: border-box;
    overflow: hidden;
    left: 20px;
    width: calc(100% - 40px);
    min-height: calc(100% - 40px);
    position: absolute;
}

@media all and (max-width: 965px) {
    .filemanager {
        margin: 30px auto 0;
        padding: 1px;
    }
}


/*-------------------------
	Breadcrumps
-------------------------*/

.filemanager .breadcrumbs {
    margin-left: 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
}

.filemanager .breadcrumbs .arrow {
    font-size: 24px;
    font-weight: 700;
    line-height: 20px;
}


/*-------------------------
    Folder Notes
-------------------------*/

.iconCircle {
    border-radius: 100%;
    padding: 3px;
    font-family: monospace;
    min-width: 18px;
    min-height: 18px;
    line-height: 18px;
    text-align: center;
    display: inline-block;
    margin: 0 14px 0 14px;
    font-weight: bolder;
    font-size: larger;
}

#folderNotes .folderSize.padding {
    padding-left: 52px;
}


/*-------------------------
	Search box
-------------------------*/

.filemanager .search {
    position: absolute;
    padding-right: 30px;
    cursor: pointer;
    right: 0;
    font-size: 17px;
    display: block;
    width: 40px;
    height: 40px;
}

.filemanager .search:before {
    content: '';
    position: absolute;
    margin-top: 12px;
    width: 10px;
    height: 11px;
    border-radius: 50%;
    right: 8px;
}

.filemanager .search:after {
    content: '';
    width: 3px;
    height: 10px;
    border-radius: 2px;
    position: absolute;
    top: 23px;
    right: 6px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.filemanager .search input[type=search] {
    border-radius: 2px;
    width: 250px;
    height: 44px;
    margin-left: -215px;
    padding-left: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    display: none;
    outline: none;
    border: none;
    padding-right: 10px;
    -webkit-appearance: none;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    opacity: 1;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    opacity: 1;
}


/*-------------------------
	Content area
-------------------------*/


/* Fix the flex alignment to the grid for last row */

.emptyBox {
    height: 0px !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: 0px transparent !important;
}


/* DATA */

.filemanager .data {
    margin-top: 30px;
    z-index: -3;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.filemanager .data.animated {
    /* overflow: hidden; */
    -webkit-animation: showSlowlyElement 700ms;
    /* Chrome, Safari, Opera */
    animation: showSlowlyElement 700ms;
    /* Standard syntax */
}


/* *************************
    FIGURE
************************* */

.filemanager .data figure {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    /* 5 column fixed
    width: calc(20% - 20px);
    better 320 with grow
    */
    width: 320px;
    min-width: 280px;
    flex-grow: 1;
    flex-shrink: 0;
    margin: 8px;
    height: 118px;
    border-radius: 3px;
    list-style-type: none;
    position: relative;
    cursor: pointer;
    /* transition: 200ms background-color; */
    transition: 500ms;
}

.filemanager .data figure:hover {
    transition: 700ms;
}


/* *************************
    a LINK
    items:
        - fig
************************* */

.filemanager .data figure a {
    display: flex;
    align-items: center;
}


/* *************************
    IMAGE
************************* */


/* Image base */

.filemanager .data figure img {
    transition: all 400ms ease-out;
    /* margin: 0 0 0 23px; */
    border-radius: 50%;
}


/* Image Smart Crop-Fit */

.filemanager .data figure img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    object-position: center;
}


/* Old School Crop-Fit for edge, IE or other not compatible object-fit */

.filemanager .data figure .imageWrapper {
    /* not for objectfit */
    margin: 0 0 0 10px;
    border-radius: 50%;
    box-shadow: 0 0 1px 1px rgba(165, 165, 165, 0.3);
    /* for objectfit */
    position: relative;
    width: 100px;
    height: 100px;
}

.filemanager .data figure .imageWrapper {
    overflow: initial;
    /*
    overflow: hidden;
     animation: 700ms delay-overflow;
     */
}

.filemanager .data figure .imageWrapper:hover {
    overflow: initial;
}


/* Simulate the object-fit for browser not compatible */

.filemanager .data figure img.ObjectFit {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


/*
.filemanager .data figure img.landscape {
    width: initial;
    height: initial;
    border: 2px solid yellow;
}
*/

.filemanager .data figure img.portrait {
    width: 100%;
    height: auto;
    /*    border: 2px solid green; */
}


/* 
.filemanager .data figure img.square {
     width: 100%;
    height: 100%; 
    border: 2px solid #3F25F5;
}
*/


/* Image Hover */

.filemanager .data figure img:hover {
    transition: all 600ms ease-in;
    transform: scale(4, 4) translateX(20%) translateY(1%);
    transition-delay: .5s;
    z-index: 1;
    position: relative;
    object-fit: contain;
    border-radius: 2px;
    /* width: auto;
    height: auto; */
}


/* *************************************************
    VIDEO
    Box to allow video tag crop-fit like an image
      http://wesbos.com/css-object-fit/
**************************************************** */

.filemanager .data figure div.videoWrapper {
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin: 0 0 0 23px;
}

.filemanager .data figure div.videoWrapper:hover {
    overflow: initial !important;
}


/* pure video html5 without plugin */

.filemanager .data figure div video {
    transition: all 400s ease-out;
    width: 100%;
    height: 100%;
    /* crop */
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}


/* pure video html5 without plugin : hover */

.filemanager .data figure div video:hover {
    transition: all 600ms ease-in;
    transform: scale(4, 4) translateX(20%) translateY(1%);
    z-index: 1;
    position: relative;
    object-fit: contain;
    border-radius: 2px;
    width: auto;
}


/* ************************* 
    CAPTION / NAME / DETAILS
************************* */


/* CAPTION */

.filemanager .data figure figcaption {
    margin-left: 10px;
    word-break: break-word;
}


/* FILE-FOLDER Name, Type, Size  */

.filemanager .data figure figcaption .fileName,
.filemanager .data figure figcaption .folderName {
    font-weight: 700;
}

.filemanager .data figure figcaption .fileType {
    font-weight: 300;
}

.filemanager .data figure figcaption .fileSize,
.filemanager .data figure figcaption .folderSize,
.filemanager .data figure figcaption .folderItems {
    font-weight: 400;
}


/* *************************
    NOTHING FOUND
************************* */

.filemanager .nothingfound {
    width: 23em;
    height: 21em;
    margin: 0 auto;
    display: none;
    font-family: Arial;
    -webkit-animation: showSlowlyElement 700ms;
    /* Chrome, Safari, Opera */
    animation: showSlowlyElement 700ms;
    /* Standard syntax */
}

.filemanager .nothingfound .nofiles {
    margin: 30px auto;
    top: 3em;
    border-radius: 50%;
    position: relative;
    width: 11em;
    height: 11em;
    line-height: 11.4em;
}

.filemanager .nothingfound .nofiles:after {
    content: '×';
    position: absolute;
    color: #ffffff;
    font-size: 14em;
    margin-right: 0.092em;
    right: 0;
}

.filemanager .nothingfound span {
    color: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    height: 20px;
    position: relative;
    top: 2em;
    display: block;
    text-align: center;
}

.filemanager .nothingfound span a,
.filemanager .nothingfound span a:link,
.filemanager .nothingfound span a:visited {
    color: inherit;
    text-decoration: none;
}

.filemanager .nothingfound span a:hover {
    text-decoration: underline;
}


/* *************************
    EFFECTS
************************* */


/* Chrome, Safari, Opera */

@-webkit-keyframes showSlowlyElement {
    100% {
        transform: scale(1);
        opacity: 1;
    }

    0% {
        transform: scale(1.2);
        opacity: 0;
    }
}


/* Standard syntax */

@keyframes showSlowlyElement {
    100% {
        transform: scale(1);
        opacity: 1;
    }

    0% {
        transform: scale(1.2);
        opacity: 0;
    }
}


/*-------------------------
		Icons
-------------------------*/

.icon {
    font-size: 23px;
}

.icon.folder {
    display: inline-block;
    margin: 1em;
    background-color: transparent;
    overflow: hidden;
}

.icon.folder:before {
    content: '';
    float: left;
    background-color: #91ad7b;
    width: 1.5em;
    height: 0.45em;
    margin-left: 0.07em;
    margin-bottom: -0.07em;
    border-top-left-radius: 0.1em;
    border-top-right-radius: 0.1em;
    box-shadow: 1.25em 0.25em 0 0em #7ba1ad;
}

.icon.folder:after {
    content: '';
    float: left;
    clear: left;
    background-color: #e4d8a0;
    width: 3em;
    height: 2.25em;
    border-radius: 0.1em;
}

.icon.folder.full:before {
    height: 0.55em;
}

.icon.folder.full:after {
    height: 2.15em;
    box-shadow: 0 -0.12em 0 0 #ffffff;
}

.icon.file {
    width: 2.5em;
    min-width: 2.5em;
    height: 3em;
    line-height: 3em;
    text-align: center;
    border-radius: 0.25em;
    color: #FFF;
    display: inline-block;
    margin: 0.9em 1.2em 0.8em 1.3em;
    position: relative;
    overflow: hidden;
    box-shadow: 1.74em -2.1em 0 0 #A4A7AC inset;
}

.icon.file:first-line {
    font-size: 13px;
    font-weight: 700;
}

.icon.file:after {
    content: '';
    position: absolute;
    z-index: -1;
    border-width: 0;
    border-bottom: 2.6em solid #DADDE1;
    border-right: 2.22em solid rgba(0, 0, 0, 0);
    top: -34.5px;
    right: -4px;
}

.icon.file.f-avi,
.icon.file.f-flv,
.icon.file.f-mkv,
.icon.file.f-mov,
.icon.file.f-mpeg,
.icon.file.f-mpg,
.icon.file.f-mp4,
.icon.file.f-m4v,
.icon.file.f-wmv {
    box-shadow: 1.74em -2.1em 0 0 #7e70ee inset;
}

.icon.file.f-avi:after,
.icon.file.f-flv:after,
.icon.file.f-mkv:after,
.icon.file.f-mov:after,
.icon.file.f-mpeg:after,
.icon.file.f-mpg:after,
.icon.file.f-mp4:after,
.icon.file.f-m4v:after,
.icon.file.f-wmv:after {
    border-bottom-color: #5649c1;
}

.icon.file.f-youtube {
    box-shadow: 1.74em -2.1em 0 0 #ab0505 inset;
}

.icon.file.f-youtube:after {
    border-bottom-color: #8E0505;
}

.icon.file.f-mp2,
.icon.file.f-mp3,
.icon.file.f-m3u,
.icon.file.f-wma,
.icon.file.f-xls,
.icon.file.f-xlsx {
    box-shadow: 1.74em -2.1em 0 0 #5bab6e inset;
}

.icon.file.f-mp2:after,
.icon.file.f-mp3:after,
.icon.file.f-m3u:after,
.icon.file.f-wma:after,
.icon.file.f-xls:after,
.icon.file.f-xlsx:after {
    border-bottom-color: #448353;
}

.icon.file.f-doc,
.icon.file.f-docx,
.icon.file.f-psd {
    box-shadow: 1.74em -2.1em 0 0 #03689b inset;
}

.icon.file.f-doc:after,
.icon.file.f-docx:after,
.icon.file.f-psd:after {
    border-bottom-color: #2980b9;
}

.icon.file.f-gif,
.icon.file.f-jpg,
.icon.file.f-jpeg,
.icon.file.f-pdf,
.icon.file.f-png {
    box-shadow: 1.74em -2.1em 0 0 #e15955 inset;
}

.icon.file.f-gif:after,
.icon.file.f-jpg:after,
.icon.file.f-jpeg:after,
.icon.file.f-pdf:after,
.icon.file.f-png:after {
    border-bottom-color: #c6393f;
}

.icon.file.f-deb,
.icon.file.f-dmg,
.icon.file.f-gz,
.icon.file.f-rar,
.icon.file.f-zip,
.icon.file.f-7z {
    box-shadow: 1.74em -2.1em 0 0 #867c75 inset;
}

.icon.file.f-deb:after,
.icon.file.f-dmg:after,
.icon.file.f-gz:after,
.icon.file.f-rar:after,
.icon.file.f-zip:after,
.icon.file.f-7z:after {
    border-bottom-color: #685f58;
}

.icon.file.f-html,
.icon.file.f-rtf,
.icon.file.f-xml,
.icon.file.f-xhtml {
    box-shadow: 1.74em -2.1em 0 0 #a94bb7 inset;
}

.icon.file.f-html:after,
.icon.file.f-rtf:after,
.icon.file.f-xml:after,
.icon.file.f-xhtml:after {
    border-bottom-color: #d65de8;
}

.icon.file.f-js {
    box-shadow: 1.74em -2.1em 0 0 #d0c54d inset;
}

.icon.file.f-js:after {
    border-bottom-color: #a69f4e;
}

.icon.file.f-css,
.icon.file.f-saas,
.icon.file.f-scss {
    box-shadow: 1.74em -2.1em 0 0 #44afa6 inset;
}

.icon.file.f-css:after,
.icon.file.f-saas:after,
.icon.file.f-scss:after {
    border-bottom-color: #30837c;
}


/* byman play icon */

.play,
.icon.file.f-avi:before,
.icon.file.f-flv:before,
.icon.file.f-mkv:before,
.icon.file.f-mov:before,
.icon.file.f-mpeg:before,
.icon.file.f-mpg:before,
.icon.file.f-mp4:before,
.icon.file.f-m4v:before,
.icon.file.f-wmv:before,
.icon.file.f-mp3:before {
    position: absolute;
    top: 46px;
    content: "";
    left: 22px;
    z-index: 0;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid #FFFFFF;
    border-bottom: 8px solid transparent;
}

.iconPlayOnImage:before {
    content: "";
    position: absolute;
    top: 40px;
    content: "";
    left: 10px;
    z-index: 0;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-left: 22px solid #ddd;
    border-bottom: 12px solid transparent;
}


/*-------------------------
        Icons
-------------------------*/

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}


/* *************************
    MEDIA SCREEN
************************* */

@media (max-width: 2560px) {
    .filemanager .data figure {
        width: calc(20% - 20px);
    }
}

@media (max-width: 1920px) {
    .filemanager .data figure {
        width: calc(20% - 20px);
    }
}

@media (max-width: 1600px) {
    .filemanager .data li {
        width: calc(25% - 20px);
    }
}

@media (max-width: 1200px) {
    .filemanager .data figure {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 965px) {
    .filemanager .data figure {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .filemanager {
        padding: 1px;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
    }

    .filemanager .data figure {
        width: calc(100% - 20px);
    }

    .header {
        max-height: 120px;
    }

    .header img {
        width: auto !important;
        height: 60px !important;
    }

    .header #c1 {
        flex: 1;
        min-width: 100%;
    }

    .header #c2 {
        flex: 1;
        min-width: 100%;
    }

    .header #c3 {
        flex: 1;
        min-width: 100%;
    }

    .header a {
        text-align: center;
    }

    .header h1 {
        text-align: center;
        font-size: 120%;
    }

    .filemanager .breadcrumbs {
        margin-left: 20px;
        font-size: 110%;
        font-weight: 300;
    }
}


/* STYLE.CSS - END */