@import "fonts/styles.css";

*{
    box-sizing: border-box;
    user-select: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
::-webkit-scrollbar {
    display: none;
  }
body{
    position:fixed;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Raleway","Arial",sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
}

#main-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    display: flex;
    overflow: hidden;
}
main{
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}
main #iframeContainer{
    height: 100%;
    width:100%;
    border: none;
}

aside{
    position: relative;
    display: flex;
    left: 0px;
    top: 0;
    height: 100dvh;
    z-index: 99;
    transition: all 0.5s;
    opacity: 1;
    box-shadow: 2px 0px 10px 0px #00000025;
}
aside.start{
    opacity: 0;
    transition : all 1s;
}
aside #panel-wrapper{
    position: relative;
    background-color: var(--menu-bg-color);
    height: 100%;
    width:150px;
    transition: all 0.3s;
    display:flex;
    flex-direction: column;
    z-index:20;
    left:0px;
    transition: all 0.5s;
}
#panel-wrapper.start{
    opacity: 0;
    left:-150px;
}

aside #btn-open-media-panel{
    display:none;
}
@media screen and (max-device-width: 480px),
screen and (max-device-height: 480px){
    aside{
        width:64px;
    }
}
@media screen and (max-device-width: 480px) and (orientation: portrait){
    aside{
        position: absolute;
        left : -100%;
        width:64px;
    }
    aside.open{
        left: 0px;
    }
    aside #panel-wrapper{
        width: 64px;
        max-width: 64px;
        padding-bottom:8px;
    }
    aside #btn-open-media-panel{
        display: block;
        position: fixed;
        background-color: var(--header-bg-color);
        height: 48px;
        width: 48px;
        border-radius: 50%;
        z-index: 90;
        top: 8px;
        left: 8px;
        border:none;
        cursor: pointer;
        padding: 8px;
    }
}
@media screen and (max-device-height: 480px), (max-device-width: 480px) and (orientation: landscape) {
    aside{
        position: absolute;
        left : -64px;
        width: 64px;
    }
    aside.open{
        left: 0px;
    }
    aside #panel-wrapper{
        width: 64px;
        max-width: 64px;
        min-width: 64px;
        padding-bottom:8px;
    }
    aside #btn-open-media-panel{
        display: block;
        position: fixed;
        background-color: var(--header-bg-color);
        height: 48px;
        width: 48px;
        border-radius: 50%;
        z-index: 90;
        top: 8px;
        left: 8px;
        border:none;
        cursor: pointer;
        padding: 8px;
    }
}
#panel-wrapper.reduce{
    width: 75px;
}
#panel-wrapper #btn-reduce-panel{
    position: absolute;
    background-color: #ffffff;
    border: solid 2px var(--header-bg-color)!important;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(50%) rotate(0deg);
    top: 4px;
    right: 0;
    border:none;
    cursor: pointer;
    padding:0px;
}
@media screen and (max-device-width: 480px),(max-device-height: 480px) {
    #btn-reduce-panel{
        display:none;
    }
}

aside header{
    position: relative;
    top: 0;
    width: 100%;
    height: 190px;;
    flex-shrink: 0;
    background-color: var(--primary-color);
    transition:all 0.3s;
}
header #panel-header-title{
    padding : 6px 8px;
    max-height:64px;
    text-align: center;
    line-height: 16px;
    font-weight: 700;
    transition: all 0.3s;
    transition-delay: 0.3s;
    color: #ffffff;
    background-color: var(--header-title-bg-color);
    display: flex;
    flex-direction: column;
    gap:6px;
}
#panel-header-title #header-title_client{
    color: var(--header-title-client-color);
    font-size : calc(1em * var(--header-title-client-size));
}
#panel-header-title #header-title_project{
    color: var(--header-title-project-color);
    font-size : calc(1em * var(--header-title-project-size));
}

header #panel-header-logo #panel-header-home{
    position : absolute;
    top: 1px;
    width:30px;
    left : 0px;
    cursor: pointer;
    text-align: center;
    color:var(--header-home-color);
    padding: 8px 0px;
    font-size: 16px;
    z-index: 2;
    transition: all 0.3s;
}
#panel-wrapper #panel-header hr{
    margin-right:6px;
    margin-left: 6px;
    margin-bottom: 0px;
    margin-top: 0px;
    transition: all 0.3s;
}
#panel-wrapper.reduce #panel-header{
    height:111px;
}
#panel-wrapper.reduce #panel-header #panel-header-logo{
    height:111px;
}
#panel-wrapper.reduce #panel-header-title{
    opacity: 0;
    transition: all 0.1s;
    transition-delay: 0s;
}

