/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/* html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
} */

/* HTML5 display-role reset for older browsers */
/* article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
} */

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  background: yellowgreen;
  height: 1200px;
}

#contact__wrapper {
	display: flex;
	flex-direction: row;
  width: fit-content;
}

#contact__wrapper-under {
	display: none;
	flex-direction: row;
}

.contact {
	border: 0.1vw solid black;
	border-radius: 0.5vw;
	background-color: lightblue;
	padding: 0.5vw;
	margin: 0.5vw;
  width: auto;
  height: auto;
  font-size: 1.5vw;
}

@media only screen and (max-width: 800px) {
  #contact__wrapper {
    display: flex;
    flex-direction: column;
  }

  .contact {
    border: 0.2vw solid black;
    border-radius: 1vw;
    background-color: lightblue;
    padding: 1vw;
    margin: 1vw;
    width: auto;
    height: auto;
    font-size: 4vw;
  }
}

#main_wrapper {
  /* position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw; */
  border: 3px solid #73AD21;
  background-color: yellowgreen;
  z-index: 1;
}

@media only screen and (min-width: 400px) {
  #menu-buttons-wrapper {
    display: flex;
    flex-direction: row;
  }
  #menu-button_wrapper {
    display: flex;
    flex-direction: row;
  }
  #character-solution_wrapper {
    display: flex;
    flex-direction: row;
  }
  #scattered-jump_wrapper {
    display: flex;
    flex-direction: row;
  }
}

input {
  margin: 0px !important;
  padding: 0px !important;
}

/* #main_wrapper {
  width: auto !important;
} */

#krzyzowka,
#TableNo10 {
	border: 1px solid yellowgreen;
}

#krzyzowka td,
#TableNo10 td {
	border-width: 1px;
	border-color: black;
	border-style: solid;
}

.fie {
	text-align: center;
  background-color: #FFF;
  position: relative;
}

.exp {
	background-color: yellow;
}

.winput {
	width: 80px;
	height: 80px;
	border: 0;
	background-color: transparent;
	font-size: 40px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  color: #000;
  text-align: center;
  border: black;
}

.exp1_1 {
	width: 80px;
	height: 80px;
}

.exp2_1 {
  width: 160px;
  height: 80px;
}

.exp1_2 {
  width: 80px;
  height: 160px;
}

.exp15_1 {
  width: 80px;
  height: 120px;
}

.exp1_05 {
  width: 80px;
  height: 40px;
}

.exp2_05 {
  width: 160px;
  height: 40px;
}

.pas_div,
.solution_div,
.exp1_1,
.exp2_1,
.exp1_2,
.exp15_1,
.exp1_05,
.exp2_05 {
	border: 0;
	background-color: transparent;
	font-size: 12px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1px;
}

.solution,
.pas {
  font-size: 30px;
  background-color: white;
}

.pas {
  width: 40px !important;
  height: 40px !important;
}

.pas_div {
  font-size: 25px;
  color: lightgrey;
}

.triangle-top {
	font-size: 20px;
	position: absolute;
  left: 30px;
  bottom: -24px;
}

.triangle-left_top {
	font-size: 20px;
	position: absolute;
  right: -2px;
  top: -10px;
}

.triangle-left {
	font-size: 20px;
	position: absolute;
  right: -2px;
  top: 10px;
}

.triangle-right_top {
	font-size: 20px;
	position: absolute;
  left: -2px;
  top: -10px;
}

.triangle-right_down {
	font-size: 20px;
	position: absolute;
  left: -2px;
  top: 30px;
}

.triangle-right_top-line {
	font-size: 20px;
	position: absolute;
  left: -4px;
  top: 10px;
}

.triangle-right_down-line {
	font-size: 20px;
	position: absolute;
  left: -4px;
  top: 10px;
}

.triangle-right {
	font-size: 20px;
	position: absolute;
  left: -2px;
  top: 10px;
}

.triangle-down {
	font-size: 20px;
	position: absolute;
  left: 30px;
  top: -23px;
}

.triangle-down-left-line {
	font-size: 20px;
	position: absolute;
  left: 30px;
  top: -25.5px;
}

.triangle-down-right-line {
	font-size: 20px;
	position: absolute;
  left: 30px;
  top: -25.5px;
}

.triangle-down-right {
	font-size: 20px;
	position: absolute;
  left: 30px;
  top: -25.5px;
}

