﻿/*header css*/
header {
    /*height: 46px;
    line-height: 46px;*/
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    padding: 0 15px;
}
header:after,header:before{content:'';display:table;}
header:after{clear:both;}
header .logo {
    width: 152px;
    height: 45px;
    background-image: url(../Images/XnappReport.png);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: -5px;
    background-position: center;
}
nav {
    width: auto;
    text-align: center;
    float: left;
}

nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
}
nav ul li {
    list-style-type: none;
    width: auto;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    position: relative;
}
nav ul li:hover .dropdown_content {
    display: block;
}
#menu nav > ul > li > a {
    line-height: 45px;
    height: 45px;
    display: block;
    padding: 0 10px;
}
#menu nav > ul > li > a:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    background-image: url(../Images/arrow_down.svg);
    background-repeat: no-repeat;
    background-size: 17px;
    background-position: center;
    position: relative;
    height: 20px;
    width: 15px;
    margin-left: 2px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
#menu nav > ul > li:hover > a, #menu nav > ul > li.selected > a {
    background: #eee;
}
#menu nav > ul > li:hover > a:after, #menu nav > ul > li.selected > a:after {
    transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
}
/*nav > ul > li:hover {
    display: block;
    background-image: url(../Images/arrow_up.svg);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 100% center;
}*/
.dropdown_content {
    display: none;
}
.dropdown_content .menu_col {
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-align: left;
    height: auto;
    /*margin-bottom: 50px;*/
    width: 100%;
    float: none !important;
    display: -moz-inline-stack;
    display: inline-block;
    *display: inline;
    box-sizing: border-box;
}
.dropdown_content .menu_col li {
    padding: 0px;
    /*width: 192px;*/
    font-family: Trebuchet MS !important;
    line-height: 1.3;
    background-image: none;
}
.dropdown_content .menu_col li + li {
    border-top: 1px solid #eee;
}
.dropdown_content .menu_col li a, .menu_col_chrome li a {
    text-transform: none;
    color: #666;
    font-weight: normal !important;
    display: block;
    padding: 5px 12px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    /*font-size: 12px;*/
}
.dropdown_content .menu_col li:hover, .language li:hover {
    background-image: none;
}
.dropdown_content .menu_col li a:hover, .menu_col_chrome li a:hover, 
.dropdown_content li a.activemenu, .menu_col_chrome li a.activemenu {
    /*color: #3498db;*/
    background:#eee;
    box-shadow: 3px 0 0 0 #4abcee inset;
}
.dropdown_header {
    color: #3498db;
    font-size: 12px !important;
    text-transform: uppercase;
    font-weight: 600;
    background: #eee;
    margin-bottom: 1px;
    text-align: center;
}
.dropdown_content .menu_col li.dropdown_header {
    padding: 6px 10px;
}
.menu_col_chrome li, .menu_col_chrome li:hover {
    clear: both !important;
    text-align: left !important;
    background-image: none;
    height: 30px;
    line-height: 40px !important;
}
.menu_col_1 {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
}
.menu_col_1_width {
    max-width: 210px;
}
.menu_col_2 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
.menu_col_2_width {
    max-width: 410px;
}
.menu_col_3 {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}
.menu_col_3_width {
    max-width: 610px;
}
.menu_col_4 {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
}
.menu_col_4_width {
    width: 810px;
}
.language li {
    background-image: none !important;
    clear: both !important;
    padding: 0px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin: 0px !important;
    width: 120px !important;
    text-align: left;
}
.user_block {
    width: 35px;
    height: 35px;
    line-height: 46px;
    border-radius: 50%;
    border: #f6f6f6 solid 2px;
    padding: 1px;
    margin-left: 15px;
    top: 3px;
}
.user_icon_btn {
    cursor: pointer;
    margin-top: 5px;
    position: relative;
}
.userIcon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f6f6f6;
    background-image: url(../images/user.svg);
    transition: all 0.2s ease-in-out;
    border: #ccc solid 1px;
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: center;
    vertical-align: middle;
    display: inline-block;
    pointer-events: none;
}
#BuildVersion, .versionWeb {
    font-size: 13px;
    position: relative;
}
.userTitleWrap {
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block; 
}
.userTitle {       
    white-space: nowrap;
    max-width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: capitalize;
}
.user_icon_btn:hover .userIcon {
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.15);
    /*transform: scale(1.05);
    -webkit-transform: scale(1.05);*/
}
.user_icon_btn ul {
    background: #fff;
    list-style-type: none;
    width: 120px;
    top: 100%;
    padding: 12px 0;
    position: absolute;
    z-index: 9;
    right: 0;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    margin: 7px 0 0 0;
}
.user_icon_btn ul li {
    font-size: 0.9em;
    transition: all 0.3s;
    line-height: 30px;
    padding: 0 32px 0 12px;
    position: relative;
}
.user_icon_btn ul li:hover {
    background-color: #eee;
}
.w_bg {
    background-color: #fff;
}
.user_icon_btn ul li:after {
    content: '';
    width: 32px;
    position: absolute;
    right:0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: 15px auto;
    background-position: center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.user_icon_btn ul li.profile:after {
    background-image: url('../images/profile.svg');
    background-size: 21px auto;
}
.user_icon_btn ul li.setting:after {
    background-image: url('../images/setting.svg');
}
.user_icon_btn ul li.logout:after {
    background-image: url('../images/logout.svg');
}
.user_icon_btn ul li:hover:after {
    right:5px;
}
/* for chrome */
.dropdown_content_chrome {
    display: none;
}

nav ul li:hover .dropdown_content_chrome {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    background-image: none;
    padding: 20px;
    position: absolute;
    top: 46px;
    background-color: white;
    z-index: 9999;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
}
.dropdown_content_chrome .menu_col_chrome {
    float: left !important;
    height: auto;
    margin-bottom: 30px;
    width: 200px;
}
nav ul li:hover .dropdown_content_chrome li {
    background-image: none;
}
.navToggle {
    padding: 6px;
    border: 0;
    background: transparent;
    margin: 0 10px 0 -14px;
}
.navToggle span {
    height: 2px;
    width: 20px;
    display: block;
    background: #000;
}
.navToggle span + span {margin-top: 4px;}
body.showMenu {
    overflow:hidden;
}
/*body.showMenu:after {
    position: fixed;
    content: '';
    z-index: 908;
    background: rgba(0,0,0,0.2);
    top: 0;
    left: 0;
    right:0;
    bottom:0;
}*/
body.showMenu #main, body.showMenu .title-panel, body.showMenu .user_icon_btn {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
}

