﻿figure {
    margin: 0
} 

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

dt {
    /*font-weight: unset;*/
    padding-bottom: 5px;
}

dd {
    padding-bottom: 5px;
}

/*fix dropdown not showing the arrow when used with form-control class
    .form-select is datatables.net select - this will cause double arrow :|
*/
select:not(.form-select) {
    -webkit-appearance: listbox !important
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.pagination-navigator {
    width: 30px;
}


.ui-front {
    z-index: 1500 !important;
}



/*back ground color of the select item in the menue*/
.nav-item.open > a.nav-link.active {
    background-color: #ffffff19 !important;
}


.logo-text {
    font-size: 20px !important;
    color: whitesmoke !important;
    text-decoration: none !important;
    margin: 22px 10px 0px !important;
}


/*horizontal style of scrollbar in table wrapper*/
.table-responsive::-webkit-scrollbar,
.table-responsive-sm::-webkit-scrollbar {
    height: 7px;
    width: 7px;
}
.table-responsive::-webkit-scrollbar-track,
.table-responsive-sm::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.table-responsive::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 7px;
}
    .table-responsive::-webkit-scrollbar-thumb:hover,
    .table-responsive-sm::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }

/*horizontal style of scrollbar in datatables if scrollX is set to true*/
.dataTables_scrollBody::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

    .dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }


/*to set the with for the last column of tables in the index page - action column*/
/*.dataTable thead tr th:last-child {
    width: 1%;
}*/
.action-column {
    width: 1%;
}

.dataTable,
.table
{
    width: 100%;
}

.search-buttons {
    border: 1px solid #c2cfd6 !important;
}


.validation-summary-errors {
    margin-top: 5px;
    margin-bottom: 5px;
}

    .validation-summary-errors ul {
        list-style: none;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        padding-inline: 0 !important;
    }



.card > .card-header h4 {
    display: inline;
}

.card > .card-header div.form-group {
    float: right;
    display: inline;
}


/*file upload button*/
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

/*background colors*/
.background-red {
    background-color: red;
}

.background-yellow {
    background-color: yellow;
}

.background-green {
    background-color: green;
}

.max-width-600 {
    max-width: 600px;
}
.min-width-400 {
    min-width: 400px;
}

.mt-2rem {
    margin-top: 2rem !important;
}

.fs-07rem {
    font-size: 0.7rem !important
}

/* add red asterisk for input fields with class="required-indicator" */
.required-indicator .control-label:after {
    content: " *";
    color: red;
}

/* custom image styles in FormDataLogs */
.img-thumbnail {
    background-color: #fff !important;
}

.form-data-photo {
    width: 100%;
    height: 150px;
    overflow: hidden;
    object-fit: cover;
}

/* The Overlay (black background) */
#overlay {
    height: 0;
    width: 100%;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
    transition: 0.3s;
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    margin: 60px;
}

/* Position the close button (top right corner) */
#overlay .close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 25px;
}

/* Bootstrap Carousel (Photo Gallery on FormDataLog) */
.carousel-item {
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}

.carousel-indicators {
    bottom: -40px;
    border: 1px solid transparent;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    cursor: pointer;
}

.carousel-control-prev span, .carousel-control-next span {
    width: 60px;
    height: 60px;
    border: 13px solid black;
    border-radius: 50px;
    background-color: rgb(0,0,0);
    outline: 2px solid white;
}