/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html.kis {
	background-color: #1b1b1b;
}
.kis body {
	background-color: #1b1b1b;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 12px;
	min-width: 1000px;
}

.kis a {
	color: #fff;
	text-decoration: none;
}
.kis a.wikilink2 {
	color: #c80014;
}
.kis a:hover {
	text-decoration: underline;
}
.kis article a, .kis .wrap_panel_news a {
	font-weight: bold;
}
.kis article a.wikilink1, .kis article a.wikilink2, 
.kis article a.urlextern, .kis article a.windows, .kis article a.mail, 
/*.kis article a.mediafile,*/ 
.kis article a.interwiki {
	border-bottom: 1px dashed #888;
}
.kis article a:hover.wikilink1, .kis article a:hover.wikilink2, 
.kis article a:hover.urlextern, .kis article a:hover.windows, .kis article a:hover.mail, 
/*.kis article a:hover.mediafile,*/ 
.kis article a:hover.interwiki {
	border-bottom: 1px dashed transparent;
	text-decoration: none;
}
.kis acronym,
.kis abbr {
	cursor: help;
	border-bottom: 1px dotted #888;
	font-style: normal;
}
.kis em acronym,
.kis em abbr {
	font-style: italic;
}
.kis .content {
	width: 990px;
	margin: 0 auto;
}
.kis .more, .kis .wrap_panel_news .include_readmore a, .wrap_more a {
	margin-left: 5px;
	display: inline-block;
	width: 15px;
	height: 15px;
	background: url('../img/raquo.png') no-repeat left top;
	vertical-align: text-top;
}
.kis .wrap_panel_news .include_readmore a, .kis .wrap_more a {
	overflow: hidden;
	text-decoration: none;
	color: transparent;
}
.kis h1, .kis h2, .kis h3, .kis h4 {
	font-family: Aller, Arial, sans-serif;
	font-weight: normal;
}
.kis h1 {
	font-size: 42px;
}
.kis h2 {
	font-size: 32px;
}
.kis h3 {
	font-size: 24px;
	margin: 0.83em 0;
}
.kis h4 {
	font-size: 18px;
	margin: 1.11em 0;
}
.kis article h1, .kis article h2, #news h2 {
	font-size: 24px;
	margin: 0.83em 0 1.25em;
}
.kis article h3, .wrap_panel_news h3, .kis article h4 {
	font-family: Arial, sans-serif;
	font-size: 12px;
	margin: 1.83em 0 1em;
	font-weight: bold;
}
.kis article h4 {
	font-weight: normal;
	margin-top: 1em;
}
.kis article section {
	margin: 1.83em 0;
}
.kis article {
	margin-bottom: 1.83em;
	position: relative;
}
.kis .dokuwiki {
	font-size: 1.1em;
}
.kis article ul ul, .kis article ul ol, .kis article ol ul, .kis article ol ol,
.kis .wrap_panel_news ul ul, .kis .wrap_panel_news ul ol, .kis .wrap_panel_news ol ul, .kis .wrap_panel_news ol ol {
	margin-top: 0.1em;
	margin-bottom: 0.1em;
}
.kis blockquote {
	margin-left: 20px;
	margin-right: 0;
	padding-left: 10px;
}

.kis table {
	border-collapse: collapse;
	empty-cells: show;
	border-spacing: 0;
	border: 1px solid #555;
}

.kis caption {
	caption-side: top;
	text-align: left;
}
.kis [dir=rtl] caption {
	text-align: right;
}

.kis th,
.kis td {
	padding: .3em .5em;
	margin: 0;
	vertical-align: top;
	border: 1px solid #555;
}
.kis th {
	font-weight: bold;
	background-color: #333;
	text-align: left;
}
.kis [dir=rtl] th {
	text-align: right;
}
.kis div.table {
	overflow-x: auto;
}
.kis table.inline {
	min-width: 50%;
}
.kis table.inline tr:hover td {
	background-color: #222;
}
.kis table.inline tr:hover th {
	background-color: #444;
}


/* header */

#top {
	width: 100%;
	min-width: 1000px;
	position: absolute;
	z-index: 11;
	top: 0;
}
#top .content {
	background: url('../img/bg.png');
	height: 117px;
}
#top a {
	text-decoration: none;
}

