/*** clearfix ***/

.clearfix:after
{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.insert, .insert2 {
    margin-top: 5px;
}
.zmeny-blok tbody td{
display: flex;
    flex-direction: column;
    flex-basis: 20px;
}
#kompetence-submit {
    font-family: tahoma, verdana, sans-serif;
    font-size: 11px;
}

.zmeny-blok label {
	margin-bottom: 10px;
}
.clearfix
{
	display: inline-block;
}

html[xmlns] .clearfix
{
	display: block;
}

* html .clearfix
{
	height: 1%;
}

/*** /clearfix ***/

blink
{
	color: red;
	font-weight: bold;
	font-size: 20px;
}

body
{
	margin: 0px;
	padding: 0px;
	color: #505050;
	background-color: #dddddd;
}

body, 
table, 
input,
select
{
	font-family: tahoma, verdana, sans-serif;
	font-size: 11px;
}

div#header
{
    background-color: #2859A6;
    color: white;
    height: 200px;
    background-image: url(/images/logo.png);
    background-position: 25px 0;
    background-repeat: no-repeat;
    position: relative;
}

div#header a.homepage
{
	display: block;
	width: 160px;
	height: 170px;
	position: absolute;
	top: 20px;
	left: 30px;
}

div#header div.text
{
    position:absolute; 
    bottom:25px;
    right: 25px;
	text-align: center;
	font-size: 14px;
}

div#header div.text h1
{
    font-size: 32px;
	margin-bottom: 5px;
}

div#header div.text h1 span
{
    font-weight: normal;
    font-size: 14px;
}

div#body
{
    width: 90%;
    margin: 0px auto;
    border: 1px solid #cccccc;
    border-top: 0px;
}

div#logout
{
    padding: 5px;
    text-align: right;
    font-size: 12px;
}

div#logout a
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

div#logout a:hover
{
    color: #EE0000;
}

div#top_menu
{
    background: #F5F5F5;
    border-bottom: 1px solid #cccccc;
    padding: 6px 0px;
}

div#top_menu a
{
    color: #333355;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
}

div#top_menu a:hover
{
    color: #EE0000;
}

div#top_menu ul.menu
{
    margin: 0px;
    padding: 0px;
}

div#top_menu ul.menu li
{
    margin: 0px;
    padding: 0px 6px;
    float: left;
    list-style: none;
}

div#top_menu ul.menu li.active a
{
    color: #EE0000;
}

div#content
{
    position: relative;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    background: #f8f8f8;
}

div#left_menu
{
	float: left;
}

ul.left_menu {
	margin: 0;
	padding: 0px;
	padding-right: 0px;
	padding-top: 0;
	list-style-type: none;
	width: 200px;
	/*width: 150px;*/
}

ul.left_menu a {
	color: black;
	text-decoration: none;
	display: block;
	padding: 5px 0px;
	/*margin: 2px 0px;*/
}
ul.left_menu a:hover {
	text-decoration: underline;
}

ul.left_menu li {
	background-color: #ddd;
	border:solid 1px #bbb;
	border-top: 0 none;
	font-weight: bold;
	padding: 5px 10px;
	line-height: 18px;
}

ul.left_menu>li:first-child {
	border-top:solid 1px #bbb;
}

ul.left_menu li.active {
	xbackground-color: #ccc;
}

ul.left_menu li ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.left_menu li li {
	font-weight: normal;
	padding: 0px;
	padding-left: 15px;
	margin: 0;
	border: 0 none;
}

ul.left_menu li.active li.active {
	background-color: #f8f8f8;
	border:solid 1px #bbb;
	border-right: 0 none;
	margin-right: -11px;
}

ul.left_menu li.active li.active a {
	color: black;
	font-weight: bold;
}

ul.left_menu a.valid,
ul.left_menu a.invalid,
ul.left_menu a.files,
ul.left_menu a.files_gray,
ul.left_menu a.comments,
ul.left_menu a.comments_gray,
ul.left_menu a.help
{
	background: url(/images/icons/valid.png) no-repeat;
	padding: 2px 0 2px 22px;
	background-position: left 5px;
}

