/* RESETY I OGÓLNE */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{ 
	margin: 0;
	padding: 0;
}
div{
	position: relative;
}
table{
	border-collapse: collapse;
	border-spacing: 0;
}
a img{
	border: none;
}
p{
	line-height: 24px;
	margin: 0 0 20px 0;
}
a{
	color: #2200CC;
	text-decoration: none;
}
a:visited{
	color: #551A8B;
}
input.button{
	background: #D4D0C8;
	clear: both;
	display: inline;
	font-size: 16px;
	overflow: visible;
	padding: 0 5px 0 5px;
	width: auto;
}

/* POMOCNICZNE */
.clear{
	clear: both;
	display: block;
	font-size: 0;
	height: 1px;
	margin: -1px 0 0 0;
}

/* STRUKTURA */
body{
	background: url(../gfx/body_bck01.png) repeat-x 0 0;
	color: #333;
	font-family: Arial, Verdana, sans-serif;
	font-size: 14px;
	margin: 0;
}
#wraper{
	overflow: visible;
}
#header_inside,
#main_menu,
#content,
#boxes,
#sponsorzy,
#footer{
	margin: 0 auto;
	width: 960px;
}
#content{
	clear: both;
	overflow: hidden !important;
	overflow: visible; /* dla IE6 */
	/* minimalna wysokość */
	min-height: 400px;
	height: auto !important;
	height: 400px; /* dla IE6 */
}
#content_sidebar{
	display: inline;
	float: left;
	width: 250px;
}
#content_main{
	display: inline;
	float: right;
	width: 680px;
}

/* BANNERY */
div.sponsor_750_100{
	height: 100px;
	line-height: 100px;
	margin: 0 auto 30px auto;
	text-align: center;
	width: 750px;
}
div.sponsor_160_600{
	height: 600px;
	line-height: 600px;
	margin: 0 0 50px 0;
	text-align: center;
	width: 160px;
}

/* HEADER, LOGO, MENU */
#header{
	height: 200px;
	margin: 0;
}
#header_inside{
	background: url(../gfx/header_bck.gif) no-repeat 90px 5px;
	height: 200px;
}
h1 a{
	background: url(../gfx/logo.png) no-repeat 0 0;
	display: block;
	float: left;
	height: 48px;
	margin: 45px 0 0 0;
	outline: none;
	text-indent: -9999px;
	width: 380px;
}
a#patronat{
	background: url(../gfx/patronat.png) no-repeat 0 0;
	display: block;
	float: left;
	height: 64px;
	margin: 25px 0 0 80px;
	outline: none;
	text-indent: -9999px;
	width: 148px;
}
#header_links{
	display: inline;
	float: right;
	font-size: 16px;
	height: 25px;
	margin: 20px 0 0 0;
}
#header_links a:link,
#header_links a:visited{
	color: #333;
	font-size: 16px;
	font-weight: bold;
}
#header_links a:hover{
	text-decoration: underline;
}
ul#main_menu{
	bottom: 20px;
	clear: both;
	height: 50px;
	list-style: none;
	margin: 0 auto;
	position: absolute;
}
ul#main_menu li{
	display: inline;
	height: 50px;
}
ul#main_menu li a:link,
ul#main_menu li a:visited{
	color: #003399;
	display: block;
	float: left;
	font: bold 20px Georgia, serif;
	height: 50px;
	line-height: 50px;
	margin: 0 35px 0 0;
	padding: 0 20px 0 42px;
}
ul#main_menu li a:hover span,
ul#main_menu li.active a span{
	border-bottom: 1px solid #999;
	color: #000;
}
ul#main_menu li a#home{
	background: url(../gfx/menu_home.png) no-repeat 0 30%;
}
ul#main_menu li a#rozwiaz{
	background: url(../gfx/menu_testy.png) no-repeat 0 40%;
}
ul#main_menu li a#idea{
	background: url(../gfx/menu_zasady.png) no-repeat 0 45%;
}
ul#main_menu li a#nagrody{
	background: url(../gfx/menu_nagrody.png) no-repeat 0 35%;
}
ul#main_menu li a#rankingi{
	background: url(../gfx/menu_rankingi.png) no-repeat 0 40%;
	margin: 0;
}

