@font-face {
  font-family: Roboto-Regular;
  src: url('../fonts/Roboto-Regular.ttf');
}

* {
	box-sizing: border-box;
}

html {
	padding: 0;
}

body {
	color: #444;
	font: 16px Roboto-Regular, Arial, Sans;
	background-color: #222;
	margin: 0;
	text-align: center;
}

strong {
	color: #222;
}

h1 {
	float: left;
	margin: 8px 0;
}

h1 a, h1 a:hover {
	border: none;
}

h1 img {
	max-width: 100%;
}

h2 {
	font-size: 28px;
	margin: 0 0 25px;
}

h3 {
	font-size: 24px;
	font-weight: normal;
}

h4 {
	font-size: 19px;
	color: #ccc;
	margin: 0 0 15px;
}

.box {
	float: left;
	width: 50%;
	min-width: 200px;
	margin-bottom: 15px;
	padding-right: 20px;
}

a {
	color: #222;
	font-weight: bold;
	text-decoration: none;
	border-bottom: #999 dotted 1px;
}

a:hover {
	border: none;
}

p {
	margin: 0 0 3px;
}

p.medzera {
	margin-bottom: 30px;
}

body > header, main, #putac {
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
}

main {
	padding: 50px 0 20px;
	background-color: #fff;
}

body > header {
	background-color: #fff;
	padding: 18px 0 12px;
}

body > header > div, main > div, #putac > div {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: left;
}

main > div > p {
	float: left;
	clear: both;
	width: 100%;
	line-height: 150%;
	margin-bottom: 50px;
}

main > div, main article, .imgbox {
	width: 100%;	
}

main img {
	max-width: 100%;
	margin-bottom: 20px;
}

/* ------------- */
nav ul {
	float: right;
	list-style-type: none;
	margin: 32px 0 0;
	padding: 0;
	max-width: 75%;
}

nav ul > li {
	margin: 0 0 15px 35px;
	text-align: center;
	float: left;
}

nav ul a {
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 1px;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	padding: 4px 0;
}

nav ul a:hover, nav ul a.aktivna {
	border-bottom: 3px solid #2aa9e0;
	transition: border .5s ease;
}

/* ------------- */
#putac {
	color: #222;
	font-size: 38px;
	height: 471px;
	background: #c7c2be url('../images/putac_back_1920x471p.jpg') no-repeat center top;
}

#putac h2 {
	width: 50%;
	font-size: 38px;
	margin: 110px 0 28px;
}

#putac p {
	width: 50%;
	font-size: 0.5em;
	margin-bottom: 28px;
}

#putac span {
	color: #222;
	margin-left: 5px;
	transition: .5s all ease;
}

#putac a {
	font-size: 20px;
	font-weight: normal;
	color: #222;
	background-color: transparent;
	background-clip: padding-box;
	border: 3px solid #2aa9e0;
	border-radius: 3px;
	padding: 10px 22px;
	transition: .5s all ease;
}

#putac a:hover {
	color: #fff;
	border-color: #222;
	background-color: #222;
}

#putac a:hover span {
	color: #fff;
}

#putac.nadpis {
	color: #222;
	font-size: 38px;
	font-weight: normal;	
	height: 250px;
}

#putac.nadpis h2 {
	width: 50%;
	font-size: 38px;
	margin: 80px 0 12px;
}

#putac.nadpis p {
	width: 50%;
	font-size: 0.5em;
	margin-bottom: 0;
}

#putac.vyroba {
	background: #c7c2be url('../images/putac_vyroba_1920x250p.jpg') no-repeat center top;
}

#putac.sortiment {
	background: #eff1f4 url('../images/putac_sortiment_1920x250.jpg') no-repeat center top;
}

#putac.onas {
	background: #eff1f4 url('../images/putac_kontakt_1920x250.jpg') no-repeat center top;
}

#putac.faq {
	background: #eff1f4 url('../images/putac_sortiment_1920x250.jpg') no-repeat center top;
}

#putac.kontakt {
	background: #eff1f4 url('../images/putac_kontakt_1920x250.jpg') no-repeat center top;
}

