﻿/*Utility classes*/
.prearea
{
    white-space: pre-line;
}

.dark
{
    background-color:black;
    color:#EEEEFF;
}
.ldark .btn-sm
{
    background-color:#555555;
}


.fullh
{
    height:100%;
}
.paddedbox
{
    padding:8px;
}


.littlepad {
    padding: 2px;
}



.overscroll
{
    overflow-y: scroll;
}
.nospaces
{
    margin:0;
    padding:0;
}
.fullw
{
    overflow:auto;
    display:block;
}

.fullwf
{
    width:100%;
    min-width:100%;
}

.panel-error
{

}




/* Main Layout */
::-webkit-scrollbar {
    display:none;
}

::-scrollbar {
    display: none;
}


 /* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(255,0,0,0.8); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 


}
-webkit-scrollbar {
    display: none;
}

-scrollbar {
    display: none;
}

body, html {
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: auto;
}
#maincontainer {
    min-width: 100%;
    margin-top: 30px;
    overflow-y: auto;
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    bottom: 0;
}


.navbar-header {
    max-height:30px;
}

.footer {
  position:fixed;
  bottom:0;
  width: 100%;
  height: 15px;
  
}

.angular-google-map-container { 
    height: 60vh; 
}

/*View_Track*/
@media (min-width: 768px){
    #View_History_Map {
        position:fixed; 
        top:180px; 
        bottom:60%; 
        margin-bottom:30px;
        left:0;
    }

    #View_History_Table {
        position:fixed;
        margin-top:180px;
        top:40%;
        bottom:30px; 
        overflow-y:scroll;
    }
    
    
    #View_Track_Left_Tabs {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        
        overflow:hidden;
        overflow-y: scroll;
        -ms-overflow-style: none;
    }

    .scrolltabcontainer
    {
        
    }
    .scrolltab
    {
        
        max-height:100vh;
        overflow-y:auto;
        overflow-x:hidden;
    }
    
    #View_Track_Left {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        min.heigth:100%;
        width: 36%;
        margin: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        overflow:hidden;
        overflow-y:scroll;
        
        -ms-overflow-style: none;
    }
  
  #View_Track_Right {
      
      width:64%;
      margin:0;
      position: absolute;
      top:0;
      bottom: 0;
     right: 0;
     overflow-y:auto;
  }
}


#View_Track_Left
{
    margin-top:30px;
}

.alarm-button
{
  display:block;
}

.alarm-item
{
    margin:0px;
    padding:2px;
    margin-bottom:1px;
    display:block;
}

.handlingalarm-item
{
    margin:0px;
    padding:2px;
    margin-bottom:1px;
}


.track-item {
    padding: 0;
    width: 100%;
    min-width: 100%;
    display: block;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


.loader {
    filter: blur(12px);
    -webkit-filter: blur(12px);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    left: 0;
    top: 0;
    margin: 0;
    height: 100%;
    opacity: 0.4;
    width: 100%;
    display: block;
    z-index: 1000;
    background-color: #000000;
    background-image: url(Img/logo.png);
}

.loader-bar {
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 5px 5px;
}

.loader-inset {
    position:fixed;
    opacity:1;
    
    left: 0;
    top: 0;
    bottom:0;
   
    margin-top: 10%;
    margin-bottom: 10%;
    margin-left: 12%;
    margin-right:12%;
    width: 65%;
    height: 60%;
    display: block;
    z-index: 1001;
    
    text-align: center;
    
    padding:10px;
}


/*Administration forms*/

@media (min-width: 720px) {

    .area-left {
        margin-top: 60px;
        margin-bottom: 30px;
        position: absolute;
        top: 30px;
        bottom: 0;
        left: 0;
        width: 30%;
        max-width:30%;
        min-width:30%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .area-right {
        margin-top: 70px;
        margin-bottom: 30px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 70%;
        max-width:70%;
        min-width:70%;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .area-onecol {
        margin-top: 70px;
        margin-bottom: 30px;
        position: fixed;
        top: 0;
        bottom: 0;
        left:0;
        right: 0;
        width: 100%;
        max-width:100%;
        overflow-x: hidden;
        overflow-y: scroll;
    }
}

.area-form
{
    padding:5px;
}

.area-search
{
        background-color:#555555;
        padding:10px;
}
.area-table
{
    margin-top:15px;
}



.row-selected
{
    font-weight:bolder;
    background-color:#555555;
}


.flexcontainer {
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    height: calc(100vh-80px); /* Imposta l'altezza al 100% della viewport */
}