:root {
    --main-wendre-color: #003c17;
    --main-wendre-color-old: #5ab5b0;
    --main-wendre-color-active: #EE7C71;
    --main-wendre-color-hover: #00515c;
    --main-wendre-color-file: #F4CE3D;
}

html, body {
    width: 100%;
    height: 100%;
    padding-bottom: 150px;
}
.main{
    font-family: "Segoe UI Light", serif;
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.addedCC{
    width: 80%;
    float: left;
    margin-top: 10px;
    height: 25px;
    padding-right: 5px;
}

.ccRemoveBtn{
    float: left;
    margin-top: 10px;
    height: 25px;
    margin-left: 2em;
    padding-right: 5px;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.headerImgh1{
    height: 10rem;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
.headerimgh1 img {
    height: 10rem;
}

.headerImg2 {
    overflow: hidden;
    width: 100%;
    object-fit: cover;
    height: 20rem;
}

.loggedInAs{
    font-size: 11px;
}



.container2{
    width: 80%;
    margin: auto;
    overflow: hidden;
}
.navbar ul{
    list-style: none;
    padding: 0px;
}

.navbar li {
    display: inline-block;
    padding-right: 8px;
}

.navbar li:last-child{
    padding-right: 0px;
}

.navbar a{
    padding: .25em;
    border-radius: .5em;
    text-decoration: none;
    color: black;
    transition-duration: 0.2s;
}

.navbar a:hover{
    color: white;
    background-color: var(--main-wendre-color-hover) ;
}




#login_fieldset, #fieldset_out{
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    display: inline-block;
    margin-bottom: 2em;
}
#login_legend, #legend_out{
    font-variant: small-caps;
    font-weight: bold;
    margin: 1em 0.2em;
    padding: 1em 0.5em;
    text-align: left;
}
.login_form_div, .form_out_div{
    padding: 0.3em 0.5em;
    text-align: right;
}
.login_form_div input, .form_out_div input{
    font-size: large;
    width: 12em;
}
#login_submit_input, #cancel_input{
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-top: 1em;
    margin-bottom: 0.8em;
    padding: 0.5em 0.7em;
    text-transform: lowercase;
}
#login_form_div_admin input{
    margin-left: 0;
    margin-right: 11.2em;
    width: 1em;
}
#login_form_div_declaration input{
    margin-left: 0;
    margin-right: 11.2em;
    width: 1em;
}

#login_form_div_submit input{
    width: auto;
}
#login_form_div_submit input:hover{
    color: white;
    background-color: var(--main-wendre-color);
}
.login_form_div textarea{
    font-size: large;
    margin-bottom: 0;
    padding-bottom: 0;
    width: 13.5em;
}
.login_form_div label{
    vertical-align: top;
}
.login_form_div select{
    font-size: large;
    width: 12.3em;
}


.mainbuttonsContainer{
    width: 625px;
    display: inline-grid;
    grid-template-columns: 50fr 50fr;
}
.buttonA{
    font-family: "Segoe UI Light", serif;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    border: 3px solid #000000; /* Black */
    border-radius: 4px;
    width: 300px;
    height: 75px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}
.buttonA:hover {
    background-color: var(--main-wendre-color) ; /* TE sinine */
    color: white;
}
.buttonA:disabled{
    opacity: 0.6;
    cursor: pointer;
}

