/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */

@import "font.css";

html,
html body,
button,
input,
select,
textarea,
body h1, body h2, body h3, body h4, body h5, body h6, body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
    font-family: 'NotoSans', Arial, Helvetica, sans-serif !important;
}

html, body {
    font-size: 1em !important;
    line-height: 1.4;
    height: 100%;
}

/* ==========================================================================
    Author's custom styles
    ========================================================================== */

html {
    background: rgb(30, 30, 44);
}

body {
    height: 100%;
}

.flex-important {
    display: flex !important;
    justify-content: center;
    width: 46px;
}

/**
* Main Layout
*/
#outer_wrapper {
    display: block;
    position:relative;
    height: 100%;
    background: rgb(30, 30, 44);;
    /* background-image: url('../images/main-bg.jpg'); */
    background-position: center;
}

#inner_wrapper {
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;

}

#main_content .content {
    position: relative;
    margin-top: 5vh;
    padding: 20px !important;
    background: #EEEEEE;
    box-shadow: -2px 0 10px 1px rgba(0,0,0,0.7);
    overflow: auto;
    font-size: 1em;
    max-width: 90vw !important;
    max-height: 90vh !important;
    border-radius: 15px;
}

.copyright {
    color: white;
    /* border-top: 1px dashed #DDD; */
    padding-top: 0.5em;
    width: 100%;
    height: 25px;
    text-align: right;
    font-size: 0.8em;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#main_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 225px;
    height: 100%;
    margin-top: 75px;
}

.logo_menu {
    width: 250px;
}

.action_msg {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0 30px 30px 0;
}

/* Loading Spinner CSS */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #C6C6C6;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #C6C6C6 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Loading Spinner CSS */

/* ==========================================================================
    Adaptive layout
    ========================================================================== */

@media screen and (max-width: 767px) {

    html, body {
        font-size: 14px !important;
    }

    #main_nav {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        z-index: 10;
        padding: 0;
        padding-top: 16.5%;
        margin-top: 0;
        /*background: #345d76;*/
        /*background: rgba(237, 237, 237, 1);*/
        max-height: 0;
        overflow: hidden;

        -webkit-transition: max-height 500ms ease-in-out;
        -moz-transition: max-height 500ms ease-in-out;
        -o-transition: max-height 500ms ease-in-out;
        transition: max-height 500ms ease-in-out;
    }

    #main_nav .menu.lv0, .expand #main_nav {
        background: rgb(30, 30, 44);
    }

    .expand #main_nav {
        -webkit-transition: max-height 500ms ease-in-out;
        -moz-transition: max-height 500ms ease-in-out;
        -o-transition: max-height 500ms ease-in-out;
        transition: max-height 500ms ease-in-out;
        max-height: 999px;
    }

    #outer_wrapper.expand #inner_wrapper {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
        position: absolute;
        top: 0;
    }

    #main_content {
        padding-top: 0.5em;
    }

}