ul.left_menu a.invalid
{
	background-image: url(/images/icons/invalid.png);
}

ul.left_menu a.files
{
	background-image: url(/images/icons/files.png);
}

ul.left_menu a.files_gray
{
	background-image: url(/images/icons/files_gray.png);
}

ul.left_menu a.comments
{
	background-image: url(/images/icons/comment.png);
}

ul.left_menu a.comments_gray
{
	background-image: url(/images/icons/comment_gray.png);
}

ul.left_menu a.help
{
	background-image: url(/images/icons/help_menu.png);
}

div#content_right
{
	margin-left: 235px;
/*	margin-left: 185px;*/
    width: 695px;
    /*width: 745px;*/
}

table.datagrid
{
    border-collapse: collapse;

}

table.datagrid td,
table.datagrid th
{
    border: 1px dotted #dddddd;
    padding: 3px;
    white-space: nowrap;
	vertical-align: top;
}

table.datagrid th
{
    background: #E2E5F2;
    font-weight: bold;
    text-align: left;
}

table.datagrid tr.odd
{
    background: #ffffff;
}

table.datagrid tr.even
{
    background: #F2F5F9;
}

table.datagrid tr.odd:hover,
table.datagrid tr.even:hover
{
    background: #ccffcc;
}

table.datagrid input.submit_detail,
table.datagrid input.submit_edit,
table.datagrid input.submit_delete,
table.datagrid a,
table.dotaznik_list input.submit_edit
{
    border: 0px;
    background: transparent;
    cursor: pointer;
    color: blue;
    padding: 0px 4px;
    margin: 0px;
    text-decoration: none;
}

table.datagrid form.submit_form
{
    float: left;
    padding: 0px;
    margin: 0px;
}

table.datagrid table.inner td
{
    border: none;
}

/* *** */

form.table label
{
    width: 130px;
    float: left;
}

form.table input,
form.table textarea
{
    margin-left: 0px;
    width: 700px;
}

form.table input#role-predklient,
form.table input#role-instituce,
form.table input#role-norole,
form.table input#datum_format-TYPE1,
form.table input#datum_format-TYPE2
{
    margin-left: 0px;
    width: 12px;
}

form.table input.select_input_filter
{
	width: 190px;
}

form.table textarea
{
    height: 100px;
}

form.table input[type="checkbox"],
form.table input[type="submit"],
form.table input[type="button"]
{
    width: auto !important;
}

form.table div.multiCheckbox
{
    float: left;
	width: 550px;
	/*width: 600px;*/
}

form.table div.multiCheckbox label
{
    width: auto;
    clear: both;
}

form.table div.multiCheckbox_margin
{
	margin-left: 130px;
}

form.table fieldset
{
    border: 0px;
    width: 100%;
}

form.table fieldset legend
{
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 5px 0 5px 25px;
    width: 954px;
    margin-left: -33px; /* 20px */
    margin-left: -24px \0/;
    font-size: 13px;
    font-weight: bold;
    background: #ffffff;
}

form.table div.hint
{
    margin-left: 130px;
    color: #888888;
    margin-bottom: 10px;
}

form.table div#instituce_kontejner
{
    margin-top: 5px;
    margin-left: 130px;
}

form.table tfoot td
{
	padding-top: 10px;
}

div#content_right form.table fieldset legend
{
	width: 100%;
	/*width: 750px;*/
}

div#content_right form.table input,
div#content_right form.table textarea
{
    width: 550px;
    /*width: 600px;*/
}

div#content_right form.table input.koeficient
{
    width: 50px;
}

div#content_right form.table input.hodnoceni
{
    width: 50px;
}

div#content ul.menu a
{
    color: #333355;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
}

div#content ul.menu a:hover
{
    color: #EE0000;
}