#menu-container-switch {
	display: none;
	float: right;
	padding: 18px 18px 0 0;	
}
#menu-container-switch a {
	height: 20px;
	padding: 9px 15px 0;
	display: inline-block;
	background: #5085bb;
	background: -moz-linear-gradient(top,  #5085bb 0%, #356aa0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#356aa0));
	background: -webkit-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: -o-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: -ms-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5085bb', endColorstr='#356aa0',GradientType=0 );
}
#menu-container-switch .icon-bar {
	display: block;
	width: 25px;
	height: 2px;
	background-color: rgb(245, 245, 245);
	border-radius: 1px 1px 1px 1px;
	box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
	margin-bottom: 3px;
}
#links-top {
	float: right;
	word-spacing: 4px;
/*	padding: 20px 12px 0 15px;*/
	font-family: Aller, Arial, sans-serif;
	font-size: 13px;
	padding: 20px 15px 0 0;
}
#links-top a {
	word-spacing: normal;
}
#links-top a:hover {
	/*font-weight: bold;*/
	text-decoration: underline;
}
#links-top p {
	display: inline;
}
#dokuwiki-actions-top {
	float: right;
	padding: 10px 11px 0;
	clear: right;
}
.kis #logo {
	padding: 15px 0 10px 19px;
	display: block;
	float: left;
}

