html {
	font-size: 16px;
	font-family: 'Lato', sans-serif;
	min-height: 100%;
	overflow-x: hidden;
	position: relative;
}
body {
	margin: 0 !important;
	padding: 0;
	min-height: 100%;
	background-color:  #8dcef2;
}

.tooltip_templates { display: none; }

table {
	border-spacing: 0px;
	border-collapse: collapse;
}
table td {
	padding: 0px;
}

p.header {
	margin: 0px;
	font-size: 23px;
}
/* SCROLLBAR 
body::-webkit-scrollbar, .result-compare-texts::-webkit-scrollbar {
    width: 10px;
	background-color: black;
}
 
body::-webkit-scrollbar-track, .result-compare-texts::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
body::-webkit-scrollbar-thumb, .result-compare-texts::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
*/

/* ************ Disabling the grey outline on every input, button etc. in FIREFOX!!! ********************** */
button:focus,
a:focus, a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  outline: none !important;
  border: 0 !important;
}
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
/* ************ Disabling the grey outline on every input, button etc. in FIREFOX!!! ********************** */
/*@media screen and (max-width: 700px) {
    div#content {
        margin-top: 80px;
    }
}*/
#scrollTopButton {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 40px;
  z-index: 11;
  border: none;
  outline: none;
  background-color: #edf1f4;
  text-align: center;
  color: #130080;
  cursor: pointer;
  padding: 1px 5px 5px 5px;
  width: 50px;
  height: 48px;
  border-radius: 10px;
  opacity: 0.75;
}

#scrollTopButton:hover {
  background-color: #130080;
  color: #edf1f4;
  opacity: 1.0;
}


/* ----------------- Poczatek glownego layoutu strony ----------------- */

div#whole_page
{
	background-color: #8dcef2;
	min-height: 100%;
	left: 0;
	right: 0;
}
div#menu_container {
	background-color: #0693e0;
	box-shadow: -1px -1px 13px #0693e0;
	position: fixed;				/* Aby włączyć poruszanie się menu wraz ze scrollem zmienić position na "fixed" oraz odkomentować "width: 100%;" */
	left: 0;
	right: 0;
	z-index: 12;
	padding: 5px 0px 5px 30px;
}

div#menu_container:after {
	//clear: both;
}

div#logo {
	//float: left;
	//margin-top: 4px;
}

#logo_picture {
	display: block;
    transition: all 0.3s;
}

/*#logo_picture:hover {
	background-color: #0583c7;
	//opacity: 0.85;
	display: block;
	cursor: pointer;
	transition: all 0.3s;
}*/


/* ------ poczatek nowego menu (21.09.17) ------- */

.nav-spacer-small {
    width: 5px;
    height: 1px;
    float: left;
}
.nav-spacer-large {
    width: 20px;
    height: 1px;
    float: left;
}
.nav-spacer-small-right {
	width: 5px;
	height: 1px;
	float: right;
}
.nav-spacer-large-right {
    width: 20px;
    height: 1px;
    float: right;
}

.dropbtn {
    background-color: #0693e0;
    color: white;
    font-size: 21px;
    border: none;
    cursor: pointer;
    border-radius: 7px;
	width: auto;
	min-width: 120px;
	padding: 4px 15px 6px 10px;
	margin: 0;
	-webkit-transition: background-color 0.3s; /* Safari */
	transition: background-color 0.3s;
}

.dropbtn_only_icon {	/* do przycisku z ikonka lightbulb na pasku w menu-not-logged, gdzie po kliku sa informacje o konkursie (zeby zmniejszyc szerokosc buttona) */
    background-color: #0693e0;
    color: white;
    font-size: 21px;
    border: none;
    cursor: pointer;
    border-radius: 7px;
	width: auto;
	//min-width: 120px;
	padding: 4px 10px 6px 10px;
	margin: 0;
	-webkit-transition: background-color 0.3s; /* Safari */
	transition: background-color 0.3s;
}

.dropdown {
    position: relative;
    display: inline-block;
    float: left;
    margin-top: 7px;
}

.dropdown-content {
    //display: none;
	visibility: hidden;
	opacity: 0;
    position: absolute;
    right: 0;
	background-color: #edf1f4;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 13;
    border-radius: 8px;
	-webkit-transition: opacity 0.3s; /* Safari */
	transition: opacity 0.3s;
}

.dropdown-content a {
    color: black;
	font-size: 18px;
	padding: 5px 15px 7px 10px;
    text-decoration: none;
    display: block;
	border-radius: 6px;
}

.dropdown-content a:hover {
	background-color: #0583c7; 
	color: white;
}

.dropdown:hover .dropdown-content {
    //display: block;
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity 0.3s; /* Safari */
	transition: opacity 0.3s;
}

.dropdown:hover .dropbtn {
   background-color: #0583c7;
	-webkit-transition: background-color 0.3s; /* Safari */
	transition: background-color 0.3s;
}

button#nav_login {
	background-color: #44cc00;
}
button#nav_login:hover {
	background-color: #3bb300;
}
button#nav_register {
	background-color: #0059b3;
	border-radius: 7px;
}
button#nav_register:hover {
	background-color: #004080;
}
button#nav_username {
	color: #0e0062;
	font-weight: bold;
}

button#nav_team_redirect {
	background-color: #ff8533;
}
button#nav_team_redirect:hover {
	background-color: #ff6600;
}

button#nav_contest_info {
	background-color: #ffff00;
	color: black;
}
button#nav_contest_info:hover {
	background-color: #e0e016;
}


button.nav_active {
	background-color: #0583c7;
}


/*------ koniec nowego menu -------*/


/*@media all and (max-width:500px) {
  div#menu {
   display: none;
  }
}*/

#main_container
{
	//margin-top: 50px;
	background-color: #8dcef2;
	padding: 60px 15px 50px 15px;
	//padding: 15px;   /* was: 25px */
	//padding-bottom: 50px; /* counting from the bottom of the page, not from the footer! (because footer has absolute position) */
	//height: 100%;
	text-align: center;
	margin-bottom: 50px;
}

#content {
	border-radius: 12px;
	background-color: #edf1f4;
	//box-shadow: 0px 0px 5px #8d8d8e;
	max-width: 100%;
	margin: 0 auto;
	margin-top: 20px;
	padding: 15px;  /* was: 20px */
	text-align: center;
	display: inline-block;
	//box-sizing: border-box; /* this way the content div will never exceed the width of the screen */ /* disabled (off): 15.11.16 */
	box-shadow: 0 0 20px -5px #083377;
}
.div_content {
	position: relative;
	border-radius: 12px;
	background-color: #edf1f4;
	max-width: 100%;
	margin: 0 auto;
	padding: 15px;  /* was: 20px */
	display: inline-block;
	box-shadow: 0 0 20px -5px #083377;
	overflow-x: auto;
}

