/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */

@font-face {
    font-family: OpenSans;
    src: url(../fonts/open-sans/OpenSans-Regular.ttf);
}

@font-face {
    font-family: Poppins;
    src: url(../fonts/poppins/Poppins-Regular.ttf);
}

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: 'Poppins', 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%;
}

/**
* Main Layout
*/
#outer_wrapper {
    display: block;
    position:relative;
    height: 100%;
    background: rgb(30, 30, 44);;
}

#inner_wrapper {
    position: relative;
    top: 30%;
    display: flex;
    justify-content: center;

}

#main_content .content {
    position: relative;
    padding: 30px;
    background: #EEEEEE;
    box-shadow: -2px 0 10px 1px rgba(0,0,0,0.7);
    overflow: auto;
    font-size: 1em;
    width: fit-content;
    height:fit-content;
    border-radius: 15px;
}

.copyright {
    color: white;
    /* border-top: 1px dashed #DDD; */
    padding-top: 0.5em;
    width: 100%;
    height: 25px;
    text-align: right;
    background: rgb(30, 30, 44);
    font-size: 0.8em;
}

#main_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 225px;
    height: 100%;
    margin-top: 75px;
}

/* ==========================================================================
    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;
    }

}