/* Original CSS */


html,
body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family:  "appfont", sans-serif !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo {
    height: 3vw;
    position: fixed;
    top: 3vw;
    left: 3vw;
}

#renderCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.h1 {
    z-index: 6;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    /* font-family:  sans-serif; */
}

.is-hidden {
    display: none !important;
    visibility: hidden !important;
}

.label-component {
    position: absolute;
    color: #003057;

    /* box-shadow: 0px 5px 24px 0px rgba(0, 0, 0, 0.33); */
    display: block;
    pointer-events: auto;
    user-select: none;
    line-height: 140%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    /* border-bottom: 0.5px solid rgba(255, 255, 255, 0.904); */
    width: 250px;
    padding: 10px;
}

.label-component p {
    padding: 5px 5px 15px 5px;
    color: #003057;

}

.label-component h2 {
    padding: 5px;
    color: #003057;

}

.label-component a {
    content: "×";
    display: block;
    margin: 4px 0 4px 0;
    font-size: 20px;
    text-decoration: none;
    pointer-events: all;
    color: #003057;
    cursor: pointer;
}

.label-component>.standard-annotation-corner-line-svg {
    height: 30px;
    width: calc(100% + 30px);
    position: absolute;
    pointer-events: none;
    bottom: -30px;
    left: 270px;
}

.annotation {
    position: absolute;
    bottom: 6vw;
    width: 94vw;

    color: #003057;
    display: block;
    pointer-events: auto;
    user-select: none;
    line-height: 140%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 0 3vw;
    /* box-shadow: 0px 5px 24px 0px rgba(0, 0, 0, 0.33); */
}


.installMode{
    right: 5vw;
    width:30vw;
}
.annotation p {

    padding: 5px 5px 0 5px;
    color: #003057;
    font-size: 1em;
    line-height: 1.2em;
}

.annotation h3 {
    padding: 0;
    margin:0;
    font-size: 1.2em;
    color: #003057;
}
.annotation h2 {
    padding: 5px;
    color: #003057;
}

.annotation .arrow {
    font-size: 60px;
    color: #003057;
    cursor: pointer;
    pointer-events: all;
}

.annotation2 p {
    padding: 5px 5px 15px 5px;
    color: #003057;
}

.annotation2 h2 {
    padding: 5px;
    color: #003057;
}

.annotation .arrow {
    font-size: 60px;
    color: #003057;
}

/* .annotation a {
    content: "×";
    display: block;
    margin: 4px 0 4px 0;
    font-size: 20px;
    text-decoration: none;
    pointer-events: all;
    color: #003057;
    cursor: pointer;
} */
.loadingLayer {
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gifLayer {
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-pointer-important {
    cursor: pointer !important;
}

.ctaBTN {
    position: fixed;
    right: 2em;
    bottom: 2em;
}

.btn {
    position: fixed;
    right: 20px;
    top: 20px;
}

.pinBTNMid {
    position: fixed;
    right: 47%;
    bottom: 220px;
}

.pinBTN {
    position: fixed;
    right: 44%;
    bottom: 110px;
}

.ctaBTN,
.btn,
.pinBTNMid,
.pinBTN {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #003057;
    background-color: none;
    border: #003057 2px solid;

    width: 10em;
    height: 3em;
    cursor: pointer;
    pointer-events: all;
    /* font-family:  sans-serif !important; */
    z-index: 10;
}

#bottom-bar {
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
}

.pinDrop,
.pinDropSmall {
    position: absolute;
    left: 35%;
}

#menuContainer.pinDrop {
    /* font-family: Arial, sans-serif; */
    margin: 20px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

#menuContainer.pinDrop label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

#pinDropdown {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    appearance: none;
    outline: none;
    transition: border-color 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='gray'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

#pinDropdown:focus {
    border-color: #007BFF;
}

#pinDropdown option {
    color: #888;
}

#pinDropdown:hover {
    cursor: pointer;
}

#menuContainerSmall.pinDropSmall {
    /* font-family: Arial, sans-serif; */
    margin: 20px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

#menuContainerSmall.pinDropSmall label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

#pinDropdownSmall {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    appearance: none;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='gray'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

#pinDropdownSmall:focus {
    border-color: #007BFF;
}

#pinDropdownSmall option {
    color: #888;
}

