/*====================================*/
/*              IMPORTS               */
/*====================================*/
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700');
@import url("cr_report.css");
@import url("arrangersu.css");
@import url("monitoring.css");
@import url("timerange.css");

/*====================================*/
/*             CSS RESET              */
/*====================================*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    vertical-align: baseline;
    font-size: 100%;
    outline: none;
    font: inherit;
    padding: 0;
    margin: 0;
    border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: calc(100vw - 100px);
}

a {
    text-decoration: none;
    color: inherit;
}

strong {
    font-weight: bold;
}

/*====================================*/
/*               BASICS               */
/*====================================*/
body {
    font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f3f7f8;
    overflow-x: hidden;
    line-height: 22px;
    font-weight: 400;
    font-size: 15px;
}

/*====================================*/
/*               #arr_form, #arr_form_containerS              */
/*====================================*/
button:disabled, input[type="button"]:disabled {
    pointer-events: none;
    opacity: .5;
}

.button {
    font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: button;
    -moz-appearance: button;
    line-height: inherit;
    appearance: button;
    font-size: inherit;
    background: none;
    color: inherit;
    outline: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.styled-button {
    background-color: #b54a9f;
    color: white;
    padding: .5rem 2rem;
    box-sizing: border-box;
    margin-left: auto;
    transition: background-color .25s;
    border-radius: 2px;
}

.styled-button:hover {
    background-color: hsl(312, 42%, 30%);
}

.button:hover {
    cursor: pointer;
}


/* Collapse button */
.button.collapse {
    padding-right: 15px;
    position: relative;
    font-weight: 400;
    float: left;
}

.button.collapse:before {
    -webkit-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    font-family: 'Font Awesome 5 Pro';
    text-align: center;
    position: absolute;
    content: '\f320';
    font-size: 22px;
    right: 100%;
    width: 50px;
    top: 0;
}

.button.collapse:hover {
    background: #f3f7f8;
}

.button.collapse:hover:before {
    background: #f3f7f8;
}

/* Slider & signout buttons */
.button.settings,
.button.signout {
    position: relative;
    padding: 0 7.5px;
    color: #97a1ac;
    float: right;
}

.button.settings:hover span,
.button.signout:hover span {
    visibility: visible;
    opacity: 1;
}

.button.settings span,
.button.signout span {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    white-space: nowrap;
    visibility: hidden;
    position: absolute;
    font-size: 14px;
    bottom: 100%;
    opacity: 0;
    left: 50%;
}

.button.settings:before,
.button.signout:before {
    font-family: 'Font Awesome 5 Pro';
    font-size: 18px;
}

.button.settings:before {
    content: '\f1de';
}

.button.signout:before {
    content: '\f08b';
}

input:read-only {
    background: #9daaac;
    color: #c6d4d6;
}

.cr-report input:read-only {
    pointer-events: none;
    background-color: white;
    border: none;
    color: black;
    border: 1px dotted black;
}

main#reporting {
    display: flex;
    flex-wrap: wrap;
}

main#reporting form {
    width: 300px;
    margin-right: 15px;
}

main#reporting section.block.white {
    background: #cad5d8;
    height: 280px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    margin-bottom: 35px;
}

main#reporting .selectbar.nofix {
    background: #ffffff;
    height: 88px;
    display: flex;
    align-items: center;
}

main#reporting select {
    width: 100%;
    margin: 3px 0;
}

main#reporting section.block.white input.button {
    background: #65aab1;
    border: none;
    color: white;
    text-align: center;
    padding: 5px 10px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    margin-top: 15px;
    transition: all 0.2s ease-in-out;
    align-self: flex-end;
}

main#reporting section.block.white input.button:hover {
    background: #164253;
}

main#reporting section.block.white input.button.disabled {
    background: #bbb;
    color: #777;
    cursor: pointer;
}

main#reporting a.buttondl {
    background: #65aab1;
    border: none;
    color: white;
    text-align: center;
    padding: 8px 38px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

main#reporting a.buttondl:hover {
    background: #164253;
}

main#reporting_dl a {
    width: 300px;
    padding: 8px 20px;
    background: rgba(230, 240, 242, 0.5);
    border-bottom: 1px solid #a9cfd3;
    color: #65aab1;
    margin: 0 0 6px 0;
    display: block;
    transition: all 0.2s ease-in-out;
}

main#reporting_dl a:hover {
    background: #65aab1;
    color: white;
}

/*====================================*/
/*              TYPOGRAPHY            */
/*====================================*/
h1,
h2,
h3 {
    font-weight: 300;
}

