.open_for_x_time{
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 2px;
    border: 1px solid;
    background-color: white;
    text-align: center;
    vertical-align: center;
    margin-left: 10px;
    height: 90%;
}

.toggle a {
    padding: 15px;
}

.top_nav .navbar-right {
    margin: 20px;
}

nav form {
    margin: 0;
}

.nav.side-menu > li > a {
    box-shadow: unset !important;
    margin-bottom: 0 !important;
}

.nav-md ul.nav.child_menu li:after {
    top: 45px !important;
}

.custom-thumbnail {
    background-color: #F7F7F7;
    color: #5A6268;
}

.thumbnail-map {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.thumbnail-label {
    color: #2A3F54;
    font-weight: bolder;
    font-size: 14px;
}

.custom-badge {
    background-color: #2A3F54;
    color: white;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1;
    font-size: 12px;
    border-radius: 15px;
    padding: 5px 12px;
}

.tile-stats {
    border-radius: 0 !important;
}

.daily-weather .day {
    border: unset;
    color: white;
    background-color: rgba(115, 135, 156, 0.36);
}

.daterangepicker .ranges li {
    border: 1px solid white;
}

.daterangepicker .ranges li:hover {
    border: 1px solid #536A7F !important;
}

.toggle {
    float: right;
    margin-right: 0;
}

.dashboard_graph {
    border: 1px solid #E6E9ED;
}

.hidden {
    display: none;
}

sup {
    font-size: xx-small;
    vertical-align: super;
}

.menu-top-level-label {
    background: linear-gradient(#334556, #2C4257), #2A3F54;
    box-shadow: unset !important;
    margin-bottom: 0 !important;
    position: relative;
    display: block;
    padding: 13px 15px 12px;
    color: #E7E7E7;
    font-weight: 500;
}

#map-sensors-button {
    background-image: url('../images/fields.png');
    background-position: center;
    background-size: 100%;
    opacity: 0.7;
}

#map-location-history-button {
    background-image: url('../images/fields.png');
    background-position: center;
    background-size: 100%;
    opacity: 0.7;
}

.refresh-sensors-button {
    cursor: pointer;
}

.report-range {
    background: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

.refresh-sensors {
    padding: 0 5px;
    margin: 5px;
    font-size: 12px;
}

.custom-btn {
    width: 100%;
    padding: 10px;
    color: #2A3F54;
    background-color: #ffffff;
    border: 2px solid #2A3F54;
}

.custom-btn-reverse {
    width: 100%;
    padding: 10px;
    color: #ffffff;
    background-color: #2A3F54;
    border: 2px solid #2A3F54;
}

.widget-image {
    width: 40px;
}

.widescreenForecasts {
    display: block;
}

.responsiveForecasts {
    display: none;
}

.sidemenu-hidden {
    display: none !important;
}

.tile-stats .count {
    font-size: 34px;
}

.tile-stats {
    padding: 15px 10px;
}

.tile-stats span {
    position: absolute;
    border-radius: 0;
    top: 0;
    right: 0;
}

.daily-weather {
    width: 80%;
    margin: auto;
}

.table-readings td, .table-readings th {
    padding: 10px 15px;
    border-top: unset;
    font-size: 14px;
}

.tile-stats h3 {
    font-size: 20px;
}

.tile-stats div.count,
.tile-stats h3,
.tile-stats p {
    text-align: right;
}

.table-forecasts {
    width: 100%;
}

.table-title {
    width: 40px;
    vertical-align: top;
}

.table-forecasts .table-title {
    text-align: left;
    /*font-size: 15px;*/
    color: #BDBDBD;
}

.table-forecasts .table-content {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    color: #2125299c;
}

.table td, .table th {
    vertical-align: initial;
}

.activities-comments {
    display: none;
}

.modal .activities-comments {
    display: block;
}

.calendar-customized td.fc-event-container a {
    background-color: #2A3F54;
    border-color: #2A3F54;
}

.calendar-customized td.fc-event-container .fc-content {
    color: #FFFFFF;
}

.icon-customized {
    border: 2px solid #d2d3d2;
    border-radius: 15px;
    font-size: 12px;
    padding: 6px 7px;
    background-color: #FFFFFF;
    color: #2A3F54;
    left: -3px;
    position: absolute;
}

.carousel-indicators {
    position: relative;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-bottom: unset;
}

.calendar-customized tbody.fc-body {
    cursor: pointer;
}

footer {
    float: right;
    color: #fff;
    width: 100%;
    background-color: unset;
}

footer a {
    color: #fff !important;
}

/* LOADER */
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    background: #FFFA;
    z-index: 9999;
}

.loader-text {
    font-size: 15px;
}

.graph-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.graph-loader-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 85px;
}

