/* 	
	Galerie umění Karlovy Vary
	Letohrádek Ostrov
	Becherova vila
	_______________________________________________

	Date of birth: 		23.6.2011, 10:20	
	Author:				Jiri Soman (http://www.jirisoman.com)


*/

/*
	Reset styles - Default styles -----------------
	_______________________________________________
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:11px/1.3 sans-serif; *font-size:small; } 
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }

sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

body {  color: #000; }
input, select, textarea { color: #680445; border: #2920FF solid 1px;}
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
a, a:active, a:visited { color: #680445; text-decoration: underline; }
a:hover { color: #680445; text-decoration: none; }
a:focus { color: #F00 !important; background:#FF9; text-decoration: underline !important;}

time { color: #680445;}
p { margin: 1em 0;}

/*
	body background -------------------------------
	_______________________________________________
*/

html, body {
	height: 100%;
	}

body {
	/*background: url(background_s1.jpg) center center fixed no-repeat;
	-moz-background-size: cover;
 	background-size: cover;*/
 	background: #680445;
	}
	
img.bg {
        /* Set rules to fill background */
        min-height: 100%;
        min-width: 1024px;

        /* Set up proportionate scaling */
        width: 100%;
        height: auto;

        /* Set up positioning */
        position: fixed;
        top: 0;
        left: 0;
        
        filter: alpha(opacity=80);
	      -moz-opacity: 0.80;
	      -khtml-opacity: 0.80;
	      opacity: 0.80;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
        img.bg {
                left: 50%;
                margin-left: -512px;   /* 50% */
        }
}


/*
	layout classes -----–--------------------------
	_______________________________________________
*/


/* background colors ------------- */

#main-header, #content, .box {
	background: #FFF;
	}
	
/* box margins ------------------- */

#main-header, .box {
	margin-bottom: 5px;
	}

/* layout ------------------------ */

#container {
	position: relative;
	z-index: 444;
	left: 50px;
	width: 950px;
	min-height: 100%;
	text-align: left;
	}

#main-header {
	padding: 25px;
	height: 50px; /* 100px */
	}

#main {
	width: 100%;
	float: left;
	padding-bottom: 200px;
	}

#content {
	float: right;
	padding: 20px;
	padding-bottom: 40px;
	width: 550px; /* 605px */
	padding-right: 35px;
	font-size: 13px;
	}
	
.home #content {
	/*height: 575px; *//* 615px */
	}
	
#col {
	/*float: left;*/
	width: 340px;
	}
	
.home #col {
	overflow: hidden;
	min-height: 615px;
	}
	
/* content in header ---------------*/

#main-header nav {
	float: left;
	height: 44px;
	padding-left: 62px;
	line-height: 1.23;
	background: url(logo_s1.png) left no-repeat;
	}
	
#main-header nav a {
	color: #999999;
	text-decoration: none;
	}
	
#main-header nav a:hover {
	color: #000;
	}
	
#main-header nav h1 {
	font-weight: normal;
	}
	
#main-header nav h1 a {
	color: #680445;
	}
	
#main-header ul {
	margin-top: -2px;
	}

#main-header li {
	margin-bottom: 5px;
	}
	
/* 
, secondary-nav */
.nav-container {
	position: absolute;
	top: 56px; /*23px;*/
	left: 365px;
	}

#main-nav {
	float: left;
	width: 340px;
	}
	
#main-nav ul {
	float: left;
	margin-right: 25px;
	overflow: hidden;
}
	
#main-nav li,
#secondary-nav li,
#sub-nav li {
	margin-bottom: 5px;
	line-height: 1.23;
	}
	
#main-nav li
{
	white-space: nowrap;
	font-size: 13px;
}

#main-nav a,
#secondary-nav a,
#sub-nav a {
	text-decoration: none;
	}
	
#sub-nav a {
	color: #000;
	}
	
#secondary-nav a {
	color: #999999;
	}
	
#main-nav a:hover,
#secondary-nav a:hover,
#sub-nav a:hover {
	text-decoration: underline;
	}

#secondary-nav {
	float: left;
	}
	
#main-nav li.active strong,
#secondary-nav li.active strong,
#sub-nav li.active strong {
	font-weight: normal;
	}
	
#main-nav li.active a,
#secondary-nav li.active a,
#sub-nav li.active a {
	text-decoration: underline;
	}
	
#sub-nav ul {
	padding-left: 15px;
	}
	
/* content hiding button */
.content-hiding-button {
	position: absolute;
	top: 13px;
	right: 15px;
	width: 12px;
	height: 3px;
	}

.content-hiding-button a {
	display: block;
	width: 100%;
	height: 100%;
	background: url(line_s1.png) no-repeat;
	}
	
/* search bar */
#search {
	position: absolute;
	top: 49px;
	right: 35px;
	width: 100px;
	}
	
#search input[type="text"] {
	width: 80px;
	margin-left: 10px;
	font-size: 12px;
	background: none;
	border: none;
	}
	
#search input[type="submit"],
#search input[type="button"]  {
	position: absolute;
	left: 0;
	top: 4px;
	width: 7px;
	height: 8px;
	padding: 0;
	border: none;
	background: url(arrow-search_s1.png) no-repeat;
	}
	
/* content in col -––––--------------*/
.box {
	padding: 25px;
	}
	
.home .box {
	padding-bottom: 6px;
	}
	
