body,html {
	margin: 0;
	padding: 0;
}
* {
	box-sizing: border-box;
}

body{
background: #dadada;
}
.main{width:100%;max-width: 1000px;margin:0 auto  40px auto;background-color:#fbf3e0;padding:20px 10px;border:1px solid #ddd;min-height:100vh; padding: 0 5px 50px 5px ;}
nav{
padding:  0;
margin: 0;
background-color: #093939;
}
#mainmenu{
display: block;
width: 100%;
}
#mainmenu ul{
display: flex;
justify-content: center;
list-style-type: none;
}
#mainmenu li{
margin: 0 20px;
}
#mainmenu li:first-child{
margin-left: 0;
}
#mainmenu li a{
color: #fff;
}
.code{font-size:12px;border:1px solid #aaa;padding: 5px;color:#555;background-color: #f7f7f7;}
.code .item{
margin: 5px;
padding: 10px;
background-color: #fff;
border:1px solid #90eec7;
}
.code strong{color: #f00;font-size: 14px;}
#setting-message{
padding: 18px 0 0;
font-size: 12px;
}

#header-title{
color:#fff;
text-align: center;
padding: 20px;
margin:0 auto;
}
#header{
width:100%;max-width: 1000px;
margin: 0 auto 0 auto;
background-color: #093939;
position: relative;
padding-top: 1px;
}
#kb-setting{
display: block;
position: absolute;
right: 15px;
top: 15px;
}
#kb-setting #setting{
display:block;
width: 30px;
height: 30px;
background-image: url(../img/ico-settings-2.svg);	
background-size: cover;
}
footer{
width:100%;max-width: 1000px;
height: 45px;
margin: -45px auto 0 auto;
background-color: #093939;
display:flex;
align-items: center;
justify-content:center;	
}
.copyright a{
color: #fff;
font-size: 20px;
font-weight: bold;
text-decoration: none;
}

details,p{margin: 5px 0;}
.kbform-container{
border:1px #ddd solid;
padding:10px;
background-color: #fdfaf4;
text-align: center;
}
.kbform-container input{
width: 100%;
max-width: 700px;
}
.kb-waith{
width: 100%;
background-color: #fff;
text-align: center;
}
.s-el{
color: blue;
}
.tac{text-align: center;}
.c-green{color: green;}

summary::-webkit-details-marker {
display: none
}
summary{
color: green;
font-weight: bold;
cursor: pointer;
}

summary::after {
color: green;
border-radius: 5px;
content: "+";
float: left;
font-size: 16px;
font-weight: bold;
margin: 0px 10px 0 0;
padding: 0;
text-align: center;
width: 20px;
}

details[open] summary::after {
content: "-";
}

#result,body{	font-family: Tahoma,Verdana,Segoe,sans-serif; }
.kb-c-green{color:green;}
.kb-c-magenta{color: magenta;}


.kb-accordion-header {
	margin-top: 5px;
}
.kb-accordion-header .title {
display: block;
padding: 0 15px 0 15px;
position: relative;
transition: 0.3s;
cursor: pointer;
}


.kb-accordion-header .title::after {
content: "+";
position: absolute;
left: 3px;
transition: 0.3s;
}

.kb-accordion-header.in .title::after {
content: "-";
}

.block-nenajden{
color: #999;
padding-left: 15px;
}

.criterii-item{
padding: 10px;
margin: 20px 10px;
background-color: #fff;
border:1px solid #90eec7;
position: relative;
}
.criterii-item .btn-item-up{
  cursor: pointer;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 3px;
  right: 3px;
  background-image: url(../img/up-arrow.png);
}
.criterii-item .btn-item-down{
  cursor: pointer;
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: 3px;
  right: 3px;
  background-image: url(../img/down-arrow.png);
}

.criterii-item .block-classes h4, .criterii-item .block-texts h4{text-align: center;}
.criterii-item .block-classes, .criterii-item .block-texts{flex-grow:1;flex-basis: 50%;}
.criterii-item .container{
display: flex;
justify-content: space-around;
}

.criterii-item .container li{list-style-type: none;cursor:pointer;}
.criterii-item .container span.plus{
display:block;
width: 18px;
height: 18px;
background-image: url(../img/icon-plus.svg);	
background-size: cover;
}
.criterii-item .container ul{padding: 0;}
.criterii-item .block-name{
text-align: center;
font-size: 18px;font-weight: bold;
}

#criterii-plus{
display:inline-block;
width: 44px;
height: 44px;
cursor:pointer;
background-image: url(../img/icon-plus.svg);	
background-size: cover;
}
#criterii-save{
background-color: green;
color: #fff;
padding: 8px 15px;
border-radius:6px;
cursor:pointer;
}
.btn{
background: #009688;
-webkit-border-radius: 20px;
border-radius: 20px;
	border: none;
padding: 10px 30px;
margin: 15px 5px;
color: #fff;
font-family: Verdana, Segoe, sans-serif;
font-size: 16px;
}
#result h1{
font-size: 22px;
color: #093939;
}

.info-table {
display: block;
overflow-y: auto;
}
.info-table table {
width: 100%;
min-width: 300px;
margin: 0 auto;
border: none;
background-color: #fff;
border-spacing: 0;
}
.info-table table p {
margin: 0;
padding: 0;
text-align: center;
}
.info-table table td,
.info-table table th {
border: 1px solid #ccc;
text-align: center;
padding: 3px 10px;
}
.info-table table td{
text-align: left;
font-size: 14px;
}
.info-table table th {
text-align: center;
background: #427373;
color: #fff;
font-weight: bold;
}
.info-table table td.tac{text-align: center;}
.info-table table tr:hover {
background: #eee;
}

.info-table table .kl-301{background-color: rgb(223 255 223);}
.info-table table .kl-200{background-color: rgb(223 255 223);}
.info-table table .kl-404{background-color: #ffabbd;}
.info-table table .rd-301{
	font-size: 16px;
	font-weight: bold;
	color: rgb(9, 59, 32);
}
.info-table table .rd-zag{
  font-weight: bold;
  font-size: 12px;
  margin-top: 10px;
  color: #922424;
  text-align: center;
}
table.double td{font-size: 14px;}
.razn{
  font-weight: bold;
  color: #f00;
}

.auth-container{
	width: 100%;
	height: 100%;
	min-height: 50vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.auth-box{
	width: 330px;
	min-height: 200px;
	background-color: #fff;
	padding: 20px;
}

.auth-box input:not([type=submit]){
	width: 100%;
	padding: 12px;
	color: #666;
	height: auto;
	margin-bottom: 20px;
	border-width: 1px;
	border-style: solid;
	border-color: #ababab;
	border-radius: 8px;
	background: #fafafa;
	box-shadow: none;
	box-sizing: border-box;
	transition: all .2s linear;
}