body {
    font-family: "Noto Sans", sans-serif;
    font-size: .875rem;
}

select {
    font-family: Arial, FontAwesome !important;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* ------------------------ Sidebar -----------------------*/

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);*/
    min-width: 200px;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-size: 16px !important;
    font-weight: 500;
    color: #333;
    text-decoration: none !important;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/* --------------------- Content ------------------*/

.link {
    color: black !important;
}

[role="main"] {
    padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
    [role="main"] {
        padding-top: 48px; /* Space for fixed navbar */
    }
}

/* ------------------- Navbar ---------------------*/

.nav-link > i {
    width: 20px;
    margin-right: 5px;
    text-decoration: none !important;
}

.sidebar .nav-item:hover {
    background-color: #f3f3f3;
    color: #333 !important;
}

.sidebar .nav-item:hover i {
    background-color: #f3f3f3;
    color: #4e4e4e !important;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    text-decoration: none !important;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.container {
    max-width: 100vw !important;
    margin-top: 62px !important;
    width: calc(100vw - 300px) !important;
    margin-left: 230px !important;
}

.nav-item a {
    font-size: 13pt;
}

/* ------------- Relaties ----------------- */
.width-25 {
    margin-right: 40px;
    width: 28%;
    float: left;
    min-width: 200px;
    height: 800px;
}

.width-50 {
    width: 50%;
    float: left;
    min-width: 200px;
    padding: 20px;
}

/* -----------Relatie/edit: Mail ---------------- */

.init-capital {
    background-color: lightgrey;
    padding: 10px;
    width: 80px;
    text-align: center;
    border-radius: 5px;
}

.table-mail {
    width: 25% !important;
    height: 750px !important;
    float: left;
    overflow: auto !important;
    background-color: white;
}

.imap {
    height: 750px;
}

.imap-menu {
    width: 100%;
    margin-bottom: 5px;
}

.imap-menu-button {
    padding: 5px;
    width: 50%;
    float: left;
    background-color: lightgrey;
    text-align: center;
}

.imap-menu-button:hover {
    background-color: #c5c5c5;
}

.display-hidden {
    display: none !important;
}

.btn-active {
    background-color: lightblue;
}

.btn-active:hover {
    background-color: #a2cbd8;
}

.mail-show {
    overflow: auto;
    padding: 25px;
    background-color: white;
}

.mail-item {
    padding: .75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}

.mail-item:hover {
    background-color: #ededed;
}

.mail-date {
    float: right;
}

.mail-subject {
    width: 75% !important;
}

.mail-show {
    border: 1px solid lightgrey;
    width: 75%;
    height: 750px;
    float: left;
}

.email-filter-bar {
    width: 100%;
    background-color: #e9e9e9;
    border: 1px solid lightgrey;
    display: flex;
}

.email-filter-bar div {
    padding: 10px;
    border: 1px solid lightgrey;
}

.email-search {
    width: 25% !important;
    float: left;
}

.email-functions {
    float: left;
    width: 75%;
}

.email-functions button {
    padding: 3px;
    height: 33px;
    width: 33px;
    margin-top: 2px;
}

.select2 {
    width: 100% !important;
}

/* ------------- Contacten --------------- */

.btn-td {
    padding-top: 10px !important;
    text-align: center;
    cursor: pointer;
}

.drop-contact {
    font-size: 11pt !important;
}

.contacts {
    margin-right: 0 !important;
    margin-top: -27px !important;
    width: calc(100% / 3 + 25px) !important;
    float: left !important;
    height: auto;
    max-height: 650px;
    min-height: 650px;
    min-width: 250px;
    overflow: auto;
    background-color: #f9f9f9;
}

.contacts table {
    background-color: white;
}

.contact-footer {
    background-color: #e9e9e9;
    width: auto;
    padding: 15px;
}

.contact-btn-group a {
    height: 25px;
    font-size: 11pt;
    width: 45%;
    float: left;
    padding: 0 !important;
}

/* -------------- Tabs ---------------- */

.tabs {
    width: 99%;
    min-width: 99%;
    float: left;
    border: #e9e9e9 solid 1px;
    margin-bottom: 10px;
}

.tab-pane {
    width: 100% !important;
    margin-left: 0 !important;
}

.container {
    margin-top: 0 !important;
}

.nav-tabs {
    background-color: #f1f1f1;
}

.nav-tabs a {
    color: black !important;
    text-decoration: none !important;
}

.tab-content {
    overflow: auto;
    height: 800px;
    background-color: white;
}

.contact-card {
    padding: 15px;
    height: 250px;
}

.contact-table td, .contact-table th {
    padding: 2px !important;
}

.tr-btn-small td {
    padding: 2px !important;
}