#menu-top {
	clear: left;
}
#menu-langs {
	clear: right;
}
#menu-top>ul, #menu-top .level1 {
	float: left;
}
#menu-langs, #menu-langs>ul, #menu-langs .level1 {
	float: right;
}
.plugin_translation a {
	text-transform: uppercase;
}
.menu-top ul {
	margin: 0;
	padding: 0;
}
.menu-top .level1 {
	position: relative;
}
.menu-top .level1>.li>a, .menu-top .level1>.li>.curid>a {
	font-family: Aller, Arial, sans-serif;
	font-size: 14px;
	display: block;
	text-align: center;
	text-transform: uppercase;
	height: 32px;
	line-height: 32px;
	cursor: default;
	padding: 0 18px;
}
#menu-langs .level1>.li>a, #menu-langs .level1>.li>.curid>a {
	padding-right: 10px;
}
.menu-arrow {
	display: inline-block;
	width: 1px;
	height: 1px;
	border-style: solid;
	border-width: 6px 3px 2px;
	border-color: transparent;
	border-top-color: #5085bb;
	margin-left: 4px;
	vertical-align: middle;
}
#menu-langs .level1:hover .menu-arrow {
	border-color: transparent;
}
.menu-top .level1>.li>a:link, .menu-top .level1>.li>.curid>a:link {
	cursor: pointer;
}
.menu-top .level1:hover>.li>a, #menu-langs .level1:hover>.li>a,
.menu-top .level1:hover>.li>.curid>a, #menu-langs .level1:hover>.li>.curid>a {
	background: #5085bb;
	background: -moz-linear-gradient(top,  #5085bb 0%, #477cb2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#477cb2));
	background: -webkit-linear-gradient(top,  #5085bb 0%,#477cb2 100%);
	background: -o-linear-gradient(top,  #5085bb 0%,#477cb2 100%);
	background: -ms-linear-gradient(top,  #5085bb 0%,#477cb2 100%);
	background: linear-gradient(top,  #5085bb 0%,#477cb2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5085bb', endColorstr='#477cb2',GradientType=0 );
}
.menu-top .level1 ul {
	position: absolute;
	display: none;
	padding: 10px 0;
	width: 100%;
	background: #477cb2;
	background: -moz-linear-gradient(top,  #477cb2 0%, #356aa0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#477cb2), color-stop(100%,#356aa0));
	background: -webkit-linear-gradient(top,  #477cb2 0%,#356aa0 100%);
	background: -o-linear-gradient(top,  #477cb2 0%,#356aa0 100%);
	background: -ms-linear-gradient(top,  #477cb2 0%,#356aa0 100%);
	background: linear-gradient(top,  #477cb2 0%,#356aa0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#477cb2', endColorstr='#356aa0',GradientType=0 );
}
.menu-top .level1:hover ul {
	display: block;
}
.menu-top .level1 li {
	padding: 4px 15px;
	line-height: 16px;
}
#top .menu-top .level1 li:hover a {
	/*font-weight: bold;*/
	text-decoration: underline;
}

/* slider */

.dots .item {
	display: inline-block;
	margin-right: 4px;
	cursor: pointer;
	width: 7px;
	height: 7px;
	background: url('../img/dots.png') no-repeat;
}
#slider-top .dots .item {
	background-position: -7px 0;
}
#slider-top .dots .item.selected {
	background-position: -21px 0;
}

#slider-top {
	max-width: 1920px;
	margin: 0 auto;
	height: 560px;
	position: relative;
	color: #c80014;
}
#slider-top .background {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url('../img/pokrywka.png') no-repeat center center;
	z-index: 3;
}
#slider-top .wrap_slide {
	position: absolute;
	width: 100%;
	height: 560px;
	display: none;
	overflow: hidden;
}
#slider-top .wrap_slide:first-child {
	display: block;
}
#slider-top h2 {
	font-size: 50px;
	line-height: 55px;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
	margin: 0;
}
#slider-top p {
	font-family: Aller, Arial, sans-serif;
	font-size: 30px;
	line-height: 35px;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
	font-weight: normal;
	margin: 0;
}
#slider-top .wrap_button {
	font-family: Arial, sans-serif;
	font-size: 12px;
	margin-top: 25px;
	display: block;
	text-shadow: none;
}
#slider-top .wrap_button a {
	color: #fff;
	font-weight: bold;
	padding: 7px 12px;
	line-height: 15px;
	display: inline-block;
	background: #c80014;
	cursor: pointer;
}
#slider-top .wrap_slide .content {
	padding-top: 250px;
	width: 920px;
	position: relative;
	z-index: 4;
}
#slider-top .dots {
	position: absolute;
	width: 100%;
	top: 510px;
	z-index: 4;
}
#slider-top .dots .content {
	text-align: right;
	width: 970px;
}
#slider-top .wrap_slide_small, #slider-top .wrap_slide_big {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
	background-position: center center;
}
#slider-top .wrap_slide_small {
	display: none;
}
.kis_subpage #slider-top .wrap_slide_small {
	display: inline;
}
.kis_subpage #slider-top .wrap_slide_big {
	display: none;
}
.kis_subpage #slider-top .dots {
	top: 275px;
}
.kis_subpage #slider-top {
	height: 300px;
}
.kis_subpage #slider-top .wrap_slide {
	height: 300px;
}
.kis_subpage #slider-top .dots {
	top: 125px;
}
.kis_subpage #slider-top .background {
	display: none;
}
.kis_subpage #slider-top .wrap_slide .content {
	padding-top: 180px;
	width: 970px;
}
.kis_subpage #slider-top h2 {
	font-size: 30px;
	line-height: 33px;
}
.kis_subpage #slider-top p {
	font-size: 16px;
	line-height: 18px;
}
.kis_subpage #slider-top .wrap_button {
	position: absolute;
	right: 0;
	top: 260px;
	margin: 0;
}

/* articles and panels */

.kis .wrap_panel {
	width: 300px;
	margin-left: 45px;
	float: left;
	overflow: hidden;
}
.kis .wrap_panel_first {
	margin-left: 0;
}
.kis .wrap_panel_last {
	margin-left: 0;
	float: right;
}

#highlighted {
	background: #5085bb;
	background: -moz-linear-gradient(top,  #5085bb 0%, #356aa0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#356aa0));
	background: -webkit-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: -o-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: -ms-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	background: linear-gradient(top,  #5085bb 0%,#356aa0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5085bb', endColorstr='#356aa0',GradientType=0 );
	padding-bottom: 10px;
}
#highlighted p {
	line-height: 1.67em;
	margin: 15px 0;
}