div.content_container {	/* div do wrapowania contentu w divie #content, by byl w nim wysrodkowany */
	display: inline-block; 
	margin: 0 auto;
}

#footer {
	background-color: #003366;
	box-shadow: -1px 3px 15px #001a33;
	min-height: 40px; 	/* height musi byc taki sam jak wysokosc footer_circle w stopce ! */
	left: 0;
	right: 0;
	position: absolute;
	bottom: 0px !important;	/* changed from bottom: -60px; 07.12.2018. Change back to -60px to make the footer exactly below the whole page (to see it, scroll) */ /* height + 2x padding */
	padding: 10px 5px;
	color: #ffffff;
	text-align: center;
	line-height: 12px;
}

#footer a {
	text-decoration: none;
	color: #fff;
}

#footer a:not(:last-child) {
	margin-right: 100px;
}

@media screen and (max-width: 1240px) {
	#footer a:not(:last-child) {
		margin-right: 0;
	}
	#footer a:after { /* inserting break line */
		content: '\A';
		white-space: pre;
	}
}

@media screen and (max-width: 800px) {
	.flipclock-wrapper .flipclock {
		zoom: 0.5;
		moz-transform: scale(0.5);
	}
}

div.footer_spacer {
	width: 10%;
	display: inline-block;
}

table.footer_col {
	margin: 0 auto;
	margin-right: 0px;
	text-align: left;
	font-size: 17px;
	font-weight: bold;
	display: inline-block;
	height: 40px; /* height musi byc taki sam jak wysokosc footer_circle w stopce ! */
}

table#copyright {
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}
table#copyright td#copyright-cell {
	padding-top: 3px;
	padding-bottom: 6px;
}
table#copyright span {
	font-family: Arial;
}
div.footer_circle {
	background-color: #08529c;
	text-align: center;
	border-radius: 50%;
	height: 40px;
	width: 40px;
	max-height: 40px;
	max-width: 40px;
	display: flex;
	justify-content: center;
	align-items: center; 
	font-size: 22px;
}
div.footer_circle:hover {
	background-color: #0e6cca;
}

.language_option {
	padding: 8px 16px;
	margin-top: 6px;
	display: flex;
	align-items: center; /* align vertical */
	cursor: pointer;
}

.lang_active {
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
	color: #66ff33;
	margin-left: 6px;
	font-size: 12px;
}

.language_option > img {
	width: 30px;
	margin-right: 10px;
	opacity: 100%;
}

.language_option:hover {
	background-color: #737373;
	border-radius: 8px;
}

.language_option:hover > img {
	opacity: 100%;
}

.footer_field {
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
	font-size: 17px;
	font-weight: bold;
	width: auto;
	cursor: pointer;
}

.selected_lang > img {
	width: 30px;
	margin-right: 7px;
}

#switch_lang_content {
	//padding: 10px 10px 0px 10px;
}



/*----------- koniec glownego layoutu strony -------------- */


/*
#wrapper {	--- 21.09 
	background-color: #3dd1ff;
	height: 100%;
	width: 100%;
	position: absolute;
}
*/

i.info-icon-blue {
	color: #0583c7;
}

#login_area, #register_area {
	padding: 20px 40px;
	border-radius: 12px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	text-align: center;
	//border: 1px solid #083377;
	display: inline-block;
	background-color: #edf1f4;
	box-shadow: 0 0 20px -5px #083377;
}

span#register_text {
	display: inline-block;
	margin: 15px 0 0 0;
	font-size: 18px;
}
span#register_text a {
	color: #9f24d2;
}

#login_text, #register_description {
	margin: 0 0 20px 0;
	font-size: 23px;
}

input.error, select.error, input.error-user-register, select.error-user-register, textarea.error {
	border: 1px solid red !important;
	background-color: #ffe9e9;
}
input.valid, select.valid, textarea.valid 
{
	border: 1px solid green !important;
	background-color: #d7f4dd;
}

div#checkbox_wrapper {
	text-align: left;
}

u.dotted{
  border-bottom: 1px dotted #999;
  text-decoration: none; 
}

label.error {
	padding: 0px 3px;
	display: block;
	width: 100%;
	margin-bottom: 5px;
	font-size: 15px;
	font-weight: bold;
	text-align: left;
	color: red;
}
label.error-user-register {
	max-width: 280px;
	padding: 0px 3px;
	display: block;
	width: 100%;
	margin-bottom: 5px;
	font-size: 15px;
	font-weight: bold;
	text-align: left;
	color: red;
	margin: 0 auto;
}

p.page_title {
	border: 1px solid gray;
	background-color: lightgray;
	margin: 0 auto;
	margin-bottom: 5px;
	text-align: center;
	font-size: 20px;
	padding: 5px 10px;
	border-radius: 5px;
}
div.info_text {
	position: relative;
	padding: 10px 10px;
	background-color: #e8f5fc;
	border: 1px solid #47b1eb;
	border-radius: 5px;
	font-size: 18px;
	margin: 0 auto;
}
div.welcome_text {
	max-width: 600px;
	text-align: justify;
}

div#team_login_info {
	margin-top: 20px;
	display: inline-block;
	box-shadow: 0 0 20px -5px #083377;
	border-radius: 8px;
	border: 1px solid #1f78a9;
}
div#team_login_info i {
	color: #1388ab;
}

div#adduser_instruction {
	//max-width: 838px; /* 860 (szer. tabelki z userami) - 2x padding - 2x border = 838 */
 	text-align: left;
}

div.warning_text {
	padding: 10px 5px;
	background-color: #ffe9e9;
	border: 1px solid red;
	border-radius: 5px;
	font-size: 16px;
	margin: 0 auto;
}
div#warning_user_count {
	//max-width: 848px; /* 860 (szer. tabelki z userami) - 2x padding - 2x border = 838 */
 	text-align: left;
}

