/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 07.08.2020, 15:04:17
    Author     : IT Service
*/

.widget
{
    border: 1px solid #ccc;
    background: #000000f2;
    margin-bottom: 20px;
    width: 80%;
    margin-left: 10%;
    padding: 10px;
    border-radius: 1px;
    box-shadow: 4px 3px 8px 1px #000;
   /* min-height: 185px;*/
    margin-top: 25px;
    position: relative;
    transition: all 1s;
    cursor: pointer;
    height: 80%;
}


@media only screen and (max-width: 768px) {
    .Widget
    {
        min-height: 25px;
        height: 170px;
    }
}




.progress-bar{
    height:20px;
    display:block;
}

.widget .progress{
    width: 150px;
    height: 150px;
    line-height: 150px;
    background: none;
    margin: 0 auto;
    box-shadow: none;
    position: relative;
}
.widget .progress:after{
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
}
.widget .progress > span{
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
}
.widget .progress .widget .progress-left{
    left: 0;
}
.widget .progress .widget .progress-bar{
    width: 100%;
    height: 100%;
    background: none;
    border-width: 2px;
    border-style: solid;
    position: absolute;
    top: 0;
}
.widget .progress .widget .progress-left .widget .progress-bar{
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left;
}
.widget .progress .widget .progress-right{
    right: 0;
}
.widget .progress .widget .progress-right .widget .progress-bar{
    left: -100%;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
    animation: loading-1 1.8s linear forwards;
}
.widget .progress .widget .progress-value{
    width: 85%;
    height: 85%;
    border-radius: 50%;
    border: 2px solid #ebebeb;
    font-size: 32px;
    line-height: 125px;
    text-align: center;
    position: absolute;
    top: 7.5%;
    left: 7.5%;
}
.widget .progress.blue .widget .progress-bar{
    border-color: #049dff;
}
.widget .progress.blue .widget .progress-value{
    color: #049dff;
}
.widget .progress.blue .widget .progress-left .widget .progress-bar{
    animation: loading-2 1.5s linear forwards 1.8s;
}
.widget .progress.yellow .widget .progress-bar{
    border-color: #fdba04;
}
.widget .progress.yellow .widget .progress-value{
    color: #fdba04;
}
.widget .progress.yellow .widget .progress-left .widget .progress-bar{
    animation: loading-3 1s linear forwards 1.8s;
}
.widget .progress.pink .widget .progress-bar{
    border-color: #ed687c;
}
.widget .progress.pink .widget .progress-value{
    color: #ed687c;
}
.widget .progress.pink .widget .progress-left .widget .progress-bar{
    animation: loading-4 0.4s linear forwards 1.8s;
}
.widget .progress.green .widget .progress-bar{
    border-color: #1abc9c;
}
.widget .progress.green .widget .progress-value{
    color: #1abc9c;
}
.widget .progress.green .widget .progress-left .widget .progress-bar{
    animation: loading-5 1.2s linear forwards 1.8s;
}
@keyframes loading-1{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}
@keyframes loading-2{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(144deg);
        transform: rotate(144deg);
    }
}
@keyframes loading-3{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}
@keyframes loading-4{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(36deg);
        transform: rotate(36deg);
    }
}
@keyframes loading-5{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(126deg);
        transform: rotate(126deg);
    }
}

@media only screen and (max-width: 990px){
    .widget .progress{ margin-bottom: 20px; }
}


.widget:focus
{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all; 
}



.card-counter 
{
    box-shadow: 2px 2px 10px #DADADA;
    margin: 0;
    padding: 20px 10px;
    /*border-radius: 19px;*/
    transition: .3s linear all;
    height: 185px;
    padding-top: 50px;
}

.card-counter:hover
{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
}

.card-counter.primary
{
    background-color: #007bffe0;
    color: #FFF;
}

.card-counter.danger
{
    background-color: #ef5350e0;
    color: #FFF;
}  

.card-counter.success{
    background-color: #66bb6ae0;
    color: #FFF;
}  

.card-counter.info
{
    background-color: #26c6dae0;
    color: #FFF;
}  

.card-counter i
{
    font-size: 5em;
    opacity: 0.2;
}