.tr-btn-small td a {
    padding: 2px !important;
    width: 90%;
    /*font-size: 12pt;*/
}

.contact-card-functie {
    float: right;
    margin-top: -35px;
    color: #8f8f8f;
}

.contact-label th {
    padding: 6px;
    width: 50%;
    text-align: center;
}

.tr-small td {
    padding: 6px !important;
}

/* -------------- Agenda --------------- */
.week-number {
    float: right;
    margin-top: -38px;
}

.agenda-item {
    overflow: auto;
    background-color: white;
}

.week-select {
    position: relative !important;
    width: 200px;
    float: right;
    margin-top: -47px;
    margin-right: 200px;
}

.user-select {
    float: right;
    width: 200px;
    margin-top: -47px;
}

.week-card {
    width: 33%;
    float: left;
    min-width: 250px;
    margin: 0
}

.week-card-body {
    height: 300px;
    padding: 0;
    overflow: auto
}

.list-group-item:first-child {
    border-radius: 0 !important;
    border-top: 0 !important;
}

.today {
    background-color: lightyellow;
}

.bar {
    overflow: auto;
    background-color: white;
    padding: 7px 3px 3px 3px;
    border-radius: 6px;
    margin-bottom: 1px;
}

.yesterday {
    background-color: rgba(255, 0, 0, 0.27);
}

.agenda-selector {
    width: 200px;
}

.ui-datepicker-inline {
    width: 90%;
    margin-left: 5%;
}

.calendar {
    float: left !important;
    min-width: 300px;
    width: 20%;
    height: 600px;
    display: inline-block !important;
    margin-top: 0.5%;
    position: absolute;
    border-radius: 5px;
}

#datepicker div {
    padding: 0;
}

.plus-btn {
    margin-left: 30%;
    margin-top: 20px;
    padding: 0;
    color: #007bff !important;
    cursor: pointer;
}

.plus-btn:hover {
    text-decoration: underline !important;
}

.search {
    width: 15%;
    float: right;
    margin-top: 8px;
}

.search-btn {
    margin-top: 9px !important;
    margin-left: 1px !important;
    float: right;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.ui-datepicker-inline {
    border-radius: 0 !important;
}


/* -------------------- Relatie import-------------- */
.droplabel {
    float: left !important;
}

.drag-drop-list div input {
    float: left !important;
}

.drag-drop-list div {
    float: none !important;
    display: flex;
}


/* -------------------- _Offertes ---------------- */
#artikelen td p {
    margin-bottom: 0;
}

.sales-block {
    margin-top: -20px !important;
}

.artikel-add {
    width: 100% !important;
}

.status-nieuw {
    color: green
}

.status-wacht {
    color: cornflowerblue;
}

.status-vervallen {
    color: red
}

.status-geaccepteerd {
    color: green
}

.status-orderbevestiging {
    color: green
}

.pos-absolute {
    position: absolute;
}


/* ------------------- Artikel ------------------- */
.btn-barcode {
    float: left;
    width: 75%;
    min-width: 70px;
    margin-left: 4%
}


/* --------------------- Sjablonen ----------------- */
.sjabloon-preview {
    object-fit: contain;
    padding: 15px;
    height: 1122.519685px;
    width: 793.700787px;
    border: solid 1px lightgrey;
    box-shadow: 1px 1px 1px lightgrey;
    overflow: auto;
}

.drag-drop-list {
    position: sticky !important;
    margin-top: -20px;
    top: 50px;
    padding: 0;
    width: 28%;

}

.drag-drop-list div {
    list-style-type: none;
    padding: 6px;
    float: left;
    border: solid rgba(71, 189, 226, 0.33) 1px;
}

.drag-drop-list div:hover {
    filter: brightness(50%);
}

.drag-drop-list-word {
    color: black;
}

.drag-drop-list-word div[draggable=true] {
    list-style-type: none;
    padding: 6px;
    border: solid rgba(71, 189, 226, 0.33) 1px;
}

.drag-drop-list-word div[draggable=true]:hover {
    filter: brightness(50%);
}

.loading {
    width: 30%;
    margin-left: 35%;
}

.loading-text {
    text-align: center;
    margin-top: 50px;
}

.number-form {
    font-size: 15pt;
    padding: 5px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding-top: 2px;
}


/* ------------ Relaties/edit: File upload -------------- */
.dropzone {
    text-align: center;
    font-size: 18px;
    background-color: white;
}

.glyphicon-download {
    font-size: 1.5em;
}

#DropZoneFiddle {
    cursor: pointer;
    border: 1px solid #000;
    padding: 5px 0;
}


/* -----------------Dashboard: Mededelingen ----------------- */
.mededeling {
    border-top: solid 1px lightgrey;
    border-bottom: solid 0.5px lightgrey;
    overflow: auto;
    height: 100px;
}