h1 {
    margin-bottom: 25px;
    line-height: 30px;
    font-size: 30px;
    color: #b54a9f;
}

h2 {
    line-height: 20px;
    font-size: 20px;
}

h3 {
    line-height: 18px;
    font-size: 18px;
}

.block h1,
.block h2,
.block h3 {
    margin-bottom: 25px;
}

i.fa-check {
    color: #65aab1;
}

i.fa-times {
    color: #b54a9f;
}

/*====================================*/
/*                LOGIN               */
/*====================================*/
header.login {
    border-bottom: 5px solid #a3b4bc;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    box-shadow: none;
    height: 200px;
    width: 100%;
}

header.login .logo {
    -webkit-transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
}

header.login .logo img {
    height: 200px;
    width: 200px;
}

main.login {
    background: url('../img/login_bg.jpg') no-repeat center;
    min-height: calc(100vh - 200px);
    background-size: cover;
    padding: 0 0 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main.login h1 {
    margin: 120px 0 60px;
    text-align: center;
    line-height: 27px;
    font-size: 27px;
    color: #97a1ac;
}

main.login form {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #e2ebec;
    line-height: 15px;
    max-width: 450px;
    font-size: 15px;
    margin: 0 auto;
    padding: 25px;
    width: 100%;
}

main.login form:after {
    display: table;
    content: '';
    clear: both;
}

main.login form input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: inherit;
    background: none;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
}

main.login form input::-webkit-input-placeholder {
    opacity: 1;
    color: #164253;
}

main.login form input:-ms-input-placeholder {
    opacity: 1;
    color: #164253;
}

main.login form input::-moz-placeholder {
    opacity: 1;
    color: #164253;
}

main.login form input:-moz-placeholder {
    opacity: 1;
    color: #164253;
}

main.login form input[type="text"],
main.login form input[type="password"] {
    border-bottom: 1px solid #728e98;
    margin-bottom: 20px;
    padding: 0 0 15px;
    display: block;
    color: #164253;
    width: 100%;
}

main.login form input[type="submit"],
.user input[type="submit"] {
    background: #b54a9f;
    margin-top: 20px;
    max-width: 150px;
    padding: 10px 0;
    float: right;
    width: 100%;
    color: #fff;
}

main.login form input[type="submit"]:hover {
    background: #728e98;
    cursor: pointer;
}

.msg {
    color: #b54a9f;
    width: 100%;
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
}

.msg strong {
    border-radius: 10px;
    background: #b54a9f;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    line-height: 15px;
    font-size: 15px;
    margin: 40px auto;
    padding: 25px;
    width: 450px;
    display: block;
}

/*====================================*/
/*            SIDEBAR NAV             */
/*====================================*/
aside {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    background: #073648;
    visibility: hidden;
    overflow-y: auto;
    position: fixed;
    width: 185px;
    /* 220 */
    color: #fff;
    bottom: 0;
    left: 0;
    top: 0;
}

aside.show {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
}

aside:after {
    background: rgba(255, 255, 255, 0.25);
    position: absolute;
    height: 100%;
    content: '';
    width: 5px;
    bottom: 0;
    right: 0;
    top: 0;
}

aside .logo {
    padding-top: 30px;
    display: block;
    width: 100%;
}

aside .logo img {
    display: block;
    margin: 0 auto;
    height: 100px;
    width: 100px;
}

aside .username {
    text-align: center;
    line-height: 20px;
    font-weight: 600;
    margin: 15px 0;
    width: 100%;
    color: #7f949b;
    font-size: 12px;
}

aside nav ul {
    list-style: none;
}

aside nav>ul>li {
    margin-bottom: 1px;
}

aside nav ul a {
    line-height: 35px;
    display: block;
}

aside nav>ul>li>a {
    background: #164253;
    font-weight: 600;
    padding: 0 20px;
    color: #ffffff;
}

aside nav>ul>li>a:hover,
aside nav>ul>li>a.active {
    background: #b54a9f;
}

aside nav ul li ul {
    position: relative;
    padding-left: 25px;
    margin: 15px 0;
    display: none;
}

aside nav ul li ul:before {
    position: absolute;
    background: #fff;
    height: 100%;
    content: '';
    width: 1px;
    left: 25px;
    bottom: 0;
    top: 0;
}

aside nav ul li ul li a {
    position: relative;
    font-weight: 300;
    padding: 0 5px 0 13px;
}

