.ph {
    height: 100%;
}

.pw {
    width: 100%;
}

@media (max-width: 400px) {
    .uni-frame-head {
        width: 100vw !important;
    }
}

.nomargin {
    margin: 0;
}

.mrtop5 {
    margin-top: 5px;
}

.mrtop7 {
    margin-top: 7px;
}
.mrtop10 {
    margin-top: 10px;
}

.mrtop20 {
    margin-top: 20px;
}

.uni-def-btn {
    height: 35px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #ED8023;
    color: #fff;
    border: none;
    border-radius: 20px;
    float: right;
    min-width: 80px;
}

.uni-ul {
    margin: 0;
    padding: 0;
    width: 100%;
}

.info-text {
    color: rgb(185,185,185);
    padding: 10px;
}
.message-text {
    color: rgb(185,185,185);
    padding: 10px;
    font-size: 16px;
}
.uni-ul li {
    float: left;
    list-style: none;
}

.uni-cf {
    height: calc(100% - 166px);
}

#i-soft-uni {
    background-color: rgb(26,26,26);
    color: #fff;
}

.col--2 {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
}

.ta-center {
    text-align: center;
}



/* FRAME HEAD */
.uni-frame-head {
    padding-left: 10px;
    padding-right: 10px;
    height: 40px;
}

.frame-title.uni {
    float: left;
    color: #ED8023;
    display: none;
    font-size: 16px;

}
.frame-control-title {
    float: right;
    color: #ED8023;
    font-size: 16px;
}
.waterflowstat-header,
.waterconsstat-header,
.saltconsstat-header {
    float: right;
    color: #FFF;
    font-size: 15px;
    padding-right: 10px;
}
.uni-back {
    background-image: url("../icons/uni-back.png");
    background-size: 30px 30px;
    background-position: 0 center;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: none;
    float: left;
    display: none;
}



/* MAIN CONTENT */
.uni-content {
    height: calc(100% - 85px);
    width: 100%;
    overflow: hidden;
    padding-top: 5px;
    /*padding-left: 15px;
     padding-right: 15px;*/
}

.uni-frame {
    height: 100%;
    width: 100%;
    overflow: auto;
    display: none;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-overflow-scrolling: touch;
}

.content-with-info {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(100% - 60px);

}

.info-panel {
    height: 50px;
    text-align: center;
    padding-top: 7px;

}

.info-panel.border {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.circle {
    padding: 5px;
    text-align: center;
    cursor: pointer;
}
.circle-statistic {
    padding: 10px;
    text-align: center;
    cursor: pointer;
}
.circle div {

}

.circle div img {
    height: 100px;
}

.circle.small div img {
    height: 70px;
}

.circle.small div h5 {
    color: #fff;
}

.table-2col tr td {
    width: 50%;
    padding: 1px 0;
}

.table-2col.sc-cnf tr td:nth-child(1){
    width: 40%;
}

.table-2col.pdng tr td {
    padding: 8px 0;
}
.table-2col.pdngall tr td {
    padding: 8px 8px 8px 0;
    text-align: left;
}
.table-2col tr td:nth-child(2) {
    border-left: 1px solid #fff;
    padding-left: 10px!important;
}

.sc-ul.li-3.sm li img {
    margin-left: 5px;
}

.table-3col tr td {
    width: 33.3%;
    padding: 8px 0;
    text-align: center;
}
.table-3col-conf tr td {
    padding: 8px 20px;
}
.table-3col-conf tr td:nth-child(1) {
    padding: 8px 20px 8px 0;
}
.table-3col-conf tr{
    height: 80px;
}
.table-3col-conf tr td:nth-child(2) {
    border-left: 1px solid #fff;
}
.checkbox-layer-1 {
    height: 30px;
    width: 30px;
    background-color: rgb(102,102,102);
    border-radius: 50%;
    margin: 30px auto;
    padding: 4px;
}

.checkbox-layer-2 {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #000;
}

.checkbox-layer-3 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}

#battery-status-indicator {
    height: 100px;
    width: 100px;
    background-color: #ED8023;
    border-radius: 50%;
    margin-top: 10px;
    background-image: url("../icons/grey-square.png");
    background-size: 100px 60px;
    background-repeat: no-repeat;
}