/* MENU JĘZYKOWE BOCZNE */
div.changelang{
	margin: 5px 0 0 0;
}
div.changelang h3{
	font: bold 18px Georgia, serif;
	margin: 0 0 10px 0;
}
div.changelang ul{
	font-size: 16px;
	list-style: none;
}
div.changelang ul li {
	margin: 0 0 10px 0;
	padding: 0 0 0 22px;
}
div.changelang ul li#gb{
	background: url(../gfx/flagi_small/gb.png) no-repeat 0 70%;
}
div.changelang ul li#de{
	background: url(../gfx/flagi_small/de.png) no-repeat 0 70%;
}
div.changelang ul li#it{
	background: url(../gfx/flagi_small/it.png) no-repeat 0 70%;
}
div.changelang ul li#fr{
	background: url(../gfx/flagi_small/fr.png) no-repeat 0 70%;
}
div.changelang ul li#es{
	background: url(../gfx/flagi_small/es.png) no-repeat 0 70%;
}
div.changelang ul li a:link,
div.changelang ul li a:visited{
	color: #7F7F7F;
}
div.changelang ul li a:hover,
div.changelang ul li.active a:link,
div.changelang ul li.active a:visited{
	border-bottom: 1px solid #999;
	color: #000;
}

/* STRONY STATYCZNE */
#content_main h2{
	border-bottom: 1px solid #EEE;
	font: bold 24px Georgia, serif;
	margin: 0 0 25px 0;
	padding-bottom: 5px;
}
#content_main h3{
	font: bold 16px Georgia, serif;
	margin: 12px 0 10px 0;
}

/* STRONA GŁÓWNA */
#story{
	font: 16px/22px Arial, sans-serif;
	margin: 20px 0 20px 0;
}
#story h2{
	font-size: 20px;
	margin: 10px 0 10px 0;
}
#boxes{
	margin-bottom: 20px;
	overflow: hidden;
}
#boxes div#wez_udzial{
	background: #FFDD86;
	background: #FFC455;
	border: 1px solid #FFA500;
	display: inline;
	height: 245px;
	float: left;
	margin: 0 30px 0 0;
	padding: 20px;
	width: 308px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#boxes div#wez_udzial ul{
	margin: 10px 0 0 15px;
	padding-left: 15px;
}
#boxes div#wez_udzial ul li{
	margin: 3px 0 3px 0;
}
a#przycisk_wez_udzial:link,
a#przycisk_wez_udzial:visited{
	background: #4F94CD;
	color: #FFF;
	display: block;
	font: bold 24px Arial, sans-serif;
	height: 40px;
	line-height: 40px;
	margin: 10px auto 0 auto;
	text-align: center;
	width: 200px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
a#przycisk_wez_udzial:hover{
	background: #607B8B;
}
#boxes div#zgarnij_nagrody{
	background: #FFF url(../gfx/box_bck01.png) repeat-x 0 0;
	border: 1px solid #DCDCDC;
	display: inline;
	float: left;
	height: 245px;
	margin: 0 0 0 0;
	padding: 20px;
	width: 538px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#boxes div#wez_udzial h2,
#boxes div#zgarnij_nagrody h2{
	font-size: 18px;
	margin: 0 0 10px 0;
}
#boxes div#zgarnij_nagrody table{
	border: 0;
	border-collapse: collapse;
	margin: 10px auto 0 auto;
	width: 100%;
}
#boxes div#zgarnij_nagrody table th,
#boxes div#zgarnij_nagrody table td{
	padding: 5px;
	text-align: center;
	width: 33%;
}
#boxes div#zgarnij_nagrody ul{
	font-weight: bold;
	list-style: none;
	margin: 0 0 0 35px;
}
#boxes div#zgarnij_nagrody ul li{
	background: url(../gfx/star.png) no-repeat 0 50%;
	margin: 0 0 15px 0;
	padding-left: 25px;
	text-align: left;
}