aside nav ul li ul li a:before {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #b54a9f;
    border-radius: 50%;
    position: absolute;
    margin-left: -3px;
    display: none;
    content: '';
    height: 7px;
    width: 7px;
    top: 50%;
    left: 0;
}

aside nav ul li ul li a:hover,
aside nav ul li ul li a.active {
    font-weight: 600;
}

aside nav ul li ul li a.active:before {
    display: block;
}

/*====================================*/
/*               HEADER               */
/*====================================*/
header {
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    width: calc(100% - 185px);
    background: #fff;
    color: #7f949b;
    float: right;
    position: relative;
    z-index: 10;
}

header.full {
    width: 100%;
}

header ul {
    list-style: none;
}

header section,
header nav {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    float: left;
}

header section.topbar {
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    width: calc(100% - 185px);
    line-height: 50px;
    background: #fff;
    font-size: 14px;
    position: fixed;
    padding: 0 50px;
    z-index: 999;
    right: 0;
    top: 0;
}

header section.topbar.full {
    width: 100%;
    left: 0;
}

header section.topbar ul {
    float: right;
}

header section.topbar li {
    margin-right: 25px;
    float: left;
    position: relative;
}

header section.topbar li:last-of-type {
    margin-right: 0;
}

header section.topbar li:last-of-type:after {
    display: none;
}

header section.topbar li:after {
    content: " ";
    display: block;
    position: absolute;
    height: 29px;
    background: rgba(6, 55, 73, 0.1);
    width: 1px;
    left: calc(100% + 13px);
    top: 11px;
}

header section.topbar li a:hover i {
    color: #b54a9f;
}

header section.topbar i {
    margin-left: 5px;
}

header section.topbar #versionblock {
    background: white;
    width: 273px;
    position: absolute;
    right: 50px;
    top: 60px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 10px 20px;
    display: none;
}

header section.topbar #versionblock a {
    margin: 0;
    padding: 0;
    line-height: 30px;
    display: block;
    float: left;
    width: 100%;
}

header section.topbar #versionblock a.active {
    font-weight: bold;
    color: #b54a9f;
}

header section.topbar #versionblock a:hover {
    color: #073648;
}

header section.topbar #versionblock i {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #A4A4A4;
}

header section.title {
    margin-top: 50px;
    padding: 50px 35px 25px 35px;
}

header nav {
    padding: 25px 35px 25px;
    background: white;
}

header nav ul {
    float: left;
}

header nav ul li {
    margin-right: 15px;
    float: left;
}

header nav ul li:last-of-type {
    margin-right: 0;
}

header nav li a:hover,
header nav li a.active {
    color: #b54a9f;
}

header nav.fix {
    position: fixed;
    top: 50px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

/*====================================*/
/*                MAIN                */
/*====================================*/
main {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: calc(100% - 185px);
    padding: 35px;
    float: right;
    position: relative;
}

main.fix {
    padding-top: 110px;
}

main.full {
    width: 100%;
}

main select {
    width: 200px;
}

main table {
    text-align: left;
    background: #fff;
    /*color: #164253;*/
    color: black;
    width: 100%;
}

main p,
main ul li {
    color: #164253;
}

main table th {
    padding: 1.5rem 0;
    padding-right: 1rem;
    text-align: left;
    vertical-align: bottom;
    font-weight: 700;
}

main table td {
    padding: 0;
    padding-right: 1rem;
    height: 40px;
    vertical-align: middle;
}

main table td:first-of-type {
    padding-left: .5rem;
}

.datetd {
    width: 80px;
}

main table thead {
    border-bottom: 1px solid #a9cfd3;
    font-weight: 600;
    font-size: 13px;
    color: #65aab1;
    line-height: 18px;
}

main table tbody tr.doprate:first-of-type td {
    padding: 5px 5px 5px;
}

td.CSetRep,
td.CBookings,
td.Ctriggers,
td.Sendmail,
td.PrintAndSign,
td.CExports,
td.ExecPayments,
td.JournalEntries {
    font-size: 12px;
}

main table tbody tr:nth-of-type(even) {
    /*background: rgba(230, 240, 242, 0.41);*/
    background: #e5eaeb;
}

main#admin table tbody tr:nth-of-type(even) {
    border-bottom: 30px solid white;
}

main table tbody tr:hover {
    background: #164253;
    color: #fff;
}

main table tbody tr.warning td {
    background: #e06d30;
    color: white;
    font-weight: bold;
}

main table tbody tr.trigger td {
    background: #e0306d;
    color: white;
    font-weight: bold;
}

