﻿input[type="text"],
input[type="password"], #substance, #type, #availableUnits {
    font-family: Verdana, serif;
    font-size: 13px;
    padding: 0;
    color: rgb(48, 48, 48);
    background-color: rgb(248, 248, 248);
    border-style: none;
    border-width: 1px;
    border-color: rgb(190,190,190);
    padding-left: 5px;
    width: 100%;
    min-width: 20px;
    min-height: 40px;
}
input[type="file"] {
    display: none;
}

input:-moz-read-write { 
    border-style: none none solid none;
}

input:read-write {
    border-style: none ;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #000;
    font-weight: bold;
}

input[readonly] {
    color: rgb(150,150,150);
	pointer-events:none;
    background-color: rgb(252, 252, 252);
}

input[type="color"] {
    color: rgb(48, 48, 48);
    border-style: none none none none;
    border-width: 1px;
    border-color: rgb(190,190,190);
    background-color: rgba(240,240,240,0.0);
    padding: 0;
    min-height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100px;
    cursor:pointer;
}


textarea {
    color: rgb(48, 48, 48);
    border-style: solid;
    border-width: 1px;
    border-color: #d3d3d3;
    background-color: rgb(249, 249, 249);
    min-width: 230px;
    width: 100%;
    min-height: 50px;
}

textarea[readonly] {
    background-color: rgba(240,240,240,0.0);
	pointer-events:none;
	cursor: no-drop;
}

#substance,
#type,
#availableUnits {
    border-style: none none solid none;
}

#unit-row {
    display: none;
    pointer-events: none;
}

.TitleField {
    width: auto;
    font-size: 200%;
    border: none;
}

.tabInput {
    border-style: none none none none;
}

.custCombo {
	display: inline-block;
}
/* Combo */
.custCombo select {
    color: rgb(48, 48, 48);
    padding-left: 5px;
    border-style: none none solid none;
    border-width: 1px;
    border-color: rgb(190,190,190);
    background: url(../img/combo.png) no-repeat right rgba(254, 254, 254,0);
	background-color: rgb(248, 248, 248);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 260px;
    min-height: 40px;
    width: 100%;
}
    .custCombo select:disabled {
        border-style: none none none none;
        cursor: default;
        background: rgba(254, 254, 254,0);'
    }

    select:focus {
        outline: none;
        border-color: rgb(100,100,100);
        font-weight: bold;
    }


/* Date  */
.datepicker {
    -webkit-appearance: none;
    min-width: 115px;
}
.datepicker2 {
    -webkit-appearance: none;
    max-width: 115px;
}

input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}
/*
to thml <input type='date' required> // eemaldab tühjendamise risti
input[type=date]::-webkit-datetime-edit { }
input[type=date]::-webkit-datetime-edit-fields-wrapper { }
input[type=date]::-webkit-datetime-edit-text { }
input[type=date]::-webkit-datetime-edit-month-field { }
input[type=date]::-webkit-datetime-edit-day-field { }
input[type=date]::-webkit-datetime-edit-year-field { }
input[type=date]::-webkit-inner-spin-button { }
input[type=date]::-webkit-calendar-picker-indicator { }
*/

/* 
    Check 
*/

