/*
Theme Name: slch
Theme URI: https://volko.sk
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
/*-------GLOBAL VARIABLES-----------*/
* {
	font-family: var(--hfont);
	--green: #ab1f23;
	--font: 'Open Sans', sans-serif, sans-serif, Arial;
	--hfont: 'Open Sans', sans-serif, sans-serif, Arial;
	--width: 1300px;
  transition: all .2s;
	margin: 0px;
	padding: 0px;
	scroll-behavior: smooth;
}

body {
	width: 100%;
  height: 100%;
  scroll-behavior: smooth;
	background: white;
}

a {
	text-decoration: none;
	color: var(--green);
}

p, ol, ul, li {
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	font-family: 'Open Sans', sans-serif;
  letter-spacing: 0px;
  color: #888888;
	padding: 0px 0px 10px 0px;
}

li {
	margin-left: 20px;
}

p:empty {
  ddisplay: none;
  dheight: 0px;
}

ul {
	margin: 0px;
}

b, strong {
	font-weight: 700;
}

h1 {
	font-style: normal;
	font-weight: 800;
	font-size: 30px;
	line-height: 1.3;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 0px;
	text-align: inherit;
	color: #996a35;
}

h2 {
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 0px;
	text-align: inherit;
	color: #151616;
}

h3, h4 {
	font: 700 26px var(--hfont);
  margin: 30px 0px 20px;
}

h4 {
	font-size: 21px;
}


.alignleft, .alignright {
  float: left;
  display: inline-block;
  margin: 0px 40px 40px 0px !important;
	border-radius: 10px !important;
}

.alignright {
  float: right;
  margin: 0px 0px 40px 40px !important;
	border-radius: 0px 10px 10px 0px;
}

.center {
	text-align: center;
}

.mobile {
  display: none !important;
}

.nav{
	font-size: 16px;
	opacity: .8;
}

#searchform {
	margin: 50px 0px ;
}

#searchform #s {
	width: 73%;
	padding: 20px 10px;
	line-height: 20px;
	border: none;
	background: rgba(0,0,0,.05);
	border-radius: 7px;
	font-size: 18px;
}

#searchsubmit {
		height: 20px;
		float: right;
		padding: 20px 20px;
		line-height: 20px;
		border: none;
		background: var(--green);
		color: white;
		border-radius: 7px;
}

/*-----LAYOUT------------*/
.cover {
	background: url(cover.jpg);
	width: 100%;
	text-align: center;
}

.cover img {
	padding: 20px;
}

#cover {

}

#top {
	position: fixed;
	bottom: 50px;
	right: 50px;
	padding: 15px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 30px;
	text-align: center;
	display: inline-block;
	background: var(--green);
	border-radius: 100px;
	color: white;
	transform: rotate(-90deg);
	z-index: 1000;
}

#head {
	position: -webkit-sticky;
  position: sticky;
  top: 0;
	width: calc(100% - 0px);
  max-width: calc(var(--width) - 40px);
	padding: 0px calc((100% - var(--width) + 40px)/2 + 0px);
  height: 70px;
  background: white;
  z-index: 100;
	vertical-align: top;
	box-shadow: 0px 0px 25px rgba(0,0,0,0.08);
	display: inline-block;
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(18px);
}

@media (max-width: 1300px) {
	#head {
		max-width: calc(100% - 40px);
		padding: 0px 20px;
	}

	#head .button {
		display: none;
	}
}

#head * {
	vertical-align: top;
}

#logo, #mobile {
	display: inline-block;
	float: left;
	position: relative;
	z-index: 10;
}

#mobile {
	display: none;
}

#logo img {
	display: inline-block;
	height: 40px;
	padding: 15px;
}

#logo {
	margin-left: -15px;
}


.menu {
	width: 100%;
	text-align: center;
	display: inline-block;
	margin: auto;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	margin: 0px;
	z-index: 0;
}

.menu ul {
  list-style: none;
}

.menu li {
  display: inline-block;
	padding: 0px;
	margin: 0px;
}