.spinner {
    width: 40px;
    height: 40px;
    background-color: #333;

    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

/* END OF LOADER */

/* NOTIFICATIONS */
/* END OF NOTIFICATIONS */


/********************* RESPONSIVE *********************/

/*@media screen and (max-width: 1000px) {*/
/*    .table-readings {*/
/*        display: inherit;*/
/*    }*/
/*}*/

@media screen and (max-width: 1024px) {
    .open_for_x_time{
        padding-top: 27px;
        padding-bottom: 27px;
        padding-left: 5px;
        border: 1px solid;
        background-color: white;
        text-align: center;
        vertical-align: center;
        margin-left: 10px;
        height: 90%;
    }

    .widescreenForecasts {
        display: none;
    }

    .responsiveForecasts {
        display: block;
    }

    .table-readings {
        display: inline-table;
    }

}

.agenso_logo {
    background-color: white;
    height: 38px; width: auto;margin-top:0;padding-bottom: 4px;
}
.copyright {
    background-color: white;
    width: 100%;
    font-size: 17px;
}

.min_max_avg{
    width:80%;
}

@media screen and (max-width: 1440px) {
    .min_max_avg{
        width:70%;
    }
}

@media screen and (max-width: 1200px) {
    .min_max_avg{
        width:60%;
    }
}

@media screen and (max-width: 700px) {
    .min_max_avg{
        width:5%;
    }
}

.relay_control {
    border-radius: 0 !important;
    padding: 15px 10px;
    background-color: white;
    height: 90%;
    border: 1px dotted grey;
}

.relay_status {
    border-radius: 0 !important;
    padding: 0 0 0 0;
    background-color: white;
    height: 90%;
    border: 1px dotted grey;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 44px;
    width: 100%;
    background-color: white;
    padding: 0 0 0 0;
    color: black;
    text-align: center;
}

.valve-time-range {
    border-radius: 0 !important;
    padding: 17px 10px;
    margin-bottom: 2px;
    background-color: white;
    height: 95%;
    border: 1px dotted grey;
}

.open_for_x_time{
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: 2px;
    padding-right: 2px;
    border: 1px solid;
    background-color: white;
    text-align: center;
    vertical-align: center;
    margin-left: 10px;
    height: 90%;
}

@media screen and (max-width: 1440px) {
    .open_for_x_time{
        padding-top: 27px;
        padding-bottom: 28px;
        padding-left: 5px;
        border: 1px solid;
        background-color: white;
        text-align: center;
        vertical-align: center;
        margin-left: 10px;
        height: 90%;
    }
    .toggle.auto_button .toggle-group label {
        font-size: 12px;
    }
    .valve_button {
        padding-left: 4px;
        color: black;
        width: 100%;
        font-size: 12px;
    }
    .valve_status {
        border-radius: 0 !important;
        padding: 0 0 0 0;
        background-color: white;
        font-size: 11px;
        border: 1px dotted grey;
        max-height: 100px;
    }
    .valve_control {
        border-radius: 0 !important;
        padding: 5px 10px;
        background-color: white;
        border: 1px dotted grey;
        max-height: 100px;
    }
    .valve-time-range {
        border-radius: 0 !important;
        padding-top:20px;
        padding-bottom:20px;
        /*padding: 9px 10px;*/
        margin-left:5px;
        margin-bottom: 5px;
        background-color: white;
        /*height: 95%;*/
        border: 1px dotted grey;
    }


    .relay_control {
        border-radius: 0 !important;
        padding: 15px 10px;
        background-color: white;
        height: 90%;
        border: 1px dotted grey;
    }

    .relay_status {
        border-radius: 0 !important;
        padding: 0 0 0 0;
        background-color: white;
        height: 75%;
        border: 1px dotted grey;
    }
}

@media screen and (max-width: 1024px) {
    .valve-time-range {
        border-radius: 0 !important;
        padding-top: 30px;
        padding-bottom: 22px;
        padding-right: 10px;
        background-color: white;
        border: 1px dotted grey;
    }

    .relay_control {
        border-radius: 0 !important;
        padding: 10px 10px;
        background-color: white;
        height: 90%;
        border: 1px dotted grey;
    }

    .relay_status {
        border-radius: 0 !important;
        padding: 0 0 0 0;
        background-color: white;
        height: 90%;
        border: 1px dotted grey;
    }
}

@media screen and (min-width: 1920px) {
    .valve-time-range {
        border-radius: 0 !important;
        padding-top: 30px;
        padding-bottom: 23px;
        padding-right: 10px;
        background-color: white;
        border: 1px dotted grey;
    }
}


.valve_control {
    border-radius: 0 !important;
    padding: 15px 10px;
    background-color: white;
    height: 90%;
    border: 1px dotted grey;
}
.toggle.auto_button .toggle-group label {
    font-size: 12px;
}
.valve_status {
    border-radius: 0 !important;
    padding: 0 0 0 0;
    background-color: white;
    height: 90%;
    border: 1px dotted grey;
}

.btn_open_for_x_time{
    font-size: 14px;
}



@media screen and (max-width: 500px) {
    .valve_control {
        border-radius: 0 !important;
        padding: 15px 10px;
        background-color: white;
        height: 95%;
        border: 1px dotted grey;
    }

    .valve_status {
        border-radius: 0 !important;
        padding: 0 0 0 0;
        background-color: white;
        height: 95%;
        border: 1px dotted grey;
    }
}

@media screen and (max-width: 320px) {
    .open_for_x_time{
        padding-top: 37px;
        padding-bottom: 38px;
        padding-left: 5px;
        border: 1px solid;
        background-color: white;
        text-align: center;
        vertical-align: center;
        margin-left: 10px;
        height: 90%;
    }
}


.tooltip {
    /*position: relative;*/
    /*display: inline-block;*/
    /*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