#pinDropdownSmall:hover {
    cursor: pointer;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-logo-link {
    position: absolute;
    display: block;
    height: 3vw;
    left: 3vw;
    bottom: 3vw;
    cursor: pointer;
}

.footer-logo-link>img {
    display: block;
    width: auto;
    height: 100%;
    
}

.footer-more-info {
    position: absolute;
    background: rgb(231, 229, 229);
    width: 10vw;
    height: 4vh;
    bottom: 1.5em;
    left: 4.5em;
    transition: opacity .5s ease-in-out;
}

.footer-more-info span {
    position: absolute;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    left: 15px;
    top: 6.5px;
}

.footer-more-info:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 16px solid rgb(231, 229, 229);
    border-bottom: 8px solid transparent;
}

.footer-more-info a {
    text-decoration: underline;
    font-weight: 900;
    color: #000;
    cursor: pointer;
}

.toolbox-cont {
    position: absolute;
    bottom: 30px;
    transform: translate(0, 50%);
    right: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 8px 0px 0px 0px;
}

.toolbox-btn {
    display: block;
    box-sizing: border-box;
    float: left;
    margin-right: 19px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    user-select: none;
}

.toolbox-btn:last-of-type {
    margin: 0 0 0 -4px;
}

.indicators {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 3vw;
    width:100%;
    z-index: 50;
    gap: 1.5vw;
}

.indicator {
    border: 2px solid #35a8e3;
    /* font-family: "appfont", sans-serif; */
    margin: 0;
    box-sizing: content-box;
    line-height: 3vw;
    color: #35a8e3;
    width: 10vw;
    text-transform: uppercase;
    font-size: 1.2vw;
    text-align: center;
    cursor: pointer;
    pointer-events: all;
    border-radius: 2px;
}

.indicator:hover {
    background-color: #35a8e3;
    border: 2px solid #35a8e3;
    color: #fff;
    
}

.installation {
    background-color: #003057 !important;
    border: 2px solid #003057 !important;
    color: #fff;
}

.activated {
    background-color: #35a8e3;
    border: 2px solid #35a8e3;
    color: #fff;
    border-radius: 2px;
}

#pinMenu,
#menuContainerSmall {
    position: absolute;
    bottom: 15%;
    right: 50%;
    transform: translate(50%, 50%);
    display: flex;
    flex-direction: column;
    width: auto;
    /* Adjust width dynamically */
    z-index: 20;
    align-items: center;
}

.rowContainer {
    display: flex;
    /* Make row buttons appear in a single row */
    gap: 5px;
    flex-wrap: wrap;
    /* Allow buttons to wrap if needed */
    justify-content: center;
}

.rowButton {

    color: #003057;
    border: 2px solid #003057 ;
    padding: 5px 10px;
    /* Smaller padding */
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    /* Smaller font size */
    width: auto;
    /* Make size dynamic */
    text-transform: uppercase;
    min-width: 70px;
    /* Ensure buttons are not too small */
}

.rowButton:hover {
    background-color: #003057;
    color: white;
}

.pinList {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

.pinSpan {
    color: #003057;
    padding: 5px;
    margin: 0;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    min-width: 50px;
    pointer-events: all;
}

.rowButtonsDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 5px;
}

.pinSpan:hover {
    background-color: #003057;
    color: #fff
}

.activeBtn {
    background-color: #003057;
    color: #fff
}

.pinList2 {
    display: flex;
    gap: 5px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

.pinSpan2 {
    color: #003057;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
}

.pinSpan2:hover {
    background: #ddd;
}

.pinSpan2.active {
    background-color: #003057;
    color: #fff
}

@media (max-width: 800px) {
    .indicators {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 8vw;
        width:100%;
        z-index: 50;
        gap: 2vw;
    }
    
    .indicator {
      
        box-sizing: border-box;
        margin: 0;
        line-height: 3vw;
        width: 14vw;
        font-size: 1.6vw;

    }
    
}



@media (max-width: 380px) {
    .toolbox-cont {
        padding: 0px 10px;
    }

    .toolbox-btn {
        margin-right: 10px;
    }

    #pinMenu,
    #menuContainerSmall {
        width: 92%;
    }


}

@media (max-width: 340px) {
    .toolbox-btn:last-of-type {
        margin-right: -4px;
    }

    #pinMenu,
    #menuContainerSmall {
        width: 92%;
    }

}

.toolbox-btn img {
    width: 100%;
    height: 100%;
}

