﻿:root {
    --fsblue: #01aeef;
}

body {
    background-color: #fff;
    color: #666 !important;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

h4 {
    padding-left: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* main layout
----------------------------------------------------------*/

#body {
    clear: both;
    padding-bottom: 50px;
}

.no-padding td {
    padding: 0px !important;
}

.featured + .main-content {
    background: url("/Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 5px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 25px;
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    bottom: 0;
    margin-bottom: 0;
    font-size: 10px !important;
}

    footer p {
        font-size: 12px;
    }

/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin-left: 0px;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

fieldset.open-auth-providers {
    margin-top: 15px;
}

    fieldset.open-auth-providers button {
        margin-bottom: 12px;
    }

.loadingIndicator {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('/Images/Loading.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .loadingIndicator {
        display: block;
    }

.DetailsFormTable td {
    padding: 2px !important;
}

#map-canvas {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.infoPopupHeader {
    border-bottom: dashed 1px #CCC;
    margin-bottom: 10px;
}

.dataTable {
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
}

    .dataTable tbody td, .dataTable tbody th {
        padding: 7px 8px;
        font-size: 12px;
        color: #555;
        border: 0px none;
        font-weight: normal;
    }

    .dataTable thead th {
        vertical-align: bottom;
        border-bottom: 1px solid #DADADA;
    }

.no-border td {
    padding: 2px;
}

.icon-chevron-down {
    background: transparent url('/Images/Collapse.png') no-repeat;
    padding-left: 25px;
}

.icon-chevron-up {
    background: transparent url('/Images/Expand.png') no-repeat;
    padding-left: 25px;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.form-group label, .formLabel {
    font-size: 13px;
    color: #666;
}

select {
    color: #666 !important;
    border-color: #ccc;
}

@media (min-width: 1200px) {
    #dvContentWrapper {
        padding: 5px 30px 10px 30px;
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    #dvContentWrapper {
        padding: 3px 10px 10px 10px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    #dvContentWrapper {
        padding: 2px 2px 2px 18px;
    }
}

.validation-summary-errors {
    color: red;
}

.field-validation-error {
    color: red;
}

.numericTextBox {
    width: 70px;
    text-align: center;
}

.borderless tr, .borderless td {
    border: none !important;
    background: transparent;
}

.valve {
    width: 24px;
    height: 24px;
    background-image: url('/Images/ICONS-24x24/valve-blue-24x24.png');
    border: 0px none;
}

.float-right-edit {
    float: right;
    font-weight: normal;
    font-size: 15px;
    color: #333333; /*Gray20*/
    padding: 0px 10px 0px 10px;
}

.navbar-nav li a {
    font-size: 14px;
}

.dropdown-menu li a {
    font-size: 13px;
    text-transform: none;
    color: #666;
}

.btn-droplet {
    color: var(--fsblue);
    border: solid 1px var(--fsblue);
    margin-top: 2px;
}

    .btn-droplet:hover {
        color: #3071a9;
        border: solid 1px #3071a9;
    }

.btn-droplet-white {
    background-color: var(--fsblue);
    color: #fff;
    border: solid 1px #fff;
    margin-top: 2px;
}

    .btn-droplet-white:hover {
        color: #CCC;
        border: solid 1px #CCC;
    }

.btn-droplet-clear {
    border: solid 1px #ccc;
    font-size: 12px;
    border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    color: #3071a9;
    background-color: #fff;
    white-space: nowrap
}

    .btn-droplet-clear:hover {
        color: var(--fsblue);
        border-color: var(--fsblue);
    }

    .btn-droplet-clear:active {
        color: var(--fsblue);
        border-color: var(--fsblue);
    }

.progressBar {
    background-color: #dfdfdf;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    color: #333;
}

.caret {
    color: var(--fsblue);
    margin-left: 4px;
}

.toolBar {
    background-color: #fff;
    display: block;
    height: 50px;
    line-height: 46px;
    padding-left: 10px;
    padding-right: 10px;
    border: solid 1px #e1e1e1;
    border-radius: 5px;
    margin: 0 2px 0 2px;
    box-shadow: 0 0.46875rem 2.1875rem rgb(4 9 20 / 3%), 0 0.9375rem 1.40625rem rgb(4 9 20 / 3%), 0 0.25rem 0.53125rem rgb(4 9 20 / 5%), 0 0.125rem 0.1875rem rgb(4 9 20 / 3%);
}

    .toolBar table td:first-child:not(.bootstrap-datetimepicker-widget td) {
        width: 100%;
    }

.toolBar-double {
    height: 100px;
}

.toolbarButton {
    color: #fff;
    background-color: #47636e;
    border: 0 none;
    border-radius: 2px;
    font-size: 12px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

    .toolbarButton:hover, .toolbarButton:focus {
        color: #fff;
    }

.toolBar table {
    height: 45px;
    line-height: 45px;
    width: 100%;
}

.toolBar td {
    padding: 0px 3px 0px 3px;
    white-space: nowrap;
}

.table-condensed td {
    white-space: normal;
}

.toolBar select {
    margin: 0;
}

.toolBar .title {
    font-family: 'Open Sans';
    font-size: 18px;
}

.toolBar .title {
    font-family: 'Open Sans';
    font-size: 18px;
}

.recordCount {
    display: block;
    text-align: right;
    margin: 5px 20px 3px 0;
    height: 20px;
    line-height: 20px;
}

#Overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: white;
    opacity: 0.5;
    left: 0;
    top: 0;
    text-align: center;
    display: none;
    color: white;
}

.panel-heading h4 {
    color: #fff;
    text-transform: uppercase;
}

.table-striped thead tr {
    background-color: var(--fsblue);
    color: #fff;
}

    .table-striped thead tr th {
        color: #fff;
    }

.valveStationToolbar #tdStationListButton {
    width: 120px;
}

.valveStationToolbar #tdStationSaveButton {
    width: 80px;
}

