﻿#graphContextmenu {
    display:none;
    position: absolute;
}

/*Reset the default ul styles*/
.menu, .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*Main level*/
.menu {
    background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777;
    float: left;
}

.menu2 {
    background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777;
    float: left;
    text-align: center;
    font: bold 20px Arial, Helvetica;
}

.menu3 {
    background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777;
    text-align: center;
}

.menu4 {
    background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777;
}

.menu:before,
.menu:after {
    content: "";
    display: table;
}

.menu:after {
    clear: both;
}

.limenu {
    border-right: 0px !important;
    box-shadow: none !important;
}

.menu a {
    float: left;
    padding: 10px 10px;
    color: #999;
    font: bold 16px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

#menu2 div {
    font: bold 24px Arial, Helvetica !important;
}

.menu li:hover > a {
    color: #fafafa;
}
/*Submenus*/
.menu ul {
    margin: 0px 0 0 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 5px;
    z-index: 3;    
    background: #444;   
    background: linear-gradient(#444, #111);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

.rowHeader {
    width: 210px;
    display: table;
}
.rowHeaderAlign {
    vertical-align: middle;
}

.arrow {
    font-size: 40px !important;
}
.greyText {
    color: rgb(153, 153, 153);
    font: bold 20px Arial, Helvetica;
    margin-left: 15px;
    display: inline-block;
}
.greyText2 {
    color: rgb(153, 153, 153);
    font: bold 20px Arial, Helvetica;
}
.w100 {
    width: 150px;
}

#divThermostat {
    margin-left: 230px;
    border-left: 4px solid #222;
}

#heating li {
    padding: 10px;
}

#menuHeating {
    margin: 4px;
}
/*Heating css*/
#heatingMain {
    margin-top: 1px;
}
#liMinTemp {
    margin-top: -10px;
}

.menu li:hover {
    cursor: pointer;
    color: white;
}
.fixa {
    float: none !important;
}
.menu li, #closeShopListStats {
    float: left;
    padding: 10px 10px;
    color: #999;
    font: bold 16px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    border-right: 4px solid #222;
    box-shadow: 1px 0 0 #444;
    position: relative;
}
.divEcoAndPanels {
    display: inline;
}

.menu li div{
    display: inline-block;
}
/* listitem where parent is ul */
.menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
/*sub submenu*/
.menu ul ul {
    top: 0px;
    left: 150px;
    box-shadow: -1px 0 0 rgba(255,255,255,.3);      
}
.menu ul li {
    float: none;
    display: block;
    border: 0;
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
.menu ul li:last-child {   
    box-shadow: none;    
}
.menu ul a {    
    padding: 10px;
    width: 150px;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}
#menu2 ul a {
    width: 250px;
}
.menu ul a:hover {
    background-color: #0186ba;
    background-image: linear-gradient(#04acec, #0186ba);
}
/*First and last list elements styles*/
.menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}
.menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}
.menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}
.menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent;   
}
.menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

/* MOBILE */
#menu-trigger { /* Hide it initially */
    display: none;
}

@media screen and (max-width: 600px) {

    #menu-wrap {
        position: relative;
    }

    #menu-wrap * {
        box-sizing: border-box;
    }

    #menu-trigger {
        display: block; /* Show it now */
        height: 40px;
        line-height: 40px;
        cursor: pointer;        
        padding: 0 0 0 35px;
        border: 1px solid #222;
        color: #fafafa;
        font-weight: bold;
        background-color: #111;
        /* Multiple backgrounds here, the first is base64 encoded */
        background: url(data:image/png;base64,iVBOR...) no-repeat 10px center, linear-gradient(#444, #111);
        border-radius: 6px;
        box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
    }

    #menu {
        margin: 0 !important; 
        padding: 10px;
        position: absolute;
        top: 40px;
        width: 100%;
        z-index: 3;
        display: none;
        box-shadow: none;       
    }

    #menu:after {
        content: '';
        position: absolute;
        left: 25px;
        top: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #444;
    }   

    #menu ul {
        position: static;
        visibility: visible;
        opacity: 1;
        margin: 0;
        background: none;
        box-shadow: none;               
    }

    #menu ul ul {
        margin: 0 0 0 20px !important;
        box-shadow: none;       
    }

    #menu li {
        position: static;
        display: block;
        float: none;
        border: 0;
        margin: 5px;
        box-shadow: none;           
    }

    #menu ul li{
        margin-left: 20px;
        box-shadow: none;       
    }

    #menu a{
        display: block;
        float: none;
        padding: 0;
        color: #999;
    }

    #menu a:hover{
        color: #fafafa;
    }   

    #menu ul a{
        padding: 0;
        width: auto;        
    }

    #menu ul a:hover{
        background: none;   
    }

    #menu ul li:first-child a:after,
    #menu ul ul li:first-child a:after {
        border: 0;
    }       
}

/* iPad */
.no-transition {
    transition: none;
    opacity: 1;
    visibility: visible;
    display: none;          
}

#menu li:hover > .no-transition {
    display: block;
}

#showLastXtime
{
    float: none;
    display: inline-block;
    color:orange;
}

.menuHCtrl {
    /*li on 1 row*/
    float: none !important;
    display: block;
}


/* The switch - the box around the slider */
.switch, .switchSmall {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: bottom;
}
.switchShoplIstStats{
    margin-top: 10px;;
}
/* Hide default HTML checkbox */
.switch input, .switchSmall input {
    display: none;
}

