::-webkit-scrollbar {
    width: 15px;
}

 ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb( 101, 135, 143);
    border-radius: 10px;
}

 ::-webkit-scrollbar-thumb {
    background: #d3d3d3;
    /* boja scroll gumba activ*/
    border-radius: 10px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #8a8a8a;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #242424;
    margin: 0;
}

a {
    text-decoration: none;
    color: #242424;
    cursor: pointer;
}

#logo {
    width: 140px;
    margin: 20px 0;
}

.button {
    display: block;
    margin-bottom: 5px;
    margin-right: 10px;
    padding: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    -ms-transition: all 0.15s ease;
    transition: all 0.15s ease;
    background: #d3d3d3;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: linear-gradient(top, #ffffff 0%, #ffffff 100%);
    /*prvi fffff je boja gornje polovice gumba dok nije aktivan drugi  fffff je boja gumba dok nije aktivan  */
}

.button:hover {
    -webkit-box-shadow: 8px 8px 8px rgb( 101, 135, 143), inset 0px 0px 2px rgba(0, 0, 0, .5);
    -moz-box-shadow: 8px 8px 8px rgb( 101, 135, 143), inset 0px 0px 2px rgba(0, 0, 0, .5);
    box-shadow: 8px 8px 8px rgb( 101, 135, 143), inset 0px 0px 2px rgba(0, 0, 0, .5);
    /*  sjena gumba dok prelaziš preko njega misem, 99 je snaga sjene */
}

.button:active {
    -webkit-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
    -moz-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
    box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
}

.diagramNavActive {
    background: rgb( 101, 135, 143);
    background: -moz-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb( 101, 135, 143)), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 100%);
    background: -o-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 100%);
    background: linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 100%);
}

.active,
.iconsActive {
    background: rgb( 101, 135, 143);
    background: -moz-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 50%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb( 101, 135, 143)), color-stop(50%, #ffffff));
    background: -webkit-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 50%);
    background: -o-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 50%);
    background: -ms-linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 50%);
    background: linear-gradient(top, rgb( 101, 135, 143) 0%, #ffffff 50%);
}

.big {
    text-align: center;
}

.background {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    background: #d3d3d3;
    background: -moz-linear-gradient(top, #d3d3d3 0%, #8a8a8a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d3d3d3), color-stop(100%, #8a8a8a));
    background: -webkit-linear-gradient(top, #d3d3d3 0%, #8a8a8a 100%);
    background: -o-linear-gradient(top, #d3d3d3 0%, #8a8a8a 100%);
    background: -ms-linear-gradient(top, #d3d3d3 0%, #8a8a8a 100%);
    background: linear-gradient(top, #d3d3d3 0%, #8a8a8a 100%);
}

.btnFlex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

#haccpWorkspace {
    overflow: auto;
}

#setupWorkspace,
.setupArea {
    border-radius: 4px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    padding: 10px;
    margin: 10px;
    box-sizing: border-box;
}

#setupWorkspace {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#setupWorkspace input[type=submit] {
    font-size: 16px;
    border-radius: 4px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .29), inset 1px 1px 1px rgba(255, 255, 255, .44);
    transition: all 0.15s ease;
    background: #d3d3d3;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: linear-gradient(top, #ffffff 0%, #ffffff 100%);
    border: none;
}

#reportHeader input,
#setupWorkspace input:not([type=submit]),
#setupWorkspace select {
    padding: 2px 4px;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid #8a8a8a;
    text-align: center;
}

#setupWorkspace input[type=submit]:hover {
    box-shadow: 8px 8px 8px rgb( 101, 135, 143), inset 0px 0px 2px rgba(0, 0, 0, .5);
}

#setupWorkspace .header {
    margin-bottom: 20px;
}

#setupWorkspace .footer {
    margin-top: 20px;
}

#setupWorkspace input {
    color: inherit;
    font-family: inherit;
    font-size: 14px;
}

#setupWorkspace .setupSpace {
    display: inline-block;
    margin-right: 30px;
}

.setupArea {
    width: 410px;
    line-height: 4em;
}

.setupArea input,
.setupArea datalist {
    line-height: normal;
}

.submitContainer {
    text-align: right;
}