.card-counter .count-numbers
{
    position: absolute;
    right: 35px;
    top: 75px;
    font-size: 47px;
    display: block;
    color: #edecec;
}

.card-counter .count-name
{
    position: absolute;
    left: 35px;
    top: 17px;
    font-style: italic;
    text-transform: capitalize;
    opacity: 0.9;
    display: block;
    font-size: 36px;
    color: #ccc;
}

.widget.Diagram .card-counter 
{
    box-shadow: none;
    height: 185px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}  

.WidgetContainer  i{
    left: 30px;
    position: absolute;
    top: 75px;
}  

.Colored
{
    mix-blend-mode: difference;
}

/* widget-test.html auch noch vorhanden */
/* Gauge Widgets */


.Layer{
    background-color: #ccc;
}

.Layer.Gauge
{
    padding-top: 100px;
}
.ContainerGauge {
    width: 100%;
    height: 190px;
    position: relative;
    padding-left: 10%;
    padding-right:10%;
    overflow: hidden;
    text-align: center;
    /*border: 1px solid #f00;*/
}

.ContainerGauge.first { 
    top: 10%;
    left: 50%;
}

.ContainerGauge.second { 
    top: 30%;
    left: 50%;
}
.ContainerGauge.third { 
    top: 60%;
    left: 50%;
}

.ContainerGauge.fourth { 
    top: 90%;
    left: 50%;
}

.Layer .Progressbar{
    height:20px;
    display:block;
}

.Thermobar-bar{
    transition: all 2s;
    background:red;
    width:50px;
    margin:50px;
    position:relative;
    top:100px;
    transform-origin:top;
}

/* kein widget-test.html */

.WidgetWarningPulse
{
    overflow: visible;
    position: relative;
}

.WidgetWarningPulse:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    /*top: 0;
    left: 0;*/
    background: inherit;
    border-radius: inherit;
    transition: all 1s;
    animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}
@keyframes pulse-animation {
  0% {
    opacity: 1;
    transform: scale(1);
  }
/*  50% {
    opacity: 0.75;
    transform: scale(1.1);
  }*/
  100% {
    opacity: 0.1;
    transform: scale(1.5);
  }
}

.widget.Gauge .card-counter .count-numbers 
{   
    right: 12px;
    top: 140px;    
}

.ContainerGauge{
    justify-content: center;
    display: absolute;
}

.widget.Gauge:hover
{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
}

.gauge-a 
{
    z-index: 1;
    display: block;
    margin-left: -200px;
    left:50%;
    position: absolute;
    background-color: rgba(255,255,255,.2);
    width: 400px;
    height: 200px;
    border-radius: 250px 250px 0px 0px;
}

.gauge-b 
{
    border: 1px solid #fd0;
    display: block;
    margin-left: -125px;
    left: 50%;
    z-index: 3;
    position: absolute;
    background-color: #222;
    width: 250px;
    height: 125px;
    top: 75px;
    border-radius: 250px 250px 0px 0px;
}

.gauge-c 
{
    display: block;
    margin-left: -200px;
    left: 50%;
    z-index: 2;
    position: absolute;
    background: linear-gradient(to left, rgba(241,111,92,0.99) 0%, rgba(241,111,92,1) 0%, rgba(178,14,20,1) 100%);
    width: 400px;
    height: 200px;
    top: 190px;
    border-radius: 0px 0px 200px 200px;
    transform-origin: center top;
    transition: all 1.3s ease-in-out;
}

/*.container:hover .gauge-c {  transform:rotate(.5turn);
}*/

.ContainerGauge:hover .gauge-data 
{ 
    color: rgba(255,255,255,1); 
}

.gauge-data {
    z-index: 4;
    color: rgba(255,255,255,.2);
    font-size: 1.5em;
    line-height: 25px;
    position: absolute;
    width: 100%;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    transition: all 1s ease-out;
    top:170px;
    left:0px;
}   

@media only screen and (min-width: 1200px)
{
    .gauge-a{
        margin-left: -100px;
        width: 200px; 
        height:100px;
        top:100px;
    }
    .gauge-b{
        margin-left: -50px;
        width: 100px; 
        height: 62.5px;
        top: 150px;
    }
    .gauge-c{
        margin-left: -100px;
        width: 200px;
        height: 100px;
    }
}