/* REJESTRACJA, ANKIETA, LOGOWANIE */
div#formularz_zapisu,
div#formularz_logowania,
div#formularz_ankieta{
	overflow: hidden;
	width: 100%;
}
div#dane_podstawowe,
div#zgody,
div#metryczka,
div#ankieta{
	width: 100%; /*  IE6 */
}
div#formularz_zapisu form{
	position: relative;
}
div#zgody{
	clear: both;
	float: left;
	font: 11px Tahoma, sans-serif;
	padding: 15px 0 15px 0; /* margin nie działa pod IE */
}
div.formrow{
	clear: both;
	float: left;
	padding: 0 0 15px 0; /* margin nie działa pod IE */
	overflow: hidden;
	text-align: justify;
	width: 100%;	
}
fieldset{
	border: 0;
}
#dane_podstawowe label,
#metryczka label{
	clear: both;
	display: block;
	float: left;
	width: 160px;
}
#zgody label{
	cursor: pointer;
	float: left;
	margin-left: 30px;
	width: 500px;
}
#ankieta label{
	cursor: pointer;
}
#dane_podstawowe input,
#metryczka input{
	border: 1px solid #999999;
	display: block;
	float: left;
	padding: 2px;
	width: 220px;
}
#dane_podstawowe input:focus,
#metryczka input:focus{
	border: 1px solid #000;
}
#dane_podstawowe input[type=text]:focus,
#metryczka input[type=text]:focus,
#dane_podstawowe input[type=password]:focus,
#metryczka input[type=password]:focus{
	outline: 0;
}
#zgody input{
	float: left;
	margin: 0 !important;
	margin: -3px 0 0 0; /* IE6 */
	position: relative;
	width: 20px;
}
#ankieta p.pytanie{
	font-weight: bold;
	margin-bottom: 5px;
}
#ankieta ul.odpowiedz{
	list-style: none;
}
#ankieta ul.odpowiedz li{
	margin: 8px 0 8px 0;
}
input#rejestracja{
	font-size: 20px;
}
input#logowanie,
input#zmiana_danych{
	margin: 0 0 0 160px;
}
img.infoicon{
	float: left;
	margin: 3px 0 0 10px;
}
#tooltip {
	background: #F1F7FF;
	border: 1px solid #CAE1FF;
	font-size: 11px;
	padding: 5px;
	position: absolute;
	z-index: 3000;
	opacity: 0.8; /* porządne przeglądarki */
	-khtml-opacity: 0.8; /* Safari 1.x */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
	filter: alpha(opacity=80); /* IE 5-7 */
	-moz-opacity: 0.8; /* Netscape */
	-khtml-opacity: 0.8; /* Safari 1.x */
}
#tooltip h3, #tooltip div{
	font-size: 11px; /* http://sandipmore.blogspot.com/2009/01/jquery-tooltip-bug-ie7-bigger-fonts.html */
	margin: 0;
}
.error{
	clear: both;
	color: red;
	display: block;
	font: 11px Tahoma, sans-serif;
}
.field_error {
	background-color: #FFBABA;	
}
.label_error {
	color: red;
}
.pole_wymagane{
	color: red;
}
div.alt_action{
	border-left: 1px solid #EEE;
	font-weight: bold;
	padding-left: 10px;
	position: absolute;
	right: 0;
	top: 60px;
	width: 190px;
}
div.alt_action a{
	font-weight: normal;
}

/* ZRÓB TEST - JĘZYKI */
div#znicz{
	display: inline;
	float: left;
	height: 350px;
	margin-right: 20px;
	width: 100px;
}

div#jezyki{
	display: inline;
	float: left;
	height: 310px;
	width: 456px;
}

div#jezyki ul{
	list-style: none;
	margin: 0;
}

div#jezyki ul li{
	display: inline;
}

div#jezyki ul li a{
	border: 1px solid #FFF;
	color: #333;
	display: block;
	float: left;
	font-size: 12px;
	height: 20px;
	padding: 68px 0 0 0;
	text-align: center;
	width: 86px;
}

div#jezyki ul li a:hover{
	border: 1px solid #333;
	display: block;
	float: left;
}

div#jezyki ul li a#en{background: url(../gfx/flagi/en_big.jpg) no-repeat 15px 8px;}
div#jezyki ul li a#de{background: url(../gfx/flagi/de_big.jpg) no-repeat 15px 8px;}
div#jezyki ul li a#fr{background: url(../gfx/flagi/fr_big.jpg) no-repeat 15px 8px;}
div#jezyki ul li a#es{background: url(../gfx/flagi/es_big.jpg) no-repeat 15px 8px;}
div#jezyki ul li a#it{background: url(../gfx/flagi/it_big.jpg) no-repeat 15px 8px;}

/* ZRÓB TEST - DYSCYPLINY */
ul#dyscypliny{
	list-style: none;
	margin: 0;
	width: 100%;
}

ul#dyscypliny li{
	border-bottom: 1px solid #EEE;
	clear: both;
	display: block;
	height: 56px;
	margin-bottom: 20px;
	padding: 0 0 0 0;
	width: 100%;
}

