* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #333;
    height: 100%;
    /*background: #242522;*/
}

.file-input {
    display: flex;
    background: none;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
}

.file-input p {
    align-self: center;
    font-size: 14px;
}

.file-input input[type="file"] {
    display: none;
}

input:focus {
    outline: none;
}

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

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

input.number-input {
    width: 40px;
    border: 1px solid #333;
    text-align: right;
}

input.number-input.zero-price {
    color: #ae541a;
    border: 1px solid #ae541a;
    background: #ae541a;
}

.not-offered input.number-input {
    border: 1px solid #ccc !important;
    color: #fff;
}


p.price-label {
    font-weight: bold;
}

#app {
    height: 100%;
}

fieldset {
    padding: 1rem;
    border-color: #fefefe;
    margin-bottom: 35px;
}


#login-form-wrap {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #242522;
}

#login-form {
    background: #fff;
    padding: 20px 35px 0px 35px;
    width: 400px;
    box-sizing: border-box;
    text-align: center;
}

#login-form input {
    display: block;
    margin-bottom: 15px;
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#login-form button {
    width: 100%;
    background: #71911A;
    color: #fff;
    border: none;
    cursor: pointer;
    line-height: 32px;

}


#login-form img {
    margin-bottom: 15px;
}

#login-form h1 {
    font-weight: normal;
    font-size: 22px;
    position: relative;
    top: -27px;
    left: 16px;
}

.logo-wrap h1 {
    font-weight: normal;
    font-size: 22px;
    position: relative;
    top: -15px;
    left: 40px;
}

p.message {
    font-size: 20px;
    margin-bottom: 50px;
    color: #99cc00;
}

p.message.error {
    color: #ae541a;
}


.container {
    background: #fff;
    height: 100%;
}

nav.menu {
    width: 100%;
    display: flex;

    background: #242522;
    height: 50px;
    color: #c0c4b3;
}

