blockquote/*! normalize.css v2.1.1 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {display: block;}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio, canvas, video { display: inline-block;}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {display: none; height: 0;}

/**
 * Address styling not present in IE 8/9.
 */

[hidden] {display: none;}ma

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Prevent system color scheme's background color being used in Firefox, IE, and Opera.
 * 2. Prevent system color scheme's text color being used in Firefox, IE, and Opera.
 * 3. Set default font family to sans-serif.
 * 4. Prevent iOS text size adjust after orientation change, without disabling user zoom.
 (1,2,3,4,4)*/

html {background: #fff; 
    color: #000; 
    font-family: sans-serif; 
    -ms-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%; 
}
/*zakaz kopirovani obsahu*/

/**
 * Remove default margin.
 */

body {margin: 0;}

/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {outline: thin dotted;}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active, a:hover {outline: 0;}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 { font-size: 2em; margin: 0.67em 0;}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {border-bottom: 1px dotted;}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b, strong {font-weight: bold;}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {font-style: italic;}

/**
 * Address differences between Firefox and other browsers.
 */

hr {-moz-box-sizing: content-box; box-sizing: content-box; height: 0;}

/**
 * Address styling not present in IE 8/9.
 */

mark {background: #ff0; color: #000;}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code, kbd, pre, samp {font-family: monospace, serif; font-size: 1em;}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {white-space: pre-wrap;}

/**
 * Set consistent quote types.
 */

q {quotes: "\201C" "\201D" "\2018" "\2019";}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {font-size: 80%;}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}

sup {top: -0.5em;}

sub {bottom: -0.25em;}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {border: 0;}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {overflow: hidden;}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {margin: 0;}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {border: 0; /* 1 */  padding: 0; /* 2 */}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button, input, select, textarea {font-family: inherit; /* 1 */ font-size: 100%; /* 2 */ margin: 0; /* 3 */}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button, input { line-height: normal;}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button, select {text-transform: none;}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type `input` and others.
 */

button, html input[type="button"], /* 1 */
input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled], html input[disabled] {cursor: default;}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */  padding: 0; /* 2 */}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof).
 */

input[type="search"] {-webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */  box-sizing: content-box;}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome on OS X.
 */

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0;}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {overflow: auto; /* 1 */ vertical-align: top; /* 2 */}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {border-collapse: collapse; border-spacing: 0;}

/* basic typography -------------------------------------------------------------- */

