﻿:root {
    --main-color: #ff0299;
}
body {
    font-size: 0.9rem; /* Decrease base font size */
}

.form-control,
.btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}
.switch-lg {
    transform: scale(1.5);
    transform-origin: left center;
    margin-top: 0.25rem;
}
.table-dark {
    background-color: #454545 !important;
    --bs-table-bg: #6b6d6f;
}

.btn-sm {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
}


/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

textarea.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error + .select2-container--bootstrap4 .select2-selection {
    border: 1px solid #b94a48;
}

select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


/* Sidebar Menu
-------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
}

#sidebar {
    min-height: 100vh;
}

a[data-toggle="collapse"] {
    position: relative;
}

a, a:hover, a:focus {
    text-decoration: none;
}

#sidebar {
    color: #fff;
    height: 100vh;
  /*  position: absolute;*/
}

    #sidebar .sidebar-header {
        padding: 20px;
    }

    #sidebar ul {
       /* padding-top: 73px;*/
    }

        #sidebar ul p {
            color: #fff;
            padding: 10px;
        }

        #sidebar ul li a {
           /* padding: 10px;*/
            font-size: 1.1em;
            display: block;
            color: white;
            padding-bottom: 10px;
        }

            #sidebar ul li a:hover {
                text-shadow: 1px 1px 2px #000;
                background: rgba(0,0,0,0.2);
                /*background: ;*/
            }

        #sidebar ul li.active > a, a[aria-expanded="true"] {
            color: #fff;
            text-shadow: 1px 1px 2px #000;
            background: rgba(0,0,0,0.2);
        }

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}
/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar.active {
    text-align: center;
    max-width: 92px;
}

#sidebar .sidebar-header {
    height: 75px;
}
    /* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
    #sidebar .sidebar-header strong {
        display: none;
    }

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
  /*  text-align: left;*/
}

#sidebar.active ul li a {
    padding: 10px 10px;
    text-align: center;
    font-size: 0.85em;
}

    #sidebar.active ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
}

@media (max-width: 768px) {
    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    #sidebar.active {
        min-width: 50px;
        max-width: 50px;
        text-align: center;
    }

    #sidebar .sidebar-header {
        padding: 15px 10px;
    }

    #sidebar.active span.text {
        display: none;
    }


    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0;
    }


        /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
        #sidebar .sidebar-header strong {
            display: none;
        }

        #sidebar.active .sidebar-header h3 {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

        /* Downsize the navigation links font size */
        #sidebar.active ul li a {
            padding: 20px 10px;
            font-size: 0.85em;
        }

            #sidebar.active ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        /* Adjust the dropdown links padding*/
        #sidebar.active ul ul a {
            padding: 10px !important;
        }



    #sidebar {
        width: 92px;
        transition: width 0.3s ease;
        min-height: 100vh;
    }

        #sidebar.collapsed {
            width: 0;
            overflow: hidden;
        }



    .content-wrapper {
        flex-grow: 1;
    }

    .sidebar-label {
        font-size: 0.75rem;
        max-width: 95px;
        display: block;
        text-align: center;
        color: white;
    }

    @media (min-width: 992px) {
        #sidebar {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            z-index: 1030;
        }

        .content-wrapper {
            margin-left: 80px;
        }

        #sidebar.collapsed + .content-wrapper {
            margin-left: 0;
        }
    }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
    }
}


#sidebar {
    width: 92px;
    transition: width 0.3s ease;
    min-height: 100vh;
}

    #sidebar.collapsed {
        width: 0;
        overflow: hidden;
    }

.content-wrapper {
    flex-grow: 1;
}

.sidebar-label {
    font-size: 0.75rem;
    max-width: 95px;
    display: block;
    text-align: center;
    color: white;
}

@media (min-width: 992px) {
    #sidebar {
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: auto;
    }

   /* .content-wrapper {
        margin-left: 80px;
    }*/

    #sidebar.collapsed + .content-wrapper {
        margin-left: 0;
    }
}
.ps-sidebar {
    margin-left: 95px;
    transition: margin-left 0.3s;
}

    .ps-sidebar.collapsed {
        margin-left: 10px;
    }

.content {
    padding-left: 92px;
    height: 100vh;
    overflow: auto;
}

