html {
    /* For Firefox */
    overflow-y: scroll;
    scrollbar-color: rgba(90,90,90,0.5) #ffffff;
    scrollbar-width: 5px !important;
}

h1#formTitleContainer {
    font-size:1.5rem !important;
    padding:0px;
    margin-right:1rem;
    line-height:1.5rem;
    margin-bottom:0px;
}

.bg-green {
    background-color:#1d9329;
}
nav {
    width:100%;
}
.navFormCard {
    cursor:pointer;
}
.navFormCard:hover,
.addIcon:hover {
    box-shadow: .2rem .2rem 0.5rem rgba(0,0,0,.1)!important;
}
nav .btn,
nav .btn:hover {
    color:#fff !important;
    font-weight:400 !important;
}
.navFormCard small.text-muted {
    font-size:.8rem;
}
.navFormCardActive .card-header {
    background-color:#F8C179 !important;
}
.unsavedInfo {
    font-weight:300 !important;
    color:#cecece;
}
.shadow-left {
    box-shadow: inset 1px -10px 1px #eee;
}
.navIcon {
    vertical-align: -.4rem;
    fill: currentColor;
    width:26px;
    height:26px;
    margin-right:10px;
}
.addIcon {
    vertical-align: -.4rem;
    fill: #1d9329;
    width:46px;
    height:46px;
    cursor:pointer;
}
.documentName {
    text-transform:uppercase;
    color:#EB8808;
    font-weight:700;
    font-size:2rem;
}
.documentNameWrapper {
    border-bottom:1px solid #ccc;
}
form h1 {
    color:#EB8808;
    font-size:1.5rem;
}
.form-group label {
    margin-bottom:5px;
    font-weight:700;
}
.form-control{
    background:#f9f9f9;
}
.form-check-input:focus,
.form-control:focus {
    border-color: #F8C179;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0px 2px rgba(248, 193, 121, 0.6);
}
.form-check-input:checked {
    background-color: #EB8808;
    border-color: #EB8808;
}
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 26px rgba(200,200,200,.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color:#fff;
    -webkit-box-shadow: inset 0 0 26px rgba(90,90,90,0.5);
}
.sun-editor {
    width:100% !important;
	position:relative;
	z-index:0;
}
h1 {
    padding-top:2rem;
}
.sufix_temp::after {
    content:"⁰C";
    margin-left:1rem;
}
.sufix_rf::after {
    content:"% rF";
    margin-left:1rem;
}
.sufix_rr::after {
    content:"% rR";
    margin-left:1rem;
}
.sufix_pa::after {
    content:"Pa";
    margin-left:1rem;
}
.sufix_hpa::after {
    content:"hPa";
    margin-left:1rem;
}
.sufix_gm::after {
    content:"g/m²";
    margin-left:1rem;
}
.sufix_ms::after {
    content:"m/s";
    margin-left:1rem;
}
.sufix_un::after {
    content:"ü.N.";
    margin-left:1rem;
}
.sufix_ppm::after {
    content:"ppm";
    margin-left:1rem;
}
.sufix_cm::after {
    content:"cm";
    margin-left:1rem;
}
.sufix_percent::after {
    content:"%";
    margin-left:1rem;
}
.sufix_meter::after {
    content:"m²";
    margin-left:1rem;
}
.sufix_meterhour::after {
    content:"m³/h";
    margin-left:1rem;
}
.sufix_min::after {
    content:"min.";
    margin-left:1rem;
}
.form-control.sufix {
    width:auto;
    display:inline-block;
}
table td,
table th {
    padding-left: 0.5em;
    padding-right:0.5rem;
    padding-top:0.2rem;
    padding-bottom:0.2rem;
    text-align:center;
}
table td .form-check,
table td .form-check-input,
table th .form-check,
table th .form-check-input {
    margin:0px !important;
    padding:0px !important;
    float:none;
}
table tr:first-child {
    font-weight:bold;
}
form-checktable input[type=text]{
    max-width:50px !important;
}
table input[type=text].w-100{
    max-width:100% !important;
}
.overlay-spinner {
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,.5);
    position:absolute;
    z-index:99999;
    display:none;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

.overlay-modal {
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,.5);
    position:absolute;
    z-index:99999;
    display:none;
    justify-content: center;
    align-items: center;
}
.container-modal {
    position:absolute;
    background:#ffffff;
    padding:1rem;
    border-radius:var(--bs-border-radius);
    max-width:400px;
}
#buttons-modal {
    margin-top:1rem;
    text-align: right;
}

#documentIndex,
#documentIndexMobile {
    display:flex;
    overflow-y:scroll;
    max-height:calc(100vh - 140px);
    overflow-wrap: anywhere;
}
#documentIndexMobile {
    justify-content:center;
    text-align:left;
}
#documentIndexMobile .header2 {
    margin-left:1rem;
}
#documentIndexMobile .header3 {
    margin-left:2rem;
}

