﻿body {
	font-family: 'Segoe UI', Tahoma;
	font-size: 13px;
}

h1, .clsH1 {
	font-size: 2em;
	padding: 16px 0 10px 0;
    margin: 0;
	font-weight: normal;
	color: #001e46;
}

h2, .clsH2 {
	font-size: 1.7em;
	margin-left:0px;
	margin-bottom:0px;
	font-weight: normal;
	color: #001e46;
}

h3, .clsH3 {
	font-size: 1.4em;
	margin-left:0px;	
	margin-bottom:0px;
	font-weight: normal;
	color: #001e46;
}

h4, .clsH4 {
    font-size: 1.2em;
	margin-left:0px;	
	margin-bottom:0px;
	font-weight: normal;
	color: #001e46;	
}

h5, .clsH5 {
    font-size: 1.1em;
	margin-left:0px;
	margin-bottom:0px;
	font-weight: normal;
	color: #001e46;	
}

code {
	margin: 10px 0 10px 0;
	border: solid 1px navy;
	padding: 5px;
	color: #000060;
	font-family: "Courier New", Courier, Monospace;
	background-color: #99ffff;
	display: block;
	font-size: 1em;
}

img {
    border: 0;
}

a,a:visited {
	text-decoration: none;
	color: #0274ba;
	cursor:pointer;
}

a:hover
{
	color: #81b9dc;
}

a.light {
	font-size: 0.9em;
}

/* tlačítka */
.btnb, .btnbsmall {
    color: white !important;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    background: #0274ba;
    border-radius: 2em;
    border: 0;
    margin: 0 10px 5px 10px;
}

.btnb {
    line-height: 24px;
    padding: 5px 18px;
}

.btnbsmall {
    line-height: 18px;
    padding: 3px 10px;
}

a.btnb:visited, a.btnbsmall:visited {
    color: white;
    text-decoration: none
}

.btnb:hover,.btnbsmall:hover {
	-webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.btnb.green, .btnbsmall.green { background: #2ecc71; }
.btnb.red, .btnbsmall.red { background: #c0392b; }
.btnb.yellow, .btnbsmall.yellow { background: #efc511; }


a.btnbsmall.noMargin, a.btnbsmall.noMargin:hover,#hlavnipanel a.btnbsmall.noMargin, #hlavnipanel a.btnbsmall.noMargin:hover {
	margin:0 0 0 0;
}

.btnb:disabled, .btnbsmall:disabled, .btnb[disabled], .btnbsmall[disabled] {
    background: grey;
    transform: none;
    cursor: default;
    pointer-events: none;
}
a.disabled, a[disabled] {
	opacity: 0.5;
    transform: none;
    cursor: default;
    pointer-events: none;
}

.divButtonsLinks a {
	margin: 3px 25px 0 0;
	text-decoration: underline;
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	line-height: 25px;
	color: #333;
}

.marginleft {
	margin-left:5px;
}

.indent {
	margin-left: 10px;
}

.bold {
	font-weight: bold;
}

.inline {
	display: inline;
}

.datepicker {
	width: 75px
}

/* textboxy, comba */
input, textarea, select {	
	font-family: 'Segoe UI', Tahoma;
	border: #a9a9a9 1px solid;
}

textarea, input, button {
    padding: 3px;
    font-size: 1em;
    box-sizing: border-box;
}

input[type="checkbox"], input[type="radio"], input[type="image"] {
	border:0;
}

select {height:25px;}

/*tabulky*/
#hlavnipanel table {
	margin-bottom: 2em;
	border: 0;
	border-collapse: collapse;
	width: 100%;
}

#hlavnipanel table td,
#hlavnipanel table th {
	padding: 0.5em 0.7em;
}

#hlavnipanel table table {
	margin-bottom: 0;
	width: auto;
}


/*pdf vložené jako iframe*/
iframe.attachmentFrame {
	z-index: 1;
	position: relative;
	overflow: hidden;
	border: 0.1px solid #b0b0b0;
}

/*přidávání více příloh*/
.attRow {
	width: 100%;
	line-height: 25px;
	margin-bottom: 5px;
	border-bottom-style: solid;
	border-bottom-color: #dadada;
	border-bottom-width: 0.1px;
}

div.divAttInfo {
	font-size: 0.9em;
	font-style: italic;
}

.attachmentLineWrapper {
	line-height: 24px;
	display: flex;
}

.attachmentFileName {
	max-width: 530px;
	flex: 1;
	vertical-align: top;
	display: inline-block;
	border-bottom: 0.1px solid #b0b0b0;
}

/* chybová hláška */
.err {
	margin: 5px 0 10px 0;
	width: 100%;
	overflow-wrap: break-word;
	background-color: rgb(255, 237, 240);
	font-weight: 600;
	padding: 5px 10px;
	box-sizing: border-box;
	color: rgb(240, 33, 57);
	border: 1px solid rgb(240, 33, 57);
	box-shadow: rgb(225, 170, 177) 1px 1px;
}