div#content table.data
{
    border-collapse: collapse;
}

div#content table.data td,
div#content table.data th
{
    border: 1px solid black;
    padding: 4px;
}

/*** info boxy ***/
div.fatalerror_box {
	padding: 5px;
	font-weight: bold;
	text-align: center;
	border: 2px solid #CC0000;
	background-color: #ffffff;
	width: 100%;
}

div.error_box, 
div.success_box, 
div.info_box,
div#flash_error
{
	padding: 5px 5px 5px 25px;
	margin: 5px 0px 15px 0px;
	font-weight: bold;
	background-position: 5px center;
	background-repeat: no-repeat;
}

div.info_box_content_right
{
	margin-left: 235px;
}

div.error_box ul, div.success_box ul, div.info_box ul {
	margin: 0;
	padding: 0;
	list-style: inside square;
}

div.error_box,
div#flash_error
{
	border: 2px solid #CC0000;
	background-color: #ffffff;
	color: #CC0000;
	background-image: url(/images/icons/exclamation.png);
}

div.success_box {
	border: 2px solid #CCEBF5;
	background-color: #ffffff;
	color: #042E64;
	background-image: url(/images/icons/information.png);
}

div.info_box {
	border: 2px solid #CCEBF5;
	background-color: #ffffff;
	color: #042E64;
	background-image: url(/images/icons/information.png);
}

/*** /info boxy ***/

table.dotaznik_list td.instituce_typ
{
    font-weight: bold;
    font-size: 16px;
}

table.dotaznik_list td.dotaznik_typ
{
    font-weight: bold;
    font-size: 13px;
    padding-left: 20px;
}

table.dotaznik_list
{
    margin: 0px auto;
}

table.dotaznik_list_left
{
	margin: 0px;
}

table.dotaznik_list td
{
    padding: 6px;
}

table.dotaznik_list table
{
    width: 100%;
}

table.dotaznik_list table td
{
    padding: 0px;
    padding-left: 30px;
}

ul.errors
{
	color: red;
	margin: 4px 0px 10px 130px;
    list-style: none;
    padding: 0px;
}

ul.errors li
{
	margin: 0px;
}

div.passive ul.errors
{
	margin: 4px 0px 10px 2px;
}

ul#lang_menu
{
    list-style: none;
	margin: 0px 0px 5px 0px;
/*	position: relative;
	right: 0px;*/
	height: 20px;
	padding-left: 0px;
}

ul#lang_menu li
{
	float: left;
	height: 20px;
	border: 1px solid #bbb;
	margin-right: -1px;
	background-color: #ddd;
}

ul#lang_menu li:first-child
{
/*	border-left: 1px solid #bbb;*/
}

ul#lang_menu li a
{
	padding: 3px 15px;
	/*margin: 0px 5px;*/
	/*line-height: 18px;*/
	color: black;
	text-decoration: none;
	display: block;
}

ul#lang_menu li.active
{
	font-weight: bold;
	border-bottom: 0px;
	background-color: #f8f8f8;
}

ul#lang_menu li a.red
{
	color: red !important;
}

label.required:after
{
	content: " *";
	color: red;
}

label.otazka
{
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 15px;
}

/*div.otazka_margin_bottom
{
	margin-top: 5px;
}
*/

fieldset label.podotazka
{
    display: block;
    font-size: 13px;
    margin-top: 10px;
}

fieldset label.podotazka:first-child
{
    margin-top: 0px;
}

/*fieldset label.textlistnum
{
	display: inline;
	float: left;
	width: 50px;
}

fieldset div.textlistnum input
{
	width: 50px !important;
	float: left;
	margin-left: 50px;
}*/

fieldset table.otazka
{
	border-collapse: collapse;
	width: 100%;
}

div.passive fieldset table.otazka
{
	border-collapse: separate;
}

fieldset table.otazka td,
fieldset table.otazka th
{
	border: 1px solid #bbbbbb;
	padding: 4px 8px;
}

