
html {
    font-family: Helvetica !important;
}

.line {
    border-bottom-style: ridge;
}

.line-solid {
    border-bottom-style: solid;
}

.line-solid-half {
    width: 50%;
    border-bottom-style: solid;
}

.header {
    background-color: #D4D4BF;
}

.subheader {
    background-color: #DDDDCC;
}

.module {
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.04);
}

.module-heading {
    cursor: pointer;
    background-color: #DDDDDD;
    padding: 10px 5px 10px 5px;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
}

    .module-heading:hover {
        background-color: #bfbfbf;
    }

    .module-heading .module-heading-toggle {
        padding-right: 20px;
    }

.module-content {
    padding-left: 2%;
    padding-right: 2%;
}


h3,
.h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.list-group {
    margin-bottom: 5px;
}

.no-gutter {
    padding-right: 0;
    padding-left: 0;
}


/*#region Responsive tables */
.no-more-tables thead tr {
    background: #333;
    color: white;
    font-weight: bold;
}

.nabers-rating-text {
    text-align: right;
}
.nabers-rating-image {
    text-align: left;
}


@media only screen and (max-width: 768px) {

.nabers-rating-text {
    text-align: center;
}
.nabers-rating-image {
    text-align: center;
}

    /* Force table to not be like tables anymore */
    /*drc 8/1/16: mobile viewport: inline-block combined with 100% width force the titles
        and content to both wrap if required and also forces the table cells height to 
        expand to the full height of its content. this doesnt happen with block.*/
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        /*display: block;*/
        display: inline-block;
        width: 100%;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .no-more-tables tr {
        border: 1px solid #ccc;
        position: relative;
    }

    .no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        /*position: relative;*/
        padding-left: 50% !important;
        white-space: normal;
        text-align: left;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
    }

        .no-more-tables td:before {
            font-weight: bold;
            float: left;
            width: 95%;
            padding: 0 0 0 1%;
            margin-left: -100%;
            content: attr(data-label);
        }

        /*
  Label the data
  */
        .no-more-tables td:after {
            content: attr(data-unit);
        }
}

/*#endregion*/

/*#region NABERS styles*/

.btn-primary {
    background-color: #0D5257;
    border-color: #0A4246;
    border-radius: 0;
    color: #bfbfbf;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        background-color: #70A4A3;
        border-color: #5A8382;
        /*text-shadow: 1px 1px #000;*/
        /*background-color: white;
        border-color: #0A4246;
        color: black;
        font-weight: bold;*/
    }

    .btn-primary .navigation {
        color: #fff;
    }

.btn-navigation {
    color: #FFF;
    background-color: #0D5257;
    border-color: #0A4246;
    border-radius: 0;
}

    .btn-navigation:hover,
    .btn-navigation:active,
    .btn-navigation:focus {
        background-color: #FFFFFF;
        color: #000000;
    }

.btn-navigation-incomplete {
    color: #e66d2c;
    background-color: #FFF;
    border-color: #e66d2c;
    border-radius: 10px;
}

/*.btn-navigation:focus{
    color:#FFF;
}*/
.btn-popup {
    color: #000000;
    background-color: #8DC8E8;
    border-color: #71A0BA;
    border-radius: 0;
}

    .btn-popup:hover {
        background-color: #FFFFFF;
    }

.section-link {
    font-size: large;
}

    .section-link:hover {
        color: #8DC8E8;
    }

    .section-link:active {
    }

.list-group-item.section-link-container.highlight {
    background-color: #0D5257;
    border-color: #0A4246;
}

    .list-group-item.section-link-container.highlight > a {
        color: #FFFFFF;
    }

.section-link-active-bg {
    color: #CB6015;
}

.navbar-nav > li > a {
    color: #000000;
    font-weight: bold;
}

/*.navbar-default{
     background-color: #D4D4D4;
}*/
/*.navbar-link{
    color:#000000;
    
}*/

/*.navbar-background{
    background-color: rgb(145, 147, 136);
}*/
.userinput,
.input-group-addon {
    border-radius: 0;
}

/*#endregion*/




/*IXC styles*/

body {
  padding-top: 50px; }

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px; }

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal; }

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
  max-width: 280px; }

