/* Minification failed. Returning unminified contents.
(93,17): run-time error CSS1062: Expected semicolon or closing curly-brace, found '/'
 */
html, body {
  height: 100%;
  padding:0px;
  margin:0px;
}

body { opacity: 0; }

.header {
  background-color: #555B5F;
  height: 50px;
}

.hide {
  visibility:hidden;
}

.sitename {
  font-size: xx-large;
  float:left;
  height: 40px;
  padding-left:10px;
}

@media screen and (max-device-width: 801px) {
  #right_column_header {
    display:none;
  }
}

#right_column_header {
  /*width: 460px;  changed width to auto to accomodate longer usernames.  Need to verify needed width of middle_column_header for Events*/
  width:auto;  
  float: right;
}

.header .logo {
  margin-top:2px;
  background-image: url(../images/logo.gif);
  background-size: contain;
  background-repeat: no-repeat;
  width: 200px;
  /*height: 40px;*/
  float:right;
  margin-top:8px;
}

.clear {
  clear:both;
}

#page {
  
}

#btnHelpMenu, #btnLanguage, #btnAbout {
    padding-top: 16px;
    padding-right: 10px;
    display: inline-block;
    text-shadow: none;
    font-weight: normal;
}

.lblLoggedInAs {
    padding-right: 10px;
    clear: both;
    text-shadow:none;
    display:inline-block;
    font-weight:normal;
}

#hlLogout {
    text-decoration:none;
    padding-right: 10px;
    clear: both;
    color: white;
    text-shadow:none;
    font-weight:normal;
}

    #hlLogout:hover, #btnHelpMenu:hover, #btnLanguage:hover, #btnAbout:hover {
        color: #f90;
        cursor: pointer;
    }

.leftNav
{
    width: 200px;
    /*height: 100%;*/
    background-color: #555b5f;
    position:absolute;
    /*left: 0;
    /*-180px;*/*/
}

#parentSearchKey {
    padding-top: 0.5em;
    padding-left:10px;
    text-shadow:none;
}

.contentPanel
{
    position:relative;
    margin-right: 200px;
    height: auto;
    
    left: 200px;
}

.bottomPanel
{
    width: 97%;
    height: 10px;
    position: absolute;
    left: 20px;
    text-align:right;
}

/*********** Login ***********/
#loginForm {
    width: 300px;
    margin: 0 auto;
    height: 150px;
}

.loginBoxes {
    display: inline-block;
    font-family: sans-serif;
    vertical-align: baseline;
    width: 150px;
}

.invalidLogin {
    color: red;
}
/****************************************/

/*********** Menu ***********/

.leftNav {
  
}

.leftNav ul {
    margin:0px;
    padding:0px;
    overflow:auto;
}
.leftNav li {
    list-style: none;
}
ul.top-level {
    background:#666;
}
ul.top-level li {
    /*border-bottom: #fff solid;
    border-top: #fff solid;
    border-width: 1px;*/
}
.leftNav a {
    color: #fff;
    cursor: pointer;
    display:block;
    height:25px;
    line-height: 25px;
    text-indent: 10px;
    text-decoration:none;
    width:100%;
}
.leftNav a:hover {
    /*text-decoration:underline;*/
    background: #f90;
}
.leftNav li:hover {
    background: #f90;
    position: relative;
}
ul.sub-level {
    display: none;
    margin-left: 4px;
}

li:not(.expanded) ul.sub-level {
  display: none;  
}

li.expanded {
    background: #f90 !important;    
}

li.expanded .sub-level  {
    background: #999;
    /*border: #fff solid;*/
    /*border-width: 1px;*/
    display: block;
}

.leftNav li.expanded {
  border-bottom: 1px #fff solid !important;
}

.menu-selected {
  background-color: #565656 !important;
}

#menu .menulist {
  display: none;
  position: absolute;
  background: white;
  right: 0px;
  top: 25px;
  min-width: 160px;
  padding: 10px; 
  opacity: 0.9;
}

/* Menu selector */
#menu .menulist .menuheader {
  border-bottom: solid 1px #e4e4e4;
  background: white;
  height: 20px;
}

#menu .menulist ul {
  list-style: none; 
  padding: 8px;
}

#menu .menulist li {
  border-bottom: solid 1px #e4e4e4;
  border-left: solid 1px #e4e4e4;
}
/****************************************/
html, body {

}

body {
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'DejaVu Sans Condensed', sans-serif;
  font-size: 12px;
  
}

.programnode {
  position: relative;
  top:0;
  left:0;
}

.clear {
  clear:both;
}