.buttonB{
    font-family: "Segoe UI Light", serif;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    border: 3px hidden #000000; /* Green */
    border-radius: 4px;
    min-width: 400px;
    min-height: 35px;
    word-wrap: break-word;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.buttonB:hover {
    background-color: var(--main-wendre-color) ; /* Green */
    color: white;
}
.buttonB:disabled {
    opacity: 0.6;
    cursor: pointer;
}

.buttonC{
    font-family: "Segoe UI Light", serif;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    border: 3px hidden #000000;
    border-radius: 4px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    height: 35px;
    box-sizing: border-box;
}
.buttonC:hover {
    background-color: #b54550; /* Green */
    color: black;
}
.buttonC:disabled {
    opacity: 0.6;
    cursor: pointer;
}

.deleter2{
    padding-top: 11px;
    padding-right: 7px;
    padding-bottom: 0px;
    white-space: nowrap;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}


table, th, td, tr, caption {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
td{
    border: 2px solid #000000;
    overflow: hidden;
}
tr:hover {
    background-color: #f5f5f5;
}




.uploadbox input {
    width: 220px;
    padding: 12px 20px;
    margin: 8px;
    box-sizing: border-box;
    border: 2px solid #000000; /* Green */
    background-color: #f5f5f5;
    color: black;
    height: 50px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}
.uploadbox input:hover{
    background-color: var(--main-wendre-color); /* Green */
    color: white;
}

.uploadbox select{
    display: block;
}
.checkbox{

    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    height: 25px;
    width: 25px;
    margin-top: 25px;
}

.checkbox:active, .checkbox:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.checkbox:checked {
    background-color: #646464;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #30635e;
}



.supplierManual{
    font-weight: normal;
}
.supplierinfo{
    margin-right: auto;
    margin-left: auto;
    width: 700px;
    font-size: 14px;
    color: black;
    text-align: left;
}


.usersHeader{
    font-weight: normal;
    font-size: 24px;
}

.usersTable{
    border: 2px solid black;
    border-collapse: collapse;
    width: 100vw;
}
.usersTable tr{
    padding: 5px;
}
.usersTable tr:nth-child(even){
    background-color: #e5e5e5;
}
.usersTable th{
    padding: 5px;
    border: 2px solid black;
    background-color: #e8e8e8;
}
.usersTable td{
    padding: 5px;

}
.usersTable button{
    width: 75px;
    height: 25px;
}
.usersTable button:hover{
    background-color: var(--main-wendre-color);
    color: white;
}



.acceptance_form{
    text-align: right;
    width: 400px;
    display: inline-grid;
    padding: 40px 20px 20px 10px;
    border: 2px groove rgba(128, 128, 128, 0.33);
    border-radius: 20px;
    grid-template-columns: 25fr 50fr;
    overflow: hidden;
}
.acc{
    margin-top: 10px;
    height: 25px;
    padding-right: 5px;
}
.acc_last{
    margin-top: 25px;
    padding-right: 5px;
}
.acc_submit{
    margin-top: 25px;
    width: 100px;
    height:50px;
    margin-left: 150px;
    border: 1px groove;
    border-radius: 3px;
    font-family: "Segoe UI Light", serif;
    font-weight: bold;
    font-variant: small-caps;
    transition-duration: 0.2s;
}
.acc_submit:hover, .aToButton:hover, .send_env_declarations_button:hover{
    cursor: pointer;
    background-color: var(--main-wendre-color);
    color: white;
}


.hidden{
    visibility: hidden;
    width: 0px;
    height: 0px;
}
.hiddendel{
    visibility: hidden;
    overflow: hidden;
    font-size: 0px;


}
.error{
    color: red;
}

.declaration_mail_form{
    margin-left: auto;
    margin-right: auto;
    width: 66%;
    display: grid;
    grid-template-rows: 5fr 1fr;
}

.declaration_mail_form #first_sub{
    display: grid;
    grid-template-columns: 2fr 6fr;
}

.declaration_mail_form #first_sub textarea{
    height: 10rem;
    width: 100%;
}


.declaration_form{
    margin-left: auto;
    margin-right: auto;
    width: 66%;
    display: grid;
}

.declaration_form span{
    width: 85%;
    margin-right: auto;
    margin-left: auto;
}

.declaration_form #first_sub, .declaration_form div{
    display: grid;
    grid-template-columns: 2fr 6fr;
}

.declaration_form #second_sub{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3rem 3rem;
}
.declaration_form #third_sub{
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;

}
.declaration_form #third_sub input{
    margin-left: auto;
    margin-right: auto;
}

.aToButton {
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    width: 100px;
    height:50px;
    border: 1px groove;
    border-radius: 3px;
    font-family: "Segoe UI Light", serif;
    font-weight: bold;
    font-variant: small-caps;
    transition-duration: 0.2s;
}

.send_env_declarations_button {
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    border: 1px groove;
    border-radius: 3px;
    font-size: 1em;
    font-family: "Segoe UI Light", serif;
    font-weight: bold;
    font-variant: small-caps;
    transition-duration: 0.2s;
}

.env_form{
    margin-left: auto;
    margin-right: auto;
    width: 66%;
    display: grid;
}