i.icon-warning-empty {
	margin: 0px 5px;
	color: red;
	font-size: 18px;
}
i.warning-black {
	color: black;
	margin: 0px;
}
span#school_name_caption, span#school_city_caption { /* /team/manage */
	display: inline-block; 
	//padding: 0px 5px 0px 0px;
	width: 125px;
	float: left;
}
span#school_name, span#school_city {	/* /team/manage */
	float: left; 
	display: inline-block; 
	max-width: 700px;
	font-weight: bold;
}

div.center_content {
	text-align: center;
}

div.error_text
{
	text-align: left;
	width: auto;
	padding: 5px 15px;
	display: none;
	background-color: #fbd2d0;
	color: red;
	border: 1px solid red;
	border-radius: 5px;
}
div#register_errors {
	margin-bottom: 10px;
}
div#test_error {
	margin-top: 10px;
	margin-bottom: 5px;
	text-align: center;
}

div.error_text ul {
	margin: 0px 0px 0px 10px;
	padding: 0;
}

div.success_text {
	text-align: left;
	width: auto;
	padding: 5px 15px;
	display: none;
	background-color: #fbd2d0;
	color: red;
	border: 1px solid red;
	border-radius: 5px;
}

input[type=text], input[type=password], input[type=email] {
    //border: 2px solid #2265d8;
    border-radius: 5px;
	width: 270px;
	height: 25px;
	font-size: 18px;
	max-length: 15;
	padding-left: 7px;
	padding-right: 7px;
	//margin-top: 7px;
	outline: none;
	border: 1px solid gray;
	font-family: 'Lato', sans-serif;
}

input.contest_info_short {
	width: 180px;
}
input#input_contest_name {
	width: 394px;
}

textarea#contest_text {	/* textarea przy dodawaniu tekstu do etapu konkursu */
	max-width: 650px;
	min-width: 394px;
	width: 394px;
	max-height: 250px;
	min-height: 120px;
	height: 120px;
	font-family: 'Fira Mono', monospace;
}

input#team_fullname, input#team_mail, input#team_confirm_mail, input#team_city, input#teacher_name {
	width: 450px;
}

select{
	padding: 0px 4px;
	height: 30px;
	width: 286px;
	border: 1px solid gray;
	border-radius: 5px;
	outline: none;
	font-size: 18px;
	font-family: 'Lato', sans-serif;
}
select:hover {
	border: 1px solid #2265d8;
}
select:invalid { color: gray; }

select > option {
	color: black;
}

select#age_category_select, select#country_select.team {
	width: 466px;
}

input[type=checkbox] {
  transform: scale(1.5);
}

textarea {
	display: block;
	margin: 0 auto;
	font-size: 16px;
	line-height: 20px;
	padding: 3px 7px;
	outline: none;
	border: 1px solid gray;
	//border-radius: 10px;
	font-family: 'Fira Mono', monospace;
}
div#texts {
	padding: 10px;
	border-radius: 12px;
	background-color: #a3d8f5;
}
div#displaytext {
	text-align: left;
	//height: 125px;
	height: 135px;
	width: 700px;
	font-size: 18px;
	padding: 3px 7px;
	outline: none;
	border: 1px solid #0e93b5;
	border-radius: 8px;
	font-family: 'Fira Mono', monospace;
	resize: none;		/* disables ability to resize textarea */
	display: block;
	line-height: 27px;
	overflow: hidden;
	cursor: default;
	pointer-events: none;
	user-select: none;
   -webkit-user-select: none;
   -webkit-touch-callout: none;
   -khtml-user-select: none;
   -moz-user-select: -moz-none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
   background-color: white;
}
/*textarea#typedtext {
	margin-top: 15px;
	overflow: hidden;
	max-height: 125px;
}*/
div#typedtext {
	position: relative;
	margin-top: 20px;
	min-height: 27px;
	max-height: 135px;
	line-height: 27px;
	background-color: white;
	text-align: left;
	width: 700px;
	font-size: 18px;
	padding: 3px 7px;
	outline: none;
	border: 1px solid #0e93b5;
	border-radius: 5px;
	font-family: 'Fira Mono', monospace;	/* Noto Sans */
	resize: none;		/* disables ability to resize textarea */
	display: block;
	word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
	overflow: hidden;
	
	/* user-select: none;	// usuniete 08.10.17 by w Safari oraz przegladarkach mobilnych dzialal typingtest
   -webkit-user-select: none;
   -webkit-touch-callout: none; 
   -khtml-user-select: none;
   -moz-user-select: -moz-none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;*/
}

div#typedtext:focus {
	border: 1px solid #2265d8;
}
div#typedtext.end_of_test {
	background-color: lightgray;
}
span.gre {			/* green highlighting while typing */
	/*background-color: #c1f9b3;*/
	background-color: #d8fbd0;
}
span.red {			/* red highlighting while typing */
	/*background-color: #f9b7b3;*/
	background-color: #fbd2d0;
}

div.placeholder {	/* customowy placeholder w polu do przepisywania tekstu */
	color: gray;
	cursor: text !important;
	caret-color: black;
}

div#upper_info {
	text-align: center;
	//margin-bottom: 10px;
}

span.toggle-on {
	color: #80ff80;
	font-weight: bold;
}
span.toggle-off {
	color: #f96e6e;
	font-weight: bold;
}

div#speed_display {
	width: 33.33333%;
	float: left;
	//background-color: lightblue;
}
			span#span_speed {
				padding: 0 10px;
				color: green;
				//font-weight: bold;
				font-size: 22px;
				border: 1px solid #b9bdbf;
				border-radius: 4px;
				background-color: #f7f7f7;
			}
				span#span_speed:hover {
					border: 1px solid gray;
					background-color: lightgray;
					cursor: pointer;
				}
div#timer_display {
	width: 33.33333%;
	float: left;
	//background-color: lightgreen;
}
			span#span_timer {
				padding: 0 10px;
				color: black;
				font-weight: bold;
				font-size: 22px;
				//border: 2px solid #b9bdbf;
				border-radius: 4px;
				//background-color: #dbe0df;
			}
				span#span_timer:hover {
					border: 1px solid gray;
					background-color: lightgray;
					cursor: pointer;
				}

div#error_display {
	width: 33.33333%;
	float: left;
	//background-color: lightpink;
}
			span#span_error {
				padding: 0 10px;
				color: red;
				//font-weight: bold;
				font-size: 22px;
				border: 1px solid #b9bdbf;
				border-radius: 4px;
				background-color: #f7f7f7;
			}
				span#span_error:hover {
					border: 1px solid gray;
					background-color: lightgray;
					cursor: pointer;
				}
				