/* Default font settings. The font-size percentage is of 16px. (0.75 * 16px ~ 12px) */
body { font-size: 18px; color: #4e626d; font-family: 'Source Sans Pro', sans-serif; background: #FFF;}

/* Headings -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { color: #0a2540;}
h1 { font-size: 20px; line-height: 20px; margin:0 0 30px; padding: 10px 0;}
h2 { font-size: 20px; line-height: 20px; margin:0 0 30px; padding: 10px 0; }
h3 { font-size: 20px; line-height: 20px; margin:0 0 30px; padding: 10px 0; }
h4 { font-size: 18px; line-height: 18px; margin:10px 0 1px; padding: 10px 0;}
h5 { font-size: 1em; font-weight: bold; margin:0 0 10px; padding: 10px 0;}
h6 { font-size: 1em; font-weight: bold; }

/* Text elements -------------------------------------------------------------- */
p { margin: 0 0 1.5em; }
p img.left { float: left; margin: 0 8px 8px 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

/*a:visited { color: #30334A; } */
a { color: #056adb; text-decoration: underline; }
a:focus, a:hover { color: #0257b5; }

hr { color: #e7edef; background-color: #e7edef; border:none; height: 1px; margin: 6px 0 6px 0; clear:both;}

blockquote { margin: 1.5em; color: #666; font-style: italic; }
strong { font-weight: bold; }
em,dfn { font-style: italic; }
dfn { font-weight: bold; }
sup, sub { line-height: 1.22; font-size: xx-small;}
sup {vertical-align: top;}
suB {vertical-align: bottom;}

abbr, acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
del { color:#666; }
pre { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; color:#d0a600; }

/* Lists -------------------------------------------------------------- */
li ul, li ol { margin:0 1.5em; }
ul, ol { margin: 0 1.5em 1.5em 1.5em; }

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em;}

/* Tables -------------------------------------------------------------- */
table { margin-bottom: 1.4em; width:100%; }
th { font-weight: bold; }
thead th { background: #acaeb9;}
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td { background: #e5ecf9; }
tfoot { font-style: italic; }
caption { background: #eee; color:#000; }

/* Misc classes -------------------------------------------------------------- */
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide { display: none; }

.quiet { color: #666; }
.loud { color: #000; }
.highlight { background:#ff0; }
.added { background:#060; color: #fff; }
.removed { background:#900; color: #fff; }

.first { margin-left:0; padding-left:0; }
.last { margin-right:0; padding-right:0; }
.top { margin-top:0; padding-top:0; }
.bottom { margin-bottom:0; padding-bottom:0; }

/* Pre-seting Web site -------------------------------------------------------------- */

@media screen, projection {

body { color:#4a5b6c;}

h1, h2, h3 {font-size:30px; line-height:30px; text-align:center; margin:30px auto 10px;}

h4, h5 {text-align:center; position:relative; color:#0a2540;}
p { margin:0; padding:6px 0; line-height:1.2; font-weight:normal;}
select, input, textarea {background: #fff; border:1px solid #c0cbd3; color:#aab8c6; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;}
.cleaner { clear:both; }
ul, ol { margin: 0px; }


.gdpr { font-size:11px; color:#999;}

::-moz-selection { background:#00a6f8; color:#fff;}
::-webkit-selection { background:#00a6f8; color:#fff;}

html { scroll-behavior: smooth;} /* hladke najeti na zalozku*/

.zalozka { display:block; position:relative;}
.zalozka a { position:absolute; left:0; top:-150px;}

.midle {text-align:center;}

.wrapper { max-width:1200px; margin: 0 auto; padding:0;}

#header { min-height: 128px; margin:0 auto; color:#383d43; position:fixed; top:0; left:0; width:100%; background:#fff; z-index:90;}

a#logo {  text-decoration:none; margin-top:2px; color:#FFF;}


.top-nav-holder { position: fixed; z-index:99999; top: 0; left: 0; width: 100%; background: linear-gradient(45deg, #2986d6, #9ad0ef);}
.top-nav {
	max-width:1200px; margin:0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
/*background: linear-gradient(45deg, #2986d6, #9ad0ef);*/
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #000;
  height: 20px;
  padding: 1em;
}
.menu {
  display: flex; flex-direction: row;
  list-style-type: none;
  margin: 0; padding: 0;
  font-size:18px;
}

.menu a { text-decoration:none;  white-space:nowrap; display:block; padding:10px 20px; color:#000;}
.menu a:hover { color:#fff;}

.menu > li {
  margin: 0 0.1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
  z-index:9999;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #0c549d;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 1000px) {
  .menu-button-container {
    display: flex; z-index:99999;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 55px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center; z-index:9999;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border-top: 1px solid #baccda;
    height: 2.5em;
    padding: 0.5em 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
   #menu-toggle:checked ~ .menu a:hover { color:#000;}
   #menu-toggle:checked ~ .menu li:hover { background:#e5ebf1;}
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #f6f9fc;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #baccda;
  }
}


.screen-block {position: relative; overflow:hidden; background-size: cover; 
	z-index:2;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: end;
	border-bottom:#815e4e solid 5px;
	padding-bottom:20px;
}

.screen-block-home {position: relative; overflow:hidden; background-size: cover; 
	z-index:2;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: baseline;
	border-bottom:#815e4e solid 5px;
	padding-top:20px;
}


.bg-0 {background: url(../images/bg-01.jpg) no-repeat; background-position: center;  background-size: cover;}
.bg-1 {background: url(../images/bg-mista-holevil.jpg) no-repeat; background-position: center;  background-size: cover;}
.bg-2 {background: url(../images/bg-2.jpg) no-repeat; background-position: center;  background-size: cover;}
.bg-3 {background: url(../images/bg-3.jpg) no-repeat; background-position: right; background-size: cover;}
.bg-4 {background: url(../images/bg-4.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-5 {background: url(../images/bg-5.jpg) no-repeat; background-position: top; background-size: cover;}
.bg-6 {background: url(../images/bg-6.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-7 {background: url(../images/bg-7.jpg) no-repeat; background-position: center; background-size: contain;}
.bg-8 {background: url(../images/bg-8.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-9 {background: url(../images/bg-9.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-10 {background: url(../images/bg-10.jpg) no-repeat; background-position: center; background-size: cover;}

.bg-mista-akademie-1 {background: url(../images/bg-mista-akademie-1.jpg) no-repeat; background-position: bottom; background-size: cover;}
.bg-mista-akademie-2 {background: url(../images/bg-mista-akademie-2.jpg) no-repeat; background-position: bottom; background-size: cover;}
.bg-mista-akademie-3 {background: url(../images/bg-mista-akademie-3.jpg) no-repeat; background-position: bottom; background-size: cover;}
.bg-mista-akademie-4 {background: url(../images/bg-mista-akademie-4.jpg) no-repeat; background-position: bottom; background-size: cover;}

.bg-mista-augusta {background: url(../images/bg-mista-augusta.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-augusta-1 {background: url(../images/bg-mista-augusta-1.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-augusta-2 {background: url(../images/bg-mista-augusta-2.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-augusta-3 {background: url(../images/bg-mista-augusta-3.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-augusta-4 {background: url(../images/bg-mista-augusta-4.jpg) no-repeat; background-position: center; background-size: cover;}

.bg-mista-holevil {background: url(../images/bg-mista-holevil.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-holevil-1 {background: url(../images/bg-mista-holevil-1.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-holevil-2 {background: url(../images/bg-mista-holevil-2.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-mista-holevil-3 {background: url(../images/bg-mista-holevil-3.jpg) no-repeat; background-position: center; background-size: cover;}

.bg-postava-bankry {background: url(../images/bg-postava-bankry.jpg) no-repeat; background-position: center; background-size: contain;}
.bg-postava-burner {background: url(../images/bg-postava-burner.jpg) no-repeat; background-position: center; background-size: contain;}
.bg-postava-jacob {background: url(../images/bg-postava-jacob.jpg) no-repeat; background-position: center; background-size: contain;}
@media (max-width: 650px) {
	.bg-7, .bg-postava-bankry, .bg-postava-burner, .bg-postava-jacob {background-size: cover;}
}

.bg-prodej-knihy {background: url(../images/bg-prodej-knihy.jpg) no-repeat; background-position: center; background-size: cover;}
.bg-podporit-pokracovani {background: url(../images/bg-podporit-pokracovani.jpg) no-repeat; background-position: center; background-size: cover;}

.nadpis-gz {
	width: 100%;
	max-width: 30rem;
	height:6em;
	position: absolute;
	margin-left:-15rem;
	left:50%; top:5em; background:url(../images/nadpis-golfova-zeme.png) no-repeat top center; background-size: 100% auto;
	z-index:10;
}
@media (max-width: 30rem) {
	.nadpis-gz {margin-left:0rem;left:10%;width: 80%;}
}

.home-nadpis img { width:80%; height:auto;}
.screen-block-home p.home-pedex { background: #cda967 linear-gradient(90deg, #cda967, #f3d6a7, #cda967); color:#000; -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px;
width: 80%; font-weight:bold;
margin: 0 auto;}

.slogan {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 30rem;
	padding: 10px;
	position:relative;
	z-index:5;
}
.slogan:after {content:''; position:absolute; z-index:4; top:0; left:2%; width:96%; height:100%; background:#7b520b;  background: #7b520b linear-gradient(90deg, #563806, #7b520b, #563806); opacity: 0.9; -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; }

.screen-block-home .slogan {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 50rem;
	padding: 10px;
	position:relative;
	z-index:5;
}

.screen-block-home .slogan:after {content:''; position:absolute; z-index:4; top:0; left:2%; width:96%; height:100%; background: #7b520b linear-gradient(90deg, #563806, #7b520b, #563806);  opacity: 0.7; -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; }

.screen-block h1, 
.screen-block h2, 
.screen-block-home h1
{ font-size:30px; line-height:30px; color:#fff; font-weight:normal; margin:0 auto;
filter: drop-shadow(0 10px 8px rgb(0 0 0 / .4)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));
}
@media (max-width: 940px) {
	.screen-block h1, .screen-block h2, .screen-block-home h1 { font-size:18px; line-height:18px;}
	.screen-block p, .screen-block-home p { font-size:14px; padding:5px;}
}

.screen-block h1, 
.screen-block h2, 
.screen-block p,
.screen-block-home h1,
.screen-block-home p
{ position:relative; z-index:12; padding:15px;}
.screen-block p,
.screen-block-home p { color:#fff; text-align:center;}


/*.duration-900 {
    transition-duration: 900ms;
}*/



a.buton, input.buton, button.buton, p.buton {color:#FFF; font-size:18px; font-weight: normal; line-height:52px; height:52px; padding:20px 30px; text-decoration:none; position:relative;
-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; background: #0a4acb linear-gradient(180deg, #efa01c, #84410b, #5e2a0c, #9d4104); border:#f9bb5d solid 3px;
filter: drop-shadow(0px -3px 11px rgba(248, 244, 184, 0.5)) drop-shadow(5px 1px 40px rgba(255, 255, 255, 0.3));}
 p.buton { cursor:pointer; display:inline;}
a.buton:hover, input:hover.buton, button:hover.buton, p:hover.buton, a.buton-grey:hover {
box-shadow: 3px 3px 30px rgba(172, 70, 7, 0.9);
/*transform: translate(0,0) rotate(0) skew(0) skewY(0) scaleX(1.05) scaleY(1.05);*/
padding:24px 35px;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

input.buton, button.buton {padding:0 4px; margin:0 4px; height:24px;}

.clmn-sizer {display: flex; flex-wrap: wrap; gap: 0;}
.clmn4 { width:25%; margin-bottom:1em;}
.clmn3 { width:33%; margin-bottom:1em;}
.clmn2 { width:50%; margin-bottom:1em;}
.clmn1 { width:100%; margin-bottom:1em;}

@media (max-width: 730px) {
	.clmn2 { width:100%; margin-bottom:0em;}
}
@media (max-width: 690px) {
	.clmn3 { width:100%; margin-bottom:0.5em;}
}


.colmn1n3 { float:left; width:calc(33% - 20px); padding:0 10px; margin:10px 0; min-height:300px;}
.colmn2n3 { float:left; width:calc(66% - 20px); padding:0 10px; margin:10px 0; }

.colmn1n3 ul { margin:0;}

.hideme { position:absolute; top: -1200px; left:0;}

.backTop { position:fixed; bottom: 20px; right:20px; z-index:999999;}
.backTop a { display:block; width:36px; height:36px; background: url(../images/go-up-wh.png); -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px;}
.backTop a:hover {background: url(../images/go-up.png);}
.backTop a strong { display:none;}


.QRkod { float:left; margin-right:10px; width:120px; height:auto;}

#footer { width:100%; margin:0; clear:both; position:relative; font-size:14px; background: #4c2513 linear-gradient(180deg, #22181a, #4c2513); }
#footer .wrapper {min-height:200px; padding:30px 0 0 0 ; text-align:center; color:#9a6b56; background:#4c2513 linear-gradient(180deg, #22181a, #4c2513);}
#footer a { color:#b6998d;}
#footer a:hover { color:#fff;}
#footer strong, #footer h3 { color:#fff;}
#footer h3 { font-size:21px;}
#footer p { padding: 10px 0;}
.colore { color:#00acf3;}
.col3 { width:33%; text-align:center; min-height:110px; float:left;}
.col3 h4 { color:#b6998d; font-weight: lighter; font-size:17px; margin:0; padding:0;}
.footerbig { color:#b58250; font-size:24px; line-height:35px; font-style: normal; font-variant: normal; font-weight: normal;}
#footer .footerbig strong {color:#b58250;}
#footer hr { color: #815e4e; background-color: #815e4e; border:none; height: 1px; margin: 26px 0 ; clear:both;}
#footer .footerbig a {color:#b58250; text-decoration:none;} 
#footer p.footblock { border-top:#815e4e solid 1px; margin:10px 0; padding:40px 0;}

/*---galerie---*/
.portfolio-gallery {
    display: grid;
    /* mrizka 14em x 14em */
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
	/*opakuj sloupce mrizka, vsechnybunky vyplnidostupne misto, budou mit stejnou sirku jako ostatni bunky (1 fraction) minimalne 14em */
    grid-template-rows: repeat(auto-fit, minmax(14em, 1fr));
    gap: 1em;
	margin:3em 0;
}

.portfolio-gallery a {
    display: block;
	background: #000;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;
	overflow: hidden;
}

.portfolio-gallery img:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    transform: scale(1.1);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.portfolio-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* treti a pata bunka zmena sirky a vysky*/
.portfolio-gallery a:nth-child(3n) {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-gallery a:nth-child(5n) {
    grid-column: span 3;
    grid-row: span 1;
}
@media screen and (max-width: 1200px) {
    .portfolio-gallery a:nth-child(3n) { grid-column: span 1; grid-row: span 1;}
	.portfolio-gallery a:nth-child(5n) { grid-column: span 2; grid-row: span 1;}
}
@media screen and (max-width: 930px) {
    .portfolio-gallery a:nth-child(3n) { grid-column: span 1; grid-row: span 1;}
	.portfolio-gallery a:nth-child(5n) { grid-column: span 1; grid-row: span 1;}
}

/*---portfolio category list---*/
.portfolio-category__list {
    display: flex;
    flex-wrap: wrap;
	gap: 1em;
	/*padding: 1em 1%;*/
	margin: 3em 0;
}

.portfolio-item {
    display: grid;
    width: 32%;
	padding-top:32%; /* older browser ratio hack*/
	position: relative; /* If you want content inside of it */
/*    aspect-ratio: 1/1;*/ /* FF 89 and more */
    place-items: center;
    background: #e8eaed;
	overflow:hidden;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;
}
@media (max-width: 940px) {
	.portfolio-item  {width: 47%;}
}
@media (max-width: 500px) {
	.portfolio-item  {width: 100%;}
}

.portfolio-item:hover {transform: scale(1.03);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
	box-shadow: 0 .75rem 2.75rem 0 rgba(161,165,178,1);}

.portfolio-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: absolute;
	top:0; left:0;
	color:#e8eaed;
}

.portfolio-item span:hover {
	background-color: rgba(0, 0, 0, 0.6);
	color: rgba(255, 255, 255, 1);
	-webkit-transition: all .5s; -moz-transition: all .5s; transition: all .5s;}

.portfolio-item span { padding:0; margin:0;
	background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0); 
	text-align:center; font-size:24px;
	}

.portfolio-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.portfolio-item:hover img {
    transform: scale(1.1);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.portfolio-item__title {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    place-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio-item:hover .portfolio-item__title {
    display: grid;
}

/*---popup window---*/
#popupHolder { background:url(../images/white-90-perc.png) repeat; position: fixed; top:0; left:0; z-index:999; width:100%; height:100%;}
#popup { border:#009dcb solid 3px; -moz-border-radius:3px; -webkit-border-radius: 3px; border-radius:3px; background:#fff; margin:50px auto; padding:20px; /*width:495px;*/  width:640px; min-height:376px; position: relative; text-align:center; color:#000;}
.closebtn { background:#000; color:#FFF; font-weight:bold;-moz-border-radius:20px; -webkit-border-radius: 20px; border-radius:20px; width:30px; height:30px; position:absolute; top:-15px; right:-15px; line-height:30px; font-size:18px; cursor:pointer;}
.closebtn:hover { background:#5c5c5c;}
.closebtn strong, #popup span { display:none;}
#popup h4 { font-size:36px; line-height:36px; color:#009dcb;}
#popup p { font-size:30px;}

.grey a img {
filter: gray; /* IE6-9 */
  filter: grayscale(1); /* Firefox 35+ */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}

/* Disable grayscale on hover */
.grey a:hover img {
  filter: none;
  -webkit-filter: grayscale(0);
}



/* ostatni -------------------------------------------------------------- */

.picLeft { display: block; float:left; margin:0 10px 10px 0; padding:5px;}
.picRight { display: block; float:right; margin:0 0 10px 10px; padding:5px;}

/* Sample obsahu -------------------------------------------------------------- */
blockquote, q { font-style: normal; color:#fff; margin:5px 0; padding:20px; -moz-border-radius:3px; -webkit-border-radius: 3px; border-radius:3px; background: #6ebc05; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(left, #f6c200, #04b709); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(right, #f6c200, #04b709); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(right, #f6c200, #04b709); /* For Firefox 3.6 to 15 */
background: linear-gradient(to right, #f6c200, #04b709); }
blockquote strong, blockquote a, blockquote a:hover { color:#fff;}
p.cite { text-align:right; font-style:italic;}
blockquote table td { padding:2px 0px; border-bottom:#b5bfc4 solid 1px;}

pre code {
border:1px dotted #5f5f5f;
background-color: rgba(0,0,0,0.1);
display:block;
max-height:15em;
overflow:auto;
padding:0.5em;
}

span.imgBox {
display:block;
width:200px;
float:right;
margin:0.5em 0 0.5em 0.5em;
border:1px solid #CCCCCC;
background:#333333;
}
span.imgBox span { padding: 0.5em; display:block;}

th, td {
/*border:1px solid gray;*/
padding:3px 0.5em;
}

form { margin:0; padding:0; border:none;}

p.error {
padding:0.5em; background-color:#910000;
border: 1px solid #ff0000;
color:#FFFFFF; font-size:11px;
text-align:center;
margin:0; -moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px;
}

p.error:empty {background: none repeat scroll 0 0 transparent; border: medium none;}

p.important {
padding:0.5em; text-align:center; color:#624005; font-size:11px;
background-color:#fec42b; border:1px solid #cb8100; -moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px;
}

p.warning, p.msieWarning {
padding:10px;
background-color:#910000;
border: 1px solid #ff0000;
color:#FFFFFF; font-size:11px;
text-align:center;
margin:0; -moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px;
z-index:100; position:absolute; top: 30px;
}
p.warning {top: 0px;}
p.msieWarning a { color:#FF0000; }
p.msieWarning a:hover { color:#5CFF1D; }

.msgOK {
background-color: #009900;
border:1px solid #00CC00;
color:#a5ffa5;
padding:10px; margin-bottom:10px; text-align:center;
-moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px;
}

.msgErr { background: #f7f1f1; border:1px solid #eae1e1; color:#c72121; padding:10px; margin:10px 0; text-align:center; -moz-border-radius:3px; -webkit-border-radius: 3px; border-radius:3px;}

#errMsg, p.warning, .msg {
background-color:#9f0000;
border-bottom:1px solid #f90000;
border-top:1px solid #f90000;
color:#FFF;
padding:10px;
margin-bottom:10px;
text-align:center;
-moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px;
}
.msg, .msgOK { margin:0;}
#errMsg:empty, .msg:empty, .msgOK:empty { display:none; }
#errMsg.empty { display:none; } /*kvuli msie samostatny selector */
.msg.empty, .msgOK.empty { display:none; } /*kvuli msie samostatny selector */

input.error { border:#CC0000 solid 1px;}
label.error { background-color:#CC0000; color:#FFF; font-size:11px; border:#8f000a solid 1px; padding:2px 6px; display: block; margin:5px;
-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; text-align:center;}

a.hover:hover { font-style:italic; }
a.active:active { font-weight:bold }


table.pagination {
background: none repeat scroll 0 0 #efefef;
border-bottom: 1px solid #000;
border-top: 1px solid #000;
color: #000;
empty-cells: hide;
margin: 10px 0;
text-align: center;
width: 100%;
}
table.pagination td strong {color: #000;}


/*-----------------------------------------------------------------------------*/
} /* end media screen */

@media (max-width: 1180px) {
.wrapper { overflow:hidden;}
} /* end media min-width: 1180px */

@media (max-width: 990px) {
.wrapper { width: inherit;}
} /* end media max-width: 990px */

@media (max-width: 847px) {
} /* end media max-width: 847px */

@media (max-width: 790px) {

} /* end media max-width: 790px */


@media (max-width: 680px) {
.top-nav { margin:2px auto;}
} /* end media max-width: 680px */

@media (max-width: 520px) {
} /* end media max-width: 520px */



@media print {
body {
background:white;
color:black;
font-size:12pt;
}
/*a:after {
content:" (" attr(href) ") ";
font-size:12pt;
}*/
a img { border:0; }
#header { border-bottom:1px solid black; }
.footer {font-size:9pt;}
table.pagination a:after { content:""; }
}  /* end media print */