.kis_subpage .section-right {
	float: right;
	width: 300px;
}
.kis_subpage .section-left {
	float: left;
	width: 645px;
}
#main .content {
	position: relative;
}
.kis_start_page #main {
	background: url('../img/boxy_top.png') no-repeat center 40px;
}
.kis_start_page #main .content {
	padding: 40px 0;
}
.kis_start_page #main h2#aktualnosci {
	width: 600px;
	line-height: 35px;
	position: absolute;
	z-index: 8;
	top: -40px;
	left: 0;
}
.kis .wrap_panel_news h3, .wrap_panel_news p, .wrap_panel_news ul {
	margin: 5px 0;
}
.kis .wrap_panel_news {
	background: #323232;
	padding: 10px 10px 20px;
	width: 280px;
	position: relative;
	min-height: 130px;
}
.kis .wrap_panel_news .include_readmore a {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.kis_subpage .section-right .wrap_panel_news {
	margin: 30px 0;
	float: none;
}

/* footer */

.kis footer {
	background: url('../img/koperta.png') no-repeat center top;
}
.kis footer .content {
	padding: 20px 0 30px;
}
.kis footer ul {
	color: #c80014;
	margin: 20px 0;
	padding-left: 15px;
	list-style-type: square;
	line-height: 1.67em;
}
.kis footer p {
	line-height: 1.67em;
}
.kis footer .wrap_panel {
	width: auto;
	margin-right: 40px;
}
.kis footer .wrap_panel_last {
	margin-right: 0;
	text-align: right;
}
.kis footer .wrap_panel_last a {
	text-decoration: underline;
}
.kis footer .wrap_panel_last a:hover {
	text-decoration: none;
}
#bottom, #bottom a {
	color: #386da3;
	font-size: 11px;
	line-height: 1.8em;
}
#bottom a {
	text-transform: uppercase;
}
#bottom {
	border-top: 1px solid #2f2f2f;
}
.copyright p {
	display: inline;
}
#footer_user_tools {
	float: right;
}
#footer_user_tools ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#footer_user_tools li {
	display: inline;
	margin-left: 10px;
}

.wrap_social_links {
	background: url('../img/ico_social.png') no-repeat;
	width: 30px;
	height: 30px;
	display: block;
	float: right;
	margin-left: 10px;
	margin-top: 20px;
}
.wrap_social_links a {
	display: block;
	width: 30px;
	height: 30px;
	color: transparent;
	text-transform: none;
}
.wrap_social_links_yt:hover {
	background-position: 0 -35px;
}
.wrap_social_links_fb {
	background-position: -70px 0;
}
.wrap_social_links_fb:hover {
	background-position: -70px -35px;
}
.wrap_social_links_tw {
	background-position: -105px 0;
	margin-right: 0;
}
.wrap_social_links_tw:hover {
	background-position: -105px -35px;
}

.kis #dw__toc {
	background: none;
	border-left: 1px dashed #ccc;
	margin-right: -1em;
}
.kis #dw__toc h3 {
	margin-top: 1em;
}
.kis #dokuwiki__pagetools ul li a {
	color: #2b73b7;
}
.kis fieldset {
	max-width: 500px;
	margin: 0 auto;
	text-align: right;
}
.kis fieldset legend {
	text-align: left;
}
.kis fieldset label.block {
	text-align: right;
	display: block;
}
.kis label.block select, .kis label.block input.edit {
	width: 70%;
	max-width: 300px;
	min-width: 200px;
}


#search-top {
	width: 145px;
	float: right;
	padding-top: 16px;
	padding-right: 12px;
	position: relative;
}
#search-top a {
	color: #2b73b7;
}
#search-top a:hover {
	text-decoration: underline;
}
#search-top ul {
	margin: 0;
}
.kis form.search .ajax_qsearch {
	display: none;
	margin-top: 1px;
	width: 133px;
	box-shadow: none;
}
.kis form.search input.button {
    background: transparent url(../images/search.png) no-repeat 0 0;
    border-width: 0;
    width: 19px;
    height: 14px;
    text-indent: -99999px;
    box-shadow: none;
    padding: 0;
	margin-left: -23px;
	overflow: hidden;
	color: transparent;
}
.kis form.search input.edit {
	width: 115px;
	height: 19px;
	line-height: 19px;
	padding: 3px 27px 3px 3px;
	border: none;
	border-radius: 2px 2px 2px 2px;
	background: #dedede;
}
.kis .search_results dt {
	margin: 1.8em 0 0.8em;
}
.kis .search_results dd {
	margin: 0.8em 0;
}
.kis .search_hit {
	color: #fff200;
	font-weight: bold;
}
.lt-ie8 form.search .ajax_qsearch {
	left: 0;
	top: 43px;
}
.lt-ie8 #search-top {
	z-index: 20;
}


