﻿ @charset "utf-8";
/* CSS Document */

body {
	font-family: 新細明體,Times New Roman, Times, serif;
	margin: 0px;
	background-color: #f7f7f7;
	/*background-image: url(../images/bg.png);*/
	padding: 0px;
    overflow: auto !important;
}

entry {
    display: block;
}

pageview {
    display: block;
}

.pageview-modal, .loading-modal {
/*	display: block;
    z-index: 5;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;*/

    z-index: 1000 !important;
    box-sizing: border-box;
    background-color: rgb(51, 51, 51);
    background-color: rgba(51, 51, 51, 0.4);
    opacity: 0.4;
}

.loading-icon {
    z-index: 1051;
    color: black;
    background-color: white;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    max-width: 90px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.pageview-popup-list-win{
    z-index: 1010;
    position: fixed;
    //width: 100%;
    //left: 0px;
	margin: auto;
}

/*
    keep this if you apply angularjs ui for bootstrap.

    https://angular-ui.github.io/bootstrap/#!#getting_started
    
    Original Bootstrap's CSS depends on empty href attributes to style cursors 
    for several components (pagination, tabs etc.). But in AngularJS 
    adding empty href attributes to link tags will cause unwanted route changes. 
    This is why we need to remove empty href attributes from directive templates 
    and as a result styling is not applied correctly. The remedy is simple, 
    just add the following styling to your application:
*/
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

/* The menu wide enough for its longest names - "Approved Leave Cancellation Approval History" - to
   stay on one line (the theme's is 300px), and the page moved over to match. Only on a screen wide
   enough to show the menu beside the page, and not while it is folded to its icons. */
@media only screen and (min-width: 1025px) {
	.page-container:not(.page-container-wide):not(.page-navigation-toggled):not(.page-navigation-toggled-hover) .page-sidebar {
		width: 360px;
	}

	.page-container:not(.page-container-wide):not(.page-navigation-toggled):not(.page-navigation-toggled-hover) .page-content {
		margin-left: 360px;
	}

	/* The bar along the top is fixed, as wide as the window, and kept clear of the menu by as much
	   padding on its right - or its last buttons (Log out) would be off the screen. */
	.page-container.page-navigation-top-fixed:not(.page-container-wide):not(.page-navigation-toggled):not(.page-navigation-toggled-hover) .x-navigation.x-navigation-horizontal {
		padding-right: 360px;
	}

	/* The menu on the right (config.js layoutRightSidebar): the page is kept clear of it on the right
	   instead, by the menu's own width, as the theme does for its narrower menu. */
	.page-container.page-mode-rtl:not(.page-container-wide):not(.page-navigation-toggled):not(.page-navigation-toggled-hover) .page-content {
		margin-left: 0;
		margin-right: 360px;
	}
}

/* The menu folded to its icons: the panel each icon opens is wide enough for the same names to stay on
   one line (the theme's is 220px), and set off from the icon by as much more - 10px apart, or touching
   when it opens on hover. */
.page-sidebar .x-navigation.x-navigation-minimized > li ul {
	width: 340px;
}

.page-sidebar .x-navigation.x-navigation-minimized li ul {
	right: -350px;
}

.page-sidebar .x-navigation.x-navigation-minimized.x-navigation-hover li:hover > ul {
	right: -340px;
}