.uni-info {
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: none;
    background-image: url("../icons/info.png");
    background-position: center;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    float: right;
    display: none;
}
.uni-waterflow-stat-change{
    height: 25px;
    width: 25px;
    background-color: transparent;
    border: none;
    background-image: url("../icons/change_waterflowstat.png");
    background-position: center;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    float: right;
    margin-top: 5px;
}
.uni-scene-custom-name {
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: none;
    background-image: url("../icons/Icon_Edit_small.png");
    background-position: center;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    display: none;
}
.table-2col tr td input {
    background-color: rgb(43,43,43);
    border: none;
    border-radius: 15px;
    color: #fff;
    height: 35px;
    text-align: left;
    padding: 0 20px;
}
.table-3col-conf tr td button {
    background-color: rgb(43,43,43);
    border: none;
    border-radius: 15px;
    color: #fff;
    height: 35px;
    text-align: left;
    padding: 0 20px;
    width: 100%;
}
.button-active{
    background-color: #ED8023!important;
    color: rgb(43,43,43)!important;
}
.table-3col-conf tr td img {
    display: none;
}
.frame-title input{
    background-color: rgb(43,43,43);
    border: none;
    border-radius: 15px;
    color: #fff;
    height: 35px;
    text-align: left;
    padding: 0 20px;
}
.uni-button {
    display: block;
    color: #fff;
    background-color: rgb(43,43,43);
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    height: 35px;
    width: 200px;
    border: none;
}

.switch-bar-image {
    margin-left: -5px;
}

.switch-bar {
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.sb-sv {
    display: none;
}
.favorite {
    padding: 0;
}
.favorite-selected {
    height: 20px !important;
    width: 20px !important;
    margin-left: -35px;
    margin-top: -55px;
}

.main-scene-state-icon {
    height: 35px !important;
    width: 35px !important;
    margin-left: -37px;
    margin-top: -55px;
}

.scene-button {
    height: 35px;
    background-color: rgb(42,42,42);
    border: none;
    border-radius: 15px;
    min-width: 120px;
    color: #fff;
}

.confirm-button {
    height: 35px;
    background-color: rgb(42,42,42);
    border: none;
    border-radius: 15px;
    min-width: 150px;
    color: #fff;
}

.lernmodus-button{
    height: 35px;
    background-color: rgb(42,42,42);
    border: none;
    border-radius: 15px;
    min-width: 250px;
    color: #fff;
}
.save-button {
    height: 35px;
    background-color: #ED8023;
    border: none;
    border-radius: 15px;
    min-width: 75px;
    font-weight: bold;
}

.sc-ul {
    height: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.sc-ul li {
    height: 30px;
    list-style: none;
    float: left;
    text-align: left;
}

.sc-ul.sm,
.sc-ul.sm li {
    /*height: 25px;*/
}

.sc-ul li:not(:first-child) {
    padding-left: 5px;
}

.sc-ul.li-2 li  {
    width: 50%;
}

.sc-ul.li-3 li:nth-child(2) {
    width: calc(100% - 100px);
}

.sc-ul.li-3 li:nth-child(1){
    width: 30px;
}

.sc-ul.li-3 li:nth-child(3) {
    width: 70px;
}
.scene-leackage {
    margin-left: 5px;
}

.sc-conf {
    opacity: 1;
    cursor: pointer;
}

.sc-time-table,
.sc-leackage-table {
    width: 100%;
}


.sc-holiday-table tr td:nth-child(1),
.sc-holiday-table tr td:nth-child(2){
    width: 60px;
}

.day-circle {
    height: 40px;
    width: 40px;
    background-color: rgb(43,43,43);
    border-radius: 20px;
    margin: 0 auto;
    cursor: pointer;
}

.day-circle h5 {
    line-height: 40px;
}

.day-active {
    background-color: #ED8023;
}

.scene-leackage-hardness {
    height: 60px;
    background-color: rgb(43,43,43);
    width: 60px;
    border-radius: 30px;
    line-height: 60px;
    margin: 20px auto;
    cursor: pointer;
    font-size: 30px;
}

.scene-conf tr td {
    padding: 4px 0;
}

.scene-conf tr td:nth-child(2) {
    width: 46px;
    text-align: right;
}

.scene-conf tr td:nth-child(1) {
    text-align: left;
}

.set-hardness-table {
    width: 250px;
    margin: 20px auto;
}

.set-hardness-table tr td:nth-child(2){
    width: 100px;
}

.pointer,
.hardness-btn {
    cursor: pointer;
}



/* FOOTER - NAVIGATION */
.uni-header-navi {
    height: 40px;
    width: 100%;
    background-color: transparent;
    /*padding-left: 15px;
    padding-right: 15px;*/
}

.uni-header-navi ul li {
    width: 80px;
    list-style: none;
    float: left;
    cursor: pointer;
}

.uni-header-navi ul li img {
    display: block;
    margin: 0 auto;
    float: left;
}

.uni-breadcrumb {
    line-height: 40px;
    color: #ED8023;
}





/* MODAL WINDOW */
#i-soft-uni-overlay {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #7D7D7D;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    padding: 40px 20px;
}

#uni-modal-content {
    height: 100%;
    width: 100%;
    background-color: #3B3B3B;
    border-radius: 8px;
}

