body {
    font-family: 'Lato', sans-serif;
}

*:focus {
    outline: none;
}

#masthead {
    text-align: center;
    padding-bottom: 18px;
}

#masthead h1 {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

#masthead h2 {
    font-size: 18px;
    text-transform: uppercase;
    color: #55BD64;
    font-weight: 300;
    margin: 0;
}

#masthead h3 {
    font-size: 14px;
    font-weight: 300;
    margin-top: 0;
}

.top-home {
    background: url(../images/landing-bg.jpg) no-repeat center;
    background-size: cover;
    clear: both;
    position: relative;
}

.map-frame {
    margin-top: 50px;
}

.top-home h1 {
    padding-top: 90px;
    color: #dbc158;
    font-size: 30px;
    text-align: center;
    font-weight: 700;
}

.top-home .block {
    margin-bottom: 4px;
    text-align: center;
    overflow: hidden;
    color: #8e9c44;
}

.top-home .block .wrapper {
    background: rgba(21, 32, 24, 0.5);
    margin: 0 4px;
    width: 100%;
    height: 100%;
}

.top-home .span2 {
    width: 50%;
    float: left;
    height: 280px;
}

.top-home .span2 .wrapper {
    padding: 30px;
}

.top-home .span3 {
    width: 33.33%;
    float: left;
    height: 138px;
}

.top-home .span3 .wrapper {
    padding: 18px;
}

.top-home .span2small {
    width: 50%;
    float: left;
    height: 138px;
}

.top-home .span2small .wrapper {
    padding: 18px;
}

.summary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#total {
    font-size: 159px;
    font-weight: 900;
    line-height: 159px;
    margin-bottom: 0;
}

.top-home .graphs {
    font-weight: 300;
    font-size: 18px;
    text-align: left;
}

.graphs label {
    font-weight: 300;
}

.graphs label i {
    margin-left: 5px;
}

.graphs .bar {
    width: 334px;
    float: left;
    height: 40px;
    background: rgba(9, 9, 9, 0.2);
}

.graphs .square {
    width: 40px;
    height: 40px;
    display: block;
    margin-right: 2px;
    float: left;
    background: #698d43;
}

.graphs .square:last-child {
    margin-right: 0;
}

.graphs .square:nth-child(3), .graphs .square:nth-child(4) {
    background: #9a9a43;
}

.graphs .square:nth-child(5), .graphs .square:nth-child(6) {
    background: #cc8939;
}

.graphs .square:nth-child(7), .graphs .square:nth-child(8) {
    background: #dd4c3d;
}

.total span {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 42px;
}

.graphs .cyanobacteria {
    margin: 15px 0;
}

.graphs .cyanobacteria, .graphs .trophic-status {
    overflow: hidden;
}

.bar-value {
    float: left;
}

.empty .square:nth-child(1),
.empty .square:nth-child(2),
.empty .square:nth-child(3),
.empty .square:nth-child(4),
.empty .square:nth-child(5),
.empty .square:nth-child(6),
.empty .square:nth-child(7),
.empty .square:nth-child(8) {
    display: none;
}

.low .square:nth-child(3),
.low .square:nth-child(4),
.low .square:nth-child(5),
.low .square:nth-child(6),
.low .square:nth-child(7),
.low .square:nth-child(8) {
    display: none;
}

.low .bar-value {
    color: #698d43;
}

.medium .square:nth-child(5),
.medium .square:nth-child(6),
.medium .square:nth-child(7),
.medium .square:nth-child(8) {
    display: none;
}

.medium .bar-value {
    color: #9a9a43;
}

.high .square:nth-child(7),
.high .square:nth-child(8) {
    display: none;
}

.high .bar-value {
    color: #cc8939;
}

.veryHigh .bar-value {
    color: #dd4c3d;
}

.block .data-title {
    font-size: 30px;
    font-weight: 300;
}

.block .data-title img {
    margin-right: 10px;
}

.block .number {
    font-size: 48px;
    font-weight: 900;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: 52px;
}

.block .percent {
    color: #141f18;
    font-size: 24px;
    display: inline-block;
    font-weight: 700;
    line-height: 36px;
    height: 36px;
    vertical-align: middle;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    width: 97px;
    text-align: center;
    background: #8e9c44;
}

.indicator {
    text-align: center;
    background: #f1f1f1;
    padding: 40px 0 20px;
}

.indicator .off {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    line-height: 36px;
    height: 36px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    width: 97px;
    text-align: center;
    background: #c0a742;
}

.indicator .on {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    line-height: 36px;
    height: 36px;
    background: #94cc37;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    width: 97px;
    text-align: center;
}

.indicator .last-update {
    font-weight: normal;
    font-style: italic;
    margin-top: 5px;
}

.options, .map-wrapper {
    background: #f1f1f1;
    padding: 20px 0;
}

.options {
    text-align: center;
}

#search-dams, #select-dams {
    display: inline-block;
    vertical-align: middle;
}

