:root {
    --first: #C58940;
    --third: #E5BA73;
    --second: #FAEAB1;
    --forth: #FAF8F1;
}

body{
    margin:0px;
    font-family: "calibri";
    font-size: 12pt;
}

* {
    font-family: "calibri" !important;
}

br{
    display: block;
    content: "";
    margin-top: 3;
}


textarea {
    width:100% - 60;
    border-radius: 10px;
    padding:10px;
    font-size: 12pt;
    box-sizing: border-box;
    margin: 20px;
    min-width: 500pt;
}

input[type=submit], input::-webkit-file-upload-button, button{
  margin-right: 20px;
  border: none;
  background: var(--first);
  padding: 3px 10px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease-in-out;
  font-size: 12pt;
}

.center {
    text-align-last: center;
    padding:15px;
    width: 100%;
    display: block;
}

.expand {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    margin: 0px;
    padding: 0px
}

input[type=text],  input[type=number]{
 border-radius: 10px;
  width:220px;
  text-align: center;
   font-size: 12pt;
   margin-top:5px;
   border: 1px solid gray;
}

select{
    border-radius: 10px;
    text-align: center;
     font-size: 12pt;
     margin-top:5px;
}

section{
    width: calc(100% - 120px);
    display: inline-block;
    border: 3px solid var(--third);
    border-radius: 25px;
    vertical-align: top;
    padding: 5px 30px 10px 30px;
    margin: 10px;
}

canvas{
    height:400px;
    width:100%;
}

.footnote{
    position: absolute; bottom: 20px;
}
.notok, .ok {
      margin-right: 20px;
      border: none;
      padding: 5px 10px;
      border-radius: 10px;
      color: #fff;
      font-size: 11pt;
}
.ok {
    background-color:green;
}
.notok {
    background-color:red;
}

.help{
    float:right;
    border: 3px var(--third) solid;
    border-radius: 50px;
    padding:4px 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top:-10px
}

.helpimg{
    width:97%;
    margin: 10px 0px;
    border: 3px solid var(--first);
    border-radius: 20px;
    max-width:900px;
    display:block;
}

output{
    font-weight:bold;
}

.slider{
    margin:10px;
    width:200px;
}

h2,h3{
    margin:15px
}



input[type=radio], input[type=checkbox] {
  display: none;
  visibility: hidden; }
label {  text-transform: uppercase }
label, label:before, .radio-switch, .radio-switch:before {
  -webkit-transition: all 140ms ease-in-out;
  transition: all 140ms ease-in-out;
  cursor: pointer; }
::selection {  background-color: transparent }
::moz-selection {  background-color: transparent }
::webkit-selection {  background-color: transparent }

input[type=radio]:checked + label {  z-index: -1 }
input[type=radio]:checked + label:first-of-type {  color: #fa4 }
input[type=radio]:checked + label:last-of-type {  color: #4af }


input[type=radio]:last-of-type:checked ~ .radio-switch {  background-color: #4af }
input[type=radio]:last-of-type:checked ~ .radio-switch:before {  right: 2px }

input[type=checkbox]:checked + label>span {  background-color: #79bf6d }
input[type=checkbox] ~ label:before {  color: #d34836 }
input[type=checkbox]:checked ~ label:before {  color: slategrey }
input[type=checkbox]:checked ~ label:after {  color: #79bf6d }
input[type=checkbox]:checked ~ label:after, input[type=checkbox] ~ label:before {  pointer-events: none }
input[type=checkbox]:checked ~ label:before {  pointer-events: all }
input[type=checkbox]:checked + label>span:before {  float: right }


iframe {
    height: calc(100vh - 70px);
    display: inline-block;
    border: 7px solid #1e7096;
    border-radius: 15px;
    vertical-align: top;
    padding: 5px 20px;
    margin: 1px;
    font-family: sans-serif;
}

#header{
    padding: 7pt 20pt;
    background-color: #1e7096;
    color: white;
}

#header h3{
    margin:0px
}

.diac{
    font-size: 14pt;
    font-family: 'calibri';
    width: 35px;
    margin-right: 10px;
}

body *::selection {
    background-color: rgb(50 80 90 / 0.5) !important;
  }


  .inner_frame{
    height: fit-content;
  }

  fieldset[disabled="disabled"]{
        border: red solid 1px
  }

  form {
    margin: 2px;
    padding: 3px;
  }

  .qualy {
    background-color: var(--first);
    color: white;
    border-radius: 10px;
    padding: 2px 0px 2px 6px;
    margin-right: 5px;
  }

  .qualy a{
    border-radius: 10px;
    padding: 2px 9px;
    margin-left: 5px;
    color: white;
    text-decoration: none;
    background-color: rgb(216, 60, 21);
    cursor: pointer;
  }

  .aqualy{
    border-radius: 10px;
    padding: 2px 9px;
    color: white;
    text-decoration: none;
    background-color: rgb(216, 60, 21);
    cursor: pointer;
  }


  .leftgram {
    width: 120px !important;
    border-radius: 10px 0px 0px 10px !important;
    margin-right: 0px;
  }

  .rightgram {
    border-radius: 0px 10px 10px 0px !important;
    margin-left: -6px;
  }

  .rqualy {
    background-color: var(--first);
    color: white;
    border-radius: 0px 10px 10px 0px !important;
    margin-left: -6px;
    width: 220px;
    resize: both;
    display: inline-block;
    text-align: center;
    padding: 1pt;
    margin-left: -4px;
    
  }

  .rqualy a{
    color: white;
    text-decoration: none;
  }

  .lqualy {
    background-color: var(--first);
    color: white;
    border-radius: 10px 0px 0px 10px !important;
    margin-right: 0px;
    height: 18pt;
  }

  .izraz{
    border-radius: 10px;
    width: 300pt;
    text-align: center;
    font-size: 12pt;
    margin-top: 5px;
    border: 1px solid gray;
    padding-right: 10pt;
  }

  .izraz a{
    border-radius: 10px;
    padding: 2px 9px;
    margin-left: 5px;
    color: white;
    text-decoration: none;
    cursor: pointer;
  }




.inputs{
    right: 0px
}

.edit > div:nth-child(2n){
    background-color: #fdf0c0;
}

input[name="head"] {
    font-weight: bold;
  }

.flexdiv {
    display: flex; 
    flex-direction: row; 
    align-content: center; 
    flex-wrap: wrap;
  }

.gramdiv {
  display:none;
}

.tekstarea {
height: 18pt;
  margin:0px 0px 0px -5px;
  padding: 0px 10px;
  max-width: 80%;
  position: relative;
  bottom: -6px;
  text-align: left;
}

.small{
  width:60px !important;
}

.inputs_table{
  width: 100%;
}

.inputs_table tr{
  width: 100%;
}

.inputs_table tr:nth-child(even) {
  background-color: #fdf0c0;
}

.inputs_table  td:first-child {
  white-space: nowrap; width: 1%; 
} 

.inputs_table td:last-child {
  width: 99%
}

.skip{
  display: none;
}