.noRecords {
    padding: 10px;
}

@media (min-width: 768px) {
    .valveStationToolbar #tdStationListButton {
        width: 120px;
    }

    .valveStationToolbar #tdStationSaveButton {
        width: 80px;
    }

    .form-wrapper {
        padding: 5px 0 5px 10px;
    }
}

@media (max-width: 767px) {
    .valveStationToolbar #tdStationListButton {
        width: 120px;
    }

    .valveStationToolbar #tdStationSaveButton {
        width: 80px;
    }

    .form-wrapper {
        padding: 3px 0 5px 5px;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 11px;
    }

    .valveStationToolbar #tdStationListButton {
        width: 116px;
    }

    .valveStationToolbar #tdStationSaveButton {
        width: 75px;
    }

    .toolBar .title {
        font-family: 'Open Sans';
        font-size: 15px;
    }

    .title-details {
        display: none;
    }

    .btn > i {
        display: none !important;
    }

    .form-wrapper {
        padding: 2px 0 3px 3px;
    }
}

/* Navigation styling */
.navbar {
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 0;
    border: none;
}

.block-flat {
    padding-top: 10px;
}

.panel-default {
    border-color: #ddd;
    margin: 10px;
}

#tblSiteStatus td {
    padding: 0;
}

.numeric {
    width: 80px !important;
    text-align: center;
    flex: none !important;
    display: inline-block;
}

.tableRowHeading, .tableRowHeading th {
    background-color: var(--fsblue) !important;
    color: #fff !important;
}

    .tableRowHeading:hover {
        color: #fff !important;
    }