main table tbody tr.warning td i,
main table tbody tr.trigger td i {
    color: white;
}

main#docs table tbody tr:nth-of-type(even) {
    background: none;
}

main#docs table tbody tr:hover {
    background: none;
    color: #164253;
}

main#docs {
    color: #164253;
}

main#docs em {
    font-style: italic;
}

main#docs strong {
    color: #164253;
}

main#docs hr {
    width: 400px;
    margin: 20px 0;
}

main#docs div.area {
    width: 23%;
    margin: 10px 2% auto 0;
    display: block;
    float: left;
}

main#docs .filedownload div.area {
    width: 100px;
    border: 1px solid #cad5d8;
    margin: 10px 5px;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
}

main#docs .filedownload div.area:hover {
    cursor: pointer;
    background: #cad5d8;
}

main#docs .filedownload div.area:hover i.fa-file-download {
    color: #b54a9f;
}

main#docs .filedownload div.area:hover h3 {
    color: white;
    font-weight: 800;
    ;
}

main#docs section.block.white {
    margin-bottom: 15px;
}

main#docs section.block.white i {
    font-size: 40px;
}

main#docs section.block.white i.fa-times-square {
    color: #cad5d8;
}

main#docs section.block.white i.fa-file-download {
    cursor: pointer;
}



main span {
    padding: 25px;
    float: left;
}

main ul,
ol {
    margin-left: 1em;
}

/* Monitoring */
main.monitoring .block:nth-of-type(2) table {
    /*width: 50%;*/
}


tr.userdetail table {
    background: none;
    margin: 0 20% 40px 20%;
    width: 60%;
}

tr.userdetail table td h3 {
    margin: 20px 0 10px 0;
    width: 100%;
    border-bottom: 1px solid #65aab1;
    padding-bottom: 10px;
}

tr.userdetail:hover,
tr.userdetail table tr:hover {
    background: #e4f0f2 !important;
    color: #164253 !important;
}

.user input,
.user select {
    width: 100%;
    border: none;
    border: 1px solid #ddd;

}

.user input {
    padding: 12px 10px;
    box-sizing: border-box;
    font-size: 15px;
}

.user p {
    margin: 10px 0 10px;
}

.userentry {
    cursor: pointer;
}

.userdetail {
    display: none;
}

main table input[type="submit"] {
    margin-left: 10px;
}

main table input[type="submit"],
main table input[type="button"] {
    background: #65aab1;
    color: white;
    text-align: center;
    padding: 5px 10px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    cursor: pointer;
}

.userdetail .removeuser {
    float: right;
    margin: -50px 0 0 0;
}

.userdetail input[type="submit"] {
    float: right;
}

.usermgmt-button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 2rem;
}

#admin table tr td {
    vertical-align: middle;
}

#showrows table input[type="button"] {
    margin: 20px 0 0px 0;
    width: 100%;
}

#showrows table table input[type="text"],
#showrows table table input[type="date"],
#admin input[type="text"],
#admin textarea {
    float: left;
    background: #cedde0;
    width: 100% !important;
    max-width: 200px;
    padding: 10px !important;
    box-sizing: border-box;
    border: none;
}

#showrows table table input[type="button"] {
    margin: 20px 0 0px 0;
    width: 200px;
    float: right;
}

#showrows table table input.inserrate {
    float: left;
    margin-left: 5px;
    width: 100px;
}

#showrows table input[type="text"],
#showrows table input[type="date"] {
    margin: 0px 0 0px 0;
    padding: 8px 10px;
    box-sizing: border-box;
    width: 100%;
    float: right;
    margin: 0;
    text-align: center;
    background: white;
    border: none;
}

#showrows table.outline input[type="text"],
#showrows table.outline input[type="date"] {
    margin: 10px 0 10px 0 !important;
    padding: 5px 3px;
    width: auto;
    float: left;
    margin: 0;
    text-align: right;
}

#showrows table.outline input[type="button"] {
    margin: 10px 0 10px 0;
}

table.noalign input[type="text"],
table.noalign textarea {
    padding: 5px 3px;
    width: auto;
    float: left;
    text-align: right;
    margin: 0 !important;
}

table.noalign td {
    margin: 0;
}

#showrows span {
    padding: 0;
}

main table input[type="submit"]:hover,
main table input[type="button"]:hover {
    background: #417C82;
}

.debtor-concentration-graph-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}
.debtor-concentration-chart {
    width: 45%;
}
.debtor-concentration-chart, .debtor-concentration-top10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    canvas {
        /* width: 40rem !important;
        height: 40rem !important; */
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain;
        object-position: start;
    }

    h2.canvasheader {
        float: none;
        margin-bottom: 2rem !important;
    }
}

