@font-face {
	font-family: 'lato';
	src: url('fonts/Lato-Reg.ttf');
}
@font-face {
	font-family: 'lato';
  font-style: italic;
	src: url('fonts/Lato-RegIta.ttf');
}
@font-face {
  font-family: 'lato';
	font-weight: bold;
	src: url('fonts/Lato-Bol.ttf');
}
@font-face {
  font-family: 'lato';
	font-weight: bold;
  font-style: italic;
	src: url('fonts/Lato-BolIta.ttf');
}
/* ====================================================== Czcionki ==================================== */
html, body, input, textarea {
  color: #545454;
  line-height: 1.6;
  font-size: 18px;
  font-family: lato, tahoma, arial, sans-serif;
  /*font-family: georgia ,"Times New Roman" ,serif;*/
}
h1, h2, h3, h4, h5, h6 {
  margin: 2.2em 0 1em 0;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: lato, verdana, arial, sans-serif;
  color: #333;
}
/*h1:first-child, h2:first-child, h3:first-child {
  margin-top: 0;
}*/
h1 {
  font-size: 2.1rem;
}
h2 {
	font-size: 1.8rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
	font-size: 1rem;
}
h5 {
	font-size: 0.9rem;
}
h6 {
	font-size: 0.9rem;
}
a {
  text-decoration: none;
  color: #00a6e4;
}
a:hover {

}
.center {
	text-align: center !important;
}
/* =================================================== Układ strony =========================================== */
html, body {
  color: #3a3a3a;
  background: #fefefe;
}
#CANVAS {
	padding:0;
	margin:0;
	position: relative;
	overflow: hidden;
}
.login-page {
	position: absolute;
	top:0;left:0;right:0;bottom:0;
	display:flex;
	align-items: center;
	justify-content: center;
}
.login-page > div {
	max-width:800px;
}
.login-page .button {
	margin-right:0;
}
.login-page form {
	max-width: 400px;
	padding: 0 20px;
}
.container {
  max-width: 1200px;
}
.bg-section {
	position: relative;
	padding-bottom: 30%;
	z-index: 0;
	overflow: hidden;
}
#TOP {     /*menu itp*/
	height:110px;
	background: linear-gradient(90deg, #00a6e4 10%, #8cc63e);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	border-bottom:1px solid rgba(255,255,255,0.5);
	
	/* tu byłem :) */
	cursor: none; 
}
.start #TOP {
	height:auto;
	padding:10px 0;
}
#TOP h1 {
	margin:0;
	color:#fff;
	font-weight: bold;
}
#TOP .container {
    height: 100%;
}
#logo {
  position: absolute;
  top: 0; left: 0;
  height: 110px;
	box-sizing: border-box;
	padding:5px 40px; 
}

.sticked #logo {
  top: 12px;
  height: 30px;
}
.page-section {
  padding: 90px 0;
}
#PAGE-HEADER {
  padding: 1em 0;
  background: #3f5765; color: #f0f8fc;
}
#PAGE-HEADER h1 {
  margin: 0;
	color:#fff;
}
#main-test-wrapper {
	position: absolute;
	top:0;left:0;right:0;bottom:0;
	padding-top:110px;
	padding-bottom:55px;
}
#controls, .foot {
	position: absolute;
	bottom:0;
	left:0;right:0;
	height:55px;
	box-sizing: border-box;
	background:#fff;
	padding: 10px 40px;
	border-top:1px solid #cccccc;
	z-index: 2;
}

/* tu byłem */
#controls {
	opacity: 0;
}
#controls:hover {
	opacity: 1;
}

