/* Place your customized styles for the application below */
/* .content-wrapper {
    height: 100%;
}
.main-content-col {
    height: 100%;
} */

body,
html {
    height: 100%;
}
h3, h4 {
    font-weight: 600;
}
/* td, th {
    padding: 5px;
} */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    /*or use calc(100vh - header_height)*/
    margin-bottom: 0px;
}
/* nav.nav-center ul {
    text-align: center;
}
nav.nav-center ul li {
    display: inline;
    float: none;
}
nav.nav-center ul li a {
    display: inline-block;
} */
/* .rims-module-row {
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
} */
.rims-module-row h4 {
    text-align:center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    background-color: #114090;
}
.sidebar-col {
    border-left: 1px solid #dddddd;
}
td, th, .tablesorter-header-inner {
    font-size: 13px;
}

.nav-wrapper {
    background-color: #114090;
}
.header-row {
    border-bottom: 1px solid #dddddd;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fcfcfc;
    margin-bottom: 0px;
}
.page-title {
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 600;
}
.btn {
background-color: #114090;
}
.btn,
.btn:hover {
    box-shadow: none;
}
.collapsible {
    box-shadow: none;
}
.form-row {
    background-color: #eee;
    border-bottom: 1px solid #dddddd;
    padding-top: 12px;
}
.select-wrapper input.select-dropdown,
.select-wrapper input.select-dropdown:focus,
.select-wrapper input.select-dropdown:active,
input:not([type]),
input:not([type]):focus,
input:not([type]):active,
input[type="text"],
input[type="text"]:focus,
input[type="text"]:active,
input[type="email"]:not(.browser-default),
input[type="email"]:not(.browser-default):focus,
input[type="email"]:not(.browser-default):active,
input[type=password]:not(.browser-default),
input[type=password]:not(.browser-default):focus,
input[type=password]:not(.browser-default):active,
input[type=text]:not(.browser-default):not([disabled]),
input[type=text]:not(.browser-default):not([disabled]):focus,
input[type=text]:not(.browser-default):not([disabled]):active,
input[type=number]:not(.browser-default):not([disabled]),
input[type=number]:not(.browser-default):not([disabled]):focus,
input[type=number]:not(.browser-default):not([disabled]):active,
textarea:not(.browser-default),
input[type=month]
{
    background-color: white;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding-left: 5px;
    padding-right: 5px;
}
label:not(.active) {
    padding-left: 5px;
    padding-right: 5px;
}
input:not([type]),
input:not([type]):focus,
input:not([type]):active,
input[type="email"],
input[type="email"]:focus,
input[type="email"]:active,
input[type="email"]:not(.browser-default),
input[type="email"]:not(.browser-default):focus,
input[type="email"]:not(.browser-default):active,
input[type=text]:not(.browser-default),
input[type=text]:not(.browser-default):focus,
input[type=text]:not(.browser-default):active,
input[type=number]:not(.browser-default),
input[type=number]:not(.browser-default):focus,
input[type=number]:not(.browser-default):active,
input[type=password]:not(.browser-default),
input[type=password]:not(.browser-default):focus,
input[type=password]:not(.browser-default):active,
input[type=month]
{
    max-width: 100%;
    box-sizing: border-box;
}
input[type=month] {
    display:block;
    width: 100%!important;
    line-height: 40px;
    position: relative;
}

input[type="month"]:after {
    content:'';
    color: #555;
    padding: 0 5px;
}
input[type="month"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
}


input[type="month"]::-webkit-inner-spin-button {
    z-index: 1;
}


 input[type="month"]::-webkit-clear-button {
     z-index: 1;
 }
