/* Responsive design template originally from https://www.w3schools.com/css/css_website_layout.asp */

* {
  box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #222;
    margin: 0px;
}

/* Header/Blog Title */
.header {
    padding: 30px;
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    background-image: url("countryside.jpg");
    background-size: cover;
    background-color: #333;
}

.header-title {
    font-weight: bold;    
    font-size: 50px;
    color: #FFFFFF;
}

.header-description {
    color: #EEE;
    font-size: 24px;
}

/* Style the top navigation bar */
.topnav {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;    
    overflow: hidden;
    background-color: #fff;
}

.topnav a {
    float: right;
    display: block;
    padding: 5px 30px;
}

/* Style the topnav links */
/*
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
*/
/* Change color on hover */
/*
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
*/

.noticebar {
    display: none;
    max-width: 1920px;    
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    background-color: #ffb;    
    padding: 10px 20px;
    font-size: 13px;
    font-style: oblique;    
}

.column25 {   
    float: left;
    width: 25%;
}
.column50 {   
    float: left;
    width: 50%;
}
.column75 {   
    float: left;
    width: 75%;
}

/* Add a card effect for articles */
.card-settings {
    background-color: #333;
    padding: 20px;
    color: #ccc;
}

.card-results {
    background-color: #222;
    padding: 20px;    
    color: #ccc;
}

.card-interpret {
    background-color: #222;
    padding: 20px;    
    color: #ccc;
}

.card-info {    
    padding: 30px;
    background-color: #fff;
    font-size: 14px;
}

.img-right {
    float: right;
    display: block;
}

.img-middle {
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.card-note {
    padding: 20px;
    color: #ccc;
    overflow: hidden;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */    
    white-space: -o-pre-wrap; /* Opera 7 */    
    word-wrap: break-word; /* Internet Explorer 5.5+ */    
}

.card-note a {
    color: #ffa;
    text-decoration: none;
}

.row {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    background-color: #222;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.row-info {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    background-color: #224;
    color: #666;
}

/* Clear floats after the columns */
.row-info:after {
    content: "";
    display: table;
    clear: both;
}

/* Footer */
.footer {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;    
    padding: 20px;
    text-align: center;
    margin-top: 20px;  
    background-color: #222222;
}

.footer-title {
    font-weight: bold;    
    font-size: 24px;
    color: #FFFFFF;
}

.footer-text {
    color: #CFCFCF;
    font-size: 14px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1000px) {
    .noticebar {
        display:block;
    }
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    .column25, .column50, .column75 {   
        width: 100%;
        padding: 0;
    }
    .noticebar {
        display:block;
    }
}


.menu-heading {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.menu-heading-left {
    display: block;
    float: left;
    width: 50%;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.menu-sub {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}
.menu-label {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 14px;
}

.group {    
    margin-bottom: 30px;
}

.info-heading {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.info-sub {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #448;
}

.info-intro{
    font-size: 16px;
}

.info-desc{
    margin-bottom: 10px;
}

.results-desc{
    margin-bottom: 10px;
}

.results-score{
    display: block;
    float: right;
    width: 50%;
    margin-bottom: 10px;
    color: #7ef;
    text-align: right;
    font-size: 28px;
}

.result-good {
    display: inline-block;
    width: 31.3%;
    margin: 1%;
    color: black;
    text-align: center;
    background-color: #bbffbb;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.18);
}

.result-ok {
    display: inline-block;
    width: 31.3%;
    margin: 1%;
    color: black;
    text-align: center;
    background-color: #fffabb;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.18);
}

.result-bad {
    display: inline-block;
    width: 31.3%;
    margin: 1%;
    color: black;
    text-align: center;
    background-color: #ffbbbb;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.18);
}

.result-label {    
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

.result-value {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.result-units {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    font-weight: bold;
}


.rc-slider-track {
    background-color: #0099ff;
}
.rc-slider-handle {
    border-color: #0099ff;
}

.Select-control {
    width: 256px;
    height: 48px;
}

.Select--single > .Select-control .Select-value, .Select-placeholder {
    line-height: 48px;
}

.Select--multi .Select-value-label {
    line-height: 32px;
}

