@font-face {
    font-family: Cuprum;
    src: url('../fonts/Cuprum-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: Cuprum;
    src: url('../fonts/Cuprum-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Cuprum;
    src: url('../fonts/Cuprum-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: Cuprum;
    src: url('../fonts/Cuprum-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

html,body{height:100%; margin: 0px;}

form{
    margin: 0px;
}
body{
    background-color: #fff;
}

.lesoseka{
    max-width: 900px;
    margin: 0 auto;
}

.lesoseka{
    color: #009540;
    font-family: Cuprum, Arial;
    font-size: 1.1em;
}

.lesoseka fieldset{
    border: solid 1px #009540;
    margin: 20px 0;
    padding: 30px;
}

.lesoseka fieldset legend{
    font-weight: bold;
    font-size: 1.4em;
}

.lesoseka select{
    box-sizing: border-box;
}

.lesoseka input[type="text"], .lesoseka select{
    padding: 8px;
    border: solid 1px #009540;
    font-size: 1.1em;
    color: #009540;
}

.lesoseka input[disabled], .lesoseka select[disabled]{
    background-color: #a6d2ae;
}

.lesAgeClasses input[type="text"]{
    width: 40px;
}

.lesoseka input[type="radio"]{
    color: #009540;
}

.lesoseka ul{
    list-style: outside none none;
}

.lesoseka fieldset:first-child input[type="text"]{
    width: 100%;
    margin-bottom: 30px;
}

.lesoseka fieldset:first-child select{
    width: 100%;
}

.lesoseka fieldset:nth-child(2) select {
    width: 100%;
}

.lesoseka fieldset:nth-child(3) td{
    text-align: center;
}

.lesoseka fieldset:nth-child(3) td:nth-child(2){
    width: 100px;
}

.lesoseka fieldset:nth-child(3) td:nth-child(n+3){
    width: 120px;
    font-size: 1em;
}

.lesoseka fieldset:nth-child(3) td:first-child{
    text-align: right;
}

.lesoseka fieldset:nth-child(4) td{
    padding: 10px;
}

.lesoseka fieldset:nth-child(4) td:nth-child(2) input[type="text"]{
    width: 80px;
}

.lesoseka fieldset:nth-child(4) td:nth-child(3){
    font-size: 0.8em;
    font-style: italic;
}

.lesoseka fieldset:nth-child(5) > div{
    padding: 20px;
}

.lesoseka fieldset:nth-child(5) div.border-bottom{
    border-bottom: solid 1px #009540;
}

.lesoseka fieldset:nth-child(6){
    text-align: center;
    border: none;
    margin-top: 0;
    padding: 0;
}

.lesoseka fieldset:nth-child(6) form{
    display: inline-block;
}

.lesoseka form input[type="button"]{
    border-radius: 20px;
    background-color: rgba(160, 210, 174, 0.6);
    border: solid 1px #009540;
    padding: 10px 30px;
    color: #009540;
    font-family: Cuprum, Arial;
    font-size: 1.2em;
    cursor: pointer;
}

.lesoseka form input[type="button"]:hover{
    background-color: rgba(160, 210, 174, 1);
}

.lesoseka div[rel="saveCalculation"]{
    border-radius: 20px;
    background-color: rgba(160, 210, 174, 0.6);
    border: solid 1px #009540;
    padding: 10px 30px;
    color: #009540;
    font-family: Cuprum, Arial;
    font-size: 1.2em;
    cursor: pointer;
    display: inline-block;
}
.lesoseka div[rel="saveCalculation"]:hover{
    background-color: rgba(160, 210, 174, 1);
}

.lesoseka div[rel="harvestByDuration"]{
    background-image: url('../img/arrow.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    padding: 12px 0 22px;
    margin-bottom: 10px;
    height: 70px;
    font-size: 1.4em;
    cursor: pointer;
}

.lesoseka .wrap-center{
    text-align: center;
}

.lesoseka .wrap-end{
    margin: 0 0 20px;
}

.lesoseka .bonitets ul{
    display: inline-block;
}

.lesoseka .bonitets ul li{
    display: inline-block;
    margin-right: 10px;
}

.lesoseka .forestUseType ul{
    display: inline-block;
}

.lesoseka .forestUseType ul li{
    display: inline-block;
    margin-right: 10px;
}

.lesoseka input[var="harvestAge"], .lesoseka input[var="clearingPercent"]{
    width: 80px;
}



/********** autocomplete ***********/
.autocomplete-w1, .autocomplete{
    font-family: Cuprum, Arial, Verdana, Tahoma;
    font-size: 1.1em;
    color: #009540;
}
.autocomplete-w1 {
    /*background:url(./lib/jscripts/autocomplete/shadow.png) no-repeat bottom right;*/
    position:absolute;
    top:4px;
    left:3px;
}
.autocomplete {
    width:300px;
    border: solid 1px #009540;
    background:#FFF;
    cursor:default;
    text-align:left;
    max-height:350px;
    overflow:auto;
    margin:-5px 3px 3px -3px;
    overflow-x:hidden;
}
.autocomplete .selected {
    background:#a6d2ae;
}
.autocomplete div {

    padding:5px 10px;
    white-space:nowrap;
}
.autocomplete strong {
    font-weight:bold;
    color:#D90000;
}