span.info_hidden {
	color: lightgray;
	font-weight: 400;
	font-size: 22px;
	padding: 0 5px;
	border: 1px solid #b9bdbf;
	border-radius: 4px;
	background-color: #f7f7f7;
}
span.info_hidden:hover {
	border: 1px solid gray;
	background-color: lightgray;
	cursor: pointer;
	color: #f7f7f7;
}

div#test_results {
	min-height: 300px; 
	min-width: 300px;	/* 732px; */
}

div#results_title {
	font-size: 26px;
	font-weight: bold;
	color: black;
	margin-bottom: 10px;
	padding: 0px 15px;
}

/*span#test_duration {
	margin: 0;
	padding-bottom: 7px;
	display: block;
}*/

div#typing_test {
	//text-align: left;
	//float: left;
	display: inline-block;
}

div#upper_info {
}
div#test_options {
	//margin-bottom: 10px;
}

#duration_options > div.column {
  float: left;
}

#duration_options > div.left, #duration_options > div.right {
  width: 25%;
}

#duration_options > div.middle {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

#duration_options:after {
	content: "";
	display: table;
	clear: both;
}

.text_language_icon {
	padding: 4px;
	background-color: white;  
	width: 24px; height: 24px; 
	border-radius: 50%; 
	display: inline-block;
	margin-right: 6px;
}
.text_language_icon img {
	width: 24px;
}

.selected_text_lang {
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
	font-size: 16px;
	font-weight: bold;
	width: auto;
	cursor: pointer;
	float: left;
	margin-left: 12px;
}
.selected_text_lang:after {
	clear: both;
}

div.spacer-small {
	min-height: 5px;
}
div.spacer-medium {
	min-height: 15px;
}
div.spacer-large {
	min-height: 30px;
}
div.margin {
	min-height: 7px;
}
div.spacer-horizontal-small {
	display: inline-block;
	min-width: 10px;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, textarea:focus {
  border: 1px solid #2265d8;
}

input[type=submit], input[type=submit].blue, button
{
	border: 0px;
	border-radius: 5px;
	width: 180px;
	font-size: 19px;
	outline: none;
	cursor: pointer;
	background-color: #0693e0;
	color: white;
	margin: 0;
	padding: 7px 15px;
	font-family: 'Lato', sans-serif;
}

input[type=submit]:hover, input[type=submit].blue:hover, button:hover {
	background-color: #0583c7;
	color: white;
}
input[type="submit"]:disabled, input[type="submit"]:disabled:hover {
	border: 2px solid #4d4f51;
    background-color: #4d4f51;
	color: white;
	opacity: 0.15;
}

button.long_button {
	width: auto;
}

.cancel_button {
	width: 120px;
	font-size: 16px;
	background-color: #7c8083;
	padding: 5px 12px;
}
.cancel_button:hover {
	background-color: #4a4d4f;
}

span.no_results_found {
	font-style: italic;
}

/*      Część odpowiedzialna za przyciski w tabelkach rankingowych  oraz przyciski na stronie typing testu */
div#rank_options {
	margin-bottom: 15px;
}
.option_button, .option_button2 {
	font-size: 15px;
	padding: 3px 10px;
	width: 110px;
	border-radius: 3px;
	margin-right: 4px;
}
.option_button:last-of-type, .option_button2:last-of-type {
	margin-right: 0;
}
.option_button_used, .option_button2_used {
	font-size: 15px;
	padding: 3px 10px;
	width: 110px;
	border-radius: 3px;
	background-color: gray;
}
.option_button_used:hover, .option_button2_used:hover {
	background-color: gray;
}

.option_button2 {
	width: 140px;
	height: 42px;
}

.option_button2_used {
	width: 140px;
	height: 42px;
}

div#rank_category {
	width: auto;
	display: inline-block;
	padding: 7px 10px;
	border: none;
	font-weight: bold;
}
div#rank_category select {
	width: auto;
}

span.categories-help {
	font-weight: bold;
	color: #6ccafd;
}

td.team_column_rank {
	font-size: 14px;
	max-width: 150px;
}

div.rank-medal {
	width: 24px;
	height: 24px;
	border-radius: 90px;
	line-height: 24px;
	font-size: 18px;
	font-weight: bold;
	color: white;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
}

div.place-1st {
	background-color: #fdd607;
	border: 2px solid #e8c400;
}
div.place-2nd {
	background-color: #b7b4b4;
	border: 2px solid #949494;
}
div.place-3rd {
	background-color: #c56a3f;
	border: 2px solid #a7542d;
}

p.rank_option {
	width: 80px;
	padding: 3px 10px;
	margin: 0;
	display: inline-block;
	text-align: right;
}
table.rank_table {
	//margin-bottom: 25px;
}

div.rank_description {
	margin-bottom: 15px;
	color: black;
}
/*  END    Część odpowiedzialna za przyciski w tabelkach rankingowych  */

#submit_button_id.gray {
	background-color: #7c8083;
}
#submit_button_id.gray:hover {
	background-color: #4a4d4f;
}

#submit_button_id {
	width: auto;
}

i.expand-results {
	color: #04a704;
	cursor: pointer;
}
i.expand-results:hover {
	color: green;
}

i.close-results {
	color: #e83e3e;
	cursor: pointer;
}
i.close-results:hover {
	color: red;
}

/* detailed results w rankingu indywidualnym i druzynowym */ 
#tbody_rank tr.detailed-results:hover, #tbody_rank tr.detailed-results-teams:hover {
	background-color: transparent;
}

#tbody_rank tr.detailed-results > td.valign-top, #tbody_rank tr.detailed-results-teams > td.valign-top {
	vertical-align: top;
}

table.detailed-results, table.detailed-results-teams {
	font-size: 15px;
}

table.detailed-results > tbody > tr.title, table.detailed-results-teams > tbody > tr.title {
	font-weight: bold;
	border-bottom: 1px solid #b7b7b7;
}

table.detailed-results > tbody > tr, table.detailed-results-teams > tbody > tr {
	border-top: none;
}

table.detailed-results > tbody > tr > td {
	padding: 8px 10px;
}

