html, body {
	width: 100%;
	height: 100%;
}
body {
	font-family: 'Fira Sans', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	padding: 0; margin: 0;
}

h1 {
	font-size: 30px;
	margin: 0;
	padding: 20px;
}

.min-height-250{
	min-height: 250px !important;
}

#ajax-spinner {
	margin: 15px 0 0 15px;
	padding: 13px;
	background: white url('../images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
	z-index: 123456;
	display: none;
}

div.flash {
	color: black;
	background: #FFF9D7;
	border: 1px solid #E2C822;
	padding: 1em;
	margin: 1em 0;
}

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

form th, form td {
	vertical-align: top;
	font-weight: normal;
}

form th {
	text-align: right;
}

form .required label {
	font-weight: bold;
}

form .error {
	color: #D00;
	font-weight: bold;
}

html.js .jshidden {
	display: none;
}

a, a:hover, a:visited, a:focus, a:active {
}

.gold {
	color: #d4aa3a;
}
.red {
	color: #b81613;
}


/* Common
   ========================================================================== */

.wrapper {
	max-width: 940px;
	z-index: 5;
	margin: 0 auto;
	position: relative;
	width: 100%;
	background-position: center, center;
}
.facebook {
	position: absolute;
	right: 50px;
	top: 20px;
}
.fb-like {
	margin-right: 20px;
}

#logo-wrapper{
		width: 50px;
		height: 250px;
		position: relative;
		margin: 0 auto;
	}
	
	.logo {
		position: relative;
		top: 270px;
		left: 110px;
	}
	
	.grey-text{
		margin-top: 20px;
		color: #5b4f54;
		font-size: 16px;
		margin-bottom: 0px;
	}

/* Footer
   ========================================================================== */
#footer{
	position: relative;
	height: 90px;
	background-color: #3B8207;
	z-index: 6;
}
.footer-wrapper {
	max-width: 940px;
	margin: 0 auto;
	position: relative;
	text-align: center;
}

#footer img{
	position: relative;
	bottom: 10px;
}

#footer div{
	height: 90px;
}

#footer h2{
	height: 60px;
	width: 100%;
}
#footer-logo {
	display: inline-block;
	width: auto;
	float: none;
}
.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100px;
	width: 100%;
	background-color: #3b8207;
	text-align: center;
}
.footer-content {
	position: relative;
	margin: 0 auto;
	height: 100px;
	width: 800px;
}
#footer a {
	text-decoration: none !important;
}
.claim-left, .claim-right {
	position: absolute;
	bottom: 0;
	font-size: 14px;
	width: auto;
}
.claim-left {
	left: 0;
}
.claim-right {
	right: 0;
}

/* buttons */
.button {
	text-shadow: 1px 1px 2px #a7862e;
	display: inline-block;
	background-color: #d4aa3a;
	line-height: 64px;
	padding: 3px 40px 0 40px;
	font-weight: bold;
	font-size: 28px;
	color: white;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #a7862e;
	margin: 5px 0;
}
.button:hover {
	color: white;
	text-decoration: none;
	background-color: #e8be3a;
}
.button-red {
	text-shadow: 1px 1px 2px #AE0914;
	display: inline-block;
	background-color: #AE0914;
	line-height: 64px;
	padding: 3px 40px 0 40px;
	font-weight: bold;
	font-size: 28px;
	color: white;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #AE0914;
	margin: 5px 0;
}
.button-red:hover {
	background-color: #b81613;
}
.button-red-small {
	text-shadow: 1px 1px 2px #AE0914;
	display: inline-block;
	background-color: #AE0914;
	line-height: 40px;
	padding: 3px 40px 0 40px;
	font-weight: bold;
	font-size: 20px;
	color: white !important;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #AE0914;
	margin: 5px 0;
	position: relative;
	top: 40px;
	text-decoration: none;
}
.button-red-small:hover {
	background-color: #b81613;
	color: white !important;
	text-decoration: none;
}

