/*! 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
   ========================================================================== */

/* 
BROWN: #6e5d46;
FOOTER ORANGE: #d6b469;
*/


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

html {
    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.
 *
 * 2do barva selekce
 */

::-moz-selection {
    background: #d8f8fc;
    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: 1rem 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; }

body, html {
	font-family: 'Roboto', sans-serif;
	text-shadow: none;
	font-weight: 400;
	background-color: #ffffff;
	font-size: 0.97em;
}

button, input, select, textarea {
	font-family: 'Verdana', sans-serif;
}

a { color: #019c9e; text-decoration: underline; }
a:hover { color: #000000; }

/* --- project --- */





/* flashes */

figure.flashes {
	position: fixed;
	width: 370px;
	padding: 15px;
	top: 333px;
	left: 50%;
	margin-left: -200px;
	background-color: #019C9E;
	color: #ffffff;
	font-weight: bold;
	z-index: 12;
	border: 1px solid #ffffff;
}

figure a.closeFlashes {
	display: block;
	float: right;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
}

/* recaptcha */

.recaptchaContainer.absolute {
	position: absolute;
	width: 302px;
	height: 76px;
	border-radius: 4px;
	overflow: hidden;
	top: 50%;
	left: 50%;
	margin: -39px 0px 0px -152px;
	box-shadow: 0px 0px 40px 10px rgba(0,0,0,0.8);
}

/* paginator */

div.paginator {
	text-align: center;
	color: #14405C;
	clear: both;
	margin: 1rem 0;
}

div.paginator .number {
	border-radius: 1000px;
	display: inline-block;
	box-sizing: border-box;
	width: 2rem;
	height: 2rem;
	border: 1px solid #019C9E;
	padding: 3px 8px 3px 8px;
	margin: 0px 2px 0px 2px;
}

div.paginator .button {
	margin: 0px 2px 0px 2px;
}

div.paginator .current {
	background-color: #019C9E;
	color: #ffffff;

}

div.paginator a {
	text-decoration: none;
}

/* errors */

ul.error {
	display: block;
	background-color: #ee630f;
	color: #ffffff;
	padding: 5px 10px;
	margin: 1rem 0rem;
}

ul.error li {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	list-style-image: none;
}

/* - - - */

a[href^="error:"] {
	background: red;
	color: white;
}

pre.dump {
	position: fixed;
	bottom: 0px;
	z-index: 1000;
	background-color: #ccc;
}



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

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

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

div.center {
	text-align: center;
}

div.clear {
	clear: both;
	height: 0px;
	line-height: 0;
}

/*
 * 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;
}

img.full {
	width: 100%;
}


/* SLIDER */
#sliderWrapper{
    background-color: #ffffff;
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sliderItem {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 19;
    display: none;
}

.sliderItem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sliderItem.first {
    display: block;
}





/* ==========================================================================
   LAYOUT
   ========================================================================== */

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


.layoutWrapper {
	margin: 0px auto;
	width: 100%;
	max-width: 1024px;	
}

.layout {
	margin:0px auto;
	width: 95.11%;
}

header .logo {
	float: right;
	margin-top: 16pt;
}

header .title {
	float: left;
	margin-top: 16pt;
	color: #6e5d46;
}

header .title .titleRow1 {
	font-size: 233%;
	text-transform: uppercase;
	line-height: 1em;
}

header .title .titleRow2 {
	font-size: 200%;
}	

footer {
	background-color: #d6b469;
	text-align: center;
	color: #fff;
	padding: 24pt 0;
}

.footerTitle {
	font-weight: 500;
	font-size: 133%;
	margin-bottom: 12pt;
}

footer a {
	color: #6e5d46;
	text-decoration: none;
}

.clientZone {
	font-size: 133%;
	line-height: 3.35;
	background-color: #6e5d46;
	font-weight: 500;
	text-align: center;	
	margin-top: 10pt;
}

.clientZone a {
	color: #fff;
	text-decoration: none;
}

.clientZone a:after {
	content: url("../img/doublearrow.png");
	position: absolute;
	margin-left: 4pt;
	margin-top: 6pt;
}

.infoRow {
	line-height: 2;
	background-color: #6e5d46;
	color: #fff;
	/*font-weight: 500;*/
	text-align: center;	
	padding: 1pt 0em;
}

.infoRow a {
	color: #d6b469;
	text-decoration: none;
}

.infoRow a:hover {
	color: #fff;
	text-decoration: underline;
}

h1 {
	font-size: 233%;
	font-weight: 300;
	text-align: center;
	color: #6e5d46;
}


/* BOARD */

.blogFlex {
	-webkit-display: flex;
	display: flex;
	
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	
	-webkit-justify-content: flex-start;
	justify-content: flex-start;			
	
	-webkit-align-items: stretch;
	align-items:         stretch;
}


.blogFlexItem {
	border: 1px solid #818181;
	background-color: #fff;
	margin-bottom: 14pt;
	cursor: pointer;
	text-align: left;
	margin-right: 1.8%;
	-webkit-order: 2;
	order: 2;
	box-shadow: #d1d1d1 3px 3px 3px 0px;
	box-sizing: border-box;
}

.blogFlexItem.first {
	-webkit-order: 0;
	order: 0;	
}

.blogFlexItem:hover {
	background-color: #f1f1f2;
}

.blogFlexItem.size1 {
	-webkit-flex-basis: 31.4%;
	flex-basis: 31.4%;
}

.blogFlexItem.size2 {
	-webkit-flex-basis: 64.6%; /* 62.8 + 1.8 */
	flex-basis: 64.6%; /* 31.4 + 31.4 + 1.8 */	
}

.blogFlexItem.size3 {
	-webkit-flex-basis: 97.8%; /* 62.8 + 1.8 */
	flex-basis: 97.8%; /* 31.4 + 31.4 + 1.8 */	
}

.blogFlexItem {
	-webkit-order: 1;
	order: 1;
}

.blogFlexItem.contactOne {
	-webkit-order: 1;
	order: 1;
	background-color: #6e5d46;
	color: #fff;
	line-height: 1.6;
}

.blogFlexItem.contactOne .contactTitle {
	font-weight: 500;
	font-size: 133%;
	margin-bottom: 12pt;
	line-height: 1.3;
}

.blogFlexItem.contactOne strong {
	font-weight: 500;
}


.blogPreviewWrapper {
	margin: 18pt 18pt 18pt 18pt;
}

.blogPreviewWrapper .date {
	color: #000;	
	font-size: 133%;
	margin-bottom: 4pt;
	font-weight: 500;
}

.perexOverflow {
	line-height: 1.4rem;
	height: 16.8rem; /* 12 x 1.4 */
	overflow-y: hidden;
}

.size3 .perexOverflow {
	height: auto;
}

.perexOverflow .title {
	font-weight: 500;
	font-size: 133%;
	text-transform: uppercase;
	margin-bottom: 1.4rem;
}


.detailLink {
	text-align: right;	
	font-size: 106%;
	margin-top: 12pt;
}

.detailLink a {
	text-decoration: underline;
	color: #6e5d46;
	padding-right: 15px;
}


.detailLink a:after {
	margin-left: 2pt;
	content: url("../img/singlearrow.png");	
	margin-top: 2pt;
	position: absolute;
}

.size2 .detailLink, .size3 .detailLink {
	font-size: 120%;
	margin-top: 20pt;
	margin-bottom: 0;
}

hr.tipdivider {
	border: 0px;
	height: 1px;
	line-height: 1px;
	background-color: #bdbfc1;
	margin-top: 25pt;
}

.blogDetail {
	text-align: left;
	padding: 18pt;
	border: 1px solid #818181;
	box-shadow: #d1d1d1 3px 3px 3px 0px;
	margin-bottom: 12pt;
}

.blogDetail .date {
	color: #7f7f7f;
	font-weight: 500;
	font-size: 133%;
}

.blogDetail .title {
	clear: both;
	font-weight: 500;
	font-size: 200%;
	margin-top: 10pt;
}

.blogDetail .text {
	margin-top: 10pt;
	line-height: 1.7;
}

.blogPics {
	margin-top: 10pt;
}

.blogPics.flex {
	-webkit-display: flex;
	display: flex;
	
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	
	-webkit-justify-content: flex-start;
	justify-content: flex-start;

}

.blogPics .flexItem {
	height: 198px;	
	margin-right: 12pt;
	margin-bottom: 12pt;
}

.blogPics .flexItem img {
	height: 100%;
}

.blogDetail .backLink {
	text-align: center;
}

.blogDetail .backLink a {
	display: inline-block;
	text-decoration: none;
	font-size: 133%;
	background-color: #fff;
	border: 1px solid #6e5d46;
	color: #6e5d46;
	padding: 5pt 20pt;
	font-weight: 300;
}


.blogDetail .backLink a:hover {
	background-color: #f1f1f2;
}

ul.files {
	margin-left: 0;
	padding-left: 0;
}


ul.files li {
	list-style-position: inside;
	list-style-type: none;
	padding-left: 0px;
	margin-left: 0px;
}

ul.files li:before {
	content: "-";
	padding-right: 6pt;
	margin-left: 6pt;
}

.files a {
	color: #000;
}