/* detailed results w rankingu druzynowym */ 
table.styled-table > thead > tr.title > th#team_column, #tbody_rank > tr > td.team_column_rank, #tbody_rank > tr > td.detailed-results-container {
	padding-left: 2px;
}
#tbody_rank > tr.title > th.plus-column, #tbody_rank > tr > td.plus-column {
	padding: 0px;
}
#tbody_rank table.layout-table > tbody > tr > td {
	padding: 0px;
	vertical-align: top;
	padding-right: 25px;
}
table.detailed-results-teams {
	display: inline-block;
}
table.detailed-results-teams > tbody > tr > td {
	padding: 4px 10px;
}
table.detailed-results-teams > tbody > tr > td.etap-column {
	font-weight: bold;
	font-size: 16px;
	padding-right: 18px;
}
table.detailed-results-teams > tbody > tr > td.fullname-column {
	padding-right: 25px;
	text-align: left;
}
table.detailed-results-teams > tbody > tr > td.noresult-column {
	text-align: left;
	font-style: italic;
	color: #7d7c7c;
}
table.detailed-results-teams > tbody > tr > td.sum-column {
	padding-left: 30px;
	font-weight: bold;
}
table.detailed-results-teams > tbody > tr.spacer {
	border-bottom: 1px solid #d0d0d0;
}
table.detailed-results-teams > tbody > tr.spacer > td {
	padding: 2px;
}
/* ***************************************************************************************************************************************************  *
/
/	TABLES! Rank tables, admin panel tables etc...
/
/ *************************************************************************************************************************************************** */

table.styled-table {
    border-collapse: collapse;
}
table.styled-table th {
	padding: 10px 15px;
	background-color: #0693e0;
	color: white;
	-moz-user-select: -moz-none;
	-moz-user-select: none;
	-o-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none
}
table.styled-table th#add_column {
	padding: 10px 0px;
	padding-right: 10px;
}
table.styled-table tfoot td {
	background-color: #0693e0;
	//height: 1px;	/* doesn't work - WHY??? */
}

table.styled-table th.outer_left {
	border-top-left-radius: 5px;
}
table.styled-table th.outer_right {
	border-top-right-radius: 5px;
}
table.styled-table tfoot td.outer_left {
	border-bottom-left-radius: 5px;
	padding: 0;
}
table.styled-table tfoot td.outer_right {
	border-bottom-right-radius: 5px;
	padding: 0;
}
table.styled-table td {
	padding: 10px 15px;
}
table.styled-table td.align_left {
	text-align: left;
}
table.styled-table tr {
	border-top: 1px solid lightgray;
	color: black;
}
table.styled-table tr:first-child {
	border-top: none;
}
table.styled-table > tbody > tr:hover {
	background-color: #d4d7db;
}
table.styled-table th.number_column {
	min-width: 16px;
}
div.th_spacer {
	min-width: 100px;
	display: inline-block;
}

table.styled-table td.place_column {
	padding: 2px 15px;
	font-size: 18px;
	font-weight: bold;
}
/* ***************************************************************************************************************************************************  *
/
/	Rank tables
/
/ *************************************************************************************************************************************************** */
/* table.rank_table th { */
	/* padding: 10px 15px; */
	/* background-color: #0693e0; */
	/* color: white; */
	/* cursor: pointer; */
/* } */
/* table.rank_table th:hover { */
	/* background-color: #0583c7; */
	/* color: white; */
/* } */
/* table.rank_table thead { */
	/* background-color: #0693e0; */
	/* border-radius: 10px; */
/* } */
/* table.rank_table td { */
	/* padding: 8px 12px; */
	/* color: black; */
/* } */
/* table.rank_table tr#title_row { */
	/* border-top: none; */
	/* border-bottom: 2px solid lightgray; */
	/* color: white; */
/* } */
/* table.rank_table tr#title_row:hover { */
	/* background-color: #0583c7; */
/* } */

/* table.rank_table tr { */
	/* border-top: 1px solid lightgray; */
	/* margin: 2px; */
/* } */

/* table.rank_table tr:hover { */
	/* background-color: #d4d7db; */
/* } */
/* ***************************************************************************************************************************************************  *
/
/	Test result table
/
/ *************************************************************************************************************************************************** */
table#test_result_table {
	display: inline-block;
}
table#test_result_table tr {
	border-top: 1px solid lightgray;
}
table#test_result_table tr:first-child {
	border-top: none;
}
table#test_result_table tr:hover {
	background-color: #dfe6ec;
}

table#test_result_table td.td_margin {
	//display: block;
	//padding: 0 20px;
}
table#test_result_table td.result_description {
	padding: 10px 0px 10px 40px;
	font-size: 18px;
	text-align: left;
}
table#test_result_table td.result_number {
	font-size: 28px;
	text-align: right;
	padding-left: 12px;
}
table#test_result_table td.result_unit {
	text-align: left;
	vertical-align: bottom;
	font-size: 14px;
	padding: 0px 0px 7px 4px;
}
table#test_result_table td.result_metric {
	padding-right: 40px;
	padding-left: 30px;
}
table#test_result_table td#result_brutto {
	color:  #0473ae;
}
table#test_result_table td#result_errors {
	color: #F00A0A;
}
table#test_result_table td#result_netto {
	color: #1EAE04;
}

span#question-mark-content {
	display: block;
	max-width: 300px;
	text-align: center;
}
i#speed-comparison {
	font-size: 20px;
	color: #782ace;
}
span#faster-than-percent {
	font-weight: bold;
	font-size: 18px;
}
span.bad-result {
	color: #f96e6e;
}
span.moderate-result {
	color: #e4e422;
}
span.avg-result {
	color: #90b5e2;
}
span.good-result {
	color: #80ff80;
}

div#show_typed_errors {
	margin-top: 8px;
	margin-bottom: 15px;
}
div#show_typed_errors button {
	background-color: #ef5959;
	padding: 4px 8px;
	width: auto;
}
div#show_typed_errors button:hover {
	background-color: #ef4040;
}

div#try_again {
	margin: 10px 0px;
}
div#try_again button {
	width: auto;
}


div#typedtext_details {
	top: 70px;
	width: 50%;
	margin-left: -25%;
	//margin-right: 25%;
	//margin-left: -280px; /* polowa szerokosci + polowa paddingu + polowa bordera */
}

div.result-compare-texts {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	font-family: 'Fira Mono', monospace;
	resize: vertical;
	overflow-y: scroll;
	text-align: left;
	height: 150px;
	min-height: 30px;
	border: 1px solid black;
	background-color: #f7f9fb;
	padding: 2px 8px;
	white-space: pre-wrap;
	
	user-select: none;
   -webkit-user-select: none;
   -webkit-touch-callout: none;
   -khtml-user-select: none;
   -moz-user-select: -moz-none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
}