.uni-mhead {
    height: 70px;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 25px 10px 10px 10px;
}

.uni-modal-title {
    display: inline-block;
    width: calc(100% - 40px);
    color: #fff;
    text-align: center;
    padding-left: 40px;
    float: left;
    margin-top: 6px;
}

.uni-modal-body {
    width: 100%;
    height: calc(100% - 70px);
    overflow: auto;
    color: #fff;
    -webkit-overflow-scrolling: touch;
}

.uni-modal-close {
    background-image: url("../icons/modal-close.png");
    background-size: 32px 32px;
    background-repeat: no-repeat;
    height: 35px;
    width: 35px;
    background-color: transparent;
    border: none;
    float: right;
}

.holiday-table {
    height: 90%;
    width: 100%;
}

.holiday-table tr td {
    width: 50%;
}

.holiday-table tr td:nth-child(1){
    text-align: right;
    padding-right: 30px;
}

.holiday-table tr td:nth-child(2){
    text-align: left;
    padding-left: 30px;
}

.holiday-days {
    color: #fff;
    margin-left: 5px;
    margin-bottom: 20px;
}


@media (max-device-width: 420px) {
    .scene-button {
        width: 98%;
    }
}

@media (max-device-width: 450px) {
    .confirm-button {
        min-width: 100px;
        font-size: 12px;
    }
    .info-panel{
        /*min-height: 75px;*/
        font-size: 12px;
    }
}








/****** Switch ******/

.switch {
    position: relative;
    /*display: block;*/
    width: 46px;
    height: 26px;
    float: right;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(102,102,102);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: rgb(43,43,43);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #ED8023;
}

input:focus + .slider {
    box-shadow: 0 0 1px #ED8023;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 12px;
}

.slider.round:before {
    border-radius: 12px;
}

/* Scenes */
.icon_container {
    width: 100px !important;
    height: 100px;
    display: flex;
    margin: auto;
    position: relative;
}
.icon-position-cener {
    position: absolute;
    width: 100px;
    height: auto;
}
.icon_container + h5, .mainnav>div>h5  {
    margin: 5px 0 25px 0;
}
/* Scenes */
.icon_container-small {
    width: 70px !important;
    height: 70px !important;
    display: flex;
    margin: auto;
    position: relative;
}
.icon-position-cener-small {
    position: absolute;
    width: auto;
    height: 70px;
}
.icon-position-cener-mini{
    position: absolute;
    width: auto;
    height: 40px;
    margin-left: 16px;
    margin-top: 12px;
}
.small-mini-icon {
    width: 25px;
    margin: 5px;
}

.big-mini-icon {
    width: 35px;
    margin: -5px;
}

.icon-position-right {
    height: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}
.button-icon{
    padding-right: 5px;
}
#uni-water-flow-stats, #uni-water-consumption-stats, #uni-salt-consumption-stats {
    margin: 0;
    overflow: visible;
}