/* responsive */

@media only screen and (max-width: 1024px) {
	
	#slider-top .dots .content, #slider-top .wrap_slide .content, .kis_subpage #slider-top .wrap_slide .content {
		width: 98%;
	}
	.kis .content {
		width: auto;
		padding-left: 0.5%;
		padding-right: 0.5%;
	}
	.kis footer .content {
		padding-left: 1%;
		padding-right: 1%;
	}
	.kis footer {
		background-position: right top;
	}
	.kis body {
		min-width: 300px;
	}
	#top {
		min-width: 300px;
	}
	#top .content {
		width: 100%;
		padding: 0;
		height: auto;
	}
	.kis #logo {
		padding-bottom: 15px;
	}
	#menu-container-switch {
		display: block;
	}
	#menu-container {
		display: none;
	}
	.menu-container-visible #menu-container {
		display: block;
	}
	.menu-container-visible #top {
		position: relative;
	}
	.menu-container-visible #slider-top {
		position: absolute;
	}
	#menu-container {
		clear: both;
		background: #5085bb;
		background: -moz-linear-gradient(top,  #5085bb 0%, #356aa0 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5085bb), color-stop(100%,#356aa0));
		background: -webkit-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
		background: -o-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
		background: -ms-linear-gradient(top,  #5085bb 0%,#356aa0 100%);
		background: linear-gradient(top,  #5085bb 0%,#356aa0 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5085bb', endColorstr='#356aa0',GradientType=0 );
		padding: 10px 0;
	}
	.menu-top .level1 > .li > a, .menu-top .level1 > .li > .curid > a {
		display: inline-block;
	}
	#links-top, 
	#menu-top, #menu-top>ul, #menu-top .level1,
	#menu-langs, #menu-langs>ul, #menu-langs .level1 {
		float: none;
	}
	#links-top {
		padding: 0 0 0 18px;
		font-size: 14px;
		font-family: Aller, Arial, sans-serif;
		text-transform: uppercase;
		line-height: 32px;
		float: left;
	}
	#links-top a:hover {
		font-weight: normal;
	}
	#search-top {
		display: block;
		width: auto;
		float: none;
		padding: 7px 48px 10px 18px;
	}
	#dokuwiki-actions-top {
		padding: 5px 18px 0 0;
	}
	.kis form.search input.button {
		position: absolute;
		right: 20px;
		top: 13px;
	}
	.kis form.search input.edit {
		width: 100%;
		background: #fff;
	}
	.kis form.search .ajax_qsearch {
		width: auto;
	}
	.menu-top .level1 ul {
		position: static;
		/*display: block;*/
	}
	.menu-top .level1:hover>.li>a, #menu-langs .level1:hover>.li>a,
	.menu-top .level1:hover>.li>.curid>a, #menu-langs .level1:hover>.li>.curid>a,
	.menu-top .level1 ul {
		background: none;
		filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	}
	.menu-top .level1>.li>a, .menu-top .level1>.li>.curid>a {
		text-align: left;
	}
	#menu-top .level1 ul {
		padding: 0 0 0 40px;
		width: auto;
	}
	#menu-langs .level1 .li , #menu-langs .level1 li {
		display: inline-block;
	}
	#menu-langs .level1 > .li > a, #menu-langs .level1 > .li > .curid > a {
		display: inline-block;
	}
	#menu-langs .level1:hover ul, #menu-langs .level1:hover .plugin_translation /*, #menu-langs .level1 ul */ {
		display: inline;
	}
	
	.kis_subpage .section-right {
		width: 30%;
	}
	.kis_subpage .section-left {
		width: 65%;
	}
	.kis .wrap_panel {
		width: 30%;
		margin-left: 4.5%;
	}
	.kis footer .wrap_panel {
		margin-right: 4%;
	}
	.kis footer .wrap_panel_last {
		margin-right: 0;
	}
	.kis .wrap_panel_news {
		padding: 1% 1% 20px;
		width: 28%;
		position: relative;
		min-height: 130px;
	}
	.kis .wrap_panel_first, .kis .wrap_panel_last {
		margin-left: 0;
	}
	.kis_subpage .section-right .wrap_panel {
		margin-left: 0;
		width: auto;
	}
	.kis_subpage .section-right .wrap_panel_news {
		padding: 3.5% 3.5% 20px;
	}
	#highlighted .wrap_panel img {
		max-width: 100%;
	}
	.kis_start_page #main {
		background-image: none;
	}
	.kis_start_page #main .content {
		padding-top: 0;
		padding-bottom: 30px;
	}
	.kis_start_page #main h2#aktualnosci {
		width: auto;
		line-height: normal;
		position: static;
		z-index: auto;
	}
	#slider-top .wrap_slide_small {
		display: inline;
	}
	#slider-top .wrap_slide_big {
		display: none;
	}
	#slider-top {
		height: 300px;
	}
	#slider-top .wrap_slide {
		height: 300px;
	}
	#slider-top .dots, .kis_subpage #slider-top .dots {
		top: 80px;
	}
	#slider-top .background {
		display: none;
	}
	#slider-top .wrap_slide .content, .kis_subpage #slider-top .wrap_slide .content {
		padding-top: 160px;
	}
	#slider-top h2 {
		font-size: 30px;
		line-height: 33px;
	}
	#slider-top p {
		font-size: 16px;
		line-height: 18px;
	}
	#slider-top .wrap_button {
		position: absolute;
		right: 0;
		top: 260px;
		margin: 0;
	}
	.menu-top .level1 ul { /* uncover menu items for low-res displays */
		position: static;
		display: block;
	}

}

