body {
    font-family: Verdana, Arial, Helvetisa, sans-serif;
    font-size: 16px;
    line-height: 180%;
    padding: 20px 0;
    background-color: #eaeaea;
    overflow-y:scroll;
}
div#obal {
    width: 520px;
    margin: 5px auto;
}
h1 {
    font-size: 140%;
    margin-top: 0;
    height: 60px;
}
h2 {
    font-size: 110%;
}
h3 {
    font-size: 100%;
}
nav {
    display: block;
    text-align: justify;
    width: 520px;
}

nav input, nav label {
  display: none;
}
nav ul#nav li {
    width: 173.333px;
    display: inline-block;
    background-color: #afafaf;
    text-align: center;
    box-sizing: border-box;
    padding: 0;
}
nav a {
    display: inline-block;
    color: white;
    text-decoration: none;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
nav ul#nav li:hover {
    background-color: #999;
}
nav ul#nav li.selected {
    background-color: #666 !important;
}
fieldset {
    padding: 10px 5px;
    background-color: #afafaf;
    border-color: #666;
}
fieldset fieldset {
    margin-bottom: 15px;
    background-color: #eaeaea
}
fieldset div {
    text-align: right;
}
select {
    width: 50px;
}
textarea {
    width: 100%;
    font-family: Verdana, Arial, Helvetisa, sans-serif;
    font-size: 12px;
    padding: 5px;
    resize: none;
    max-width: 475px;
}
label {
    display: inline-block;
    width: 280px;
}
ul, ol, li {
    list-style: none;
    line-height: 125%;
    padding: 0;
    margin: 0;
}
footer {
    font-size: 10px;
    color: #666;
    text-align: center;
    line-height: 150%;
    margin-top: 10px;
}
footer a {
    color: inherit;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

fieldset#main {
    width: 505px;
}
div#langnav {
    font-size: 75%;
    text-align: right;
    margin-bottom: 10px;
}
div#langnav a {
    color: #999;
    text-decoration: none;
}
p#about {
    font-size: 75%;
    line-height: 125%;
    padding: 10px;
    background-color: #eaeaea;
    text-align: justify;
    border: #666 solid 1px;
    margin: 10px 0;
}
p#about br {
    margin-bottom: 10px;
}
p#problem, .chybne {
    border: 2px solid #600;
    padding: 5px 10px;
    background-color: #fcc;
    color: #600;
    width: 495px;
}
.chybne ul {
    margin-bottom: 20px;
}
.chybne ul#badCoordinates .coordinatesError {
    font-size: 80%;
    list-style-type: none;
}
.chybne ul#badCoordinates .coordinatesError li {
    text-indent: 1.5em;
}
.chybne ul#badCoordinates .coordinatesError li:before {
    content:"-";
    position:relative;
    left:-0.75em;
}
p#success {
    border: 2px solid #060;
    padding: 5px 10px;
    background-color: #cfc;
    color: #060;
    line-height: 140%;
    font-size: 85%;
}
p#success a {
    color: #060;
    font-weight: bold;
}
#fakesouradnice {
    background-color: #fff;
    border-width: 1px;
    border-style: inset;
    border-color: #fff;
    text-align: left;
    font-family: monospace;
    font-size: 85%;
    height: 150px;
    overflow-x: auto;
    line-height: 1.1;
    padding: 5px;
    white-space: pre;
    overflow-x: auto;
    width: 475px;
}
#fakesouradnice span.badcoord {
    color: #600;
    font-weight: bold;
    background-color: #fcc;
    display: block;
    width: 100%;
}
#fakesouradnice p, #fakesouradnice div {
    margin: 0;
    padding: 0;
    font: inherit;
    text-align: left;
}
span#trybutton {
    display: none;
    text-align: right;
    padding-top: 10px;
}
span#showonmap {
    text-align: right;
    display: block;
    margin-top: 10px;
}
div#mapovyPodklad {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
div#mapovyPodklad div#close {
    background-color: #b81900;
    color: white;
    font-weight: bold;
    font-size: 20px;
    width: 20px;
    height: 20px;
    padding: 5px;
    position: absolute;
    border-radius: 20px;
    text-indent: 2px;
    cursor: pointer;
    top: 0;
    right: 0;
}
div#mapovyPodklad div#close span{
    position: relative;
    top: -5px;
}
div#mapa {
    width:90%;
    height: 90%;
    background-color: white;
    position: relative;
    top: 5%;
    left: 5%;
}
/**** CIFERACE ****/
div#success, div#successFound {
    border: 2px solid #060;
    padding: 5px 10px;
    background-color: #cfc;
    color: #060;
    line-height: 120%;
    font-size: 75%;
    margin-bottom: 15px;
}
div#success div {
    margin: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #060;
}
div#success div:last-child {
    border-bottom: none;
}
div#success h3 {
    padding: 0;
    margin: 10px 0;
    font-size: 125%;
    word-break: break-all;
}
div#success h4 {
    padding: 0;
    margin: 5px 0 2px 10px;
    font-size: 110%;
}
div#success p {
    padding: 0;
    margin: 0 0 5px 20px;
    color: black;
}
div#success a {
    display: block;
    text-align: right;
    color: #060;
    font-size: 85%;
}
div#success div.vysledek div.subtext {
    margin: 0 0 0 35px;
    font-weight: normal;
    border-bottom: none;
    padding: 0;
}
div#success div.vysledek div.last {
    margin-bottom: 10px;
}
div#success div.vysledek div.subtext p, div#success div.vysledek div.subtext h5 {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 10px;
}
div#success div.vysledek div.subtext h5 {
    width: 10em;
}
/**** CIFERACE ****/
/**** HLEDÁNÍ TEXTU ****/
div#successFound {
    color: #666;
}
div#successFound span {
    font-weight: bold;
    color: #060;
}
/**** HLEDÁNÍ TEXTU ****/
.enable {
    color: inherit;
}
.disable {
    color: #999;
}
/**** PŘEVOD DO ČÍSELNÝCH SOUSTAV ****/
article#vysledky {
    border: 2px solid #060;
    padding: 5px 10px;
    background-color: #cfc;
    color: #060;
    margin-bottom: 15px;
}
section.baseConvert {
    overflow-x: auto;
}
section.baseConvert div {
    font-size: 85%;
    line-height: 95%;
    white-space: nowrap;
}

.ui-tooltip {
padding: 10px 20px;
color: #666;
border-radius: 5px;
font-weight: normal;
font-size: 10px;
line-height: 125%;
box-shadow: 0 0 7px black;
}
.ui-tooltip h3 {
    line-height: 125%;
    padding: 0;
    margin-bottom: 5px;
    margin-top: 0;
}
.ui-tooltip ul {
    margin: 5px;
}
.ui-tooltip ul, .ui-tooltip li {
    list-style-type:  disc;
    margin-left: 10px;
}

.xdebug-var-dump {
    font-size: 14px;
    line-height: 16px
}
.clear {
    clear: both;
}