.menu a {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    color: #c0c4b3;
    text-decoration: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.menu a.important {
    background: #ae541a;
    background: #99cc00;
    color: #fff;
}

.menu a.selected {
    background: #131412;
    color: #fff;
}

.menu a span {
    align-self: center;
    font-size: 14px;
    cursor: pointer;
}

.menu i {
    align-self: center;
    font-size: 20px;
    margin-right: 8px;
}

.logo-wrap {
    padding: 5px 0 5px 5px;
    display: flex;
    width: 500px;
}

.logo-wrap p {
    color: #fff;
    margin-left: 10px;
    padding-top: 18px;
    font-size: 11px;
}

.total-wrap {
    text-align: right;
    background: #242522;
    align-self: center;
    padding-left: 15px;
    margin-right: 1rem;
}

.num-actions {
    text-align: right;
    background: #242522;
    align-self: center;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid #c0c4b3;
}

div.spacer {
    flex-grow: 1;
    flex-shrink: 1;
}

.main {
    display: flex;
    height: calc(100% - 50px);
    overflow: hidden;
    padding: 10px;
}

.range-view {
    width: 25%;
    height: 100%;
    overflow: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.object-view {
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    overflow: auto;
}

.action-view {
    width: 50%;
    height: 100%;
    overflow: auto;
    padding-left: 10px;
    padding-right: 10px;
    background: #fff;
}

.action-view.for-print {
    width: 1190px;
    padding: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table td {
    border: 1px solid #242522;
    padding: 3px;
}

table.ranges {
    border-top: none;
}

table.ranges td {
    background: #fcfcfc;
    border-top: none;
}

table.ranges tr.head td {
    background: #ececec;
}

table.green {
    color: #333;
    border-top: 1px solid #242522;
}

table.green tbody tr td {
    background: #fff;
}

table.green tbody tr.tree td {
    background: #ececec;
}

table.green:last-child {
    margin-bottom: 0;
}

table.green td {
    border: none;
    border: 1px solid #000;
}

table.green tr:last-child td {
    border-bottom: none;
}

td.arbo {
    width: 100px
}

td.trunk {
    width: 130px
}

td.height {
    width: 70px
}

td.crown {
    width: 90px
}

td.total {
    width: 100px;
    text-align: right;
}

td.total {
    vertical-align: top;
    border-bottom: none;
}

p.total {
    width: 100px
}

td.actionname {
    font-weight: bold;
}

td label {
    display: block;
    font-size: 10px;
}

td.no-wrap {
    white-space: nowrap;
}

td p {
    padding: 0;
    margin: 0;
    line-height: 14px;
}

.object-wrap {
    border-bottom: 30px solid #fff;
}


.object-wrap.not-offered {
    background: #ae541a;
}

.object-wrap-row {
    display: flex;
    justify-content: space-between;
    padding-left: 3px;
    padding-right: 3px;
    line-height: 30px;
    border-left: 1px solid #242522;
    border-right: 1px solid #242522;
    border-top: 1px solid #242522;
    background: #ececec;
}

table.green tr.green td {
    background: #ececec;
}

.object-wrap-row p {
    align-self: center;
}

.object-wrap-row.header {
    border-top: 1px solid #242522;
}

.object-wrap-row.footer {
    border-bottom: 1px solid #242522;
}

h2.sticky {
    position: sticky;
    top: 0;
    background: #fff;
    font-weight: normal;
    line-height: 30px;
    border-bottom: 1px solid #242522;
}

.action-view h2.sticky {
    border-bottom: none;
}

tr.not-offered {
    color: #ccc;
}

i.fa-ban {
    cursor: pointer;
    font-size: 14px;
}

tr.not-offered i.fa-ban {
    color: #ae541a;
}

td .btns-wrap {
    padding-left: 5px;
    padding-right: 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

td .btns-wrap i {
    cursor: pointer;
}

#lightbox {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;

}

#lightbox:empty {
    display: none;
}

.action-detail-view {
    width: 960px;
    height: 100%;
    overflow: auto;
    padding: 15px;
    padding-top: 0;
    background: #fff;
}

.action-detail-view.notoffered {
    color: rgba(0, 0, 0, 0.2);
}

.action-detail-view.notoffered #map-container {
    opacity: 0.2;
}

.detail-head {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    padding-top: 15px;
}

.page-head {
    height: 40px;
}

.detail-view-info {
    margin-bottom: 10px;
    display: flex;
    font-size: 14px;
}

.detail-view-info i {
    margin-right: 5px;
    align-self: center;
}

.action-detail-view table,
.action-detail-view .actioninfo {
    margin-bottom: 25px;
}

.actioninfo ul {
    margin-left: 12px;
}

.action-detail-view h3 {
    margin-bottom: 7px;
}

button.overlay-close-btn {
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    background: #99cc00;
    color: #fff;
    line-height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    border: none;
    display: flex;
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

button.overlay-close-btn i {
    align-self: center;
    font-size: 20px;
    margin-right: 8px;
}

.info-box {
    background: #eee;
    position: relative;
    padding: 15px;
    margin-bottom: 20px;
}

.info-box.important {
    background: #e76108;
    color: #fff;
}

tr,
tbody.action {
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.summary-view {
    background: #fff;
    overflow: auto;
    padding: 10px;
}

.summary-view table {
    font-size: 10px;
}

.summary-view table td:last-child {}

.summary-view table td.price {
    background: #eee;
    white-space: nowrap;
    font-weight: bold;
    text-align: right;
}

.summary-view table tr.obj-price {
    text-align: right;
}

.summary-view table tfoot td {
    background: #eee;
    font-weight: bold;
}

.summary-view table tfoot td:first-child {
    text-align: right;
}

.summary-view table.not-offered {
    opacity: 0.5;
}

.summary-view table tr.not-offered td {
    opacity: 0.5;
}

.summary-view .signing {
    margin-top: 20px;
}

.summary-view .signing.hidden {
    display: none;
}

.summary-view .signing .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.summary-view .signing .row .elem {
    width: 46%;
}

.summary-view .signing .row .elem p {
    border-bottom: 1px solid #000;
    line-height: 20px;
    font-size: 15px;
    padding-bottom: 2px;
}

.summary-view .signing .row .elem label {
    font-size: 11px;
}

@media print {
    .summary-view table {
        break-inside: avoid;
    }
    .summary-view .signing {
        break-inside: avoid;
    }
}



/*

    html,
    body,
    #app,
    .main,
    #lightbox{
        height: auto;  
    }
        */