/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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;
	font-family: "Roboto" , sans-serif;	
}

html {    
    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.
 *
 * 2do barva selekce
 */

::-moz-selection {
    background: #d2eeff;
    text-shadow: none;
}

::selection {
    background: #fef5ff;
    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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

html {
}

body {
	font-family: "Roboto" , sans-serif;
	font-weight: 400;
	font-size: 13.5pt;
	overflow-x: hidden;
	text-align: center;
	color: #000000;
	background-image: url("../img/kvetiny.jpg");
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	/*
	font-family: 'Monda', sans-serif;
	font-size: 12px;
	color: #3b3b3b;
	font-weight: 400;
	*/
}

p {
	margin-top: 0em;
	margin-bottom: 2em;
}

a {
	/*color: #14405c;*/
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

strong {
	font-weight: 700;
}

ul li {
	list-style-type: square;
}

ul.plain {
	margin: 0px;
	padding: 0px;
}

ul.plain li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}



/* FLASHES */
ul.error {
	padding: 0px;
}

ul.error li {
	list-style-type: none;
	padding-left: 0px;
	color: red;
}

figure.flashes {
	position: fixed;
	width: 370px;
	padding: 15px;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	background-color: #14405c;
	color: #ffffff;
	font-weight: bold;
	z-index: 10;
}

figure a.closeFlashes {
	display: block;
	float: right;
	font-weight: bold;
	color: #ffffff;
}

#cover {
	position: fixed;
	width: 100%;
	height: 100%;
	background-image: url("../img/white_40.png");
	background-repeat: repeat;
	z-index: 9;
}

/* PAGINATOR */

div.paginator {
	text-align: center;
	color: #14405C;
	clear: both;
	margin-bottom: 20px;
}

div.paginator .number {
	border: 1px solid #14405C;
	padding: 3px 8px 3px 8px;
	margin: 0px 2px 0px 2px;
}

div.paginator .button {
	margin: 0px 2px 0px 2px;
}

div.paginator .current {
	background-color: #14405C;
	color: #ffffff;

}

div.paginator a {
	text-decoration: none;
}

/* UTILS */

a[href^="error:"] {
	background: red;
	color: white;
}

pre.dump {
	position: fixed;
	top: 0px;
	z-index: 1000;
	background-color: #ccc;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    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;
}

.clear {
	display: block;
	clear: both;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
	overflow: hidden;
}



/* MOJE */
#menuWrapper {
	background-color: #ffffff;
	text-align: center;
	line-height: 2.2em;
}

#menuWrapper a {
	line-height: inherit;
	color: #000000;
	text-decoration: none;
	display: line-block;
	text-transform: lowercase;
	padding: 0em 0.2em 0.2em 0.2em;	
}

#menuWrapper a:hover, #menuWrapper a.active {
	border-bottom: 5px solid #000000;
}

#made {
	margin-top: 2em;
}

#contentWrapper {
	max-width: 950px;
	width: 100%;
	margin: 0px auto;
	margin-top: 1em;	
}

#contentBox {
	background: url("../img/background.png") repeat;
}

#contentTopline {
	height: 1em;
	background-color: #ffffff;
}

.homepageBlock {
	margin: 11px 11px;
}

.homepageBlock a {
	float: left;
	display: block;
	margin: 11px;
}

.homepageBlock a:hover {
	text-decoration: none;
}

.homeText {
	padding-bottom: 11px;
}

.text {
	width: 70%;
	max-width: 660px;
	margin: 0px auto;
	text-align: left;
	padding-bottom: 2em;
	font-size: 11.5pt;
}

h1 {
	font-size: 13.5pt;
	margin-top: 1em;
}

.homepageBlock .hover {
	position: absolute;
	display: none;
	width: 210px;
	height: 160px;
	line-height: 160px;
	color: #ffffff;
	text-align: center;
	background: url("../img/home-over.png") repeat;
	text-decoration: none;
}

.homepageBlock .hover:hover {
	text-decoration: none;
}

.text a {
	color: #000000;
	text-decoration: underline;
}

.text a:hover {
	color: #f24ca6;
}


.photogalPresenter #contentBox {
	display: none;
}

.photogalPresenter #made {
	display: none;
}

.photogalPresenter {
	background-color: #333333;
	background-image: none;
}

.gallery {
	padding: 0.5em;
}

.galImage {
	display: block;
	float: left;
	width: 226px;
	height: 172px;
	overflow: hidden;
	text-align: center;
	margin: 0.5em;
}


.zipLink a {
	color: #27a8ff;
	font-style: italic;
}

.homepageGallery { width: 905px; }