html, body {
    margin: 0; 
    height: 100%; 
    overflow: hidden;
    touch-action: none;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior: none;
}

#infinitediv {
    min-width: 100%; 
    min-height: 100%; 
    position: absolute;  
    cursor: grab;
    background-color: rgb(116, 120, 140);
    top: 0px; 
    left: 0px;
}

#infinitecanvas {
    position: absolute; 
    top: 0px; 
    left: 0px;
    width: 0px;
    height: 0px;
    transform-origin: 0px 0px;
}

#console{
    resize: none;
}



#modelicaModelDropdown{
    margin-top: 10px;
    margin-left: 20px;
    font-size: 12px;
    pointer-events: all;
    width: 300px;
}

.widget {
    position: absolute; 
    background-color: rgb(96, 103, 156);
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
    transition-property: background-color, box-shadow;
}

.widget.active {
    background-color: rgb(9, 20, 102);
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.4);
}

.content {
    cursor: auto;
}

.closeButton {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 35px;
    background-color: transparent;
    color: rgb(9, 20, 102);
    border: none;
    transition: 0.1s;
}

.closeButton:hover {
    color: black;
}

.widget.active .closeButton {
    color: white;
}

.widget.active .closebutton:hover {
    color: rgb(240, 240, 240);
}

.addListOption {
    display: block;
    height: 24px;
    width: 130px;
    border: 1px solid black; 
    cursor: pointer;
    padding: 13px;
    background-color: white;
    position: absolute;
}

.addButton {
    color: white;
    background-color: rgb(9, 20, 102);
    width: 130px;
    cursor: pointer;
    z-index: 100;
}

.resizeCircleDiv{
    position: absolute;
    z-index: 100;
    overflow: hidden;
    bottom: 0px;
    right: 0px;
    height: 100px;
    width: 100px;
    border-radius: 5px;
    pointer-events: none;
    background-color: transparent;
}

.resizeCircle{
    background-color: rgb(9, 20, 102);
    border-radius: 50%;
    cursor: nwse-resize;
    font-size: 20px;
    position: absolute;
    pointer-events: all;
    transition: 0.2s;
}

.widget.active .resizeCircle{
    background-color: rgb(4, 10, 53);
}

.plotCoverDiv{
    position: absolute;
    text-align: center;
    color: red;
    background-color: rgba(255, 200, 200, 0.2);
    opacity: 0%;
    transition: 1s;
    z-index: 200;
}

.plotCoverDiv.active{
    opacity: 100%;
}


.inputField{
    margin: 4px;
    padding: 4px;
    margin-left: 10px;
    border: none;
    width: 100px;
    background-color: rgb(230, 241, 255)
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.settingsDiv{
    padding: 8px;
    background-color: rgb(246, 250, 255);
}

.editNameButton{
    transform: rotate(90deg);
    width: 20px;
    display: inline-block;
    cursor: pointer;
}


.emptyDiagram {
    z-index: -1;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgb(247, 248, 255);
}

.diagramViewer{
    position: absolute;
    top: 0;
}

.cornerIconViewer {
    width: 120px;
    height: 120px;
    padding: 10px;
    position: absolute;
    bottom: 5px;
    left: 5px;
    border: 5px solid rgb(96, 103, 156);
    background-color: white;
    transition: 0.2s;
}

.widget.active .cornerIconViewer {
    border: 5px solid rgb(9, 20, 102);
}

.noIcon{
    position: absolute;
    z-index: 100;
    top: 10px;
    left: 10px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: rgb(96, 103, 156);
    transition: 0.1s;
    opacity: 100%;
}

.noIcon.hidden {
    opacity: 0%;
}

.noIcon:hover {
    background-color: rgba(200, 205, 239, 0.7);
    cursor: pointer;
}

.noIcon .plus {
    font-size: 50px;
    color: rgb(96, 103, 156);
    margin-top: 5px;
}

.selectWidgetScrollContainer {
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 80px); /* 40px for the header */
    width: 100%;
}