.top10 {
    width: 38rem;
}

.top10 div {
    margin: 4px 0;
    font-size: 14px;
}

.top10 div strong {
    color: #65aab1;
}

.top10 div:nth-child(4n+1) {
    color: #65aab1;
    width: 50%;
    float: left;
    text-align: left;
}

.top10 div:nth-child(4n+2) {
    color: #999;
    width: 30%;
    float: left;
    text-align: right;
}

.top10 div:nth-child(4n+3) {
    color: #999;
    width: 10%;
    float: left;
    text-align: right;
}

.top10 div:nth-child(4n+4) {
    color: #999;
    width: 10%;
    float: left;
    text-align: right;
}

div.legend {
    float: left;
    margin-bottom: 50px;
    width: 33%;
    box-sizing: border-box;
    padding-left: 35px;
}

div.legend ul li {
    list-style: none;
    font-size: 14px;
    line-height: 17px;
    display: block;
    width: 100%;
    margin-bottom: 3px;
}

div.legend ul li span {
    width: 20px;
    height: 15px;
    float: left;
    margin: 0 5px 2px 0;
    padding: 0;
}

div.legend_custom {
    width: 460px;
    display: block;
    position: relative;
    margin: -30px 0 60px -230px;
    left: 50%;
    float: left;
}

div.legend_custom div.greens {
    width: 30px;
    height: 15px;
    background: #b7e6e6;
    float: left;
    margin: 3px 10px 0 0;
}

div.legend_custom div.pinks {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background: #b54a9f;
    float: left;
    margin: 3px 24px 0 0;
}

#dilution div.legend {
    width: calc(50% - 35px);
}

div.statusarea {
    margin: 20px 0;
    display: none;
    padding: 1rem 2rem;
    margin-top: 0;
    padding-top: 0;
}

div.statusarea div.statusrow {
    padding: 10px 30px 0 0;
    flex-direction: row;
    display: flex;
}

div.statusarea div.statusrow div {
    padding: 2px 10px 5px 0;
    margin: 0px 0;
    width: 10%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(127, 148, 155, 0.9);
}

div.statusarea div.statusrow:first-of-type div {
    font-weight: bold;
}


div#errors {
    width: calc(100% + 50px);
    background: rgba(127, 148, 155, 0.62);
    margin: 0 -35px;
    padding: 30px 50px;
}

a.showdetails {
    color: #7f949b;
    background: #fff;
    padding: 8px 20px;
    margin: 10px 0;
    cursor: pointer;
}

.adjust:hover {
    cursor: pointer;
}

.mon_date_div, .pri-popup {
    display: none;
    position: fixed;
    width:400px;
    max-width: 80%;
    left:50vw;
    top:50vh;
    margin-left:-150px;
    margin-top:-100px;
    background:white;
    padding:50px 50px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.pri-popup h1, .pri-popup p {
    text-align: center;
}

#SDV_adjust, #FI_adjust, #CIR_adjust {
    cursor: pointer;
}
.mon_date {
    margin:15px 0 30px;
}

.cancel, .save {
    width:40%;
    margin:10px 5%;
    height:40px;
    background:#073648;
    color:white;
    cursor: pointer;
    display: block; 
    float:left;
    line-height:39px;
}
.cancel:hover, .save:hover {
    background:#821f6d;
}

.cancel {
    background:#cad5d8;
}

br.clear { width: 100%;}
.fa-save {
    color:black;
    cursor: pointer;
}
.fa-save:hover {
    color:#b54a9f;
}
/*====================================*/
/*            DASHBOARD               */
/*====================================*/

#graphs.flex {
    display: flex;
    width: 100%;
}

#graphs.flex .chart {
    width: 45%;
}

#graphs.flex .chart canvas {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
}

#graphs.flex h2.canvasheader {
    width: 100%;
    max-width: 100%;
}

.block.green {
    background: #65aab1;
    margin-top: -30px;
}

.block.green table {
    background: #65aab1;
}

.block.green table thead {
    border-bottom: 1px solid #a9cfd3;
    color: white;
}

.ageingsum {
    width: 100%;
    box-shadow: none !important;
    box-sizing: border-box;
    padding: 0px 25px;
    overflow-x: hidden;
    width: 96%;
    margin: 0 auto;
}

.chartage {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.chartage table {
    max-width: 48%;
}

/*====================================*/
/*               CONFIG               */
/*====================================*/



#config {
    width: 50%;
}

