@charset "utf-8";
/* CSS Document */

html, body {
	overflow:auto;
	height: 100%;
	font-family: 'FontAwesome','Open Sans', sans-serif, tahoma;
}

a, a:hover, a:focus {
	text-decoration:none;
}

.full-height {
  height: 100%;
}

#wrapper {
    width: 100%;
	min-height:480px;
}

#wrapper-container {
	padding-top: 45px;
}

#page-wrapper, #page-wrapper2 {
    min-height: 640px;
}
.colred {
	background-color: red;
}

#page-inner {
    width:100%;
    margin: 40px 0px 10px 0px;
    background-color:#fff!important;
    padding:0px 10px 10px 10px;
    min-height:640px;
	height: 640px;
}

.text-center {
    text-align:center;
}
.no-boder {
    border:1px solid #f3f3f3;
}
.no-border {
    border:none;
}

.top-sidenav {
	position: fixed;
	z-index: 1015;
	height: 50px;
	width: 100%;
	top: 0px;
	left: 0px;
	background: #055;
}

.down-sidenav {
	position: fixed;
	z-index: 1015;
	padding: 5px 5px 5px 5px;
	height: 0px;
	width: 100%;
	bottom: 0px;
	left: 0px;
	background: #055;
	cursor: pointer;
}

.left-sidenav {
	position: fixed;
	z-index: 1015;
	height: 50%;
	width: 48px;
	left : -55px;
	top: 128px;
	padding: 2px;
	border-radius: 0 4px 4px 0;
	background: #055;
	cursor: pointer;
}

.right-sidenav {
	position: fixed;
	z-index: 1015;
	height: 68px;
	width: 39px;
	right : -60px;
	top: 150px;
	padding: 2px;
	border-radius: 4px 0 0 4px;
	background: #777;
	cursor: pointer;
}

.bottom-actions {
	position:fixed;
	left:0px;
	bottom:30px;
	right: 0px;
	z-index: 999;
	padding: 10px;
	height: 30px;
	max-height: 30px;
	text-align: center;
}

/* =============================================
	Error CSS
==============================================*/
.hidden {display: none;overflow: hidden;}
.error404 {
	background: url("../images/404.jpg");
	background-size: cover;
	background-position: center;
	min-height: 780px;
}
.error-page {
	padding: 40px 10px 20px 10px;
	text-align: center;
}
.error-page h1 {font-size :80px; color: red; font-weight:bold;}
.error-page h2 {font-size :30px; color: #FFF;}
.error-page .error-details {
	padding: 30px 30px 0px 30px;
	color: #FFF;
}

/* ===== icon bar menu and tabs ===== */

.full-height {
  height: 100%;
}

.header-bar {
	height: 40px;
	width: 100%;
	max-height: 40px;
	line-height: 40px;
	color: white;
	background-color: #033;
	font-size: 18px;
	font-weight:bold;
	padding-left: 10px;
}

.icon-bar {
    width: 100%;
    background-color: #033;
    overflow: auto;
	border-bottom: 1px solid #011;
	cursor: pointer;
}

.icon-bar .green_icon, .icon-bar .red_icon {
	background-color: #4cd137;
	position: absolute;
	left: 20px;
	top: 5px;
	height: 16px;
	width: auto;
	border:2px solid white;
	border-radius: 10px;
	z-index: 99;
	font-size: 8px;
	color: white;
	padding: 0 2px 0 2px;
	font-weight:bold;
	min-width: 16px;
	line-height: 12px;
}

.icon-bar .red_icon {
	background-color: #F00;
}

.icon-bar .green_icon {
	height: 10px;
	width: 10px;
	line-height: 10px;
	min-width: 10px;
	top: 8px;
}

.icon-bar a {
    float: left;
    width: 20%;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
    color: #aaa;
    font-size: 34px;
	border-bottom: 3px solid #033;
}

.icon-bar a:hover {
    background-color: #000;
	color: #eee;
	border-bottom: 3px solid #eee;
}

.icon-bar a:focus {
	color: #fff;
	background-color: #033;
}

.icon-bar .active {
    background-color: #033;
	border-bottom: 3px solid #fff;
	color: #fff;
}

.tab-content {
	padding: 0px;
	background-color: #fff;
	color: #000;
}

.tab-content .deactive {
	display: none;
}

#home, #menu1, #menu2, #menu3, #menu4 {
	height: 640px;
	min-height: 640px;
}

.test-button {
	padding: 10px;
	text-align: center;
}

