/*! 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: #000000;
}

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

/*
MODROZELENA #5e9a94;
oranzova #e74011;
*/

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

body, html {
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	text-shadow: none;

	/*background-color: #000000;*/
	color: #000000;
	text-align: center;
	font-weight: 300;
}

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

a {
	color: #5e9a94;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}








/* flashes */

figure.flashes {
	position: fixed;
	width: 60%;
	padding: 10pt;
	top: 30%;
	left: 20%;	
	background-color: #ffffff;
	color: #000000;
	font-weight: bold;
	z-index: 10;
	border: 1px solid #000000;
}

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

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

/* errors */

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

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

/* - - - */

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

div.clear {
	display: block;
	clear: both;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
	overflow: 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;
}

.flex {
	display: -webkit-flex; /* Safari */
	display: flex;
}


/* --- project --- */
section.topBanner {
	margin: 10pt auto;
	width: 746px;
	height: 100px;
	line-height: 100px;
	/*background-color: #d7d7d7;*/
	color: #000000;
}

div.menuWrapper {
	background-color: #000000;
}

.menuWrapper header {
	width: 100%;
	max-width: 980px;
	margin: 0px auto;
}

div.logo {
	width: 37.7%;	
	float: left;
}

div.logo img {
	width: 100%;
}



nav.mainMenu.flex {
	width: 62.3%;
	-webkit-flex-flow: row nowrap; /* Safari */
	flex-flow:         row nowrap;	
	-webkit-justify-content: flex-end; /* Safari */
	justify-content:         flex-end;	
	-webkit-align-items: stretch; /* Safari */
	align-items:         stretch;	
	min-height: 100px;
	
}

nav.mainMenu a.flexItem {
	line-height: 100px;
	text-transform: uppercase;
	padding: 0px 10pt;
	color: #fff;
	font-size: 142%;
}

nav.mainMenu a.active,
nav.mainMenu a:hover {
	color: #ee7203;	
	text-decoration: none;
}


footer.footer {
	width: 100%;
	max-width: 980px;
	margin: 0px auto;
	margin-top: 10pt;
	background-color: #000;
	min-height: 100px;
}

nav.footerMenu.flex {
	width: 100%;
	-webkit-flex-flow: row nowrap; /* Safari */
	flex-flow:         row nowrap;	
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;	
	-webkit-align-items: stretch; /* Safari */
	align-items:         stretch;	
	min-height: 100px;
}

nav.footerMenu a.flexItem {
	line-height: 100px;
	text-transform: uppercase;
	padding: 0px 10pt;
	color: #fff;
	font-size: 142%;
}

nav.footerMenu a.active,
nav.footerMenu a:hover {
	color: #ee7203;	
	text-decoration: none;
}

div.layout {
	width: 100%;
	max-width: 980px;
	margin: 0px auto;
}

div.leftCol {
	float: left;
	width: 65.3%;
}

div.rightCol {
	float: right;
	width: 32%;
}

section.filter {
	margin-top: 10pt;
}

header.title {
	background-color: #ee7203;
	color: #fff;
	line-height: 2;
	font-size: 120%;
}

.filter header.title,
.salesman header.title,
.gallery header.title
{
	width: 48.125%;
	border-top-right-radius: 5pt;
	border-bottom-right-radius: 5pt;
	text-align: left;
	padding-left: 10pt;
	margin-bottom: 10pt;	
}

.otherVideos header.title {
	border-top-left-radius: 5pt;
	border-bottom-left-radius: 5pt;
	text-align: right;
	padding-right: 10pt;
	margin-bottom: 10pt;	
}


.filter .flexItem {
	text-align: left;
	padding-left: 10pt;
	margin-right: 10pt;
}

.filter .flexItem input[type='checkbox'] {
	margin-right: 5pt; 
}

.filter .flexItem input[type='submit'] {
	background-color: #e74011;
	border: 0px;
	border-radius: 5pt;
	color: #fff;
	padding: 5pt 10pt;
}

.filter .flexItem input[type='submit']:hover {
	background-color: #000;
}

article {
	margin-top: 20pt;
	text-align: left;
}

h1 {
	color: #ee7203;
	margin: 0pt;
	margin-top: 5pt;	
	margin-bottom: 5pt;
}

article div.text {
	margin-top: 10pt;
}

article div.content {
	margin-left: 10pt;
}

.content a {
	color: #e74011;
}

section.otherVideos {
	margin-top: 10pt;
}

section.salesman {}

.salesman .logo {
	float: right;
	width: 170px;	
}

.salesman .logo img {
	width: 100%;
}

.salesman a {
	color: #000;
}

section.rightSideBanner {
	margin: 10pt auto;
	width: 100%;
	/*
	height: 150px;
	line-height: 150px;
	*/	
	color: #ee7203;
}

.rightSideBanner a {
	color: inherit;
}

.flex.otherVideos {
	-webkit-flex-direction: column; /* Safari */
	flex-direction:         column;	
}

.flexItem.videoItem {
	width: 100%;
	padding-bottom: 10pt;
	border-bottom: 1px solid #ebebeb;
	margin-top: 10pt;
	text-align: left;
}

.videoItem img {
	float: left;
	margin-right: 6pt;
	width: 116px;
}

.videoItem a, .otherVideos a {
	color: #e74011;
}

.videoItem a:hover {
	color: #000;
	text-decoration: underline;
}

article.text h1 {
	background-color: #ee7203;
	color: #fff;
	line-height: 2;
	font-size: 120%;
	width: 48.125%;
	border-top-right-radius: 5pt;
	border-bottom-right-radius: 5pt;
	text-align: left;
	padding-left: 10pt;
	margin-bottom: 10pt;	
}

article.text span.fright {
	float: right;
}

article.text ol {
	margin-left: 11pt;
	padding-left: 0;
}

article.text li {
	line-height: 1.8;
}

.partneri .flex {	
	margin-top: 20pt;
	-webkit-flex-flow: row wrap; /* Safari */
	flex-flow:         row wrap;	
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;	
	-webkit-align-items: baseline; /* Safari */
	align-items:         baseline;		
}

.partneri .flexItem {
	width: 28%;
	margin-bottom: 20pt;
	text-align: center;
}

.partneri .flexItem img {
	width: 100%;
	max-width: 170px;
}

.photogal.flex {
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	
	-webkit-justify-content: space-between; // flex-start
	justify-content: space-between; // flex-start
	
}

.photogal.flex .flexItem {
	width: 32%;
	/*margin-right: 2.33%;*/
	margin-bottom: 10pt;
}

.photogal.flex .galImg {
	padding-bottom: 75%;
	position: relative;
}

.photogal.flex .galImg a {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;	
}

.photogal.flex .galImg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}