ul#dyscypliny li#n1{
	background: url(../gfx/dyscypliny/1.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n2{
	background: url(../gfx/dyscypliny/2.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n3{
	background: url(../gfx/dyscypliny/3.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n4{
	background: url(../gfx/dyscypliny/4.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n5{
	background: url(../gfx/dyscypliny/5.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n6{
	background: url(../gfx/dyscypliny/6.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n7{
	background: url(../gfx/dyscypliny/7.jpg) no-repeat 0 0;
}
ul#dyscypliny li#n8{
	background: url(../gfx/dyscypliny/8.jpg) no-repeat 0 0;
}

ul#dyscypliny li p.nazwa{
	display: inline;
	float: left;
	font-size: 16px;
	margin: 17px 0 0 70px;
}

ul#dyscypliny li p.status{
	display: inline;
	float: right;
	font-size: 14px;
	margin: 17px 0 0 0;
	text-align: right;
}

ul#dyscypliny li p.zaliczony{
	color: red;
	cursor: not-allowed;
}
ul#dyscypliny li p.otwarty a:link,
ul#dyscypliny li p.otwarty a:visited{
	color: green;
	text-decoration: underline;
}
ul#dyscypliny li p.nieodblokowany{
	color: gray;
	cursor: not-allowed;
}

/* WYGLĄD TESTU */
p.akapit{	
	line-height: 24px;
}
ol.lista_zdan,
ul.dialog{
	margin: 0 0 0 15px;
	padding: 0 0 0 15px;
}
ol.lista_zdan li,
ul.dialog li{
	line-height: 24px;
	margin: 5px 0 5px 0;
}
ol.lista_zdan{
	list-style-type: lower-alpha;
}
ul.dialog{
	list-style-image: url(../gfx/list-image-myslnik.gif);
	list-style-type: circle;
}
input.prev_question{
	clear: none;
	float: left;
}
input.next_question,
input.finish{
	clear: none;
	float: right;
}

/* WYGLĄD TESTU - PYTANIA Z TEKSTEM DO UZUPEŁNIENIA */
input.test_big_newline,
input.test_average{
	border: 1px solid #999;
	padding: 2px;
}
input.test_big_newline:focus,
input.test_average:focus{
	border: 1px solid #000;
}
input.test_big_newline[type=text]:focus,
input.test_average[type=text]:focus{
	outline: 0;
}
input.test_big_newline{ /* ENE4Z3 */
	width: 300px;
}
input.test_average{ /* ENE8Z5 */
	width: 150px;
}
span.rozstrzal{ /* ENE8Z1 */
	letter-spacing: 4px;
}

/* WYGLĄD TESTU - PYTANIA Z TEKSTEM DO DOPASOWANIA */
table.polacz_pary{
	border: 1px solid #CAE1FF;
}
table.polacz_pary tr{
	height: 40px; /* dla FF 2.0 */
}
table.polacz_pary td{
	padding: 5px;
}
.draggable{
	background: #F1F7FF;
	border: 1px solid #CAE1FF;
	clear: none !important;
	clear: both; /* dla IE6 */
	cursor: move;
	display: inline;
	float: left;
	/*height: 22px;
	line-height: 22px;*/
	margin: 0 5px 5px 0;
	padding: 3px;
	width: auto;
	z-index: 5;
}
.draggable p{
	margin: 0;
	white-space: nowrap;
}
.draggable_used{
	color: #A6A6A6;
	text-decoration: line-through;
}
.droppable{
	border: 1px dotted black;
	color: #A6A6A6;
	display: inline-block;
	/*height: 22px;*/
	margin: 4px 2px 4px 2px;
	padding: 1px 3px 1px 3px;
	width: auto;
	z-index: 4;
}
.ui-state-hover{
	background: #FFF !important;
}
.droppable_used{
	border: 1px solid black;
	color: #333;
}

/* WYGLĄD TESTU - PYTANIA JEDNOKROTNEGO WYBORU */
div.choice_elements{
	margin: 0 0 0 20px;
}
div.choice_elements input.single_choice_radio{
	margin: 5px 5px 5px 0;
	vertical-align: middle;
}

/* WYGLĄD TESTU - PODPOWIEDZI */
#instructions{
	border-right: 1px solid #EEE;
	color: #999 !important;
	font: 11px Tahoma, Arial, sans-serif;
	margin: 5px 0 0 0;
	overflow: hidden;
	padding: 0 10px 10px 0;
	width: 220px;
}
#instructions h3{
	font: bold 15px Georgia, serif;
	margin: 0 0 10px 0;
}
#instructions h3 em{
	display: block;
	font: italic normal 12px Arial, sans-serif;
}
#instructions p{
	line-height: 14px;
	margin-bottom: 5px;
}


/* NAGRODY */
.prize_item{
	border-bottom: 1px solid #EEE;
	clear: both;
	overflow: hidden;
	padding: 10px 0 10px 0;
	width: 100%;
}
.prize_item .foty{
	float: left;
	margin: 10px 20px 10px 10px;
}

/* RANKING */
#user_position{
	font-size: 16px;
	margin: 10px 0 10px 0;
}
table#ranking{
	border-collapse: collapse;
	position: relative;
	table-layout: fixed;
	width: 100%;
}
table#ranking,
table#ranking tr th,
table#ranking tr td{
	border: 1px solid #999;
}
table#ranking th#pozycja{ width: 9%; }
table#ranking th#nick{	width: 39%; }
table#ranking th#punkty{ width: 9%; }
table#ranking th#czas{ width: 25%; }
table#ranking th#wykonane{ width: 18%; }

