﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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 width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.containercustom {
    max-width: 1540px;
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}


/*Busy Indicator*/

/* Absolute Center Spinner */
.loading {
    position: fixed;
    display: none;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.componentWrapper {
    border: solid cadetblue;
    border-radius: 5px;
    padding: 15px 10px 10px;
    /*width: auto;*/
}

    .componentWrapper .header {
        position: absolute;
        margin-top: -25px;
        margin-left: 10px;
        color: white;
        background: cadetblue;
        border-radius: 10px;
        padding: 2px 10px;
    }


.no-scrollElina {
    overflow: hidden;
}

.overlayElina {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity to your preference */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-containerElina {
    max-height: 100%; /* Adjust the value as needed */
    overflow: auto;
}

.sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    z-index: 999; /* Adjust the z-index as needed */
}

.sticky-buttons button {
        width: 33%; /* Make buttons 100% width */
        padding: 10px; /* Adjust padding as needed */
       
    }

.sticky-buttons a {
        width: 33%; /* Make buttons 100% width */
        padding: 10px; /* Adjust padding as needed */
    }


.radio-buttons-container-stewieCMS {
    display: flex;
    gap: 5px; /* Adjust the spacing as needed */
}

    .radio-buttons-container-stewieCMS input[type="radio"] {
        display: none;
    }

    .radio-buttons-container-stewieCMS label {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px; /* Set the desired height for the buttons */
        text-align: center;
        white-space: normal; /* Allow text to wrap */
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        cursor: pointer;
    }





.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding-top: 30px; /* Adjust padding as needed */
    box-sizing: border-box;
  
}



.lightbox-content {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: calc(100% - 70px); /* Adjust for button height and additional space */
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100% - 40px); /* Adjust as needed */
    object-fit: contain; /* Maintain aspect ratio */
}



.close {
    color: white;
    float: right;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}

    .close:hover {
        color: #999;
    }

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-image {
    cursor: pointer;
}



.image-gallery img {
    max-height: 100px; /* Set the maximum height for images in the gallery */
    max-width: 100px; /* Set the maximum width for images in the gallery */
    object-fit: cover; /* Maintain aspect ratio and fill the container */
}



.prev-button,
.next-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999; /* Ensure it's on top */
}

.prev-button {
    left: 10px; /* Adjust the distance from the left */
}

.next-button {
    right: 10px; /* Adjust the distance from the right */
}


.full-width {
    width: 100%;
}