/* ------------- */
main ul {
	float: left;
	clear: both;
	width: 100%;
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

main ul ul {
	list-style: circle inside none;
	margin: 15px 0 40px;
	padding-left: 20px;
}

main .box > ul > li {
	font-size: 18px;
	color: #1277bd;
	margin-bottom: 8px;
	padding: 0;
}

main .box > ul > li:first-child {
	font-size: 24px;
	color: #2aa9e0;
	margin-bottom: 30px;
}

main ul ul li {
	font-size: 15px;
	color: #222;
	margin-bottom: 8px;
}

main > div {
	display: flex;
	flex-wrap: wrap;
}

main article {
	max-width: 33.3332%;
	margin: 0 0 50px 0;
	padding: 0 6px;
}

main article h3 {
	color: #2aa9e0;
	margin: 0 0 10px;	
}

#mapa {
	position: relative;
	clear: both;	
	width: 100%;
	height: 438px;
	background: #f7f7f7 url('../images/mapa_vrbove.jpg') no-repeat top center;
}

#mapa a {
	position: absolute;
	bottom: 8px;
	right: 14px;
	font-weight: normal;
	font-size: 12px;
	border: none;
}

footer {
	float: left;
	width: 100%;
	font-size: 14px;
	color: #999;
	background-color: #303030;
	padding: 35px 0;
	margin: 0;
}

footer div {
	max-width: 1000px;
	text-align: left;
	margin: 0 auto;
	padding: 0 20px;
}

footer > div > div {
	float: left;
	width: 33%;
	padding: 0 40px 0 0;
}

footer .icons {	/* FB icon */
	float: left;
	width: 32px;
	height: 32px;
	border: none;
	margin-top: 20px;
	padding: 0;
	opacity: 0.8;
}

footer .icons:hover {
	opacity: 1;	
}

footer img {
	max-width: 100%;
	margin-bottom: 12px;
}

footer p > img {
	float: left;
	margin: 3px 8px 0 0;
}

footer b {
	color: #ccc;
}

footer a {
	color: #ccc;
	border-bottom: 1px dotted;
}

footer a:hover {
	color: #fff;
	border: none;
}

#topButton {
	visibility: hidden;
	position: fixed;
	right: 30px;
	bottom: 30px;
	font-size: 18px;
	color: #222;
	background-color: rgba(255,255,255,0.6);
	border: 3px solid #2aa9e0;
	border-radius: 3px;
	padding: 5px 7px 2px;
	transition: border .5s ease;
}

#topButton:hover {
	background-color: #fff;
	border: 3px solid #222;
}

#topButton > img {
	margin: 0;
}

address {
	font-style: normal;
	margin-bottom: 20px;
}

#copyright {
	color: #aaa;
	background-color: #222;
	padding: 25px 0;
}

#copyright p:last-child {
	font-size: 12px;
	color: #888;
}

#copyright a {
	font-weight: bold;
	color: #aaa;
}

#copyright a:hover {
	color: #ccc;
}

@media only screen and (max-width: 799px) {
	body > header > div {
		text-align: center;
	}

	h1 {
		clear: both;
		width: 100%;
		margin: 15px 0 0px;
	}

	nav ul {
		clear: both;
		width: 100%;
		max-width: 100%;
		margin-bottom: 15px;
	}

	nav ul li {
		width: 33%;
		margin: 0 0 15px 0;
		text-align: center;
	}

	nav ul a {
		width: 100%;
	}

	#putac {
		background-position: 42% top;
	}

	#putac h2 {
		font-size: 32px;
	}

	#putac h2, #putac p {
		width: 65%;
	}

	#putac.nadpis {
		background-position: 42% top;
	}

	#putac.nadpis h2 {
		font-size: 32px;
	}

	#putac.nadpis h2, #putac.nadpis p {
		width: 65%;
	}

	.box {
		width: 100%;
		padding-right: 0;
	}

	main article {
		max-width: 49.9999%;
	}

	footer > div > div {
		clear: both;
		width: 100%;
	}

	footer h4 {
		margin-top: 30px;
	}

	footer > a {
		right: 15px;
		bottom: 15px;
	}
}

@media only screen and (max-width: 499px) {
	nav ul {
		margin-bottom: 0;
	}

	nav ul > li {
		clear: both;
		max-width: 100%;
		width: 100%;
		margin: 0 0 15px;
		text-align: center;
	}

	nav ul a {
		font-size: 110%;
	}

	#putac, #putac.nadpis {
		background-position: 30% top;
	}

	#putac > div, #putac.nadpis > div {
		text-align: center;
	}

	#putac h2 {
		width: 100%;
		margin-top: 80px;
		margin-bottom: 14%;
	}

	#putac.nadpis h2 {
		width: 100%;
		margin-top: 80px;
		margin-bottom: 6%;
	}

	#putac p, #putac.nadpis p  {
		width: 100%;
		margin-bottom: 14%;
	}

	main article {
		max-width: 100%;
		padding: 0;
	}

}

