/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #b9b9b9;
}

body {
    font-size: 1em;
    line-height: 1.4;
	height: 99vh;
  position: relative;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
.input_button {
    font-family: 'Nunito', sans-serif;
    color: #CCC;
    /* font-size: 12px; */
    border: none;
    /* margin-top: 15px; */
    /* border-top: 1px dotted #666; */
    /* border-bottom: 1px dotted #666; */
    background-color: #a91629;
    height: 39px;
    width: 116px;
}
.input_text{
    font-family: 'Nunito', sans-serif;
    color: #a91629;
    font-size: 18px;
    text-align: center;
    border: none;
    border-top: 1px dotted #666;
    border-bottom: 1px dotted #666;
    background: #fff;
    height: 30px;
    width: 300px;
    padding: 3px;}
	
.lighter a {
    text-decoration: none;
    color: #fff;
	font-weight: 600;
}
	
textarea {
    resize: vertical;
}

#title {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #252525 !important;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Site styles
   ========================================================================== */

/* ================= General ===================== */
  
html, body { font-family: 'Open Sans', 'Proxima Nova' , 'Helvetica', 'Helvetica Neue', Arial, sans-serif;}
html {background:#252525 !important;} /* colorized dynamically */

  
/* ================= Title Section =============== */

h1#title-headline {font-size:30px; color:#fff !important;font-weight:200; position:relative; top:20%; margin:0;} /* colorized dynamically */
h2#sub-headline {font-size:20px; color:#fff !important;font-weight:200; position:relative; top:20%; margin:0;} /* colorized dynamically */
h3#sub-headline {font-size:16px; color:#fff !important;font-weight:600; position:relative; top:20%; margin:0;} /* colorized dynamically */
p {font-size:14px; color:#fff !important;font-weight:200; position:relative; top:20%; margin:0;} /* colorized dynamically */
div#title {width: 800px; margin: 0px auto 18px auto; position: relative; text-align: center;/* background: url(../img/title.png) right center no-repeat; */}


/* ================= List Title Section ========== */

div#list-title { background-color:#a91629 !important; color:white; padding:18px 22px; -webkit-border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px; } /* colorized dynamically */
div#list-title h2 {margin: 0 0 -4px; font-size:22px; font-weight:600}
div#list-title h2 span.arrow {font-size:18px; margin:0 5px; opacity:.5;}
div#list-title h2 span.lighter {font-weight:100;}
div#list-title h2 span.lighter a {color:white; text-decoration:none;}
div#list-title td {color:white;}
div#list-title table {width:100%;}
div#list-title table tr {height:auto;}
td.folder-icon {background:url(../img/folder-icon.png) transparent left center no-repeat; width:50px; height:27px;}
td#title-last-td {text-align:right; padding-right:0; font-size:12px;}
td.foldername { font-size:13px; width:525px line-height:25px;}


/* ================= File List Section =========== */

td.align-right {text-align:right; padding-right:20px;}
td.filetype-icon div { background: url(../img/filetype-icons/zip2.png); width:32px; height:40px; margin:auto; background-size:98%; opacity:0.3;}
div#list-zip table:hover td.filetype-icon div { opacity:0.6;}
td.filename {width:59%; padding-left: 3px;}
td.filename a {color:#252525;; text-decoration:none;}
td.filetype-icon {width:62px;}
td.select-indicator {width:2px; background:none; } /* colorized dynamically */
tr.clickable {cursor:pointer;}

table#file-list td.icon-cell div {height:40px; overflow:hidden;}
table#file-list td.icon-cell div div {top: 0px; width:32px; height:40px; margin:auto;position:relative;}
table#file-list td.icon-cell div div {background-color:#9C9C9C;}
table#file-list td.icon-cell div div.bottom-div {background-color:#a91629 !important;} /* colorized dynamically */
html.lt-ie8 table#file-list td.icon-cell div div.bottom-div {display:none;} /* colorized dynamically */
table#file-list tr {border-bottom: 1px solid #d4d4d4;}
table#file-list tr:hover {background-color:#fff; color:#c30101; font-weight: 100; cursor:pointer; border-bottom: 1px solid #c30101;}
table#file-list tr:hover td.filename a.file-link {color:#444e64;}
table#file-list tr:hover td.select-indicator-highlight {} /* colorized dynamically */
table#file-list tr span.chooser {display:none; margin-left:15px;}
table#file-list tr:hover span.chooser a:hover {color:#444e64;} /* colorized dynamically */
table#file-list span.chooser {color:#ddd;}
table#file-list span.chooser a {color:#7A7A7A;}

div#list-border {background: rgba(255, 255, 255, .12); -webkit-border-radius: 5px; 
border-radius: 5px; padding: 5px; margin: 0 auto 50px; width:800px;}
div#list-wrapper {width:800px; background:white; margin:auto; position:relative; min-height:320px; 
-webkit-box-shadow:  0px 3px 20px 0px rgba(0, 0, 0, 0.1); box-shadow:  0px 3px 20px 0px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 0px 0px 2px 2px; border-radius: 5px 5px 5px 5px;}
html.lt-ie8 div#list-wrapper {border:1px solid #ccc;}
div#list-wrapper.padded {padding-bottom: 80px; margin-bottom:50px;}
div#list-wrapper.unpadded {padding-bottom: 0px;}
div#list-wrapper table {width:100%; color:#252525; font-size:13px; font-weight:200;}
div#list-wrapper tr {height:60px;}

p#no-files {font-size:14px; color:#B5B5B5; margin-top:100px; text-align:center;}


/* ================= Zip Section ================== */

div#list-zip {background:#f2f3f6; position:absolute; bottom:0px; width:800px; 
-webkit-border-radius: 0px 0px 5px 5px; border-radius: 0px 0px 5px 5px; border-top:1px dotted #DADADA;}
div#list-zip table tr{height:80px;}
div#list-zip table {color:#959595;}
div#progressbar {display:none; width:10px; height:80px; position:absolute; top:-80px; left:0; background:#E7EDF1;} /* colorized dynamically */
p#zip-percentage {font-size:30px; margin:auto; text-align:center; color:#747474; display:none; position:absolute; top:-61px; width:100%; font-weight:200;}
div#list-zip tr.clickable:hover a{color:#444e64;} /* colorized dynamically */
div#list-zip:hover {background-color:white;}
div#list-zip a#makezip {color:#959595;}
div#list-zip:hover a#makezip {color:#444e64;} /* colorized dynamically */


/* ================= Icons ======================= */

td.3gp-icon div div { background: url(../img/filetype-icons/3gp.png);}
td.7z-icon div div { background: url(../img/filetype-icons/7z.png);}
td.ace-icon div div { background: url(../img/filetype-icons/ace.png);}
td.ai-icon div div { background: url(../img/filetype-icons/ai.png);}
td.aif-icon div div { background: url(../img/filetype-icons/aif.png);}
td.aiff-icon div div { background: url(../img/filetype-icons/aiff.png);}
td.amr-icon div div { background: url(../img/filetype-icons/amr.png);}
td.asf-icon div div { background: url(../img/filetype-icons/asf.png);}
td.asx-icon div div { background: url(../img/filetype-icons/asx.png);}
td.avi-icon div div { background: url(../img/filetype-icons/avi.png);}
td.bat-icon div div { background: url(../img/filetype-icons/bat.png);}
td.bin-icon div div { background: url(../img/filetype-icons/bin.png);}
td.bmp-icon div div { background: url(../img/filetype-icons/bmp.png);}
td.cab-icon div div { background: url(../img/filetype-icons/cab.png);}
td.cbr-icon div div { background: url(../img/filetype-icons/cbr.png);}
td.cda-icon div div { background: url(../img/filetype-icons/cda.png);}
td.cdr-icon div div { background: url(../img/filetype-icons/cdr.png);}
td.col-icon div div { background: url(../img/filetype-icons/col.png);}
td.chm-icon div div { background: url(../img/filetype-icons/chm.png);}
td.dat-icon div div { background: url(../img/filetype-icons/dat.png);}
td.divx-icon div div { background: url(../img/filetype-icons/divx.png);}
td.dll-icon div div { background: url(../img/filetype-icons/dll.png);}
td.dmg-icon div div { background: url(../img/filetype-icons/dmg.png);}
td.doc-icon div div { background: url(../img/filetype-icons/doc.png);}
td.docx-icon div div { background: url(../img/filetype-icons/docx.png);}
td.dss-icon div div { background: url(../img/filetype-icons/dss.png);}
td.dvf-icon div div { background: url(../img/filetype-icons/dvf.png);}
td.dwg-icon div div { background: url(../img/filetype-icons/dwg.png);}
td.eml-icon div div { background: url(../img/filetype-icons/eml.png);}
td.eps-icon div div { background: url(../img/filetype-icons/eps.png);}
td.exe-icon div div { background: url(../img/filetype-icons/exe.png);}
td.fla-icon div div { background: url(../img/filetype-icons/fla.png);}
td.flv-icon div div { background: url(../img/filetype-icons/flv.png);}
td.gif-icon div div { background: url(../img/filetype-icons/gif.png);}
td.gz-icon div div { background: url(../img/filetype-icons/gz.png);}
td.hqx-icon div div { background: url(../img/filetype-icons/hqx.png);}
td.htm-icon div div { background: url(../img/filetype-icons/htm.png);}
td.html-icon div div { background: url(../img/filetype-icons/html.png);}
td.ifo-icon div div { background: url(../img/filetype-icons/ifo.png);}
td.indd-icon div div { background: url(../img/filetype-icons/indd.png);}
td.iso-icon div div { background: url(../img/filetype-icons/iso.png);}
td.jar-icon div div { background: url(../img/filetype-icons/jar.png);}
td.jpeg-icon div div { background: url(../img/filetype-icons/jpeg.png);}
td.jpg-icon div div { background: url(../img/filetype-icons/jpg.png);}
td.lnk-icon div div { background: url(../img/filetype-icons/lnk.png);}
td.log-icon div div { background: url(../img/filetype-icons/log.png);}
td.m4a-icon div div { background: url(../img/filetype-icons/m4a.png);}
td.m4b-icon div div { background: url(../img/filetype-icons/m4b.png);}
td.m4p-icon div div { background: url(../img/filetype-icons/m4p.png);}
td.m4v-icon div div { background: url(../img/filetype-icons/m4v.png);}
td.mcd-icon div div { background: url(../img/filetype-icons/mcd.png);}
td.mdb-icon div div { background: url(../img/filetype-icons/mdb.png);}
td.mid-icon div div { background: url(../img/filetype-icons/mid.png);}
td.mov-icon div div { background: url(../img/filetype-icons/mov.png);}
td.mp2-icon div div { background: url(../img/filetype-icons/mp2.png);}
td.mp3-icon div div { background: url(../img/filetype-icons/mp3.png);}
td.mp4-icon div div { background: url(../img/filetype-icons/mp4.png);}
td.mpeg-icon div div { background: url(../img/filetype-icons/mpeg.png);}
td.mpg-icon div div { background: url(../img/filetype-icons/mpg.png);}
td.msi-icon div div { background: url(../img/filetype-icons/msi.png);}
td.ogg-icon div div { background: url(../img/filetype-icons/ogg.png);}
td.pdf-icon div div { background: url(../img/filetype-icons/pdf.png);}
td.png-icon div div { background: url(../img/filetype-icons/png.png);}
td.pps-icon div div { background: url(../img/filetype-icons/pps.png);}
td.ppt-icon div div { background: url(../img/filetype-icons/ppt.png);}
td.ps-icon div div { background: url(../img/filetype-icons/ps.png);}
td.psd-icon div div { background: url(../img/filetype-icons/psd.png);}
td.pst-icon div div { background: url(../img/filetype-icons/pst.png);}
td.ptb-icon div div { background: url(../img/filetype-icons/ptb.png);}
td.pub-icon div div { background: url(../img/filetype-icons/pub.png);}
td.qbb-icon div div { background: url(../img/filetype-icons/qbb.png);}
td.qbw-icon div div { background: url(../img/filetype-icons/qbw.png);}
td.qxd-icon div div { background: url(../img/filetype-icons/qxd.png);}
td.ram-icon div div { background: url(../img/filetype-icons/ram.png);}
td.rar-icon div div { background: url(../img/filetype-icons/rar.png);}
td.rm-icon div div { background: url(../img/filetype-icons/rm.png);}
td.rtf-icon div div { background: url(../img/filetype-icons/rtf.png);}
td.sea-icon div div { background: url(../img/filetype-icons/sea.png);}
td.ses-icon div div { background: url(../img/filetype-icons/ses.png);}
td.sit-icon div div { background: url(../img/filetype-icons/sit.png);}
td.sitx-icon div div { background: url(../img/filetype-icons/sitx.png);}
td.sql-icon div div { background: url(../img/filetype-icons/sql.png);}
td.svg-icon div div { background: url(../img/filetype-icons/svg.png);}
td.swf-icon div div { background: url(../img/filetype-icons/swf.png);}
td.tga-icon div div { background: url(../img/filetype-icons/tga.png);}
td.tgz-icon div div { background: url(../img/filetype-icons/tgz.png);}
td.tif-icon div div { background: url(../img/filetype-icons/tif.png);}
td.ttf-icon div div { background: url(../img/filetype-icons/ttf.png);}
td.txt-icon div div { background: url(../img/filetype-icons/txt.png);}
td.vcd-icon div div { background: url(../img/filetype-icons/vcd.png);}
td.vob-icon div div { background: url(../img/filetype-icons/vob.png);}
td.wav-icon div div { background: url(../img/filetype-icons/wav.png);}
td.wma-icon div div { background: url(../img/filetype-icons/wma.png);}
td.wmv-icon div div { background: url(../img/filetype-icons/wmv.png);}
td.wpd-icon div div { background: url(../img/filetype-icons/wpd.png);}
td.wps-icon div div { background: url(../img/filetype-icons/wps.png);}
td.xls-icon div div { background: url(../img/filetype-icons/xls.png);}
td.xtm-icon div div { background: url(../img/filetype-icons/xtm.png);}
td.zip-icon div div { background: url(../img/filetype-icons/zip.png);}
td.folder-icon div div {background: url(../img/filetype-icons/folder.png);}
td.other-icon div div {background: url(../img/filetype-icons/other.png);}

div.preview{width:200px; height:auto; position:fixed; background-color:white; opacity:0; box-shadow:0px 0px 15px 0px rgba(0,0,0,0.4); padding:3px; z-index:-5;}
div.preview img {width:inherit; height:auto;}


/* SETUP SCRIPT CSS */

body#setup{font-size:14px; color:#666;}
body#setup h1 {text-align:center; margin: 0 0 10px 0;}
body#setup div#wrapper-frame {width:500px; margin:auto; border-radius:5px 5px 5px 5px; background-color:white; padding:20px 40px; margin-top:20px;
-webkit-box-shadow:  0px 3px 20px 0px rgba(0, 0, 0, 0.1); box-shadow:  0px 3px 20px 0px rgba(0, 0, 0, 0.1);}
body#setup div#wrapper-frame label {color:#363636; font-size:13px;}
body#setup p.description {margin-top:0; font-size:12px; margin-bottom:20px;}
body#setup footer {text-align:center;}
body#setup footer p {margin-bottom:0; margin-top:10px; font-size:10px; color:#ccc;}
body#setup input#deleteafter, body#setup input#maximumzip {width:50px;}
input#servicename {margin-bottom:15px; width:180px;}
body#setup input[type="submit"] {width:180px; height:40px; margin-top:30px;}
body#setup td {font-size:10px; width:50%; vertical-align:top; padding:10px 0; border-bottom: dotted 1px #ccc;}
body#setup p.error {color:#D93F3F; font-size:10px; margin-top:-10px;}
body#setup p.caution {color:#D93F3F; font-size:12px; border: 3px solid #D93F3F; padding:10px;}


/* PASSWORD FORM STYLES */

div#title.password {width:555px; margin-bottom:0px; height:auto;}
div#password-form {    text-align: center;width:555px; margin:0 auto 18px auto; position:relative; height:80px; font-size:14px; color:#666;}
div#password-form input[name="password"], div#password-form input[name="username"] {    text-align: center;border:1px solid #ccc; width:250px; border-radius:5px; padding:10px 5px; color:#ccc; margin-right:10px;} {border:1px solid #ccc; width:250px; border-radius:5px; padding:10px 5px; color:#ccc; margin-right:10px;}
div#password-form input[name="username"] {    text-align: center;margin-bottom:10px;}
div#password-form input[name="password"]:focus, div#password-form input[name="username"]:focus {    text-align: center;border-color:#999; color:#666;}
div#password-form input[name="submit"] {border:none; background: none repeat scroll 0 0 #999999; border: medium none; border-radius: 5px; 
color: #FFFFFF; padding:0 30px; font-size:12px; height:36px;}
div#password-form input[name="submit"]:hover {opacity:.8;}
div#password-form p.error-message {color: #FF6666 !important; display: inline; font-size: 11px; text-transform: uppercase; font-weight:bold;}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
