﻿:root {
    --maptek-green: #4D9D37;
    --cloud-blue: #337ab7;
    --error-red: #dc143c;
}

body {
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    width: 80%;
    min-width: 1440px;
}

.base-width {
    max-width: 800px;
    margin: 0 auto;
}

.info-box {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.5rem;
}

.k-listview, .k-grid, .k-pager-md {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Navigation menu styles */
.navbar {
    z-index: 1050; /* Make sure the navbar is on top */
    background-color: #212529;
    min-height: 50px;
    box-shadow: 0 1px 4px 2px rgba(50, 50, 50, .5);
    padding: 0;
}

@media all and (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: left; /* Centers both divs horizontally */
        align-items: left; /* Centers both divs vertically */
    }
}

@media all and (min-width: 769px) {
    .navbar {
        display: flex;
        justify-content: center; /* Centers both divs horizontally */
        align-items: center; /* Centers both divs vertically */
    }
}

.navrow-background {
    background: #455A64;
    height: 15px;
}

#navbarControl1 {
    max-width: 800px;
    min-width: 600px;
}

@media all and (max-width: 900px) {
    #navbarControl1 {
        margin-left: 0px;
    }
}

@media all and (min-width: 901px) {
    #navbarControl1 {
        margin-left: 158px;
    }
}

/* Default body background for all pages */
.body-background {
    background-color: #eeeeee;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    border-top: 1px solid #ffffff;
    padding: 15px;
    height: 50px;
    background-color: #cccccc;
    z-index: 99;
}

body {
    --kendo-color-on-app-surface: #212529 !important;
}

/* Word wrap */
.word-wrap {
    word-wrap: break-word;
}

body {
    --kendo-font-size: 16px;
    font-family: "Segoe UI", Arial, Sans-serif;
}

.demo-section {
    border-radius: 0.5rem;
}

/* For mobile phones: */
@media only screen and (max-width: 768px) {
    /* Settings table width */
    [class*="responsive-table-width"] {
        width: 100%;
    }
    /* Settings control width - textbox and numerictextbox*/
    [class*="settings-control-width"] {
        width: 40%;
        min-width: 30px;
    }
    /* Notifications card content width */
    [class*="col-6"] {
        width: 100% !important;
    }
}

/* For large screens */
@media (min-width: 1200px) {
    .pull-right-lg {
        float: right;
    }
}

.image-container {
    width: 140px; /* Adjust to how much space the image should take up */
    height: auto; /* Let the height adjust based on the image's aspect ratio */
    z-index: 1; /* To ensure it appears above other content if necessary */
}

.image-padding {
    padding-top: 10px;
}

@media all and (max-width: 800px) {
    .content {
        padding: 0 10px;
    }

    .image-container {
        margin-left: 10px;
    }
}

@media all and (min-width: 800px) {
    .image-container {
        left: calc((100vw - 800px) / 2); /* Position the image next to the existing div */
    }
}

.image-container img {
    width: 100%; /* Make the image width match the container */
    height: auto; /* Maintain aspect ratio */
}