.componentSubTree{
    pointer-events: none;
    opacity: 0%;;
    height: 0px;
    padding-left: 20px;
    transition: 0.1s;
}

.componentSubTree.active{
    pointer-events: all;
    opacity: 100%;
    height: min-content;
    height: calc-size(min-content, size);
}

.treeComponentSelector{
    background-color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 5px;
}

.tiledComponentSelector{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 5px;
    font-size: 12px;
    cursor: pointer;
}

.disabledField{
    pointer-events: none;
    padding-top: 20px;
    text-align: center;
}

.componentTile{
    text-align: center;
    padding: 4px;
    background-color: rgb(255, 255, 255);
    margin-top: 20px;
    border: 1px solid white;
    margin: 5px;
    pointer-events: all;
}

.componentTile:hover{
    border: 3px solid rgb(96, 103, 156);
    padding: 2px;
}

.modelComponentTile{
    border: 5px solid rgb(213, 231, 216);
    padding: 0px;
}

.blockComponentTile{
    border: 5px solid rgb(222, 215, 207);
    padding: 0px;
}

.connectorComponentTile{
    border: 5px solid rgb(225, 212, 212);
    padding: 0px;
}

.partialComponentTile{
    border: 5px solid rgb(185, 185, 185);
    padding: 0px;
}

