body {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
  background-image: url("/obrazky/pozadie.png");
}

html {
	scroll-padding-top: 125px;
  scroll-behavior: smooth;
}

main {
	margin: auto;
	max-width: 1300px;
}

.div {
	margin-left: 60px;
	margin-right: 60px;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 30px;
	max-width: 1300px;
	border: 2px solid grey;
	border-radius: 20px;
	text-align: justify;
	overflow: auto;
}

.logo {
	height:80px;
}

.topnav {
	overflow: hidden;
	background-color: #0000001a;
	padding-right: 80px;
}

.topnavMargin {
	margin-top: 20px;
}

.topnav a {
	float: right;
	display: block;
	color: #000;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;

}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.topnav a.active {
	background-color: #04AA6D;
	color: white;
}

.topnav .icon {
	display: none;
}

#social {
  position: absolute;
  right: 20px;
  top: 115px;
}
@media screen and (max-width: 1700px) {
  #social { position: static; 
  text-align: end; 
  margin: 10px 10px -10px; }
}


.kontaktDiv {
	border: unset;
	color: white;
	margin: 10px auto 50px auto;
	max-width: 1300px;
	display: flex;
	justify-content: center;
	align-items: center; 
}

a {
	margin-top: 15px;
}

.menu {
	float: right;
	display: none;
	margin-top: 17px;
}

.marginTop140 {
	margin-top: 120px;
}
.marginTop20 {
	margin-top: 20px;
}

.col-5 {
	width: 45.66%;
	float: left;
}

/* prepína menu lištu, veľkosť loga a šírku div */
@media screen and (max-width: 950px) {
	.marginTop140 {
		margin-top: 90px;
	}
	
	.menu {
		display: block;
	}
	
	.kontaktDiv {
		display: initial;
		justify-content: initial;
		align-items: initial; 
		border: none;
	}
	
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
	
	.topnav.responsive .icon {
		position: absolute;
		right: 20px;
	}
	
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: center;
	}
	
	.topnav {
		padding-right: 20px;
	}
	
	.logo {
		height:50px;
	}
	.col-5 {width: 100%;}
}
@media screen and (max-width: 500px) {
  .div {
    margin-left: 10px;
    margin-right: 10px;
  }
}


/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
	padding-top: 60px;
}

/*** dešifruje e-mailovú adresu v #kontakt ***/
.cryptedmail:after {
	content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); 
}

.kontakt {
	background-image: url("/src/field.jpg");
	background-position: center; /* Center the image */
	background-repeat: no-repeat; /* Do not repeat the image */
	background-size: cover; /* Resize the background image to cover the entire container */
	overflow: auto; /* zabezpečuje nespojenie marginov */
}

.formular {
	background: #0000000a;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-top: auto;
	padding: 30px;
	max-width: 1300px;
	border: 3px solid grey;
	border-radius: 20px;
	text-align: center;
	float: left;
  color: #303030;
}

input, textarea {
	padding: 3px 15px;
	border: none;
	border-bottom: 3px solid black;
	background: rgb(255 255 255 / 37%);
  width: 60%;
}
input:focus, textarea:focus {
	width: 100%;
	background-color: white;
	border: none;
  margin-bottom: 3px;
}
label {
	font-weight: bold;
	padding-bottom: 8px;
	padding-top: 20px;
	display:inline-block
}
#odoslat {
  font-weight: bold;
  color: black;
  padding: 5px 25px;
  width: unset;
}
#odoslat:focus {
  width: unset;
  background-color: unset;
	border: unset;
  border-bottom: 3px solid black;
  margin-bottom: unset;
  background: rgba(240, 214, 163, 0.63);
}
#odoslat:active {
	background-color: white;
	border: none;
  margin-bottom: 3px;
}

footer {
	width: 100px%;
	float: right;
	color: grey;
	font-size: 14px;
}

.odosielam {
	display: none;
	text-align: center;
	font-weight: bold;
	font-size: large;
	color:cornsilk;
	background: RGBA(0,0,0,0.31);
	border: 3px solid black;
	border-radius: 20px;
	padding: 15px;
	margin-top: 20px;
	margin-bottom: 5px;
}

ul {
	padding-left: 1em;
}

#mojaCaptchaDiv {
  position: fixed;
  z-index: 5;
  top: 30vh;
  width: 100%;
}

#mojaCaptchaDiv2 {
  width: 300px;
  max-width: 80%;
  padding: 20px;
  margin: auto;
  background: #ffffff;
  text-align: center;
  border-radius: 10px;
  display: none;
}

#mojaCaptcha {
  width: 90%;
  cursor: grab;
  padding: 0;
}

#mojaCaptchaButton {
  padding: 10px 20px;
  border-radius: 10px;
}

#recapt {
  font-size: smaller;
  margin-top: 15px;
}