#config p:last-of-type {
    margin-top: 20px;
}

#config p {
    width: 100%;
    float: left;
    height: 46px;
    line-height: 46px;
}

#config label.switch {
    float: right;
    margin-bottom: 12px;
}

#config textarea {
    width: 100%;
    height: 10em;
}

/*====================================*/
/*               BLOCKS               */
/*====================================*/

.selectbar {
    box-sizing: border-box;
    padding: 25px;
    width: 100%;
    float: left;
    background: #cad5d8;
}

.selectbar p {
    float: left;
    margin-right: 10px;
}

.selectbar em#seller {
    font-weight: bold;
}

.selectbar.fix {
    position: fixed;
    top: 122px;
    margin-left: -35px;
    padding-left: 60px;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
    width: calc(100% - 185px);
}

.selectbar.fixsmall {
    position: fixed;
    top: 50px;
    margin-left: -35px;
    padding-left: 60px;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
    width: calc(100% - 185px);
}

.block.white.fixsmall {
    margin-top: 57px;
}

.block.white.nofix {
    margin-top: 0px !important;
}

.selectbar.nofix {
    position: relative !important;
    top: 0 !important;
    margin-left: 0 !important;
    padding-left: 25px !important;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
    width: 100% !important;
}

.selectbar select {
    margin-right: 10px;
    float: left;
}

#getseller {
    display: none;
}

.selectbar a#prev i,
.selectbar a#next i {
    font-size: 24px;
    color: white;
    border: 1px solid white;
    border-radius: 24px;
    height: 24px;
    width: 24px;
    text-align: center;
    line-height: 23px;
    margin: 5px 1px -3px 3px;
    float: right;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.selectbar a#prev i:hover,
.selectbar a#next i:hover {
    background: #819BA2;
}

.selectbar a#printpage i,
.selectbar a#pdfpage i {
    font-size: 24px;
    color: white;
    height: 24px;
    width: 24px;
    text-align: center;
    line-height: 23px;
    margin: 7px 4px -3px 3px;
    float: right;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.selectbar a#printpage i:hover,
.selectbar a#pdfpage i:hover {
    color: #819BA2;
}


.selectbar nav ul {
    margin-left: 0px;
}

.selectbar nav ul li {
    float: left;
    list-style: none;
    /*border:1px solid #fff;*/
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin: 0px 5px 5px 0;
    box-sizing: border-box;
    width: auto;
}

.selectbar nav ul li:hover a {
    background: #417C82;
}

.selectbar nav ul li a,
.selectbar input[type="button"] {
    background: #65aab1;
    color: white;
    text-align: center;
    height: 100%;
    float: left;
    display: block;
    padding: 10px 10px;
    box-sizing: border-box;
}

.selectbar input[type="button"] {
    padding: 13px 60px !important;
    height: 42px;
    width: auto;
    cursor: pointer;
    font-weight: bold;
}

.selectbar input[type="button"]:hover {
    background: #417C82;
}

.selectbar input[type="button"]:active {
    background: #203d41;
}

.selectbar nav ul li input {
    background: #fff;
    text-align: left;
    float: left;
    display: block;
    padding: 12px 10px !important;
    height: 41px;
    box-sizing: border-box;
    border: none;
    width: 100px;
    color: rgba(87, 87, 87, 1.00);
    font-size: 13px;
}

