*{
    font-family: "Poppins", sans-serif;
    padding:0;
    margin:0;
    vertical-align:baseline;
    list-style:none;
    border:0;
    width: auto;
}

body{
    background-color: rgb(249, 249, 249);
    
}

.container-area{
    background-color:rgb(249, 249, 249);
    width:100%;
    height:100%;
    padding: 0.5em;
    margin-left: 2em;
    
}

.topnav {
    background-color: rgb(255, 255, 255);    
    height: 3.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
    


   
    
}

.btn_print{
    display: none;
    background-color: rgb(230, 230, 230);
    cursor:pointer;
    height: 2em;
    width: 8em;
    margin-right: 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 10px 14px -7px #7c7c7c;
    outline: 0;
    
}

.top-logo{
    width: 10em;
    margin: 10px;
    margin-left: 2em;
    cursor: pointer;
    
}



.time_course{
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.asset_info{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    margin-right: 15px;
    height: 25px;
    font-size:16px;
    margin-left: 5px;
    outline: 0;
        
    
}

label{
    font-weight: bold;
    color: #333;

}

#asset_name{
    width: 32em;
    
}

#asset_tag{
    width: 13em;
    
}

#initial_date {
    width: 11em;
    
    
}

#final_date {
    width: 11em;
}

.head_info{
    display: flex;
    margin-left: 2em;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 97%;
    
}


h1{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: #333;
    font-size: 25px;
    font-weight: 600;
    margin-left: 1em;
}

h4{
color: #333;
}

h2{
    color: #333;
    margin-top: 30px;
    margin-bottom: 20px;
    }



.btn{
    background: linear-gradient(20deg, rgb(0, 88, 166), rgb(0, 197, 197));
    padding: 4px;
    width: 8vw;
    height: 6vh;
    margin: 10px;
    border-radius: 5px;
    font-family: "Poppins",sans-serif;
    color:rgb(255, 255, 255);
    font-size: 15px;
    align-items:center;
    border: none;
    box-shadow: 0px 10px 14px -7px #000000;
    cursor: pointer;
    outline: 0;

}

.btn_calc{
    background: linear-gradient(20deg, rgb(0, 133, 22), rgb(33, 197, 69));
    padding: 4px;
    width: 96%;
    height: 50px;
    justify-content:center;
    border-radius: 5px;
    font-family: "Poppins",sans-serif;
    font-size: 20px;
    color:rgb(255, 255, 255);
    align-items:center;
    border: none;
    margin-top: 10px;
    box-shadow: 0px 10px 14px -7px #000000;
    cursor: pointer;
    outline: 0;
    
    

}

.main_container{
    /*border: 1px solid red;*/
    width:94vw;
    height:100%;
    padding: 0.5em;
    margin-left: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px 15px;
    grid-template-areas:
      "input chart-1 chart-1"
      "input chart-2 chart-2";
    

 
   

    
}

.chart_1{
    width: 100%;
    height: 100%;
    grid-area: chart-1;
    display: none;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "oee_chart"
    "oee_chart";

    
    
    
}

.oee_id{
    display: flex;
    justify-content: center;
    align-items: center;
}