.formLine {
    display: flex;
    justify-content: space-between;
}

.setupNumInput {
    width: 65px;
}

.setupTimeInput {
    width: 65px;
}

#reportHeader {
    margin: 10px 0;
}

.sectors>div {
    margin-top: 30px;
}

.pos {
    margin-left: 15px;
}

.smallText,
.menuPrefix {
    font-size: 12px;
}

#navigation div {
    transition: max-height 1s linear;
}

.navLoc {
    margin-bottom: 20px;
}

#subNav {
    overflow: auto;
    width: 100%;
}

.flexNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.info {
    text-align: center;
}

.info div {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.info {
    font-size: 14px;
}

.info #subNavLast {
    font-size: 16px;
}

.info .menuPrefix {
    font-size: 11px;
}

#icons img {
    width: 50px;
    display: block;
}

#icons a {
    display: block;
}

.icon {
    width: 50px;
}

.diagram {
    margin-bottom: 10px;
}

#diagramNav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
}

#diagramNav>div {
    width: 100px;
}

#diagramNav a {
    padding: 5px;
}

#difference {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

#difference td:nth-child(2) {
    text-align: center;
}

#difference td:nth-child(3) {
    text-align: right;
}

.exit {
    cursor: pointer;
}

.exit img {
    width: 70px;
}

.formContainer {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20vh;
}

.formContainer form {
    padding-top: 20px;
    padding-bottom: 20px;
}

.formContainer input[ type=text] {
    width: 100%;
    padding: 5px;
    margin: 5px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #8a8a8a;
    text-align: center;
}

.formContainer input[ type=submit] {
    text-align: center;
    margin: 10px;
    padding: 5px;
    display: block;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

table {
    font-size: inherit;
}

#editData td {
    padding-left: 10px;
    padding-right: 10px;
}


/* rounded slider*/

.switch {
    vertical-align: text-bottom;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.reportTable {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}

.reportTables {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.reportTables table,
#reportData2 {
    border: 1px solid black;
    border-collapse: collapse;
    width: 49.7%;
}

#reportTableHeader td:nth-child(1) {
    width: 33%;
}

#reportTableHeader td:nth-child(2) {
    width: 33%;
}

#reportTableHeader td,
#reportData2 th,
#reportData2 td {
    padding-left: 5px;
}

.insideBorders td,
.insideBorders th {
    border: 1px solid black;
}

.reportTablesMain1 tr:nth-child(2) td:nth-child(1) {
    width: 30px;
}

.reportTablesMain1 tr:nth-child(2) td:nth-child(2) {
    width: 150px;
}

.reportTablesMain1 tr:nth-child(2) td:nth-child(3),
.reportTablesMain1 tr:nth-child(2) td:nth-child(4) {
    width: 60px;
}

#reportTableMes input,
#reportTablePrevOdrz input,
.reportTables input,
.reportTables4 input,
.reportTables4 td,
.reportTables td,
.reportTables th,
.reportTableMain2 input,
.reportTableMain3 input,
.reportTableMain5 input {
    text-align: center;
}

.reportTables input,
#reportData4 input,
.reportTables4 input,
.reportTable input,
.reportTable textarea,
.reportTableMain2 input,
.reportTableMain3 input,
.reportTableMain5 input,
#reportData1 input,
#reportData3 input,
#reportData2 input,
#reportPest input[ type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    font: inherit;
    resize: none;
}

.centeredEmphasized {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold !important;
}

.reportTableMain2 {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}

.reportTableMain2 td {
    border-collapse: collapse;
    width: 20%;
}

.reportTableMain3 {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}

.reportTableMain3 td {
    border-collapse: collapse;
    height: 30px;
}

.reportTableMain5 {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}

.reportMargins {
    margin-top: 20px;
    margin-bottom: 20px;
}

#reportTableMes td:first-child {
    width: 50px;
}

.reportTableMain5 td {
    border-collapse: collapse;
}

.reportTableMain5 td:nth-child( 1),
.reportTableMain5 td:nth-child( 4) {
    width: 10%;
}

.reportTableMain5 td:nth-child( 2),
.reportTableMain5 td:nth-child( 3),
.reportTableMain5 td:nth-child( 6) {
    width: 15%;
}