img {
    -webkit-user-select: none !important; /* Chrome/Safari */
    -moz-user-select: none!important; /* Firefox */
    -ms-user-select: none!important; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none!important;
    user-select: none!important;
    -webkit-touch-callout: none!important;
    pointer-events:none!important;
}
.sc-time,
.limits-config,
.hardness-btn,
.sc-calendar{
    pointer-events: auto !important;
    cursor: pointer !important;
}
*[data-modal] {
    cursor: pointer;
    pointer-events: auto;
}

.b-contain *, .b-contain *::before, .b-contain *::after {
    box-sizing: content-box !important;
}

.b-contain input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.b-contain span {
    line-height: 1.22;
    font-size: 18px;
    font-family: inherit;
}

.b-contain {
    position: relative;
    padding-left: 8.00rem;
    cursor: pointer;
    margin-bottom: 1.07rem;
}

.b-contain input[type="checkbox"] ~ .b-input {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.91rem;
    width: 1.91rem;
    background: rgba(26, 26, 26, 1);
    transition: background 250ms;
    border: 2px solid rgba(102, 102, 102, 1);
    border-radius: 3rem;
}

.b-contain input[type="checkbox"] ~ .b-input::after {
    content: '';
    position: absolute;
    display: none;
    left: 0.75rem;
    top: 0.33rem;
    width: 0.34rem;
    height: 1.03rem;
    border: solid rgba(237, 128, 35, 1);
    border-width: 0 2px 2px 0;
    transition: background 250ms;
    transform: rotate(45deg);
}

.b-contain input:disabled ~ .b-input::after {
    border-color: rgba(26, 26, 26, 1);
}

.b-contain input:checked ~ .b-input::after {
    display: block;
}

.b-contain:hover input ~ .b-input,
.b-contain input:focus ~ .b-input {
    background: rgba(26, 26, 26, 1);
}

.b-contain input:focus ~ .b-input {
    box-shadow: 0 0 0 0px rgba(237, 128, 35, 1);
}

.b-contain input:checked ~ .b-input {
    background: rgba(26, 26, 26, 1);
    border-color: rgba(102, 102, 102, 1);
}

.b-contain input[type="checkbox"]:disabled ~ .b-input {
    background: rgba(26, 26, 26, 1);
    border-color: rgba(184, 194, 204, 1);
    opacity: 0.6;
    cursor: not-allowed;
}
.b-contain input:checked:focus ~ .b-input, .b-contain:hover input:not([disabled]):checked ~ .b-input {
    background: rgba(26, 26, 26, 1);
    border-color: rgba(237, 128, 35, 1);
}

.b-contain input + .b-input::before {
    animation: b-ripple 250ms ease-out;
}

.b-contain input:checked + .b-input::before {
    animation-name: b-ripple-duplicate;
}

.b-contain .b-input::before {
    visibility: hidden;
}

.b-contain input:focus + .b-input::before {
    visibility: visible;
}

.b-contain:first-child .b-input::before {
    visibility: hidden;
}

@media (max-width: 878px) {
    .time-switch-container {
        margin: 18px auto !important;
    }
}

@media (max-width: 750px) {

}

@media (max-width: 750px) {
    .time-switch-container span {
        font-size: 14px !important;
    }
}

.time-switch-container {
    width: 200px;
    color: white;
    position: relative;
    text-align: center;
    max-width: 765px;
    margin: 18px auto;
}

.time-switch-container span {
    color: #FFF;
    font-size: 16px;
    right: 0;
    top: -24px;
}

.time-switch {
    width: 25px;
    height: auto;
    cursor: pointer;
    pointer-events: auto !important;
}

.time-switch.disabled {
    opacity: 0.3;
}

.uni-frame-control {
    position: relative;
    display: inline-block;
    float: right;
}

#change-scenename-form {
    margin-top: -8px;
}

