﻿body {
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #464646;
}

.magenta {
    color: #e2007a;
}

/*FONTS*/
@font-face {
    font-family: 'OpSans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'OpSansLight';
    src: url('fonts/OpenSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'OpSansBold';
    src: url('fonts/OpenSans-Bold.ttf') format('truetype');
}

/*RESPONSIVE*/
/* Small devices (small phones, 768px and up) */
#page {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

#header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 148px;
    box-sizing: border-box;
    border-bottom: 1px dotted #3a3a3a;
    padding-left: 2px;
    padding-top: 2px;
}

#main_logo {
    width: 452px;
    height: 144px;
}

#main_menu {
    display: none;
    position: absolute;
    top: 148px;
    right: 0;
    font-family: OpSans;
    text-transform: uppercase;
    background-color: #fff;
    border: 1px solid silver;
    border-top: none;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    z-index: 99;
}

#main_menu_colapsed {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 0;
    height: 75px;
    width: 75px;
    cursor: pointer;
    background-image: url('pics/menu.png');
    background-position: center center;
    background-size: 100% 100%;
}

   #main_menu ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        padding-left: 15px;
    }

    #main_menu li {
        display: inline;
        padding: 15px;
    }

    #main_menu a {
        text-decoration: none;
        color: #464646;
        cursor: pointer;
    }


        #main_menu a:hover {
            color: #e3097f;
        }


.main_login {
    position: absolute;
    right: 18px;
    top: 14px;
    font-family: OpSansBold;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: #464646;
    border-bottom: 4px solid #e2007a;

    display: none;
}

    .main_login a {
        color: #464646;
        text-decoration: none;
    }

.logged_user_box {
    display: none;
    position: absolute;
    top: 14px;
    right: 0;
    width: auto;
    height: 100%;
    font-family: OpSans;
    font-size: 12px;
    text-align: right;
    z-index: 99;
}

    .logged_user_box a {
        color: #e2007a;
        text-decoration: none;
    }


#kpi_mockup {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px dotted #3a3a3a;
    display: none; /*DO NOT SHOWN ON PHONES*/
}

.kpi_box {
    position: relative;
    display: inline-block;
    vertical-align: top;
    top: 0;
    left: 0;
    /*width: 17%;*/
    height: 54px;
    border-left: 1px dotted #3a3a3a;
    font-family: OpSans;
    font-size: 13px;
    line-height: 110%;
    box-sizing: border-box;
    /*float: right;*/
}

#main_area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 520px;
    box-sizing: border-box;
    border-bottom: 1px dotted #3a3a3a;
    padding-top: 4px;
    padding-bottom: 4px;
    margin: 0;
}

#footer {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    background-color: #3a3a3a;
    color: #fff;
}

#footer_logo {
    clear: both;
    position: absolute;
    top: 24px;
    left: 20px;
    width: 140px;
    font-family: OpSans;
    font-size: 16px;
    /*text-transform: uppercase;*/
    line-height: 100%;
}

#footer_powered {
    text-transform: none;
    font-size: 11px;
}

#footer_links {
    position: absolute;
    top: 24px;
    left: 180px;
    font-family: OpSansBold;
    font-size: 13px;
}

    #footer_links a {
        text-decoration: none;
        color: #fff;
    }

#footer_copyright {
    position: absolute;
    top: 43px;
    left: 180px;
    font-family: OpSans;
    font-size: 11px;
}

#footer_social {
    position: absolute;
    top: 24px;
    right: 180px;
}

    #footer_social img {
        width: 24px;
    }
    
#footer_tothetop {
    position: absolute;
    top: 28px;
    right: 16px;
    height: 14px;
    line-height: 14px;
    font-family: OpSans;
    font-size: 11px;
    background-image: url('pics/footer_tothetop.png');
    background-position: right center;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    padding-right: 18px;
}

.accept_cookies_box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #464646;
    color: #fff;
    font-family: OpSans;
    font-size: 14px;
    line-height: 50px;
}


