body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

header {
    background-color: #333;
    color: #fff;
	font-size: .7em;
    text-align: center;
    padding: 1rem;
	
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

.input-large,
.input-medium {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.equipment-details input[type="text"],
.equipment-details select,
.equipment-details textarea {
    width: 100%;
    padding: 8px;
   height: 36px; /* Adjust this value to match the height of the select boxes */
    box-sizing: border-box; /* Ensure padding and border are included in the height */ 
 margin-bottom: 10px;
}
.details-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center; /* Ensure items align correctly */
}

.details-option {
    flex: 1;
    margin-right: 10px;
}

.details-option:last-child {
    margin-right: 0;
}
.equipment-details textarea {
    height: 200px; /* Adjust this value to match approximately 15 lines */
	height: 36px; /* Adjust this value to match the height of the text boxes */
    box-sizing: border-box; /* Ensure padding and border are included in the height */
}

.equipment {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    padding: 5px;
}

.equipment-header {
    margin-bottom: 15px;
}

.equipment-title {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.add-equipment,
input[type="submit"],
.update-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    margin-bottom: 20px;
}
.move-btn {
    background-color: #004400;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    margin-bottom: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.modal-column {
    flex: 1;
    margin-right: 10px;
}

.modal-column:last-child {
    margin-right: 0;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.input-with-prefix .input-prefix {
    padding: 8px;
    background-color: #ddd;
    border: 1px solid #ccc;
    border-right: none;
}

.input-with-prefix input {
    flex-grow: 1;
    border-left: none;
}

.equipment-details-heading {
    margin-top: 20px;
    font-weight: bold;
}

.modal-full-width {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}

.image-upload-section {
    margin-top: 20px;
}

.image-upload-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.image-upload-row label {
    width: 100px;
    font-weight: bold;
}

.image-upload-row input[type="file"] {
    flex: 1;
    margin-left: 10px;
}

.replace-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 140, 186, 0.8);
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.replace-btn:hover {
    background-color: rgba(0, 95, 127, 0.8);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .1em;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 10000;
}

.lightbox-prev {
    left: 10px;

}

.lightbox-next {
    right: 10px;

}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    z-index: 10000;
}

/* Desktop-specific styles */
@media(min-width: 768px) {
    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
    }
}

/* Mobile-specific styles */
@media(max-width: 767px) {
    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
    }
}






.lightbox-thumbnail {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    max-width: 100%;
    overflow-x: auto;
}

.lightbox-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.lightbox-thumbnail img.active {
    border-color: #4CAF50;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    z-index: 1;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    z-index: 1;
}

.price-packages {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-package {
    text-align: left !important; /* Force align text to the left */
    flex: 1;
    margin: 0 10px;
}


.price-package h3 {
    margin: 0;
    font-size: .7em;
    color: #333;
}

.price-package p {
    margin: 5px 0 0;
    font-size: 1em;
    color: #4CAF50;
    font-weight: bold;
}

.equipment-description textarea {
    width: 100%;
    min-height: 100px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.equipment-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%; /* Ensure images fill the container */
    height: 100%; /* Ensure images fill the container */
    object-fit: cover; /* Maintain aspect ratio and cover the entire area */
    cursor: pointer;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
}

.thumbnail-grid-horizontal {
    display: flex; /* Display flex to align items horizontally */
    justify-content: space-between; /* Distribute space between items */
    gap: 10px; /* Space between thumbnails */
}

.thumbnail {
    flex: 1; /* Allow each thumbnail to grow equally */
    position: relative;
    padding-top: 25%; /* Maintain aspect ratio */
    overflow: hidden;
    width: 200px; /* Fixed width for each thumbnail */
    height: 200px; /* Fixed height for each thumbnail */
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensure images fill the container */
    height: 100%; /* Ensure images fill the container */
    object-fit: cover; /* Maintain aspect ratio and cover the entire area */
    cursor: pointer;
}

.plan-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}



.icon-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.garage-option {
    text-align: center;
    margin-top: 10px;
}

/* Default font size for desktop */
.icon-item p {
    font-size: 26px;
}