table#ranking tr th{
	background: #4A98AF;
	background: #D8E3E9;
	font: bold 14px Georgia, serif;
	padding: 8px 5px 8px 5px;
	text-align: center;
}
table#ranking tr,
table#ranking td{		
	vertical-align: middle;
}
table#ranking tr.even{
	background: #F8FBFC;
}
table#ranking td{
	padding: 8px 5px 8px 5px;
	text-align: left;
}
table#ranking tr:hover td{
	background: #ECFBD4;
}

/* NAGRODY GWARANTOWANE */
#nagrody_pobierz ul{
	list-style: none;
}
#nagrody_pobierz ul li{
	height: 80px;
}
#nagrody_pobierz img{
	float: left;
	margin: 0 10px 0 0;
	width: 52px;
}
#nagrody_pobierz ul li a.down:link,
#nagrody_pobierz ul li a.down:visited{
	color: #1E5B7E;
	display: block;
	font: bold 16px Arial, sans-serif;
	padding: 5px 0 0 0;
}
#nagrody_pobierz ul li a.down:hover{
	text-decoration: underline;
}
#nagrody_pobierz span{
	color: #999;
	display: block;
	font: 11px Tahoma, sans-serif;
	margin: 5px 0 0 0;
}

/* BOX SPONSORÓW */
#sponsorzy{
	clear: both;
	margin: 20px auto 0 auto;
}
#sponsorzy h2{
	color: #999;
	font-size: 12px;
	text-transform: uppercase;
	width: 960px;
}
#sponsorzy #logotypy{
	border: 1px solid #EEE;
	border-width: 1px 0 1px 0;
	height: 100px;
	list-style: none;
	overflow: hidden;
	width: 960px;
}
#sponsorzy #logotypy li{
	display: inline;
}
#sponsorzy #logotypy a{
	color: #333;
	display: block;
	float: left;
	height: 100px;
	margin: 0 70px 0 0;
	outline: none;
	padding: 0;
	text-indent: -9999px;
}
#sponsorzy #logotypy a#eskk{
	background: url(../gfx/logo_eskk.gif) no-repeat 0 50%;
	width: 143px;
}
#sponsorzy #logotypy a#merlin{
	background: url(../gfx/logo_merlin.jpg) no-repeat 0 50%;
	width: 180px;
}
#sponsorzy #logotypy a#megaslownik{
	background: url(../gfx/logo_megaslownik.png) no-repeat 0 50%;
	width: 90px;
}
#sponsorzy #logotypy a#acer{
	background: url(../gfx/logo_acer.jpg) no-repeat 0 50%;
	width: 140px;
}
#sponsorzy #logotypy a#pwn{
	background: url(../gfx/logo_pwn.jpg) no-repeat 0 40%;
	margin: 0;
	width: 104px;
}

/* STOPKA */
#footer{
	clear: both;
	color: #999;
	font-size: 12px;
	height: 60px;
	line-height: 60px;
	text-align: center;
}
#footer a:link, #footer a:visited{
	color: #999;
}
#footer a:hover{
	text-decoration: underline;
}

/* OPTIONAL, NON-VALIDATING STYLES */
.rounded_5px{
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
}
.rounded_10px{
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
}

.pytanie label{ /* do czego to? */
	margin-right: 10px;
	float: left;	
	padding-top: 5px;
}