.reportTableMain5 td:nth-child( 5) {
    width: 35%;
}

.reportTables4 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reportTables4 table {
    border: 1px solid black;
    border-collapse: collapse;
}

.reportTables4 table:nth-child(1),
.reportTables4 table:nth-child(2),
.reportTables4 table:nth-child(3) {
    width: 27%;
}

.reportTables4 table:nth-child(4) {
    width: 18%;
}

.reportTables4 td:first-child {
    width: 20%;
}

.reportTables4 td,
.reportTables4 th {
    border: 1px solid black;
}

#reportData1,
#reportData3,
#reportData4 {
    width: 100%;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
}

#reportData1 td:nth-child(2),
#reportData1 td:nth-child(4) {
    border-bottom: 1px solid black;
    width: 30%;
}

#reportData3 input,
#reportData4 input {
    border-bottom: 1px solid black;
    ;
}

#reportData4 td:last-child {
    width: 50px;
}

#reportData2 {
    text-align: left;
    margin-top: 30px;
    width: 100%;
}

#reportPest {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

#reportPest input[ type="text"] {
    border: none;
    border-bottom: 1px solid black;
}

#reportTablePrevOdrz th:first-child {
    width: 50px;
}

.right {
    text-align: right;
}

.flexBoxReport {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#reportFooter {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    overflow: hidden;
}

#reportFooter div:nth-child(2) {
    font-size: 9px;
}

#secondPageReport table td {
    padding-right: 20px;
}

#printIcon {
    margin-right: 60px;
}

@media only screen and (max-width: 600px) {
    header {
        width: calc(100%-8px);
        margin-left: 8px;
    }
    .reportTables {
        flex-direction: column;
    }
    .reportTables table {
        width: 100%;
    }
    footer {
        width: 100%;
        background-color: #b3b3b3;
        color: #fff;
        text-align: center;
        font-size: 10px;
    }
    footer p {
        margin: 0;
    }
    #logo {
        width: 100px;
        margin: 20px 0;
    }
    #diagramNav {
        margin-left: 8px;
    }
    #difference {
        margin-left: 8px;
        margin-right: 8px;
    }
    #icons img {
        width: 30px;
    }
    .setupArea {
        width: auto;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1000px) {
    footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: #b3b3b3;
        color: #fff;
        text-align: center;
        font-size: 10px;
    }
    footer p {
        padding-left: 320px;
        margin: 5px;
    }
    #subNav .button {
        margin-left: 15px;
        margin-right: 15px;
    }
    #navigation {
        overflow: auto;
        height: calc(100vh - 100px);
    }
}

@media only screen and (min-width: 1000px) {
    header {
        float: left;
        width: 300px;
        margin-left: 8px;
    }
    main {
        margin-left: 320px;
        margin-top: 8px;
        margin-right: 8px;
    }
    footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: #b3b3b3;
        color: #fff;
        text-align: center;
        font-size: 10px;
    }
    footer p {
        padding-left: 320px;
        margin: 5px;
    }
    #subNav .button {
        margin-left: 15px;
        margin-right: 15px;
    }
    #navigation {
        overflow: auto;
        height: calc(100vh - 100px);
    }
}

@media print {
    header,
    #subNav,
    .exit,
    #reportHeader,
    footer {
        display: none;
    }
    .reportTables tr:nth-child(2) td:nth-child(1) {
        width: 25px;
    }
    .reportTables tr:nth-child(2) td:nth-child(2) {
        width: 90px;
    }
    .reportTables tr:nth-child(2) td:nth-child(3) {
        width: 40px;
    }
    .reportTables tr:nth-child(2) td:nth-child(4) {
        width: 70px;
    }
    * {
        font-size: 11px;
    }
    @page {
        margin-top: 0;
        margin-bottom: 0;
    }
    #reportData1,
    #reportData2 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #reportFooter {
        width: 100%;
        position: fixed;
        bottom: 40px;
    }
    #secondPageReport table td {
        padding-right: 5px;
    }
    .page {
        padding-top: 40px;
        padding-bottom: 40px;
        page-break-after: always;
    }
    #haccpWorkspace {
        overflow: unset;
        height: auto;
    }
}