@media only screen and (min-width: 992px){

    /* .gauge-data { width: 200px; top: 0px; text-align: center; } */
    /* .gauge-data span{ bottom:0; text-align: center; } */

    .gauge-a{
        margin-left: -100px;
        width: 200px; 
        height:100px;
        top:100px;
    }
    .gauge-b{
        margin-left: -50px;
        width: 100px; 
        height: 62.5px;
        top: 150px;
    }
    .gauge-c{
        margin-left: -100px;
        width: 200px;
        height: 100px;
    }
}

@media only screen and (min-width: 768px)
{
    .gauge-a{
        margin-left: -100px;
        width: 200px; 
        height:100px;
        top:100px;
    }
    .gauge-b{
        margin-left: -50px;
        width: 100px; 
        height: 62.5px;
        top: 150px;
    }
    .gauge-c{
        margin-left: -100px;
        width: 200px;
        height: 100px;
    }
}

@media only screen and (min-width: 576px)
{
    .gauge-a{
        margin-left: -100px;
        width: 200px; 
        height:100px;
        top:97px;
    }
    .gauge-b{
        margin-left: -50px;
        width: 100px; 
        height: 62.5px;
        top: 134px;
        padding-top: 15px;
        font-size: 25px;
        font-weight: bold;
        color: antiquewhite;
    }
    .gauge-c{
        margin-left: -100px;
        width: 200px;
        height: 100px;
    }
    
    .Text{
        font-size: 15px;
    }
}

@media only screen and (max-width: 575px)
{
    .gauge-a{
        margin-left: -100px;
        width: 200px; 
        height:100px;
        top:100px;
    }
    .gauge-b{
        margin-left: -50px;
        width: 100px; 
        height: 62.5px;
        top: 150px;
    }
    .gauge-c{
        margin-left: -100px;
        width: 200px;
        height: 100px;
    }
}

/*Progressbar Widget*/
.Gauge .card_counter
{
    position: absolute;
    top: 17px;
    width: 100%;
    font-weight: bold;
    font-size: 32px;
}



.ContainerProgress .progress-bar{
    min-width: 1px;
    height:20px;
    display:block;
    background-color: #b20e14;
    position:absolute;
    top: 50%;
    margin-top: -10px;
    /*box-shadow: 4px 5px 5px 3px #ff000050;*/
    transition: all 2s;
}


.widget.Progress .card-counter .count-numbers {
   
    right: 12px;
    top: 140px;
    
}




/*Thermometer Widget*/

.Main{
    width:100%;
    position: relative;
}
.Thermometer{
   min-width: 70px;   
}
.Stem{
    top: 0;
    width: 20px;
    height: 200px;
    position: relative;
    left: 50%;
    z-index: 4;
    border-radius: 50px 50px 0 0;
    border-left: 2px solid gray;
    border-top: 2px solid gray;
    border-right: 2px solid gray;
    bottom: 60px;
    background-color: transparent;
    margin-top: 10px;
    margin-left: -10px
}
.Merc-stem{
    width: 20px;
    height: 85px;
    z-index: 1;
    position: relative;
    bottom: 175px;
    left: 50%;
    margin-left: -10px;
}
.Mercury{

    z-index: 3;
    transition: all 2s;
    background-color : #01579b;
    width:18px;
    margin-left: 1px;
    position:relative;
    top:177px;
    transform-origin:top;
    transform: rotateX(180deg); 
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
.Bulb{
    position: absolute;
    top: 208px;
    bottom: 190px;
    left: 50%;
    margin-left: -30px;
    z-index:0;
    width: 60px;
    height: 60px;
    background-color: #01579b;
    border-radius: 50px;
    border: 2px solid gray;
    transition: all 2s;
}
.Text {    
    text-align: center;
}
.Text .l_Degree{
    margin: 0 auto;
}


.borrderr{
    border: 1px solid #f0f;
    
}

#canvas{
    width: 100%;
    height: 500px;
}


canvas.diagram-widget
{
    padding-top: 25px;
}

.widget.Data .count-numbers
{
    font-size: 28px;
    text-align: left;
    padding-left: 35px;
    line-height: 31px;
    top: 66px;
    color: #edecec;
    text-shadow: 0px 0px #000;
}