/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 25.10.2018, 15:13:24
    Author     : Blaszczyk
*/
/* Here you can change the font-family. Replace 'Your Font Name' with your actual font name */
@font-face {
    font-family: "PT Sans";
    src: url('fonts/PTSans/PTSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Roboto";
    src: url('fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}

:root {
    --bs-body-font-size: 1em;
}

body > * {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

textarea {
    resize: vertical;
}

/* SELECT2 */
.select2-container .select2-selection--single {
    height: 46px;
    line-height: 46px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px 16px;
}

.select2-container .select2-selection--single {
    height: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

/* NAVBAR 1*/
.navbar.first-navbar {
    z-index: 1;
    height: 60px;
    border-bottom: 1px solid #c4c8cb;
}

/* NAVBAR 2 */
.navbar.second-navbar {
    margin-top: 60px;
    z-index: 3;
    border-bottom: 1px solid #c4c8cb;
}

.dropdown-menu {
    z-index: 2;
    font-size: 1em;
}

section,
section.content {
    margin-top: 110px;
    margin-bottom: 55px;
}

#leads,
#vehicles,
#address,
#relationships,
#dataprotections {
    min-height: 64px;
}

.progress-gif {
    background: #ffffff url("img/progress.gif") no-repeat;
    /* width: 64px; */
    height: 64px;
    background-size: contain;
    background-position: center center;
}

#cards-row div.card {
    --bs-card-border-radius: 0rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .175);
    --bs-card-inner-border-radius: calc(0rem - 1px);
}

#cards-row div.card .card-header {
    border-bottom: none;
    background-color: #ffffff;
}

#cards-row div.card .card-footer {
    border-top: none;
    background-color: #ffffff;
}

#order-informations {

}

table.info {
    min-width: 50%;
}

table.info.main tr {
    opacity: 1;
}

#detail-informations,
table.info tbody,
table.info td,
table.info tfoot,
table.info th,
table.info thead,
table.info tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    color: #ffffff;
    opacity: 0.85;
}


table.info tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

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

table.info td {
    padding: 0.5rem 0.25rem 0.25rem 0.25rem;
    height: 24px;
    max-height: 48px;
    vertical-align: top;
    overflow: hidden;
    font-size: 0.85rem;
}

table.info td span {
    font-size: 1rem;
}

table.info td a {
    text-decoration: none;
    color: #ffffff;
}

hr.info {
    margin: 0.5rem 0;
    border: 0;
    border-top: 1px solid;
    color: #ffffff;
    /* opacity: .25; */
}

#extra-informations {

}

/**
 * Table LEADS
 * @author Blaszczyk
 */
table.leads {
    margin-top: 1rem;
    width: 100%;
}

table.leads tr {
    border-bottom: 1px solid #ededed;
}

table.leads td {
    padding: 0.5rem;
    vertical-align: top;
    overflow: hidden;
}

table.leads td:nth-child(1) {
    width: 1%;
}

table.leads td span.label {
    font-size: 0.75rem;
}

/**
 * Table VEHICLE
 * @author Blaszczyk
 */
table.vehicle {
    margin-top: 1rem;
    width: 100%;
}

table.vehicle tr {
    border-bottom: 1px solid #ededed;
}

table.vehicle td {
    padding: 0.5rem;
    vertical-align: top;
    overflow: hidden;
}

table.vehicle td:nth-child(1) {
    width: 1%;
    padding-left: 0.25rem;
}

table.vehicle td:nth-child(3) {
    padding-right: 0.25rem;
    text-align: right;
}

table.vehicle td span.label {
    font-size: 0.75rem;
}

/**
 * Table ADDRESS
 * @author Blaszczyk
 */
table.address {
    margin-top: 1rem;
    width: 100%;
}

table.address td {
    padding: 0.5rem;
    vertical-align: top;
    overflow: hidden;
}

table.address td:nth-child(1) {
    width: 1%;
    padding-left: 0.25rem;
}

table.address td span.label {
    font-size: 0.75rem;
}

/**
 * Table RELATIONSHIPS
 * @author Blaszczyk
 */
table.relationships {
    margin-top: 1rem;
}

table.relationships td:nth-child(1) {
    width: 1%;
    padding-left: 0.25rem;
}

table.relationships td span.label {
    font-size: 0.75rem;
}

/**
 * Table DATAPROTECTS
 * @author Blaszczyk
 */
table.dataprotections {
    margin-top: 1rem;
}

table.dataprotections td:nth-child(1) {
    width: 1%;
    padding-left: 0.25rem;
}

table.dataprotections td:nth-child(3) {
    width: 1%;
}

table.dataprotections td span.label {
    font-size: 0.75rem;
    padding-right: 0.25rem;
}

/**
 * Table EXTRA
 * @author Blaszczyk
 */
table.extra {
    margin-top: 1rem;
}

table.extra td {
    padding: 0.1rem 0.5rem;
}

table.extra td:nth-child(1) {
    width: 1%;
    padding-left: 0.25rem;
}

table.extra td:nth-child(3) {
    width: 1%;
}

table.extra td,
table.extra td a {
    color: #fff;
    text-decoration: none;
    border: none;
}

table.extra td img {
    width: 75px;
    height: auto;
}

table.extra td span.label {
    font-size: 0.75rem;
    padding-right: 0.25rem;
    color: #fff;
}

div.extra-informations {
    margin-left: 4rem;
    margin-top: 2rem;
    opacity: 0.75;
}