#last_field{
    margin-top: 2rem;
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.env_submit{
    margin-top: 25px;
    width: 100px;
    height:50px;
    margin-left: auto;
    margin-right: auto;
    border: 1px groove;
    border-radius: 3px;
    font-family: "Segoe UI Light", serif;
    font-weight: bold;
    font-variant: small-caps;
    transition-duration: 0.2s;
}
.env_submit:hover, .aToButton:hover{
    cursor: pointer;
    background-color: var(--main-wendre-color);
    color: white;
}

.env_user_data{
    display: grid;
}
.env_user_data div{
    display: grid;
    grid-template-columns: 2fr 6fr;
}
.reach_div{
    margin-top: 2rem;
    text-align: left;
}

.dash_list{
    list-style-type: none;
}
.dash_list li:before{
    content: "- "
}

.signature-wrapper {
    position: relative;
    width: 300px;
    height: 100px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: black groove 5px;
}

.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width:300px;
    height:100px;
}

#signature_div{
    display: grid;
    text-align: right;
    grid-template-columns: 1fr 300px 1fr;
}
#clear_signature{
    margin-top:  auto;
    margin-left: 2rem;
    text-align: center;
    width: 6rem;
    height: 2rem;
}

.env_table input{
    width: 95%;
}
.mailer_body{
    resize: vertical;
    width: 100%;
}
#mailer{
    display: grid;
    gap: .5em;
    max-width: 26em;
    margin-left: auto;
    margin-right: auto;

}

#mailer > div{
    display: grid;
    grid-template-columns: 3em auto;
    text-align: right;
    gap: 1em;
}

.mailer_subject {
    width: 100%;
}

.mailer_submit{
    width: max-content;
    padding: .5em;
    margin-left: auto;
}
.mailer_submit:hover{
    background-color: var(--main-wendre-color);
    color: white;
}
.mailer_type{
    text-align: left;
}
.container4{
    margin-left: auto;
    margin-right: auto;
    max-width: 30em;
    display: grid;
    gap: 1em;
}
.container4 > div {
    text-align: left;
    display: grid;
    gap: .5em;
}

.pass_submit{
    margin-left: auto;
    width: 5em;
    border: 1px solid rgb(104, 104, 104);
}

.settingsSection span{
    text-align: left;
    font-weight: bold;
    font-size: large;
}
.settingsSection > div{
    padding-left: 1em;
}

.supplierTable{
    margin: 0 1em;
    border: 1px solid;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    padding: 2em 1em;
}
.supplierTable th{
    border: 1px solid black;
    padding: .5em;
    background-color: #dbdbdb;
}
.supplierTable td{
    border: 1px solid rgb(189, 189, 189);
    padding: 1em .5em;
    min-width: 5em;
}
.supplierTable input, .supplierTable textarea, .supplierTable select{
    width: 90%;
    font-size: larger;
    margin: 0 .5em;
}
.supplierTable button{
    margin: 0 .5em;
    padding: .5em;
}
.addRowButton{
    font-size: x-large;
    margin-left: auto;
    border: 1px solid rgb(104, 104, 104);
    border-radius: 4px;
    margin: .5em;
}
.addRowButton:hover{
    cursor: pointer;
}
.overDeadlineCell{
    background-color: rgb(255, 149, 149);
}
.upcomingDeadlineCell{
    background-color: rgb(255, 187, 109);
}
.compactHeader > th{
    min-width: 7em;
    text-wrap: wrap;
}
.certificatesTable{
    padding-right: 2em;
}
.certificatesTable td{
    padding: .25em 0;
}
.certificatesTable tr:nth-child(n+3):hover {
    cursor: pointer;
    background-color: rgb(216, 216, 216);
}
.certificatesTable tr th:hover{
    cursor: default;
}
.hide{
    display: none !important;
}
.freeText{
    margin-top: .5em !important;
    display: block;
}
.fresh{
    background-color: rgba(91, 223, 65, 0.4);
}
.fresh:hover{
    background-color: rgba(141, 248, 120, 0.7);
}
.mail_to_box{
    width: 90%;
    height: 90%;
}
.exportButton{
    border: 1px solid black;
    text-decoration: none;
    padding: .25em;
}
.exportButtonContainer{
    margin-bottom: 1.5em;
}
.supplierFilter{
    width: 80% !important;
}
.clearFiltersButton{
    width: fit-content;
    height: fit-content;
    border: 1px solid black;
    padding: .4em;
}