
html {
    font-family: 'Open Sans', sans-serif;
    background: #333 url("obr.JPG") no-repeat center top scroll;
    background-size:cover;
    min-height: 1000px;
}

span {
    font-size: 15px;
}

span.coord {
    font-size: 25px;
    margin: 3px;
}

p {
    font-size: 15px;
}


h1 {
    font-size: 25px;
}

h2 {
    font-size: 15px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.50;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 12px 14px;
    text-decoration: none;
}

li.dropdown {
    display: inline-block;
}

li.right {
    float: right;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #808080}

.dropdown:hover .dropdown-content {
    display: block;
}


li a:hover, .dropdown:hover .dropbtn {
    background-color: #1A1A1D;
}

.active {
    background-color: #4E4E50;
    color: white;
    }

div.fixed {
    position: fixed;
    text-align: right;
    border: 1px solid #292929;
    font-size: 14px;
    color: white;
    bottom: 0;
    right: 0;
    padding: 10px 10px 10px 10px;
    background-color: #333;
}
.center {
    text-align: left;
    color: white;
    border: 1px solid #292929;
    padding: 10px 20px 20px 20px;
    margin-top: 50px;
    margin-left: 50px;
    max-width: 650px;
    min-width: 100px;
    background-color: #333;
}

.center-big {
    text-align: left;
    color: white;
    padding: 10px 10px 10px 10px;
    margin: 50px;
    min-width: 100px;
    background-color: #333;
}

.center-second {
    padding: 10px 10px 10px 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted white;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.dropdown-image {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.dropdown-content-image {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-image:hover .dropdown-content-image {
    display: block;
}

.desc {
    padding: 15px;
    text-align: center;
    color: black;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 4px;
    text-align: left;
}

.text-right {
    float: right;
    width: 60%;
}
.text-right a:link {
    color: white;
    text-decoration: underline;
}
.text-right a:visited {
    color: white;
    text-decoration: underline;
}
.text-right  a:hover {
    color: white;
    text-decoration: none;
}
.text-right  a:active {
    color: white;
    text-decoration: underline;
}
.text-right p {
font-size: 17px;
}

#convertor {
  max-width: 600px;
  margin: 30px auto 30px 20px;
}

#convertor input.coordbig {
    width: 2.5em;
}

#convertor input.coord {
    width: 1.5em;;
}

#convertor table {
    margin: 0 auto;
}

#convertor .button {
    -moz-box-shadow: 0px 10px 14px -7px #3e7327;
    -webkit-box-shadow: 0px 10px 14px -7px #3e7327;
    box-shadow: 0px 10px 14px -7px #3e7327;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77b55a), color-stop(1, #72b352));
    background:-moz-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background:-webkit-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background:-o-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background:-ms-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background:linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
    background-color:#77b55a;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border:1px solid #4b8f29;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-size:15px;
    padding:6px 10px;
    text-decoration:none;
    text-shadow:0px 1px 0px #5b8a3c;
}

#convertor .button:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #72b352), color-stop(1, #77b55a));
    background:-moz-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background:-webkit-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background:-o-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background:-ms-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background:linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
    background-color:#72b352;
}
#convertor .button:active {
    position:relative;
    top:1px;
}

#convertor .button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#convertor input[type="radio"] {
  position: absolute;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  -o-opacity: 0;
}

#convertor input[type="radio"] + label {
  position: relative;
  padding: 0 0 0 25px;
  font-size: 16px;
  line-height: 25px;
  margin: 0 0 10px 0;
}

#convertor input[type="radio"] + label:before {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  height: 14px;
  width: 14px;
  background: white;
  border: 1px solid gray;
  box-shadow: inset 0px 0px 0px 2px white;
  -webkit-box-shadow: inset 0px 0px 0px 2px white;
  -moz-box-shadow: inset 0px 0px 0px 2px white;
  -o-box-shadow: inset 0px 0px 0px 2px white;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0; 
}

input[type="number"] {
    -moz-appearance: textfield;
}


#mapid { 
    height: 500px; 
    width: 500px;
}

#convertor input[type="radio"]:checked + label:before {
  background: #4CAF50;
}

#convertor input[type="number"] {
    background-color: #f1f1f1;
    text-align: center;
    font-size: 25px;
    padding: 3px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.3s, border 0.3s;
}

#convertor .bigger {
    font-size: 25px;
}

#convertor input.error {
    color: red;
    border: 1px solid red;
    background-color: #FFA5A5;
}

#convertor p#result.error {
    color: red;;
}

table {
    margin-top: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #7f7f7f;
    text-align: left;
    padding: 8px;
    color: black;
}

tr {
    background-color: #dbdbdb;
}

tr:nth-child(even){background-color: #adabab}

th {
    background-color: #4CAF50;
    color: white;
}

.legend {
    line-height: 25px;
    border-radius: 6px;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.2);
    background-color: white;
    color: black;
    margin-left: 0px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 4px;
    padding-bottom: 5px;
}