.custCheck {
    outline: none;
    -webkit-appearance: none;
    border: 1px solid rgb(157, 157, 157);
    background-color: rgb(255, 255, 255);
    padding: 10px;	
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.custCheck:active, .custCheck:checked:active {
    outline: none;
	//-webkit-box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
    //-moz-box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
    //box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
}

    .custCheck:checked{
        border: 1px solid #7dafbb;
        background-color: #7dafbb;
        color: rgb(255, 255, 255);
    }
        .custCheck:checked:after {
            color: rgb(255, 255, 255);
            font-size: 110%;
            content: '\2714';
            position: absolute;
            top: -1px;
            left: 4px;
        }
    .custCheck[disabled] {
        background-color: rgb(192,192,192);
        opacity: 0.7;
		cursor: no-drop;
    }

.favoritesCheck {
    -webkit-appearance: none;
    border-style: none;
    padding: 10px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
    .favoritesCheck:after {
        color: rgb(200, 200, 200);
        font-size: 36px;
        font-weight: normal;
        content: '\02606';
        position: absolute;
        left: -5px;
        top: -16px;
    }

    .favoritesCheck:active, .favoritesCheck:checked:active {
        -webkit-box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
        -moz-box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
        box-shadow: 0 1px 0 #ccc, 0 -1px #fff inset;
    }

    .favoritesCheck:checked {
        border-style: none;
    }

        .favoritesCheck:checked:after {
            color: rgb(255, 191, 0);
            font-size: 36px;
            font-weight: bold;
            content: '\02605';
            position: absolute;
            left: -5px;
            top: -16px;
        }

    .favoritesCheck[disabled] {
        opacity: 0.3;
    }

.ui-dialog {
    padding: 0;
}

.ui-widget-header {
    height: 20px;
    margin: -1px;
    font-size: 100%;
}

.ui-widget-content {
    margin-top: 12px;
}

.ui-dialog, .ui-widget-content {
    background: rgb(245,245,245) !important;
}

.ui-multiselect {
    font-weight: normal;
    padding: 2px 0 2px 4px;
    text-align: left;
    height: 34px;
    background: rgb(249, 249, 249);
}

    .ui-multiselect span.ui-icon {
        float: right;
        background: url(../img/combo.png) no-repeat right;
        margin-top: 3px;
    }

.ui-multiselect-single .ui-multiselect-checkboxes input {
    position: absolute !important;
    top: auto !important;
    left: -9999px;
    background-color: rgb(249, 249, 249);
}

.ui-multiselect-single .ui-multiselect-checkboxes label {
    padding: 5px !important;
    background-color: rgb(249, 249, 249);
}

.ui-multiselect-header {
    margin-bottom: 3px;
    padding: 3px 0 3px 4px
}

    .ui-multiselect-header ul {
        font-size: 100%
    }

        .ui-multiselect-header ul li {
            float: left;
            padding: 0 12px 0 0
        }

    .ui-multiselect-header a {
        text-decoration: none
    }

        .ui-multiselect-header a:hover {
            text-decoration: underline
        }

    .ui-multiselect-header span.ui-icon {
        float: left
    }

    .ui-multiselect-header li.ui-multiselect-close {
        float: right;
        text-align: right;
        padding-right: 0;
        display: none;
    }

.ui-multiselect-menu {
    display: none;
    padding: 3px;
    position: absolute;
    z-index: 10000;
    text-align: left;
    background-color: rgb(249, 249, 249);
}

.ui-multiselect-checkboxes {
    position: relative /* fixes bug in IE6/7 */;
    overflow-y: scroll;
}

    .ui-multiselect-checkboxes label {
        cursor: default;
        display: block;
        border: 1px solid transparent;
        padding: 3px 1px
    }

        .ui-multiselect-checkboxes label input {
            position: relative;
            top: 1px
        }

    .ui-multiselect-checkboxes li {
        clear: both;
        font-size: 90%;
        padding-right: 3px;
        background-color: rgb(249, 249, 249);
    }

        .ui-multiselect-checkboxes li.ui-multiselect-optgroup-label {
            text-align: center;
            font-weight: bold;
            border-bottom: 1px solid
        }

            .ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a {
                display: block;
                padding: 0;
                margin: 1px 0;
                text-decoration: none
            }

    /* remove label borders in IE6 because IE6 does not support transparency */
    * html .ui-multiselect-checkboxes label {
        border: none
    }

.listForm {
    position: relative;
    display: block;
    height: auto;
    border: 0 none #ffffff;
    overflow: auto;
    margin: 0;
}

.listBox {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #607d9f;
    border-left: 0 none #ffffff;
    border-top: 0 none #ffffff;
    border-right: 0 none #ffffff;
    padding: 10px 0 10px 0;
}

.listBox:hover{
    background-color: #f0f0f0;
}

.listTitle {
    position: relative;
    border: 0 none #ffffff;
    font-weight:bold;
}

.listData20 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    width: 10%;
    min-width: 120px;
    padding: 5px 10px 0 0;
}
.listData10 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    min-width: 20px;
    padding: 5px 10px 0 0;
}