#panel-header-logo{
    padding:30px;
    transition: all 0.3s;
    height: 150px;
    background-color: var(--header-bg-color);
}
#panel-header-logo img{
    position: relative;
    height: auto;
    width: 90px;
    top:0px;
    object-fit: contain;
    /* left: 50%;
    transform: translateX(-50%); */
    transition: all 0.3s;
    cursor: pointer;
}
#panel-wrapper.reduce #panel-header-logo{
    padding: 0;
}
#panel-wrapper.reduce #panel-header-logo img{
    opacity: 1;
    width:75px;
    top:36px;
}
#panel-wrapper.reduce #panel-header-home{
    top: 0px;
    width: 68px;
    text-align: center;
    transition: all 0.3s;
    font-size:18px;
}

@media screen and (max-device-height: 480px), (max-device-width: 480px) and (orientation: landscape){
    #panel-header-logo{
        display: none;
    }
    #panel-header hr{
        display: none;
    }
    aside header{
        position: relative;
        top: 0;
        width: 100%;
        height: 64px;
        background-color: var(--header-bg-color);
    }
    header #panel-header-title{
        display: none;
    }
}
@media screen and (max-device-width: 480px) and (orientation: portrait){
    #panel-header-logo{
        display: none;
    }
    #panel-header hr{
        display: none;
    }
    aside header{
        position: relative;
        top: 0;
        width: 100vw;
        height: 64px;
        background-color: var(--header-bg-color);
    }
    header #panel-header-title{
        position: relative;
        flex-direction: row;
        left: 64px;
        height: 64px;
        max-height:64px;
        padding: 8px;
        max-width:calc(100% - 64px);
        gap:12px;
        align-items: center;
        line-height: 1.2em; 
    }
}
aside nav{
    position: relative;
    margin-top: 24px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    direction: rtl;
}
nav.scrollableTop::before{
    font-family: "axeon-360-font";
    content: "\e01e";
    position: sticky;
    top: 0px;
    display: block;
    opacity: 1;
    width: 100%;
    text-align: center;
    height: 32px;
    background: linear-gradient(180deg, var(--menu-bg-color) 50%, transparent);
    color:var(--menu-text-color);
    z-index: 2;
}

nav.scrollableBottom::after{
    font-family: "axeon-360-font";
    content: "\e01f";
    position: sticky;
    bottom: 0px;
    display: block;
    width: 100%;
    text-align: center;
    opacity: 1;
    height: 32px;
    background: linear-gradient(0deg, var(--menu-bg-color) 50%, transparent);
    line-height: 40px;
    color:var(--menu-text-color);
    z-index: 2;
}

@media screen and (max-device-width: 480px),(max-device-height: 480px) {
    aside nav{
        margin-top: 0px;
        margin-bottom:0px;
    }
}
nav ul{
    position: relative;
    padding: 0;
    list-style-type: none;
    margin: 12px 12px 12px 11px;
}

nav ul #item-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin-bottom: 22px;
    color:var(--menu-text-color);
}
#item-wrapper #item-icon{
    height: 62px;
    width: 62px;
    border-radius: 100%;
    border: solid 3px var(--menu-btnOff-color);
    color:#000000;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-bottom: 12px;
}
@media screen and (max-device-width: 480px),(max-device-height: 480px) {
    #item-wrapper{
        margin-bottom: 4px!important;
    }
    #item-icon{
        margin-bottom: 6px!important;
    }
}
#item-wrapper #item-title{
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s;
    transition-delay: 0.1s;
}

#panel-wrapper.reduce li #item-wrapper #item-icon{
    height: 48px;
    width: 48px;
    border-width: 2px;
    margin-bottom: 26px;
}
#panel-wrapper.reduce li #item-wrapper #item-icon::before{
    font-size: 18px;
}
#panel-wrapper.reduce li #item-wrapper #item-title{
    opacity: 0;
    transition: all 0.1s;
    transition-delay: 0s;
}
@media screen and (max-device-width: 480px),(max-device-height: 480px){
    #panel-wrapper li #item-wrapper #item-icon{
        height: 48px!important;
        width: 48px!important;
        border-width: 2px;
        margin-bottom: 18px;
    }
    #panel-wrapper li #item-wrapper #item-icon::before{
        font-size: 18px;
    }
    #panel-wrapper li #item-wrapper #item-title{
        opacity: 0;
        transition: all 0.1s;
        transition-delay: 0s;
    }
}