div.result-text-title {
	text-align: left;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 5px;
	float: left;
	width: 50%;
}

div#switch_typed_texts button {
	padding: 6px 12px;
	max-width: none;
}

/* ***************************************************************************************************************************************************  *
/
/	Profile
/
/ *************************************************************************************************************************************************** */

.profile_settings
{
	text-align: right;
	display: inline-block;
}

div.change-password-container {
	margin-bottom: 7px;
}

button.small-grey {
	background-color: #6d6767;
    width: auto;
    font-size: 16px;
    padding: 5px 15px;
}
button.small-grey:hover {
	background-color: #5c5757;
}

table#profile-template tr {
	height: 34px;
	vertical-align: top;
}
table#profile-template td.placeholder-col {
	text-align: right;
	padding-right: 5px;
	font-size: 18px;
	padding-top: 3px;
}

button#submit-profile-form {
	width: auto;
	padding: 5px 30px;
}

button.submit-form {
	padding: 5px 50px;
	width: auto;
}

form#contact table {
	text-align: left;
}
form#contact table td.label-row {
	padding-bottom: 3px;
	padding-left: 3px;
}
form#contact table td.input-row {
	padding-bottom: 10px;
}

form#contact input, textarea {
	width: 400px;
	font-family: 'Lato', sans-serif;
}

form#contact textarea {
	height: 100px;
	min-height: 60px;
	max-width: 400px;
	min-width: 400px;
	border-radius: 7px;
}

i.basket-nopaid {
	//color: #dc0808;
	color: #e61919;
}

i.bonus-menu-star {
	//color: #fff700;
	color: #27ff00;
}

p#bonus-contest-prize {
	display: inline-block;
	margin: 0 auto;
	padding: 5px;
	border-radius: 8px;
	font-weight: bold;
	//background-color: #80ff78;
	background-color: #00ff66;

}

div#fb-name-container {
	background-color: #defde9;
	border: 1px solid #04cc54;
}
div#fb-name-container form {
	margin: 10px 0px;
}
div#fb-name-container span {
	font-size: 14px;
}
div#fb-name-container form > input[type=submit] {
	padding: 0px 20px;
	margin: 0px 0px 0px 3px;
	height: 29px;
	width: auto;
}

div.error-display-container {
	max-width: 350px;
	margin: 0 auto;
}

div#contest-upper-info {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 12;
	text-align: center;
	margin: 0 auto;
	margin-top: 12px;
	font-size: 19px;
}

p#payment-status-nopaid, p#payment-status-paid, p#contest-title {
	padding: 0px;
	margin: 0px;
	font-size: 24px;
	text-align: center;
	margin-bottom: 15px;
}
p#payment-status-paid {
	margin: 0 auto;
}
p#payment-status-paid i.icon-ok {
	color: #1daf1d;
}
p#contest-title > a {
	text-decoration: none;
	color: #000000;
}
p#pay-traditional-title {
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 5px;
}
div#payment-info {
	max-width: 740px;
}
div#payment-info, div#contest-info {
	text-align: left;
}
ul#payment-details {
	padding-left: 20px;
}
div#pay-button-container, div#start-button-container {
	text-align: center;
	margin: 0 auto;
	margin-top: 10px;
}
div#pay-button-container button, div#start-button-container button {
	width: auto;
}

div#payment-info table.details td.payment-title-column, div#contest-info table.details td.info-title-column  {
	line-height: 28px;
	padding-left: 10px;
	padding-right: 15px;
	font-weight: bold;
}
div#payment-info table.details td.first-column, div#contest-info table.details td.first-column {
	padding-left: 10px;
}

div.payment-warning, div.contest-warning, div.contest-warning2 {
	padding: 5px;
	padding-right: 10px;
	margin-top: 10px;
	text-align: left;
	max-width: 600px;
}
div.contest-warning2 {
	background-color: #ffffd6;
	border: 1px solid #ff8d00;
}
div#payment-warning-team {
	max-width: 740px;
}

div.payment-warning table td.info-icon-column, div.contest-warning table td.info-icon-column, div.contest-warning2 table td.warning-icon-column  {
	color: #b51a1a;
	//vertical-align: top;
	padding-right: 10px;
}

div.title-info {
	width: 100%; 
	margin: 0 auto; 
	text-align: center;
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: bold;
	color: #a70000;
}

div#delete_acc_error {
	max-width: 200px;
}
div#confirm_delete_account {
	transform: translate(-50%, -85%);
}
div#profile_theme {
	margin: 20px 0;
}
div#column {
	display: inline-block;
}
button.edit_profile 
{
	font-size: 19px;
	padding: 3px 10px;
	width: 95px;
	margin-left: 10px;
}
button.edit_button_active {
	background-color: #130080;
}
button.edit_button_active:hover {
	background-color: #0e0062;
}
.buttons label
{
	font-size: 19px;
	padding: 7px;
	color: black;
}

div#profile_error_text {
	margin-top: 10px;
	padding: 5px 15px;
	//min-width: 270px;
	max-width: 400px;
	background-color: #fbd2d0;
	color: red;
	border: 1px solid red;
	border-radius: 5px;
}

div#delete_account_div {
	//margin: 20px 15px;
}

button#delete_account_button {
	background-color: #e60000;
	width: 130px;
	font-size: 16px;
	padding: 5px 10px;
}

button#delete_account_button:hover {
	background-color: #cc0000;
}

div#table_typing_speed {
	//margin-top: 35px;
}

div#table_taken_tests {
	margin-top: 30px;
	display: inline-block;
}

/* Konkurs */
div#countdown-text {
	font-size: 20px;
}
span#countdown {
	color: #d61313;
	font-size: 22px;
	font-weight: bold;
}

/* ---------------------------------- END OF PROFILE ---------------------------------- */

/* ***************************************************************************************************************************************************  *
/
/	Admin Panel
/
/ *************************************************************************************************************************************************** */

div#admin_categories, div.sub_categories, div.rank_categories {
	margin: 15px 0px;
}

button.add_rounded {
	//position: absolute;
	padding: 4px 3px;
	border-radius: 90px;
	font-weight: bold;
	width: auto;
	background-color: #edf1f4;
	color: #130080;
	box-shadow: inset 0 0 3px 0 black;
}
button.add_rounded:hover {
	background-color: #130080;
	color: #edf1f4;
	box-shadow: none;
}

button#add_user_additional {
	position: absolute;
	bottom: 8%;
	right: 9%;
	background-color: #0ac20a;
}
button#add_user_additional:hover {
	background-color: #1fad1f;
}

