html {
  margin: 0px;
  padding:0px; 
}

body {
  margin: 0px;
  padding: 10px;
  background-color: #F5F5F5;
  min-width:270px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.clearfix {
  clear:both;
}

#container {
  float:left;
  /*overflow:hidden;*/
}

.tcenter {
  text-align: center;
}


/* SCROLLBARS */
.scrollbar::-webkit-scrollbar,
#source::-webkit-scrollbar,
#destination::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
 }

.scrollbar::-webkit-scrollbar-track,
#source::-webkit-scrollbar-track,
#destination::-webkit-scrollbar-track {
  background-color: #B7B7B7;
}

.scrollbar::-webkit-scrollbar-thumb,
#source::-webkit-scrollbar-thumb,
#destination::-webkit-scrollbar-thumb {
   background: #41617D !important; 
}
 
/* CONTROLS */
#controls-top,
#controls-bottom {
/*  height: 32px;*/
}

#controls-top {
  padding-bottom: 10px;
  overflow: hidden;
}

#controls-bottom {
  padding-top: 10px;
  overflow: hidden;
}

#button-top button {
  padding:5px;
  min-width: 30px;
  height: 32px;
}

#button-top button img {
  vertical-align: middle;
}

#btnCheck {
  float:right;
}

#btnReset {
  float:right;
}

#btnQR {
  float:right;
}

#btnShowSolution {
  float: right;
  margin-right: 20px;
}

#btnNewWindow {
}

#btnArrange {
  margin-left: 10px;
  position:relative;
  top: 0px;
}

#btnLicence {
  float:left;
  color: #A0A0A0;
  font-size: 10px;
  font-family: "Arial", sans;
  text-transform: uppercase;
}

#btnLicence:hover {
  color: #41617d;
  cursor: pointer;
}

#btnArrange,
#btnNewWindow,
#btnShowSolution,
#btnReset,
#btnQR,
#btnCheck {
}

@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */ 
  #btnArrange,
  #btnNewWindow,
  #btnShowSolution,
  #btnReset,
	#btnQR,
  #btnCheck {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: auto;
    appearance: auto;
  } 
}

/* RESULTS */
.answer {
  padding-left: 2px;
  padding-right: 2px;
}

.answer-comment {
  background-color: #fdf9cf;
  padding-left: 2px;
  padding-right: 2px;
}

#result-comment {
  background-color: #fdf9cf;
  border: 1px solid #41617d;
  padding: 5px;
  display: none;
}

#result-head {
  font-size: 10px;
  font-family: "Arial", sans;
  text-transform: uppercase;
  color: #41617d;
  margin-bottom: 5px;
  display: none;
}

#result-comment p {
  padding:0;
  margin:0;
}

#instruction {
  font-size: 13px;
  font-family: "Arial", sans;
  color: #41617d;
  padding-bottom: 5px;
  float:left;
}

#destination {
  background-color: #FFF;
}

/* Licence */
.img {
  display: inline;
  position: relative;
}

.blockElement .img {
  display: inline-block;
  line-height: 1em;
}

.img-id {
  position: absolute;
  bottom: 0px;
  right: 0px;  
  z-index: 2;
  background-color: #000;
  color: #FFF;
  font-size: 8px;
  text-align: center;
  width: 10px;
  height: 10px;
  padding-top:2px;
  padding-left:2px;
  padding-right:1px;
  border-left: 1px solid #FFF;
  border-top: 1px solid #FFF;
  line-height: 1em;
}

#licence-box {
  font-size: 11px;
}

.licence-img-id {
  background-color: #000;
  color: #FFF;
  width: 15px;
  height: 13px;
  text-align:center;
  padding: 3px;
  float:left;
}

.licence-box-text {
  overflow:hidden;
  padding-left: 10px;
}

.no-close .ui-dialog-titlebar-close {
  display: none 
}

.ui-dialog {
  position: fixed;
}

.ui-widget.ui-widget-content {
  border: 1px solid #41617D;
}

.ui-widget-header {
  background-color: #41617D;
  color: #FFF;
  font-size: 14px;
}

.ui-dialog .ui-dialog-content {
  padding-top: 10px;
}

.ui-dialog .ui-dialog-buttonpane {
  padding: 2px 0 0 0;
  margin-top: 0;
}

/* qr-box */
.qr-img {
	float: left;
	padding-right: 10px;
}

.qr-text {
	font-size: 0.8em;
	padding-top: 12px;
	padding-left: 10px;
	padding-bottom: 12px;
}

/* help hide area */
#hide {
  position: absolute;
  top:0;
  left:-1000px;
  visibility:hidden;
}

.blockElm {
  display: inline-block;
}

.icon-ok {
  display: inline-block;
  font-weight: bold;
  color: #3ba532 !important;
  font-style: normal;
}

.icon-wrong {
  display: inline-block;
  font-weight: bold;
  color: #FF0000 !important;
  font-style: normal;
}

sup, sub {
  font-size: 0.6em;
}

.sol {
  background-color: #fdf9cf;
  font-weight: bold;
}

.sol-head {
  background-color: #fdf9cf;
}

div.paragraph div.par {
  padding-top: 15px;
}

div.paragraph div.par:first-child {
  padding-top: 0px;
}

.linkSource {
  cursor: help;
}

.longLink {
  word-wrap: break-word;
}