/* --bs-breakpoint-sm: 576px; */
/* --bs-breakpoint-md: 768px; */
/* --bs-breakpoint-lg: 992px; */
/* --bs-breakpoint-xl: 1200px; */
/* --bs-breakpoint-xxl: 1400px; */

/*Default banner*/
.banner-Background {
    background-image: url('../img/background.webp');
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}

h1 {
    color: white;
    font-weight: bolder;
}

h2 {
    color: #bfff2f;
    font-weight: lighter;
    margin: 1.5em auto;
}

h3 {
    color: #bfff2f;
    font-weight: lighter;
    font-size: larger;
}

.clearNoSpace {
    clear: both;
}

.clearXSmallSpace {
    clear: both;
    height: 5px;
}

.clearSmallSpace {
    clear: both;
    height: 10px;
}

.clearMediumSpace {
    clear: both;
    height: 20px;
}

.clearLargeSpace {
    clear: both;
    height: 50px;
}

.clearXLargeSpace {
    clear: both;
    height: 100px;
}

.row {
    background-color: black;
    opacity: 90%;
}

.active {
    color: #bfff2f;
}

.form-horizontal {
    padding: 4em;
    border-color: #bfff2f;
    border-style: solid;
    border-width: 1px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1em;
}


.cookie-PopUp {
    z-index: 10;
    width: 500px;
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid black;
    position: fixed;
    bottom: 0;
    left: calc(50% - 250px);
    padding: 8px;
}

.btn-default {
    border: 1px solid #bfff2f;
    /*width: 250px;*/
    color: #bfff2f;
    background-color: black !important;
}

.btn-primary {
    font-weight: normal;
}

.btn-sm {
    width: max-content;
}

.btn-danger {
    border: 1px solid black;
    width: 250px;
    color: black;
    background-color: #bfff2f !important;
}

.btn-danger:hover {
    border: 1px solid #bfff2f;
    color: black;
}

.btn-imagebutton-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .btn-imagebutton-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .btn-imagebutton-wrapper {
        flex: 0 0 33%;
        max-width: 33%;
    }
}

@media (min-width: 1200px) {
    .btn-imagebutton-wrapper {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.optional-image-wrapper {
    display: none;
}

@media (min-width: 992px) {
    .optional-image-wrapper {
        display: flex;
    }
}

.btn-imagebutton /*, .btn-imagebutton:hover, .btn-imagebutton:focus*/
{
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: 8px 8px;
    min-height: 68px;
    background-color: black;
    margin: 10px;
    width: 320px;
}

.btn-imagebutton-cloud, .btn-imagebutton-cloud:hover, .btn-imagebutton-cloud:focus {
    background-image: url('../img/HouseBaseCloud-48x48.png');
}

.btn-imagebutton-remote, .btn-imagebutton-remote:hover, .btn-imagebutton-remote:focus {
    background-image: url('../img/HouseBaseRemote-48x48.png');
}

.btn-imagebutton-config, .btn-imagebutton-config:hover, .btn-imagebutton-config:focus {
    background-image: url('../img/Wrench-48x48.png');
}

.btn-imagebutton .title {
    margin-left: 56px;
    margin-top: 8px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    overflow: clip;
    text-wrap-mode: nowrap;
}

.btn-imagebutton .subtitle {
    margin-top: 2px;
    text-align: left;
    margin-left: 56px;
    font-size: 11px;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
}

.ib-full-width-wrapper,
.ib-half-width-wrapper,
.ib-fixed-width-wrapper {
    flex: 1 1 100%;
    min-width: 320px;
}

/* on medium screens and up two columns */
@media (min-width: 768px) {
    .ib-half-width-wrapper {
        flex: 1 0 40%;
    }

    .ib-fixed-width-wrapper {
        max-width: 740px;
    }
}

.form-control {
    font-weight: lighter;
    background-color: #111111;
    border: 1px solid #bfff2f;
}

.form-control:focus {
    font-weight: lighter;
    border-color: #bfff2f;
    box-shadow: 0 0 0 0.2rem rgba(191, 255, 47, 0.25);
}

.required:after {
    content: " *";
    font-weight: bold;
}

th {
    font-weight: normal;
}

.device-list {
    display: grid;
    /* Each .device-row is itself a subgrid across 3 columns */
}

.device-row {
    display: grid;
    grid-template-columns: 1fr 1px 480px;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 767px) {
    .device-row {
        grid-template-columns: 1fr; /* stack on mobile */
    }
    .device-row .vr {
        display: none;
    }
}