.listData20.emailField {
    min-width: 250px;
}

.listData25 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    width: 20%;
    min-width: 150px;
    padding: 5px 10px 0 0;
}

.listData30 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    width: 30%;
    min-width: 150px;
    padding: 5px 10px 0 0;
}

.listData50 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    width: 40%;
    min-width: 150px;
    padding: 5px 10px 0 0;
}
.listData100 {
    position: relative;
    border: 0 none #ffFFff;
    float: left;
    width: 90%;
    min-width: 150px;
    padding: 5px 10px 0 0;
}

.containerBox{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 70px 70px;
    grid-template-areas:
        "send_to_owner_text send_to_owner_button"
        "upload_plan_text upload_plan_button";
}
.send_to_owner_text {
    grid-area: send_to_owner_text;
    justify-self: end;
    align-self: center;
}
.send_to_owner_button{
    grid-area: send_to_owner_button;
    justify-self: center;
    align-self: center;
}
.upload_plan_text{
    grid-area: upload_plan_text;
    justify-self: end;
    align-self: center;
}
.upload_plan_button{
    grid-area: upload_plan_button;
    justify-self: center;
    align-self: center;
}
.fieldForm{
    position: relative;
    display: block;
    min-height:auto;
    border: 0 none #ffffff;
    overflow: hidden;
    margin:10px;
}
.fieldFormDocs {
    position: relative;
    display: block;
    min-height:auto;
    border: 0 none #ffffff;
    overflow: hidden;
    margin:10px;
}
.wForm{
    width: 400px;
}
.settingsfieldForm {
    position: relative;
    display: block;
    min-height:auto;
    overflow: auto;
    margin:10px;
}
.fieldBoxLogo{
    position: relative;
    display: block;
	float: left;
	width: 50px;
	top: -5px;
}

.fieldBoxLogoInfo{
    position: relative;
    display: block;
	float: left;
	width: 70px;
	top: -20px;
}

.fieldBoxLogo180deg{
	transform: rotate(180deg);
    position: relative;
    display: block;
	margin-top: 2%;
	float: left;
	width: 50px;
	top: -5px;
}

.fieldBoxData {
    position: relative;
    display: block;
	float: left;
	width: 315px;
}

.fieldBoxData-infolabel {
    position: relative;
    display: inline-block;
	float: left;
	width: 315px;
    text-align:center;
}

    .fieldBoxData-infolabel input {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%)
    }

.fieldBox20 {
    position: relative;
    float: left;
    width: 20%;
    min-height: 65px;
    border: 0 none #ffffff;
    min-width: 150px;
    margin-bottom: 5px;
    margin-right: 15px;
}

