html {
    font: 16px/1.5 sans-serif;
}

body {
    font: inherit;
    margin: 0;
    background: #565656;
    color: #333;
}

#wrapper {
    max-width: 950px;
    background-color: #ebeaea;
    padding-top: 250px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 3;
    top: 0px;
    border-style: solid;
    border-color: #787878;
    border-left-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-top-width: 0px;
}

#LogoOAM {
    background-attachment: scroll;
    background-image: url(../images/Logo2012.gif);
    background-repeat: no-repeat;
    background-position: top center;
    position: absolute;
    height: 250px;
    width: 950px;
    left: 0px;
    top: 0px;
    z-index: -1;
}

#NazevOAM {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #000;
    text-indent: 36pt;
    position: absolute;
    height: 34px;
    width: 950px;
    left: 0px;
    top: 50px;
    text-align: center;
}

#LogoTUL {
    position: absolute;
    height: 34px;
    width: 550px;
    left: 400px;
    top: 120px;
    text-align: left;
}

#LogoTUL img{
    border: 0;
}

#UserName {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    height: 16px;
    width: 785px;
    left: 0px;
    top: 185px;
    padding-right: 20px;
    text-align: right;
}

#menu {
    position: absolute;
    top: 8.7em;
}


#ajax-spinner {
    margin: 15px 0 0 15px;
    padding: 13px;
    background: white url('../images/spinner.gif') no-repeat 50% 50%;
    font-size: 0;
    z-index: 123456;
    display: none;
}

div.flash {
    color: black;
    background: #FFF9D7;
    border: 1px solid #E2C822;
    padding: 1em;
    margin: 1em 0;
}

div.error {
    color: black;
    background: #ffb5b5;
    border: 1px solid #7a5a5a;
    padding: 1em 1em 1em 3em;
    margin: 1em 0;
}

.error {
    color: black;
    background: #ffb5b5;
    border: 1px solid #7a5a5a;
    padding: 1em 1em 1em 3em;
    margin: 1em 0;
}

a[href^="error:"] {
    background: red;
    color: white;
}

#content {
    margin: 10px;
    min-height: 600px;
    height: auto;
    width: 930px;    
}

#content h1 {
    font-size: 150%;
    color: #db8130;
    text-align: center;
}

#content h2 {
    font-size: 100%;
    text-align: center;
}

#content h3 {
    font-size: 100%;
    text-align: left;
    color: #db8130;
}

#content h4 {
    font-size: 100%;
    text-align: left;
    color: #db8130;
}

#content .stred {
    text-align: center;
}

#content a {
    color: #de9a2b;
    text-decoration: none;
    font-weight: bold;
}

#Tvorba {
    border-style: solid;
    border-color: #b16b47;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-top-width: 1px;
    background-color: #a09f9f;
    position: relative;
    color: #666666;
    text-decoration: none;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

#Tvorba a{
    color: #666666;
    text-decoration: none;
}

#Tvorba img{
    vertical-align: text-bottom;
}

#Navigace {
    text-align: right;
    position: absolute;
    height: auto;
    width: 700px;
    left: 230px;
    top: 207px;
}

#Navigace ul {
    margin: 0; 
    padding: 0; 
    list-style: none;
}

#Navigace ul li {
    display: inline;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 60px;
    width: auto;
    padding-top: 8px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 8px;
    line-height: 55px;
}

#Navigace ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

#Navigace ul li#active {
    background: #ebeaea;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-attachment: scroll;
    background-image: url('../images/Menu2012.gif');
    background-repeat: no-repeat;
    background-position: left top;
}

#Navigace ul li:hover {
    text-decoration: none;
    color: #000000;
    background: #ebeaea;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-attachment: scroll;
    background-image: url('../images/Menu2012.gif');
    background-repeat: no-repeat;
    background-position: left top;
}

#Navigace ul li a:hover {
    text-decoration: none;
    color: #000000;
}