.toolbox-menu {
    position: absolute;
    bottom: 50px;
    right: 4px;
    background: rgba(0, 0, 0, .25);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
}

.toolbox-menu.visible {
    visibility: visible;
    opacity: 1;
}

.toolbox-menu-item {
    padding: 5px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    height: 20px;
}

.toolbox-menu-item.radio::before {
    content: " ";
    font-family: monospace;
    width: 21px;
    display: inline-block;
}

.toolbox-menu-item.button {
    background-color: rgba(255, 255, 255, .6);
    color: black;
    border-radius: 4px;
    padding: 2px 4px;
    margin-top: 6px;
}

.toolbox-menu-item.button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.toolbox-menu-item input {
    width: 60px;
    border-radius: 4px;
}

.toolbox-menu-item span {
    width: 66px;
    display: inline-block;
}

.toolbox-menu-item.radio.active::before {
    content: "✓";
}

.backButton {
    height: 4%;
    width: 4%;
    cursor: pointer;
    pointer-events: all;
    position: fixed;
    right: 60px;
    top: 20px;
}

.backBtnImg {
    max-width: 100%;
}

.menu-list {
    width: 240px;
    padding: 5px;
    margin: 2px 0;
    border: 2px solid;
    color: #003057;
    border-color: #003057;
    font-size: 15px;
    text-align: center;
    background-color: none;
    cursor: pointer;
}

.menu-list:hover {
    background-color: #003057;
    border-color: #003057;
    color: white;
}

.dropdown {
    max-width: 150px;
    width: 150px;
    position: fixed;
    right: 20px;
    top: 20px;
}

.dropdown-button {
    background-color: #003057;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.ctaBTN:hover,
.pinBTN:hover {
    background-color: #35a8e3;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 2px;
}

.dropdown-menu {
    display: none;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 5px;
    padding: 10px 0;
    z-index: 1;
    width: 150px;
}

.submenu {
    padding: 10px 20px;
    color: #333;
    cursor: pointer;
}

.submenu:hover {
    background-color: #f0f0f0;
}

.show {
    display: block;
}

.tableDiv {
    position: absolute;
    top: 17vw;
    left: 3vw;
    /* background: rgba(0, 0, 0, 0.4); */
    /* padding: 15px; */
    /* border-radius: 10px; */
    /* backdrop-filter: blur(5px); */
    color: #003057;
    /* font-family: Arial, sans-serif; */
    width: 15vw;
}

.closeBtn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: white;
}

.led-group {
    margin-bottom: 15px;
}

.label-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip {
    font-size: 14px;
    color: #003057;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.radio-group {
    display: flex;
    gap: 10px;
}

.color-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 3px solid #003057;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+.color-indicator {
    border: 2px solid transparent;
}

.orange {
    background-color: orange;
}

.green {
    background-color: green;
}

.red {
    background-color: red;
}

.off {
    background-color: black;
    border: 2px solid transparent;
}

.tooltip-text {
    font-weight: bold;
    margin-left: 5px;
    color: white;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 480px) {
    .logo {
        height: 6vw;
    }
    .label-component {
        max-width: 300px;
        font-size: 25px;
    }

    .label-component p {
        font-size: 24px;
    }

    .label-component h2 {
        font-size: 26px;
    }

    .label-component a {
        font-size: 25px;
    }

    .label-component>.standard-annotation-corner-line-svg {
        width: calc(100% + 15px);
        height: 18px;
        bottom: -18px;
    }

    .tableDiv {
        bottom: 6vw;
        left: 5vw;
        /* background: rgba(0, 0, 0, 0.4); */
        top:auto;
        /* border-radius: 10px; */
        /* backdrop-filter: blur(5px); */
        /* color: white; */
        /* font-family: Arial, sans-serif; */
        text-align: left;
        width: 90vw;

    }
    .led-group {
    margin-bottom: 5px;
    }

    #pinMenu,
    #menuContainerSmall {
        width: 92%;
        bottom: 25%;
    }

    .pinSpan,
    .pinSpan2 {
        font-size: 12px;
    }

    .rowButton {
        font-size: 13px;
    }

    .indicators {
        flex-direction: row;
        /* Stack vertically on mobile */
        bottom: 40px;
        /* Adjust position for mobile */
        flex-wrap: wrap;
        /* Reduce the right margin */
       gap:2vw 3vw;
        /* Reset transform */
    }

    .indicator {
    line-height: 6vw;
    width: 28vw;
    font-size: 3.2vw;
    }


    .backButton {
        top:1%;
        right: 3vw;
        width: 15%;
    }

    .annotation {
        position: absolute;
        bottom: 10%;
        left: 0;
        color: #003057;
        display: block;
        pointer-events: auto;
        user-select: none;
        line-height: 140%;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
        width: 97%;
        padding: 10px;
        box-shadow: none
    }

    .annotation2 {
        position: absolute;
        bottom: 10%;
        right: 0;
        left: 0;
        color: #003057;
        display: block;
        pointer-events: auto;
        user-select: none;
        line-height: 140%;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
        width: 99%;
        padding: 10px;
        box-shadow: none
    }


    