a.open-link {
    border-bottom: 2px solid rgba(220, 53, 69, .25);
    padding-bottom: 3px;
}

a.open-link:hover {
    border-bottom: 2px solid rgba(220, 53, 69, 1);
}

.carousel-control-next {
    align-items: start;
    justify-content: right;
    top: 16px;
    right: 16px;
    width: 5%;
}

.carousel-control-prev {
    align-items: end;
    justify-content: left;
    bottom: 16px;
    left: 16px;
    width: 5%;
}

span.brand-button {
    display: inline-block;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    border-radius: 4px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    line-height: 24px;
}

span.brand-button-lg {
    line-height: 32px;

}

span.brand-button-lg a {
    font-size: 1.2rem;
    font-weight: normal;
}

offcanvas show {
    z-index: 99;
}

.th-desc, .th-sort {
    cursor: pointer;
}

div#dropBox {
    margin-top: 1rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

div#dropBox:hover {
    /* border: 1px solid red; */
}

table.documents td,
table.documents th {
    font-size: 0.85rem;
}

table.documents td.toggleBox,
table.documents th.toggleBox {
    padding-left: 4px;
    padding-right: 0px;
    width: 0px;
    cursor: pointer;
    position: relative;
    /* width: 1%; */
}

table.documents td.toggleBox div {
    left: 0px;
    width: 0px;
    overflow: hidden;
    color: #fff;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.search-result {

}

.list-result-table,
.search-result-table {
    background: #ededed;
}

.search-result-table.shadow {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
}

.search-result-table.border {
    border: 1px solid #dee2e6;
}

.line-result {
    cursor: pointer;
}

.icon-result,
.text-result {
    text-align: left;
    padding-bottom: 0px !important;
}

.text-result.small {
    padding-top: 0px !important;
}

.icon-result {
    width: 1%;
    vertical-align: middle;
}

div#multisearch_result {
    position: absolute;
    z-index: 99;
    width: 90vh;
}

.card-img-top.img-cover {
    object-fit: cover;
    /* This is to ensure the image covers the whole card */
    width: 100%;
    /* height: 200px;*/
    aspect-ratio: 1/1;
}

navbar #navbar-small {

}

/* FOOTER */
footer {
    font-size: 0.85rem !important;
}

iframe.pdfViewer {
    aspect-ratio: 210 / 310;
    width: 100%;
    border: none;
    max-width: 100%;
}

.result-frame {
}

.result-frame.is-background {
    visibility: hidden;
}

/*
Drag-N-Drop
*/
.drop-zone {
    background-color: white;
    outline: 0px dashed black;
    height: auto;
}

.drop-zone.is-dragover {
    /*background-color: grey;*/
    outline: 2px dashed red;
}

.drop-zone {
    position: relative;
    /*
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     */
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.draggable {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    /* display: none; */
}

.overlay.is-dragover {
    display: block;
    pointer-events: none; /* wichtig kein flickering */
}

.drop-zone label strong {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}

.drop-zone label strong:hover {
    color: blueviolet
}

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

/*
Small Headline
*/
div#carousel360dashboard.carousel-small {
    display: none;
    height: 0;
}

nav#navbar-small {
    height: 66px !important;
}

nav#navbar-small:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 66px;
    opacity: .25;
    z-index: -1;
    background-size: 60px 60px;
    background-repeat: no-repeat;
    background-position: left 6px top 3px;
}

/* modal full width */

.modal-full-width {
    width: 100%;
    max-width: 100%;
}

/* Drag'n'Drop Pages */

.ul-container {
    display: flex;
    flex-direction: row;
}

.dnd-document {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    width: auto;
    padding: 0;
    margin-right: 2em;
}

.dnd-document .dnd-page {
    list-style: none;
    display: flex;
    cursor: move;
    background: #fff;
    align-items: center;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.06); */
    border: 1px solid #ccc;
    justify-content: space-between;
}

.dnd-page .dnd-item {
    display: flex;
    align-items: center;
    position: relative;
}

.dnd-page .dnd-item:empty {
    height: 210px; /* leeres page element */
    opacity: 0.75;
}

.dnd-document .dnd-button {
    margin-bottom: 12px;
}

.dnd-document .dnd-page.over {
    border: 2px dotted #FF0000;
}

.dnd-page .dnd-item embed {
    pointer-events: none;
    object-fit: cover;
}

.dnd-page.dragging {
    opacity: 0.6;
}

.dnd-page.dragging :where(.details, i) {
    opacity: 0;
}

.dnd-page.empty {
    height: 230px;
    aspect-ratio: 210 / 297;
}

.dnd-document .dnd-page {
    list-style: none;
    display: flex;
    cursor: move;
    background: #fff;
    align-items: center;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.06); */
    border: 1px solid #ccc;
    justify-content: space-between;
}

.dnd-page .dnd-item {
    display: flex;
    align-items: center;
    position: relative;
}

.dnd-item.dragging {
    opacity: 0.6;
}

.dnd-item.dragging :where(.details, i) {
    opacity: 0;
}

.table-xs > :not(caption) > * > * {
    padding: .1rem .1rem;
    font-size: 0.85rem;
}

.table-transparent > :not(caption) > * > * {
    background-color: transparent;
}

.highlight {
    background-color: yellow; /* oder jede andere Farbe, die du möchtest */
}

/* NEW Standard */
.card-2-3 {
    aspect-ratio: 2/3;
    overflow: auto;
}

.card-1-1 {
    aspect-ratio: 1/1;
    overflow: auto;
}