/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





	body { background: #ffffff url('/images/background.png'); background-repeat: repeat-x;	font-family: 'EB Garamond', serif; margin: 0px; padding: 0px;   }

  .box { width: 970px; margin: 0 auto; padding: 0px; }

  .oddelovac { clear: both; height: 0px; border: 0px; border: 0px #ff0000 solid; paddinf: 0px; margin: 0px;}
	
	#header { padding: 0px; position: absolute; top: 00px; z-index: 4; width: 100%; }

	
	.logo {	width: 261px; display: inline; float: left; padding-left: 20px;  font-size: 1px;}
	.logo a, .logo span { display: block; height: 220px; width: 261px; }
	.logo a {color: #000; position: relative; line-height: 220px; }
	.logo span { position: absolute; top: 0; left: 0; cursor: pointer; }
	.logo a span { background: url('/images/logo.png') 0 0 no-repeat; }


	#header h2 { display: none; }

	#header h3 { width: 80px; padding: 0px; margin: 0px; padding-top: 0px; background: url('/images/cesky-vyrobce.jpg'); background-repeat: no-repeat; background-position: top; font-size: 12px; text-align: center;  position: absolute; left: 420px; line-height: 14px; }

    #menu { width: 100%; background: #d3d3d3; display: block; padding-top: 10px;  }
    #menu ul { float:right; padding-right: 30px;  }
	#menu ul li a { color: #000; text-decoration: none; }
    #menu li { float: left;  list-style-type: none; font-size: 16px; font-weight: bold; padding: 10px; color: #fff; white-space: nowrap; border-right: 1px #c0c0C0 solid; margin: 5px; padding-right: 20px; }
    #menu li:last-child { border-right: 0px #009036 solid;  }
	
a.prev span, a.next span {
	display: none;
	}
	
#banner {
	position: relative;
	padding-top: 0px;
	top: 100px;
	width: 1020px;
	margin: 0 auto;
	clear: both;
	color: #FFFFFF;
	text-align: left;
	}

#banner .wraper {
	width: 1020px;
	position: relative;
	z-index: 3;
	}

.column {
	float: left;
	width: 333px;
	text-align: center;
	display: block;
	}

.column p {
	padding: 0 5%;
	}

.frame {
	margin: 0px;
	padding: 0px 0px;
	overflow: hidden;
	float: left;
	}

.frame img {
	float: left;
	margin-right: 32px;
	height: 450px;
	width: 1020px; 
	border: 0px #fff solid;
	}

.cell {
	margin-top: 200px;
	margin-left: 500px;
	width: 375px;
	display: block;
	}

.cell h2 {
	font-size: 32pt;
	line-height: 28pt;
	}


a.prev, a.next {
	display: block;
	width: 28px;
	height: 70px;
	position: absolute;
	}

a.prev#ic_prev, a.next#ic_next {
	top: 140px;
	background-image: url(/images/arrow.png);
	}

a.prev#fc_prev, a.next#fc_next {
	top: 200px;
	background-image: url(/images/arrow.png);
	}

a.prev {
	background-position: 0px 0px;
	left: -30px;
	}

a.prev:hover {
	background-position: 0px 70px;
	left: -30px;
	}

a.next {
	background-position: 28px 0px;
	left: 975px;
	}
	
a.next:hover {
	background-position: 28px 70px;
	left: 975px;
	}	

.pagination {
	position: relative;
	top: 0px;
	text-align: center;
	margin: 0px auto;
	width: 100%;
  background: url('/images/stin.png');
  background-position: top center;
  background-repeat: no-repeat;
  height: 40px;

	}