.hide {
  visibility:hidden;
}

.nodisplay {
  display:none;
}

button[disabled="disabled"] {
  opacity: 0.7;
}

button, input[type="button"] {
  cursor:pointer;
}


.ProgramHeader {
  font-size: 16px;
  font-weight: bold;
  height: 30px;
  padding-left: 10px;
  padding-top:1px;
  padding-bottom:5px;
}

/* Ikon för programinfo  */
#ProgramInfo {
  background-image:url(../images/appbar.information.circle.png);
  background-size: contain;
  background-repeat: no-repeat;
  float: right;
  height: 30px;
  width: 30px;
  margin: 1px;
  margin-right: 20px;
  margin-top: -4px !important;
}

#ProgramHelp {
  background-image:url(../images/appbar.question.png);
  background-size: contain;
  background-repeat: no-repeat;
  float: right;
  height: 30px;
  width: 30px;
  margin: 1px;
  margin-right: 20px;
    margin-top: -4px !important;
}

/* Ikon för editeringsknappen */
#EditForm {
  background-image:url(../images/appbar.settings.png);
  background-size: contain;
  background-repeat: no-repeat;
  float: right;
  height: 30px;
  width: 30px;
  margin: 1px;
  clear: right;
  margin-top: -4px !important;
}

/***********************************************************************************/
/* Kontroll knapparna högs upp i program för addera, ta bort, editera, sök osv.... */

#ControlButtons {
  /*float:left;*/
  margin-left: 30px;
}

  #ControlButtons > div {
    display: block;
  }

  #ControlButtons #Add {
    float: left;
    background-image: url(../images/appbar.add.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 1px;
    margin-left: 10px;
  }

#ControlButtons #Save {
  float:left;
  background-image: url(../images/appbar.save.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #Edit {
  float:left;
  background-image: url(../images/appbar.edit.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #Delete {
  float:left;
  background-image: url(../images/appbar.delete.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #Clear {
  float:left;
  background-image: url(../images/appbar.close.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #Search {
  float:left;
  background-image:url(../images/appbar.magnify.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

.ProgramHeader .btn:hover {
    opacity: .5; -webkit-filter: grayscale(100%) sepia(100%);
    cursor: pointer;
}

.ProgramHeader .btn:active {
    height: 27px !important;
}

#ControlButtons #Refresh {
  float:left;
  background-image:url(../images/appbar.refresh.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #PrevRecord {
  float:left;
  background-image:url(../images/appbar.arrow.left.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #NextRecord {
  float:left;
  background-image:url(../images/appbar.arrow.right.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;

}

#ControlButtons #Close {
  float:left;
  background-image:url(../images/appbar.arrow.up.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
}

#ControlButtons #Print {
    float:left;
    background-image:url(../images/appbar.printer.text.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 1px;
    margin-left: 10px;
}

#ControlButtons #Documents {
  float: left;
  /*background-image: url(../images/appbar.printer.text.png);
  background-size: contain;
  background-repeat: no-repeat;*/
  margin: 1px;
  margin-left: 10px;
  text-align: center;
  padding-top: 8px;
}

#ControlButtons #Filter {
  float: left;
  /*background-image: url(../images/appbar.printer.text.png);
  background-size: contain;
  background-repeat: no-repeat;*/
  margin: 1px;
  margin-left: 10px;
  text-align: center;
  padding-top: 8px;
}

#ControlButtons #Group {
  float: left;
  /*background-image: url(../images/appbar.printer.text.png);
  background-size: contain;
  background-repeat: no-repeat;*/
  margin: 1px;
  margin-left: 10px;
  text-align: center;
  padding-top: 8px;
}

#ControlButtons div{
    height: 30px;
    width: 30px;
    display: inline-block;
    margin-top: -4px !important;
    overflow: hidden;
    min-width: 10px;
}

@media only screen and (max-width: 1000px) {
  #ControlButtons #Group {
    display: none;
  }
}

@media only screen and (max-width: 970px) {
  #ControlButtons #Filter {
    display: none;
  }
}

@media only screen and (max-width: 950px) {
  #ControlButtons #Documents {
    display: none;
  }
}

@media only screen and (max-width: 920px) {
  #ControlButtons #Print {
    display: none;
  }
}


/***********************************************************************************/
/***********************************************************************************/
#WorkSpaceContainer {
  overflow: auto;
  position:relative; /* Behövs för att få position: absolute children att hanter scroll i WorkSpaceContainer. */
  white-space:nowrap; /* Denna tillsammans med att kolumnerna har display: inline-block gör att kolumnerna inte flyttas ner om dom inte får plats i sidled. */
}