/* informační bar */
.infoText, #lblInfo {
	width: 90%;
    overflow-wrap: break-word;
    background-color: #fff5e4;
    font-weight: 600;
    display: inline-block;
    padding:  5px 20px;
    border: solid 1px lightgrey;
    box-shadow: lightgrey 1px 1px;
}

#lblInfo {
    margin-bottom: 10px;
}

.err:empty,.infoText:empty, #lblInfo:empty {
   display: none;
}

#lblText a {
	color: #ffffff;
}

/* validatory */
.clsValidator {
	color: #ff0000;
	display: block;
}

/* záložky */
#zalozky {	
	margin-top:15px;
	width:100%;
	height:30px;
	display:block;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 2px solid #0274ba;	
}
#zalozky a 
{
	text-decoration:none;
	color: #000;
}
.zalozkyBar {	
	display:none;
}
.zalozkaOn,.zalozkaOff  {
    float: left;
    line-height:30px;
    vertical-align:middle;		
}
.zalozkaOn {
    padding:0px 20px;
	border-bottom:solid 5px #0274ba;
	cursor:default;	
}
.zalozkaOff {
    padding:0px 10px;
    margin:0px 10px;
	cursor:pointer;	
}
.zalozkaOff:hover {
    border-radius:2em;
    background-color:#e4e4e4;
}
#edit #zalozky {		
	width:100%;
}










/* odsud zlikvidovat */
/* seznam checkboxů */
#hlavnipanel #divObjList {
	min-width:600px;
}
#att #hlavnipanel #divObjList table {
	width:100%;
}

#att #divObjList table input {
	float:left;	
	margin:4px 4px 4px 4px;
}

#hlavnipanel #divObjList :not(.divFiltr) table tr:hover  {
    background-color: #f2f2f3;
}

#hlavnipanel #divObjList :not(.divFiltr) table a {
	vertical-align: middle;
}

#divObjList input[type='checkbox'] {margin-right:20px;vertical-align:middle;}
#divObjList div.node {display: inline-block;min-width: 400px;width:100%;box-sizing: border-box;border-bottom:solid 1px lightgray;line-height:15px;padding: 4px;}
#divObjList div.node:not(.noHover):hover {color: #0274ba; background-color: #f2f2f3;}
            
#divObjList div.nodeContent {padding-left:15px}
#divObjList div.node span.folder {cursor:pointer}
#divObjList div.node span {vertical-align:middle}

#divObjList .selectAllpages {color:lightgray;font-style:italic;cursor:pointer;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
#divObjList input:indeterminate {opacity: 0.7;}

#divObjList ul {list-style-type: none;}
#divObjList ul li {line-height:20px;}

#divObjList ul li a{padding: 1px 5px 1px 5px;line-height: 20px;}

#hlavnipanel #divObjList td {vertical-align:middle;line-height: 15px;}

/* pro filtry gridů */
.divFiltr, 
#divFiltr,
#dfiltr_divFiltr, 
#dpicker_divFiltr,  
#fUsers_divFiltr
{
	background-color: #f6f6f6;
	padding: 5px 5px 5px 5px;
	margin: 5px 0 5px 0;
	min-height:15px;
}


.divFiltr input {
    width: 220px;
}
.divFiltr input.datepicker {
    width:75px
}
.divFiltr select
{ width:230px; padding: 3px 0; }

.divFiltr .label {
    width: 70px;
    margin: 0 10px 0 0;
    display: inline-block;
}

#hlavnipanel .divFiltr table {
    border:0;
    width: auto;
    margin-bottom: 1em;    
}


.divFiltr a {
	margin-right: 10px;	
}

#editContainer{max-width:900px;}

#hlavnipanel table#mgv th {text-align:left;}
#gv tr {vertical-align: baseline;}


/* formuláře */
table.frml td.label {width: 200px;}
table.frml td {vertical-align: bottom;}

table.frml td textarea,
table.frml td input,
table#divencode td input {
	width: 90%;
}

table.frml td select {
	font-size: 1em;
	width: 92%;
	border: #a9a9a9 1px solid;
}

table.frml td input.short {
	width: 50px;
}





#hlavnipanel table.borders {
	margin-bottom: 2em;
	border-color: #b0b0b0;
	width: 100%;
}

#hlavnipanel table.borders td,
#hlavnipanel table.borders th {
	border-bottom: 1px solid #b0b0b0;
}

#hlavnipanel table.noBorder,
#hlavnipanel table.noBorder td,
#hlavnipanel table.noBorder th,
#hlavnipanel table.noBorder table,
#hlavnipanel div.noBorder table td {
	border: 0;
}

#divSteps select, #divSteps input[type=text] {
	width: 300px;
}