.pagination a {
	background: url(http://www.eposzlin.cz/images/apagination.png) 0px 0px;
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: 0 12px 0 0;
	}

.pagination a.selected {
	background-position: 9px 0px;
	}

.pagination a span {
	display: none;
	}	
	

  #pravo { position: relative; top: 80px; width: 900px; margin: 0 auto; padding- bottom: 0px;}
  
  #pravo ul { width: 100%; list-style: none;}
  #pravo ul li { width: 24%; float: left;border-right: 1px outset;}
  #pravo ul li a { color: #7e7e7e; font-size: 12pt; text-decoration: none;  }
  #pravo ul li:last-child {
    border-right: 0px;
}
  

	#paticka { background: #000; padding: 0px; margin: 0px; border: 1px #000 solid; overflow: hidden;    }
	#paticka p { width: 970px; padding: 15px;	color: #fff; font-size: 10px; margin: 0 auto; text-align: center; }
	#paticka p img { height: 30px; display: none; }
	
	#reference { padding: 30px; }
	#reference a { float: left; height: 100px; }
	#reference a:hover img { filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%); }	


	
	#modul-text { width: 970px; margin: 0 auto; position: relative; margin-top: 80px; background: url('/images/stin.png'); background-position: top center; background-repeat: no-repeat; min-height: 300px;  padding-top: 0px;}

	#modul-text h2 {
		color: #333;
		font-size: 20px;
		margin: 0px;
		padding: 10px;
		padding-top: 50px;
	
	}
	
	.sloupec { width: 30%; float: left;}
	
	#modul-text li { line-height: 40px;}
	
	iframe { font-size: 200px !important; }
	
	#modul-text p { color: #000; margin: 0px; text-align: justify; padding: 10px; }
	#modul-text a { color: #a0a0a0; margin: 0px; text-align: justify;}
	
	
	#galerie { padding-top: 10px; padding-left: 50px; }
	.galerie-polozka { width: 150px; float: left; min-height: 200px; display: run-in; padding-right: 5px; }
	.galerie-box { padding-top: 10px; padding-left: 50px; }
	.galerie-box .obrazek { width: 285px; float: left; padding-right: 5px; /* height: 200px; */  height: 520px; }
	.galerie-box .obrazek:hover { background: url('/images/lupa.jpg'); background-position: center center; background-repeat: no-repeat;  }
	.galerie-box .obrazek:hover img { opacity: 0.15;	filter: alpha(opacity=15);	-moz-opacity: 0.15;	-khtml-opacity: 0.15;}
/*  .galerie-box .obrazek img { max-height: 300px; max-width: 285px; } */
  .galerie-box .obrazek img { /*width: 270px; */ max-height: 440px; max-width: 285px;  } 
	.galerie-box b { padding: 3px; /* height: 200px; */ }   
 .galerie-box .obrazek { position: relative;  }
  .galerie-box .obrazek img { /*width: 270px; */  } 
  .galerie-box p { position: absolute; bottom: 0px; display: block; width: 270px;}
 
  	
	
	#navigace { background: url(/images/pozadi-footer.jpg); background-repeat: no-repeat; width: 770px; margin: 0 auto; height: 64px; padding: 0px; }
	#navigace ul { float: left; padding: 0px; margin: 0px; padding-top: 45px; padding-right: 50px; padding-left: 50px; }
	#navigace li { list-style: none; float: left; padding: 5px; margin: 0px; }
	#navigace li a { color: #87888A; }

	#kontakt { background: #c0c0c0; position: relative; padding: 0px; margin: 0px;  height: 220px;}
	#kontakt h3 { color: #f0f0f0; font-size: 20px; padding: 20px; padding-bottom: 0px; margin: 0px; }
	#kontakt form p { width: 405px; padding-left: 20px; float: left; }
	#kontakt form label { width: 335px; display: block; color: #FFF; font-weight: normal;} 
	#kontakt form label span { color: #F00;}
	#kontakt form input { width: 335px; display: block; color: #fff; background: #c0c0c0; border: #333; font-weight: normal; box-shadow: 0 0 0 1px #6a6a6a inset; height: 23px; padding-left: 10px; }
	#kontakt form input.odeslat { width: 105px; color: #fff; background: #c0c0c0; border: #333; font-weight: normal; box-shadow: 0 0 0 1px #6a6a6a inset; height: 23px; padding-left: 10px;  } 
	#kontakt form p.kudaje { padding: 0px; margin: 0px; padding-left: 20px; } 
	#kontakt form p.zprava { width: 550px;  padding-left: 20px; position: absolute; top: 0px; left: 370px; } 
	#kontakt form p textarea { width: 230px; height: 75px; border: 0px; color: #FFF; padding-left: 10px; background: #00632e; display: block;  } 
	#kontakt form p.zprava { width: 550px;  padding-left: 20px; position: absolute; top: 0px; float: right;} 
	#kontakt form p.dodatek { width: 550px;  padding-left: 20px; position: absolute; top: 142px; left: 370px; color: #FFF; } 

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}