body {
  font-family: "Open Sans", sans-serif;
  background-color: #efefef;
  min-width: 865px;
  position: absolute;
  width: 100%;
  height: 100%;
}

h1 {
    font-size: 2em;
    margin-top: 0;
}

h2 {
    font-size: 1em;
    margin-top: 0;
}

h4 {
    font-size: 1em;
}

a {
  color: #009EE2;
}

a:hover {
  color: #009EE2;
}

form>table, .form-group>table {
  background-color: #efefef;
  border: none;
}

#id_understand {
  margin: 0 0 10px 5px;
}

.mat_logo {
  position: relative;
  left: -10px;
  top: -2px;
}

.mat_logo.login-logo {
  display: block;
  margin: auto;
  width: 160px;
  top: 2px;
}

.non-responsive-container
{
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 1600px;
}

.non-responsive-container-fixed {
    margin-top: 90px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    width: 100%;
    padding: 0 10px 0 10px;
    max-width: 1600px;
}

.non-responsive-container-fixed.extra-wide, .non-responsive-container.extra-wide {
  max-width: none;
}

.form-control.required {
	background-color: lightblue;
}

.form-horizontal label:before, .form-horizontal label:after {
    display: table;
    content: "";
    margin-bottom:9px;
}

.form-horizontal label:after {
    clear: both;
}

.form-horizontal .form-group {
  margin-left: 0;
}

ul.errorlist {
    color: red;
}

.error-container {
  position: relative;
  text-align: center;
}

.error-container>h1 {
  margin-top: 50px;
}

.image-container.error-image-container {
  top: 5px;
}

.error-actions-container {
  position: relative;
  margin: auto;
  margin-top: 40px;
}

.error-actions-container>p {
  text-align: left;
}

.error-actions {
  font-size: 20px;
  margin-top: 40px;
}

.error-actions-container>p>a.btn.btn-primary {
  margin-left: 10px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.error-actions-container>p>a.btn.btn-primary:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

@media (max-width: 904px) {
  .error-actions-container>p>a.btn.btn-primary {
    position: relative;
    margin-top: 10px;
    left: 50%;
    transform: translateX(-60%);
  }
}

.add_btn {
    float:right;
    margin: 20px 0 20px 0;
}

.btn.btn-primary.add_btn.add-question-btn {
  margin: 0 0 20px 15px;
  box-shadow: none;
}
.btn.btn-primary.add_btn.add-question-btn:hover {
  box-shadow: none;
}
.table-editor{
  display: block;
  overflow: visible;
  text-align: right;
}
.btn-bulk {
  margin: 10px 0 10px auto;
}

.nav_icon {
    display: block;
    position: relative;
    margin: auto;
    text-align: center;
    background-position: -30px 0;
}

.special {
  top: 1px;
}

.nav-item {
  position: relative;
  top: 5px;
}

.nav-tabs>li {
  top: 0;
}

.special-p {
  top: 6px;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
  border-color: #009ee2;
}

.navbar-inverse .navbar-nav>.active>a .nav_icon {
        background-position: 0 0;
}

.navbar-inverse .navbar-nav>.active>a .nav_icon2 {
    background-position: 0 -30px;
}

.navbar-inverse .navbar-nav>.active>a .nav_icon6 {
    background-position: 0 -120px;
}

.navbar-inverse .navbar-nav > .active > a .nav_icon7 {
    background-position: 0 -150px;
}

.nav_icon4 {
    background-position: -30px -60px;
}

.login_btn {
  position: relative;
  float: right;
  width: 169px;
  right: -17px;
  top: 4px;
  height: 55px;
  background-color: white;
  border-radius: 4px;
}

.institution-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 55px;
  width: 169px;
  border-radius: 4px;
}

.breadcrumb-dropdown {
  position: relative;
  left: -3px;
}

.panel-title>a {
  text-decoration: none !important;
}

.nav.navbar-nav {
  position: relative;
  width: 100%;
}

.open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
  background-color: transparent;
  border-color: transparent;
}

.panel-group .panel, .panel-heading {
  border-radius: 0;
}

.panel {
  box-shadow: none;
}

.panel-default>.panel-heading, .panel-default {
  background-color: transparent;
  border: none;
}

.panel-heading>.panel-title>a {
  padding-top: 7px;
  padding-bottom: 7px;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
  border-top: none;
}

.panel-group {
  margin-bottom: 0;
}

.panel-heading, .panel-body {
  padding: 0;
}

.panel-title>a {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  padding: 3px 10px;
}

.panel-body>a {
  display: block;
  width: 100%;
  font-size: 14px;
  padding: 3px 20px;
  color: #333333;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>li>a {
    text-align: center;
}

.nav_header {
    font-size: 1.4em;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
  background-color: transparent;
}

.graph rect {
  fill: steelblue;
}

.graph text {
  fill: white;
  font-size: 0.7em;
  text-anchor: end;
}

form.date_picker {
    margin: 20px 0 20px 0;
}

.compliance_content {
    height: 400px;
    overflow: scroll;
}

a.navbar-brand  {
    display: table;
    width: 150px;
    padding: 0;
    position: relative;
    top: 3px;
}

.report-logo.mat_logo {
  max-width: 266.66px;
}

/* WIDGETS SECTION */
.dashboard-widget {
  padding-right: 0;
  padding-left: 0;
}

.widget-signaturewidget {
  width: 50%;
}