aside #panel-submenu-container{
    position: relative;
    width:100%;
}
aside #panel-submenu-wrapper{
    position: absolute;
    top: 0px;
    left:0;
    background-color: hsla(0, 0%, 0%, 0.88);
    height: 100dvh;
    width: 210px;
    transition: all 0.5s;
    overflow-x: scroll;
    padding-bottom: 24px;
    overflow: hidden;
    padding-bottom:68px;
}
#panel-submenu-wrapper.closed{
    left: -210px;
}
@media screen and (max-device-width: 480px) and (orientation : portrait) {
    #panel-submenu-wrapper{
        left: 0px;
        margin-top:64px;
        width:calc(100vw - 64px)!important;
        background-color:#000000!important;
    }
    #panel-submenu-wrapper.closed{
        left: 0px;
    }
}
@media screen and (max-device-height: 480px), (max-device-width: 480px) and (orientation: landscape) {
    #panel-submenu-wrapper{
        left: 0px;
    }
    #panel-submenu-wrapper.closed{
        left: -210px;
    }
}

#panel-submenu-wrapper #panel-subemenu-content{
    list-style-type: none;
    padding: 0 24px;
    margin: 0;
    color:#ffffff;
    overflow: hidden;
    height: 100%;
    transition: all 0.6s;
}
#panel-submenu-wrapper #panel-subemenu-content.closed{
    transform: translateY(30px);
    opacity: 0;
}

#panel-submenu-wrapper #panel-submenu-title{
    height:80px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding:0;
    margin-top:36px;
    text-transform: uppercase;
}
@media screen and (max-device-height: 480px), (max-device-width: 480px) and (orientation: landscape){
    #panel-submenu-wrapper #panel-submenu-title{
        height: 64px;
        margin-top: 0px;
    }
}
@media screen and (max-device-width: 480px) and (orientation: portrait){
    #panel-submenu-wrapper #panel-submenu-title{
        margin-top: 0px;
        height: 64px;
    }
}
#panel-submenu-wrapper ul{
    list-style: none;
    padding: 0;
    margin: 0;
    height: calc(100% - 80px);
    overflow: scroll;
}
#panel-submenu-wrapper ul li{
    padding-left: 16px;
    min-height: 54px;
    border-left: solid #ffffff 1px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}
#panel-submenu-wrapper ul li:hover{
    border-left: solid #ffffff 3px;
}
#panel-submenu-wrapper ul li span{
    display: block;
    transition: inherit;
}
#panel-submenu-wrapper ul li:hover span{
    transform: translateX(5px);
    font-weight: 600;
    /* text-shadow: 0 0 0.5px rgb(255, 255, 255), 0 0 0.5px rgb(255, 255, 255), 0 0 0.5px rgb(255, 255, 255), 0 0 0.5px rgb(255, 255, 255), 0 0 0.5px rgb(255, 255, 255), 0 0 0.5px rgb(255, 255, 255); */
}

#subItem-wrapper.active {
    border-left: solid #ffffff 3px!important;
}
#subItem-wrapper.active span{
    transform: translateX(5px);
    font-weight: 600;
    /* text-shadow: 0 0 0.2px rgb(255, 255, 255), 0 0 0.2px rgb(255, 255, 255), 0 0 0.2px rgb(255, 255, 255); */
}

aside footer{
    position: relative;
    bottom: 0;
    padding: 0px 12px 0px 12px;
    width: 100%;
}

#panel-wrapper.reduce footer{
    position: relative;
    bottom: 0;
    padding: 0px 12px 0px 12px;
    width: 100%;
}
#panel-wrapper.reduce #panel-footer-wrapper a{
    position: relative;
    top:-5px;
    margin: auto;
}
footer #panel-footer-wrapper{
    position: relative;
    width:100%;
}
#panel-footer-wrapper #panel-footer-actions{
    padding: 0px 12px 12px 12px;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 700;
    transition:all 0.3s;
}
#panel-wrapper.reduce #panel-footer-wrapper #panel-footer-actions{
    padding: 0px 0px 12px 0px;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 700;
}

#panel-footer-wrapper #panel-footer-actions hr{
    margin-top:0px;
    border-color: var(--menu-text-color);
}
@media screen and (max-device-width: 480px),(max-device-height: 480px) {
    aside footer{
        margin-bottom: 12px;
    }
    footer #panel-footer-wrapper a{
        top:2px!important;
        position: relative!important;
        margin: auto;
    }
    #panel-footer-wrapper #panel-footer-actions{
        padding:0px;
    }
    #panel-footer-wrapper #panel-footer-actions #panel-footer-fs{
        display:none;
    }
}
#panel-footer-actions #panel-footer-fs, #panel-footer-actions #panel-footer-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--menu-text-color);
    text-align: center;
}
#panel-footer-fs #icon-fs, #panel-footer-home #icon-home{
   margin: 12px;
   height : 24px; 
}
footer #panel-footer-wrapper a{
    display: block;
    position: absolute;
    top: 50px;
    height: 16px;
    width:16px;
    border-radius: 50%;
    text-align: center;
    font-family: 'Questrial';
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    text-transform: lowercase;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--menu-bg-color);
    background-color: var(--menu-text-color);
}