.read_more {
    font-family: OpSansBold;
    color: #e2007a;
    text-decoration: none;
}

    .read_more a {
        text-decoration: none;
        color: #e2007a;
    }

.page_title {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
    font-family: OpSansLight;
    font-size: 26px;
    color: #464646;
}

.sitemappath_box {
    position: relative;
    top: 0;
    left: 0;
    padding-left: 10px;
    width: 100%;
    height: 24px;
    border-bottom: 1px solid #e2e2e2;
    font-family: OpSans;
    font-size: 12px;
    line-height: 24px;
    display: none; /*NEM LÁTSZIK!*/
}

/*LOGIN PAGE*/
.login_background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #000;
    opacity: 0.8;
    z-index: 100;
    display: none;
}

.login_popup {
    position: absolute;
    top: 60px;
    left: 50%;
    width: 624px;
    margin-left: -312px;
    background-color: #fff;
    box-sizing: content-box;
    padding: 0px 20px 0px 20px;
    z-index: 101;
    box-shadow: rgba(0,0,0,0.4) 6px 6px none;
    font-family: OpSans;
    font-size: 15px;
    text-align: center;
    display: none;
}

    .login_popup table{
        width: 100%;
    } 

    .login_popup td {
        min-width: 100px;
        text-align: left;
    }
  
        .login_popup td input {
            width: 100%;
        }

/* Medium devices (phones, tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    #page {
        left: 0;
        width: 100%;
        margin-left: 0;
    }

    #header {
        height: 148px;
    }

    #main_logo {
        width: 452px;
        height: 144px;
    }

    #main_menu {
        display: none;
        width: 100%;
        font-size: 80px;
        text-align: center;
    }

    #main_menu li {
        display: block;
   }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #page {
        left: 50%;
        width: 960px;
        margin-left: -480px;
    }

    #header {
        height: 76px;
    }

    #main_logo {
        width: 226px;
        height: 72px;
    }


    #main_menu {
        display: block;
        top: unset;
        bottom: 10px;
        right: unset;
        left: 284px;
        width: 600px;
        font-size: 14px;
        border: none;
        box-shadow: 0 0 0 0 rgba(0,0,0,0.0),0 0 0 0 rgba(0,0,0,0.0);
    }

    #main_menu li {
        padding: 8px;
        display: inline;
    }

    #main_menu_colapsed {
        display: none;
    }

    .main_login {
        right: 10px;
        top: unset;
        bottom: 12px;
        font-size: 16px;
        height: 21px;
    }

    #main_menu_colapsed {
        display: none;
    }

    #kpi_mockup {
        display: block;
        height: 50px;
        padding-top: 1px;
        padding-bottom: 1px;
        /*padding-left: 32%;*/
    }

    #kpi_title {
        display: inline-block;
        position: relative;
        top: 0;
        left: 0;
        padding-left: 4px;
        padding-right: 4px;
        font-family: OpSans;
        font-size: 14px;
        line-height: 15px;
        color: rgba(0,0,0,0.30);
    }

    .kpi_box {
        font-size: 12px;
        line-height: 110%;
    }
    
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #page {
        left: 50%;
        width: 1200px;
        margin-left: -600px;
    }

    #header {
        height: 76px;
    }

    #main_logo {
        width: 226px;
        height: 72px;
    }

    #main_menu {
        display: block;
        bottom: 10px;
        left: 354px;
        width: 740px;
        font-size: 17px;
    }

    #main_menu li {
        padding: 10px;
    }

    #main_menu_colapsed {
        display: none;
    }

    #kpi_mockup {
        display: block;
        height: 60px;
        padding-top: 2px;
        padding-bottom: 2px;
        /*padding-left: 32%;*/
    }

    #kpi_title {
        font-size: 17px;
        line-height: 18px;
    }

    .kpi_box {
        font-size: 13px;
        line-height: 100%;
    }
} 