@media (max-width: 767px) {
    .thumbnail-grid-horizontal {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .icon-item p {
        font-size: 12px; /* Adjust the font size for mobile */
    }
    .thumbnail {
        flex: 0 0 24%;
        padding-top: 24%;
    }

    .main-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .price-packages {
        display: flex;
        flex-wrap: wrap; /* Allow wrapping */
        justify-content: space-between;
    }

    .price-package {
        flex: 0 0 48%; /* Adjust to 48% to fit two items per row with a small gap */
        text-align: left; /* Align text to the left */
        margin: 1%; /* Small margin to create space between items */
    }

    .price-package h3 {
        font-size: 1.4em; /* Package name font size */
    }

    .price-package p {
        font-size: 1.8em; /* Dollar value font size */
    }

    .container {
        padding: 0; /* Remove padding on the left and right */
        margin: 0; /* Remove any margin */
    }

    h1 {
        font-size: 1em; /* Adjust title font size */
    }

    .equipment-images {
        flex-wrap: nowrap;
    }

    .main-image {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
    }

    .thumbnail-grid-horizontal {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .thumbnail {
        flex: 1;
        position: relative;
        padding-top: 25%; /* Maintain aspect ratio */
        overflow: hidden;
    }

    .thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
    }
	.lightbox-prev {
    top: 30px;
    }

    .lightbox-next {
    top: 30px;
    }
}
.input-with-prefix {
    display: flex;
    align-items: center;
}

.input-prefix {
    margin-right: 5px;
    font-size: 1em;
}

.input-medium {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
     .equipment {
        
    }
    .equipment.dragging {
        opacity: 0.5;
    }
    .modal-content {
        display: flex;
        flex-direction: column;
    }
    .modal-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .modal-column {
        flex: 1;
        margin-right: 10px;
    }
    .modal-column:last-child {
        margin-right: 0;
    }
    .modal-full-width {
        width: 100%;
    }
    .equipment-details-heading {
        margin-top: 20px;
        margin-bottom: 10px;
        font-weight: bold;
    }
    .equipment-details textarea {
        width: 100%;
        min-height: 100px;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        resize: vertical;
    }
    .update-btn {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 4px;
    }
    .price-packages {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        padding: 10px 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .price-package {
        text-align: center;
        flex: 1;
        margin: 0 10px;
    }
    .price-package h3 {
        margin: 0;
        font-size: 1em;
        color: #333;
    }
    .price-package p {
        margin: 5px 0 0;
        font-size: 1.2em;
        color: #4CAF50;
        font-weight: bold;
    }
    .details-options {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .details-option {
        flex: 1;
        margin-right: 10px;
    }
    .details-option:last-child {
        margin-right: 0;
    }
    .details-option select, .details-option input {
        width: 100%;
    }
    .input-large {
        background-color: darkgreen;
        color: white;
        font-size: 40px; /* Adjust the size as needed */
        border: none; /* Optional: Remove border for a cleaner look */
        padding: 30px; /* Optional: Add padding for better spacing */
        text-align: center; /* Center the text */
    }
    .header-buttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    .header-buttons .button-group {
        display: flex;
        align-items: center;
    }
    .header-buttons .button-group button,
    .header-buttons .button-group a {
        margin-right: 10px;
    }
    .header-buttons .dropdown-group {
        margin-left: auto;
    }
    .dropdown-group select {
        padding: 10px 20px;
        font-size: 16px;
        background-color: darkgreen;
        color: white;
        border: none;
        border-radius: 4px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    .dropdown-group select option {
        background-color: white;
        color: black;
    }
#propertyDropdown {
     display: inline-block;
                padding: 10px 20px;
                margin: 10px 0;
                font-size: 16px;
                color: #fff;
                background-color: #005500;
                text-decoration: none;
                border-radius: 4px;
                text-align: center;
}

#propertyDropdown:hover {
    background-color: #006400; /* Darken background color on hover */
}

#propertyDropdown option {
    background-color: darkgreen;
    color: white;
}

text-shadow: 0px 0px 0px black;
@media (min-width: 992px) {
    .icon-item p {
        font-size: 0.7em; /* Increase the size for desktop */
    }
    
    .garage-option p {
        font-size: 0.7em; /* Decrease the size for desktop */
    }
}
