﻿@import url('glober/fonts.css');

body {
    margin: 0;
    padding: 0;
    background-image: url('images/pi/bg01.jpg'); /* Set background image for the body */
    background-repeat: repeat-y; /* Repeat the background image vertically */
    background-size: 100%; /* Cover the entire body */
}

container {
    position: relative;
    /*  min-height: 100vh; Adjust the height as needed */
}


/*.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/mmdbackground.jpg');*/ /* Set background image */
    /*background-position: center top;*/ /* Center the background image horizontally and place it at the top */
    /*background-size: 100% auto;*/ /* Adjusted background size to fit width and maintain aspect ratio */
    /*background-repeat: repeat-y;*/ /* Repeat vertically */
    /*z-index: -1;
}*/


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    background: rgba(44, 50, 56, 0.8) !important;
    overflow-x: hidden;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

.btn-primary {
    vertical-align:middle;
    background-color: darkred !important;
    border: none;
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #dddddd;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: white;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
}

    .btn-primary:hover {
        background-color: #dd0000 !important;
    }
.btn-default {
    background-color: #e4d408 !important;
    --bs-btn-hover-border-color: white;
    --bs-btn-hover-color: black;
}


.btn-default:hover {
    background-color: #f4d408 !important;
}
    h1 {
    font-family: 'GloberSemiBold' !important;
    color: white;
}

h2 {
    font-family: 'GloberSemiBold' !important;
    color: white;
}

h3 {
    font-family: 'GloberSemiBold' !important;
    color: #afadaf;
}

.brand-text {
    font-family: 'GloberSemiBold' !important;
    color: #adadaf;
    font-weight: bold;
}

a {
    --bs-link-color: white;
}
a:hover {
    
    color: #dddddd !important;
}

.hyperlink1 {
    font-family: 'GloberSemiBold' !important;
    color: #e4d408;
    font-weight: bold;
    --bs-link-hover-color: #ffffff;
    --bs-link-color: white;
}
hyperlink1:hover {
    font-family: 'GloberSemiBold' !important;
    color: #ffffff !important;
    font-weight: bold;
}
hyperlink1:visited {
    font-family: 'GloberSemiBold' !important;
    color: #f2ea8a !important;
    font-weight: bold;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
        background-color: #2c3238;
        color: #dddddd;
        --bs-body-color: #dddddd;
    }
}
@media screen and (min-width: 400px) {
    .body-content {
        padding: 0;
        background-color: #2c3238;
        color: #dddddd;
        --bs-body-color: #dddddd;
    }
}

.row
{
    width:100%;
}
.customTreeView
{
    opacity:1;
    color:white;
    background-color: transparent !important;

}
/* Custom TreeView Node Icon */
.customTreeView img[src$='plus.gif'],
.customTreeView img[src$='minus.gif'] {
    /* Specify your custom images */
    background-image: url('tvwImages/dashminus.gif');
}

/* Custom TreeView Leaf Icon */
.customTreeView img[src$='leaf.gif'] {
    /* Specify your custom leaf icon */
    background-image: url('tvwImages/dash.gif');
}

/* Custom TreeView Checkbox Icon */
.customTreeView img[src$='checkbox_0.gif'],
.customTreeView img[src$='checkbox_1.gif'],
.customTreeView img[src$='checkbox_2.gif'],
.customTreeView img[src$='checkbox_3.gif'] {
    /* Specify your custom checkbox icons */
    background-image: url('path_to_your_custom_checkbox_icon.png');
}


input[type=checkbox] {
    background-color: darkslategrey !important;
    /*color: white;*/
    height: 20px !important;
    width: 20px !important;
    opacity:1;
}


.rightheader {
    text-align: right !important;
    vertical-align:top !important;
}

.leftheader {
    text-align: left !important;
    vertical-align: top !important;
}

.centreheader {
    text-align: center !important;
    vertical-align: top !important;
}

.expandable-textbox {
    overflow: hidden;
    resize: none; /* Prevent resizing by the user */
    height: auto; /* Start with automatic height */
    min-height: 100px; /* Set a minimum height */
}


/* Wrapping container */
.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Dynamic wrapping */
    gap: 10px; /* Space between icons */
    justify-content: center; /* Centering within the td */
    text-align: center;
    max-width: 100%; /* Ensures it doesn’t overflow the table */
}

.attachment-thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px; /* Fix width to avoid stretching */
    word-wrap: break-word;
}

.thumbnail {
    width: 200px;
    height: auto;
    cursor: pointer;
    margin: 5px;
    border-width: 2px;
    border: solid;
}

.attachments-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); /* Dynamic wrapping */
    gap: 10px; /* Space between icons */
    justify-content: center; /* Centering within the td */
    text-align: center;
    max-width: 100%; /* Ensures it doesn’t overflow the table */
}

/* Each icon with description */
.attachment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px; /* Fix width to avoid stretching */
    word-wrap: break-word;
}

.icon {
    height: 60px;
    cursor: pointer;
    margin: 5px;
}