.box h2 {
	padding-left: 15px;
	color: #680445;
	font-weight: normal;
	margin-bottom: 30px;
	background:url(arrow-right_s1.png) 0 3px no-repeat;
	}
	
.box h3 {
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 1em;
	}
	
.item {
	margin-bottom: 28px;
	}
	
.item h3 {
	font-weight: normal;
	font-size: 16px;
	margin: 0;
	}
	
.item h3 a {
	color: #000;
	}
	
.item .info-panel {
	margin: 0;
	margin-bottom: 8px;
	}
	
.detail {
	padding-left: 12px;
	background: url(arrow-right_s1.png) left no-repeat;
	text-decoration: none;
	}
	
.detail:hover {
	text-decoration: underline;
	}
	
.newsletter {
	background: #680445;
	}
	
.newsletter h2 {
	color: #FFF;
	background: url(arrow-right-blue_s1.png) 0 3px no-repeat;
	margin-bottom: 15px;
	}

.newsletter form {
	position: relative;
	background: #FFF;
	width: 100%;
	height: 20px;
	margin-bottom: 10px;
	}
	
.newsletter input[type="text"] {
	position: absolute;
	top: 3px;
	padding-left: 10px;
	border: none;
	width: 260px;
	}
	
.ie7 .newsletter input[type="text"],
.ie8 .newsletter input[type="text"] {
	top: 1px;
	}
	
.newsletter input[type="submit"],
.newsletter input[type="button"]  {
	position: absolute;
	right: 10px;
	top: 6px;
	width: 7px;
	height: 8px;
	padding: 0;
	border: none;
	background: url(arrow-search_s1.png) no-repeat;
	}

	
/* main content -––––--------------*/
#content h1 {
	font-size: 24px;
	font-weight: normal;
	}
	
#content h1 a,
#content h2 a {
	color: #680445;
	}
	
#content .info-panel {
	margin: 5px 0 20px 0;
	}

time {
	font-size:11px;
	}	
	
.home #content h1 {	
	}
	
.in {
	padding-right:0px;
	}
	
.breadrcrumb {
	}

.breadcrumb h2,
.breadcrumb p {
	padding-left: 15px;
	color: #680445;
	font-weight: normal;
	font-size: 100%;
	margin-bottom: 35px;
	background:url(arrow-right_s1.png) 0 3px no-repeat;
	}
	
.breadcrumb p {
	margin-top: 0;
	}
	
.breadcrumb span {
	padding: 0 5px;
	}
	
.breadcrumb a {
	text-decoration: none;
	}
	
.breadcrumb a:hover {
	text-decoration: underline;
	}

/* eshop */
.eshop ul, .eshop li {  margin: 0; list-style:none; list-style-image: none; }

.eshop li {
	margin-bottom: 10px;
	width: 100%;
	float: left;
	}
	
.img {
	float: left;
	margin-right: 15px;
	}
	
.eshop li h3,
.eshop h1 {
	font-weight: normal;
	font-size: 16px !important;
	}
	
.eshop h1 {
	}
	
.eshop li h3 a {
	color: #000;
	}
	
.price { color: #680445;}

.order {
	margin: 40px 0;
	width: 100%;
	}

.order h2 {
	font-size: 100%;
	color: #680445;
	font-weight: normal;
	margin-bottom: 10px;
	}
	
#content input, #content select, #content textarea {
	height: 20px;
	padding-left: 10px;
	}

#content .order textarea
{
	height: 5em;
}

.ie7 #content input, .ie7 #content select,
.ie8 #content input, .ie8 #content select {
	height: 20px;
	padding-left: 10px;
	line-height: 20px;
	}
	
#content input[type="button"],
#content input[type="submit"] {
	background: #680445;
	color: #FFF;
	}
	
.ie7 #content input[type="button"],
.ie7 #content input[type="submit"],
.ie8 #content input[type="button"],
.ie8 #content input[type="submit"] {
	height: auto;
	}
	
.order input[type="text"],
.order textarea,
.order select 
	{
	width: 96%;
	margin-bottom: 10px;
	}


/* main-footer ___________________*/
#main-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 295px; /* 335px */
	height: 25px; /* 65px */
	background: #680445;
	color:#FFF;
	padding: 20px;
	}
	
#main-footer .info-panel time {
	color: #FFF;
	}
	
#main-footer .info-panel {
	margin: 0;
	}
	
#main-footer h2 {
	font-size: 16px;
	font-weight: normal;
	}
	
#main-footer h2 a {
	color: #FFF;
	}



.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media all and (orientation:portrait) {

}

@media all and (orientation:landscape) {

}

@media screen and (max-device-width: 480px) {

  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } 
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

/** banner na HP **/
#banner
{
	width: 605px;
	padding: 0px 0 5px 0px;
	float: right;
	height: 161px;
}

#banner .banner-img
{
	float: right;
}

#banner .banner-text
{
	float: left;
	width: 171px;
	height: 121px;
	background: #680445;
	padding: 20px;
	color: white;
}

#banner .banner-text h2
{
	font-size: 16px;
	font-weight: normal;
	text-decoration: underline;
}

/* pruh nahore */
.bar
{
	background: #680445;
	height: 23px;
	margin-bottom: 3px;
	color: white;
	padding-left: 23px;
	padding-top: 7px;
}

.bar a
{
	color: white;
	text-decoration: none;
	margin-top: 7px;
}

.bar a span
{
	color: #839a92;
}

/* galerie */
.gallery a img {
  margin:0px 14px 14px 0px;
}
