body{
    background: rgb(238,238,238);
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.2px;
    color: rgb(0,0,0);
}
@media print {
    body{
        background: none;
    }
}
a{
    color: rgb(0,0,0);
    text-decoration: underline;
}
a:hover{
    color: rgb(0,0,0);
    text-decoration: none;
}
.green{
    color: rgb(66,151,62);
}
.lightgreen{
    color: rgb(229,251,229);
}
.silver{
    color: rgb(204,204,204);
}
.lightsilver{
    color: rgb(238,238,238);
}
.bg_green{
    background: rgb(66,151,62);
}
.bg_lightgreen{
    background: rgb(229,251,229);
}
.bg_silver{
    background: rgb(204,204,204);
}
.bg_darksilver{
    background: rgb(170,170,170);
}
.bg_pribram{
    background: rgb(114,187,118);
}
.bg_straz{
    background: rgb(151,214,248);
}
.bg_karvina{
    background: rgb(239,125,84);
}
.bg_hbzs{
    background: rgb(228,74,57);
}

h1{
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 23px;
    line-height: 26px;
}
h2{
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 20px;
    line-height: 23px;
}
h3{
    margin: 6px 0 9px 0;
    padding: 0;
    font-size: 17px;
    line-height: 20px;
}
.top_box{
    background: rgb(66,151,62);
    color: white;
    width: 100%;
    height: 60px;
    position: relative;
}
.top_box .left_box{
    top: 10px;
    position: absolute;
    width: 350px;
    height: 40px;
}
.top_box a{
    text-decoration: none;
    color: white;
}
.top_box .right_box{
    top: 10px;
    right: 15px;
    position: absolute;
    width: 400px;
    text-align: left;
}
.padding{
    padding: 10px;
}
.logo{
    background: url('images/diamo_logo_bile.svg');
    width: 40px;
    height: 40px;
    left: 15px;
    position: absolute;
}
@media print {
    .logo_print{
        background: url('images/diamo_logo_cerne.svg');
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
}
.headline_maintitle{
    position: relative;
    top: 10px;
    left: 80px;
    font-weight: bold;
    font-size: 120%;
}
@media screen and (max-width:760px){
    .headline_maintitle{
        display: none;
    }
}
.svg_white, .svg_green{
    fill: rgb(66,151,62);
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    top: 3px;
}
.svg_white{
    fill: rgb(256,256,256);
}
.svg_green{
    fill: rgb(66,151,62);
}
.menu_box_top{
    height: 40px;
    background: silver;
}
.header {
    position: relative;
    margin: 0 auto;
    left: 0px;
    top: 0px;
    width: 1310px;
}
@media screen and (max-width:1310px){
    .header {
        width: 100%;
    }
}
.top_navigation{
    position: relative;
    left: 0px;
    width: 100%;
    height: 40px;
    background: rgb(204,204,204);
}
.top_navigation .left_box{
    position: relative;
    width: 20%;
    height: 40px;
    text-transform: uppercase;
    float: left;
}
.top_navigation .left_box .icon{
    display: inline;
    fill: white;
    width: 25px;
    height: 23px;
    background: url('images/icons/menu_green.svg');
    display: block;
}
.top_navigation .right_box .icon{
    fill: black;
    width: 25px;
    height: 23px;
    background: url('images/icons/print.svg');
    display: inline;
}
@media screen and (max-width:760px){
    .top_navigation .left_box{
        color: rgb(66,151,62);
        font-weight: bolder;
    }
    .top_navigation .left_box .icon{
        background: url('images/icons/menu_green.svg');
        fill: rgb(66,151,62);
    }
}
.top_navigation .right_box{
    position: relative;
    width: 80%;
    height: 40px;
    top: 0;
    float: right;
}
.top_navigation .right_box .padding{
    position: relative;
    top: -3px;
}
#sidebar{
    position: relative;
    left: 0;
    top: 0;
    background: rgb(229,251,229);
    width: 20%;
    float: left;
}
.content_box {
    position: relative;
    left: 0px;
    top: 0px;
    width: 80%;
    float: left;
}
@media screen and (max-width:1260px){
    #sidebar, .top_navigation .left_box{
        width: 25%;
    }
    .content_box, .top_navigation .right_box{
        width: 75%;
    }
}
@media screen and (max-width:760px){
    #sidebar, .top_navigation .left_box{
        width: 100%;
    }
    .content_box, .top_navigation .right_box{
        width: 100%;
    }
}
.top_box .right_box .item{
    float: right;
}
.top_box .right_box .item .icon{
    zoom: 2.5;
    position: relative;
    top: -2px;
    opacity: 0.5;
    cursor: pointer;
}
.top_box .right_box .item .attention{
    height: 16px;
    font-size: 11px;
    position: absolute;
    top: 0px;
    right: 0px;
    background: red;
    padding: 0 6px 0 5px;
    color: white;
    font-weight: bolder;
    border-radius: 16px;
}
.top_box .right_box .item .box{
    width: 15px;
    height: 15px;
    background: rgb(151,214,248);
    display: inline-block;
    position: relative;
    top: 2px;
}
.top_box .right_box .item .logout{
    border: 1px solid rgb(229,251,229);
    color: rgb(229,251,229);
    font-weight: bold;
    padding: 6px;
}
.logout{
    cursor: pointer;
}