.card-title {
    margin-bottom: 0px;
    padding-bottom: 0.2rem;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

th, .table th {
    font-weight:400;
    font-size: 0.8em;
    padding: 0.5rem;
}

.bg-yellow {
    background-color: #ffeb3b;
}

.input-group > .select2-container--bootstrap {
    width: auto;
    flex: 1 1 auto;
}

    .input-group > .select2-container--bootstrap .select2-selection--single {
        height: 100%;
        line-height: inherit;
        padding: 0.5rem 1rem;
    }


.select2-container {
    width: 100% !important;
    display: block !important;
}

.select2-selection {
    width: 100% !important;
}

.form-control {
    height: auto;
}

fieldset {
    margin-bottom: 10px;
}

.small .form-control {
    font-size: 100%;
}

.small legend {
    font-size: 110%;
}

select[readonly] + .select2-container {
    pointer-events: none;
    touch-action: none;
    background-color: #e9ecef;
}

    select[readonly] + .select2-container.select2-selection {
        background: #eee;
        background-color: #e9ecef;
        box-shadow: none;
    }

    select[readonly] + .select2-container.select2-selection__arrow,
    select[readonly] + .select2-container.select2-selection__clear {
        display: none;
        background-color: #e9ecef;
    }

.table .row-group th, .table .row-group td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    vertical-align: middle;
}

.table td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    vertical-align: middle;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 5px;
    padding-bottom: 0.2rem;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.fc .fc-view-harness {
    padding: 5px;
}

.card-body {
    padding: 1rem;
}

.bootstrap-tagsinput {
    width: 100%;
}

.label-info {
    background-color: #ff0299;
}

.label {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out, border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/*.select2-container--bootstrap4 .select2-selection__clear {
    background-color: #afafaf !important;
    margin-right: 2em;
    padding-left: initial;
    width: 1em;
    height: 1em;
}


.large-select {
    height: 100px !important;
}
*/

.btn-group-xs > .btn, .btn-xs {
    padding: .4rem .4rem;
    font-size: .75rem;
    line-height: .5;
    border-radius: .2rem;
}

.popover {
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.tox.tox-tinymce{
    height:60vh !important;
}




.bg-car {
    background-color: #fdc8e8;
}

.hatch, .hatch.bg-car {
    background-color:initial;
    background-image: linear-gradient(45deg, #D1D1D1 25%, transparent 25%, transparent 60%, #D1D1D1 50%, #000 75%, transparent 60%, #fff);
    background-size: 3px 2px;
    
    background-origin: padding-box;
}

.first-guarantee:nth-child(1 of .AccomodationUnit), .first-guarantee:nth-child(1 of .Car), .first-guarantee:nth-child(1 of .Bycicle) {
    background-color: #97ea7f;
}

.contract.active {
        background-color: #6ff648;
        margin-bottom:0.2em;
       
}
    .contract.active::before {
        content: "\f70c"; /* Unicode for 'fa-person-running' */
        font-family: "Font Awesome 5 Free"; /* Ensure you have the correct Font Awesome font loaded */
        font-weight: 900; /* Font Awesome uses different weights for solid, regular, etc. */
       
        margin-left: 1.5em;
    }


.sigWrapper {
    height: 250px;
    width: 570px;

    /* of een andere gewenste hoogte */
}

    .sigWrapper .pad {
        width: 100%;
        height: 100%;
        display: block;
        background-color: none;
    }

.alert-warning {
    --bs-alert-bg: #fff3cd;
    --bs-alert-color: #856404;
    --bs-alert-border-color: #ffeeba;
    background-color: var(--bs-alert-bg) !important;
    color: var(--bs-alert-color) !important;
    border-color: var(--bs-alert-border-color) !important;
}

.alert-success {
    --bs-alert-bg: #d4edda;
    --bs-alert-color: #155724;
    --bs-alert-border-color: #c3e6cb;
    background-color: var(--bs-alert-bg) !important;
    color: var(--bs-alert-color) !important;
    border-color: var(--bs-alert-border-color) !important;
}

tr.alert-danger td {
    --bs-alert-bg: #f8d7da;
    --bs-alert-color: #721c24;
    --bs-alert-border-color: #f5c6cb;
    background-color: var(--bs-alert-bg) !important;
    color: var(--bs-alert-color) !important;
    border-color: var(--bs-alert-border-color) !important;
}

a.disabled[aria-disabled="true"] {
    opacity: .65;
}