.navbar-default {
  background-color: #f6f6f6;
  border-color: #e9e9e9; }

.navbar-default .navbar-link,
.navbar-default .navbar-nav > li > a {
  color: #e66d2c;
  font-weight: bold; }

.navbar-default .navbar-nav.navbar-right > li > a {
  /*color: #999;*/ 
}

.navbar-brand.navbar-link {
  font-weight: bold; 
  color: #005957;
}

.navbar-default .navbar-toggle {
  background: #e66d2c;
  border-color: #de5f1a; }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: white; }

small {
  color: #999; }

.line-solid-half {
  display: none; }

.body-content h2 {
  width: 50%;   /*drc: changed from 37% because it was too short for 'Applicances' at tablet viewport size.*/
  font-size: 48px;
  font-weight: bold;
  color: white;
  background-color: #e66d2c;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 40px; }
  @media screen and (max-width: 960px) {
    .body-content h2 {
      width: 100%;
      box-sizing: border-box; } }

.line, hr {
  display: none; }

.body-content > .question, .body-content > .assessmentList {
  margin: 0;
  padding: 10px 20px; }
  .body-content > .question:nth-of-type(4n), .body-content > .question:first-of-type,
  .body-content > .assessmentList:nth-of-type(2n) {
    background: #f2f5f7; }

.questionAjaxResult {
  padding: 10px 20px; }

.glyphicon.glyphicon-question-sign {
  color: #e66d2c; }

.btn-primary,
.btn.btn-lg.btn-navigation,
.btn.btn-block.btn-popup {
  color: white;
  background-color: #e66d2c;
  border-color: #de5f1a;
  border-radius: 10px; }

.module {
  border-radius: 10px;
  overflow: hidden; }
  .module .module-heading {
    background: #e66d2c;
    color: white;
    border-radius: 10px 10px 0 0; }
    .module .module-heading .module-heading-toggle {
      padding: 0 0 0 10px; }
      .module .module-heading .module-heading-toggle .glyphicon {
        color: white;
        opacity: 0.5; }
  .module .module-content .question {
    padding: 10px 0 !important; }
  .module .module-content .questionAjaxResult {
    padding: 0; }
  .module .btn-toolbar.form-group {
    margin-left: 0; }
    .module .btn-toolbar.form-group .btn {
      margin: 0;
      display: inline-block;
      background: white; }   /*drc: changed from #333*/
      .module .btn-toolbar.form-group .btn:first-of-type {
        border-radius: 8px 0 0 8px; }
      .module .btn-toolbar.form-group .btn:last-of-type {
        border-radius: 0 8px 8px 0;
        margin-left: -5px; }
      .module .btn-toolbar.form-group .btn.active {
        box-shadow: none;
        background: #e66d2c; }
  .module .btn.btn-popup.add-device-modal {
    color: #e66d2c;
    background-color: transparent;
    border: 2px solid #e66d2c;
    border-radius: 10px;
    position: relative;
    padding-left: 35px; }
    .module .btn.btn-popup.add-device-modal::before {
      content: '+ ';
      font-size: 200%;
      line-height: 0.5;
      display: block;
      position: absolute;
      left: 10px;
      top: 9px;
      font-weight: bold;
      opacity: 0.5; }
  .module .line {
    display: none; }

br.visible-sm.visible-xs {
  display: none !important; }

.progress {
  height: 40px;
  border-radius: 20px;
  background: #005d5a;
  position: relative; }
  .progress .progress-bar {
    height: 100%;
    border-radius: 20px;
    background: #e66d2c;
    line-height: 40px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5); }

.section-link {
  color: #e66d2c; }



/*ios fix*/
/*.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
  outline: 0;
}

.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}*/



/*.modal {
    bottom:0;
    position: fixed;
    overflow-y:scroll;
    overflow-x:hidden;
    top: 0;
    width: 100%;
}*/




/*.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: auto;
  overflow-y: scroll;
  outline: 0;
}*/
/*-webkit-overflow-scrolling: auto;*/


/*body.modal-open {
// block scroll for mobile;
// causes underlying page to jump to top;
// prevents scrolling on all screens
overflow: hidden;
position: fixed;
}

body.viewport-lg {
// block scroll for desktop;
// will not jump to top;
// will not prevent scroll on mobile
position: absolute; 
}

body {
overflow-x: hidden;
overflow-y: scroll !important;
}*/



.mfp-modal .modal-header {
  background: #e66d2c;
  color: white;
  font-weight: bold;
  border-radius: 5px 5px 0 0; }
.mfp-modal button.close {
  font-size: 30px;
  margin-top: 0;
  color: #fff; }
.mfp-modal .modal-footer {
  background: #005d5a; }
.mfp-modal .btn {
  border-radius: 10px;
  border-width: 0; }
.mfp-modal .btn-default {
  background: #999;
  border-color: #666; }
.mfp-modal .btn-primary {
  background: #e66d2c;
  border-color: #de5f1a;
  color: white; }

footer {
  padding: 40px 0;
  margin-top: 40px;
  background: #f6f6f6;
  color: #5e5e5e;
  border-top: 1px solid #e9e9e9;
  font-size: 12px; }
  footer br {
    display: none; }
  footer .col-sm-9, footer .col-sm-10 {
    padding-top: 30px; }




/*drc styles*/

/*http://stackoverflow.com/a/27864663/4430960*/
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 150px;
}

h3 {
    font-weight: bold;
}

.ajaxSpinnerImage
{
    display: none;
    width:100px;
    height: 100px;
    position: fixed;
    top: 50%;
    left: 50%;
    text-align:center;
    margin-left: -50px;
    margin-top: -100px;
    z-index:2;
    overflow: auto;
}

.form-horizontal .form-title {
    font-size: 34px;
    font-weight: bold;
    color: #e66d2c;
}

.form-horizontal .form-desc {
    /*font-size: 21px;*/
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.form-horizontal .form-label {
    font-weight: bold;
    color: #005957;
}

.form-horizontal .form-control {
    height: 44px;
    border-width: 2px;
    border-radius: 10px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 150px;
}

.panel {
    border-radius: 10px;
}

.body-content h1 {
    font-size: 68px;
    line-height: 60px;
    font-weight: bolder;
    color: #005957;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.healthcheck {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.healthcheck .caption {
    font-size: 18px;
}

.homepage .navlink {
    text-decoration: underline;
    color: #005957;
}

.homepage .actions .glyphicon {
    color: #BBBCBE;
    font-size: 55px; 
}

.homepage .actions .actiontext {
    font-size: 21px;
    color: #555960; /*#333*/
}

.homepage .actions .actiontext .glyphicon {
    display: inline;
    font-size: 21px;
    color: #BBBCBE;
}

.panel-opacity {
    opacity: 0.95;
}

.btn {
    white-space: normal;
}

.btn-align-left {
    text-align: left;
}

.btn-link {
    color: #e66d2c;
}

.btn-link:hover {
    color: #000000;
}

.btn-toolbar.form-group .btn-primary {
    background-color: white;
    border-color: #e66d2c;
    border-width: 1px;
    color: #000000;
}
.btn-toolbar.form-group .btn-primary:not(:first-of-type):not(:last-of-type) {
    margin-left: -5px;
    border-radius: 0px;
}

.btn-toolbar.form-group .btn-primary:hover,
.btn-toolbar.form-group .btn-primary:focus,
.btn-toolbar.form-group .btn-primary.focus,
.btn-toolbar.form-group .btn-primary:active,
.btn-toolbar.form-group .btn-primary.active {
    background-color: #e66d2c;
    border-color: #e66d2c;
    color: white;
}

.vertical-align {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.nav-tile {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.nav-tile .glyphicon {
    top: auto;
}

.module {
    margin-bottom: 20px; }
    .module .module-heading {
        font-size: 18px;
        font-weight: bold; }
    .module .module-heading.disclaimer {
        background: #bfbfbf;
        color: white; }

.results.piechart {
    margin-bottom: 20px;
}

.table > thead > tr > td {
    border-bottom: 2px solid #ddd;
}

.add-padding-top {
    padding-top: 10px; 
}
.add-padding-bottom {
    padding-bottom: 10px;
}


/*
.btn.btn-radio { background-color:#FFF;border-color:#CCC;color:#333; }
.btn.btn-radio:hover { background-color:#EBEBEB;border-color:#ADADAD;color:#333; }
.btn.btn-radio.active { background-color:#9BB4C9;border-color:#285E8E;color:#000; }
.btn.btn-radio .badge { background-color:#333;color:#FFF; }
*/

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
    body {
      /* Margin bottom by footer height */
      margin-bottom: 200px;
    }

    body.layout-home {
        background-image: url('../../Content/Images/background_1152x768.jpg'); 
        background-size: cover;
    }

    .footer {
      /* Set the fixed height of the footer here */
      height: 200px;
    }

    .homepage .col1, .homepage .col2, .homepage .col3, .homepage .col4 {
         /*height: 100px;*/ /*drc 19/4/16: allow the containers to increase to required height on mobile.*/
    }
    .homepage .actions .text-center {
        text-align: left;
    }
    .homepage .actions .glyphicon {
        margin-right: 10px;
    }
    .homepage .actions .actiontext {
        font-size: 18px;
    }
    .body-content h1 {
        font-size: 60px;
        line-height: 54px;
        font-weight: bold;
    }
    .sectionnavigation .btn.btn-lg.btn-navigation, .sectionnavigation .btn.btn-lg.btn-navigation-incomplete {
        margin-bottom: 5px;
    }
    .form-group.vertical-align {     
        display: block;
    }
    .form-horizontal input.form-control {
        max-width: 100%;
    }
    .module .btn-toolbar.form-group {
        display: -webkit-inline-flex;
        display: -ms-inline-flexbox;        
        display: inline-flex;
    }
    /*.btn {
        white-space: normal;
    }*/
    .module .btn-toolbar.form-group label.btn {
        white-space: normal;
    }

    .navbar-toggle.navbar-toggle-xs {
        display: block;
    }
    .navbar-toggle-sm {
        display: none;
    }
    .navbar-collapse-drc {
        border-top: 1px solid #e7e7e7;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav > li > a {
        padding: 10px 15px;
    }

    .body-content.assessments {
        padding-left: 0px;
        padding-right: 0px; 
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    body.layout-home {
        background-image: url('../../Content/Images/background_1440x960.jpg'); 
        background-size: cover;
    }

    .homepage .col1, .homepage .col2, .homepage .col3, .homepage .col4 {
        height: 100px;
    }
    .homepage .actions .text-center {
        text-align: left;
    }
    .homepage .actions .glyphicon {
        margin-right: 10px;
    }
    .sectionnavigation .btn.btn-lg.btn-navigation, .sectionnavigation .btn.btn-lg.btn-navigation-incomplete {
        margin-bottom: 5px;
    }
    .form-group.vertical-align {
        display: block;
    }
    .form-horizontal input.form-control {
        max-width: 100%;
    }

    .navbar-collapse-drc.collapse.in {
        display: none;
    }
    .navbar-toggle.navbar-toggle-xs {
        display: none;
    }
    .navbar-toggle-sm {
        display: block;
        float: none;
    }
    .navbar-toggle-sm .dropdown-menu {
        background: #f6f6f6;
        margin-right: 15px;
        margin-top: 0px;
        border-top: 0px;
        border-radius: 0px;
        box-shadow: none;
        -webkit-box-shadow: none;
    }
    .navbar-toggle-sm .dropdown-menu > li > a {
        color: #e66d2c;
        font-weight: bold;
        padding: 10px 15px;
        line-height: 20px;
        text-decoration: none;
    }
    .navbar-toggle-sm .dropdown-menu > li > a:hover {
        color: black;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    body.layout-home {
        background-image: url('../../Content/Images/background_1440x960.jpg'); 
        background-size: cover;
    }

    .homepage .col1, .homepage .col2, .homepage .col3 {
        height: 200px;
    }
    .homepage .col4 {
        height: 125px;
        width: 100%;
    }
    .homepage .actions .text-center {
        text-align: center;
    }
    .homepage .actions .glyphicon {
        width: 100%;
        font-size: 70px;
        margin-bottom: 10px;
    }
    .homepage .actions .actiontext {
        font-size: 21px;
        width: 70%;
    }
    .homepage .actions .actiontext .glyphicon {
        display: inline;
    }
    .vertical-align {
        display: block;
    }
    .form-horizontal .vertical-align {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
    }
    .homepage .nabers-display {
        display: inline-block;
    }

    .section-link {
        font-size: 16px;
    }
}

/* Large devices (wide-screen monitors, 1200px and up) */
@media (min-width: 1200px) {
    .section-link {
        font-size: 18px;
    }
}