.block {
    /*-webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 25px 25px 50px;
    margin-bottom: 50px;
    overflow-x: hidden;
    width: 100%;
    float: left;
}

.block.white {
    background: #fff;
}

.block.white div.legendcolor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.block.white table input[type="text"] {
    padding: 10px;
    width: calc(100% - 200px);
    float: right;
    margin: -10px 0 -10px 10px;
    text-align: right;
    border: 0;
    background: #e5f0f2;
    max-width: 200px;
}

.block.white table tr.subbed input[type="text"],
.block.white table tr.ins input[type="text"] {
    margin: 0px -5px 0px 10px;
}

#pop {
    display: none;
    position: fixed;
    background: rgba(16, 17, 22, 0.671);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

#pop div {
    width: 450px;
    background: white;
    padding: 30px;
    display: block;
    text-align: center;
}

#pop div a {
    color: white;
    background: #7f949b;
    padding: 9px 20px;
    margin: 20px auto 0;
    position: relative;
    display: block;
    cursor: pointer;
    width: 100px;
    text-align: center;
}

button#save_seller {
    float: right;
    color: white;
    background: #7f949b;
    padding: 9px 20px;
    margin: 0 0 0 5px;
    cursor: pointer;
}

#bookings .block.white table input[type="text"] {
    width: 150px;
    margin: -5px -5px -5px 0px;
    background: #cadfe4;
}

main#bookings table input[type="submit"] {
    width: 100px;
    margin: -5px -5px -5px 10px;
    height: 33px;
}

.block.white table p.green {
    float: right;
    color: green;
    padding: 8px 0 0 0;
}

.block.white table input[type="button"] {
    float: right;
    font-size: 14px;
    padding: 8px 20px;

}

#admin .block.white table input[type="button"] {
    float: right;
    font-size: 12px;
    padding: 6px 10px;
}

#admin .block.white table input[type="button"]:active {
    background: #203d41;
}

#admin .block.white table input[type="button"]:disabled {
    background: #9daaac;
    color: #c6d4d6;
}


.block.white table input[type="button"]#FixEntries {
    width: 214px;
}

.block.white.fix {
    margin-top: 74px;
}


.block textarea {
    border: 1px solid rgb(199, 199, 199);
    height: 33px;
    margin-bottom: -5px;
}

main span.loading {
    width: calc(100% - 105px);
    box-sizing: border-box;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    text-align: center;
    color: #073648;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: absolute;
    margin: -20px 0 0 -20px;
    padding: 20vh 0;
}

main span.loading strong {
    color: #b54a9f;
}

main span.loading i {
    font-size: 140px;
    letter-spacing: 0;
    position: absolute;
    margin: -60px 0 0 calc(50% - 100px);
    left: 0;
    color: rgba(192, 192, 192, 0.20);
}


.monitoring .block:first-of-type,
.debtorimpliedrating .block:first-of-type,
#arranger .block,
.block.user,
.block.half:first-of-type {
    width: 49%;
    float: left;
    margin-right: 2%;
}

.monitoring .block.fullwidth {
    width: 100%;
}

.monitoring .block:nth-of-type(2),
.debtorimpliedrating .block:nth-of-type(2),
.block.half:nth-of-type(2) {
    width: 49%;
    float: left;
}

.debtorimpliedrating .block {
    margin-top: 20px;
    overflow: hidden;
}

.debtorimpliedrating .block canvas {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
}

.block h2.canvasheader {
    width: 42%;
    float: left;
    max-width: 42%;
    margin: 20px 8% 10px 0;
    text-align: center;
    display: block;
    height: 40px;
    line-height: 26px;
}

.block canvas {
    width: 38%;
    margin: 40px 6% 70px 0;
    float: left;
    max-width: 42%;
}

.block canvas.fullwidth {
    width: 98% !important;
    margin: 40px 2% 70px 0;
    float: left;
    max-width: 98% !important;
}

#prirating.block h2.canvasheader {
    width: 100%;
    float: left;
    max-width: 100%;
    margin: 20px 0 10px 0;
    text-align: center;
    display: block;
    height: 40px;
    line-height: 26px;
}

#expectedloss.block h2.canvasheader {
    width: 28%;
    float: left;
    max-width: 28%;
    margin: 20px 5% 10px 0;
    text-align: center;
    display: block;
    height: 40px;
    line-height: 26px;
}

#prirating.block canvas {
    width: 50%;
    margin: 40px 0% 20px 0;
    float: left;
    max-width: 50%;
}

#expectedloss.block canvas {
    width: 28%;
    margin: 40px 5% 20px 0;
    float: left;
    max-width: 28%;
}

#prirating.block div.legend {
    margin-top: 50px;
}

#prirating.block canvas:last-of-type,
#expectedloss.block canvas:last-of-type {
    margin: 40px 0 20px 0;
}

#exports .block.white,
#bookings .block.white,
#arranger .block.white {
    margin-bottom: 15px;
    padding-bottom: 15px;
}


.block.white tr.subbed td {
    padding-left: 30px;
    color: #7ca5b5;
}

.block.white tr.subbed {
    display: none;
}

.block.white tr.ins td {
    vertical-align: middle;
}


main table#collapse tbody tr:not(.subbed) {
    background: none;
    border-bottom: 1px solid rgba(22, 66, 83, 0.2);

}

main table#collapse tbody tr:not(.subbed) td {
    padding: 9px 0 9px 30px;
}

main table#collapse tbody tr:not(.subbed):hover {
    color: #164253;
}

main table#collapse tbody tr.coll:not(.subbed) {
    cursor: pointer;
}

main table#collapse tbody tr.coll:not(.subbed) td:nth-child(1):before {
    content: "+";
    margin-left: -30px;
    width: 30px;
    text-align: center;
    display: block;
    float: left;
}

main table#collapse tbody tr.coll:not(.subbed):hover {
    color: #b54a9f;
}

#arranger_setup section.block {
    display: flex;
}

#arr_nav {
    width:220px;
    min-width: 220px;
    background:#7f949b;
    margin:-25px 0 -50px -25px;
    padding:25px;
    color:white;
   
}

#arr_nav ul {
    list-style: none;
    margin:0;
}

#arr_nav ul li {
    display: flex;
    align-items: center;
    cursor: pointer;
}
#arr_nav ul li:hover span {
    background: #96a8ad;    
}

#arr_nav ul li.active span {
    background: white;
    color:#7f949b;
    font-weight: bold;
}
#arr_nav ul li.active a {
    font-weight: bold;
}

#arr_nav ul li span {
    float:none;
    min-width: 20px;
    min-height: 20px;
    width:20px;
    height:20px;
    padding:10px;
    border: 1px solid white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin:10px 10px 10px 0;
    color:white;
    font-size: 1.2em;
}
#arr_nav ul li a {
    color:white;
    height:20px;
    text-decoration: none;
    cursor: pointer;
}

#home {
    background: url('../img/home_bg.jpg') no-repeat center;
    background-size: cover;
    margin-top: 50px;
    height: calc(100vh - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#home:before {
    content: '';
    position: absolute;
    background-color: white;
    opacity: .3;
    top: 0;
    height: 50%;
    width: 100%;
    z-index: -1;
}
#home .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#home .container h1 {
    color: black;
    font-weight: 700;
    position: absolute;
    top: 0;
    transform: translateY(calc(-100% - 75px));

    text-transform: uppercase;
    letter-spacing: .52rem;

    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;

    font-size: 1.75rem;
}

#home .container img {
    width: 300px;
}

#home .last-export-date {
    position: absolute;
    bottom: 0;
    right: 3rem;

    background-color: white;

    display: flex;
    flex-direction: column;

    min-width: 250px;
    box-shadow: 0px 1px 7px 1px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    z-index: 3;
}

#home .last-export-date p {
    color: black;
}

#home .last-export-date.opened {
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;

    .statusarea {
        padding-bottom: 2rem;
    }

    .statusrow {
        min-width: calc(100vw - 185px);
    }

    > div {
        max-height: 100%;
        overflow: scroll;
    }
}


#home .last-export-date.opened .details,
main.welcome .last-export-date.opened .detail-header {
    display: block;
}

#home .last-export-date>span {
    background-color: #e5eaeb;
    color: #b54a9f;
    text-transform: uppercase;
    font-size: .62rem;
    letter-spacing: .18rem;
    width: 100%;
    box-sizing: border-box;
    padding: .75rem 2rem;
    line-height: 1em;
}

#home .last-export-date p {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 2rem;
    font-size: 14px;
    line-height: 1.5em;

    margin-block-start: 1em;
    margin-block-end: 1em;
}

#home .last-export-date .detail-header {
    display: none;
}

#home .last-export-date .details {
    padding: 2rem;
    display: none;
}

#home .last-export-date .details span {
    margin-bottom: .5rem;
    display: inline-block;
}

.topbar #warningbox {
    position: absolute;
    top: 5px;
    left: 140px;
    width: 140px;
    height: 38px;
}

.topbar #warningbox div {
    border-radius: 4px;
    margin-bottom: 8px;
    height: 38px;
    background: #b54a9f;
}

.topbar #warningbox div:hover {
    background: #821f6d;
}

.topbar #warningbox div i {
    float: left;
    font-size: 25px;
    margin: 7px;
    color: #fff;
}

.topbar #warningbox div h2 {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 36px;
}

.clear {
    clear: both;
}

@media only screen and (max-width: 1400px) {

    table tr td,
    table tr th {
        font-size: 13px;
    }
}

@media only screen and (max-width: 1024px) {
    main table {
        overflow-x: scroll;
        display: block;
    }

    table tr td,
    table tr th {
        font-size: 12px;
    }
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    padding: 0;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #b54a9f;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.align-right {
	text-align: right !important;
}

.table-container-log {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    padding-inline: 0;
}

.table-container-log table {
    margin-inline: 2rem;
    box-sizing: border-box;
}

.table-container-log table th,.table-container-log table td {
    white-space: nowrap;
}

.table-container-log table td {
    font-weight: 400;
}