.menu li a {
  display: inline-block;
	line-height: 70px;
	padding: 0px 10px;
	color: black;
	font-size: 16px;
	font-weight: 400;
}

.menu li:hover {
	background: rgba(0,0,0,0.05);
}

.current-menu-item a {
	border-bottom: 3px inset var(--green);
	margin: 3px 0px 0px !important;
	line-height: 65px !important;
}

.button, .wp-block-button__link {
	padding: 14px 30px;
	margin: 15px 0px;
	background-color: var(--green);
	color: white;
	font: 800 20px var(--hfont);
	letter-spacing: 0.5px;
	line-height: 1.3em;
	ttext-transform: uppercase;
	position: relative;
	z-index: 5;
	border-radius: 7px !important;
}

#head .button a {
	padding: 0px 20px;
	margin: 0px;
	line-height: 38px;
}

.button a {
  color: white;
}

.button:hover, .wp-block-button__link:hover {
  background: white !important;
  color: var(--green) !important;
  transform: scale(1.025);
  box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
}

.button a:hover, .button a:hover *, .wp-block-button__link a:hover {
  color: var(--green) !important;
}

body {
	text-align: center;
}

#content {
	display: inline-block;
	flex-direction: column;
	max-width: 100%;
	width: calc(1200px - 80px);
	min-height: calc(100vh - 0px);
	padding: 0px 40px 0px 40px;
	align-content: stretch;
  align-items: center;
	text-align: left;
}

.section {
	width: calc(var(--width) - 40px);
  max-width: calc(100% - 40px);
  padding: 40px 20px 60px;
	position: relative;
	vertical-align: top;
}



.page {
	width: calc(70% - 40px) !important;
	float: left;
}

.kampane {
	width: calc(100% - 40px) !important;
	float: left;
}

.cat .box {
	width: calc(50% - 45px);
	vertical-align: top;
}

.cat .box a * {
	color: var(--green) !important;
}


.cat .date {
	display: inline-block;
	padding: 20px 0px 0px;
	opacity: 0.7;
}

.sidebar {
	width: 30%;
	float: right;
	margin: 0px 0px 50px;
}

.najnovsie {
	padding: 20px 0px;
}


.najnovsie p {
	font-size: 16px;
	padding: 10px 0px;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.fb-share-button {
	margin: 50px 0px 0px;
	padding: 5px 15px 10px;
	background: rgba(0,0,0,0.1);
}

.footer {
	display: inline-block;
	width: 100%;
  max-width: var(--width);
	padding: 40px calc((100% - var(--width))/2);
  background: black;
	text-align: center !important;
}

.footer * {
	color: white;
	font-size: 14px !important;
}

.footer .menu {
	position: relative;
	width: auto;
}

.footer a {
	color: white !important;
}


.first {
	min-height: 400px;
}

.first h1 {
	max-width: 100%;
	margin: 0px 0px 0px;
}

.half {
	display: inline-block;
	width: calc(50% - 25px);
	margin: 0px 10px;
	vertical-align: top;
}

.half h1 {
	text-align: center;
	margin: 0px 0px 20px;
}

.box {
	display: inline-block;
	border: 1px solid rgba(0,0,0,0.1);
	width: calc(100% - 40px);
	padding: 20px;
	margin: 0px 0px 20px;
	border-radius: 10px;
	color: inherit;
}

.box img {
	max-width: 100%;
	height: auto;
	margin-bottom: 30px;
}

.line {
	display: inline-block;
	margin: 40px 0px 40px;
	width: 100%;
	height: 1.5px !important;
	background: rgba(240,240,240);
}

.karty {
	font-size: 0px;
}

.karty .box {
	width: calc(20% - 65px);
	margin: 0px 5px 0px 0px;
	display: inline-block;
	font-size: 16px;
	vertical-align: top;
	border-radius: 10px;
}

.karty .box img {
	height: 70px;
	width: auto;
}

.wpforms-required-label {
	display: none;
}

.wpforms-field-limit-text {
	display: none;
}

.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
   max-width: 100% !important;
}

.wpforms-container .wpforms-field {
	width: 100% !important;
}

.wpforms-field-limit-text {
	display: none !important;
}