.pionowo_p {
	margin-top: 20px;
}

.poziomo_ul, .pionowo_ul {
	list-style-type: none;
  border: 0px;
}

a {
	text-decoration: none;
	color: #000;
}

td.selected {
	background-color: #B9F48C;
}

.side {
  /* display: none; */
  width: 20px !important;
  height: 20px !important;
  border: 1px solid yellowgreen;
  background-color: yellowgreen;
  /* border: 1px solid black; */
  /* background-color: blue; */
}

.empty {
  display: none;
  /* width: 20px;
  height: 20px;
  border: 1px solid yellowgreen;
  background-color: red; */
}

#prototype-input {
  display: none;
}

.pause {
  color: yellowgreen;
  height: 2.5vw;
}

@media only screen and (max-width: 600px) {
  .pause {
    color: yellowgreen;
    height: 0.5vw;
  }
}

.buttons_wrapper {
  display: flex;
  flex-direction: column;
}

.buttons {
  background-color: orange;
  border-radius: 2vw;
  font-size: 1.5vw;
  width: 18vw;
  height: 3vw;
  margin: 0.5vw;
}

#horizontal {
  width: 9vw;
}

#scattered {
  width: 15vw;
}

#solution,
#character,
#jump,
#information {
  width: 6vw;
}

.solution {
  background-color: yellow;
}

.solution_div {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  background-color: yellow;
  height: 40px;
}

.solution_div > p {
  margin: 4px;
  padding: 4px;
}

@-moz-document url-prefix() {
  table {
    border-collapse: separate;
    border-spacing: 0px;
  }
  .exp {
    border: 1.5px solid black !important;
  }
  .side {
    border-width: 1.5px !important;
  }
  .winput[type=text]:focus {
    border: 1px solid blue;
  }
}

@media only screen and (max-width: 800px) {

  #menu-buttons-wrapper {
    flex-direction: column;
  }

  #menu-top {
    flex-direction: row;
  }
  #menu-bottom {
    flex-direction: row;
  }

  .buttons {
    background-color: orange;
    border-radius: 2vw;
    font-size: 2vw;
    width: 30vw;
    height: 4vw;
    margin: 0.5vw;
  }
  
  #horizontal {
    width: 22vw;
  }
  
  #scattered {
    width: 22vw;
  }
  
  #solution,
  #character,
  #jump,
  #information {
    width: 15vw;
  }

  .pause {
    height: 7vw;
  }
}

@media only screen and (max-width: 400px) {

  #main_wrapper {
    flex-direction: column-reverse !important;
  }

  #menu-buttons-wrapper {
    flex-direction: column;
  }

  #menu-top {
    flex-direction: row;
  }
  #menu-bottom {
    flex-direction: row;
  }

  .buttons {
    background-color: orange;
    border-radius: 2vw;
    font-size: 3vw;
    width: 50vw;
    height: 5vw;
    margin: 0.5vw;
  }
  
  #horizontal {
    width: 40vw;
  }
  
  #scattered {
    width: 40vw;
  }
  
  #solution,
  #character,
  #jump,
  #information {
    width: 20vw;
  }

  .pause {
    height: 12vw;
  }
}

#user_variable {
  display: 'none';
}

#menu__wrapper-top,
#menu__wrapper-middle,
#menu__wrapper-bottom {
	display: flex;
	flex-direction: row;
  width: fit-content;
  align-items: center;
}

#demo,
#rankings,
#crosswords,
#regulamin,
#user_button,
#user_info,
#logout {
  width: 14.5vw;
}

@media only screen and (max-width: 800px) {
  #contact__wrapper {
    display: flex;
    flex-direction: row;
  }

  #menu__wrapper-top,
  #menu__wrapper-middle,
  #menu__wrapper-bottom {
    display: flex;
    flex-direction: column;
  }

  #demo,
  #rankings,
  #crosswords,
  #regulamin,
  #user_button,
  #user_info,
  #logout {
    width: 30vw;
  }
}


@media only screen and (max-width: 400px) {

  #contact__wrapper {
    display: flex;
    flex-direction: column;
  }

  #menu__wrapper-top,
  #menu__wrapper-middle,
  #menu__wrapper-bottom {
    display: flex;
    flex-direction: row;
  }

  #demo,
  #rankings,
  #crosswords,
  #regulamin,
  #user_button,
  #user_info,
  #logout {
    width: 42vw;
  }
}