.fieldBox25 {
    position: relative;
    float: left;
    width: 20%;
    min-height: 65px;
    border: 0 none #ffffff;
    min-width: 150px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.legendtable{
    font-weight:bold;
    border-spacing:15px;
}

    .legendtable td.insample {
        background-color: #c1b098;
        min-width:17px;
    }
    .legendtable td.inwork {
        background-color: #edf68d;
        min-width:17px;
    }
    .legendtable td.nonconf {
        background-color: #d48282;
        min-width:17px;
    }
    .legendtable td.finished {
        background-color: #b6d5d3;
        min-width:17px;
    }

img.piechart{
    width: 75%;
}

.fieldBox25image{
    position: relative;
    float: left;
    min-height: 65px;
    border: 0 none #ffffff;
    min-width: 150px;
    max-width: 400px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.fieldBox30 {
    position: relative;
    float: left;
    width: 30%;
    min-height: 65px;
    border: 0 none #ffffff;
    min-width: 150px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.illuminate{
    background: red;
}

.fieldBox50 {
    position: relative;
    float: left;
    width: 48%;
    min-height: 40px;
	min-width: 350px;
	max-width: 600px;
    border: 0 none #ffffff;
    margin-bottom: 5px;
    margin-right: 10px;
}

.fieldBox50.sumtable{
    /*border:2px solid;*/
    margin-left: 100px;
    font-size:20px;
    /*background-color: lightgray;*/
    /*border-radius: 10% 10% 10% 10%;*/
}

.fieldBox50R {
    position: relative;
    float: left;
    width: 48%;
    min-height: 40px;
    border: 0 none #ffffff;
    min-width: 250px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.fieldBox70 {
    position: relative;
    float: left;
    width: 64%;
    min-height: 65px;
    border: 0 none #ffffff;
    min-width: 150px;
    margin-bottom: 5px;
    margin-right: 10px;
}


.fieldBox75 {
    position: relative;
    float: left;
    width: 70%;
    min-height: 40px;
    border: 0 none #ffffff;
    min-width: 150px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.fieldBox100 {
    position: relative;
    float: left;
    width: 99%;
    min-height: 40px;
    border: 0 none #ffffff;
    margin-bottom: 5px;
    margin-right:0;
}

.fieldBox100X {
    background: pink;
    position: relative;
    float: left;
    width: 97%;
    min-height: 40px;
    border: 0 none #ffffff;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right:0;
}

.fieldValue {
    position: relative;
    border: 0 none #ffffff;
    width: 100%;
    padding-bottom: 2px;
}

.fieldValue.big{
   font-weight: bold;
   font-size: 25px;
   width: 200px;
   word-wrap:break-word;
}

    .fieldValue label {
        position: relative;
		display: inline-block;
		width: 150px;
		margin-right: 10px;
        text-align: right;
        line-height:1.5;
		min-height: 30px;
        font-weight: normal;
    }

	.fieldValue input {
        width: 250px;
    }
	input.auditformmets{
        width: 250px;
    }
    .filedValue textarea{
        width:400px;
        height:100px;
        display:compact;
    }

input.auditkuup {
    font-size: 15px;
    width: 300px;
}

.aastad select{
    background: #7dbbb7;
    color:white;
    float: left;
    margin-left: 20px;
}

.overallsum td{
	max-width:100px;
    font-weight: bold;
}

.overallsum td.sumval{
	max-width:220px;
}
.overallsum td.labelvalue{
    max-width:250px;
}

.fieldValueExtraLong {
    position: relative;
    border: 0 none #ffffff;
    width: 100%;
}
	.fieldValueExtraLong input {
        width: 500px;
    }
	
.fieldValueLong {
    position: relative;
    border: 0 none #ffffff;
    width: 100%;
}
    .fieldValueLong label {
        position: relative;
		display: inline-block;
		width: 170px;
		margin-right: 10px;
        text-align: right;
        font-weight: bold;
        line-height:1.5;
		min-height: 40px;
    }
	
	.fieldValueLong input {
        width: 200px;
    }

.checkValue {
    position: relative;
	text-align:right;
    width: 100px;
    height: auto;
    border: none #ffffff;
}
    .checkValue label {
        border: none #ffffff;
        text-align: left;
        font-size: 100%;
        position:absolute;
        left: 110px;
		width: 210px;
        top:5px;
    }

.colorValue {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    border: 0 none #ffffff;
    padding: 0;
}

    .colorValue label {
        border: 0 none #ffffff;
        text-align: left;
        font-weight: bold;
        font-size: 120%;
        color: rgb(110,110,110);
        position: absolute;
        left: 100px;
        top: 5px;
    }

.settingsBox100 {
    position: relative;
    float: left;
    width: 97%;
    min-height: 55px;
    border: 0 none #ffffff;
    padding: 4px 0 4px 4px;
}
.settingsBox50 {
    position: relative;
    float: left;
    width: 45%;
    min-height: 55px;
    border: 0 none #ffffff;
    padding: 4px 0 4px 4px;
    margin-right: 5px;
}

.settingsBox50R {
    position: relative;
    float: right;
    width: 45%;
    min-height: 55px;
    border: 0 none #ffffff;
    padding: 4px 0 4px 4px;
    margin-right: 5px;
}

.settingsBox25 {
    position: relative;
    float: left;
    width: 22%;
    min-height: 55px;
    border: 0 none #ffffff;
    padding: 4px 0 4px 4px;
    margin-right: 5px;
}

.borderBox {
    border: 1px dotted rgb(230,230,230);
    padding-left: 5px;
    margin-left: -5px;
    padding-top: 5px;
    margin-top: -5px;
}

.infoHeader{
	font-size: 200%;
    font-family: LatoLight, serif;
    color: rgb(109, 109, 109);
    line-height: 2;
}

.infoTxt{
    position: relative;
	font-size:110%;
    line-height: 1.5;
    float: left;
    width: 100%;
    border: 0 none #ffffff;
}

.infoImg{
	width: 100%;
}

.infoBtn{
    position: relative;
    background-color:rgba(255,255,255,0);
    color: #7dafbb;
    border: 0 solid #ffffff;
    padding: 4px 15px 4px 4px;
    min-width: 80px;
    cursor: pointer;
}

.cursorPointer{
    cursor:pointer;
}

.noHover:hover {
    background-color: transparent;
}
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc5c5c;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #acdec2;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after {
    content: 'EI';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 13px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider:after {
    content: 'JAH';
}

.bold{
    font-weight: bold;
}

/*--------- END --------*/

/* sisekontrolli tabeli jaoks kolmene custom radio */
.switch-field {
    display: flex;
    margin-bottom: 0;
    overflow: hidden;
}

    .switch-field input {
        position: absolute !important;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        width: 2px;
        border: 1px;
        overflow: hidden;
    }

    .switch-field label {
        background-color: #e4e4e4;
        color: rgba(0, 0, 0, 0.6);
        font-size: 10px;
        line-height: 1;
        text-align: center;
        padding: 8px 16px;
        margin-right: -1px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.1s ease-in-out;
    }

        .switch-field label:hover {
            cursor: pointer;
        }

    .switch-field input[type="radio"].blue:checked + label {
        background-color: rgba(125,187,183,0.5);
        box-shadow: none;
    }

    .switch-field input[type="radio"].red:checked + label {
        background-color:rgba(170,6,6,0.5);
        box-shadow: none;
    }

    .switch-field input[type="radio"].green:checked + label {
        background-color: #edf68d ;
        box-shadow: none;
    }

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

input.bigcheckbox {
    width: 20px;
    height: 20px;
}

td.eikohaldu {
    text-align: center;
    vertical-align: middle;
}

td.headercell{
    background-color: #cccccc;
}
td.auditcell{
    max-width:300px;
}

td.commentcell{
    min-width:300px;
}

.emptyRow{
    width: 100%;
    height: 20px;
}
.divCenter {
    margin: auto;
    width: 60%;
    padding: 10px;
}
.divCenterBig {
    margin: auto;
    width: 60%;
    padding: 10px;
}
.afterSubmenu{
    margin-top:60px;
}


.custScroll::-webkit-scrollbar {
    width: .7em;
}

.custScroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(125,187,183, 0.3);
    background-color: #ffffff;
    border: 1px solid #edece1;
}


.custScroll::-webkit-scrollbar-thumb {
    background-color: #607d9f;
    outline: 1px solid #607d9f;
}

.custScroll::-webkit-scrollbar {
    width: 15px;
}

.custScroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(111, 147, 50, 0.3);
    background-color: #ffffff;
    border: 1px solid #7dafbb;
}


.custScroll::-webkit-scrollbar-thumb {
    background-color: #7dafbb;
    outline: 1px solid #7dafbb;
}

.w50p{
    width: 50% !important;
}
.wSmallTable{
    width: 450px !important;
}
.wSmallButton{
    width: 50px;
}
.wNumber{
    width: 50px;
}
.ul-list{
    list-style-type:none;
}

.gruppImg{
    width:314px;
    height:152px;
}

.gruppImgH{
    font-size: 100%;
    height: 250px;
}