/* ==========================================================================
   c90.pl - style wspolne
   Przepisane z c90pl-old/public/styles/site.scss (SCSS -> czysty CSS).
   Bootstrap zostal usuniety; ponizej minimalny reset zastepujacy to,
   na czym stary arkusz polegal.
   ========================================================================== */

/* --- reset (zamiast Bootstrapa) ------------------------------------------ */

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

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: #999;
	background-color: #4f3e31;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.428571429;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: inherit;
	font-weight: normal;
	color: #ccc;
	line-height: 1.1;
}

h1 {
	font-size: 36px;
	margin: 20px 0 10px;
}
h2 {
	font-size: 30px;
	margin: 20px 0 10px;
}
h3 {
	font-size: 24px;
	margin: 20px 0 10px;
}
h4 {
	font-size: 18px;
	margin: 10px 0;
}
h5 {
	font-size: 14px;
	margin: 10px 0;
}
h6 {
	font-size: 12px;
	margin: 10px 0;
}

p {
	margin: 0 0 10px;
}

ul,
ol {
	margin-top: 0;
	margin-bottom: 10px;
}

img {
	border: 0;
	vertical-align: middle;
}

a {
	background-color: transparent;
}

.text-muted {
	color: #777;
}

/* --- typografia i linki --------------------------------------------------- */

body a,
body a:hover {
	text-decoration: none;
	color: #a67d5e;
}

a,
a:link,
a:visited {
	color: #856248;
}

blockquote {
	border: none;
	font-style: italic;
	font-size: 1.2em;
	font-family: Georgia, serif;
	padding: 10px 20px 10px 0;
	margin: 0 0 20px;
}

.fancy {
	font-style: italic;
	font-family: Georgia, serif;
}

img.emoji {
	display: inline;
	border: none;
	box-shadow: none;
	height: 1em;
	width: 1em;
	margin: 0 0.07em;
	vertical-align: -0.1em;
	background: none;
	padding: 0;
}

.alignleft {
	float: left;
}

img.alignleft {
	padding: 4px 4px 4px 0;
	margin: 3px 10px 2px 0;
	display: inline;
	max-width: 760px;
}

.alignright {
	float: right;
}

img.alignright {
	padding: 4px 0 4px 4px;
	margin: 3px 0 2px 10px;
	display: inline;
	max-width: 760px;
}

/* --- menu boczne ---------------------------------------------------------- */

#menu {
	height: 100%;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.59);
	margin-left: 30px;
	width: 260px;
	padding: 100px 25px 0;
	z-index: 1;
}

#menu .sitename {
	font-size: 36px;
	margin: 0;
}

#menu h1 a {
	color: #856248;
}

#menu h1 a:hover {
	color: #a67d5e;
}

#menu .description {
	font-size: 0.7em;
	font-style: italic;
	color: #aaa;
	margin-top: 40px;
	margin-bottom: 20px;
}

#menu .menu-list {
	padding: 0;
	margin: 0;
}

#menu .menu-list .menu-item {
	list-style: none;
	border-bottom: 1px #8a8a8a solid;
}

#menu .menu-list .menu-item:first-child {
	border-top: 1px #8a8a8a solid;
}

#menu .menu-list .menu-item a {
	color: #aaa;
	padding: 16px;
	display: block;
}

#menu .menu-list .menu-item a:hover {
	background-color: #4f3e31;
	color: #c4af9e;
}

#menu .menu-list .menu-item.active a {
	color: #856248;
}

/* --- kolumna tresci ------------------------------------------------------- */

.container {
	width: 795px;
	font-size: 14px;
	padding-left: 15px;
	padding-right: 15px;
}

#body {
	padding-bottom: 50px;
	position: relative;
	z-index: 0;
}

#body .container {
	margin-left: 320px;
	padding-top: 15px;
}

#body .container h1 {
	font-size: 26px;
	color: #ccc;
	padding-bottom: 40px;
	font-style: italic;
	font-family: Georgia, serif;
}

/* --- tlo strony glownej --------------------------------------------------- */

.background-image {
	position: fixed;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position-x: right;
	background-position-y: bottom;

	opacity: 0;
	animation-duration: 50s;
	animation-name: fadeInOutOut;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}

.background-image.img1 {
	background-image: url(/images/bg1.jpg);
	animation-delay: 0s;
}
.background-image.img2 {
	background-image: url(/images/bg2.jpg);
	animation-delay: 10s;
}
.background-image.img3 {
	background-image: url(/images/bg3.jpg);
	animation-delay: 20s;
}
.background-image.img4 {
	background-image: url(/images/bg4.jpg);
	animation-delay: 30s;
}
.background-image.img5 {
	background-image: url(/images/bg5.jpg);
	animation-delay: 40s;
}

@keyframes fadeInOutOut {
	0% {
		opacity: 0;
	}
	12% {
		opacity: 1;
	}
	20% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
