﻿/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
	min-width: 500px;
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
	height: auto;
	width: auto;
    padding-top: 40px;

  /* Override Bootstrap */
  font-size: 10px;
}

#header-logo {
	display: inline-block;
	background-color: #fff;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	height: 40px;
	width: 250px;
	padding: 5px 0px 0px 75px;
	position: absolute;
	top: 5px;
	left: 5px;
}
#ui-logo {
	display: inline-block;
	background: no-repeat transparent url(../images/top-logo.png) center;
	background-size: contain;
	width: 100px;
	height: 27px;
}

.navbar-header { position: relative; }
.navbar-brand { 
	position: absolute;
	left: 250px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}

.text-muted {
    margin: 20px 0;
}

.form-login {
    max-width: 330px;
    padding: 0px 15px 5px 15px;
    margin: 0 auto;
}

    .form-login .form-login-heading {
        margin-bottom: 10px;
    }

    .form-login .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }

        .form-login .form-control:focus {
            z-index: 2;
        }

    .form-login input[type="password"] {
        margin-top:5px;
        margin-bottom: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.navbar-inverse {
    background-color: #069;
}

#content.user-info {
	margin-top: 0;
    background-size: cover;
    background-position: 0 0;
	background-repeat: no-repeat;
	background-color: #f3f8fc;
	position:relative;
	height: 100%;
	width: 100%;
}
#content.user-info .panel {
	text-align: center;
}
#content.user-info #detail {
	background-color: #f3f8fc;
}
#detail footer {text-align: center;}
#user-login {
	position: relative;
	height: 190px;
	width: 350px;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	border: 3px solid #00548e;
	border-top-width: 30px;
	padding: 15px;
	border-radius: 5px;
	font-size: 16px !important;
}

#user-msg {
	position: absolute;
	width: 500px;
	height: 40px;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 3em;
	text-align: center;
}


#user-login .header {
	position: absolute;
	width: 100%;
	top: -25px;
	color: white;
	text-align: center;
	font-weight: bold;
}
#user-login label {
	width: 100px;
	text-align: right;
	padding-right: 5px;
	margin: 5px 0;
	font-weight: bold;
}
#user-login input {
	padding-left: 5px;
	border-radius: 5px;
}
#user-login button {
	background-color: #3A93D8;
	color: white;
	font-weight: bold;
	margin-top: 15px;
	padding: 5px 15px;
	border-radius: 5px;
	font-size: .9em;
	outline: none;
}
#user-login .message {
	position: absolute;
	top: 0;
	left: 100%;
	border: 1px solid red;
	background-color: #fac4c4;
	width: 250px;
	padding-top: 10px;
	margin-left: 3px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	text-align: left;
}
.conceal {display: none;}

#search-roles {z-index: 1000; text-align: left !important;}
#search-roles h5 {
	display: inline-flex;
	margin-left: 35px;
	padding: 5px 10px;
	font-weight: bold;
	background-color: lightgray;
	border: 1px solid darkgray;
}
#search-roles p {position: relative; display: inline-flex; align-items: flex-start;}
#search-roles p span {
	position: absolute;
	display: block;
	top: 3px;
	right: 3px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	color: #fff;
	background-color: #ccc;
	font: 13px monospace;
	font-weight: bold;
	text-align: center;
	line-height: 1em;
	cursor: pointer;
}
#search-roles p span:hover { background-color: red;}
#search-roles p input {
	padding-right: 18px;
	box-sizing: border-box;
	margin-left: 10px;
}
#search-roles-checkbox {width: 122px; margin-bottom: 15px !important;}
	#search-roles-checkbox label {
		position: absolute;
		top: 5px;
		left: 30px;
		cursor: pointer;
	}
	#search-roles-checkbox input {
		position: absolute;
		top: 2px;
		right: -12px;
		cursor: pointer;
	}
#search-roles-app {margin-left: 25px !important; width: 200px;}
	#search-roles-app label {
		position: relative;
		top: 0;
		left: 30px;
		cursor: pointer;
	}

	#search-roles-app input {
		position: relative;
		top: -2px;
		right: -28px;
		cursor: pointer;
	}

#table-roles {margin-left: 20px;}
#table-roles table {width: 1627px; max-width: none;}
#table-roles thead {display: block; font-weight: bold; background-color: lightgray; border: 1px solid darkgray;}
#table-roles tbody {display: block; height: 50vh; overflow: auto;}
#table-roles th {padding: 4px; text-align: center; vertical-align: middle;}
#table-roles td {padding: 4px; text-align: left;}
#table-roles .c01 {width: 168px;}
#table-roles .c02 {width: 112px;}
#table-roles .c03 {width: 161px;}
#table-roles .c04 {width: 243px;}
#table-roles .c05 {width: 229px;}
#table-roles .c06 {width: 52px; text-align: center;}
#table-roles .c07 {width: 48px; text-align: center;}
#table-roles .c08 {width: 40px; text-align: center;}
#table-roles .c09 {width: 74px; text-align: center;}
#table-roles .c10 {width: 55px; text-align: center;}
#table-roles .c11 {width: 57px; text-align: center;}
#table-roles .c12 {width: 57px; text-align: center;}
#table-roles .c13 {width: 68px; text-align: center;}
#table-roles .c14 {width: 65px; text-align: center;}
#table-roles .c15 {width: 68px; text-align: center;}
#table-roles .c16 {width: 68px; text-align: center;}

@media (height <= 710px) {
	#table-roles tbody {
		height: 40vh;
	}
}
@media (height > 710px) {
	#table-roles tbody {
		height: 50vh;
	}
}