@import url('https://fonts.googleapis.com/css?family=Roboto:700');

@import url(css/checkbox.css);
@import url(css/drone.css);
@import url(css/lang.css);
@import url(css/spinner.css);
@font-face {
    font-family: BriemCesarski;
    src: url('fonts/BriemCesarski-Bold.otf') format("opentype");
}


* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

#menu {
    font-family: 'BriemCesarski', sans-serif;
    pointer-events: none;
    position: absolute;
    border-bottom-right-radius: 10px;
    z-index: 3500;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.65);
    color: rgb(141, 35, 3);
}

#menu * {
    font-family: 'BriemCesarski', sans-serif;
}

#scene-menu {
    font-family: 'BriemCesarski', sans-serif;
    display: flex;
    flex-direction: column;
    /* z-index: 2; */
    font-size: 0.9em;
    width: 14.5em;
    text-align: left;
    max-height: 90vh;
}
#main_menu{
}

.scroll-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 90%;
    overflow-y: auto;
    scrollbar-color: rgba(141, 35, 3, 0.8) white;
    scrollbar-width: thin;
    pointer-events: all;
}
#menu_logo {
    flex-grow:1;
    height: 20%;
    padding: 0.5em;
}
#menu_logo  svg {
    width: 8em;
    display: block;
    margin: auto;
}
#menu_logo p {
    display: none;
}
#menu_toggle {

    pointer-events: auto;
    font-size: 1.2em;
    cursor: pointer;
    background-color: rgb(141, 35, 3, 0.80);
    color: white;
    border: none;
    width: 100%;
    padding: 0.4em;
}

#menu_toggle > i {
    font-family: "Font Awesome 5 Free";
    margin: auto;
    text-align: right;
    padding-right: 5%;
    padding-left: 5%;
}


#menu-filter {
    /* letter-spacing: 0.2em; */
    pointer-events: auto;
}

#filter_subject {
    letter-spacing: 0.2em;
    text-align: center;
    width: 100%;
}

.filter-link {
    display: flex;
    justify-content: space-around;
    font-family: 'BriemCesarski', sans-serif;
    font-size: 0.91em;
    pointer-events: auto;
    padding: 0.2em;
    padding-left: 1em;
    cursor: pointer;
    /* background-color: rgb(141, 35, 3, 0.80); */
    /* color: rgb(255, 255, 255); */
    color:  rgb(141, 35, 3, 1);
    border-bottom: 1px solid white;
}
.filter-link div:nth-child(1) {
    flex-basis: 70%;
}

.filter-link div:nth-child(2) {
    flex-basis: 30%;
    padding-left: 5%;
    padding-top: 2px;
}



.active-filter {
    /* background-color: rgba(255, 255, 255, 0); */
    /* color: rgb(141, 35, 3); */
    color: rgb(255, 255, 255);
}


.rotate-arrow {
    transform: rotate(180deg);
    text-align: left !important;

}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    outline: 1px solid transparent;
    background-color: #fff;
    color: rgb(141, 27, 32);
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    padding: 0.5em;
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -110px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip:hover .tooltiptext,
.tooltip:active .tooltiptext {
    visibility: visible;
}

.visible {
    visibility: visible;
}

.hide {
    visibility: hidden;
}


#menu_logo.scale {
    transform: scale(1);
}
#menu_logo > div {
    height: 100%;
}

#scene-list {
    display: flex;
    flex-direction: column;
    pointer-events: all;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color:rgb(141, 27, 32);
    font-size: 1em;
    
}
#scene-list > div{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1px;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color:white;
}
#scene-list > div:last-child {
    border:0;
}



#scene-list  p {
    margin: 0;
    padding: 0;
}

.active-scene {
    background-color: rgba(255, 255, 255, 1);
}

@media only screen and (min-width: 769px) {
    .filter-link:hover, .scene-link:hover {
        background-color: rgb(0, 0, 0, 0.2);
    }
    
}

@media only screen and (max-width: 768px) {
    #menu {
        width: 100%;
        border-radius: 0px;

    }
    #scene-menu {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex: 1 0 100%;
        flex-wrap: wrap;
    }
    #scene-menu > div:nth-child(2) {
        
        width: 80%;
        display: flex;
        flex-direction: column;
    }
    #menu_logo {
        width: 20%;
        padding: 1px;
        padding-left: 2%; 
        transform: scale(1);
    }
    #menu_logo svg {
        float: left;
        width: 54px;
        display: block;
        /* display: none; */
    }

    #menu_logo p {
        
        display: block;
        /* font-size: 1.2em; */
        font-weight: lighter;
        text-align: justify;
        text-justify: inter-word;
        letter-spacing: 0.05em;
        padding-top: 0.5em;
        line-height: 1em;
        margin-bottom: 0;
    }
    #menu_toggle {
        width: 100%;
        height: auto;
        align-self: flex-end;
        order: 1;
        line-height: 2em;
    }
    #menu_toggle > i {
        transform: rotate(180deg);
        transition: all 0.2s;
    }

    .rotate-arrow {
        transform: rotate(0deg) !important;
        transition: all 0.2s;
    }
    #main_menu {
        width: 100%;
        display: none;
    }
    #menu-filter {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        order: 0;
        padding-top: 0.2em;
    }
    
    #menu-filter > div {
        flex: 1 1 25%;
        text-align: center;
        padding: 0.4em;
    }

    #menu_logo_svg_text {
        display: none;
    }

    #menu-filter > .filter-link:not(:last-child) {
        border-right: 1px solid white;
    }

}

@media only screen and (max-width: 720px) {
    #menu_logo p{
        font-size: 0.8em;
        padding-top: 1em;
    }
}

@media only screen and (max-width: 590px) {
    #menu_logo p{
        display: none;
    }
    #menu_logo_svg_text {
        display: block;
    }
}

/* @media only screen and (max-width: 768px) {
    #menu {
        display: flex;
        width: 100%;
        border-radius: 0;
    }
    #scene-menu {
        flex-direction: row;
        width: 100%;
    }


    #scene-menu > div:nth-child(2) {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    #menu_toggle {
        width: 100%;
        height: auto;
        align-self: flex-end;
        flex-grow: 1; 
    }
    #menu_toggle>i {
        text-align: center;
        width: 5%;
       
    }

    #menu-filter {
        display: flex;
        flex-wrap: wrap;
        order: 0;
        justify-content: stretch;
    }
    #menu-filter > div {
        flex: 1 0 25%;
        text-align: center;
        padding: 0.4em;
    }
    #menu_logo {
        height: auto;
        padding: 5px;
        width:20%;
    }

    #menu_logo img {
        height: auto;
        margin: auto;
    }

    #menu-toggle-container {
        order: 1;
    }

    
} */

::-webkit-scrollbar {
    width: 8px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: white; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgba(141, 35, 3, 0.85);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }