@font-face{
    font-family:'Arial Narrow';
    font-style: normal;
    font-weight: normal;
    src:local('Arial Narrow'),
    local('ArialNarrow'),
    url('ikony/ArialNarrow.ttf') format('truetype');
}

hr {
	border: 0;
    height: 1px;
    background: rgba(0,0,0,0.2);
}

#gray {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	background: #000; 
	opacity: 0;
	z-index: 59;
}

/* ----------------------------------------------------------------------	FILES MANAGEMENT - TABULKA	---------------------------------------------------------------------- */

.tabFiles {
	height: auto;
	display: table;
	width: auto; 
	min-width: 400px;
	border-spacing: 0px;
	margin: 0px auto 40px auto;
	border-radius: 2px;	
	box-shadow: 0px 0px 1px rgba(0,0,0,0.3);
}

.tabFiles > div {
	display: table-row;
}

.tabFiles > div > div {
	display: table-cell;
	padding: 2px 4px;
	color: #000;
	vertical-align: middle;
	background: rgba(255,255,255,0.1);
	font-size: 16px;
	font-weight: normal;
	font-family: Arial Narrow, sans-serif;
	text-align: left;
	border-bottom: 1px solid #444;
}

.tabFiles > div:nth-child(even) > div {background: rgba(0,0,0,0.1);}

.tabFiles .tabHeader > div {
	background: rgba(0,0,0,0.7); 
	color: #FFF;
	font-weight: bold;
	font-variant: small-caps;
}

.tabFiles > div > div.admincell, .tabHeader > div.admincell {
	background-color: rgba(0, 0, 0, 0.7); 
	padding: 0px;
	width: 32px;
}

.tabFiles > div > div > div {
	display: table;
	background: transparent;
	margin: 0px;
	padding: 0px;
	width: 100%;
	border-spacing: 0px;
	border-collapse: collapse;
}

.tabFiles > div > div > div[data-annex] {
	margin-left: 30px;
}

.tabFiles > div > div > div > div {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	margin: 0px; 
	padding: 0px;
	font-weight: normal;
	width: auto;
}

.tabFiles > div > div > div > div[data-doc-data^='Popis'] {
	width: 100%;
}

.tabFiles > div > div > div > div[data-annex-data^='Popis'] {
	font-size: 14px;
	width: 100%;
	color: #555;
}

.nodoc  {
	color: #000;
	background-color: transparent;
	font-size: 16px;
	line-height: 32px;
	padding: 4px;
}

.file-icon {
	width: 28px;
	height: 28px;
	margin: 0px 5px 0px 0px;
	border: 0px;
	padding: 2px;
	float: left;
}

.file-icon:hover {
	width: 32px;
	height: 32px;
	padding: 0px;
}

.file-icon-edit {
	float: right;
	width: 28px;
	height: 28px;
	margin: 0px;
	border: 0px;
	padding: 2px;
}

.file-icon-edit:hover {
	width: 32px;
	height: 32px;
	padding: 0px;
}

/* ----------------------------------------------------------------------	FILES MANAGEMENT - POPUP EDIT	---------------------------------------------------------------------- */

#editwindow {
	font-family: Arial Narrow, sans-serif;
	border: 2px solid #172b4e;
	border-bottom-color: #142647;
	background: #3f65b7;
	background-image: -webkit-radial-gradient(cover, #294877, #1B273C);
	background-image: -moz-radial-gradient(cover, #294877, #1B273C);
	background-image: -o-radial-gradient(cover, #294877, #1B273C);
	background-image: radial-gradient(cover, #294877, #1B273C);
	margin: 0px;
	border-radius: 10px;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px #000, 0px 0px 50px 50px rgba(0,0,0,0.75);
	z-index: 25;
	width: 700px;
	height: auto;
	display: none;	
}

.editwindowHeader {
	height: auto;
	color: #bfbfbf;
	font-weight: bold;
	text-align: center;
	text-shadow: #000 0 1px;
	box-shadow: 5px;
	padding: 10px 5px;
	background: rgba(0,0,0,0.5);
	border: #2d2d2d solid 1px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.editwindowHeader div {
	display: inline-block;
    height: 48px;
    width: auto;
    white-space: nowrap;
    text-align: center;
	margin: 0px 5px;
	padding: 0px;
}

.editwindowHeader span {
	display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#editwindow div[id^='edit'] {
	display: table;
	background: rgba(0,0,0,0.25);
	margin: 0px 20px 10px 40px;
	padding: 5px 5px;
	border: 1px solid rgba(0,0,0,0.5);
	border-spacing: 2px;
	border-radius: 4px;
	width: 640px;
}

#editwindow div[id^='editpriloha']:hover {
	background: rgba(0,0,0,0.5);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px #000, 0px 0px 5px 5px #025;
	cursor: Move;
}

#editwindow div#editdocument {
	background: transparent;
	border: none;
}

#editwindow div[id^='edit'] div {
	display: table-row;
}

#editwindow div[id^='edit'] div  div {
	display: table-cell;
	vertical-align: middle;
	height: auto;
	padding: 0px;
	margin: 0px;
	text-align: left;
}