#WorkSpaceFixFields {
  float:left;
  overflow:hidden;
}

#DesignWorkSpace {
  float:left;
  /*width: auto;*/
  height: 100%;
  width: 100%;
  overflow: auto; 
}


#WorkSpaceNodes ul {
  padding:0px;
  margin:0px;
  /*overflow:auto;*/
}

#WorkSpaceNodes li {
  list-style: none;
  display: inline-block;
  background:#666;
  margin-right: 2px;
  padding-right: 15px;
}

#WorkSpaceNodes a {
    color: #fff;
    cursor: pointer;
    display:block;
    height:22px;
    line-height: 20px;
    text-indent: 10px;
    text-decoration:none;
    width:100%;
}

/*#FixFields { position: relative; top:0px; left: 0px; width: 0px;}*/


#WorkSpaceFixFields > .column-container {
  min-width:0px !important;
  width: 0px !important;
  min-height: 0px !important;
  height: 0px !important;
}

.FreePositioned {
  position: absolute;  /* Måste vara absolut eftersom den alltid är relativ till parent, relative tar hänsynt till andra childobjects */
  z-index: 97;
}

.context-menu-list {
  z-index:1001!important;
}

/*.ui-widget {
    z-index:98!important;
}*/

.ui-widget-header {
  background: #555b5f;
  color: white;
  text-shadow: 2px 2px 2px rgba(150, 150, 150, 1);
  border:0px;
}

.ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; height: 20px !important;
    -moz-box-shadow: 4px 5px 4px #C6C6C6 inset;
    -webkit-box-shadow: 4px 5px 4px #C6C6C6 inset;
    box-shadow: 4px 5px 4px #C6C6C6 inset;
    background: #EFEFEF !important; 
}
.ui-sortable-placeholder * { visibility: hidden; }


.column-container { border-right: 1px dotted black; min-height: 100px; width: 300px; padding-bottom: 100px; min-width: 30px; /*float:left;*/ display:inline-block; vertical-align:top; }
.column { width: 100%; min-height: 100px; margin-right:20px; position:relative; }

.field-container { display: table; table-layout: fixed; white-space: nowrap; height: 21px; }
.field-container input { display: table-cell; width: 100%; box-sizing:border-box;}
.field-container select { display: table-cell; width: 100%; height: 21px; box-sizing:border-box;}
.field-container textarea { display: table-cell; width: 100%; overflow:scroll; }
.field-container input[type=checkbox] { display: table-cell; width: 10px; margin-top: 2px; margin-left:0px;}
.field-container label { display: table-cell; width: 1px; padding-right:15px; vertical-align: top; padding-top:4px;  }

.field-container #goToProgTriangle {display: table-cell; padding-bottom:4px; padding-left:0px; width: 1px; vertical-align: middle;}

.field-containerhidden {
    visibility: hidden;
}
.field-containerhiddenupp {
    height: 1px;
}
.button-container { display: table; table-layout: fixed; white-space: pre; height: 10px; margin-top: 2px;}


.ui-widget .button-container button {
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    font-family:Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: normal;
    color: rgb(0, 0, 0);
    border: 2px outset;
    padding-top: 1px;
    padding-bottom:1px;
    padding-left: 6px;
    padding-right: 6px;
    background-color:rgb(221, 221, 221);
    border-color: rgb(221, 221, 221);
    box-sizing: border-box;
    -webkit-appearance: push-button;
}

/*.ui-widget .button-container button:hover {
    background-color:rgb(218, 218, 218);
    border-color: rgb(153, 153, 153);
    color: rgb(33, 33, 33);
}*/

.groupwindow { width: 300px; height: 150px; padding: 0.5em; overflow:hidden; margin-bottom:5px;}
.groupwindow .groupHeader { text-align: center; margin: 0; }
.groupContent { min-height: 40px; padding:10px; }

.embeddedlist-container {  min-height: 10px; min-width: 100px; }
.embeddedlist { width: 100%; min-height: 10px; }

.properties-dialog label {
  width: 120px;
  display:inline-block;
  clear: left;
}

.properties-dialog input[type=text] {
  width: 300px;
}

.properties-dialog select {
  width: 304px;
  height:22px;
}


.dialog-error {
  color:darkorange;
  float:right;
}

.database-fields-dialog {
  display: flex;
  width: 100%;
  max-height: 900px;
}

.database-fields-dialog fieldset {
  width: 100%;
  overflow: hidden;
}

