/* Common CSS between menu system & reports */

@media print{
  footer {display: none;}
  a { color: black; }
}

@media screen{
  /* --------------------------------------------------------------------------------
   STANDARD
   --------------------------------------------------------------------------------*/
  html,body {
    font-family: "Open Sans";
    font-size: 1.0em;
    font-weight: 200;
    margin-top: 0px;
    padding-top: 0px;
  }

  a { color: black; }

  .tom-select {
    width: 100% !important;
  }

  .ts-control {
    white-space: nowrap;
    overflow-x: auto;
  }
  
  .ts-dropdown {
    min-width: 100% !important;  /* or a fixed value like 300px */
  }
  
  /* --------------------------------------------------------------------------------
   FLASH
   --------------------------------------------------------------------------------*/
  .notice{
    position: absolute;
    top: 25px;
    left: 0px;
    width: 100%;
    margin-left: 225px;
    font-weight: bold;
    background: green;
    color: white;
  }
  .error{
    position: absolute;
    top: 25px;
    left: 0px;
    width: 100%;
    font-weight: bold;
    background: red;
    color: white;
  }

  /* --------------------------------------------------------------------------------
   CONTROL NAV
   --------------------------------------------------------------------------------*/
  .nav_padding_right { padding-right: 225px;}

  .controls {
    position: fixed;
    font-weight: bold;
    top: 0;
    left: 225px;
    z-index:9;
    width: 100%;
    height: 25px;
    background: #3257a8;
    color: white;
  }
  
  .controls_inner {
    margin-left: auto;
    margin-right: auto;
  }
  
  .controls > a {
    text-decoration: none;
    font-size: 1.1em;
    color: white;
  }

  .controls > a:hover { color: grey; }

  .control_nav {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    width: 120px;
  }

  .control_nav > a { color: black; }
  .control_nav > a:hover { color: grey; }
  
  .control_report {
    /* background: #333; */
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
  }

  .spacer { padding-top: 10px; }
  
  /* --------------------------------------------------------------------------------
   FONT
   --------------------------------------------------------------------------------*/
  .-font_bold { font-weight: bold; }
  .-font_small {font-size: 0.7em;  }
  .-float_left{ float: left; }
  .-float_right{float: right; }

  /* --------------------------------------------------------------------------------
   TABLES
   --------------------------------------------------------------------------------*/
  th,td {
    text-align: left;
    padding: 5px;
  }

  /* --------------------------------------------------------------------------------
   LOADINGS SCREEN
   --------------------------------------------------------------------------------*/
  .loading {
    padding-top: 350px;
    padding-left: 50px;
    font-size: 2em;
    text-align: center;
  }
  
  /* --------------------------------------------------------------------------------
   NAV (LEFT)
   --------------------------------------------------------------------------------*/
  .nav {
    position: fixed;
    padding-top: 0px;
    padding-left: 5px;
    background: #1f3568;
    color: white;
    left: 0;
    top: 0;
    width: 220px;
    height: 100%;
    font-size: 0.9em;
  }

  .nav_button {
    color: white;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px;
    margin-left: 5px;
    width: 190px;
  }

  .nav_button:hover { color: #ccc; }
  
  .rc {
    font-size: 1.5em;
    padding-top: 5px;
    padding-left: 5px;
  }
  
  .logo_rc {
    padding-top: 4px;
    padding-right: 8px;
  }

  /* --------------------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------------------*/
  .btn__common {
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    line-height: 30px;
    height: 30px;
    min-width: 120px;
    border: none;
    border-radius: 6px;
  }

  .btn__common:hover { filter: brightness(120%); }

  .btn__common_sm {
    color: white;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    font-size: 1em;
    width: 60px;
    text-align: center;
    border: none;
    border-radius: 6px;
  }

  .btn__common_sm:hover { filter: brightness(120%); }
  .btn__link{ text-decoration: none;  }

  .search_field {
    height: 22px;
    width: 270px;
    border: 2px solid grey;
    padding-top: 3px;
  }

  .btn__submit { background: #2ca01d; }
  .btn__modify { background: #9e6900; }
  .btn__cancel { background: #ce0000; }

  .button{
    float: left;
    width: 160px;
    height: 160px;
    color: white;
    text-align: center;
    padding-top: 60px;
    margin-right: 30px;
    margin-bottom: 30px;
  }

  .button:hover {   background: #3e86c8;}
  
  /* --------------------------------------------------------------------------------
   SCREENS
   --------------------------------------------------------------------------------*/
  .screen {
    padding-left: 10px;
    padding-right: 10px;
    color: white;
  }

  .screen__current {
    float: right;
    padding-right: 10px;
  }

  .screen__active { font-weight: bold; }
  
  .screen_item {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    width: 120px;
  }

  /* --------------------------------------------------------------------------------
   FORMS
   --------------------------------------------------------------------------------*/
  .form_link{ color: black; }
  
  .form_label_head {
    float: left;
    text-align: right;
    width: 120px;
    font-size: 2em;
    padding-right: 10px;
    padding-bottom: 5px;
  }

  .form_label {
    float: left;
    text-align: right;
    width: 120px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_label_s {
    float: left;
    text-align: right;
    width: 60px;
    padding-right: 10px;
    padding-bottom: 5px;
  }

  .form_input_head {
    float: left;
    width: 500px;
    font-size: 2em;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_xxxl {
    float: left;
    width: 850px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_xxl {
    float: left;
    width: 740px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_xl {
    float: left;
    width: 500px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_l {
    float: left;
    width: 380px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_xm {
    float: left;
    width: 150px;
    padding-right: 10px;
    padding-bottom: 5px;
  }

  .form_input_m {
    float: left;
    width: 90px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_s {
    float: left;
    width: 80px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  .form_input_xs {
    float: left;
    width: 40px;
    padding-right: 20px;
    padding-bottom: 5px;
  }

  /* --------------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------------*/
  footer {
    position: fixed;
    left: 225px;
    bottom: 0px;
    height: 25px;
    width: 100%;
    background: #3257a8;
    color: white;
  }

  footer > a{
    color: white;
    text-decoration: none;
  }

  footer > a:hover { color: grey; }

  /* --------------------------------------------------------------------------------
   FLOATS
   --------------------------------------------------------------------------------*/
  .float_left { float: left; }

  /* --------------------------------------------------------------------------------
   PADDINGS
   --------------------------------------------------------------------------------*/
  .-padding_left_10   { padding-left: 10px !important; }
  .-padding_left_20   { padding-left: 20px !important; }
  .-padding_bottom_20 { padding-bottom: 20px !important; }
}

/* --------------------------------------------------------------------------------
 LINKS
 --------------------------------------------------------------------------------*/
a {text-decoration:none !important;}

.shortcut {
  font-size: 8pt;
  font-style: italic;
  color: grey
}

/* --------------------------------------------------------------------------------
 FONTS
 --------------------------------------------------------------------------------*/
.mono{ font-family: monospace; }
strong{ font-weight: bold !important;}

.font_bold { font-weight: bold;}
.-font_italic {font-style: italic;}
.-font_bold {   font-weight: 600;}

.-font_blue { color: #193268;}
.-font_darkgrey{color: #333;}
.-font_grey {   color: grey;}

.-font_italic { font-style: italic; }

.-font_h-1 {    font-size: 2em;}
.-font_h0  {    font-size: 1.6em;}
.-font_h1  {    font-size:1.4em;}
.-font_h2  {    font-size:1.2em;}
.-font_h3  {    font-size: 1.0em;}
.-font_h4 {     font-size:0.6em;  color:#555;}

.-font_notes {  font-size: 1.1em;}

.-font_xsmall { font-size: 0.7em;}
.-font_small {  font-size: 0.8em;}
.-font_xmedium {font-size: 0.9em;}
.-font_medium { font-size: 1.2em;}
.-font_large {  font-size: 1.3em;}

/* --------------------------------------------------------------------------------
 TOOLTIPS
 --------------------------------------------------------------------------------*/
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  width: 400px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext { visibility: visible;}

/* --------------------------------------------------------------------------------
 ALIGNMENT
 --------------------------------------------------------------------------------*/
.-text_right { text-align: right; }
.-align_bottom {  padding-top: 25px;}
.-align_right {   text-align: right;}
.-align_justify { text-align: justify;}

/* --------------------------------------------------------------------------------
 FLOATS
 --------------------------------------------------------------------------------*/
.-float_left{ float: left;}
.-float_right{float: right;}
.float_right {float: right; }

/* --------------------------------------------------------------------------------
 PADDINGS
 --------------------------------------------------------------------------------*/
.-padding_top_8 {     padding-top: 8px !important;}
.-padding_top_10 {    padding-top: 10px !important;}
.-padding_top_20 {    padding-top: 20px !important;}
.-padding_top_30 {    padding-top: 30px !important;}
.-padding_top_40 {    padding-top: 40px !important;}
.-padding_top_60 {    padding-top: 60px !important;}
.-padding_top_90 {    padding-top: 90px !important;}
.-padding_top_250 {   padding-top: 250px !important;}

.padding_left_50 {  padding-left: 50px;}
.-padding_left_20 {   padding-left: 20px !important;}
.-padding_left_30 {   padding-left: 30px !important;}
.-padding_left_40 {   padding-left: 40px !important;}
.-padding_left_60 {   padding-left: 60px !important;}
.-padding_left_70 {   padding-left: 70px !important;}
.-padding_left_80 {   padding-left: 80px !important;}
.-padding_left_90 {   padding-left: 90px !important;}
.-padding_left_110{   padding-left: 110px !important;}
.-padding_left_120{   padding-left: 120px !important;}
.-padding_left_145{   padding-left: 145px !important;}
.-padding_left_160{   padding-left: 160px !important;}

.padding_right_10 { padding-right: 10px;}
.-padding_right_20{   padding-right: 20px !important;}
.-padding_right_40{   padding-right: 40px !important;}

.-padding_bottom_10 { padding-bottom: 10px !important;}
.-padding_bottom_20 { padding-bottom: 20px !important;}
.-padding_bottom_30 { padding-bottom: 30px !important;}
.-padding_bottom_60 { padding-bottom: 60px !important;}

/* --------------------------------------------------------------------------------
 MARGIN
 --------------------------------------------------------------------------------*/
.-margin_right_30 { margin-right: 30px;}
.-margin_right_60 { margin-right: 60px;}

/* --------------------------------------------------------------------------------
 PAGINATION
 --------------------------------------------------------------------------------*/
.digg_pagination {
  background: white;
  cursor: default;
  
  /* self-clearing method: */ }
  .digg_pagination a, .digg_pagination span, .digg_pagination em {
    padding: 0.2em 0.5em;
    display: block;
    float: left;
    margin-right: 1px; }
  .digg_pagination .disabled {
    color: #999999;
    border: 1px solid #dddddd; }
  .digg_pagination .current {
    font-style: normal;
    font-weight: bold;
    background: #2e6ab1;
    color: white;
    border: 1px solid #2e6ab1; }
  .digg_pagination a {
    text-decoration: none;
    color: #105cb6;
    border: 1px solid #9aafe5; }
    .digg_pagination a:hover, .digg_pagination a:focus {
      color: #000033;
      border-color: #000033; }
  .digg_pagination .page_info {
    background: #2e6ab1;
    color: white;
    padding: 0.4em 0.6em;
    width: 22em;
    margin-bottom: 0.3em;
    text-align: center; }
    .digg_pagination .page_info b {
      color: #000033;
      background: #6aa6ed;
      padding: 0.1em 0.25em; }
  .digg_pagination:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden; }
  * html .digg_pagination {
    height: 1%; }
  *:first-child + html .digg_pagination {
    overflow: hidden; }