/* The slider */
.slider, .sliderSmall {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before, .sliderSmall:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
/* Rounded sliders */
.slider.round, .sliderSmall.round {
    border-radius: 34px;
}
.slider.round:before, .sliderSmall.round:before {
    border-radius: 50%;
}

input:checked + .slider {
    background-color: orange; /*blue*/
}
input:checked + .sliderSmall {
    background-color: forestgreen;
}
input:focus + .slider, input:focus + .sliderSmall, input:checked + .sliderSmall:before {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before, input:checked + .sliderSmall:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.roundIndicator {
    border-radius: 25px;
    display: inline;
    background-image: radial-gradient(circle closest-side, yellow, #f06d06);
    display: inline-block;
    vertical-align: bottom;
    height: 34px;
    width: 34px;
    margin: 0px 0px 0px 4px;
}

.roundIndicatorSmall {
    height: 20px;
    width: 20px;
}

.slidecontainer {
    display: inline;
    margin: 10px 0 10px 0;
}
.sliderRangeShort{
    width: 100px !important;
}
.sliderMinBtn, .sliderPlusBtn {
    padding: 20px;
}
.sliderRange {
    -webkit-appearance: none;
    width: 150px !important;
    height: 15px;
    border-radius: 5px;
    background: rgb(153, 153, 153);
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
    /* margin: 20px 0 20px 0; */
}

.sliderRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: orange;
    cursor: pointer;
}

.sliderRange::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: orange;
    cursor: pointer;
} 

.templabel {
    width:250px;
    display: inline-block;
}
.sliderlabel {
    width:350px;
}
.tablecell {
    display:table-cell;
}

#schedulingSchedule {
    margin-top: 10px;
}

#SensorStatistics {
    width: 19%;
    float: left;
    height: 1px;
}
#graph {
    width: 80%;
    float: left;
}

.disabled {
    pointer-events:none;
    opacity:0.6;
}

/* soccer */
.itemleagueL { 
    grid-area: L; 
    margin: 5px 0 0 0;
    width: 690px;
    height: 155px;
}
.itemleagueR { 
    grid-area: R; 
    margin: 5px 0 0 0;
}

.standing { 
    grid-area: S; 
    margin: 0;
}
.matches { 
    grid-area: M; 
    max-height: 600px;
    overflow-y: auto;
    margin: 0;
}
.home { 
    width: 600px;
    float: left;
    overflow-y: scroll;
    height: 500px;
}
.away { 
    width: 600px;
    float: right;
    overflow-y: scroll;
    height: 500px;
}
.HA { 
    grid-area: HA; 
}
#betEdit{
    grid-area: B; 
    margin: 0;
    min-height: 100px; 
    display: none;
    border-bottom: 4px solid black;
}
.historyTop{
    grid-area: HT;
    margin-top: 10px;
}
.grid-container {
  display: grid;
  grid-template-areas:
    'B B '
    'L R '
    'M S '
    'HT HT '
    'HA HA';
  /* gap: 10px; */
  background-color: #111;
  background-image: linear-gradient(#444, #111);
  width:100%;
}

.mylist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mylist li:hover {
    cursor: pointer;
    font: bold italic 15px Arial, Helvetica;
}

.clstatAllCur label:hover, label:active {
    color: yellow;
    text-decoration-line: underline;
}

#betEdit{
    max-height: 500px;
    margin-top: 35px;
    overflow-y: scroll;
}
.betEdit{
    border: 2px solid rgb(204, 0, 255);
}
.betamount{
    width: 60px;
    background-color: #444;
    color: yellow;
}
.bet{
    /* width: 98%; */
    border: 2px solid yellow;
    background-color: #444;
    min-height: 20px;
    margin-top: 10px;
    display: flow-root;
}
.fixed{
    position: absolute;
    
}
.btnBetEdit{
    border-radius: 10%;
    padding: 5px;
    margin-right: 10px;
    border: 2px solid yellow;
    background-color: #7a1818;
    display: inline-block;
}
.btnBetSave{
    /* float: right; */
    position: relative;
    z-index: 10;
    display: none;
    margin-right: 20px;
    display: inline-block;
}
.betDelete .betHide{
    margin: 0;
    height: 12px;
}
.betinfo{
    position: relative;
    z-index: 15;
    margin-left: 450px;
}
.betCalc{
    /* float: right; */
    margin-right: 10px;
    font: 20px Arial, Helvetica;
}
.betRes {
    width: 90px;
    text-align: right;
}
.mylist li {
    padding: 5px 5px;
    color: #999;
    font: bold 15px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    box-shadow: 1px 0 0 #444;
    position: relative;
}
.divOdd {
    width: 40px;
    display: inline-block;
    margin-right: 2px;
    text-align: center;
}
.divDate {
    width: 160px;
    display: inline-block;
    text-align: right;
    margin-right: 20px;
}
.divClub {
    width: 250px;
    display: inline-block;
}
.divDate1 {
    width: 100px;
    display: inline-block;
}
.divClub1 {
    width: 150px;
    display: inline-block;
}
.divScore {
    display: inline-block;
}
.divScore1 {
    display: inline-block;
    width: 40px;
}
.divSeason{
    font-size: x-large;
    display: block;
    text-align: left;
}
.divVal {
    width: 40px;
    display: inline-block;
}
.divVal2 {
    width: 50px;
    display: inline-block;
}

.betPopup {
    display:none;
    position: absolute;
}

#clubInfo {
    display: none;
    position: absolute;
    /* height: 20px; */
    width: 40px;
    background-color: yellow;
    font-size: larger;
    margin: 5px;
}

.matchperiod {
    border-top: 2px solid blue;
}

.redCard {
    background-color: red;
    width: 10px;
    display: inline;
    margin-left: 4px;
}
.minfo{
    background-color: rgb(199, 126, 30);
    /* margin-right: 20px; */
}