.database-fields-dialog fieldset div {
  overflow: auto;
  height: 99%;
}

.database-fields-dialog #tables {
  min-width: 100px;
}

.database-fields-dialog #columns {
  /*float: left;
  min-width: 200px;
  height: 400px;*/
  min-width: 100px;
}

input[readonly="readonly"]
{
    background-color:#CCCCCC;
}

.selectable tbody > tr:hover { background: #CCCCCC; }
.selectable .selected { background: #CCCCCC; color: white; }

.selectable li:hover { background: #CCCCCC; }
/*.selectable .ui-selecting { background: #999999; }*/
.selectable .ui-selected { background: #CCCCCC; color: white; }
.selectable { list-style-type: none; margin: 0; padding: 0; cursor: default; }
.selectable li { margin: 3px; padding: 0.4em; }



.search {
  border-color: #0a0ec2;
  box-shadow: 0 0 10px #0a0ec2;
}

.scroll {
  overflow: scroll;
}



#script {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
}

#editor {
  position: absolute;
  top: 50px;
  padding: 5px;
  right: 0;
  bottom: 0;
  left: 0;

}

.readonly{
    background-color: #CCC;
}

/* jqGrid anpassningar */
.ui-state-highlight {
  border: rgba(254, 152, 0, 0.5) !important;
  background: rgba(254, 152, 0, 0.2) !important;
}

.ui-jqgrid tr.jqgrow td {
white-space:nowrap;
}

/* Fixes a bug in firefox that made the columns extend further than the list */
.ui-jqgrid {
    overflow: hidden;
}

/*.loadingfield {
    display: none;
}*/

.editor-view {
    height:100%;
}

/* Remove border on the tabcollection */
.tabcollection.ui-widget-content, .tabcollection.ui-widget.ui-widget-content {
  border: 0px solid #fff !important;
}

/* -----------------------------------------------------------------*/
/* Tabs design overloaded jQuery design                             */
.ui-tabs-tab a {
  text-decoration: none;
}
.ui-tabs-tab {
  background-color: #ffffff !important;
  color: RGBA(0,0,0, 0.8) !important;
}
.ui-tabs .ui-tabs-panel {
  padding: 10px 5px 0px 0px;
}
.ui-tabs-tab .ui-tabs-active {
  background-color: #b0adad !important;
}
.ui-tabs :focus {
  outline:none;
}
.ui-tabs .ui-tabs-nav li {
  border-bottom-width: 1px;
  margin: 2px -.2em 0 0;
  background-color: #e4e4e4!important;
  z-index: 1;  
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
  border-bottom-width: 0px;
  z-index: 10;  
  margin: 0px -.2em -3px 0;
  color: black;
  padding-bottom: 5px;
  background-color: #ffffff!important;
}
.ui-state-active {
  border: 0px !important;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
  color: black;
  font-weight: bold;
}

/* Handle color on main program tabs when entering add or edit mode */
.ui-tabs .ui-tabs-nav li.ui-tabs-active.formadd {
  background-color: rgba(173, 251, 193, 1)!important;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active.formedit {
  background-color: rgba(251, 251, 173, 1)!important;
}

.ui-datepicker {
    z-index: 99!important;
}

.docbuttonsxlsx {
  float:left;
  background-image:url(../images/excel.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsxls {
  float:left;
  background-image:url(../images/excel.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonscsv {
  float:left;
  background-image:url(../images/excel.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsdocx {
  float:left;
  background-image:url(../images/word.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsdoc {
  float:left;
  background-image:url(../images/word.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonspdf {
  float:left;
  background-image:url(../images/pdf.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsoutlook {
  float:left;
  background-image:url(../images/outlook.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsjpg .docbuttonsjpeg {
  float:left;
  background-image:url(../images/jpeg.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonspng {
  float:left;
  background-image:url(../images/png.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsgif {
  float:left;
  background-image:url(../images/gif.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
.docbuttonsbmp {
  float:left;
  background-image:url(../images/bmp.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 1px;
  margin-left: 10px;
  cursor:pointer;
}
/* -----------------------------------------------------------------*/
/* -----------------------------------------------------------------*/


/* -----------------------------------------------------------------*/
/* Scrollable table, set class scroll on table */
/* -----------------------------------------------------------------*/
table.scroll {
  /* width: 100%; */ /* Optional */
  /* border-collapse: collapse; */
  /*border-spacing: 0;*/
  /*border: 2px solid black;*/
}

  table.scroll tbody,
  table.scroll thead {
    display: block;
  }

  table.scroll tbody {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
/* -----------------------------------------------------------------*/