.options input, .map-wrapper input {
    border: none;
    background: #fff;
    padding: 0 10px;
    line-height: 32px;
    height: 32px;
    display: inline-block;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-right: 20px;
}

select {
    background: #fff;
    padding: 0 10px;
    line-height: 32px;
    height: 32px;
    display: inline-block;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    min-width: 100px;
}

.table-header {
    overflow: hidden;
    padding: 20px 0;
}

.map-wrapper {
    clear: both;
}

.table-header h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 32px;
    font-weight: 900;
}

.map-wrapper .left {
    text-align: left;
}

.map-wrapper .right {
    text-align: right;
}

#lakes {
    background: #f7f7f7;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#lakes .odd {
    /*background: #fcfcfc;*/
}

#lakes th, #lakes td {
    padding: 8px 30px;
}

#lakes td {
    vertical-align: middle;
}

.info {
    padding: 46px 0;
}

#lakes_info {
    text-align: left;
    font-weight: 300;
}

.info ul {
    list-style: none;
    padding: 0;
}

#partnership, #esa-credit {
    margin-bottom: 20px;
    text-align: center;
}

#partnership span, #esa-credit span {
    margin-left: 30px;
    margin-right: 30px;
}

#partnership h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.circle {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-top: 7px;
    margin-right: 5px;
    float: left;
}

.risk-info {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background-color: #cccccc;
    padding: 3px;
    width: 100%;
    margin-left: 15px;
}

tr:nth-child(even) {
    background: #F7F7F7
}

.details {
    font-family: 'Lato', sans-serif;
}

.popup-detail-info {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background-color: #F2F2F2;
    padding: 3px;
    width: 100%;
    margin-top: 5px;
}

.popup-detail-info.drinking {
    margin-bottom:10px;
}

.popup-title a:hover {
    text-decoration: none !important;
}

#disclaimer {
    color: #666666;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#disclaimer h3 {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

.veryHigh-bar {
    height: 40px;
    background: #dd4c3d;
    display: inline-block;
    float: left;
}

.high-bar {
    height: 40px;
    background: orange;
    display: inline-block;
    float: left;
}

.medium-bar {
    height: 40px;
    background: yellow;
    display: inline-block;
    float: left;
}

.low-bar {
    height: 40px;
    background: lightskyblue;
    display: inline-block;
    float: left;
}

.table-tip {
    color: #555;
    margin-left: 2px;
}

.table-tip.top {
    color: #8e9c44;
}

.table-tip p {
    margin-left: 10px;
    margin-top:-20px;
}

.legend {
    line-height: 18px;
    color: #555;
}

.map-info {
    padding: 6px 8px;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    width: 130px;
}

.map-info h4 {
    margin: 0 0 5px;
    color: #777;
    font-size: 12pt;
}

.legend .risk-info {
    background: none !important;
}

.legend .circle {
    width: 12px;
    height: 12px;
    border: 1px solid #DEDEDE;
}


#feedback-button {
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
    color: #337ab7;
}

#feedback-button:hover {
    text-decoration: underline;
}


#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

#contact {
  background: #F9F9F9;
}

#contact h4, #signup-form h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#signup-form input[type="text"],
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#signup-form input[type="text"]:hover,
#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea, #signup-form textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"], #signup-form button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #4CAF50;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: #43A047;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

#signup-form input:focus,
#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

.login-button {
    background-color: #30A0D6;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: white;
    border: none;
    box-shadow: none;
    border-radius: 8px;
    padding: 10px;
    width: 50%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.login-button:hover {
    color: #30A0D6;
    background-color: white;
    border: lightgrey;
    box-shadow: lightgrey;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: lightgrey;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;

}

.login-field {
    width: 50%;
    text-align: left;
}


.front-button {
    background-color: #ffffff;
    font-weight: normal;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: black;
    border: none;
    box-shadow: none;
}

.front-button:hover {
    color: #30A0D6;
    background-color: white;
}


.trial-button {
    background-color: #30A0D6;
    font-weight: normal;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.trial-button:hover {
    background-color: #589F48 !important;
    color: #ffffff !important;
}




#sign-up-button:hover {
    background-color: #8e9c44;
    color: rgba(21, 32, 24, 1);
}

#sign-up-form .modal-content {
    background-color: white;
    font-family: 'Lato', sans-serif;
}

.g-recaptcha > div {
    margin: 0 auto !important;
}

button[disabled]#signup-submit, button[disabled]#contact-submit {
    cursor: not-allowed !important;
    background-color: #b7e5b8 !important;
}

#error-agreement, #error-email, #error-password {
    color: darkred;
}

#sign-up-form {
    overflow-y: auto !important;
}

.modal-header {
    background-color: #589F48 !important;
}

#map {
    width: auto !important;
    height: 500px !important;
}

a.web-link {
    text-decoration: none;
    color: black;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding-left: 5px;
}

a.web-link:hover {
    color: #30A0D6
}