.button-green {
	text-shadow: 1px 1px 2px #357506;
	display: inline-block;
	background-color: #3B8207;
	line-height: 44px;
	padding: 3px 40px 0 40px;
	font-weight: bold;
	font-size: 26px;
	color: white;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #357506;
	margin: 5px 0;
}
.button-green:hover {
	background-color: #357506;
}
.button-green-middle {
    text-shadow: 1px 1px 2px #357506;
    display: inline-block;
    background-color: #3B8207;
    line-height: 50px;
    padding: 0 40px 0 40px;
    font-weight: bold;
    font-size: 28px;
    color: white;
    border-radius: 10px;
    border: 0;
    border-bottom: 3px solid #357506;
    margin: 5px 0;
    position: relative;
}
.button-green-middle:hover {
	background-color: #357506;
	color: white;
}

.button-green-small {
	text-shadow: 1px 1px 2px #357506;
	display: inline-block;
	background-color: #3B8207;
	line-height: 40px;
	padding: 3px 40px 0 40px;
	font-weight: bold;
	font-size: 20px;
	color: white !important;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #357506;
	margin: 5px 0;
	position: relative;
	top: 40px;
	text-decoration: none;

}
.button-green-small:hover {
	background-color: #357506;
	color: white !important;
	text-decoration: none;
}
.button-green-big {
	text-shadow: 1px 1px 2px #357506;
	display: inline-block;
	background-color: #3B8207;
	line-height: 44px;
	padding: 15px 40px;
	font-weight: bold;
	font-size: 30px;
	color: white;
	border-radius: 10px;
	border: 0;
	border-bottom: 3px solid #357506;
	margin: 5px 0;
}
.button-green-big:hover {
	cursor: pointer;
	background-color: #357506;
}

.button.smaller-text {
	font-size: 22px;
}
.button.button-small {
	font-size: 16px;
	line-height: 30px;
	padding-left: 20px;
	padding-right: 20px;
}

/* placeholder font color hack */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #d4aa3a;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #d4aa3a;
	opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #d4aa3a;
	opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #d4aa3a;
}

.bones {
	position: absolute; top: 0; left: 0;
	width: auto; height: auto;
	z-index: 2;
}
.bones-front { z-index: 4; }
.bones-middle { z-index: 3; }
.bones-back { z-index: 2; display: none; }

/* Slides
   ========================================================================== */

.slide:not(.carousel){
	display: inline-block;
	background-position: center, center;
	background-attachment: fixed;
	width:100%;
	height:100%;
	position: relative;
	padding-bottom: 170px;
	/*border-top: 1px solid #dcd0b6;*/
	/*	box-shadow: inset 0px 10px 10px rgba(0,0,0,0.3);*/
}
#slide1 .slide-bottom .slide-button {
	margin-top: 10px;
}
.slide-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70px;
	z-index: 5;
	text-align: center;
}

.slide-bottom .slide-button {
    margin-top: 9px;
    cursor: pointer;
}


#slide1{
	background: url('../images/pozadi2.png') no-repeat center center;
	-webkit-background-size: 900px;
	-moz-background-size: 900px;
	-o-background-size: 900px;
	background-size: 900px;
	border-top: none;

	color: white;
	overflow: hidden;
}
.domain-jsemkote #slide1 {
	background: url('../images/kocka/pozadi2.png') no-repeat center center;
}
#slide1 .wrapper {
	text-align: center;
}

.slide-bottom {
	background-color: #AC191B;
}

#slide6 div.card {
	min-height: 0px !important;
}
#slide6 .card a {
	color:#AE0914;
}
#slide6 .slide-bottom, .slide-bottom.nobg {
	background: none;
	height: 100px;
}
#slide6 h3 {
	height: auto;
}


/* Slide 1
   ========================================================================== */

#logo-title1 {

	position: relative;
	top: -210px;
	margin-top: 0px;
	font-size: 55px;
	margin-bottom: 0;
	min-width: 320px;
	color: #ae1613;
}