/* The Overlay (background) */
.overlay, .overblack, .overerror {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(255,255,255); /* Black fallback color */
    background-color: rgba(255,255,255, 1); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
	---overflow: hidden;
}

.overblack {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
	height: 0;
    width: 100%;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.5); /* Black w/opacity */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.overerror {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
	height: 0;
    width: 94%;
	left: 2%;
	right: 2%;
	background-color: rgb(174,244,11); /* Black fallback color */
    background-color: rgba(174,244,11, 0.7); /* Black w/opacity */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
	overflow: hidden;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.overlay-p {
	position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
	height: 0%;
	width: 100%;
	left: 0px;
	bottom: 0px;
	background-color: rgb(255,255,255); /* Black fallback color */
    background-color: rgba(255,255,255, 1); /* Black w/opacity */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
	overflow-x: hidden; /* Disable horizontal scroll */
	---overflow: hidden;
}

.overlay .overlay-body {
	padding-top: 50px;
}

.overlay .vertical-center {
	margin: 0;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 50%;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	font-size: 150%;
}

/* Position the content inside the overlay */
.overlay-content, .overblack-content, .panel-content, .overerror-content  {
    position: relative;
    width: 100%; /* 100% width */
    margin-top: 0px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-content, .panel-content, .overerror-content {
	
}

.overblack-content, .overerror-content {
	top : 0px;
	margin-top: 0px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	color: #fff;
	font-size: 18px;
	text-align: center; /* Centered text/links */
}

.overerror-content, .error-content {
	color:#FFF;
	font-size: 16px;
	font-weight: bold;
}

/* The navigation links inside the overlay */
.overlay a, .overback a, .overlay-p a, .overerror a {
    padding: 8px;
    text-decoration: none;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus, 
.overlay-p a:hover, .overlay-p a:focus,
.overblack a:hover, .overblack a:focus,
.overerror a:hover, .overblack a:focus {
    color: #555;
	text-decoration:none;
}

.overlay .header {
	z-index: 9; /* Sit on top */
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 14px;
	background-color: #CCC;
	height: 50px;
	width: 100%;
	color: #000;
}

/* Position the close button (top right corner) */
.overlay .closebtn, 
.overlay-p .closebtn-p,
.overblack .closebtn,
.overerror .closebtn {
	z-index: 99; /* Sit on top */
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 10px;
	background-color: #FFF;
	border-bottom-right-radius: 50%;
	border-bottom-left-radius: 50%;
	height: 50px;
	width: 50px;
	padding-left: 14px;
	color: #666;
}

.overerror .title {
	z-index: 9; /* Sit on top */
    top: 0px;
    left: 10px;
    font-size: 20px;
	font-weight:bold;
	height: 50px;
	color: #03F;
	border-bottom: dashed 1px #999999;
}

/* ===== Header top menu ===== */
.page-header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 1);
	color: #555;
	padding: 2px 40px 5px 45px; /* Some padding */
	height: 45px;
	max-height: 45px;
	border-bottom: 1px solid #eee;
	z-index: 99;
}

.page-header .popup {
	position: absolute;
	right: 15px;
    top: 5px;
	text-align: right;
}

.page-header .item-detail {
	padding: 0px;
}

.page-header .header-title {
	font-size: 15px;
	font-weight:bold;
	line-height: 24px;
}

.page-header-title a, 
.page-header-title a:hover {
	color: #555;
	text-decoration:none;
}

.page-header .header-descr {
	font-size: 12px;
	line-height: 12px;
}

.page-header .sec-home {
    position: absolute;
	left: 5px;
    top: 5px;
	text-align: left;
}

.page-header .sec-home img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    -webkit-border-radius: 7%;
    -moz-border-radius: 7%;
    border-radius: 50%;
    border: 2px solid rgba(250,250,250,0.9);
	background-color: rgba(128,128,128,0.6);
	padding: 2px;
}

/* Modal Dialog AJAX */

.inner-body {
	padding-top: 60px;
}

.inner-nohead {
	padding-top: 0px;
}

.myheader {
	background-color: #EEE;
	position:absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	max-height: 60px;
	min-height: 60px;
}

.modal-header .title {
	xxxxbackground-color: blue;
	position:absolute;
	top: 0px;
	left: 0px;
	right: 60px;
	min-height: 59px;
	max-height: 59px;
	padding: 5px 0px 5px 10px;
}

.modal-header .descr {
	font-size: 75%;
}


/* =============== */

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a, .overlay-p a {
		font-size: 15px
	}
    .overlay .closebtn, .overlay-p .closebtn {
        font-size: 30px;
        top: 0px;
        right: 20px;
    }
}