/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

.cleaner {width: 1px; clear: both; font-size: 1px; height: 1px; margin: -1px 0 0 0; padding: 0; border: none; display: inline;  visibility: hidden;}
.clleft {clear: left;}
.clright {clear: right;}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Layout: Solnari' */
* {
   margin:0;
   padding:0;
}
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 74.01%;
   line-height: 1em;
}
div, table, td, th {
   font-size: 1em;
}
img {
   border: 0;
}
img.obrazekvlevo {
   float: left;
   margin: 0.2em 0.5em 0.2em 0;
   padding: 1px;
   border: 2px solid #ccc; 
}
img.obrazekvpravo {
   float: right;
   margin: 0.2em 0 0.2em 0.5em;
   padding: 1px;
   border: 2px solid #ccc; 
}
img.obrazek {
   margin: 0.2em 0.5em;
   padding: 1px;
   border: 2px solid #ccc; 
}

a img.obrazekvlevo, a img.obrazekvpravo, a img.obrazek {
   padding: 1px;
   border: 2px solid #18507C; 
}
a:hover img.obrazekvlevo, a:hover img.obrazekvpravo, a:hover img.obrazek {
   border-color: #C3D4DF;
}

a,
a:link, 
a:active,
a:visited {
   text-decoration: underline;
   background-color: inherit; 
   color: #18507C; 
}
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   color: #000;
   background-color: #333;
}
div#page {
   background: url(images/body-bg.gif) repeat-x top center #333;
   padding: 0 0 1em;
}
div#pagewrapper {
   margin: 0 auto;
   width: 780px;
   background: url(images/page-bg.gif) repeat-y top center transparent;
}

div#top {
   height: 120px;
   background: url(images/top.jpg) no-repeat top center transparent;
}
div#header {
   width: 490px;
   float: left;
}
div#header h1 {
   padding: 55px 0 0 175px;
   margin: 0;
   line-height: 1em;
}
div#header h1 a {
   display: block; 
   height: 50px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   padding: 0;
   margin: 0;
}
div#header h1 a:hover {
   background-color: transparent;
}

div#menu {
   height: 50px;
   padding: 0 300px 0 20px;
   background: url(images/menu.jpg) no-repeat 0px 0px transparent;
}

div#content {
   padding: 5px 15px;
   background: url(images/content-bg.gif) no-repeat top center transparent;
}
div#cleft {
   float: left;
   width: 64%;
   display: inline;  /* FIX ie doublemargin bug */
}
div#cright {
   float: right;
   width: 34%;
   padding-top: 15px;
   font-size: 90%;
   display: inline;  /* FIX ie doublemargin bug */
}

div#conly {
   width: 100%;
}

div#cleft50 {
   float: left;
   width: 49%;
   display: inline;  /* FIX ie doublemargin bug */
}
div#cright50 {
   float: right;
   width: 49%;
   display: inline;  /* FIX ie doublemargin bug */
}

div.cinner {
   padding: 0;
}

div#footer {
   clear:both;
   height: 55px;
   color: #666;
   background: url(images/footer.gif) no-repeat bottom center transparent;
}

div#footer p {
   font-size: 0.8em;
   line-height: 1em;
   padding: 20px 1em 0;
   text-align: center;
   margin:0;
}
div#footer p a {
   color: #ffc;
   font-weight: bold;
}
div#footer p a:hover {
   color: #333;
   background-color: transparent;
}

div#gad {
   width: 730px;
   margin: 0 auto 1em;
   text-align: center;
}



/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em 0 0.5em;
   border-bottom: 1px dotted #ccc;
}


/********************
CONTENT STYLING
*********************/

div.bblock {
   background: url(images/bblock.gif) no-repeat top left transparent;
   min-height: 75px;
}
div.sblock {
   background: url(images/sblock.gif) no-repeat top left transparent;
   min-height: 30px;
}
div.sblockmenu {
   background: url(images/sblockend.gif) no-repeat bottom right transparent;
   width: 200px;
   float: right;
   margin: 5px 0 0 5px;
}
div.sblockmenu div.sblock {
   min-height: 60px;
}

div.binner {
   padding: 10px 15px;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #333; 
   font-size: 1.5em; 
   text-align: left; 
   padding: 0;
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}
div#cright h2 {
   color: #294B5F; 
   font-size: 1.3em; 
   padding: 0;
}
div#content div.sblockmenu h2 {
   color: #294B5F; 
   font-size: 1.1em; 
   padding: 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content div.sblockmenu h3 {
   font-size: 1.2em;
   margin: 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#content ul,
div#content ol,
div#content dl {
   font-size: 1.0em;
   line-height:1.5em;
   margin: 0 0 1.5em 0;
}
div#content ul li,
div#content ol li {
   margin: 0 0 0.25em 3em;
}

div#content dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#content dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* TIMELINE TABLE */
table#timeline {
   width: 99%;
}
table#timeline td, table#timeline th {
   padding: 0.3em;
   text-align: left;
   vertical-align: top;
   background-color: #f0f0f0;
}
table#timeline th {
   font-weight: bold;
   font-size: 1.2em;
   text-align: center;
   color: #360;
   background-color: transparent;
}
#content #timeline .gallery .thumb {
   display: inline;
   margin: 0;
   padding: 0;
   width: auto;
   float: none;
}
/* END TIMELINE TABLE */

/* END GIFTS TABLE */
table#gifts {
   width: 99%;
}
table#gifts td, table#gifts th {
   padding: 0.8em;
   text-align: center;
   vertical-align: top;
   background-color: #f0f0f0;
}
table#gifts th {
   font-weight: bold;
   font-size: 1.1em;
   text-align: center;
   color: #360;
   background-color: transparent;
}
table#gifts tr.booked {
  text-decoration: overline;
}
/* END GIFTS TABLE */

div.warning {
   padding: 1em;
   background-color: #f0f0f0;
   border: 1px solid #9c3;
}


/* Album List UL */
#content .albumlist {
   margin: 0;
   padding: 0;
}

/* Picture List UL */
#content picturelist {
   margin: 0;
   padding: 0;
}

/* Album and Picture Lists */
#content .thumb {
   margin: 0 10px 10px 0;
   padding: 0;
   width: 100px;
   height: 80px;
   line-height: normal;
   list-style-type:none;
   text-align:center;
   float:left;
}
#content .albumlist .thumb {
   height: 150px;
   overflow: hidden;
}

#content .thumb a {
}
#content .thumb a img {
   padding: 1px;
   border: 2px solid #18507C;
   text-decoration:none;
}
#content .thumb a:hover img {
   border-color: #385C72;
}

/* End of 'Layout: Solnari' */