#logo-title2 {
	position: relative;
	top: -210px;
	font-size: 24px;
	width: 65%;
	margin: 0 auto;
	min-width: 320px;
	color: #5b4f54;
	font-weight: 400;
}
#logo-title2 a {
	cursor: pointer;
	text-decoration: underline;
	font-size: 24px;
	color: #5b4f54;
}
#logo-title2 a:hover {
	text-decoration: none;
	color: #5b4f54;
}

.domain-jsemkote #logo-title1 {
	font-size: 50px;
}


/* Slide 2, 3, 4
   ========================================================================== */



.left-text ul {
	text-align: right;
	list-style-type: none;
}

.right-text ul {
	padding-left: 0;
	text-align: left;
	list-style-type: none;
}

.card {
	margin-top: 30px;
}
.card.blog-img {
	min-height: 0 !important;
}
.card.blog-img a {
	display: block;
}
.blog-img .card-block {
	clear: both;
}

h1 {

	font-size: 28px;
	font-style: normal;
	font-variant: normal;
	font-weight: 500;
	line-height: 38.5px;
    color: black;
	text-align: center;
	width: 100%;

}

h2 {
	font-size: 36px;
	font-style: oblique;
	font-variant: normal;
	font-weight: 800;
	color: #AE0914;
	text-align: center;
	margin: 0 auto;
	line-height: 60px;
}
.wrapper > h2:first-child {
	margin-top: 30px;
}

h3 {
	font-size: 20px;
	font-style: normal;
	font-variant: normal;
	font-weight: 800;
	line-height: 22.5px;
	color: #AE0914;
	text-align: center;
	height: 60px;
	margin: 0 auto;
	text-decoration: underline;
	vertical-align: bottom;
}

h4 {
	font-size: 20px;
	font-style: normal;
	font-variant: normal;
	font-weight: 800;
	line-height: 22px;
	color: #3B8311;
	text-align: center;
	margin: 30px auto;
	text-decoration: underline;
	vertical-align: bottom;	
}

.minus img {
	padding-top: 10px;
	margin-top: 50%;
	float: right;
	vertical-align: middle;
}

.plus img {
	margin-top: 50%;
	float: left;
	vertical-align: middle;
}

.btn {
	margin: 0 auto;
}

a.btn.btn-success{
	position: relative;
	top: 60px;
}

div.card-block.text-center h3{
	display: block;
	text-decoration: none
}

.image-wrapp {
	max-height: 300px;
}



.btn-success {
	padding: 10px 25px;
	background-color: #3B8207;
}
.footer-title2 {
		font-size: 20px;
		padding-top: 7px;
		color: white;
	}

.card:hover .card-title {
	color: #3B8311;
}
.card:hover .btn {
	background-color: #449d44;
	border-color: #398439;
}
div.card-block.text-center h3 {
	font-size: 16px;
}

/* Responsive
   ========================================================================== */