/************* Highlighting table rows on special actions ************/
tr.delete_highlight, tr.delete_highlight:hover {
	background-color: #fbd2d0;
}
tr.focus_highlight, tr.focus_highlight:hover {
	background-color: #a3d8f5;
}

span.sortable_col {
	cursor: pointer;
}

i.icon-sort {
	color: #0b5f8c; /* bylo: #0473ae */
}


i.icon-cancel {	/* RED X to delete record */
	color: red;
}
i.icon-cancel:hover {
	color: #b70000;
	cursor: pointer;
}

i.check-paid {
	color: green;
	font-size: 16px;
}
i.check-paid:hover {
	color: #000;
	font-size: 18px;
	cursor: pointer;
}

i.check-nopaid {
	font-size: 16px;
}

i.check-paid-readonly {
	color: green;
}

i.check-nopaid:hover {
	color: green;
	font-size: 18px;
	cursor: pointer;
}


div#confirm_delete, div.confirm_delete {
	position: fixed;
	left: 50%;
	top: 150px;
	width: 350px;
	margin-left: -205px; /* polowa szerokosci + polowa paddingu + polowa bordera */
	//transform: translate(-50%, -50%);
	padding: 25px;
	//background-color: rgba(153, 153, 153, 0.2);	/* the last number is opacity */
	background-color: #edf1f4;
	border: 5px solid #b3b3b3; /* 5px for rounded content */
	border-radius: 10px;
	box-shadow: 5px 5px 15px 0 rgba(0,0,0,0.75);
	color: white;
	z-index: 10;
}

span.add_new_desc {
	font-weight: bold;
	margin-bottom: 20px;
	display: block;
	color: black;
	font-size: 20px;
}

div.popup_details {
	position: fixed;
	left: 50%;
	top: 150px;
	padding: 15px 20px;
	background-color: #edf1f4;
	border: 5px solid #b3b3b3; /* 5px for rounded content */
	border-radius: 10px;
	box-shadow: 5px 5px 15px 0 rgba(0,0,0,0.75);
	z-index: 10;
	max-height: 600px;
	overflow-y: auto;
}

div#user_details {
	width: 310px;
	margin-left: -180px; /* polowa szerokosci + polowa paddingu + polowa bordera */
}

div#contest_details {
	top: 100px;
	min-width: 420px;
	margin-left: -235px;
}

div#team_details {
	width: 470px;
	margin-left: -260px;
}

/* ********************* TEXTS panel ********************* */

div#text_details {
	box-sizing: border-box;
	top: 100px;
	width: 50%;
	margin-left: -25%;
}

div#text_details textarea {
	width: 95%;
	max-width: 95%;
	min-width: 95%;
	height: 120px;
	min-height: 30px;
	font-family: 'Fira Mono', monospace;
	border-radius: 7px;
}
div#text_details input[name=penalty] {
	width: 40px;
}
div#text_details label {
	font-size: 19px;
	padding: 7px;
}

td.single_text_row {
	font-family: 'Fira Mono', monospace;
}

div#add_edit_text_error, div.error_box {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	padding: 5px 15px;
	max-width: 300px;
	background-color: #fbd2d0;
	color: red;
	border: 1px solid red;
	border-radius: 5px;
}


/* ********************* USERS panel ********************* */

td.team_column {
	font-size: 12px;
	max-width: 150px;
}

td.teamname_column {
	font-size: 14px;
	max-width: 200px;
}

table th#username_column {
	//min-width: 150px;
	text-align: left;
}
table th#mail_column {
	//min-width: 230px;
	text-align: left;
}

button#add_user_btn {
	//left: 447px;
	//top: 32px;
}

div#user_info_div {
	margin-left: auto;
	margin-right: auto;
}
div#user_info_div form input {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

div#add_edit_user_error, div#add_edit_contest_error, div#add_edit_team_error {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	padding: 5px 15px;
	max-width: 300px;
	background-color: #fbd2d0;
	color: red;
	border: 1px solid red;
	border-radius: 5px;
	text-align: left;
}

button#reset_password {
	margin-bottom: 8px;
}
div#reset_password_error {
	margin-bottom: 8px;
}

ul.error_list {
	padding: 0px;
	margin: 0px 0px 0px 15px;
}

/* ********************* USERS panel (END) ********************* */
span.confirmation_desc {
	font-weight: bold;
	margin-bottom: 20px;
	display: block;
	color: black;
}

button.confirm, input.confirm {
	width: 120px;
	font-size: 17px;
	font-weight: bold;
	background-color: #0693e0;
}
button.confirm:hover {
	background-color: #0583c7;
}

button.cancel {
	width: 120px;
	font-size: 17px;
	font-weight: bold;
	background-color: #e60000;
}
button.cancel:hover {
	background-color: #cc0000;
}

div.space_between_buttons {
	min-width: 15px;
	display: inline-block;
}


input[type=text].filterable_col {	/* inputy w tabelkach sluzace do filtrowania kolumn */
	border: none;
	margin-top: 3px;
    border-radius: 3px;
	width: auto;
	height: auto;
	font-size: 15px;
	padding-left: 5px;
	padding-right: 5px;
}

select.filterable_col {
	border: none;
	margin-top: 3px;
	border-radius: 3px;
	width: auto;
	height: auto;
	font-size: 15px;
	padding-left: 3px;
	padding-right: 3px;
}

.flipclock-wrapper {
	margin-top: 22px;
	text-align: center;
	font-weight: bold;
}
.flipclock {
	display: inline-block;
	width: auto;
	zoom: 0.7;
	-moz-transform: scale(0.7);
}

#hide-clock {
	font-style: italic;
	cursor: pointer;
	color: gray;
}



#contestInfoButton {
	color: black;
    background-color: #ffff00;
    font-size: 25px;
    border: none;
    cursor: pointer;
    border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
	width: auto;
	height: auto;
	padding: 10px;
	margin: 0;
	
	position: fixed;
	top: 85px;
	left: 0px;
	z-index: 50000;
  
	-webkit-transition: background-color 0.3s; /* Safari */
	transition: background-color 0.3s;
}
#contestInfoButton:hover {
    background-color: #e6e600;

}

