/* 
    Document   : supergate
    Created on : 08.09.2015, 16:17:25
    Author     : vpd
    Description:
        Purpose of the stylesheet follows.
*/

html, body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background: lightgreen;
	font-family: sans-serif, Arial, Helvetica;
	font-size: 14px;
}

h4 {
	margin: 0;
	padding: 2px 0px;
}

#header {
	text-align: left;
	background: darkblue;
	color: white;
	text-shadow: 1px 1px 2px black;
	position: fixed;
	top: 0;
/*	border-bottom: 1px white solid;*/
	width: 100%;
	height: 48px;
	line-height: 48px;
	font-size: 28px;
	font-family: Tahoma, Arial, Helvetica;
	z-index: 10;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#header img {
	vertical-align: inherit !important;
}

#header .logo {
	padding: 4px;
	-webkit-filter: drop-shadow(0px 0px 3px #fff);
	-ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=1, Color='#aeb')";
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=1, Color='#aeb')";	
}

select.time_zone {
	width: 361px;
}

select.time_zone option {
	font-family: monospace;
}

td.login_status {
	text-align: center;
}

#current_date {
	float: right;
    font-size: 12px;
    line-height: 18px;
    height: 48px;
    text-align: center;
    padding: 4px;}

#pmux_version {
	color: lightgreen;
}

#user_menu {
  display: table;
  position: relative;
  line-height: 14px;
  font-size: 12px;
  float: right;
  top: 8px;
  right: 10px;
}
#user_menu img {
	display: table-cell;
	margin: 0px 4px;
	vertical-align: middle;
	cursor: pointer;
	-webkit-filter: drop-shadow(0 0 2px #afe);
}
#user_menu div {
  display: table-cell;
  color: white;
  vertical-align: middle;
}

#main_menu {
	position: fixed;
	top: 48px;
	background: lightsteelblue;
/*	border-bottom: 1px darkblue solid;*/
	color: black;
	width: 100%;
	height: 28px;
	font-size: 16px;
	font-family: Tahoma, verdana, sans-serif;
/*	box-shadow: 0px 1px 2px darkblue;*/
	z-index: 2;
}

#main_menu ul {
	padding: 0;
	margin: 1px 0px;
}

#main_menu ul li {
	min-width: 40px;
	text-align: left;
	display: inline-block;
	padding: 1px 6px;
	cursor: pointer;
	height: 26px;
	line-height: 26px;
/*	border: 1px solid transparent;*/
	margin-top: -1px;
}

#main_menu ul li:hover {
	background: darkblue;
	color: white;
	text-shadow: 1px 1px 2px black;
/*	border: 1px solid darkslategray;
	box-shadow: 1px 1px 2px black;*/
}


#logout {
	cursor: pointer;
}

#arena {
	background: lightsteelblue;
	height: calc(100% - 72px);
	width:100%;
	position: fixed;
	top: 48px;
	left: 0;
	z-index: 1;
	color: black;
/*	position: relative;*/
	background: lightsteelblue;
	
}

hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 0;
	border-top: 1px solid steelblue;
}

input.error, button.error, textarea.error {
	background-color: pink !important;
	background: pink !important;
	color: red !important;
}
input.highlighted {
	background-color: lightgreen !important;
	color: green !important;
}

#arena > form input,
#arena > form select,
#arena > form textarea
{
	border: 2px solid steelblue;
	background-color: #ddf;
	color: darkblue;
	line-height: initial;
}
tr.vtop td,
#arena > form textarea
{
	vertical-align: top;
}

.value {
    background: #ddf;
    border: 2px solid steelblue;
    height: 20px;
    padding: 1px 2px;
    display: inline-block;
    box-sizing: content-box;
}

#arena > form input:disabled,
#arena > form select:disabled 
{
	color: #8ac; /* lightsteelblue; */
}
input.port {
	width: 55px;
}
input.mux_name {
	width: 305px;
}
input.room {
	width: 45px;
}
input.room_list,
select.phone_mux {
	width: 265px;
}
input.random {
	width: 95px;
}
input.md5 {
	width: 305px;
}
input.volume {
	width: 65px;
	height: 28px;
}
select.phone_type,
select.call_tone,
select.volume {
	width: 180px;
}

select.release {
	width: 170px;
}
input.delay, input.pwd_tries {
	width: 50px;
}
input.server_name {
	width: 320px;
}