.modal-title {
    color: #212529;
    margin-bottom: 0;
    line-height: 1.5;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.dropdown-toggle:after {
    color: var(--fsblue);
}

.dropdown-menu-header {
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.dropdown-menu-footer {
    padding: .5rem;
    text-align: center;
    display: block;
    font-size: .75rem !important;
}

.alarm-delete {
    float: right;
    top: 5px;
    right: 5px;
    border: none;
    padding: 0px 5px 0px 5px;
}

    .alarm-delete:hover {
        border: solid 1px var(--fsblue);
    }

.alarm-time {
    font-weight: bold;
    font-size: .75rem !important;
    padding-left: 18px;
}

.alarm-notificationItem-icon {
    width: 20px;
}

.xs-actions-menu {
    width: 85px;
}

.grid-actions-column-1 {
    width: 55px;
    text-align: center;
}

.grid-actions-column-2 {
    width: 75px;
    text-align: center;
}

.toolbar-cell {
    display: none;
}

.xs-actions-menu {
    display: table-cell;
}

.grid-action-form {
    display: inline !important;
}

.grid-action-button {
    border: none;
    display: inline;
    color: #3071a9;
    cursor: pointer;
    padding: 0;
    background-color: transparent !important;
}

.gps-position-picker {
    padding: 0 !important;
    width: 285px;
}

    .gps-position-picker td:first-child {
        padding-left: 0;
    }

.card-grid-container {
    padding: 0 !important;
}

.input-group-text {
    padding: .2rem .75rem;
    font-size: 0.7rem;
}

.validation-summary-errors {
    padding-top: 20px;
}

.grid-error-row {
    color: red !important;
}

.run-on-days-selector {
    width: 430px;
    padding: 5px 0 0 15px;
}

.run-on-days-checkbox {
    display: inline;
}

    .run-on-days-checkbox label {
        padding: 0 15px 0 3px;
    }

.validation-summary-errors a {
    text-decoration: underline !important;
}

.toolbar-blink {
    border: solid 1px #fff;
    animation-name: toolbarBlink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes toolbarBlink {
    50% {
        border: solid 3px red;
    }
}

.license-expiring-blink {
    background-color: #fff;
    color: red;
    animation-name: licenseExpiringBlink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes licenseExpiringBlink {
    50% {
        background-color: red;
        color: #fff;
    }
}

/* CHATBOX
=============== */
.chatbox {
    position: fixed;
    bottom: 50px;
    right: 15px;
    z-index: 9999;
}

/* CONTENT IS CLOSE */
.chatbox__support {
    display: flex;
    flex-direction: column;
    background: #eee;
    width: 300px;
    height: 350px;
    z-index: -123456;
    opacity: 0;
    transition: all .5s ease-in-out;
    display: none;
}

/* CONTENT ISOPEN */
.chatbox--active {
    transform: translateY(-40px);
    z-index: 123456;
    opacity: 1;
}

/* BUTTON */
.chatbox__button {
    text-align: right;
    width: 70px;
    float: right;
}

.send__button {
    padding: 6px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

/* HEADER */
.chatbox__header {
    position: sticky;
    top: 0;
    background: orange;
}

/* MESSAGES */
.chatbox__messages {
    margin-top: auto;
    display: flex;
    overflow-y: scroll;
    flex-direction: column-reverse;
}

.messages__item {
    background: orange;
    max-width: 60.6%;
    width: fit-content;
}

.messages__item--operator {
    margin-left: auto;
}

.messages__item--visitor {
    margin-right: auto;
}

/* FOOTER */
.chatbox__footer {
    position: sticky;
    bottom: 0;
}

.chatbox__support {
    background: #f9f9f9;
    height: 550px;
    width: 350px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* HEADER */
.chatbox__header {
    background: #f1f4f6;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: var(--primaryBoxShadow);
}

.chatbox__image--header {
    margin-right: 10px;
}

.chatbox__heading--header {
    font-size: 1.2rem;
}

.chatbox__description--header {
    font-size: .9rem;
}

/* Messages */
.chatbox__messages {
    padding: 0 20px;
}

.messages__item {
    margin-top: 10px;
    background: #E0E0E0;
    padding: 8px 12px;
    max-width: 70%;
}

.messages__item--visitor,
.messages__item--typing {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.messages__item--operator {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: var(--primary);
    color: white;
}

/* FOOTER */
.chatbox__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background: var(--secondaryGradient);
    box-shadow: var(--secondaryBoxShadow);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-top: 20px;
}

    .chatbox__footer input {
        width: 80%;
        border: none;
        padding: 10px 10px;
        border-radius: 30px;
        text-align: left;
    }

.chatbox__send--footer {
    color: white;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
    padding: 10px;
    background: white;
    border: none;
    outline: none;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .chatbox__button button img {
        width: 50px;
        height: 50px;
    }

.under-development {
    color: red !important;
}

@media (min-width: 576px) {
    .toolBar {
        padding-left: 10px;
        padding-right: 20px;
        border-radius: 5px;
        margin: 0 2px 0 2px;
    }

        .toolBar table tbody td:not(.bootstrap-datetimepicker-widget td) {
            padding: 0px 6px;
        }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .toolBar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grid-actions-column-1 {
        width: 80px;
        text-align: center;
    }

    .grid-actions-column-2 {
        width: 100px;
        text-align: center;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .toolBar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .toolbar-cell {
        display: table-cell;
    }

    .xs-actions-menu {
        display: none;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .toolBar {
        padding-left: 20px;
        padding-right: 20px;
    }
}