body {
    padding: 21px 5px;
    background: #f1f1f1;
    background-image: none !important;
}

header {
    position: relative;
}

header nav {
    position: absolute;
    right: 20px;
    bottom: 1px;
    color: #c5c5c5;
    text-align: center;
    background: #fff;
    padding: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

header nav a {
    font-size: 15px;
    font-weight: normal;
    display: block;
    float: left;
    padding: 7px 12px;
    border-right: 1px solid #e3e3e3;
}

header nav a:last-child {
    border: none;
}

header h1 {
    overflow: hidden;
}

header h1 img {
    float: left;
    margin: 0 20px 0 0;
}

header h1 strong {
    display: block;
    font-size: 28px;
    line-height: 28px;
    color: #53A444;
    padding: 2px 0 2px 20px;
    margin: 4px 0 0 0;
    float: left;
    border-left: 1px solid #53A444;
}

section,
header,
footer {
    width: 860px !important;
    margin: 0 auto 0 auto;
}

section h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 12px 0;
    padding: 0;
}

section article.first {
    padding-left: 0;
    border-left: 0;
}

section article {
    padding-right: 20px;
}

article.right {
    margin-left: 20px;
}

section article h1 {
    padding: 0 0 8px 0;
    font-size: 21px;
}

section article a {
    background: none !important;
}

section .wrapper {
    overflow: hidden;
    width: 860px;
}

section .wrapper code {
    width: 528px;
    height: 150px;
    overflow-y: scroll;
    float: left;
    margin: 0 0 18px 0;
    border: 1px solid #53A444;
    border-radius: 8px;
    padding: 8px 0 8px 8px;
    background: #fff;
    font-size: 13px !important;
}

.code {
	background: none;
}

section .wrapper article {
    border: none;
    float: left;
    width: 255px;
    padding-right: 0;
    margin-right: 0;
}

section table.csrform {
    width: 580px;
    float: left;
    border: 1px solid #53A444;
    border-radius: 8px;
    padding: 10px 5px;
}

section table.csrform td {
    padding: 3px 5px;
}

section table.sslvalin {
    border-radius: 12px;
    background: #d7d7d0;
}

section table.sslvalin tr td {
    padding-top: 18px;
    padding-bottom: 18px;
}

section table.sslvalin tr td:first-child {
    width: 188px;
}

section form.csr_decode {
    float: left;
    width: 580px;
    margin: 0 18px 18px 0;
}

section form.csr_decode textarea.csrsource {
    width: 580px;
    height: 320px;
    padding: 15px 0 0 15px;
    margin: 0 0 8px 0;
    font-family: Courier;
    font-size: 14px;
}

section table.csrform tr td {
    border: none;
    background: none !important;
}

section table.csrform tr td:first-child {
    text-align: right;
    font-size: 16px;
}

section table.csrform tr td:last-child {
    color: #989898;
    font-style: italic;
}

section table.csrform tr td input.in {
    padding: 5px 8px;
    font-size: 16px;
}

section table.csrform tr td span.authcode {
    display: block;
    padding: 5px 8px;
    font-size: 16px;
    font-weight: bold;
    font-family: Courier;
    color: #178200;
}

section table.csrform tr td input.button,
section form.csr_decode input.button {
    border: none;
    cursor: pointer;
}

section table.clear,
section table.clear tr td {
    border: none !important;;
    background: none !important;
    padding: 0;
}

section table.clear tr td {
    padding: 2px 0;
}

section table.clear tr td:first-child {
    width: 88px;
}

footer {
    overflow: hidden;
    background: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 20px 0 20px 0;
    height: auto;
}

footer .floatright {
    text-align: right;
}

.error {
    font-size: 18px;
    padding: 18px;
    margin: 0 0 18px 0;
    text-align: center;
    color: #a90000;
    border: 1px solid #a90000;
    border-radius: 8px;
    background: #fbd7d7;
}

.success {
    padding: 18px;
    margin: 0 0 18px 0;
    text-align: center;
    color: #006f12;
    border: 1px solid #006f12;
    border-radius: 8px;
    background: #b7ffb9;
}

.success,
.success * {
    font-size: 18px;
    font-weight: bold;
}

.oflw {
    overflow: hidden;
    padding-bottom: 3px;
}

.bigger {
    font-weight: normal;
    font-size: 17px;
    color: #575859;
}

input.povinne,
select.povinne {
    background: #fff url('../images/povinne.png') top right no-repeat;
}

.box_error,
.box_info,
.box_ok {
	padding: 8px 2px 8px 8px;
}

.box_error h2,
.box_info h2,
.box_ok h2 {
	margin-bottom: 5px;
}

section table.csrform tr td span.authcode:nth-letter(1) {
    color: #F00 !important;
}

.widthsmaller {
    width: 138px !important;
}

.nepov {
  display: none;
}

.prelastrow td {
  padding-bottom: 12px !important;
}

.lastrow td {
  border-top: 1px dotted #aaa !important;
  padding-top: 12px !important;
}

.copied {
  z-index: 4999;
  /*border: 3px solid #b8b8b8;*/
  border-radius: 8px;
  background: #eeeeee;
  width: 150px;
  font-size: 15px;
  color: #aaa;
  text-align: center;
  position: fixed;
  left: 50%;
  top: 50%;
  margin-left: -75px;
  padding: 12px;
  box-shadow: 3px 3px 7px #aaa;
}

.copied span {
  font-size: 18px;
  font-weight: bold;
  color: #aaa;
}