#NavigaceA {
    border-top: 3px #787878 solid;
    text-align: right;
    position: relative;
    height: auto;
    width: auto;
    /*left: 250px;*/
    /*top: 220px;*/
}

#NavigaceA ul {
    margin: 0; 
    padding: 0; 
    list-style: none;
}

#NavigaceA ul li {
    display: inline;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 35px;
    width: auto;
    padding-top: 8px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 8px;
    line-height: 35px;
}

#NavigaceA ul li a {
    color: #000;
    text-decoration: none;
}

#NavigaceA ul li#activeA {
    color: #fff;
    background: #787878;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-attachment: scroll;
    background-image: url('../images/MenuA2012.gif');
    background-repeat: no-repeat;
    background-position: left bottom;
}

#NavigaceA ul li:hover {
    text-decoration: none;
    color: #FFF;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #787878;
    background-attachment: scroll;
    background-image: url('../images/MenuA2012.gif');
    background-repeat: no-repeat;
    background-position: left bottom;
}

#NavigaceA ul li a:hover {
    text-decoration: none;
    color: #fff;
}

.required {
	text-align: right;
	color: #852626;
}

.default {
	text-align: right;
        vertical-align: top;
}

.defaultLabel {
	text-align: right;
        vertical-align: top;
        width: 250px;
}

input, textarea {
	border: 2px solid #787878;
}

.checkbox {
	border: 0px;
}

.radiobutton {
	border: 0px;
}

select {
	border: 2px solid #787878;
}

.ramecek {
    text-align: center;
    border: 2px solid #787878;
    margin-left: 60px;
}

.banka_hlavicka {
    padding: 1pt 2pt 1pt 2pt;
    background-color: #a09f9f;
    text-align: center;
    border: 2px solid #787878;
}

.banka_data {
    padding: 1pt 2pt 1pt 2pt;
    border: 1px solid #787878;
}


.labelnormal {
	text-align: right;
}

.labeltop {
	vertical-align: top;
}

.button {
	background-color: #A09F9F;
	border: 3px solid #787878;
}

.text {
	border: 2px solid #787878;
}

.textcenter {
     text-align: center;
}

.sirka250 {
     width: 250px;
}

.sirka400 {
     width: 400px;
}

.textleft {
	text-align: left;
}

.textright {
	text-align: right;
}

#article1 {
	border: 3px solid #787878;
        text-align: center;
        background-color: #FFF9D7;
}

#article1 .legenda{
        background-color: #787878;
        font-weight: bold;
        width: auto;
        padding: 5px;
}

#article2 {
        margin-top: 5px;
	border: 3px solid #787878;
        text-align: center;
        background-color: #FFF9D7;
}

#article2 .legenda{
        background-color: #787878;
        font-weight: bold;
        width: auto;
        padding: 5px;
}

#UbytovaniC {
	border: 3px solid #b16b47;
        text-align: center;
        background-color: #FFF9D7;
}

#UbytovaniC .legenda{
        background-color: #b16b47;
        font-weight: bold;
        width: auto;
        padding: 5px;
 }

div#his {
	text-align: right;
	position: absolute;
	height: auto;
	width: 950px;
	left: 0px;
	top: 0px;
	border-top-width: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

div#his ul {
	margin: 0; 
	padding: 0; 
	list-style: none inside none;
}

div#his ul li {
	display: inline;
	font-family: Arial, Helvetica, sans-serif;
	height: 26px;
	width: 100px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	padding-right: 4px;
	margin: 0;
	line-height: 26px;
}

div#his ul li a {
	color: #ebeaea;
	text-decoration: none;
}

div#his ul li:hover {
	text-decoration: none;
	color: #FFFFFF;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #787878;
}

div#his ul li a:hover {
	text-decoration: none;
	color: #FFFFFF;
}

 /**
 * Gridito CSS
 */

.ui-widget {
    font-size: 0.8em ! important;
}

