fieldset.form {
    border: 2px groove #333 !important;
}

input:required::before {
    content: "(*)";
}

.legenda span,
.form span {
    display: inline-block;
    margin-right: 50px;
}

.col-form-label {
    font-size: 80%;
}

#kal {
    margin-left: auto;
    margin-right: auto;
}

#kal table {
    border-spacing: 10px;
}

#kal th {
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    background-color: mediumblue;
    color: mintcream;
}

#kal td {
    padding: 15px;
    font-size: 15px;
    background-color: steelblue;
    color: ghostwhite;
}

#kal .inny {
    opacity: 0.7;
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 20px;
}

footer {
    background-color: #737373;
    position: fixed;
    bottom: 0;
    right: 0;
}

.sidebar {
    margin: 0;
    padding: 0;
    width: 200px;
    background-color: #1c415c;
    position: fixed;
    height: 100%;
    overflow: auto;
}

.sidebar a {
    display: block;
    color: #626262;
    padding: 16px;
    text-decoration: none;
}

.sidebar a.active {
    /*background-color: #4CAF50;*/
    color: #eee;
}

.sidebar a.menu-link:hover {
    /* background-color: #626262;*/
    font-weight: bold;
    color: #eee;
}


/*.sidebar a:hover:not(.active) {
  background-color: #626262;
  color: #eee;
}*/

div.content {
    margin-left: 200px;
    padding: 1px 16px;
    height: 90%;
}

@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .sidebar a {
        float: left;
    }
    div.content {
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }
}


/*
a:link    { color: #36b03c; text-decoration: none; }
a:visited { color: #36b03c; }
a:active  { color: #36b03c; }
a:hover   { color: #636363; text-decoration: underline; }
*/

h1 {
    font-family: 'Lobster', cursive;
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 3px;
    margin-top: 0px;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Lobster', cursive;
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 3px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.container {
    background-color: white;
    width: 500px;
    padding: 40px 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    -webkit-box-shadow: 3px 3px 30px 5px rgba(204, 204, 204, 0.9);
    -moz-box-shadow: 3px 3px 30px 5px rgba(204, 204, 204, 0.9);
    box-shadow: 3px 3px 30px 5px rgba(204, 204, 204, 0.9);
    text-align: center;
}

input[type=number],
input[type=month] {
    width: 300px;
    background-color: #efefef;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 20px;
    padding: 10px;
    box-sizing: border-box;
    outline: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

input[type=number]:focus,
input[type=month]:focus {
    -webkit-box-shadow: 0px 0px 10px 2px rgba(204, 204, 204, 0.9);
    -moz-box-shadow: 0px 0px 10px 2px rgba(204, 204, 204, 0.9);
    box-shadow: 0px 0px 10px 2px rgba(204, 204, 204, 0.9);
    border: 2px solid #a5cda5;
    background-color: #e9f3e9;
    color: #428c42;
}

input[type=submit] {
    width: 250px;
    background-color: #36b03c;
    font-size: 20px;
    color: white;
    padding: 15px 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 2px;
    outline: none;
}

input[type=submit]:focus {
    -webkit-box-shadow: 0px 0px 15px 5px rgba(204, 204, 204, 0.9);
    -moz-box-shadow: 0px 0px 15px 5px rgba(204, 204, 204, 0.9);
    box-shadow: 0px 0px 15px 5px rgba(204, 204, 204, 0.9);
}

input[type=submit]:hover {
    background-color: #636363;
}

.hist_summary {
    margin-bottom: 50px;
    border: 1px solid grey;
}

.hist_summary div {
    display: inline;
    padding: 10px;
}

.fixed_header tbody {
    display: block;
    overflow: auto;
    height: 200px;
}

.fixed_header thead tr {
    display: block;
    font-size: 15px;
}

.fixed_header .lp {
    width: 3%;
}

.fixed_header .dn,
.fixed_header .sn,
.fixed_header .da,
.fixed_header .sa,
.fixed_header .pr
/*,  .fixed_header .il */

{
    width: 12%;
}

.fixed_header .dt {
    width: 20%;
}

table.fixed_header {
    margin-bottom: 50px;
}