fieldset table.otazka th
{
    font-size: 13px;
    font-weight: bold;
}

fieldset table.otazka td
{
	background-color: #ffffff;
}

fieldset table.otazka_fill
{
	width: 100%;
}

fieldset table.otazka_fill th
{
	padding: 4px 8px;
}

fieldset table.otazka_fill td
{
	background-color: none;
	padding: 2px;
	width: 30%;
}

fieldset table.otazka_fill td input.element_textbox
{
	width: 98%;
	margin: 0px;
}

fieldset table.otazka_fill td select.element_select
{
	width: 100%;
	margin: 0px;
}

div.passive fieldset
{
    background-color: #DDDDDD;
    border: 1px solid #BBBBBB;
    margin: 0px 0 15px;
    padding: 15px;
}

div.passive div.element_textbox
{
	border: 1px solid #BBBBBB;
	background-color: #ffffff;
	padding: 4px;
}

div.passive input.element_textbox
{
	width: 100%;
}

div.passive textarea.element_textarea
{
	width: 100%;
	height: 200px;
}

div.passive textarea.element_textarea_table
{
	width: 99%;
	height: 50px;
	margin: 0px;
}

div.passive input.element_multicheckbox_text
{
	width: 100%;
}

div.element_checkbox
{
	margin: 2px 0;
}

div.element_checkbox span
{
	margin-left: 4px;
	position: relative;
	top: -2px;
}

input.button_save,
input.button_next_page
{
	padding: 10px;
	float: right;
	font-size: 13px;
	width: 115px;
}

input.button_save
{
	float: left;
}

dt
{
	display: none;
}

dd
{
	margin: 0px;
}

a img
{
	border: none;
}

div.otazka_odkaz_soubory
{
	margin: 5px 0;
	margin-top: 80px;
}

div.otazka_odkaz_soubory a
{
	color: #505050;
}

div.none_files
{
	font-style: italic;
	padding-left: 5px;
}

div.odevzdani_text
{
	margin-bottom: 20px;
}

td.wrap
{
	white-space: normal !important;
}

div.help
{
	float: right;
	position: relative
}

div.help_text
{
	width: auto;
	width: 400px;
	border: 1px solid #BBBBBB;
	background-color: rgb(255, 256, 175);
	padding: 10px;
	display: none; 
	position: absolute; 
	right: 40px; 
	top: 0px
}

table#upload_box
{
/*	visibility: hidden;*/
}

div.komentare
{
	padding: 10px;
	border: 1px solid #bbbbbb;
}

table.instituce_info,
table.instituce_info_2
{
	border: 1px solid #bbb;
}

table.instituce_info a,
table.instituce_info_2 a
{
	color: #505050;
}

table.instituce_info th,
table.instituce_info_2 th
{
	white-space: nowrap;
	text-align: left;
	padding-right: 10px;
}

div.obory_napoveda
{
	margin-bottom: 15px; 
	padding-left: 5px;
}

div.obory_soubory
{
	float: left; 
	margin-right: 20px; 
	padding-left: 5px;
}

div.obory_soubory img
{
	position: relative; 
	top: 4px; 
	margin-right: 3px;
}

div.buttons
{
	margin-top: 20px;
	width: 920px;
	border-top: 1px solid #BBBBBB;
	padding: 4px;
}

div.buttons input
{
	float: left;
	margin-right: 4px;
}

/*** tisk ***/
@media print
{
	div#header,
	div#top_menu
	{
		display: none !important;
	}
	
	div#body
	{
		width: 100%;
		border: 0px;
	}

	div#content
	{
		padding: 0px;
	}
	
	fieldset
	{
		border: 0px !important;
		padding: 0px !important;
		margin: 0px !important;
	}
	
	div.passive div label
	{
		margin-bottom: 5px !important;
	}
	
	th
	{
		font-weight: normal !important;
	}
}
/*** /tisk ***/