.content_box .padding {
    padding: 20px;
}
@media print {
    .content_box .padding {
        padding: 0;
    }
}
table{
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table th, table td{
    padding: 5px;
}
table th{
    background: rgb(204, 204, 204);
    padding: 6px;
    border: 1px solid rgb(170, 170, 170);
    text-align: left;
}
table tr.listing th::before {
    content: "⇅";
    color: white;
    background: rgb(66,151,62);
    margin: 0 4px 0 0;
    padding: 0px 5px;
    cursor: pointer;
    font-weight: lighter;
}
@media print {
    table tr.listing th::before {
        display: none;
    }
}
table td{
    background: rgb(238,238,238);
    white-space: nowrap;
    border: 1px solid silver;
    text-align: left;
}
table td.style_none{
    border: none;
}
.admin table th{
}
div.tablecontainer {
    overflow-x: auto;
}
@media screen and (max-width: 770px) {
    table, table th, table td{
    }
    .admin table th{
        writing-mode: initial;
    }
}
.admin table label {
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}
.admin table label.no {
    border-bottom: 1px dashed red;
    color: red;
}
.admin table label.yes {
    border-bottom: 1px dashed rgb(66,151,62);
    color: rgb(66,151,62);
}
button{
    letter-spacing: 1px;
    border: 1px solid silver;
    cursor: pointer;
    text-transform: uppercase;
    padding: 6px 12px;
    font-weight: bolder;
    line-height: 13px;
}
button.main{
    background: rgb(66,151,62);
    color: white;
}
button.main:hover{
    background: rgb(229,251,229);
    color: rgb(0,0,0);
}
button.lighter{
    background: rgb(229,251,229);
    color: rgb(0,0,0);
}
button.lighter:hover{
    background: rgb(66,151,62);
    color: white;
}
button.main:disabled {
    opacity: 0.5;
    cursor: text;
}
button.active{
    background: rgb(229,251,229);
    color: black;
}

/* form */
input, textarea, select, .button{
    padding: 7px;
    border: 1px solid rgb(0,0,0);
    background: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
}
input[type=radio]{
    width: auto;
}
input[type=checkbox]{
    width: auto;
}
input:active {
}
textarea{
    height: 120px;
    min-height: 50px;
}
input[type="submit"] {
    text-align: center;
    -webkit-appearance:none;
    -webkit-border-radius:0px;
    border-radius:0;
}

input[type="button"] {
    text-align: center;
    -webkit-appearance:none;
    -webkit-border-radius:0px;
    border-radius:0;
}
input[type=submit], .button{
    padding: 4px 7px 7px 13px;
    color: white;
    background: #42973E; /* blue */
    cursor: pointer;
    font-weight: bold;
    border: 1px solid rgb(0,0,0); /* green */
    font-size: 17px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 7px;
    line-height: 19px;
    text-align: center;
    text-decoration: none;
}
.content_box ul{
    margin: 0 0 15px 20px;
}
.content_box ul li{
    margin: 0 0 2px 0;
    list-style-type: square;
}
.content_box ol{
    list-style-position: outside;
    padding-left: 30px; /* zvětší mezeru mezi číslem a textem */
}
.content_box ol li{
    margin: 0 0 15px 0;
    padding-left: 1em; /* posun textu */
}
.content_box ol li::marker {
    font-weight: bold; /* volitelné — můžeš měnit styl čísel */
    margin-right: 0.5em; /* !!! nefunguje ve všech prohlížečích */
}

/* footer */
#footer{
    position: relative;
    background: rgb(66,151,62);
    height: 100px;
    color: white;
}
#footer .text_box{
    text-align: center;
}
#footer .text_box .web{
    display: block;
}
#footer a{
    color: white;
    text-decoration: underline;
}
#footer a:hover{
    color: rgb(229,251,229); /* green */
}
#footer .top{
    position: relative;
    z-index: 2;
}
#footer .top a{
    position: absolute;
    top: 20px;
    right: 20px;
    fill: white;
    webkit-box-shadow: inset 0px 0px 0px 1px rgba(256,256,256,1);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(256,256,256,1);
    box-shadow: inset 0px 0px 0px 1px rgba(256,256,256,1);
    background-size: 75%;
    width: 50px;
    height: 50px;
    border-radius: 50px 50px 50px 50px;
    -moz-border-radius: 50px 50px 50px 50px;
    -webkit-border-radius: 50px 50px 50px 50px;
    border: 0;
}
#footer .top i.chevron{
    zoom: 3;
    position: relative;
    top: -3px;
    fill: white;
}
#footer .top i.chevron:hover{
    fill: red;
}
#footer .top a:hover{
    background-size: 75%;
}
.footer{
    height: 0px;
}
#footer .author{
    display: none;
}
#footer .web ul li{
    display: inline;
    list-style: none;
    margin: 0 3px 0 3px;
}
#footer .design_line{
    height: 40px;
    position: relative;
    left: 0%;
    top: 20px;
}
@media screen and (max-width:770px){
    #footer .text_box .web{
        display: none;
    }
    #footer .top{
        position: absolute;
        margin: 0 auto;
        width: 35px;
        right: 15px;
    }
    .mobile_none, .display_mobile_none{
        display: none;
    }
}