@media only screen and (max-width: 800px) {
	
	.kis footer .wrap_panel {
		margin-right: 2.5%;
		margin-left: 0;
	}
	.kis footer .wrap_panel_last {
		margin-right: 0;
	}

}
@media only screen and (max-width: 750px) {
	
	.kis body {
		font-size: 11px;
	}
	.kis h3 {
		font-size: 21px;
	}
	.kis h4 {
		font-size: 16px;
	}
	.wrap_panel_news h3, .kis article h3 {
		font-size: 11px;
	}
	.kis footer .wrap_panel {
		margin-right: 20px;
	}
	.kis footer .wrap_panel_last {
		margin-right: 0;
	}
}
@media only screen and (max-width: 639px) {
	.kis_subpage .section-right {
		display: none;
	}
	.kis_subpage .section-left {
		width: auto;
	}
	#highlighted .wrap_panel {
		width: auto;
		float: none;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
	.kis .wrap_panel_news {
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
		min-height: 0;
		margin-bottom: 10px;
	}
	#footer_links {
		float: left;
	}
	#footer_links .wrap_panel {
		width: auto;
		float: none;
	}
	.kis #logo img {
		width: 300px;
		height: auto;
	}
	#menu-container-switch {
		padding-top: 12px;
	}
	.kis #dw__toc {
		margin-right: 0;
	}
	.kis #dokuwiki__pagetools {
		display: none;
	}
	.kis footer {
		background-image: none;
	}
}
@media only screen and (max-width: 420px) {
	#links-top {
		clear: right;
	}
	.kis #logo {
		width: 67%;
	}
	.kis #logo img {
		width: 100%;
	}
/*	#menu-container-switch {
		padding-bottom: 12px;
		padding-top: 0;
	}*/
	#footer_links {
		float: none;
	}
	.kis footer .wrap_social_links {
		float: left;
		margin-left: 0;
		margin-right: 10px;
	}
	.kis footer .wrap_panel {
		width: auto;
		float: none;
		margin-left: 5px;
		margin-right: 5px;
		text-align: left;
	}
	.kis #dw__toc {
		float: none;
		width: auto;
		margin-left: 0;
		border-bottom: 1px dashed #ccc;
		border-left: none;
	}
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *	`contenteditable` attribute is included anywhere else in the document.
 *	Otherwise it causes space to appear at the top and bottom of elements
 *	that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *	`:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