#vds_log_selector {
    height: 34px;
	width: 300px;
    margin: 4px;
}
div#tabs-5 table button {
	top: -2px;
    position: relative;
    height: 33px;
    margin: 0 4px;
}
#adc_voltage {
    width: 162px;
	font-weight: bold;
    color: black;
    font-family: monospace;
    font-size: 13pt;	
}

.log_file {
    border: 1px solid steelblue;
    padding: 10px;
    color: black;
    font-size: 12px;
    height: 100%;
    width: 100%;
    overflow: scroll;
}


.context-menu-list {
	background: lightyellow;
	color: black;
	border: 1px solid darkblue;
/*	box-shadow: 1px 2px 3px black;*/
	z-index: 10;
}
.context-menu-item {
  line-height: 18px;
  font-size: 13px;
  font-family: tahoma, verdana, atial, serif;
  background: lightsteelblue;
}  
  
.pmux_status_table {
    border: 2px solid steelblue;
    border-collapse: collapse;
	width: 100%;
}
.pmux_status_table tr {
    background: lightsteelblue;
}
.pmux_status_table tr th {
    padding: 3px 5px;
    text-align: left;
    background: lightsteelblue;
    border: 1px solid steelblue;    
    color: black;
}
.pmux_status_table tr td {
    padding: 3px;
    text-align: left;
    background: lightgray;
    color: black;
    border: 1px solid steelblue;    
}
.pmux_status_table tr td:first-child,
.pmux_status_table tr td:nth-child(3),
.pmux_status_table tr td:nth-child(5)
{
    width: 1%;
	text-align: center;
}
.pmux_status_table tr td:nth-child(2),
.pmux_status_table tr td:nth-child(4),
.pmux_status_table tr td:nth-child(6)
{
    width: 270px;
	font-size: smaller;
	vertical-align: top;
}
.pmux_status_table tr:not(.column_names) td:nth-child(2),
.pmux_status_table tr:not(.column_names) td:nth-child(4),
.pmux_status_table tr:not(.column_names) th:nth-child(2),
.pmux_status_table tr:not(.column_names) th:nth-child(4),
.pmux_status_table tr.column_names th:not(:last-child)
{
	border-right: 5px double steelblue;
}

.pmux_status_table tr:not(.column_names)  th:last-child,
.pmux_status_table tr:not(.column_names)  td:last-child
{
	border-right: 5px steelblue;
}
 
.doorphone_settings td.subitem {
	padding-left: 100px;
}

.doorphone_settings tr td:first-child {
	padding-right: 20px;
	min-width: 65px;
}

#settings_download, #settings_update {
	margin-left: 10px;
}

#footer {
	text-align: center;
	background: darkgrey;
	color: darkslategray;
	position: fixed;
	bottom: 0;
	border-top: 1px darkslategrey solid;
	width: 100%;
	height: 23px;
	line-height: 23px;
	z-index: 10;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.mac_address {
    font-family: monospace;
	font-weight: bolder; 
}

.ip_address {
    font-family: monospace;
	font-weight: bolder; 
	color: darkblue;
}

.ip_container {
    background-color: lightsteelblue;
	background: steelblue;
}
.ip_octet {
	border: 0;
	text-align: center;
	width: 40px;	
}
.ui-selecting { background: #bbeebb; }
.ui-selected { background: #bbeebb; color: black; }
.ui-selected:hover { background: #aaddaa; color: black; }

.ui-dialog .ui-menu .ui-menu-item a {
	line-height: 1.2;
	font-size: 11px;
}

#tabs_phone_muxes {
    padding: 0;
    margin: 0;
}

#tabs_phone_muxes .ui-tabs-nav {
	margin: -1px;
}

.ui-tabs .ui-tabs-nav li a {
    padding: .25em 0.75em;
}
.ui-tabs .ui-tabs-nav li.error {
    background: pink !important;
}
#pmux_settings .ui-tabs-panel {
    height: calc(100% - 36px);
	overflow: auto;
}
#pmux_settings .doorphone_settings {
	padding: 0 20px;
	white-space: nowrap;
}

#pmux_settings .doorphone_pane.disabled h2 {
	color: lightsteelblue;
}

#pmux_settings h3 {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

