﻿body {
}
 /* Navbar container */
.menu {
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
  display: inline-block;
}

/* Links inside the navbar */
.menu a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
}

.menubarselect {
  display: inline-block;
  font-size: 16px;
  vertical-align: top;
  padding: 2px;
  margin: 3px;
  border: 1px solid #777;
  text-decoration: none;
  background-color:rgba(0,0,0,0.6);
  color: white;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 10px 10px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 6000;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
} 


.ajaxBtn32 {
    display: inline-block;
	width:32px;
	height: 32px;
    line-height: 32px;
    padding: 0px;
	margin: 1px;
    padding-bottom: 4px;
    vertical-align: text-bottom;
    text-align : center;
	background: url("btn32.png") no-repeat 0 0;
}

.ajaxBtn32:hover{
	background-position: -32px 0;
	cursor: pointer;
}

.ajaxBtn32:active{
	background-position: -64px 0;
}

.ajaxBtn32:disabled{
	background-position: -96px 0;
}

.ajaxBtn32 img {
   display: inline-block;
   padding-bottom: 3px;
   vertical-align: middle;  
}

.ajaxlink{
    cursor: pointer;
    color: #003377;
}

.smallajaxlink{
    cursor: pointer;
    color: #003377;
    font-size: x-small;
    background-color: palegoldenrod;
}

/* Based on https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal2, only trivial modifications */
/* The Modal (background) */
.modal {
 font-family: Arial, Helvetica, sans-serif;
 display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 5px solid #250045;
  width: 60%;
  min-width:400px;
  max-width:900px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.modal-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: #f00;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #250045;
  color: white;
  min-height:36px;
}

.modal-header h2{
margin: 0;
padding: 0
}

.modal-body {padding: 16px;}

.panelcontent {
    height: 100%;
    width: calc(100% - 5px);
    overflow: auto;
}

form{
 /*   max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow:0 0 15px 4px rgba(0,0,0,0.8);
    padding: 15px;
    background-color: #fff;*/
}
 
.formfield{
	margin-top: 10px;
	margin-bottom: 10px;
}
 
.errormsg
{
	color: red;
}
 
fieldset
{
	display: block;
	width: 94%;
	margin: 0 0 3em 0;
	padding: 0 1em 1em 1em;
}
 
legend
{
		font: 80% Arial, Helvetica, sans-serif;
}
 
label
{
	display: block;
	vertical-align: middle;
	width : 90%;
	font: 100% Arial, Helvetica, sans-serif;
}
 
input[type=text] {
  padding:5px;
  border: 1px solid #aaa;
  box-shadow:0 0 15px 4px rgba(0,0,0,0.06);
}
 
textarea {
  padding:5px;
  border: 1px solid #aaa;
  box-shadow:0 0 15px 4px rgba(0,0,0,0.06);
}
 
/* based on form-style-3 at https://www.sanwebe.com/2014/08/css-html-forms-designs */
 
fieldset{
	border-radius: 5px;
	margin: 0px 0px 10px 0px;
	border: 1px solid #88dd88;
	padding: 20px;
	background: #ccffee;
	box-shadow: inset 0px 0px 15px #ccffcc;
}
fieldset legend{
	color: #55aa77;
	border-top: 1px solid #88dd88;
	border-left: 1px solid #88dd88;
	border-right: 1px solid #88dd88;
	border-radius: 5px 5px 0px 0px;
	background: #ccffee;
	padding: 0px 8px 3px 8px;
	box-shadow: -0px -1px 2px #F1F1F1;
	font-weight: normal;
	font-size: 12px;
}
 
input, select, textarea{
	border-radius: 3px;
	padding: 5px 8px 5px 8px;
	background: #EFFFF6;
}
 
input[type=file]{
    border: 1px solid #88aa88;
    width: 100%;
}
 
input[type=submit]{
    min-width: 30%;
    background: #ccc;
}
 
.required_indicator{
    color: red;
}

#filebrowser {
	border: 1px solid Black;
	width: 850px;
	height: 480px;
	overflow: auto;
	margin-left: 0px;
}

#dirbrowser {
	border: 1px solid #118009;
	width: 850px;
	height: 280px;
	overflow: auto;
	margin-left: 0px;
}

#filename
{
    border : 1px solid Black;
    width:850px;
    overflow: auto;
    margin-left:00px;
}
.filelink{
    cursor: pointer;
}