#controls .button {
	margin:0;
}
#controls .prev {
	float:left;
}
#controls .next {
	float:right;
}
#controls #control-button {
	float:right;
	margin-right:20px;
}
.counter-wrapper {
	height:100px;
	position:relative;
	display:flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-direction: column;
	padding:0 5%;
}
.counter-wrapper h2 {
	font-weight:bold;
	margin-bottom:8px;
	margin-top:8px;
}
.counter-wrapper h2 > span {
	font-size: 0.6em;
	font-weight: normal;
	margin-right: 20px;
	display: inline-block;
}
.counter-wrapper .timer-wrapper {
	position: absolute;
	bottom:0;right:5%;
	width: 130px;
	height:60px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.counter-wrapper .timer-wrapper img {
	margin-right:20px;
}
.counter-wrapper .timer-wrapper strong {
	font-size: 2rem;
}
.image-wrapper .image {
	width: 100%;
}
.image-wrapper .image img {
	max-width: 100%;
	max-height: 100%;
}
.question-area.question-with-img {
	height: 100%;
	padding: 15px 5% 60px 5%;
}
.question-area.question-with-img > div {
	float:left;
	width: 45%;
	padding:0 50px;
	box-sizing: border-box;
}
.question-area.question-with-img .image-wrapper {
	padding:0;
	width: 55%;
}
.question-area.question-with-img .answers_wrapper .answer-txt {
	width: 480px;
}


.question-wrapper {
	min-height:170px;
	width:100%;
	font-size:1.3em;
	box-sizing: border-box;
	padding:0 5% 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.question-wrapper p {
	margin:0;
}
.answers {
	display:flex;
	align-items: stretch;
	justify-content: center;
}
.answers_wrapper {
	width:900px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.answers_wrapper > div {
	width:100%;
	height:80px;
	margin-bottom:20px;
	padding-left:80px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}
.answers_wrapper > div.hidden {
	display:block;
}
.answers_wrapper > div .answer-color {
	position: absolute;
	top:0;left:0;
	margin-left:0;
	width:80px;
	height: 80px;
	border-radius: 5px;
	background: linear-gradient(90deg, #00a6e4, #8cc63e);
	transition: all 500ms;
	z-index: 1;
}
.answers_wrapper > div.hidden .answer-color {
	top:0;left:50%;
	margin-left:-40px;
}
.answers_wrapper .answer-color > span {
	position: absolute;
	top:3px;
	left:3px;
	right:3px;
	bottom:3px;
	display:flex;
	align-items: center;
	justify-content: center;
	background:#fff;
	font-size: 1.6rem;
	font-weight:bold;
	transition: all 100ms;
}
.answers_wrapper .answer-txt {
	width: 800px;
	box-sizing: border-box;
	height:100%;
	border-radius: 0 5px 5px 0;
	position: relative;
	background:#fff;
	display:block;
	opacity:1;
	transition: all 200ms;
}
.answers_wrapper .answer-txt span {
	position:absolute;
	top:0;left:0;right:0;bottom:0;
	padding-left:20px;
	background:#fff;
	display:flex;
	align-items: center;
	justify-content: flex-start;
	transition: all 300ms;
	border-radius:4px;
	text-align: left;
}
.answers_wrapper > div.hidden .answer-txt {
	opacity:0;
}
.answers_wrapper > div.hidden .answer-txt:after {
	right:50%;
}
.answers_wrapper > div .answer-txt:after {
	content:'';
	position: absolute;
	top:0;left:0;right:100%;bottom:0;
	background:#fff;
	transition:all 500ms;
}
.answers_wrapper > div.wrong {
	opacity:0.3;
}
.answers_wrapper > div.correct .answer-txt {
	background: linear-gradient(90deg, #8cc63e 10%, #00a6e4);
}
.answers_wrapper > div.correct .answer-txt span {
	top:3px;right:3px;left:3px;bottom:3px;
}
.answers_wrapper > div.correct .answer-color {
	background: #8cc63f;
	border-radius: 5px 0 0 5px;
}
.answers_wrapper > div.correct .answer-color span {
	background: #8cc63f;
	color:#fff;
}
/* ============== EKRANY POŚREDNIE =============== */
.welcome-page, .break-page, .thankyou-page {
	/*padding-top: 110px;*/
	position: absolute;
	top:0;left:0;right:0;bottom:0;
	z-index:0;
	background: linear-gradient(115deg, #00a6e4 10%, #8cc63e);
	overflow-y: auto;
}

.welcome-page .content, .thankyou-page .content, .break-page .content {
	position: absolute;
	top:0;left:0;right:0;bottom:0;
	display:flex;
	align-items: center;
	justify-content: center;
}
.welcome-page.admin ol{
  margin-top: 0;
}
.welcome-page.admin {
	background: #fff;
}
.welcome-page.admin .content > div, .welcome-page.admin .content h2  {
	color: #000;
}

.break-page.admin .content {
	top: 110px;
}
.videos_wrapper {
	/*height: 100%;*/
}
.videos_wrapper video {
/*	height: 100%;*/
}
/*.videos_wrapper video {
	height:100%;
}*/
/*.welcome-page {
	z-index: 0;
}*/
.content > div {
	text-align: left;
	color:#fff;
	font-size:1.4em;
/*	min-width: 80%;
	min-height: 100%;*/
	display:flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.content.big > div {
	font-size:2rem;
}
.content h2 {
	color:#fff;
	text-align: center;
}
.content h3 {
	color:#fff;
}
.thankyou-page.admin h2 {
	font-size:3rem;
	margin-bottom:80px;
}
.thankyou-page.admin .content {
	text-align: center;
	min-width: 900px;
}
.thankyou-page.admin .content .result-wrapper {
	margin: 0 auto;
	display: inline-block;
}
.thankyou-page .button {
	margin-right: 0;
}
.top-result {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.top-result > * {
	margin-right:20px;
	margin-bottom: 10px;
}
.top-result .place {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	border: 2px solid #fff;
}
/* === ekran statystyk */
.statistics-page-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.stats_view {
	font-size: 1.4em;
}
@-webkit-keyframes animateView {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}
.stats-item-wrapper {
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.stats_view {
	animation-name: animateView;
	animation-duration: 1s;
}
.stats_view h2 {
	margin-top:0;
}
.stats-item {
	display: inline-block;
	float: left;
	padding: 20px 60px;
}
.stats-item strong {
	font-size: 6em;
	line-height: 1;
	
	background: linear-gradient(90deg, #00a6e4, #8bc63f);
  -webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-moz-background-clip: text;
	-moz-text-fill-color: transparent;
}
.stats-item strong > span {
	font-weight: normal;
	font-size: 0.5em;
}
.stats-item .content {
	text-transform: uppercase;
	font-size:0.9em;
}

/* =================================================== Menu Glowne ============================================= */
nav {
margin-right: -12px; /* wyrównuje margin ostatniego elementu */
}
nav ul li {
  margin: 0 12px;
}
nav ul li a {
  padding: 23px 15px 10px;
  height: 55px;
  font-size: 15px;
  color: #888;
  text-transform: uppercase;
}

nav ul a:after {
  content: "";
  display: block;
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 0%;
  transition: height 200ms;
  background: #ff530d;
}
/* --------------- hover ------------------ */
nav ul a:hover, nav ul li:hover {

}
nav ul a:hover:after {
  height: 12px;
  
}
nav ul a.urhere:after, .start nav ul li:first-child a:after{
  content: "";
  display: block;
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 12px;
  transition: height 200ms;
  background: #ff530d;
}
/* --------------- active ----------------- */
nav ul a:active {
}
/* --------------- Submenu ---------------- */
nav ul li ul {
  box-shadow: 1px 2px 3px rgba(0,0,0,0.3);
  background: #2b3a42;
  border-left: solid 10px #ff530d;
  border-top: solid 10px #ff530d;
}
nav ul li ul li a {
  position: relative;
  color: #eee;
}
nav ul li ul li a:after { /* w podmenu nie chcemy aftera */
  display: none !important;
}
nav ul li ul li:before {
  content: "";
  display: block;
  position: absolute;
  right: auto; top: 0; bottom: 0;
  height: 100%;
  width: 0;
  transition: width 200ms;
  background: #ff530d;
}
nav ul li ul li a:hover {
  
}
nav ul li ul li:hover:before {
  width: 100%;
  height: auto;
}
/* ======================================================== Konkretne elementy =============================== */
/* ---- tabela na divach ---- */
.table {
	display: table;
	text-align: left;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	margin: 0 auto;
	margin-bottom: 1em;
}
.table-row {
	display: table-row;
}
.table-cell {
	display: table-cell;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 5px 10px;
}
/* -------------------- Przyciski -------------- */
.button, .buttons a {
	padding: 9px 20px;
	min-width: 165px;
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
  /*min-width: 10em;*/
  position: relative;
	text-transform:uppercase;
	background: #00a6e4;
  border: solid 2px #00a6e4;
	border-radius: 4px;
  transition: all 300ms;
}
:hover.button, .buttons a:hover {
	background: #8cc63e;
	border: solid 2px #8cc63e;
	text-decoration: none;
}
.button.next, .button.prev {
	background:none;
	color:#333;
	position:relative;
}
.button.next {
	padding-right:55px;
	float:right;
}
.button.prev {
	padding-left:55px;
	float:left;
}
.button.next:after, .button.prev:after {
	content:'';
	position: absolute;
	background-position: top center;
	background-origin: content-box;
	background-repeat: no-repeat;
	background-color: #00a6e4;
	width:35px;
	transition: background 300ms;
	padding-top:8px;
}
:hover.button.next:after, :hover.button.prev:after {
	background-color: #8cc63e;
}
.button.next:after {
	top:0;right:0;bottom:0;
	background-image: url(graphics/arrow-left.png);
}
.button.prev:after {
	top:0;left:0;bottom:0;
	background-image: url(graphics/arrow-right.png);
}
.button.disabled, .button.disabled:hover {
	cursor:default;
	background: #ddd;
	border:1px solid #999;
	color: #666;
}
.button.disabled.prev:after, .button.disabled.next:after {
	background: #aaa;
}
.button.clear-button {
	border:2px solid #fff;
}
.controls {
	text-align: center;
	padding:10px 0;
}
.controls .button {
	margin:0;
	margin-right:20px;
}
.controls .button:last-child {
	margin-right:0;
}
/* ------------------- Gallery ------------------ */ 
ul.gallery{
  
}
ul.gallery li {
  margin: 0 20px 20px 0;
	/*filter: grayscale(100%);*/
	transition:all 300ms;
}
ul.gallery li a {
	position: relative;
}
ul.gallery li:hover {
	/*filter: grayscale(0%);*/
}
ul.gallery li a:before {
		background: rgba(0,0,0,0.4);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
		width:0;
		transition: width 300ms;
}
ul.gallery li a:after {
		content: "";
    position: absolute;
		
		background: url(graphics/lupa-ico.png) no-repeat top center;
    
		top: 50%;
		margin-top:-25px;
		left: 50%;
		margin-left:-25px;

		width:50px;
		height:50px;
		transition: all 300ms;
		opacity:0;
}
ul.gallery li a:hover:before {
	width:100%;
}
ul.gallery li a:hover:after {
	opacity:0.6;
}
.table-wrapper {
	width:100%;
	overflow-x: auto;
}
table {
	width:auto;
	margin:0 auto;
	border-left:1px solid #ddd;
	border-top:1px solid #ddd;
}
table tr td, table tr th {
	padding:10px;
	text-align:center;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
	vertical-align: middle;
	line-height: 1.2;
}
table tr td.left, table tr th.left {
	text-align: left;
}
table tr th {
	background: #00a6e4;
	color:#fff;
	
}
table tr:nth-child(odd) {
	background:#eee;
}
tr.prize {
      font-size: 1.5em;
      font-weight: bold;
      
    }
/* tu byłem */	
td .wrong-answer {
	color: #e2053d;
}	
td .correct-answer {
	color: #6BBE65;
}
td .time {
	font-size: 11px;
}
table.results td, table.results th {
	line-height: 1.4;
	padding: 15px;
}

/* ------------------------ breadcrumps ------------------------ */
.breadcrumps {
  margin-bottom: 5px;
}
.breadcrumps, .breadcrumps a {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #92a1aa;
}
/* ------------------------ progress bar ------------------------ */
.time-progress-wrapper {
	width:100%;
	box-sizing: border-box;
	padding:15px 5%;
}
#progressBar {
	width: 100%;
	overflow: hidden;
	height: 20px;
	background:#ddd;
	border-radius: 5px;
}
#progressBar div {
	height: 100%;
	width: 100%;
	padding: 0;
	background-color: #00a6e4;
	box-sizing: border-box;
/* tu byłem */	
	opacity: 0;
}

/* tu byłem */
#progressBar.run div {
	opacity: 1;
	background-color: #e2053d;
	transition: background 1s;
	transition-delay: 7s;
}




/* ============= Pozostałe =============================== */
.disabled {
	color: #fff;
	background: #ddd;
	opacity:0.8;
	cursor:default;
}
.window-alert {
	position:fixed;
	z-index: 999;
	top:0;left:0;right:0;bottom:0;
	background:rgba(0,0,0,0.6);
	
	display:flex;
	align-items: center;
	justify-content: center;
}
.window-alert.hidden {
	display:none;
}
.window-alert .alert-msg {
	width:80%;
	max-width:250px;
	height:80%;
	max-height:200px;
	background:#fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.8);
	font-size:2rem;
	font-weight:bold;
	
	display:flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.window-alert .alert-msg img {
	margin-bottom:20px;
}
.window-alert .alert-msg p {
	margin:0;
}





.send-email { /* przycisk wysylania emaili z koperta */
	
}
.warning {
    color: #f00;
    font-weight: bold;
  }
.alert, .flash-alert {
    padding: 10px 5px;
    color: #555;
    background: #fffbba;
    border-top: solid 3px #fbf554;
    border-bottom: solid 3px #fbf554;
  }
.google-search {
  width: 290px;
  height: 25px;
  position: absolute;
  top: 25px;
  right: 15px;
  /*background: #f0f;*/
}
.flags {
	float:right;
	opacity:0.8;
	margin:19px 17px 0 0;
}
.flags .current_lang {
	width:25px;
}
.flags .current_lang a img {
	filter: grayscale(100%);
	transition:all 300ms;
}
.flags .current_lang a:hover img {
	filter: grayscale(0);
}
.footer_link {
	margin:0 2em !important;
	float:right;
	margin-right:1em;
}
.footer_link ul {
	margin:0;
	list-style:none;
}
.footer_link ul li {
	margin:0;
	float:left;
	border-right:1px solid #737b7f;
	padding:0 2em;
}
.footer_link ul li a {
	color:#737b7f;
	text-decoration: none;
}
.footer_link ul li a:hover {
	text-decoration: underline;
}
.back-to {
	text-align: left;
	border-top:2px solid #efefef;
	clear:both;
}
/* ================= formularze ================ */
input, select, textarea, .input-placeholder, .input-combo, .select {
	margin:2px 0;
	border:1px solid #00a6e4;
	background:#fff;
	border-radius: 4px;
}

/* ================= formularze nowe ================ */
input[placeholder], [placeholder], *[placeholder], .select-placeholder {
	color:#333 !important;
}
.select-placeholder {
	opacity:0.5;
}
.select select {
	margin:0 !important;
}

/* ----- select ----- */
.s-hidden {
    visibility:hidden;
    padding-right:10px;
}
.select {
    cursor:pointer;
    display:inline-block;
    position:relative;
		text-align:left;
/*    font:normal 11px/22px Arial, Sans-Serif;*/
/*    color:black;*/
    border:1px solid #ccc;
		box-sizing: border-box;
		height:40px;
		width:420px;
}
.styledSelect {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:white;
    padding:5px 10px;
    font-weight:normal;
}
.styledSelect:after {
    content:"";
    width:0;
    height:0;
    border:5px solid transparent;
    border-color:black transparent transparent transparent;
    position:absolute;
    top:16px;
    right:10px;
}
.styledSelect:active, .styledSelect.active {
    background-color:#eee;
}
.options {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    z-index:999;
    margin:0 0;
    padding:0 0;
    list-style:none;
    border:1px solid #ccc;
    background-color:white;
    -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
}
.options li {
    padding:0 6px;
    margin:0 0;
    padding:0 10px;
}
.options li:hover {
    background-color:#39f;
    color:white;
}

/* tu byłem */
.strikethrough {
  position: relative;
}
.strikethrough:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
	margin: 0 -10px 0 -10px;
  border-top: 1px solid;
  border-color: inherit;

  -webkit-transform:rotate(-40deg);
  -moz-transform:rotate(-40deg);
  -ms-transform:rotate(-40deg);
  -o-transform:rotate(-40deg);
  transform:rotate(-40deg);
}
.strikethrough:after {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
	margin: 0 -10px 0 -10px;
  border-top: 1px solid;
  border-color: inherit;

  -webkit-transform:rotate(40deg);
  -moz-transform:rotate(40deg);
  -ms-transform:rotate(40deg);
  -o-transform:rotate(40deg);
  transform:rotate(40deg);
}
.prize.revealed .hidden {
	display: inline;
}


label {
	text-transform: none;
	
}

/* --- input type=radio, input type=checkbox --- */
input[type="checkbox"] + label, input[type="radio"] + label {
  padding: 0;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  cursor: pointer;
	text-align: left;
  margin: 10px 0; }

input[type="checkbox"] + label::before {
  content: '\a0';
  display: inline-block;
  vertical-align: 0.2em;
  width: 22px;
  height: 22px;
  max-width: 22px;
  min-width: 22px;
  margin-right: 10px;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  text-indent: 0.15em;
  line-height: 1;
  color: #fff;
  font-size: 20px;
	margin-top: 5px;}

input[type="checkbox"]:checked + label::before {
  content: '\2713';
  background: #8cc63e; }

input[type="checkbox"] {
  position: absolute;
  clip: rect(0, 0, 0, 0); }



input[type="radio"] {
  position: absolute;
  clip: rect(0, 0, 0, 0); }