.mededeling h3 {
    font-size: 14pt;
    font-weight: bold;
}

.mededeling-time {
    color: #a4a4a4;
    float: right;
}

.mededeling div {
    float: right;
}

.card-default {
    height: 450px;
    overflow: auto;
}

.card-default .card-header a {
    float: right;
    margin: 0 !important
}


/* ---------------------- Import ----------------------- */
.import-form label {
    background-color: rgba(71, 189, 226, 0.1);
    padding: 10px;
    border: solid rgba(71, 189, 226, 0.33) 1px;
}

.import-form input {
    background-color: rgba(71, 189, 226, 0.1);
    padding: 10px;
    border: solid rgba(71, 189, 226, 0.33) 1px;
    height: 40px;
    border-radius: 0;
}

.label {
    background-color: rgba(71, 189, 226, 0.1);
    padding: 10px;
    border: solid rgba(71, 189, 226, 0.33) 1px;
    width: 80%;
    margin-left: 15px;
}


/* ------------------------ Tickets ---------------------------- */
.ticket-table {
    width: calc(99% - 82px - 20%) !important;
    float: left;
    margin-left: 20px;
}

.ticket-select {
    display: none;
}

.filter-list {
}

.filter-list li a {
    color: black !important;
}

.short-table {
    float: left;
    margin-left: 20px;
}

.form-block {
    margin-left: 17%;
    padding-bottom: 25px;
}


/* ----------------------------- Periodiek -------------------------- */
.card-periodiek {
    width: calc(100% / 3 - 30px);
    margin: 5px;
}

.card-periodiek .card-header {
    font-size: 14pt;
}

.periodiek-body {
    border-bottom: 1px darkgray solid;
    height: 60px;
}

.periodiek-body h5 {
    position: absolute;
}


/* -------------- Relatie/edit: Documenten ------------ */
.first {
    background-color: white;
    border: 2px solid lightgrey;
}

.error-message {
    text-align: center;
    margin-top: 20px;
}

.file-lock {
    background-color: rgba(255, 0, 0, 0.3);
    padding: 5px;
    border-left: 4px red solid;
    margin-top: 5px;
}

.btn-group {
    float: left;
    display: contents;
}

/* -------------- Relatie/edit: Documenten ------------ */
.order-row {
    padding: 5px;
    border: 1px solid;
}


/* ---------------------Agenda: overzicht --------------------- */
.agenda-overzicht {
    width: 75%;
    float: left;
}

.overzicht-block {
    height: 100%;
    width: 10%;
    float: left;
    margin: 5px;
}

.taak {
    background-color: #2e6da4;
}

.afspraak {
    background-color: forestgreen;
}


/* ----------------------- Snelbrief: Email ----------------------- */
.send-load {
    border: solid 1px black;
    width: auto;
    height: auto;
    text-align: center;
    position: fixed;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.send-load img {
    display: inline-block;
}


/* -------------------- Editor -------------------- */
.editor-ruler {
    padding: 4px !important;
}


/* ----------------------Systeem beheer -----------------*/
.systeembeheer a {
    padding: 10px;
    font-size: 13pt;
    margin-bottom: 30px;
}

.form-check-label {
    margin-top: 1px !important;
}

/* ----------------------Facturen----------------------------*/
.status-open {
    background-color: rgba(255, 0, 0, 0.4);
}

.status-betaald {
    background-color: rgba(0, 128, 0, 0.51);
}

/* ------------------ Projecten ----------------------*/
#taken, #documenten {
    padding-left: 0 !important;
}

.project-task {
    list-style-type: none;
    border-top: 1px solid lightgray;
    padding: 10px;
}

.project-task input {
    /*height: 0 !important;*/
}

.project-task label {
    margin-left: 10px;
}

#loading-spinner {
    margin: auto;
    display: block;
}

.middle-align {
    vertical-align: middle !important;
    padding-bottom: 10px !important;
}

/* Belnotitie */
.spinning {
    animation: spin 3s infinite;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.artikel_cart {
    position: fixed;
    bottom: 50px;
    right: 50px;
    color: white;
    font-size: 15pt;
    padding: 10px;
    background-color: forestgreen;
    border-radius: 5px;
    width: 150px;
    text-align: center;
}

.cart_offerte_add {
    width: 400px;
    float: right;
    margin-right: 40px;
}

.cart_offerte_add .select2 {
    width: 272px !important;
    margin-top: 12px;
}

.side-menu {
    height: 100vh;
    width: 50%;
    background: white;
    position: fixed;
    z-index: 999999;
    right: -100%;
    padding:20px;
    box-shadow: -8px 4px 22px 5px rgba(0,0,0,0.2);
}