#showClockButton {
	color: #ccc;
    background-color: #333333;
    font-size: 25px;
    border: none;
    cursor: pointer;
    border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
	width: auto;
	height: auto;
	padding: 10px;
	margin: 0;
	
	position: fixed;
	top: 150px;
	left: 0px;
	z-index: 50000;
  
	-webkit-transition: background-color 0.3s; /* Safari */
	transition: background-color 0.3s;
}
#showClockButton:hover {
	background-color: #4d4d4d;
	color: #ffffff;
}


/* TABELKI na podstronie z informacjami o konkursie (/info.php) */
table.contest-info {
	max-width: 840px;
}
table.contest-info td {
	text-align: justify;
	text-justify: justify;
}

table.contest-info-inner td {
	text-align: center;
	border: none;
	padding: 5px 30px 0px 30px;
}

table.contest-info-inner > tbody > tr {
	border: none;
}


button.register-team-from-info-page {
	background-color: #ff8533;
	max-width: 1000px;
	width: 300px;
}
button.register-team-from-info-page:hover {
	background-color: #ff6600;
}

button.register-user-from-info-page {
	background-color: #44cc00;
	max-width: 1000px;
	width: 300px;
}
button.register-user-from-info-page:hover {
	background-color: #3bb300;
}

div.check-spam-info {
	margin-top: 10px;
	font-size: 16px;
}
div.check-spam-info > span {
	cursor: pointer;
	font-style: italic;
	font-size: 16px;
	border-bottom: 1px dashed #999;
	text-decoration: none; 
}

input.translation_input {
	width: 700px;
}

#text_language_select {
	width: auto;
}

.admin_text_language_icon, .admin_user_country_icon {
	padding: 4px; 
	background-color: white;  
	width: 24px; height: 24px; 
	border-radius: 50%; 
	display: inline-block;
}
.admin_text_language_icon img, .admin_user_country_icon img {
	width: 24px;
}

.text_languages_section {
	text-align: left;
	margin-top: 10px;
}

.text_languages_section #add_new_lang {
	cursor: pointer;
	text-decoration: underline;
}

.text_languages_container {
	max-height: 300px; 
	overflow-y: auto;
	margin-top: 4px;
}

.text_languages_container textarea {
	width: 396px;
	height: 78px;
	border-radius: 6px;
	font-family: 'Fira Mono', monospace;
}

.text_languages_container .text {
	margin-top: 4px;
}

.text_languages_container .text .param_row {
	display: flex;
	justify-content: space-evenly;
	margin-bottom: 2px;
}

.contest_text_container {
	margin-top: 8px; 
	padding: 4px; 
	background-color: lightgray;
	border-radius: 6px;
}
.collapsed, .expanded {
	cursor: pointer;
}

.text_header .name_container {
	float: left;
}

.text_header .chars_count_container {
	float: right;
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
	height: 26px;
	margin-right: 12px;
	margin-left: 10px;
}

.text_header .chars_count {
	font-weight: bold;
}

.text_header .delete_text {
	float: right;
	font-size: 22px;
}

.text_language_select, .age_category_select {
	width: auto;
}

.text_header .text_language_icon {
	width: 22px; 
	height: 22px; 
}

.text_header .text_language_icon img {
	width: 22px;
}

.text_header .selected_text_lang {
	margin-left: 4px;
}

.text_langs_wrapper {
	display: flex;
	justify-content: center;
}

.text_langs_wrapper .selected_text_lang {
	margin: 0px 5px 0px 0px;
	cursor: default;
}

.text_langs_wrapper .selected_text_lang:last-child {
	margin: 0;
}

.text_langs_wrapper .text_language_icon {
	margin: 0;
}

div#leading_country {
	width: auto;
	display: inline-block;
	vertical-align: middle;
	padding: 7px 10px;
	border: none;
	margin: 15px 0px 0px 0px;
	font-size: 17px;
	cursor: default;
}

div#leading_country .container {
	display: flex;
	justify-content: center;
	align-items: center; 
}

div#leading_country .container .text {
	margin-right: 8px;
}

div#leading_country .container i {
	margin-left: 4px;
}

div#leading_country .container .country_name {
	font-weight: bold;
}

div#leading_country .container .country_icon {
	margin-right: 5px;
}

div#leading_country_info {
	max-width: 300px;
}

div#leading_country_info .table_container {
	display: flex;
	justify-content: center;
	align-items: center; 
}

div#leading_country_info .explanation_container {
	text-align: center;
}


div#leading_country_info table td.country_col {
	font-weight: bold;
	border-right: 2px solid lightgray;
	padding-right: 16px;
	border-bottom: 8px solid transparent;
	width: 110px;
}


div#leading_country_info table td.points_col {
	border-left: 2px solid lightgray;
	padding-left: 16px;
	white-space: nowrap;
	width: 110px;
}

div#leading_country_info .explanation {
	font-size: 12px;
}

.contest_text_details {
	width: auto;
}

.contest_text_details td {
	padding: 2px 6px;
	white-space: nowrap;
}

.contest_text_details tr td:first-child {
	font-weight: bold;
}	

.result-metric {
	font-size: 13px;
	color: #666666;
	/* color: #0c8f0c; */
	margin-left: 4px;
	/* cursor: pointer; */
}

.result-unsuccessful {
	color: #ff0000;
}

.result-unsuccessful-explanation {
	font-size: 16px;
	margin-left: 4px;
}

/* Style dla wyświetlania błędów we wpisanym tekście */
.err_word_mistake {
	color: #ff2a2a;
    background-color: #fdd;
    text-decoration: none;
}

.err_skipped_space {
    background-color: #ffcc97;
    text-decoration: none;
}

.err_skipped_word {
	color: #fe7d00;
    background-color: #fff1dd;
    text-decoration: none;
}

.err_skipped_part {
	color: #fe7d00;
    background-color: #fff1dd;
    text-decoration: none;
}

.err_added_space {
    background-color: #c5ffc5;
    text-decoration: none;
}

.err_gap_in_word {
    background-color: #c5ffc5;
    text-decoration: none;
}

.err_added_part {
    background-color: #a1e6a1;
    text-decoration: none;
}

.err_last_typed_word {
	font-weight: bold;
}

icon#export_csv {
	cursor: pointer;
}

icon#export_csv_admin {
	cursor: pointer;
	color: #0b5f8c;
}

button#clear_database {
	background-color: #e60000;
}
button#clear_database:hover {
	background-color: #cc0000;
}

.radio_show_errors {
	float: right;
	font-size: 18px;
	margin-right: 20px;
}

.radio_show_errors label input {
	margin-right: 5px;
}

.radio_show_errors label:first-child {
	margin-right: 16px;
}