.permutationsContainer {
    animation-delay: 0.2s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.selectPackageContainer{
    width: 100%
}


.packageTile{
    text-align: center;
    padding: 4px;
    background-color: rgb(200, 205, 239);
    margin-top: 20px;
    border: 1px solid rgb(209, 215, 255);
    margin: 2px;
    padding-top: 15px;
    pointer-events: all;
    height: min-content;
    width: calc(100% - 15px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.packageTileArea{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    flex-basis: auto;
    justify-content: left;
}

.packageTileText{
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
}


.infoCircle{
    position: relative;
    top: -23px;
    left: -3px;
    width: 30px;
    font-weight: bold;
    color: darkgray;
    font-size: 17px;
    cursor: pointer;
}

.componentTreeEntry{
    text-align: left;
    padding: 2px;
    background-color: white;
    pointer-events: all;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    transition: 0.1s;
}

.componentTreeEntry:hover{
    background-color: rgb(209, 215, 255);
    
}

.newModelButton {
    opacity: 0%;
    pointer-events: none;
    font-size: 20px;
    margin-left: auto;
    margin-right: 0;
    transition: 0.1s;
    width: min-content;
    color: grey;
}

.newModelButton.active{
    opacity: 100%;
    pointer-events: all;
}

.newModelButton.active:hover{
    color: black;
}

.openListSymbol {
    font-size: 20px;
    margin: 0px;
}

.componentTreeEntryText{
    font-size: 14px;
    margin-top: 10px;
    margin-left: 10px;
}

.componentTreePackageText{
    font-size: 14px;
    margin-top: 5px;
    margin-left: 10px;
}


.selectBar {
    height: 40px;
    width: 100%;
    border-bottom: 2px solid darkgray;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}

.switchButtonsDiv{
    display: flex;
    flex-direction: row;
    margin-right: 10px;
}

.layoutButtonDiv{
    display: flex;
    flex-direction: row;

}

.directionSelectBar {
    height: 40px;
    width: 100%;
    border-bottom: 1px solid darkgray;
    display: flex;
    flex-direction: row;
    
}

.componentSelectorheader{
    height: 80px;
    width: 100%;
    background-color: rgb(245, 245, 245);
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.searchDiv{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.componentSelectSearchBar{
    margin: 5px;
    padding: 7px;
    border: 0px;
    background-color: rgb(231, 231, 231);
    width: 100%;
}

.componentSelectSearchBar:focus{
    outline: none;
}

.clearSearchButton{
    padding-left: 0px;
    padding-right: 5px;
    padding-top: 10px;
    cursor: pointer;
}

.barButtonIcon{
    color: rgb(9, 20, 102);
}

.barButton{
    cursor: pointer;
    width: 60px;
    font-size: 15px;
    text-align: center;
    padding-top: 7px;
    transition: 0.1s;
}

.barButton:hover{
    background-color: white
}

.favoritesButton{
    width: 40px;
    font-size: 25px;
    padding-top:0px;
}


.permutationsCanvas{
    border: 2px solid lightgray;
    margin: 2px;
}

.permutationsCanvas:hover{
    border: 2px solid black;
}

.permutationsSelectorheader{
    height: 40px;
    width: 100%;
    background-color: rgb(245, 245, 245);
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.legendsSearchBar{
    margin: 5px;
    padding: 7px;
    border: 0px;
    background-color: rgb(231, 231, 231);
    width: 150px;
}

.legendsSearchBar:focus{
    outline: none;
}

.bottomCornerButtonPanel{
    border: none;
    height: 30px;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 5px;
    bottom: 10px;
    right: 30px;
    width: min-content;
    white-space: nowrap;
    
}

.bottomCornerButtonPanelMobile{
    right: 55px;
}

.bottomCornerButton{
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 50px;
    height: 30px;
    font-size: 15px;
    text-align: center;
    bottom: 10px;
    white-space: nowrap;
    background-color: rgb(240,240,240);
    display: inline-block;
    padding-inline: 6px;
    padding-block: 7px;
    box-sizing: border-box;
    transition: 0.1s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.bottomCornerButton:hover{
    background-color: rgb(200, 205, 239);
}

.bottomCornerButton.disabled{
    background-color: rgb(200, 205, 239);
}

.bottomCornerMessage{
    position: absolute;
    bottom: 50px;
    right: 10px;
    font-size: 10px;
    color: blue;
    opacity: 0%;
    transition: 0.3s;
}

.bottomCornerMessage.active{
    opacity: 100%;
}

.bottomCornerMessage.error{
    color: red;
}

.diagramToolsPanel{
    position: absolute;
    top: 40px;
    right: 10px;
    width: min-content;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: right;
    padding: 5px;
    background-color: transparent;
    opacity: 0%;
    pointer-events: none;
    transition: 0.2s;
}

.diagramToolsPanel.active{
    opacity: 100%;
    pointer-events: all;
}

.diagramToolButton{
    z-index: 100;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    border-radius: 7px;
    font-size: 33px;
    text-align: center;
    padding-top: 4px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 7px;
    transition: 0.1s;
}

.diagramToolButton:hover{
    background-color: white;
}

.diagramToolButton.disabled{
    background-color: rgba(200, 205, 239, 0.8);
    cursor: default;
    pointer-events: none;
}


.userlogButton{
    text-wrap: wrap;
    word-wrap: break-word;
    margin: 3px;
    padding: 2px;
    margin-bottom: 0px;
    user-select: text;
    transition: 0.1s;
}

.userlogButton:hover{
    background-color: rgb(209, 215, 255);
}

.userlogElement{
    text-wrap: wrap;
    word-wrap: break-word;
    margin: 5px;
    padding: 5px;
    margin-top: 2px;
    padding-top: 2px;
    user-select: text;
    cursor: text;
}

.componentToolbar{
    position: absolute;
    height: 30px;
    gap: 5px;
    background-color: transparent;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.componentToolbarAnimated{
    animation-name: expand;
    animation-duration: 0.1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.toolbarButton{
    z-index: 80;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    border-radius: 7px;
    font-size: 33px;
    text-align: center;
    padding-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 2px;
    transition: 0.1s;
}

.toolbarButton:hover{
    background-color: white
}

@keyframes expand {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}



.material-icons{
    text-align: center;
}

.toolbarMaterialIcon{
    font-size: 30px;
    padding-top: 3px;
    color: black;
}

.clearSearchButtonIcon{
    font-size: 20px;
    color:rgb(185, 185, 185);
    transition: 0.1s;
}

.clearSearchButtonIcon:hover{
    background-color: rgb(209, 215, 255);
}

.newModelHeader{
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    padding-top: 12px;
    background-color: rgb(200, 205, 239);
    border-bottom: 2px solid rgb(209, 215, 255);
}

.newTypeSelect{
    display: inline-block;
    width: min-content;
}

.newModelBody {
    padding: 10px;
    background-color: white
}

.newModelInputField{
    font-size: 13px;
    padding: 7px;
    width: 60%;
}

.newModelInputField:focus{
    outline: none;
}

.newModelSection {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.newModelLabel{
    font-size: 13px;
    padding: 7px;
}

.newModelCheckbox{
    margin: 5px;
    padding: 7px;
    margin-left: 15px;

}

.createNewButton{
    margin: 5px;
    margin-bottom: 7px;
    padding: 7px;
    padding-top: 10px;
    border: 0px;
    background-color: rgb(231, 231, 231);
    cursor: pointer;
    text-align: center;
    width: 60px;
    height: 20px;
    position: absolute;
    bottom: 10px;
    right: 30px;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    transition: 0.1s;
}

.createNewButton:hover{
    background-color: rgb(209, 215, 255);
}

option{
    background-color: rgb(231, 231, 231);
}

.customSelectOptions{
    
    position: absolute;
    background-color: rgb(247, 248, 255);
    z-index: 100;
    font-size: 13px;
    min-width: 50px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    height: 0px;
    transition: 0.1s;
    transition-property: height;
}

.customSelectOptions.active{
    height: min-content; /* fallback for browsers that do not support calc-size */
    height: calc-size(min-content, size);
}

.customSelectOption
{
    padding: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(255, 255, 255);
    transition: 0.1s;
}

.customSelectOption:nth-of-type(even){
    background-color: rgb(240, 240, 240);
}

.customSelectOption:hover{
    background-color: rgb(209, 215, 255);
}

.customSelectSelect{
    z-index: 120;
    margin: 5px;
    margin-bottom: 0px;
    border-radius: 2px;
    padding: 2px;
    border: 0px;
    background-color: rgb(231, 231, 231);
    cursor: pointer;
    width: min-content;
    min-width: 40px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    transition: 0.1s;
}

.customSelectSelect:hover{
    background-color: rgb(209, 215, 255);
}

.customSelectSelect:focus{
    outline-color: black;
}

.customSelectSelect.disabled{
    opacity: 0.5;
    pointer-events: none;
}

.customSelectText{
    margin: 5px;
    display: inline-block;
    white-space: nowrap;
}

.animationContent{
    display: flex;
    flex-direction: column;
}

.animationToolPanel{
    background-color: rgb(245, 245, 245);
    cursor: auto;
}

.animationUpperPanel{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.animationButtonPanel{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5px;
}

.animationButton{
    padding: 5px;
    cursor: pointer;
    background-color: rgb(231, 231, 231);
    margin: 5px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    text-align: center;
    transition: 0.1s;
}

.animationButton:hover{
    background-color: rgb(209, 215, 255);
}

.animationProgressBarDiv{
    padding: 10px;
}

.animationProgressBar{
    width: 100%;
    height: 20px;
    border-radius: 2px;
    background-color: rgb(231, 231, 231);
    cursor: pointer;
}

.animationProgressMarker{
    border-radius: 2px;
    background-color: rgb(131, 139, 197);
    height: 100%;
}

.animationTimeDisplay{
    align-self: flex-end;
    padding: 10px;
    padding-bottom: 0px;
    font-size: 14px;
}

.animationSpeedSelect{
    align-self: flex-end;
    padding-left: 10px;
}

.controlPanelContent{
    background-color: rgb(246, 250, 255);
    height: calc(100% - 90px);
    overflow: hidden;
}

.controlPanelHeader{
    background-color: rgb(245, 245, 245);
    padding: 10px;
    padding-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
    width: calc(100% - 20px);
    height: min-content;
    border-bottom: 2px solid darkgray;
    display: flex;
    flex-direction: column;
}

.controlPanelHeaderRow{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    height: 40px;
    width: 100%;
}

.controlPanelHeaderButton {
    justify-self: end;
    height: min-content;
}

.controlPanelHeaderButtonField {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.controlPanelHeaderButtonIcon{
    color: green;
    transition: 0.2s;
    font-size: 36px;
    margin-right: 1px;
}

.controlPanelHeaderButtonIcon:hover{
    color: darkgreen;
    margin-right: 0px;
    font-size: 38px;

}

.controlPanelHeaderButtonIcon.small{
    color: rgb(57, 68, 158);
    font-size: 20px;
    margin-right: 6px;
}

.controlPanelHeaderButtonIcon.small:hover{
    color: rgb(9, 20, 102);
    margin-right: 5px;
    font-size: 22px;
}

.controlPanelHeaderButtonIcon.small.disabled{
    opacity: 0.3;
}

.controlPanelHeaderProgressBar{
    width: 100%;
    height: 0px;
    transition: 0.2s;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
}

.controlPanelHeaderProgressBar.active{
    height: 20px;
}

.controlPanelHeaderProgressBar .progress{
    height: 100%;
    border-radius: 2px;
    background-color: green;
}

.jsoneditor {
    background-color: white;
    padding-top: 20px;
    padding: 10px;
    cursor: auto;
    overflow: auto;
}

.jsoneditorHeader{
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 10px;
}

.controlPanelSubClass{
    background-color: 'rgb(246,250,255)';
    padding: '5px';
    margin-bottom: '3px';
}

.controlPanelSettingsHeader{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    transition: 0.1s;
}

.controlPanelSettingsHeader:hover{
    background-color: rgb(209, 215, 255);
}

.controlPanelObjectName{
    margin-bottom: 5px;
    cursor: pointer;
    width: max-content;
    min-width: 250px;
}

.controlPanelObjectField{
    padding-left: 20px;
    margin-bottom: 0px;
    height: 0px;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: 0.1s;
}

.controlPanelObjectField.active {
    margin-bottom: 10px;
    height: min-content;
    height: calc-size(min-content, size);
}

.controlPanelParameterInput{
    
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.controlPanelParameterInput .inputField {
    display: inline-block;
    margin: 0px;
}

.MCButton {
    background-color: white;
    padding: 5px;
    border: 2px solid rgb(230, 241, 255);
    cursor: pointer;
    transition: 0.1s;
}

.MCButton:hover {
    background-color: rgb(209, 215, 255);
}

.primaryInputDiv{
    margin: 5px;
    margin-left: 10px;
    display: flex;
    flex-direction: row;
    height: min-content;
}

.parameterFieldName{
    display: inline-block;
    width: min-content;
}

.controlPanelParameterInput .controlPanelObjectField {
    width: 100%;
    margin-left: 10px;
    border-left: 1px solid rgb(200, 205, 239);
}

.parameterUnit{
    margin-top: 5px;
    margin-left: 10px;
    font-size: 12px;
    color: gray;
}

.widgetLabel{
    font-size: 15pt;
    color: white;
    pointer-events: none;
    position: absolute;
    top: 10px;
}

#headerBar{
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: min-content;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    pointer-events: none;
    padding-left: 5px;
}

#footerBar{
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.footer-navigation {
    align-items: end;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    height: min-content;
    justify-content: end;
    padding: 10px;
    pointer-events: none;
    width: calc(100% - 20px);
}

.headerButtonContainer {
    cursor: pointer; 
    pointer-events: all;
    margin-left: 5px; 
    margin-top: 10px;
    padding-left: 10px;
    padding-top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgb(96, 103, 156);
    transition: 0.2s;
    color: white;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

.profileMenuContainer {
    margin-left: auto;
    margin-right: 15px;
    border-radius: 30px;
}


.headerButtonContainer:hover {
    background-color: rgb(9, 20, 102); 
    width: 42px;
    height: 42px;
    padding-left: 11px;
    padding-top: 11px;
}

.menuContainer.active {
    width: 160px;
    height: 290px;
    background-color: rgb(96, 103, 156);
    padding-right: 10px;
}

.menuContainer.mobile.active{
    width: 140px;
}

.profileMenuContainer.active {
    width: 100px;
    height: 120px;
    background-color: rgb(96, 103, 156);
    border-radius: 10px;
    padding: 10px;
}

.menuIconButton{
    font-size: 30px;
}


.homeIconButton{
    font-size: 30px;
}

.nextWidgetIconButton{
    font-size: 30px;
}

.menuButtonContainer {
    font-size: 15px; 
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    transition: 0.2s;
}

.menuButtonContainer:hover {
    background-color: rgb(9, 20, 102);
}

.menuButtonIcon{
    font-size: 20px;
    color: white;
    padding-right: 5px;
}

.menuButtonText{
    padding-top: 3px;
}

.menuButtonText.mobile{
    font-size: 12px;
}

.menuButtonArrow{
    font-size: 20px;
    margin-left: auto;
    
}

.menuContainer .dropdown-content {
    opacity: 0%;
    transition-delay: 0s;
    transition-duration: 0s;
    pointer-events: none;
}

.menuContainer .dropdown-content.active {
    transition-delay: 0.2s;
    transition-duration: 0.2s;
    opacity: 100%;
    pointer-events: all;
}

.submenuContainer {
    position: absolute;
    margin-left: 12px;
    width: 0px;
    transition: 0.2s;
    transition-delay: 0s;
    background-color: rgb(96, 103, 156);
    padding: 0px;
    height: min-content;
    border-radius: 0px 10px 10px 10px;
}

.submenuContainer.active {
    width: 160px;
    padding: 10px;
}

.submenuContainer.mobile.active {
    width: 140px;
}

.submenuContainer.subtext.active{
    width: 200px;
}

.submenuContainer.subtext.mobile{
    font-size: 10px;
}
.submenuContainer.subtext.mobile.active{
    width: 140px;
}

.submenuContainer .dropdown-content {
    opacity: 0%;
    transition-delay: 0s;
    transition-duration: 0.2s;
    width: max-content
}

.submenuContainer .dropdown-content.active {
    opacity: 100%;
    transition-delay: 0.2s;
    transition-duration: 0.2s;
}

.submenuContainer .dropdown-content.active .menuButtonContainer{
    pointer-events: all;
    width: 140px;
}

.submenuContainer .dropdown-content.active .menuButtonContainer.disabled{
    opacity: 0.5;
    pointer-events: none;
}

#iphoneWarning {
    padding: 5px;
    width: 150px;
    font-size: 10px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: black;
    background-color: pink;
    z-index: 1000;
    border-radius: 2px;
    transition: 0.3s;
    opacity: 0%;
    pointer-events: none;
}

#iphoneWarning.active {
    opacity: 100%;
}

/* Signup modal */
.modal-backdrop {
    display: none;
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}

.show-sign-up-modal .modal,
.show-sign-up-modal .modal-backdrop {
    display: block;
}

.modal {
    display: none;
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1050;
}

.modal-dialog {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border-radius: 6px;
    outline: 0;
    position: relative;
    margin: 10px;
    width: auto;
}

.modal-body,
.modal-header,
.modal-footer {
    padding: 8px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }

    .modal-body,
    .modal-header,
    .modal-footer {
        padding: 15px;
    }
}

.modal-header {
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

.modal-button {
    background-color: rgb(96, 103, 156);
    background-image: none;
    border: 1px solid transparent;
    border-color: rgb(96, 103, 156);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    line-height: 1.42857143;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.modal-button.signup {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    width: fit-content;
}
/* Signup modal */

/* Banner consent*/
.banner-consent {
    align-items: center;
    background-color: #ededed;
    bottom: 0;
    color: #333;
    display: flex;
    flex-direction: row;
    font-size: 15px;
    gap: 20px;
    left: 0;
    padding: 12px 20px;
}

.banner-consent.hide {
    display: none;
    pointer-events: none;
}

.banner-ok-button {
    background-color: rgb(96, 103, 156);
    background-image: none;
    border: 1px solid transparent;
    border-color: rgb(96, 103, 156);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    line-height: 2;
}
/* Banner consent*/
