/* podstawowy arkusz stylow dla strony PTR Kartografia */

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
	font-family: Georgia, serif;
	font-size: 16px;
	margin: 0px;
	padding: 0px;
	background-image: url('images/tlo_small.jpg');
	background-repeat: repeat-y;
	background-position: top center;
}

#calosc {
	padding: 10px;
	background-color: rgba(255,255,255, 0.67);
}

#logo {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: auto;
}

.hidden { display: none; }

a {
	color: #000000;
	/*font-weight: bold;*/
	text-decoration: none;
	border-bottom: 1px dashed #000;
	transition:  border-color 0.33s;
}
a:hover {
	text-decoration: none;
	color: #3d77a9;
	border-bottom: 1px dashed #3d77a9;
	transition:  border-color 0.3s;
}

hr {
	width: 50%;
}

.nav ul {
	list-style-type: none;
	text-align: center;
	padding: 0;
	margin: 1em 0;
	line-height: 2em;
}

.nav li { display: block; }

.nav a {
	font-size: 1.2em;
	font-weight: normal;
	color: black;
	border: solid 1px transparent;
	border-radius: 7px;
	transition: border-color 0.33s;
	padding: 3px;
}
.nav a:hover {
	text-decoration: none;
	border: solid 1px black;
	transition: border-color 0.8s;
	padding: 3px;
}

#footer {
	text-align: center;
	font-size: 0.6em;
	margin: 3px auto;
}

#footer a, #footer a:hover {
	border-top: none;
	border-left: none;
	border-right: none;
}

h1, h2 {
	text-align: center
}

.podpis {
	text-align: right;
	font-style: italic;
}

.artykul {
	text-align: justify;
	margin-bottom: 3em;
}

@media only screen and (min-width: 600px) {
	body {
		padding: 20px 0px;
		background-image: url('images/tlo.jpg');
	}

	#calosc {
		width: 600px;
		margin: auto;
		background-color: rgba(255,255,255, 0.85);
	}

	.artykul {
		margin: 0 auto 3em;
	}

	.kontakt {
		text-align: left;
		width: 40%;
		margin: auto initial 3em;
	}

	.nav ul { line-height: initial; }
	.nav li { display: inline; }
	.nav li::after { content: "\2002\2013\2002"; }
	.nav li:last-child::after { content: ""; }
}