#menuItems {
    display:block;
    overflow-y:scroll !important;
}
#documentIndex a {
    color:#5c5c5c;
    text-decoration:none;
}
#documentIndex a:hover {
    color:#EB8808;
}
#documentIndex ul {
    list-style-type:none;
    padding:0px;
    margin:0px;
}
#documentIndex li.header2 {
    margin-left:2rem;
}
#documentIndex li.header3 {
    margin-left:3rem;
}
#progress-bar-container {
    width:90%;
    max-width:300px;
    background:#ffffff;
    margin:0 auto;
    border-radius:var(--bs-border-radius);
    margin-top:1rem;
    padding:2px;
    display:none;
}
#progress-bar-file {
    width:0%;
    background:#EB8808;
    border-radius:var(--bs-border-radius);
    text-align:center;
    color:#ffffff;
    height:100%;
    position:relative;
    z-index:1;
    transition: width .2s;
}
#progress-bar-text {
    position:absolute;
    text-align:center;
    width:90%;
    max-width:300px;
    text-shadow:0px 0px 0px 3px rgba(255, 255, 255, 1);
    z-index:2;
    color:#EB8808;
    text-shadow: 1px 1px 1px #ffffff, -1px 1px 1px #ffffff, -1px -1px 1px #ffffff, 1px -1px 1px #ffffff, 0px 1px 1px #ffffff, 0px -1px 1px #ffffff, 1px 0px 1px #ffffff, -1px 0px 1px #ffffff;
}
.image-preview {
    width:500px;
    height:281px;
    border-radius:var(--bs-border-radius);
    background-size:cover;
    background-position:center center;
    float:left;
}
.display-flex {
    display:flex;
}
.flex-1 {
    flex:1;
} 
hr {
    border:0px;
    background:none;
    color:none;
    margin:0.2rem;
    clear:both;
}
.cell-50 {
    width:50% !important;
    display:inline-block !important;
}
.cell-50 [class^="col"] {
    display:inline-block !important;
}
.pr-3 {
    padding-right:3rem;
}
.pl-3 {
    padding-left:3rem;
}
.display-inline {
    display:inline-block !important;
}
table td {
border-bottom:1px solid #ccc;
}
td .form-check {
	min-height:auto !important;
}
.navbar {
    /*width: 84%;*/
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    z-index:99999999999;
    width:100%;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
  }
  
  .navbar .menu-items {
    display: flex;
    background:#fff;
  }
  
  .navbar .nav-container li {
    list-style: none;
  }
  
  .navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.7rem;
  }
  
  .navbar .nav-container a:hover{
      font-weight: bolder;
  }
  
  .nav-container {
    display: block;
    position: relative;
    height: 60px;
  }
  
  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  
  .nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
  }
  
  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
  .navbar .menu-items {
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    height: calc(100vh - 68px);
    transform: translate(-550%);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    text-align: center;
  }
  
  .navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.2rem;
    color: #0e2431;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
    min-width:100vw !important;
    top:68px !important;
    left:0px;
    position:absolute;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .logo{
    display: none;
  }
  .photo-nav-hide {
    visibility: hidden;
  }
  .photo-nav-up {
    position:absolute;
    height:3rem;
    width:3rem;
    margin-top:1rem;
    margin-left:1rem;
    fill: #EB8808;
    background:#fff;
    border-radius:10px;
    cursor:pointer;
  }
  .photo-nav-down {
    position:absolute;
    height:3rem;
    width:3rem;
    margin-top:13.5rem;
    margin-left:1rem;
    fill: #EB8808;
    background:#fff;
    border-radius:10px;
    cursor:pointer;
  }
  .photo-nav-delete {
    position:absolute;
    height:3rem;
    width:3rem;
    margin-top:1rem;
    margin-left:27.2rem;
    fill: #EB8808;
    background:#fff;
    border-radius:10px;
    cursor:pointer;
  }
  @media only screen and (max-width: 1800px) {
    #leftSidebar,
    #rightSidebar {
      display:none !important;
    }
    .nav-container {
        max-width:60px;
    }
    #menuItems {
        padding:0px 0px 0px 0px;
        margin:0px 0px 0px 0px;
    }

    .navbar {
        width: 100%;
    }

    #mobileMenu {
        padding:0px;
        display:flex;
    }
    .desktop-hide {
        display:none !important;
    }
    form .form-group,
    form .row,
    form .col,
    form .col-9 {
        width:100% !important;
    }
    form .col-1,
    form .col-2,
    form .col-3,
	form .col-4	{
        width:100% !important;
    }
    form .col.pr-3 {
        padding:0px !important;
    }
    .documentName {
        font-size:20px;
    }
    .photo_wrapper,
    .photo_temporary_wrapper {
        flex-direction:column;
    }
    .image-preview {
        width:100%;
    }
    .photo-nav-delete {
        right:0px;
        margin-right:3rem;
    }
    #documentIndex,
    #documentIndexMobile {
    display:flex;
    overflow-y:scroll;
    max-height:calc(100vh - 340px);
    overflow-wrap: anywhere;
    }
    table {
        max-width:100% !important;
        display:block;
        overflow-x:scroll;
    }

  }
  @media only screen and (min-width: 1801px) {
    .mobile-hide {
        display:none !important;
    }
    #mobileMenu {
        width:100%;
    }
    #mobileMenu > div{
        display:flex;
    }
    #mobileMenu > div > div{
        flex:1;
    }
    #mobileMenu > div.col-8 {
        flex:1;
        text-align:left !important
    }

  }
    