/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   PAGE RELATED
   ========================================================================== */

/* PAGE SETUP ================================================================= */
body > header {
    background:#303030;
}
body > section {
    max-width: 1200px;
    margin:0 auto;
}
body > .logo {
    max-width: 1200px;
    margin:50px auto;
    overflow: hidden;
}
body > .logo img {
    float:left;
    margin-right:38px;
}
body > .logo h2 {
    line-height: 38px;
    margin-bottom: 0;
}
body > .units-row .unit-80 {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

/* NAVIGATION ================================================================== */
.nav-meta {
    max-width:1200px;
    margin:0 auto;
    text-align: right;

}
.nav-meta ul {
    margin:0;
    list-style: none;
    line-height:0;
}
.nav-meta ul li {
    display: inline-block;
}
.nav-meta ul li a {
    line-height: 30px;
    width: 33px;
    overflow: hidden;
    /*text-indent: -9999px;*/
    display: inline-block;
}
.nav-meta ul li a .icon {
    position: relative;
    top:5px;
}


.nav-main {

}
.nav-main ul {
    margin:0;
    list-style: none;
}
.nav-main ul li {
    margin-bottom: 2px;
}
.nav-main ul li a {
    display:block;
    padding:0 35px 0 15px ;
    border-right: 4px solid #404040;
    color:#666;
    /*text-shadow:-1px -1px 0px #101010, 1px 1px 0px #505050;*/
    text-decoration: none;
    font-size: 20px;
    transition:all 0.2s ease-in 0s;
    box-sizing:border-box;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
    position: relative;
    left: 0;
    width:100%;
    border-bottom:1px solid #d2d2d2;

}
.nav-main ul li:hover a {
    color:#000;
    left:0;
    width:100%;
    padding-right:15px;
}
.nav-main ul li a.active {
    border-right-color:#F60;
    color:#303030;
    background:#F9F9F9;
    left: 0;
    width:100%;
    padding-right:15px;
}
.nav-main ul li a.active .icon {
    opacity: 1;
}
.nav-main ul li a .icon {
    margin-right:10px;
    position: relative;
    top: 4px;
}
.nav-main ul li a:hover .icon {
    opacity: 1;
}

/* ==========================================================================
   Tablesorter Jquery Plugin Styles 
   ========================================================================== */

table.download-list {
}
table.download-list thead tr th, table.download-list tfoot tr th {
	padding-right: 4px;
}
table.download-list thead tr .header {
	background-image: url('../img/bg.gif');
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
}
table.download-list tbody td {
	padding: 4px;
	vertical-align: top;
}
table.download-list tbody tr.odd td {
}
table.download-list thead tr .headerSortUp {
	background-image: url('../img/asc.gif');
}
table.download-list thead tr .headerSortDown {
	background-image: url('../img/desc.gif');
}
table.download-list thead tr .headerSortDown, table.download-list thead tr .headerSortUp {
}



/* ICONS ======================================================================= */
.icon {
    display:inline-block;
    width:25px;
    height:25px;
    background:url('../img/sprite-icons-24.png') 0 0 no-repeat transparent;
    text-indent: -9999px;
    opacity:0.7;
    transition:opacity 0.2s ease-in 0s;
}
.icon:hover { opacity:1 }

.icon-delete { background-position: 0 0;}
.icon-delete:hover, .icon-delete.invert { background-position: -25px 0;}
.icon-file { background-position: 0px -150px; height:26px;}
.icon-file:hover, .icon-file.invert { background-position: -25px -150px; }
.icon-person { background-position: 0px -30px;}
.icon-person:hover, .icon-person.invert { background-position: 0px -30px;}
.icon-download { background-position: 0 -90px;}
.icon-download:hover, .icon-download.invert {background-position: -25px -90px;}
.icon-upload { background-position: 0 -60px;}
.icon-upload:hover, .icon-upload.invert { background-position: -25px -60px;}
.icon-logout { background-position: 0px -210px; height:25px; width:25px; }
.icon-logout:hover, .icon-logout.invert { background-position: -25px -210px; height:25px; width:25px; }
.icon-refresh { background-position: 0px -120px; }
.icon-refresh:hover, .icon-refresh.invert { background-position: -25px -120px; }
.icon-list { background-position: 0px -238px; }
.icon-list:hover, .icon-list.invert { background-position: -25px -238px; }
.icon-error { background-position: 0px -270px; }
.icon-error:hover, .icon-error.invert { background-position: -25px -270px; }


div.button-icon {float:right; margin-top:5px; width:25px; margin-right: -30px; background:none; position:relative;}
div.button-icon div.activity {margin-top: 3px; height: 25px; width: 25px;}
/*div.button-icon .icon-upload {position: absolute; z-index: 1; opacity: 1; background-color: #dbdada;}
div.button-icon .icon-loader { background:url('../img/loader.gif') 0 7px no-repeat transparent; position: absolute; top: 0; z-index: 0; }*/

/* BUTTONS ======================================================================= */
.btn-orange {
    background:#F60;
    color:#FFF;
}
.btn-orange:hover {
    background: #e45b00;
    color:#FFF;
}

.btn-inactive {
    background:#cccccc;
    color:#FFF;
}

button.btn span.desc {
	vertical-align: bottom;
	line-height: 30px;
}


.btn-active, .btn[disabled], .btn-disabled {
	background: #dbdada !important;
	
}

.btn[disabled] span.icon-upload:hover, .btn[disabled] span.icon-upload:hover {
		background-position: 0 -60px;
} 


.btn-black.btn-outline:hover {
	background:#7f7f7f;
}

/* CONTENT AREA ================================================================ */
.content {
    border-right: 4px solid #404040;
    border-bottom: 1px solid #D2D2D2;
    background: none repeat scroll 0% 0% #F9F9F9;
    padding: 25px 25px 50px;
    overflow: hidden;
    position: relative;
    display:none;
}
.content.active {
    display:block;
}


/* UPLOAD AREA ================================================================= */
.upload > .units-row {
    margin:0 30px 10px 0;
    border-bottom:1px solid #404040;
}

.file-list {
    list-style: none;
    margin:0 30px 30px 0;

}

.file-list li {
    overflow: hidden;
    padding:5px 0px 5px 10px;
    border-bottom:1px solid #E7E7E7;
}
.file-list li:nth-child(even) {
    background-color:#F3F3F3;
}
.file-list li label {
    margin:0;
    display:block!important;
}
.file-list li label * {
    display:inline-block!important;
}
.file-list li label span.desc {
    width:35%;
    float:left;
    margin-right:10px;
    line-height: 18px;
    font-weight: bold;
    word-break: break-all;
}
.file-list li label input {
    margin-right:35px;
    width:50%;
    padding-left: 5px;
    padding-right: 5px;
}

.upload-list li input.naming {
   color: #999;
   background-color: #ededed;
}

.file-list li.fail {
    background-color:#FFBEBE;
}
.file-list li.fail .icon,
.file-list li.fail .message {
    position: relative;
}
.file-list li.fail .icon {
    margin-right:10px;
    top:4px;
}
.file-list li.fail .message {
    top:-3px;
}

.file-list li.indeletion {
	color: #999;
	font-weight: normal;
}


.file-list li.indeletion input {
	color: #ff0000;
	
}

.upload .upload-file {
    border-top: 1px solid #303030;
    margin-right: 30px;
    padding: 15px;
    background:#F4F4F4;
}
.upload .upload-file > * {
    display:inline-block;
}
.upload .upload-file .input-prepend {
    height:30px;
    padding:8px 0 0 10px;
    width:94%;
}
.upload .upload-file button {
    float: right;
    padding-left: 35px
}

.upload .save-data {
    margin-left: 36%;
}

.upload .save-data button {
    float: left;
    margin-right: 20px;
}

.upload-list .file-input {
    position: relative;
    border: 1px solid #000;
    padding: 7px;
}
.upload-list .file-input:hover {
    background:#7f7f7f;
    color:#FFF;
}
.upload-list .file-input .icon {
    margin-right:15px;
    opacity: 1;
}
.upload-list .file-input:hover .icon{
    background-position: -25px -150px;
}
.upload-list .file-input .desc {
    display: inline-block;
    position: relative;
    top: 2px;
    font-size: 15px;
}
.upload-list .file-input input {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.upload .upload-file > a {
    float: right;
}
.upload .upload-file > a * {
    position: relative;
}
.upload .upload-file > a .icon {
    top:3px;
    left:-5px;
    opacity: 1;
}
.upload .upload-file > a .desc {
    top:-4px;
}
.upload .upload-file > a:hover .icon {
    background-position: -25px -60px;
}

/* LOGIN ======================================================================= */
.login .input-groups .input-prepend {
    min-width:120px;
    font-size: 14px;
    padding:8px 10px;
}
.login .forms input {
    display:inline-block!important;
    line-height: 39px;
    height:41px;
    padding:0 6px;
}

.error-message {
  color: #ff0000;
  padding: 10px;
  background-color: #ffcccc;
  border-radius: 7px;
  margin-bottom: 10px;
}

/* DOWNLOAD ===================================================================== */
.download-list td.filename {
	max-width: 500px;
	word-break: break-word;
}
.download-list thead tr th{
   border-bottom: 1px solid #303030;
   padding: 0.2em 0.25em 0.2em 1.25em;
   line-height: 18px;

}
.download-list tbody tr td {
    border-bottom: 1px solid #E7E7E7;
		padding: 0.5em;
		line-height: 18px;
}
.download-list tbody tr {
    color:#8A8A8A;
}
.download-list tbody tr.active, .upload .download-list tbody tr {
    color:#333;
}
.download-list tbody tr:nth-child(even) {
    background: #F3F3F3;
}
/*
.download-list tbody tr td:last-child {
    text-align: center;
}
*/
 .download-list td {
    white-space: normal;
}
.download-list .align-right {
    text-align: right;
}
.download-list tfoot a .icon {
    position: relative;
    top:3px;
    left:-7px;
    opacity: 1;
}
.download-list tfoot a .desc {
    position: relative;
    top:-4px;
}
.download-list tfoot a:hover .icon-download { background-position: -25px -90px; }
.download-list tfoot a:hover .icon-refresh { background-position: -25px -120px; }

/* POPUP ======================================================================= */
.popup {
    position: absolute;
    top:-120%;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 120px 40px 40px;
    z-index: 100;
    text-align: center;
    background: #FFF;
    background:rgba(48,48,48,.95);
    color:#F9F9F9;
    transition:top 0.3s ease-in 0s;
}
.popup.active {
    top:0;
}
.popup h1, .popup h3, .popup h3 {
    color:#FFF;
}

.popup button.btn {
    margin: 10px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 767px) {

.nav-main ul li a {
    width:100%;
    left: 0;
}
.login .forms .width-50 {
    width:100%;
}
.file-list li label span.desc {
    width:100%;
    clear:left;
    line-height: 18px;
}
.file-list li label .width-50 {
    width: 80%;
    margin-right: 23px;
}
.upload .upload-file input {
    margin-bottom: 15px;
}
.upload .upload-file input[type="file"] {
    margin-left: 0;
}

}


@media only screen and (max-width: 1280px) {

td {
	font-size: 0.85em;
}

.units-row .unit-20 {
	width: 55px;
}

.units-row .unit-80 {
	width: 90%;
}

}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}





/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

html {
    font-size: 0.85em;
    line-height: 1em;
}


    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;
    }

		h1 {
			font-size: 1.2em;
		}

	.units-row .unit-80 {
		width: 100%;
	}

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    .nav-main, .logo, .nav-meta {
    	display: none;
    }
    
    .content {
    	border-right: none;
    }
    
}
