p {
	text-align: justify;
}

body {
	background-color: #1781a8;
	font-family: Tahoma, Verdana, sans-serif;
}


a:visited {
	color: #A65600;
	text-decoration: none;
}

a:link {
	color: #A65600;
	text-decoration: none;
}

a:link:hover {
	text-decoration: underline;
}

h2 {
	color: #FFA340;
	border-bottom: 1px dashed #FFA340;
	padding-left: 1em;
}

#head {
	background-color: #FFA340;
	width: 100%;
	height: 16%;
	top: 0px;
	left: 0px;
	position: absolute;
}

#head img {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
}

#menu {
	width: 22%;
	max-width:22%;
	top: 20%;
	left: 0px;
	position: absolute;
}


#main {
	background-color: white;
	top: 16%;
	left: 22%;
	position: absolute;
	padding-left: 2%;
	padding-right: 2%;
	min-height: 100%;
	_height: expression(this.offsetWidth<100%?100%:'');
	_width: expression(this.offsetWidth>74%?74%:'');
	width: 74%;
	max-width: 74%;
}


img {
	___max-width: 80%;
	display: block;
	padding-top: 2%;
	padding-bottom: 2%;
}

.logol {
	max-width: 367px;
	border: 0px;
	height: 108%;
	max-height: 108%;
	margin-left: 0%;
	padding: 0px 0px 0px 0px;
	position: relative;
	float: left;
	
}

.logor {
    padding: 0px 0px 0px 0px;
    height: 108%;
    max-height: 200px;
    position: absolute;
    left: 22%; 
    
}





.title {
	font-weight: bold;
}


td.red {
	background-color: #ff4400;
	color: black;
}

.red {
	color: #ff4400;
}

.blue {
	color: #2277ff;
}

td.blue {
	color: black;
	background-color: #2277ff;
}

.green {
	color: #55ee00;
}

td.green {
	background-color: #55ee00;
	color: black;
}

.yellow {
	color: #ccbb00;
}

td.yellow {
	background-color: #ccbb00;
	color: black;
}

.submenuitem a {
	padding-left: 2em;
	display: block;
	color: black;
	text-decoration: none;
}

.submenuitem a:hover {
	color: #A65600;
	text-decoration: none;
}

.menuitem a {
	display: block;
	text-decoration: none;
	width: 100%;
	padding-left: 1em;
	text-indent: 0.3em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 0.1em;
	color: black;
	
}

.menuitem a:hover {
	border-left: 1em solid #FFBC73;
	padding-left: 0em;
	text-decoration: none;
	color: #A65600;
}

.activemenu a {
	border-left: 1em solid #FFA340;
	padding-left: 0em;
}

.podpis {
	padding-left: 45%;
}

td {
	vertical-align: text-top;
}

.den textarea {
	float: left;
	width: 24%;
}

.den .popisek {
	float: left;
	width: 25%;
}

.den {
	float: left;
}

.den .nadpis {
	width: 100%;
}

.prazdniny {
	color: red;
	text-align: center;
	font-weight: bold;
	vertical-align: middle;
}

.datum {
	float: right;
}

.titulek {
	float: left;
	font-weight: bold;
}

.obsah {
	border-bottom: 1px solid #FFA340;
	
	padding-top: 0em;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	clear: both;
}

.obsah img {width: 90%;}

.rgrad {
	background-position: right;
	background-repeat: repeat-y;
	background-image: url("foto-str/rgrad.gif");
	height: 100%;
	position: absolute;
	right: -10px;
	width: 10px;
	min-width: 10px;

}

q {
	quotes: "„" "”";
}


table {
	border: 1px solid black;
	border-spacing: 0px;
	background-color: white;
}

td {
	padding-right: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

th {
	background-color: #FFA340;
	padding-right: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.rozvrh {
	table-layout: fixed;
	width: 80%;
	empty-cells: hide;
}

.rozvrh td {
	height: 2em;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	border: 1px solid black;
}

.bl {
	border: 0px;
	background-color: transparent;
}


form textarea {
	width: 95%;
}

table.jidelnicek {
	table-layout: fixed;
	width: 80%;
	margin-top: 1em;
}

.jidelnicek td {
	border: 1px solid black;
	padding-left: 1em;
}

.jidelnicek th {
	font-weight: normal;
	border: 1px solid black;
}

h2 a:link {
	font-size: small;
	float: right;
}

h2 a:visited {
    font-size: small;
    float: right;
}

.krouzky th{
	text-align: left;
}

.big-picture-container {
    text-align: center;
}

#prev-button {
    padding-top: 0px;
    float: left;
}

#next-button {
    padding-top: 0px;
    float: right;
}

img.photos-large {
    border: 0px;
    padding-bottom: 0px;
    width: 100% !important;
}

.description {
    padding-top: 1em;
    text-align: center;
    clear: both;
    display: block;
}

#link-back {
    display: none;
    
}

ul.slides { /* this is the overall thumbnail container in collection/album view */
    list-style: none;
}


.slides img {
    border: 0px;
}

.slides li {
    float: left;
}

.newgals {
        float: left;
        width: 100em;
        top: 0px;
}