.widget-signaturewidget>.graph-wrapper {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.widget-signaturewidget>.graph-wrapper>.widget-options {
  display: none;
}

.chart-container {
  position: relative;
  margin: auto;
}

.dashboard-widget.col-xs-8>.graph-wrapper>.chart-container>.chart {
  max-height: 330px;
  max-width: 663px;
}

.graph-wrapper-date {
  position: relative;
  top: 10px;
  border-top: 1px solid white;
  border-left: 1px solid white;
  background-color: #fafafa;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 7px 0 5px 7px;
  margin-bottom: 10px;
  z-index: 2;
}
.graph-wrapper-date.inline-form{
  display: inline-block;
  border: 0;
  margin: 5px 0 0 0;
  background-color: transparent;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  -webkit-box-shadow:  0 0 0 rgba(0,0,0,0);
  -moz-box-shadow:     0 0 0 rgba(0,0,0,0);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 0;
}

.graph-wrapper-date>.form-inline>* {
  margin-top: 5px;
}

.graph-wrapper {
  background-color: #fafafa;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-radius: 4px;
  padding: 10px;
  margin: 5px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.table-wrapper {
  position: relative;
  z-index: 1;
  overflow: auto;
  margin-top: 5px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  clear: both;
}
.table-wrapper.padBottom100{
  padding-bottom: 100px;
}
.table-wrapper table{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.top-scrollbar {
  height: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.top-scrollbar-fixed {
  position: fixed;
  top: 0;
  z-index: 1;
}

.top-scrollbar-content {
  height: 10px;
  background-color: transparent;
}

.widgets-num-1>.row>.dashboard-widget>.graph-wrapper {
  background-color: #efefef;
  box-shadow: none;
  border: none;
}

.widget-container.widgets-num-1>.row>.dashboard-widget>.graph-wrapper>.table-wrapper {
  position: relative;
  width: 100%;
}

.piechart {
    margin:0 auto;
    width: 600px;
    max-height:300px;
    overflow: hidden;
}

.full-height {
    height: auto;
    margin: 0 5px 0 5px;
}

.date-h1 {
    float: left;
    padding:8px 20px 0 10px;
    margin: 0;
}

.ward-h2 {
    float: left;
    padding:20px 40px 0 10px;
    margin: 0;
}

select#id_wards {
    margin-top: 15px;
    width: 170px;
    height: 37px;
}

.legend {
  position: relative;
  padding-bottom: 20px;
}

.widget-options {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 20px;
  z-index: 5;
}

.widget-options:dir(rtl) {
    left: 20px;
    right: unset;
}

.widget-options button {
    color: #a0a0a0;
}


.widget.audit-summary{
  width: 90%;
  clear: both;
  display: block;
  margin: 10px auto 10px 0;
}
.widget.audit-summary .col{
  display: block;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-flex-flow: row wrap;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
}
.widget.audit-summary .col .head, .widget.audit-summary .col .content{
  padding: 10px 20px;
}
.widget.audit-summary .col .head{
  font-weight: bold;
  font-size: 14px;
  background-color: #E2E2E2;
}
.widget.audit-summary .col .content{
  font-size: 18px;
  background-color: #F9F9F9;
}
.widget.audit-summary .col .forms .head, .widget.audit-summary .col .forms .content{
  text-align: center;
}
.widget.audit-summary .col .forms .content{
  font-size: 36px;
  font-weight: bold;
}
.widget.audit-summary .col .forms{
  flex-grow: 2;
}
.widget .audit-summary-info{
  font-size: 18px;
  font-weight: bold;
  margin: 10px auto 10px 0;
}

.ellipsis-head.table>thead:first-child>tr:first-child>th {
  min-width: 150px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis-head.table>thead:first-child>tr:first-child>th.narrow-cell {
  min-width: 60px;
  max-width: 80px;
}

.ellipsis-head.table>thead>tr>th, .ellipsis-head.table>tbody>tr>th, .ellipsis-head.table>tbody>tr>td {
  border: 1px solid #ddd;
  padding: 2px;
  vertical-align: top;
}

.ellipsis-head.table>tbody>tr>th {
  min-width: 60px;
  max-width: 80px;
}

.compliances {
  width: 35%;
  float: left;
  height: 30px;
}

.progress {
  width: 60%;
  height: 30px;
  margin: 0 24px 20px 0;
  float: right;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.widget-content.graph-wrapper .compliances-and-progress-wrapper {
  display: block;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.widget-content.graph-wrapper .compliances-and-progress-wrapper .compliances{
  display: block;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 50%;
  top: 0;
  float: none;
}

.widget-content.graph-wrapper .compliances-and-progress-wrapper .compliances .question-compliance-label{
  display: inline-block;
  padding: 8px 5px;
  margin: 0 4px 2px 0;
  top: 0;
}

.widget-content.graph-wrapper .compliances-and-progress-wrapper .progress{
  width: 50%;
  margin: 0 0 20px 0;
  position: relative;
  float: none;
}
.widget-content.graph-wrapper .compliances-and-progress-wrapper .progress span{
  position: absolute;
  top: 5px;
  left: 5px;
  color: #ffffff;
  text-shadow: 1px 1px 2px #212121;
}

.progress-bar {
  padding-top: 5px;
  font-size: 14px;
}

.progress-bar-success {
  background-color: #80bf31;
}

.progress-bar-warn {
  background-color: #ffa81f;
}

.progress-bar-danger {
  background-color: #ea3d2b;
}

.question-compliance-label {
  position: relative;
  top: 5px;
  padding: 5px 20px;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 400;
}

.label-success {
  background-color: #80bf31;
}

.label-warning {
  background-color: #ffa81f;
}

.label-danger {
  background-color: #ea3d2b;
}

.label-na {
  background-color: #9899A6;
}

.label-dms, .document-due-review {
  background-color: #FF8F31;
}

.label-observation {
  background-color: teal;
}

table {
    background-color: white;
    padding: 10px;
    border: 1px solid #DFDFDF;
}

.h1-auditors {
  position: relative;
  left: -10px;
}

li {
    list-style: none;
}

.options-div ul {
    height:300px;
    overflow-x: hidden;
    overflow-y: auto
}

ul.errorlist {
    padding: 0;
}

.pass_txt {
    padding-left: 20px;
}

.navbar-inverse {
    position: absolute;
    background-color: #009ee2;
    border-color: transparent;
    height: 68px;
    width: 100%;
    top: 0;
    min-width: 865px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.navbar-inverse .navbar-nav>.active>a {
    background-color: transparent;
    color: white;
    opacity: 1;
}

.navbar-inverse .navbar-nav>li>a {
  color: white;
    opacity: 0.6;
}

.navbar-nav>.active>a:hover {
    background-color: transparent !important;
}

#id_start_date, #id_end_date {
    width:100px;
}

#profession-selection {
    margin-left: 5px;
}

#hpsc-email {
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 15px;
}

#hpsc-email:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background-color: #009ee2;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-color: transparent;
}

.btn-primary:hover {
  background-color: #0087E2;
  border-color: transparent;
}

.shadowed {
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.shadowed:hover {
  position: relative;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.btn.btn-primary.add_btn {
  min-width: 100px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.btn.btn-primary.add_btn:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

a.btn.btn-primary {
    box-shadow: none;
    color: white;
    -webkit-transition: 0s;
    transition: 0s;
}

.audit_output_btn>.btn-group>a.btn.btn-primary {
  min-width: 115px;
}

.audit_output_btn>.btn-group>.btn-primary  {
  height: 33px;
}

a.btn.btn-primary:hover {
  box-shadow: none;
  top: 0;
}

a.btn.btn-primary.shadowed {
  margin-right: 10px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

a.btn.btn-primary.shadowed:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.btn.btn-danger.shadowed {
  margin-right: 10px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.btn.btn-danger.shadowed:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.input-group.btn.btn-success {
  max-width: 115px;
  left: 100px;
  top: -34px;
}

.nav {
  position: relative;
  top: 2px;
}

.multiselect.dropdown-toggle.btn.btn-default {
  margin-right: 2px;
  border-color: transparent;
  border: 1px solid #f0f0f0;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-transform: none;
  text-align:left;
  padding-right: 15px;
  height: 34px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.multiselect.dropdown-toggle.btn.btn-default .caret{
  position: absolute;
  top: 15px;
  right: 5px;
  margin: 0px;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  color: white;
  background-color: #c0c0c0;
  margin-right: 10px;
  border-color: #c0c0c0;
}
.btn.disabled:hover, .btn[disabled]:hover, fieldset[disabled] .btn:hover {
  border: 1px solid #f0f0f0;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  text-transform: none;
  background-color: #c0c0c0;
}

.customise-btn {
  position: relative;
  top: 10px;
  left: -10px;
}

.form-control[disabled] {
  background-color: transparent;
  border: none;
  box-shadow: none;
  cursor: not-allowed;
}

.form-control, #ical-url-input {
  position: relative;
  background-color: white;
  color: #202020;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  border: solid 1px #f0f0f0;
}

.form-control:hover {
  background-color: #f0f0f0;
}

#ical-url-input {
  background-color: white;
  color: #202020;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  border: solid 1px #cccccc;
}

.form-control[readonly], .form-control[readonly]:hover {
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.graph-wrapper-date>.form-inline>.form-group>.dropdown,
.graph-wrapper-date>.form-inline>.form-group>.form-group>.form-group>.form-control,
.graph-wrapper-date>.form-inline>.form-group>.form-group>.form-group>span>.btn-group {
  margin-right: 5px;
}

.form-horizontal .control-label {
  text-align: left;
  position: relative;
  bottom: 7px;
  margin: 0;
}

.control-label {
  margin: 25px 0 0 0;
}

.control-label>.btn {
  position: relative;
  float: left;
}

.form-control[disabled]:hover {
  background-color: transparent;
}

.form-horizontal .form-group .panel-default .panel-heading button[data-target='#auditor-forms-all']{
  margin-left: calc(20% + 15px);
}
.form-horizontal .form-group .panel-default .panel-body#auditor-forms-all{
  margin-left: calc(20% + 15px);
}

.btn-group.auditor-btns {
  margin: 10px 0;
  float: left;
}

.btn-group .btn+.btn{
  margin-left: 0;
}

.btn-default {
  margin-right: 10px;
}

.btn-group>.btn-default {
  margin-right: 0;
}

.edit-column {
  min-width: 96px;
}

.urloverflow {
  overflow-wrap: anywhere;
}

.btn.btn-default.multiselect-clear-filter {
  box-shadow: none;
  color: #d0d0d0;
  background-color: transparent;
  min-width: 40px;
  margin-right: 0;
}

.has-success .form-control, .has-success .form-control:focus {
  border-color: #f0f0f0;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.has-success .input-group-addon {
  border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
}

label.checkbox, label.radio {
  color: #202020 !important;
}

.nav>li>a:hover, .nav>li>a:focus {
  background-color: rgba(0, 158, 226, 0.1);
}

.modal-footer {
  text-align: left;
}

.input-group>input {
  background-color: transparent;
  border: none;
  padding: 0px;
  min-width: 50px;
}

.calendar-link>input {
  padding-left: 5px;
  top: 1px;
}

input[type=file] {
  background-color: white;
  width: 100%;
  border-radius: 4px;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  height: 34px;
  padding: 8px 0 0 8px;
  min-width: 210px;
}

.input-group.search-box {
  max-width: 300px;
  float: left;
  margin: 20px 0 10px 10px;
}
.lean .input-group.search-box{
  margin: 10px;
}

.input-group.search-box>input {
  border-right: 1px solid #cccccc;
}

.input-group-addon.glyphicon.glyphicon-search {
  position: relative;
  top: 0;
}

.input-group-addon {
  border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
}

#searchInput, .form-control.multiselect-search {
  background-color: white;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  padding-left: 10px;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
}

/* Responsive iframes in help section */
.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.iframe-container>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Side navigation bar */

.well.nav.nav-list {
  background-color: #fafafa;
  border-top: solid 1px white;
  border-left: solid 1px white;
  border-bottom: solid 1px #fafafa;
  border-right: solid 1px #fafafa;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
}

.card {
  background-color: #fafafa;
  border-top: solid 1px white;
  border-left: solid 1px white;
  border-bottom: solid 1px #fafafa;
  border-right: solid 1px #fafafa;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 8px 8px 32px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
.card.flow-grid{
  position: relative;
}
.card.flow-grid h5{
  font-size: 1.4em;
}
/* ---- Grid Flow columns ----*/
.card.flow-grid form .form-group.block-wide{
  display: block;
  width: 100%;
  column-span: all;
  margin-top: 50px;
  border-top: 5px solid #e3e3e3;
}

@media (min-width: 700px) {
  .card.flow-grid form{
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
  .card.flow-grid form div.form-group{
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 0px !important;
  }
  .card.flow-grid form div.form-group .control-label{
    clear: both;
    overflow: auto;
  }
  .card.flow-grid form .fixed-right-top{
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
@media (max-width: 700px) {
    .card.flow-grid form div.form-group > div{
      clear: both;
    }
    .card.flow-grid form .fixed-right-top{
      margin-top: 10px;
    }
    .card.flow-grid form .form-group.block-wide .multiselect-native-select .dropdown-menu li a label{
      padding: 3px 20px 3px 40px;
      text-overflow: ellipsis;
    }
}
@media (max-width: 1000px) {
  .card.flow-grid form .form-group.block-wide .multiselect-native-select .open>.dropdown-menu{
    bottom: 0;
  }
}

/*--------------- IE 9 -------------*/
@media all and (min-width:0\0) and (min-resolution:0.001dpcm) {
  .card.flow-grid form div.form-group{
    width: 50%;
    float: left;
  }
}

.modal-dialog>.card {
  padding: 20px 20px 0px 20px;
}

.col-md-3, .col-sm-3 {
  padding-left: 0;
}

/* Report from email */

 .barchart {
     width:330px;
     margin:0 auto;
 }

.report_graph {
    background-color: #ffffff;
    padding:20px;
}

.report_graph_txt {
    text-align: left;
}

.report_graph_pie {
    margin:0 auto;
}

body.report_public h3 {
    font-size: 1.3em;
    line-height: 1.2em;
    margin: 0 0 15px 0;
}

.report_graph h1 {
    font-size: 1.8em;
    color: #0844a5;
    padding-right: 50px;
}

.report_graph_comp {
    height:300px;
}

.report_graph_txt {
    min-height: 300px;
}

.report_graph_txt_large {
    height:450px;
}

.compliance_img {
    margin-bottom: 10px;
    text-align: center;
}

.compliance_img img {
  width: 190px;
}

.no-audits-image {
  position: relative;
  display: block;
  margin: auto;
  max-width: 1200px;
}

.container{
    margin: 0px;
    width: 100%;
}

.row_divide {
    margin-bottom: 10px;
}

.meg_grey_logo {
    text-align: center;
}

body.report_public {
    padding-top: 10px;
}

.print_btn {
    float: left;
}

.graph-wrapper-print {
    max-width: 550px;
}

.report_print_logo img {
    padding-left: 280px;
}

.report_print_logo {
    float: right;
    padding: 0 10px 10px 0;
}

.graph-wrapper thead {
    background-color: #7E7E7E;
    color:white;
}

.title-and-toolbar-container {
  position: relative;
  width: 100%;
  z-index: 5;
}

.audit_title {
  position: relative;
  float: left;
}

.audit_output_btn {
  position: relative;
  float: right;
  z-index: 6;
}
.audit_output_btn .btn-group .btn{
  height: 33px;
}

.junior-page>.audit_output_btn {
  top: 0;
}

.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.form-inline {
  position: relative;
  top: -5px;
}

.card-form-groups .form-group:last-child {
    margin-bottom: 0;
}

.calendar-form-inline.form-inline {
  top: 0;
}

.compliance_img {
    margin-bottom: 10px;
    margin-top: 20px;
}


#compliance-rate {
    text-align: center;
    font-size: 42px;
    color: #105081;
    line-height: 40px;
    font-weight: bold;
}
.compliance-rate {
    text-align: center;
    font-size: 42px;
    color: #105081;
    line-height: 40px;
    font-weight: bold;
}


.widget.audit-summary.compact-styling{
  text-align: center;
}
.widget.audit-summary.compact-styling .row{
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: block;
  width: 100%;
}

.compact-bad {
  text-align: center;
  font-size: 60px;
  color: #F90B0D;
  line-height: 45px;
  font-weight: bold;
  padding-bottom: 10px;
}

.compact-fine {
  text-align: center;
  font-size: 60px;
  color: #ff8f31;
  line-height: 45px;
  font-weight: bold;
  padding-bottom: 10px;
}

.compact-excellent {
  text-align: center;
  font-size: 60px;
  color: #41B70D;
  line-height: 45px;
  font-weight: bold;
  padding-bottom: 10px;
}

.observation-count {
    text-align: center;
    font-size: 60px;
    line-height: 45px;
    font-weight: bold;
    padding-bottom: 10px;
}

.compact-single-stat {
    text-align: center;
    font-size: 16px;
    font-size: calc(16px + 2.25vw);
    font-weight: bold;
    padding-bottom: 10px;
    line-height: 1;
}
.compact-time-tracking {
    text-align: center;
    font-size: 16px;
    font-size: calc(16px + 1.15vw);
    font-weight: bold;
    padding-bottom: 10px;
    line-height: 1;
}
.compact-single-stat-symbol {
    text-align: center;
    font-size: 16px;
    font-size: calc(14px + 1vw);
    font-weight: bold;
    padding-bottom: 10px;
}
@media screen and (min-width: 700px) and (max-width: 1000px){
  .compact-single-stat {
    text-align: center;
    font-size: 16px;
    font-size: calc(16px + 1vw);
    font-weight: bold;
    padding-bottom: 10px;
    line-height: 1;
  }
  .compact-time-tracking {
    text-align: center;
    font-size: 16px;
    font-size: calc(16px + .5vw);
    font-weight: bold;
    padding-bottom: 10px;
    line-height: 1;
  }
  .compact-single-stat-symbol {
    text-align: center;
    font-size: 16px;
    font-size: calc(14px + 0.5vw);
    font-weight: bold;
    padding-bottom: 10px;
  }
}

.navbar-inverse .navbar-nav>li>a:hover {
    background-color: transparent;
    color: white;
    opacity: 1;
}

.margin-bottom-10percent {
    margin-bottom: 10%;
}
.white-box-compliance {
    background-color: #ffffff;
}

.last-row {
    margin-bottom: 30px;
}

.barrier-graph {
    min-height: 408px;
}

.white-text {
    color: white;
}

.compliance_number {
    font-size: 60px;
    color: #464646;
    padding-right: 20px;
}

.percentage-text {
    float: right;
    margin: 0;
}

.table-bordered {
    background-color: white;
    max-width: none;
}

/*---------- Table Elipsis ----------*/
.ellipsis{
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  text-decoration: underline;
}
.ellipsis-multi{
  display: block;
  width: 100%;
  white-space: initial;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.ellipsis.size-250{
  max-width: 250px;
}
.ellipsis.size-500{
  max-width: 500px;
}
.ellipsis.showAll{
  white-space: initial;
  overflow: auto;
  text-overflow: initial;
  max-width: initial;
  text-decoration: initial;
  -webkit-line-clamp: initial;
}
.ellipsis-multi.showAll{
  white-space: initial;
  overflow: auto;
  text-overflow: initial;
  max-width: initial;
  text-decoration: initial;
  -webkit-line-clamp: initial;
}

.audit-filter {
  position: relative;
  padding: 0 0 15px 0;
  margin: 5px 0 5px 0;
  float: left;
  width: 100%;
}

.form-group {
  position: relative;
}

.pvc_pie {
    height: 320px;
}

.subobservation_issue {
    margin-left: 4em;
}

.issue-handler-forms {
  position: relative;
  width: 81%;
  left: 19%;
  top: -20px;
}

.image-container {
  position: relative;
  margin: auto;
  height: 700px;
  width: 700px;
  top: 160px;
  margin-bottom: 100px;
}

.empty-tab-image {
  top: 40px;
  margin-bottom: 80px;
}

.issues-container {
  top: 20px;
}

.image-container>img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 700px;
}

.widget-image-container {
  width: 190px;
  height: 190px;
  top: 40px;
}

.speech-bubble {
	position: absolute;
  top: 150px;
  left: 130px;
  padding: 30px;
  max-width: 300px;
	background: #009ee2;
	border-radius: 50%;
  box-shadow: 10px 10px 30px 5px rgba(0, 0, 0, 0.2);
}

.speech-bubble:after {
	content: '';
	position: absolute;
	right: 8px;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #009ee2;
	border-right: 0;
	margin-top: -20px;
	margin-right: -20px;
}

.speech-bubble-text {
  margin-top: 15px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

h1.speech-bubble-text {
  margin-top: 0;
}

.error-image-container {
  position: relative;
  top: 5px;
  margin-bottom: 0;
  width: 40%;
}

.error-image-container>img {
  min-width: 400px;
}

.error-image-container>.speech-bubble {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 50%;
  height: 30%;
  max-height: 150px;
}

.error-image-container>.speech-bubble>h1 {
  font-size: 160%;
}

.error-image-container>.speech-bubble>p {
  font-size: 100%;
  font-weight: 300;
  margin-top: 0;
}

.image-container.error-image-container {
  margin-bottom: 0;
}

.speech-bubble>h1 {
  font-size: 36px;
}

.actions-container {
  position: absolute;
  right: 0;
  top: 10px;
  width: 55%;
  min-width: 500px;
}

.error-container {
  min-height: 445px;
}

.no-data-image-text {
  position: absolute;
  top: 60px;
  left: 8px;
  width: 80px;
  height: 30px;
  font-size: 16px;
  font-weight: 300;
  color: #009ee2;
  text-align: center;
}

.no-data-text {
  top: 60px;
  height: 30px;
  font-size: 32px;
  font-weight: 300;
  color: #009ee2;
  text-align: center;
}

.no-data-container {
  height: 32px;
  padding-bottom: 10px;
  text-align: center;
}


/*---------- Styling add auditor page -------*/

hr {
    border-top: 1px solid #c6c6c6;
}

.form-control{
  min-width: 100px;
}
.form-horizontal input#id_username, .form-control, .input-group .form-control {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
textarea.form-control{
  resize: vertical;
}

input#id_username:hover {
  background-color: #f0f0f0;
}

.heatmap-excellent {
    background-color: #41B70D;
    color:white;
}
.heatmap-bad {
    background-color: #F90B0D;
    color:white;
}
.heatmap-fine {
    background-color: #ff8f31;
}

.heatmap-overall {
    background-color: transparent;
}

.heatmap-required {
    background-color: #F2CFB6;
}

.heatmap-non-required {
    background-color: #C9DBE2;
}

th.heatmap.heatmap-profession {
    font-weight: normal;
}
table.table-heatmap tbody tr th.heatmap-head {
  width: 25%;
  min-width: 200px;
  max-width: 500px;
}

table.table-heatmap thead tr th.heatmap-head .col-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

table.table-heatmap.table-pivoted tr th.department-head .col-title {
  color: white;
}

table th.trend-up-cell:after, table td.trend-up-cell:after {
  font-family: "Glyphicons Halflings";
  content: "\e093";
  position: relative;
  top: 1px;
  display: inline-block;
}

table th.trend-down-cell:after, table td.trend-down-cell:after {
  font-family: "Glyphicons Halflings";
  content: "\e094";
  position: relative;
  top: 1px;
  display: inline-block;
}

select#id_forms {
    left: 0;
    top: -5px;
    width: 73.33333333%;
    display: inline-block;
    min-width: 165px;
    min-height: 40px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-horizontal label {
    width: 20%;
}

.modal-body>.form-group>.control-label {
  width: 100%;
}

a.pagination-links {
  display: inline-block;
  padding: 5px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  margin: 0 10px;
}

.pagination {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.total-observations, #date-range {
    text-align: center;
    font-size: 16px;
    color:#808080;
}

#date-range {
    display: none;
    padding-top: 10px;
}

.total-observations, #compact-date-range {
    text-align: center;
    font-size: 14px;
    color:#808080;
}

#compact-date-range {
    display: none;
    padding-top: 8px;
}

.date-colour {
    color: #105081;
    font-weight: bold;
}

/*---------- Tabs settings page -------*/

.nav-tabs>li>a:hover {
   background-color: #c6c6c6;
}

ul.nav.nav-tabs {
    margin-bottom: 10px;
    margin-top: 10px;
}

ul.nav-tabs:dir(rtl) {
  padding-right: unset;
  padding-left: 40px; /* default padding for ul on browsers */
}

ul.nav-tabs>li:dir(rtl) {
    float: right;
}

.nav.nav-tabs.language-tabs {
  margin-bottom: 2px;
  border-bottom: none;
}

.nav.nav-tabs.language-tabs>.active>a {
  border-left: 1px solid white;
  border-top: 1px solid white;
  border-right: none;
  background-color: #fafafa;
}

.card.language-card {
  border-top-left-radius: 0;
}

.tab-content {
  margin-top: 30px;
}

/*---------- Width Titles -------*/
h2.widget-title {
    font-size: 18px;
    font-weight:bold;
    margin-bottom: 5px;
    min-height: 20px;
}

.widget-title.widget-lone-title {
  margin-bottom: 26px;
}

.widget-subtitle {
  margin: 0 0 10px 0;
}

/* Dashboard Responsive */
#report-print{
  clear: both;
}
#report-print .row{
  margin-right: -5px;
  margin-left: -5px;
}
@media screen and (max-width : 700px){
  .title-and-toolbar-container .audit_title{
    float: none;
  }
  .title-and-toolbar-container .audit_output_btn .control-buttons a, .title-and-toolbar-container .audit_output_btn .control-buttons button{
    margin: 5px auto;
    width: 100%;
    padding: 6px;
  }
  .title-and-toolbar-container .audit_output_btn .control-buttons a:first-child{
    margin-left: 0;
  }
  .audit-filter{
    padding: 0 0 5px 0;
    margin: 5px auto;
    float:none;
  }
  .audit-filter .graph-wrapper-date{
    padding: 5px;
  }
  .audit-filter .graph-wrapper-date .form-group{
    display: block;
  }
  #report-print .row .dashboard-widget{
    width: 100%;
    float: none;
  }
  #report-print .row .dashboard-widget .graph-wrapper{
    min-height: initial;
  }

}


/*---------- Audio Widget -------*/
.audio-widget .btn{
  cursor: pointer;
}

/*---------- Media Queries -------*/



@media (max-width: 480px) {
    .form-horizontal label {
        min-width: 27%!important;
    }

    .form-horizontal input#id_username {
        width: 70%;
    }

    .form-horizontal input#id_email{
        width: 70%;
    }

    .form-horizontal input#id_password {
        width: 70%;
    }

    input#id_confirm_password{
        width: 70%;
    }

    select#id_forms{
        width: 70%;
    }
}