@media ( min-width: 1920px ){
	.bones-front { left: 25%; }
	.bones-middle { left: 15%; }
	.bones-back { left: 15%; }
}
@media (min-width: 1680px) and (max-width: 1919px) {
	.bones-front { left: 15%; }
	.bones-middle { left: 15%; }
	.bones-back { left: 15%; }
}
@media (min-width: 1280px) and (max-width: 1659px) {
	.bones-front { left: 15%; }
	.bones-middle { left: 5%; }
	.bones-back { left: 5%; }
}
@media (min-width: 960px) and (max-width: 1279px) {
	.bones-front { left: 0%; }
	.bones-middle { left: 0%; }
	.bones-back { left: 0%; }
}
@media (min-width: 768px) and (max-width: 969px) {
	.bones-front { display: none; }
}
@media (max-width: 767px) {
	#slide1 {
		background: url(../images/pozadi2mobile.png) no-repeat center 70%;
		background-size: 500px;
	}
	.domain-jsemkote #slide1 {
		background: url(../images/kocka/pozadi2mobile.png) no-repeat center 70%;
	}

	#slide1 .slide-bottom {
		position: absolute;
	}

	#slide1 .slide-bottom .slide-button {
		margin-top: 5px;
		background-color: transparent;
		border-bottom: none;
		font-size: 16px;
		line-height: 20px;
	}

	.slide-button {
		font-size: 18px;
		line-height: 36px;
	}

	.slide:not(.carousel) {
		padding-bottom: 0;
	}

	#slide1 .slide-bottom {
		height: 60px;
	}
	
	.slide-bottom {
		height: 60px;
		position: relative;
		margin-top: 30px;
	}
	.claim-left, .claim-right {
		position: relative;
		bottom: 0;
		font-size: 14px;
		width: 100%;
		height: 40px;
	}
	.claim-right {
		margin-bottom: 30px;
	}
	#footer div {
		height: auto;
	}
	#footer h2 {
		height: auto;
		line-height: 30px;
	}
	#footer img {
		bottom: 0px;
	}

	body {
		overflow: auto;
	}
	/*.footer {
		position: relative;
		background: #ae1613;
		height: auto;
	}
 */
	.footer-content {
		margin-top: 20px;
		padding-top: 20px;
		width: 100%;
		height: auto;
		text-align: center;
	}
	.facebook, .logo, .claim {
		position: relative;
		top: -50px;
		left: 25%;
		width: 50%;
	}
	.claim {
		margin: 20px;
	}
	.slide .wrapper {
		padding: 0 15px;
	}
	#logo-wrapper{
		width: 50px;
		height: 250px;
		position: relative;
		margin: 0 auto;
	}
	
	.logo {
		position: relative;
		top: 180px;
		left: 90px;
	}
	a.btn.btn-success{
		position: relative;
		top: 0px;
	}
	#logo-title1 {
		top: -260px;
		font-size: 36px;
		width: auto;
		min-width: inherit;
	}
	#logo-title2 {
		top: -260px;
		line-height: 30px;
	}
	
	h2 {
		font-size: 30px;
		line-height: 36px;
	}
	h4 {
		font-size: 14px;
	}
	#footer {
		height: auto;
	}
	.card-block.text-center h3 {
		height: auto;
	}
	.card-block.text-center .button-green-small {
		top: 10px;
	}
	.card {
		margin-top: 50px;
	}

	.domain-jsemkote #logo-title1 {
		font-size: 40px;
	}
}


/* Small devices (tablets, 768px and down) */
@media (max-width: 767px) {
	#logo-title1 {
		text-shadow: 0px 0px 4px rgba(255,255,255,1.0);
	}
	.logo {
		display: none;
	}

	#slide2, #slide3, #slide4, #slide5, #slide6, #slide7, #slide8  {
		text-align: center;
	}

	.left-text ul, .right-text ul {
		padding-left: 0;
		font-size: 12px;
		margin-top: 10px;
		text-align: center;
		list-style-type: none;
	}

	.card {
		display: inline-block;
	}
	.card img {
		height: 300px;
	}

	#footer {
		position: relative;
		top: 20px;
	}

	.footer-title2 {
		padding-top: 7px;
	}

}
@media (max-width: 900px) {
	#footer h2 {
		font-size: 16px;
	}
}
@media (max-width: 500px) {
	#slide2{
		text-align: center;
	}
	
	#slide3{
		text-align: center;
	}
	
	#slide4{
		text-align: center;
	}

	.card img {
		width: 100%;
		height: auto;
	}
}

@media (min-width: 768px) and (max-height: 840px) {
	.image-wrapp {
		max-height: 250px;
	}
	h4 {
		margin: 15px auto;
	}
	.card {
		position: relative;
		margin-top: 10px;
	}
	h3.card-title {
		font-size: 18px;
		line-height: 21px;
		height: 42px;
	}
	#slide2 .slide-bottom, #slide3 .slide-bottom, #slide4 .slide-bottom {
		background-position: top center;
		height: 100px;
	}
	.slide-button {
		font-size: 22px;
		line-height: 48px;
	}
	.logo {
		top: 200px;
	}
	.bones-front {
		margin-top: -80px;
	}
	.bones-back, .bones-middle {
		margin-top: -100px;
	}

}
@media (max-height: 722px) {
	.slide:not(.carousel) {
		min-height: 100%;
		height: auto;
	}
}