#editwindow div[id^='edit'] div  div:nth-child(2) {
	width: 100%;
}

#editwindow div[id^='edit'] div  div  div {
	display: table-cell;
	vertical-align: middle;
	padding: 0px;
	margin: 0px;
	text-align: left;
}

#editwindow  h1 {
	margin: 0px;
	font-size: 18px;
	font-weight: bold;
	color: rgba(204, 216, 232, 0.58);
	text-align: center;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.6);
}

#editwindow  input, #editwindow  select , #editwindow textarea {
	box-sizing: border-box;
	height: 26px;
	padding: 2px 5px;
	width: 100%;
	border: 1px solid #444;
	border-radius: 4px;
	font-size: 16px;
	font-family: Arial Narrow, sans-serif;
	color: #BBB;
    background: rgba(0,0,0,0.5);
    outline: none;
    margin: 0px;
}

#editwindow  input [type="text"]  {
	box-shadow: 0 0 2px 2px #666;
}

#editwindow input.reload {
    background: #000 url('ikony/icon-input-reload.png') no-repeat left top;
	background-size: 32px 24px;
	padding-left: 36px;
	border: 1px solid #880;
}

#editwindow textarea {
	height: auto;
}

#editwindow  input:hover, #editwindow  input:focus, #editwindow textarea:focus  {
	box-shadow: 0 0 2px 1px #FFF;
}

#editwindow .button {
	font-size: 16px;
	margin: 0px 0px 0px 5px;
	width: auto;
	padding: 2px 5px;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000;
	border: solid thin #821;
	border-radius: 5px;
	background-color: #820;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#A40), to(#820),color-stop(0.4, #610));
	background-image: -webkit-linear-gradient(cover, #A40, #610);
	background-image: -moz-linear-gradient(cover, #A40, #610);
	background-image: -o-linear-gradient(cover, #A40, #610);
	background-image: linear-gradient(cover, #A40, #610);
	cursor: pointer;
}

#editwindow .button:hover {
	box-shadow: 0 0 2px 2px #888;
	-webkit-box-shadow: 0 0 2px 2px #888;
    -moz-box-shadow: 0 0 2px 2px #888;
	
}

#editwindow .button2 {
	font-size: 16px;
	margin: 5px;
	width: auto;
	padding: 2px 5px;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000;
	border: solid thin #0A0;
	border-radius: 5px;
	background-color: #0A0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#0E0), to(#0A0),color-stop(0.4, #080));
	background-image: -webkit-linear-gradient(cover, #0E0, #080);
	background-image: -moz-linear-gradient(cover, #0E0, #080);
	background-image: -o-linear-gradient(cover, #0E0, #080);
	background-image: linear-gradient(cover, #0E0, #080);
	cursor: pointer;
}

#editwindow .button2:hover {
	box-shadow: 0 0 2px 2px #888;
	-webkit-box-shadow: 0 0 2px 2px #888;
    -moz-box-shadow: 0 0 2px 2px #888;
}

#prilohy-nova {
	display: block;
	height: auto;
	width: 100%;
	margin: 20px 0px;
	text-align: center;
}

.file-icon-delete {
	float: right;
}

.file-reload {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 30px;
	height: 30px;
}

.file-new {
	display: inline-block;
	text-align: center;
	width: 50px;
	height: 20px;
	background: #FFF;
	color: #000;
	font-size: 12px;
	line-height: 18px;
	box-shadow: 0 0 2px 2px #ACF;
}

.file-new:hover {
	font-size: 16px;
	box-shadow: 0 0 2px 2px #000;
}

img.zavri {
	height: 40px;
	width: 40px;
	padding: 4px;
	position: absolute;
	top: -24px;
	right: -24px;
	background: transparent;
	z-index: 1001;
}

img.zavri:hover {
	height: 48px;
	width: 48px;
	padding: 0px;
}

.pos {
	display: inline-block;
	text-align: center;
	height: 14px;
	width: 14px;
	margin: 2px 5px 2px 0px;
	padding: 0px;
	line-height: 14px;
	font-size: 10px;
	border: 1px solid #FFF;
	background: #000;
	color: #FFF;
	border-radius: 50%;
}

.priloha-label {
	margin: 20px 0px -75px 10px;
	width: 20px;
	height: 68px;
	display: block;
	padding: 0px;
}

.priloha-label .position {
	width: 18px;
	height: 18px;
	border: 1px solid #888;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
	color: #FFF;
	border-radius: 4px;
	background: rgba(0,0,0,0.5);
	margin-bottom: 4px;
}

.priloha-label .arrowup, .priloha-label .arrowdown {
	display: none;
	width: 20px;
	height: 20px;
	margin-bottom: 2px;
}

.priloha-label .arrowup {
	background: transparent url('ikony/icon-up.png') no-repeat;
}

.priloha-label .arrowdown {
	background: transparent url('ikony/icon-down.png') no-repeat;
}

.priloha-label .arrowup:hover {
	background: transparent url('ikony/icon-up2.png') no-repeat;
}

.priloha-label .arrowdown:hover {
	background: transparent url('ikony/icon-down2.png') no-repeat;
}