@media screen and (min-width: 480px) and (max-width: 1024px) {
    .graph-wrapper {
        height: 100%;
        /*---------- min-height: 300px; -------*/
    }
}

@media screen and (max-width: 1024px) {
    .error-image-container {
      margin: auto;
    }

    .actions-container {
      position: relative;
      margin: auto;
      width: auto;
      min-width: 240px;
      max-width: 100%;
      padding: 0 10px;
    }
    .error-actions-container>p>a.btn.btn-primary{
      left:  auto;
      transform: translateX(0);

    }

    .error-image-container>img {
      min-width: 0;
    }
}
@media screen and (max-width: 730px) {
    .error-image-container {
      margin: auto;
      width: 60%;
      max-width: 600px;
    }
}
@media screen and (max-width: 500px) {
  .error-image-container {
    margin: auto;
    width: 100%;
    max-width: 500px;
  }
  .error-image-container .speech-bubble h1, .error-image-container .speech-bubble p{
    /*transform: scale(0.5);*/
    font-size: 1em;
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media screen and (max-width: 280px) {
  .error-image-container .speech-bubble h1, .error-image-container .speech-bubble p{
    /*transform: scale(0.5);*/
    font-size: .60em;
    margin-left: -15px;
    margin-right: -15px;
  }
}

/*---------- Non Responsive NavBar  -------*/
.navbar-collapse.collapse {
    display: block!important;
    float: left;
    width: 100%;
    margin-top: 10px;
    min-width: 850px;
}

.navbar-nav>li {
    margin-left: 40px;
    top: -5px;
}

.navbar-nav.navbar-right:last-child {
    padding: 15px;
}

.navbar-right {
    float: right!important;
}

/*---------------------- Print CSS -------------------------*/

@media print {
    .audit_output_btn {
        display: none;
    }
    td.heatmap-excellent {
        background-color: #41B70D !important;
        color:white !important;
    }
    td.heatmap-bad {
        background-color: #F90B0D !important;
        color:white !important;
    }
    td.heatmap-fine {
        background-color: #ff8f31 !important;
        color:white !important;
    }
    .feedback-icon {
        display: none;
    }
}

/*---------- END -------*/

h1.ps {
    font-size: 2em;
    color:#474747;
}
h2.ps {
    font-size: 1.4em;
    margin-top: 0;
    color: #009EE2;
}

h3.ps {
    font-weight: bold;
    font-size: 1em;
    color:#7B7B7B;
}
p.ps {
    text-align:justify;
}

.big_height {
    height:300px;
}

.panel-footer {
    float: left;
    width: 100%;
    margin-top: 10px;
    min-width: 850px;
}

.score-margin {
    margin-bottom: 30px;
}

.institute-image {
  margin-top: 1px;
  height: 50px;
  width: 140px;
  white-space: nowrap;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.institute-image img {
    max-width: 140px;
    max-height: 50px;
    vertical-align: middle;
}

.ward-compliance {
    max-height: 370px;
    min-height: 345px;
    overflow-x: scroll;
}

.specialgraph1 {
    height:300px;
}

.specialgraph2 {
    min-height: 330px;
}

.specialgraph3 {
    min-height: 330px;
}

.report_link .hospital_logo img {
    max-height: 105px;
    max-width: 250px;
}

.hospital_logo.public-dashboard-logo {
  position: absolute;
  top: 10px;
  right: 0%;
}

.multi-dashboard-container {
  margin-left: 20px;
  min-width: 900px;
}

.scroll>.graph-wrapper>.table-wrapper {
  top: 0px;
  max-height: 323px;
}

div.row:nth-of-type(1) div.graph-wrapper {
    min-height: 420px;
}
/*----------------Feedback Icon--------------------*/

.feedback-icon {
  position: fixed;
  bottom: 30px;
  right: 40px;
  height: 56px;
  width: 56px;
  z-index: 1000;
}

.feedback-fab {
  border-radius: 50%;
  height: 56px;
  width: 56px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
}

.feedback-fab:hover {
  box-shadow: 12px 12px 36px rgba(0, 0, 0, 0.2);
}

.feedback-fab>img {
  margin-top: 3px;
}

.feedback-help-text {
  margin-top: 10px;
}

.modal-backdrop {
    z-index: 1000 !important;
    position: fixed;
}

.modal-header {
  position: relative;
  padding: 0 0 5px 15px;
}

.modal-title {
  font-size: 24px;
  font-weight: bold;
  max-width: 520px;
}

.modal-body>.form-group>.multiselect-native-select>.btn-group {
  float: none;
  margin-left: 10px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 0;
}

.alert-dismissable .close {
    float: right;
    margin: auto;
}


/*---------------- Navbar design for when there is an addition button --------------------*/
.navbar-collapse .nav>li>a {
    padding: 12px 10px;
}

button.navbar-dropdown.btn.btn-primary.dropdown-toggle {
    position: absolute;
    float: none;
    width: 169px;
    height: 55px;
    box-shadow: none;
    background-color: transparent;
    border-color: transparent;
}

button.navbar-dropdown.btn.btn-primary.dropdown-toggle:hover>.institution-wrapper,
button.navbar-dropdown.btn.btn-primary.dropdown-toggle:hover>.institution-wrapper {
  opacity: 0.6;
}

button.btn-login:hover,
button.btn-login:hover>a
{
    opacity: 0.6;
    text-decoration: none;
}

.caret.login-caret {
  color: #009ee2;
  position: absolute;
  right: 8px;
  top: 27px;
}

button.dropper.btn.btn-primary.dropdown-toggle {
    min-width: 115px;
    box-shadow: none;
    border-color: transparent;
    -webkit-transition: 0s;
    transition: 0s;
    background-color: #009ee2;
}

button.dropper.btn.btn-primary.dropdown-toggle:hover {
  background-color: #0087E2;
}

/*---------------- Fixed Institution name in nav bar  --------------------*/
p.institution-name-dropdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  white-space: normal;
  overflow: hidden;
  word-wrap: break-word;
  text-align: center;
  margin: auto;
  width: 145px;
  color: #009ee2;
}

.navbar-dropdown>p, .navbar-dropdown>span  {
  color: #009ee2;
}

.navbar-nav>li>a {
    padding-bottom: 14px;
}

div[onclick] {
    cursor: pointer;
}

/*---------------- QIP / ENV Table Preview   --------------------*/

th.years-heading.tableheader {
    background-color: #777777;
    color: #ffffff;
}

table.table.years-table.table-bordered.table-condensed.table-striped {
    font-size: 9pt;
}
table.table.years-table:dir(rtl) th {
    text-align: right;
}
#headings-container > th[sortable], .widget-content thead tr > th[sortable] {
    cursor: pointer;
}

#headings-container > th#qip-th-comment {
    min-width: 300px;
}

