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

html{
    font: 100% serif;
    font-style: normal;
    font-family: 'Ubuntu', sans-serif;
    font-size:16px;
}

body{
    display:inline-block;
    background: #000000;
    color:black;
    overflow-y: scroll;
    line-height:1.6;
    margin:0 auto;
    width: 100vw;
    min-width: 300px;
    overflow-x:hidden;
}

body a, body a:visited{
    color: #ec5b00;
    text-decoration: none;
}

body a{
    outline:none;
}

body a:hover{
    text-decoration: underline;
}


#display_mask{
    width:100%;
    height:100%;
    overflow-x:hidden;
}

#main{
    margin-top:8px;
    max-width:1250px;
    width:100%;
    min-height:31.25rem;
    margin-left:auto;
    margin-right:auto;
}

#header{
    width:inherit;
    height:450px;
}

#background_image{
    background-image: url("/images/header_complete.png");
    background-repeat: no-repeat;
    margin-left:-335px;
    margin-top: -20px;
    height: inherit;
    width:1920px;
}

#background_image_content{
    margin-top:-450px;
    display: grid;
    grid-template-columns: 250px 150px auto;
    grid-template-rows: auto;
}

#header_phoenix{
    grid-column: 1/2;
    grid-row: 1/2;
    width:214px;
    margin-top:40px;
    margin-left:23px;
}

#phoenix_text{
    grid-column: 2/3;
    grid-row: 1/2;

    margin-left:20px;
    margin-top: 70px;

    font-size:33px;
    z-index:3;
    letter-spacing: 1px;
    text-align: center;
    width: 200px;

    font-family: "Ondine", serif;
}


#banner{
    grid-column: 3/4;
    grid-row: 1/2;
}

#banner_mask{
    margin-top: -2px;
    z-index: 2;
    position: absolute;
}

.banner_img{
    max-width: 750px;
    max-height: 316px;
    position: absolute;
    z-index: 1;
}

#main_body{
    margin-top: -130px;
    display:flex;
}

#menu{
    flex: 0 0 220px;
    width: 220px;
    overflow-y: hidden;
}

#menu button{
    font-size: 1.6rem;
}

#menu .menu_item, #menu button{
    width:100%;
    height: 2.8125rem;
    line-height: 2.8125rem;
}

#menu .menu_item{
    display: flex;
}

#menu a{
    color: #ffffff;
    display: block;
}

#menu .menu_item_open{
    height: 80%;
    cursor: pointer;
    margin-top: 0.28125rem;
}

#menu .menu_item_open:hover{
    filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);
}

#menu .sub_container{
    width: calc(100% - 1.7rem);
    overflow: hidden;
    margin-left: 1.7rem;
    transition: height 0.5s ease;
}

#menu .sub_hide{
    height: 0;
}

#menu div.active a{
    color: rgb(245,211,37);
}

#menu .pirko{
    padding-right: 5px;
}

#menu_logos{
    width: 100%;
}

#menu_logos div:first-of-type{
    margin-top: 8px;
}

#menu_logos img, #menu_logos a{
    width:120px;
    margin-left: auto;
    margin-right: auto;
}

#logo_borac a, #logo_borac img{
    width:95%;
}


#content_wrapper{
    flex-grow: 1;
    min-width: 300px;

    min-height: 31.25rem;
    background-color: rgb(245,245,220);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
}

#title_row{
    width: 100%;
    min-height: 6.6875rem;

    display: flex;
    flex-direction: row;
}

#title{
    margin-top:1.25rem;
    font-size:2.5rem;
    line-height: 4.3rem;
    margin-left:1.875rem;
    color: black;
    font-weight: bold;

    flex-grow: 1;
}

#fb_logo{
    flex-basis:7.48rem;
    margin-top: 1.875rem;
    margin-right: 0.4rem;
    height: 3.4375rem;
}

#fb_logo img, #fb_logo a{
    width: 3.4375rem;
    height: 3.4375rem;
}

#title_logo{
    margin-top:0.625rem;
    float:left;
}

#page_title{
    /*float:left;*/
    margin-left:50px;
}

#content{
    width: 100%;
    height:auto;
    flex-grow: 1;
    display: flex;
}

#content_text{
    flex-grow: 1;

    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    text-align: justify;
    padding-bottom: 20px;

    padding-left: 1rem;
    padding-right: 1rem;
}

#footer{
    width: 100%;
    height: 80px;
}


#copyright{
    font-size:12px;
    color: white;
    float:right;
    width: 300px;
    height: inherit;
    line-height: 80px;
    vertical-align: middle;
}


#menu_display_button{
    color: #fff;
    background-color: #ec5b00;
    font-size: 5rem;
    position: fixed;
    width: 6rem;
    height: 5rem;
    z-index: 10;
    line-height: 5rem;
    margin-top: 1rem;
    border-radius: 0 0 0.7rem 0.7rem;
}

.menu_action_button{
    user-select: none;
    border: none;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    text-align:center;

    background-color: inherit;
}

@font-face {
    font-family: "Ondine";
    src: url("/fonts/OndineRegular.ttf");
}



@media screen and (max-width: 1260px) {
    #background_image {
        width: 100vw;
    }
}

@media screen and (max-width: 1100px) {
    html{
        font-size: calc(16px - ((1100px - 100vw) / 150));
    }

    #header, #footer, #title_logo {
        display:none;
    }

    #main_body{
        margin-top: -20px;
    }

    #menu{
        width:12.5rem;
        background: #ec5b00;
        position: fixed;
        z-index:15;
        overflow-y: scroll;
        height: 0;
        margin-top:5.5rem;
        transition: height 0.5s ease;
    }

    #title_row{
        min-height:9.5rem;
    }

    #page_title{
        margin-left: 7.5rem;
    }

    #menu .menu_item_open:hover {
        filter: none;
    }

    #menu a{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pirko{
        display: none;
    }

    .hide_small{
        display: none !important;
    }
}

@media screen and (max-width: 300px) {
    html{
        font-size: 10.6666px;
    }

    body {
        overflow-x: scroll;
    }
}

@media (min-width:1101px){
    .hide_big{
        display: none !important;
    }

    #menu{
        display:block !important;
    }
}