input[type=submit] {
    color:white!important;
}
.select-wrapper .caret {
    z-index: 1;
}
form .btn,
form .btn-large,
form .btn-small,
form .btn-flat {
    height: 45px;
    line-height: 45px;
}
.file-field {
    border: 2px dashed #ddd;
}
.action-buttons {
    text-align:right;
}
.tablesorter-materialize tfoot td, .tablesorter-materialize tfoot th, .tablesorter-materialize thead td, .tablesorter-materialize thead th {
    background-color:transparent;
}
.tablesorter-materialize .tablesorter-filter-row, .tablesorter-materialize .tablesorter-filter-row td {
    background-color:transparent;
}
tbody td, tfoot td, tbody th {
    border-left: 1px solid #ddd;
}
tbody td:last-of-type, tfoot td:last-of-type, tbody th:last-of-type {
    border-right: 1px solid #ddd;
}
tbody, tfoot {
    border-top: 1px solid #ddd;
}
tfoot tr {
    border-top: 1px solid #ddd;
}
tfoot th {
    padding-top: 15px!important;
}
tbody tr:last-of-type {
    border-bottom: 1px solid #ddd;
}
/* table {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
} */
tfoot tr, thead tr {
    border-bottom: 0px;
}
.select-wrapper * { transition: none !important; transform: none !important; }


@media all and (max-width: 768px) {
    body {
        overflow-x:hidden;
    }
    .main-area {
      display: flex;
      flex-direction: column; /* Stack on top */
    }
    .sidebar-col {
        order: 2;
    }
    .main-content-col {
      order: 1; /* Go down, bring Box B up */
    }
    .action-buttons {
        display:flex;
        flex-direction: column;
        text-align: center;
    }
    .action-buttons > * {
        margin-top: 10px;
    }
    .form-row {
        display: flex;
        flex-direction: column;
    }
    .form-row > * {
        width: 100%!important;
    }
    .form-row > form > * {
        width: 100%!important;
    }
    .content-wrapper .row > .col {
        width: 100%;
    }
    button {
        margin-top: 10px;
    }
    .residuals-title {
        display:none;
    }
    table#residuals {
        display: none;
    }

}
/* REQUIRED CSS: change your reflow breakpoint here (35em below) */
@media all and ( max-width: 768px ) {

    /* uncomment out the line below if you don't want the sortable headers to show */
    /* table.ui-table-reflow thead { display: none; } */
  
    /* css for reflow & reflow2 widgets */
    .ui-table-reflow td,
    .ui-table-reflow th {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      float: right;
      /* if not using the stickyHeaders widget (not the css3 version)
       * the "!important" flag, and "height: auto" can be removed */
      width: 100% !important;
      height: auto !important;
    }
  
    /* reflow widget only */
    .ui-table-reflow tbody td[data-title]:before {
      color: #469;
      font-size: .9em;
      content: attr(data-title);
      float: left;
      width: 50%;
      white-space: pre-wrap;
      text-align: bottom;
      display: inline-block;
    }
  
    /* reflow2 widget only */
    table.ui-table-reflow .ui-table-cell-label.ui-table-cell-label-top {
      display: block;
      padding: .4em 0;
      margin: .4em 0;
      text-transform: uppercase;
      font-size: .9em;
      font-weight: 400;
    }
    table.ui-table-reflow .ui-table-cell-label {
      padding: .4em;
      min-width: 30%;
      display: inline-block;
      margin: -.4em 1em -.4em -.4em;
    }
    /* custom styles for rims */
    .ui-table-reflow tbody td[data-title]:before {
        text-align:left!important;
    }
    td[data-title] {
        text-align:left!important;
        display:grid;
        grid-template-columns: 1fr 1fr;
    }
    /* hide filters */
    /* .tablesorter-filter-row {
        display:none;
    } */
    /* hide sorts */
    .tablesorter-headerRow {
        display:none;
    }
  
  } /* end media query */
  
  /* reflow2 widget */
  .ui-table-reflow .ui-table-cell-label {
    display: none;
  }

    #notification_counter {
        display: block;
        position: absolute;
        width: 15px;
        height: 15px;
        font-size: 10px;
        background-color: #ff6f00;
        color: white;
        line-height: 15px;
        text-align: center;
        top: 20px;
        border-radius: 50%;
        font-weight: 700;
    }