#pmux_settings .phonemux_settings td:nth-child(2) {
	width: 60px;
	text-align: center;
}
#pmux_settings .phonemux_settings td:nth-child(3) {
	width: 180px;
}
#pmux_settings .phonemux_settings td:nth-child(4) {
	width: 170px;
}

#pmux_settings .phonemux_settings td:nth-child(5), 
#pmux_settings .phonemux_settings td:nth-child(6) {
	width: 70px;
}
#pmux_settings .phonemux_settings td:nth-child(7) {
	padding: 0px 5px 0px 20px;
}



select.workmode {
	width: 175px;
}


.ui-corner-flat {
/*	border: 0 !important;*/
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.dialog-tabs {
	width: 640px !important;
	height: 400px !important;
	padding: 0;
}

.dialog-tabs .ui-widget-header{
	background: transparent !important;
	border: none;
	border-bottom: 1px solid steelblue;
	border-radius: 0;
	margin-bottom: 1px;
}

.dialog-tabs .ui-tabs{
    padding: 0 !important;
    margin-top:40px;
    position:relative;
}
.dialog-tabs .ui-tabs .ui-tabs-nav{
    padding: 0 !important;
    position:absolute;
    margin: -32px -1px 0;
}
.dialog-tabs .ui-tabs-nav li { margin: 1px 1px 0 0 !important; }
.dialog-tabs .ui-tabs-nav li a {
	padding: 3px 6px !important;
	min-width: 75px;
	text-align: center;
}

.ui-dialog {
	overflow: visible !important;
}
.ui-dialog .ui-dialog-content {
	overflow: inherit !important;
}
button.ui-dialog-titlebar-close .ui-button-text {
	display: none;
}

.hidden_form_table {
	width: auto; /* 100%; */
}

.hidden_form_table input,
.hidden_form_table select,
.hidden_form_table textarea {
	box-sizing: border-box;
	resize: none;
	padding: 2px;
}

.hidden_form_table tr {
	border: none;
	vertical-align: middle;
}
.hidden_form_table td {
	border: none;
	padding: 2px 1px;
	margin: 0;
	vertical-align: middle;
}

form .comment {
	font-size: smaller;
	color: gray;
}

.hidden_form_table .chosen-container {
	margin: 1px 0 1px 0;
}
.hidden_form_table .chosen-container .chosen-results li {
	padding: 3px 4px !important;
}
.hidden_form_table .chosen-container-single .chosen-single {
	height: 18px;
	line-height: 18px;
	border-radius: 0;
}
.hidden_form_table .chosen-container-single .chosen-single div {
	top: -2px;
}


.chosen-container .chosen-results {
    max-height:120px !important;
}

#pmux_settings {
	height: calc(100% - 48px);
	padding: 0;
	border: 0;
}
#pmux_settings_buttons {
    height: 47px;
    line-height: 47px;
    background-color: lightsteelblue;
    padding: 0 20px;
    border-top: 1px solid steelblue;
}

#settings_restart.highlighted {
	background: #900;
	color: #ffc;
}

#settings_diagnose.highlighted {
	background: #009;
	color: #ffc;
}


#login {
	top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
	color: steelblue;
    line-height: 24px;
    font-size: 16px;
}

#login input {
	border: 2px solid steelblue;
    line-height: 24px;
    font-size: 16px;
    width: 150px;
	background: beige;
}

#login input:focus {
	box-shadow: 0px 0px 3px #fff;
}

#login button {
	width: 100%;
}

.view_table {
    border: 2px solid steelblue;
    border-collapse: collapse;
	width: 100%;
}
.view_table tr {
    background: lightsteelblue;
}
.view_table tr.end {
	background: white;
    color: grey;
    font-style: italic;
}

.view_table th {
    padding: 3px 5px;
    text-align: left;
    background: lightsteelblue;
    border: 1px solid steelblue;
    color: black;

}
.view_table tr td {
    padding: 3px;
    text-align: left;
    background: lightgray;
    color: black;
    border: 1px solid steelblue;
}



.view_table td.md5 {
	font-family: monospace;
	width: 320px;
}
.view_table td.date {
	font-family: monospace;
	width: 100px;
}

#address_mapping td {
	padding : 2px 5px;
}
#address_mapping button {
	width: 120px;
}

.controller_method {
	width: 170px;
}

red {
	color: red;
}

blue {
	color: blue;
}