.issues-sort-icon, .documents th[sortable] span.glyphicon-sort {
    display: none;
    float: right;
}

#headings-container > th[current-sort] > .issues-sort-icon, .documents th[current-sort] span.glyphicon-sort {
    display: unset;
}

#headings-container > th[sortable]:hover > .issues-sort-icon, .widget-content thead tr > th[sortable]:hover > .issues-sort-icon, .documents th[sortable]:hover span.glyphicon-sort {
    display: unset;
}

.status {
  color: white;
  font-weight: 600;
  font-size: 14px;
}


.risk-level-high {
    background-color: #ea3d2b;
}

.risk-level-moderate {
    background-color: #ffa81f;
}

.risk-level-low {
  background-color: #80bf31;
}

table tr td.bold{
  font-weight: bold;
  font-size: 1.1em;
}

table tr td.width-min-250{
  min-width: 250px;
}

table.new-table tr.table-row-child{
  display: none;
}

table.new-table>tbody>tr.issue-row{
  position: relative;
}
table.new-table>tbody>tr.issue-row td.row-controller span.row-child{
  display: block;
  position: absolute;
  bottom: 0;
  left: 100px;
  right: 0;
}
table.new-table>tbody>tr.issue-row>td:last-child,table.new-table>thead>tr>th:last-child{
  padding-right: 15px;
}
table.new-table>tbody>tr.issue-row>td.edit-column{
  min-width: 145px;
}
table.new-table>tbody>tr>td{
  border: 0px;
  border-bottom: 1px solid #DDDDDD;
  padding: 15px 8px;
}
table.new-table td .btn.blue-icon{
  color:#009ee2;
}
table.new-table td.edit-column{
  white-space: nowrap;
}
table.new-table>tbody>tr>td.row-controller{
  padding: 15px 5px;
  cursor: pointer;
  font-weight: bold;
  width: 20px;
  max-width: 75px;
  white-space: nowrap;
}
table.new-table>tbody>tr>td.row-controller div{
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
table.new-table>tbody>tr>td.row-controller div img{
  width: 22px;
  height: 22px;
}
table.new-table>tbody>tr>td.row-controller div img.row-child-open{
  display: block;
}
table.new-table>tbody>tr>td.row-controller div img.row-child-close{
  display: none;
}
table.new-table>tbody>tr.table-row-child>td{
  background-color: #f1f1f1;
  position: relative;
  padding: 10px 10px 10px 50px;
  border-bottom: 2px solid #DDD;
}
table.new-table .cell-clickable{
  cursor: pointer;
}
table.table-child{
  border: 0px;
  width: 100%;
}
table.table-child th, table.table-child td{
  padding: 5px 8px;
}
table.table-child th.width-min-400{
  min-width: 400px;
}
table.table-child td{
  background-color: #f1f1f1;
  border-bottom: 1px solid #DDDDDD;
  vertical-align: top;
}
table.table-child td .comment-user{
  white-space: nowrap;
  font-size: 10px;
}
table.table-child td .comment-user .user{
  color: #8B8B8B;
  font-weight: bold;
  padding-right: 5px;
}
table.table-child td .comment-user .user.self{
  color:#009ee2;
}
table.table-child td .comment-user .time{
  color: #9E9E9E;
}

.ellipsis-2-lines{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ellipsis-3-lines{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ellipsis-4-lines{
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.risk-level-column.risk-level-high{
  background-color: transparent;
  color: #ea3d2b;
}
.risk-level-column.risk-level-moderate{
  background-color: transparent;
  color: #ffa81f;
}
.risk-level-column.risk-level-low{
  background-color: transparent;
  color: #80bf31;
}

.risk-level-column {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.status:hover, .status:focus {
  color: white;
}

.risk-level-column {
  text-transform: capitalize;
}

.risk-level-commendation {
    background-color: #009ee2;
}

input.date-picker.form-control.qip_issue_date.qip_issue_complited{
    font-size: 9pt;
}

input.date-picker.form-control.qip_issue_date.qip_issue_duedate{
    font-size: 9pt;
}

td.col-7 {
    width: 80px !important;
    word-wrap: break-word;
}

th.years-heading.tableheader.header-7 {
    width: 80px !important;
    word-wrap: break-word;
}

td.col-6 {
    width: 80px !important;
    word-wrap: break-word;
}

th.years-heading.tableheader.header-6 {
    width: 80px !important;
    word-wrap: break-word;
}

td.col-8 {
    min-width: 100px;
}

td.col-9 {
    min-width: 100px;
}

td.col-10 {
    min-width: 110px;
}

td.col-11 {
    min-width: 110px;
}

td.col-12 {
    min-width: 110px;
}

ul.multiselect-container li.group-label label {
    font-weight: bold;
}

.public-dashboard-container{
  width: 96%;
  margin: 10px auto 10px 15px;
}

/*-------- MEG Login ----------*/
.login-form-container>* {
  position: relative;
  max-width: 408px;
}

.login-wizard-button {
  left: 0;
}

.login-h1 {
  text-align: center;
}

a.login-text-mat-site{
    padding: 9px 12px;
    background-color: #fff;
    vertical-align: middle;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

#meg-login-heading{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 38px;
    white-space: nowrap;
    margin-top: 20px;
}

#meg-login-well{
    max-width: 482px;
    float: none;
    margin: auto;
    margin-top: 50px;
}


/*-------- SetDone Button ----------*/

.btn-setdone, .btn-success {
    background-color: #80bf31;
    border-color: #80bf31;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn-setdone:hover, .btn-success:hover {
    background-color: #1CBE0B;
    border-color: #1CBE0B;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

/*-------- pagination ----------*/
a.pagination-vars {
    background-color: #337ab7;
    border-radius: 5px;
    padding: 3px 6px;
    color: white;
    margin-left: 5px;
}
a.pagination-vars:hover, a.pagination-vars:focus{
    background-color: #286090;
    text-decoration: none;
}

.paginate_by {
    margin-top: 15px;
}

.step-links {
    text-align: center;
    margin-left: 23px;
}

.auditor-printed-name {
  position: relative;
  top: 0px;
}

img.signature {
  position: relative;
  display: block;
  margin: auto;
  max-height: 250px;
  max-width: 100%;
}

/*-------- ADAPTIVE RULES ----------*/
@media (max-width: 1360px) {
  .navbar-nav>li {
      margin-left: 30px;
      top: -5px;
  }
}

@media (max-width: 1270px) {
  .non-responsive-container {
    width: 90%;
  }

  .login_btn {
    right: -10px;
  }

  .navbar-nav>li {
    margin-left: 15px;
  }
}

@media (max-width: 1045px) {
  .non-responsive-container {
    width: 95%;
  }

  .navbar-nav>li {
    margin-left: 0;
  }

  .error-image-container>.speech-bubble>h1, .error-image-container>.speech-bubble>p {
    position: relative;
    top: -15px;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .issue-handler-forms {
    left: -15px;
    top: 0;
    margin-bottom: 20px;
  }
}


/*-------- TABLET FRIENDLY DESIGN ----------*/
@media (max-width: 895px) {
  body{
    min-width: auto;
  }
  .navbar-nav>li {
    margin: 0 0 0 -5px;
    display: inline-block;
  }

  .non-responsive-container, .non-responsive-container-fixed {
    width: 100%;
    margin-left: 0;
    padding: 0 0 0 12px !important;
  }

  .panel-footer{
    min-width: 100%;
  }

  .navbar-collapse {
    padding: 0;
  }

  .audit_title {
    width: 100%;
  }

  .calendar-toolbar>.audit_output_btn {
    float: right;
    right: 0;
  }
}

/*-------- BOOTSTRAP RULES OVVERRIDES ----------*/
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    background-color: #fafafa;
    border-top: solid 1px white;
    border-left: solid 1px white;
    border-right: transparent;
    border-bottom: transparent;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,
  .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus {
    color: #202020;
    background-color: rgba(0, 158, 226, 0.1);
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #202020;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
    color: #202020;
    background-color: rgba(0, 158, 226, 0.1);
  }

  .navbar-nav {
    margin: 0;
  }

  .modal-title {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    margin: 0;
  }
  .navbar-nav>li {
    margin: -5px;
  }
}

/* Widgets */
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-top: 60px;
}
.loader.center-block{
  margin: 60px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.compact-widget-content.compact-graph-wrapper #widget-dropdown, .widget-content.graph-wrapper #widget-dropdown{
  padding: 2px 5px;
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* OVERRIDES BOOTSTRAP RULE */
@media all and (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    position: relative;
    float: right;
    background-color: #fafafa;
    border-top: solid 1px white;
    border-left: solid 1px white;
    border-right: transparent;
    border-bottom: transparent;
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #202020;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a {
    background-color: rgba(0, 158, 226, 0.1);
    color: #202020;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus {
    background-color: rgba(0, 158, 226, 0.4);
    color: #202020;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus {
    background-color: rgba(0, 158, 226, 0.1);
    color: #202020;
  }
}

/**
Class used to resize widget for downloading as image
 */
.html2canvas-autosize {
  /*
    width: auto;
    height: auto;
    overflow: auto;
  */
    background-color: #FAFAFA !important;
    background: #FAFAFA !important;
}
/* Main Widgets */
.html2canvas-autosize .widget-content{
  box-shadow: unset !important;
}
.html2canvas-autosize .widget-content .table-heatmap .col-title{
  display: block;
}

.html2canvas-autosize>.graph-wrapper>.table-wrapper {
  max-height: none;
}
/* Compact Widgets */
.html2canvas-autosize .compact-widget-content{
  box-shadow: unset !important;
}
.html2canvas-autosize .compact-widget-content .table-heatmap .col-title{
  display: block;
}

.html2canvas-autosize>.compact-graph-wrapper>.table-wrapper {
  max-height: none;
}

/* Show toast messages below the nav bar */
.toast-top-center, .toast-top-right, .toast-top-left {
    top: 100px;
}

#toast-container {
  z-index: 1000;
  width: fit-content;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  box-shadow: 8px 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.toast.toast-success {
  background-color: #80bf31;
}

.form-type-heading {
    font-weight: bold !important;
}

ul.row-subitems{
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.row-subitems li {
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid #efefef;
}

.heading-link, .heading-link:hover, .heading-link:focus {
  color: white !important;
  text-decoration: none;
}

.label-widget-type-heading {
  font-size: 18px;
  width: 100% !important;
  color: #00A6DB !important;
}

.answer-comment {
  color: grey;
}
.answer-comment > span {
  font-style: italic;
}

.select2.select2-container {
  min-width: 5em !important;
}

.select2.select2-container .select2-selection--single,
.select2.select2-container .select2-selection--single .select2-selection__arrow  {
  height: auto;
  min-height: 36px;
}

.select2-container--open {
    z-index: 9999999
}

.select2-container--default .select2-results__option[aria-selected="true"] .select2-checkbox-option-unchecked {
  display: none;
}

.select2-container--default .select2-results__option[aria-selected="false"] .select2-checkbox-option-checked {
  display: none;
}

.select2-container--default.select2-checkbox .select2-selection.select2-selection--multiple.form-control {
  height: auto;
}

.divider-horizontal-form {
  width: 100%;
  border-top: 1px solid #d6d6d6;
  padding-bottom: 1rem;
}

.select-multiple-chips-container .options-list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5px;
}

.select-multiple-chips-container .options-list li {
  justify-content: start;
  display: flex;
}
.select-multiple-chips-container .options-list li a {
  text-decoration: none !important;
}

.select-multiple-chips-container .options-list li a label {
  background-color: white;
  border: 1px solid #d6d6d6;
  width: 100%;
  border-radius: 5px;
  font-size: 14px;
  padding: 0 1rem !important;
  text-align: center !important;
}

.select-multiple-chips-container .options-list li a label input {
  display: none;
}

.select-multiple-chips-container .options-list li a label:hover {
  text-decoration: none;
  background-color: #EEEEEE;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
}

.select-multiple-chips-container .options-list li.disabled {
  display: none;
}

.select-multiple-chips-container .options-list li.active label.checkbox,
.select-multiple-chips-container .options-list li.active label.radio {
  color: white !important;
}

.select-multiple-chips-container .options-list li.active a label {
  background-color: #009ee2;
}

.select-multiple-chips-container .multiselect-container.options-list {
  position: static;
}


input[type=checkbox].form-switch {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 44px;
  height: 22px;
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: 34px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: all 0.4s;
  vertical-align: middle;
  box-sizing: border-box;
}

input[type=checkbox].form-switch::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  top: 2px;
  left: 2px;
  transition: transform 0.4s;
}

input[type=checkbox].form-switch:checked {
  background: #009ee2;
  border-color: #009ee2;
}

input[type=checkbox].form-switch:checked::before {
  transform: translateX(22px);
  background: white;
}

input[type=checkbox].form-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type=checkbox].form-switch:focus {
  box-shadow: 0 0 0 0.25rem rgba(28, 156, 216, 0.25);
}


input[type=checkbox].form-switch:focus:not(:checked)::before {
  background: #1c9cd8;
}

input[type=checkbox].form-switch::before {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-email-read {
  display: inline-block;
  height: 24px;
  width: 24px;
  background-image: url('/static/images/icons/Icon-email-read.svg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  vertical-align: middle;
}


.icon-email-unread {
  display: inline-block;
  height: 24px;
  width: 24px;
  background-image: url('/static/images/icons/Icon-email-unread.svg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  vertical-align: middle;
}


.doc-review-icon {
  display: block;
  font-size: 20px;
  text-align: center;
  margin-bottom: 5px;
}
.doc-review-container {
  background: white;
  border: 1px solid #ddd !important;
  cursor: pointer !important;
}
.mb0 {
  margin-bottom: 0 !important;
}

.has-error .help-block {
  overflow: hidden;
}

.display-flex {
  display: flex;
}

.no-margin {
  margin: 0 !important;
}

#edit-widget .form-group.has-success > label {
    color: #333;
}
#edit-widget .form-group.has-success > .help-block {
    color: #737373;
}

@media (min-width: 1200px) {
  .modal-lg {
    width: 1100px;
  }
}