.footer {
    position: absolute;
    left: 0;
    right:0;
    bottom: 0;
    height: 24px;
    /* background-color: #009771; */
    
}

.footer-logo-link {
    position: absolute;
    display: block;
    height: 24px;
    left: 50%;

    bottom: 0;
    cursor: pointer;
    transform: translate(-50%, 0);
    
}

.footer-logo-link>img {
    display: block;
    width: auto;
    height: 100%;
}
}

/* -----------------------------------------------
   Adaptations for a 704x470 iframe (max-width: 705px & max-height: 470px)
------------------------------------------------ */
@media (max-width: 705px) and (max-height: 472px) {
    .logo {
        width: 6em;
        top: 0.3em;
        left: 1em;
        border: 2px solid transparent;
    }

    .label-component {
        width: 180px;
        padding: 5px;
        font-size: 14px;
        line-height: 1.2;
    }

    .label-component p {
        padding: 3px 3px 10px;
        font-size: 13px;
    }

    .label-component h2 {
        padding: 3px;
        font-size: 14px;
    }

    .label-component a {
        margin: 2px 0;
        font-size: 16px;
    }

    .label-component>.standard-annotation-corner-line-svg {
        height: 20px;
        width: calc(100% + 20px);
        bottom: -20px;
        left: 200px;
    }

    .ctaBTN,
    .btn,
    .pinBTNMid,
    .pinBTN {
        width: 8em;
        height: 2.5em;
        font-size: 12px;
    }

    #menuContainer.pinDrop,
    #menuContainerSmall.pinDropSmall {
        width: 200px;
        margin: 10px;
        padding: 8px;
        font-size: 14px;
    }

    #menuContainer.pinDrop label,
    #menuContainerSmall.pinDropSmall label {
        font-size: 14px;
    }

    #pinDropdown,
    #pinDropdownSmall {
        padding: 6px 10px;
        font-size: 12px;
    }

    .tableDiv {
        top: 15%;
        left: 20%;
        width: 200px;
        padding: 10px;
        font-size: 14px;
    }

    .footer-logo-link {
        height: 3vh;
        left: 1em;
        bottom: 1em;
    }

    .footer-more-info {
        width: 12vw;
        height: 3vh;
        bottom: 1em;
        left: 3em;
    }

    .toolbox-cont {
        bottom: 20px;
        right: 0;
        padding: 6px;
    }

    .toolbox-btn {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .dropdown {
        max-width: 120px;
        width: 120px;
        right: 10px;
        top: 10px;
    }

    .dropdown-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .dropdown-menu {
        width: 120px;
    }

    .menu-list {
        padding: 0;
        margin: 0;
        width: 180px;
        border: 2px solid white;
        color: white;
        font-size: 15px;
        text-align: center;
        background-color: none;
        cursor: pointer;
    }

    .pinMenu {
        width: 92%;
    }

    .pinSpan {
        font-size: 25px;
    }

    .rowButton {
        font-size: 25px;
    }

    .backButton {
        width: 15%;
    }
}

@font-face {
    font-family: "appfont";
    font-weight: normal;
    font-style: normal;
    src: url('OpenSans-Regular.ttf'); 

}

@font-face {
    font-family: "appfont";
    font-weight: normal;
    font-style: italic;
    src: url('OpenSans-Italic.ttf'); 

}

@font-face {
    font-family: "appfont";
    font-weight: bold;
    font-style: italic;
    src: url('OpenSans-BoldItalic.ttf'); 

}

@font-face {
    font-family: "appfont";
    font-weight: bold;
    font-style: normal;
    src: url('OpenSans-Bold.ttf'); 

}