div.border-container {
    z-index: 0;
    position: relative;
    display: inline-block;
    padding: 0 4px 4px 0;
    -ms-transform: matrix(1, 0, -0.4, 1, 0, 0);
    -webkit-transform: matrix(1, 0, -0.4, 1, 0, 0);
    transform: matrix(1, 0, -0.4, 1, 0, 0);
    border-right: 0;
    border-bottom-right-radius: 13px;
    background-image: linear-gradient(to bottom right, rgba(255,0,0, 0),rgba(255,0,0, 0),rgba(255,0,0, 0.1),rgba(239,125,0, 0.9),rgba(239,125,0,1));
    -moz-background-image: linear-gradient(to bottom right, rgba(255,0,0, 0),rgba(255,0,0, 0),rgba(255,0,0, 0.1),rgba(239,125,0, 0.9),rgba(239,125,0,1));
    -o-background-image: linear-gradient(to bottom right, rgba(255,0,0, 0),rgba(255,0,0, 0),rgba(255,0,0, 0.1),rgba(239,125,0, 0.9),rgba(239,125,0,1));
    -webkit-background-image: linear-gradient(to bottom right, rgba(255,0,0, 0),rgba(255,0,0, 0),rgba(255,0,0, 0.1),rgba(239,125,0, 0.9),rgba(239,125,0,1));
    overflow: hidden;
    width: 90%;
}

div.border-container-single-line {
    z-index: 0;
    position: relative;
    display: inline-block;
    padding: 0 0 4px 0;
    overflow: hidden;
    width: 9%;
    background: rgb(26,26,26);
    background: radial-gradient(circle, rgb(239, 125, 0) 1%, rgb(239, 125, 0) 50%, rgba(239,125,0, 0) 100%);
    height: 4px !important;
}

div.border-content {
    z-index: 1;
    position: relative;
    background-color: rgb(26,26,26);
    -ms-transform: matrix(1, 0, 0, 1, 0, 0);
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
    border-right: 0;
    border-bottom-right-radius: 11px;
    margin-left: -1px;
}

div.border-content-single-line {
    z-index: 1;
    position: relative;
}

div.border-normalize {
    min-width: 50px;
    min-height: 15px;
    content: "";
    z-index: 2;
    position: relative;
    -ms-transform: matrix(1, 0, 0.4, 1, 0, 0);
    -webkit-transform: matrix(1, 0, 0.4, 1, 0, 0);
    transform: matrix(1, 0, 0.4, 1, 0, 0);
    padding: 0 0 0 15px;
}

div.border-normalize-single-line {
    min-width: 50px;
    min-height: 15px;
    content: "";
    z-index: 2;
    position: relative;
    padding: 0 15px;
}

.sc-conf.disabled {
    opacity: 0.4;
}

@media (max-width: 485px) {
    div.border-container-single-line {
        display: none !important;
    }
}

@media (max-width: 330px) {
    div.border-normalize,
    div.border-content {
        height: 80px !important;
    }
}
@media (max-width: 400px) {
    .button-icon{
        display: none;
    }
}
@media (max-width: 450px) {
    .table-3col-conf tr td {
        padding: 8px 5px 8px 5px;
    }
    .table-3col-conf tr td:nth-child(1) {
        width: 50%;
        padding: 8px 5px 8px 0;
    }
}
li[data-menu='uni-statistics'] {
    width: 40px !important;
}

div[data-menu='uni-automatic-leckage'] {
    text-align: center;
    width: 100%;
}

.w-50 {
    width: 50%;
}

.leckage-check-time, .learnmode-config {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    background-size: 35px;
    padding: 0 !important;
}

.leckage-check-time.up, .learnmode-config.up {
    background-image: url("../icons/arrow-up.png");
}

.leckage-check-time.down, .learnmode-config.down {
    background-image: url("../icons/arrow-down.png");
}

.icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../icons/Icon_Check_off.png");
}

.icon-check.on {
    background-image: url("../icons/Icon_Check.png");
}

#micro-leckage-check-time-label {
    opacity: 0.6;
}

#micro-leckage-check-time-label.on {
    opacity: 1;
}

.button-set-contact {
    display: none;
}

.service-input:disabled {
    opacity: 0.6;
}

table#notifications {
    width: 100%;
}

table#notifications tr td {
    padding: 3px !important;
}

table#notifications tr td p {
    padding: 3px 5px;
    background-color: #37434B;
    margin-bottom: 3px;
}

table#notifications tr td:nth-child(2) {
    width: 140px;
}

.notification-actions {
    text-align: center;
    margin-top: 20px;
}

.notification-actions button.ghost-btn {
    background-color: #2b2b2b;
    color: #7d7d7d;
    border: 1px solid #7d7d7d;
}