.oee{
    color:rgb(0, 88, 166);
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

.chart_2{
    width: 100%;
    height:  100%;
    grid-area: chart-2;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
    "progress_1 progress_2 progress_3"
    "progress_1 progress_2 progress_3";
  
}

.oee_id { 
    grid-area: oee_id;
    
}
.oee_chart { 
    
    grid-area: oee_chart;
    display: flex;
    flex-direction: column;

}




.progress_1 { 
    grid-area: progress_1;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
 }
.progress_2 { 
    
    grid-area: progress_2;
    justify-content: center;
    align-items: center;;
    display: flex;
    flex-direction: column;

    
 }
.progress_3 { 
    
    grid-area: progress_3;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
 }

.input_area{
    background-color: white;
    border-radius: 15px;
    width: 90%;
    height: 88%;
    padding: 1.5em;
    padding-bottom: 4em;
    box-shadow: 0px 10px 14px -7px #000000;
    grid-area: input;
    display: none;
    
    
 
    
      
    
}


.input_field{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    width: 95%;
    height: 30px;
    font-size:16px;
    margin-left: 5px;
    outline: 0;
        
    
}

.input_label{
    font-weight: bold;
    color: #333;
    display: flex;
    

}

.output_range{
    font-weight: bold;
    color: rgb(00, 88, 166);
    font-size: 20px;
    display: flex;
}

.data_field{
display: flex;
flex-direction: column;
margin-top: 15px;
margin-bottom: 15px;
}

.label_set{
    display: flex;
    justify-content:space-between;
}

.bottom_label{
    display: flex;
    justify-content:space-between;
    font-size: 14px;
}

.form-group{
    display: flex;
    justify-content: space-between;
    padding-right: 1.5em;
    
}



.downtime_event{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    width: 30%;
    height: 30px;
    margin-bottom: 10px;
    font-size:16px;
    margin-left: 5px;
    outline: 0;
        
    
}

.downtime_group{
    max-height: 160px;
    overflow: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    
}



.output_unit{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    width: 50%;
    height: 30px;
    margin-bottom: 10px;
    font-size:16px;
    outline: 0;
    color: rgb(124, 124, 124);
        
    
}

.input_list{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    width: 50%;
    height: 30px;
    margin-bottom: 10px;
    font-size:16px;
    margin-left: 5px;
    outline: 0;
    margin-right: 6px;
    color: rgb(124, 124, 124);
        
    
}


.btn_plus{
    height: 30px;
    width: 30px;
    border-radius: 5px;
    font-family: "Poppins",sans-serif;
    color: rgb(39, 39, 39);
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
        
    

}

.btn-remove{
    height: 30px;
    width: 30px;
    border-radius: 5px;
    font-family: "Poppins",sans-serif;
    color: rgb(39, 39, 39);
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
        
    

}

.label_downtime_list{
    color:gray;
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    align-self: center;
    text-align: center;
    text-justify: center;
}

.downtime_event_minutes{
    background-color: transparent;
    border-bottom: 1px solid rgb(124, 124, 124);
    width: 30%;
    height: 30px;
    margin-bottom: 10px;
    font-size:16px;
    margin-left: 5px;
    outline: 0;

}

.oee_chart{
    justify-content: center;
    align-items: center;
    display: flex;
    
}

.gauge {
    width: 75%;
    font-family: "poppins", sans-serif;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #0058a6;
    padding: 30px;
    
    
    
  }
  
  .gauge__body {
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    background: #b4c0be;
    position: relative;
    border-top-left-radius: 100% 200%;
    border-top-right-radius: 100% 200%;
    overflow: hidden;
    
    
    
  }
  
  .gauge__fill {
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    background: linear-gradient(to top ,rgb(0, 39, 166),rgb(00, 88, 166));
    transform-origin: center top;
    transform: rotate(0.25turn);
    transition: transform 0.2s ease-out;
    
    
    
  }
  
  .gauge__cover {
    width: 75%;
    height: 150%;
    background: rgb(249, 249, 249);
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    
    
  
    /* Text */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 25%;
    box-sizing: border-box;
  }

  .availability_progress {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 300px;
	width: 70px;
    transform: rotate(180deg);
    
}

.availability_progress-done {
	background: linear-gradient(to top, #0082be, #0059ff);
	box-shadow: 0 3px 3px -5px #0082be, 0 2px 5px #0082be;
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 0;
    max-height: 102%;
	width: 100%;
	opacity: 0;
	transition:  1s ease 0.3s;

}

.availability_label{
    color: #0059ff;
    font-weight: bold;
}
  
  

.performance_progress {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 300px;
	width: 70px;
    transform: rotate(180deg)
    ;
}

.performance_progress-done {
	background: linear-gradient(to top, #018517, #00f891);
	box-shadow: 0 3px 3px -5px #018517, 0 2px 5px #018517;
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 0;
    max-height: 102%;
	width: 100%;
	opacity: 0;
	transition:  1s ease 0.3s;

}

.performance_label{
    color: #018517;
    font-weight: bold;
}

.quality_progress {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 300px;
	width: 70px;
    transform: rotate(180deg)
    ;
}

.quality_progress-done {
	background: linear-gradient(to top, #6a0094, #b464ff);
	box-shadow: 0 3px 3px -5px #6a0094, 0 2px 5px #6a0094;
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 0;
    max-height: 102%;
	width: 100%;
	opacity: 0;
	transition:  1s ease 0.3s;

}

.quality_label{
    color: #6a0094;
    font-weight: bold;
}



.footer{
    font-size: 10px;
    color:gray;
    text-align: center;
    justify-content: center;
    width: 99%;
    display: none;
    position: absolute; /* alterar para absolute via js */
    bottom: 0;

}

.second_container{
    /*border: 1px solid red;*/
    width:94vw;
    height:99vh;
    margin-top: 2em;
    padding: 0.5em;
    margin-left: 2em;
    display: none;
}

.memory_calc{
    display: flex;
    flex-direction: column;
}

.calc_formula{
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
    border-bottom: solid 1px rgb(223, 223, 223);
    
        
}

.oee_status{
    font-weight: bold;
    font-size: 20px;
    color: rgb(216, 40, 216);
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: oee_status;
    position: absolute;
    margin-top: 18%;
    
    
    
    
}



.oee_status_icon{
    width: 40px;
}


div.tooltips {
    position: relative;
    display: inline;
    cursor: pointer;
  }

div.tooltips span {
    position: absolute;
    width: 300px;
    font-family: "Poppins",sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    background: rgba(0, 89, 166);
    text-align: center;
    visibility: hidden;
    border-radius: 5px;
    padding: 10px;
    text-align: justify;
    box-shadow: 0px 10px 14px -7px #000000;
  }

div.tooltips span:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 24%;
    margin-left: -8px;
    width: 0; height: 0;
    border-bottom: 8px solid rgb(00, 88, 166);
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    box-shadow: 0px 10px 14px -7px #000000;
    
  }
  
div:hover.tooltips span {
    visibility: visible;
    top: 30px;
    left: 50%;
    margin-left: -76px;
    z-index: 999;
    
  }

.fa-question-circle {
    color: #DADADA;
    
}

.fa-question-circle:hover {
    color: rgb(255, 255, 255);
    cursor: pointer;
    content: attr(tooltip);
    color: white;
    
    
}

.x{
    margin-left: 5px;
    margin-right: 5px;
}


.tabela {
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    margin: auto;
    margin-bottom: 30px;
    border-radius: 5px 5px 0 0;
    
    
    }



.tabela thead th {
    background-color: rgb(00, 88, 166);
    color:rgb(255, 255, 255);
    font-weight: bold;
    height: 30px;
    padding: 10px;
    text-align: left;
    font-weight: bold;
   



}

.tabela tbody tr {
    border-bottom: 1px solid rgb(167, 167, 167);
    text-align: left;
    


}

.tabela td {
    height: 30px;
    text-align: left;
    


}

.tabela tbody tr:last-of-type {
    border-bottom: 4px solid rgb(00, 88, 166);
    

}

.six_losses{
    display: flex;
    flex-direction: column;
    
}

.progress_loss { 
    justify-content: left;
    align-items: left;
    display: flex;
    flex-direction: column;
 }


.availability_progress_loss {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 70px;
	width: 100%;
    
    
}

.availability_progress_loss-done {
	background: linear-gradient(to top, #0082be, #0059ff);
	box-shadow: 0 3px 3px -5px #0082be, 0 2px 5px #0082be;
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
    opacity: 0;
	transition:  1s ease 0.3s;

}

.availability_label_loss{
    color: #0059ff;
    font-weight: bold;
}
  
  

.performance_progress_loss {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 70px;
    width: 100%;
	
    
    
}

.performance_progress_loss-done {
	background: linear-gradient(to top, #018517, #00f891);
	box-shadow: 0 3px 3px -5px #018517, 0 2px 5px #018517;
    border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
    opacity: 0;
	transition:  1s ease 0.3s;

}

.performance_label_loss{
    color: #018517;
    font-weight: bold;
}

.quality_progress_loss {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 70px;
    
    
    
	
    
    
}

.quality_progress_loss-done {
	background: linear-gradient(to top, #6a0094, #b464ff);
	box-shadow: 0 3px 3px -5px #6a0094, 0 2px 5px #6a0094;
    border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
    opacity: 0;
	transition:  1s ease 0.3s;

}

.quality_label_loss{
    color: #6a0094;
    font-weight: bold;
}


.oee_progress_loss {
	background-color: #d8d8d8;
	border-radius: 10px;
    position: relative;
	margin: 15px 0;
	height: 70px;
    width: 100%;
    z-index: -1;
    
    
    
	
    
    
}

.oee_progress_loss-done {
	background: linear-gradient(to top, #cf5e00, #f59d4a);
	box-shadow: 0 3px 3px -5px #696969, 0 2px 5px #d1d1d1;
    border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
    opacity: 0;
	transition:  1s ease 0.3s;

}

.oee_label_loss{
    color: #cf5e00;
    font-weight: bold;
}

.oee_label_loss2{
       font-weight: bold;
}

.mark_a{
    content: "";
    width: 1px;
    height: 190px;
    background: rgba(255, 0, 0, 0.63);
    display: flex;
    flex-direction: row;
    position: absolute;
    
    
    
}


.mark_p{
    content: "";
    width: 1px;
    height: 190px;
    background: rgba(255, 0, 0, 0.63);
    display: flex;
    flex-direction: row;
    position: absolute;
   
    
}


.mark_q{
    content: "";
    width: 1px;
    height: 190px;
    background: rgba(255, 0, 0, 0.63);
    display: flex;
    flex-direction: row;
    position: absolute;
    
}

.label_loss{
    display:flex;
    flex-direction: row;
}

.label_losses{
    display:flex;
    color: gray;
    font-size: 14px;
    
    


}

.label_justify{
    display: flex;
    justify-content: space-between;
}