.menuClose {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
}
.menuOverlay {
    position: fixed;
    content: '';
    z-index: 908;
    background: rgba(0,0,0,0.2);
    top: 0;
    left: 0;
    right:0;
    bottom:0;
}

@media(min-width: 768px) {
    #menu #BuildVersion {
        display: none;
    }
}

@media(min-width: 1281px) {
    .main-nav {
        display: flex;
        margin-left: 10px;
    }
    .dropdown_content {
        padding-top: 8px;
        padding-bottom: 8px;
        overflow: auto;
        max-height: 360px;
        border-top: 3px solid #4abcee ;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        z-index: 9999;
        -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
        box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
    }
    #menu nav > ul > li > a:before {
        bottom: 0;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(74, 188, 238, 0);
        border-bottom-color: #4abcee;
        border-width: 6px;
        margin-left: -6px;
        opacity: 0;
        margin-bottom: -6px;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
    }
    #menu nav > ul > li:hover > a:before {
        opacity: 1;
        margin-bottom: 0;
    }
    .dropdown_content .menu_col li {
        width: 192px;
    }
    .navToggle {
        display: none !important;
    }
    .menuClose {
        display: none;
    }
}
@media (min-width: 1350px) {
    .main-nav {
        margin-left: 24px;
    }
}

@media(max-width: 1280px) {
    nav ul {
        text-align: left;
    }
    #menu {
        position: fixed;
        top: 0;
        left: -210px;
        bottom: 0;
        background: #f7f7f7;
        z-index: 999;
        box-shadow: 0 3px 4px 0 rgba(0,0,0,0.3);
        width: 200px;
        transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;        
    }
    #menu nav {
        border-top: 1px solid #ddd;
        overflow: auto;
        overflow-x: hidden;
        height: 100%;
        background: #fff;
    }    
    #menu nav ul {
        /*margin-bottom: 20px;*/
    }
    .showMenu #menu {
        left: 0;
    }
    .selected .dropdown_content {
        display: block;
    }
    .dropdown_content .menu_col li a:hover, .menu_col_chrome li a:hover, .dropdown_content li a.activemenu, .menu_col_chrome li a.activemenu {
        background: rgba(73, 189, 238, 0.1);
    }
    #menu nav > ul > li > a {
        display: flex;
        align-items: center;
    }
    #menu nav > ul > li > a:after {
        margin-left: auto;
    }
    .dropdown_content .menu_col li a, .menu_col_chrome li a {
        padding-left: 16px;
        padding-right: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #BuildVersion:before {
        content: '';
        position: absolute;
        left: 0;
        right: 8px;
        bottom: 100%;
        height: 45px;
        box-shadow: 0 -28px 30px -10px #fff inset;
        z-index: 9;
        pointer-events: none;
    } 
}

@media(max-width: 1200) {
    .userTitle {max-width: 54px;}
}
@media(max-width: 767px) {
    .versionWeb {
        display: none;
    }
    #menu nav {
        height: calc(100vh - 46px);
    }
}

