html, body {
    font-family: 'Roboto', sans-serif;
    color: #212121;
    font-size: 14px;
}
a {
    text-decoration: none;
}
p {
    line-height: 20px;
}
form {
    width: 100%;
}
label {
    width: 100%;
    display: block;
    font-weight: 500;
}
label span {
    display: block;
    font-weight: 400;
}
label span:empty:after {
    content: '...';
}
input, select, textarea, button {
    display: block;
    background: #edf0f2;
    border: 0;
    width: 98%;
    padding: 6px 1%;
    margin: 5px 0 15px 0;
    border-bottom: 1px solid #ccd1d4;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}
button, input[type="submit"] {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background: #f79433;
    color: #fff;
    padding: 10px 1%;
    border: 0;
    cursor: pointer;
}
button:hover, input[type="submit"]:hover {
    background: rgb(141, 90, 42);
}
textarea {
    resize: none;
}

.transition,
.transition * {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.trans025s {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.trans05s {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.trans1s {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
.view .cf {
    margin-bottom: 15px;
}
.col {
    width: 100%;
}
.col--2 {
    width: 49%;
    float: left;
}
.col--2:first-child {
    margin-right: 1%;
}
.col--2:last-child {
    margin-left: 1%;
}
.col--3 {
    width: calc(33% - 1%);
    float: left;
    margin: 0 1%;
}
.col--3:first-child {
    margin-left: 0;
}
.col--3:last-child {
    margin-right: 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f79433;
    border-top: 10px solid rgba(35,31,32,0.5);
    z-index: 5;
}
header nav ul {
    list-style: none;
    text-align: center;
    width: 1050px;
    margin: 0 auto;
}
header nav ul li {
    display: block;
    text-align: center;
    padding: 10px;
    float: left;
    text-transform: uppercase;
}
header nav ul li svg {
    width: 35px;
    max-height: 44px;
}
header nav ul li svg,
header nav ul li svg path {
    fill: #fff;
}
header nav ul li span {
    display: block;
    font-size: 14px;
}
header nav ul li a {
    color: #fff;
}
header nav ul li.active,
header nav ul li:hover {
    background: rgba(35,31,32,0.5);
}


main {
    padding: 115px 30px 44px 30px;
    opacity: 1;
    padding-top: 155px;
}
main.active {
    opacity: 1;
}
main.with__action__bar {
    padding-top: 155px;
}
main h2 {
    margin-top: 0;
}

.action__bar {
    background: rgb(141, 90, 42);
    position: fixed;
    /*top: 65px;*/
    top: 95px;
    width: 100%;
    padding: 5px 0;
    z-index: 4;
}
.action__bar.active {
    /*transform: translateY(30px);*/
}
.action__bar ul {
    list-style: none;
    width: 1050px;
    margin: 0 auto;
    padding-left: 10px;
}
.action__bar ul li {
    display: inline;
    margin-right: 30px;
}
.action__bar ul li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
/*.action__bar ul li a:hover,*/
/*.action__bar ul li a.active {*/
    /*border-bottom: 3px solid #fff;*/
    /*padding-bottom: 2px;*/
/*}*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
.overlay.active {
    pointer-events: auto;
    opacity: 1;
}
.overlay__content {
    max-height: 0;
    position: fixed;
    top: 122px;
    width: 100%;
    z-index: 3;
    overflow: hidden;
}
.overlay__content.active {
    max-height: 1000px; /* higher then needed */
}
.overlay__content__holder {
    padding: 20px;
    width: 1005px;
    background: #fff;
    margin: 0 auto;
}
.overlay__content__holder h2 {
    margin-top: 0;
    font-size: 21px;
}
.overlay__close {
    float: right;
}
.overlay__close svg {
    width: 20px;
}


footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgb(141, 90, 42);
    color: #fff;
    z-index: 1;
}
footer p {
    margin: 5px 0;
    font-size: 12px;
}

.data__table tr td:last-child a,
.js-data-actions a {
    margin-right: 15px;
}
.data__table tr td:last-child a,
.js-data-actions a,
.data__table tr td:last-child a:focus,
.js-data-actions a:focus,
.data__table tr td:last-child a:active,
.js-data-actions a:active,
.data__table tr td:last-child a:visited,
.js-data-actions a:visited,
.data__table a,
.data__table a:focus,
.data__table a:active,
.data__table a:focus {
    color: rgb(141, 90, 42);
}
.data__table tr td:last-child a:hover,
.js-data-actions a:hover,
.data__table a:hover {
    color: #f79433;
}

.auth__page {
    height: 100vh;
    background: #f9f9f9;
}
.auth__page main {
    padding: 0;
    width: 500px;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.auth__page form {
    width: 320px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
}
.auth__page form p {
    margin-top: 0;
    color: #f79433;
}
.auth__page input[type="submit"] {
    margin-bottom: 0;
}

.commission__wrapper .dataTables_filter,
.invoice__wrapper .dataTables_filter,
.report__wrapper .dataTables_filter {
    display: none;
}

.print__only {
    display: none;
}

.hidden {
    display: none;
}

hr {
    margin-bottom: 15px;
}

.invoice__totals {
    float: right;
    padding: 15px 0;
}
.invoice__totals td {
    padding: 8px;
}

.page__commission.commission__inner header,
.page__commission.commission__inner .action__bar,
.page__commission.commission__inner footer {
    position: relative;
}
.page__commission.commission__inner .action__bar {
    top: auto;
}
.page__commission.commission__inner main.with__action__bar {
    padding-top: 30px;
}

.select--large {
    height: 300px;
}
.reports__list {
    list-style: none;
}
.reports__list li {
    margin-bottom: 10px;
}
.reports__list a {
    color: #8d5a2a;
    font-size: 16px;
}
.reports__list a:hover {
    color: #f79433;
}
.dashboard__block {
    margin-bottom: 20px;
}
.dashboard__block h2 {
    border: 1px solid #ddd;
    border-bottom: 0;
    text-transform: uppercase;
    font-size: 14px;
    padding: 8px;
    margin-bottom: 0;
}
.dashboard__block ul {
    list-style: none;
    border-bottom: 1px solid #ddd;
}
.dashboard__block li {
    border: 1px solid #ddd;
    border-bottom: 0;
    padding: 8px;
}
.dashboard__block ul li:first-child {
}
.dashboard__block ul li:nth-child(odd) {
    background: #f9f9f9;
}
.dashboard__summary {
    float: left;
    width: calc(50% - 10px);
}
.dashboard__summary + .dashboard__summary {
    float: right;
}
.dashboard__block a {
    color: rgb(141, 90, 42);
}
.dashboard__block a:hover {
    color: #f79433;
}

.buyback__wrapper {
    padding-bottom: 100px;
}
.buyback__section {
    display: none;
}
.buyback__section.visible {
    display: block;
}
.buyback__editable {
    float: left;
    width: 48%;
    margin-right: 4%;
}
.buyback__raw {
    float: right;
    width: 48%;
}
.buyback__delivery {
    display: block;
    margin-bottom: 5px;
}
.buyback__raw table,
.buyback__editable table {
    border-spacing: 0;
    margin-bottom: 20px;
    width: 100%;
}
.buyback__field {
    padding: 0 !important;
}
.buyback__field input {
    padding-left: 5px;
    border: 0;
    height: 24px;
    width: 75px;
    margin: 0 auto;
    background: rgb(239, 239, 239);
}
.buyback__raw__section {
    padding-bottom: 40px;
}

.customer__info__wrapper {
    padding-bottom: 20px;
}
.customer__info {
    float: left;
}
.customer__info__behalf {
    float: left;
    margin-left: 100px;
}

.customer__info--provider {
    float: right;
}

.importer__table {
    border-spacing: 0;
    border-collapse: collapse;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}
.importer__table thead {
    font-size: 16px;
}
.importer__table tbody {
    color: #616161;
}
.importer__table td {
    padding: 10px;
    border: 1px solid #cdcdcd;
}

.transaction__fixer__line {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}
.transaction__fixer__line div {
    width: calc(100% / 5 - 16px);
    float: left;
    margin-right: 20px;
}
.transaction__fixer__line div:last-child {
    margin-right: 0;
}
.transaction__fixer__line button {
    margin-top: 16px;
    margin-bottom: 0;
}
.js-add-fixer-line {
    width: calc(100% / 5 - 36px);
    float: right;
}