/* menu */

nav ul {
    list-style-type: none;        /* odstraní puntíky */
    margin: 0;
    padding: 0;
}

nav ul a{
    text-decoration: none;
}

nav ul ul {
    border-left: 3px solid rgb(204,204,204);
    margin: 0 0 0 12px;
}
nav ul ul ul {
    border-left: 3px dotted rgb(204,204,204);
    margin: 0 0 0 12px;
}

nav li {
    padding: 7px 15px;        /* vnitřní odsazení */
    list-style-type: none;
}

/* 1. úroveň */
nav > ul > li {
    font-weight: bolder;         /* hlavní položky tučně */
}

/* 1. úroveň */
nav > ul > ul > li {
    font-weight: bolder;         /* hlavní položky tučně */
}

/* 2. úroveň */
nav ul ul li {
    line-height: 1.0;
}

/* 3. úroveň */
nav ul ul ul li {
}

/* Hover efekt */
nav li:hover {
    background-color: #f0f0f0;
}

nav .active {
    background: rgb(238,238,238);
}
nav li span{
    color: red;
}
/* pouze základní rozložení, žádné barvy apod. */
#sidebar {
}
#sidebar {
    position: relative;
    transition: top 0.3s;
    z-index: 99;
}
@media screen and (max-width:770px){
    #sidebar {
        height: 100%;
        top: 100px;
        width: 100%;
        left: -100%; /* skryté menu */
        position: fixed;
    }
}

#sidebar.open {
    left: 0; /* viditelné menu */
}

i.icon {
    display: inline-block;
    font-family: Icons;
    font-style: normal;
    font-weight: 400;
    height: 1em;
    margin: 0 .25em 0 0;
    opacity: 1;
    text-align: center;
    text-decoration: none;
    width: 1.18em;
    speak: none;
    font-smoothing: antialiased;
    backface-visibility: hidden;
}
::selection {
    background: rgb(66,151,62); /* barva pozadí při označení */
    color: rgb(256,256,256);        /* barva textu při označení */
}
.info{
    background: rgb(229,251,229);
    position: relative;
}
.info .padding{
    padding-left: 70px;
}
.info .icon{
    zoom: 3;
    position: absolute;
    top: 3px;
    left: 3px;
}