
div.modal-overlay.modal-overlay-hidden{
   width: 0;
   overflow: hidden;
}

.tab-selected{
   background: #a1daf8;
   font-weight: bold;
}

div.subsection-title{
   font-size: large;
   font-weight: bold;
   padding: 0.25rem;
}

.modal-window{
    padding: 0.33rem;
    height: calc(100% - 0.33rem - 0.33rem);
    display: flex ;
    flex-flow: column;
    
    font-size: 1rem;
}

@media only screen and (max-height: 600px),(max-width: 360px){
   .modal-window{
      font-size: 0.7rem;
   }
}

.modal-header{
    min-height: 5% ;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
}

.station-detail-close{
    font-size: 1.2rem;
    font-weight: bolder;
    color: gray;
}

span.station-detail-close:hover{
    color: black;
}

div.modal-content-container{
   overflow-y: auto;
   overflow-x: hidden;
   max-height: 96%;
   width: 100%;
   display: flex;
   flex-flow: column;
   flex-grow: 1;
}

div.modal-content{
   padding-left: 0.2rem;
   padding-right: 0.2rem;
   height: 100%;
   display: flex;
   flex-flow: column;
}

.modal-site-name
{
    color: #009fe3;
    font-size: 1.5rem ;
    display: inline-block;
    vertical-align: middle ;
}

img.modal-icon-info{
    height: 18px;
    vertical-align: top;
    padding-left: 10px;
}
@media only screen and (max-height: 600px){
   img.modal-icon-info{
      height: 12px;
   }
}

a.modal-site-link{
    display: inline-block ;
    vertical-align: middle ;
}



div.modal-section{
    width: 100% ;
}

div.modal-section > h1, div.modal-section-graph > h1
{
    color: #009fe3 ;
    font-size: 1.2rem ;
    margin-top: 0;
}


div.modal-time-type-header{
   width: 100% ;
   display: flex;
   flex-flow: row;
}

div.modal-time-type-header-item-container{
   display: inline-block;
   width: 50%;
   height: 100%;
}

div.modal-time-type-header-item-container:hover{
   background: rgba(161, 218, 248, 0.4);
}

div.modal-time-type-header-item{
   padding: 0.15rem;
   border: 1px solid lightgray;
   height: calc(100% - 2px - 0.15rem - 0.15rem);
   display: flex;
   align-items: center;
}

div.modal-time-type-container{
   display: flex;
   flex-grow: 1;
   
   padding: 0.2rem;
   border: 1px solid lightgray;
   
   width: calc(100% - 0.2rem - 1px - 0.2rem - 1px) ;
}

.data-container{
   display: flex;
   flex-flow: column nowrap;
   flex: 1 1 100%;
   width: 100%;
}

.observations-container{
    display: flex;
    flex-flow: row nowrap;
    align-content: space-around;
}

div.obs-box{
   flex: 1 1 0;
   
   padding: 0.5rem;
   
   text-align: center;
   vertical-align: top ;
}

div.obs-box-selected{
    background: #a1daf8;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}



img.obs-box-icon{
    display:block;
    height: 40px;
    padding: 0.1rem;
    margin: auto;
}

@media only screen and (max-height: 600px),(max-width: 360px){
   img.obs-box-icon{
      height: 28px;
   }
}

span.obs-box-nb{

}

input.param-checkbox{
   vertical-align: middle;
}

span.checkbox-label{
   vertical-align: middle;
}

div.modal-section-graph-container{
    border: 2px solid lightgray;
    width: calc(100% - 2px - 2px) ;
    display: flex;
    flex-grow: 1;
}

div.modal-section-graph{
    padding: 0.1rem;
    width: calc(100% - 7px - 7px);
    display: flex;
    flex-flow: column;
}

div.modal-param-pickers{
   width: 100%;
}

div.modal-parameters-container{
   width: 100%;
   padding-bottom :10px;
}

span.modal-param-container{
   margin: 0.07rem;
}

.modal-date-pickers{
   margin-left: 0.1rem;
   display: flex;
   flex-flow: row wrap;
   justify-content: space-between;
}

img.modal-icon-graph{
    display: inline-block;
    height: 20px;
    vertical-align: middle;
}

div.graph-options-header{
   width: 100%;
}

.location-box{
   position: relative ;
   display: inline-block;
   vertical-align: top;
   width: 50%;
}


div.site-comparison-button-container{
    position: relative;
    
    display: inline-block;
    margin: 1px;
    border: 1px solid lightgray;
    border-radius: 20px;
}

div.site-comparison-button{
    padding: 0.05rem;
}

div.site-comparison-button-name{
    display: inline-block;
    padding-right: 0.1rem;
}

div.site-comparison-button-close{
    display: inline-block;
    color: lightgray;
}

.site-comparison-button-close:hover, .site-comparison-button-close:active{
    color: black;
}

.timezone-selection{
   text-align: right;
   display: inline-block;
   width: 50%;
   font-size: small;
}

div.graph-container{
    display: flex;
    flex-grow: 1;
    
    min-height: 400px;
}

table.daily-observation{
   width: 100%;
   table-layout: fixed;
   overflow-wrap: break-word;
   
   border-spacing: 0;
   border-collapse: collapse;
}

table.daily-observation td{
   border: 1px solid black;
   margin: 0;
   padding: 0.1rem;
}



td.daily-param-name, th.daily-param-name{
   width: 30%;
   font-weight: bold;
   vertical-align: top;
}

th.daily-value-title{
   border-left: 1px solid black;
   border-right: 1px solid black;
}

td.daily-param-sub, th.daily-param-sub{
   width: 30%;
}

td.daily-value, th.daily-value{
   width: 20%;
}

td.daily-value{
   text-align: right;
}

th.daily-value{
   text-align: center;
}

tr.separator {
   height: 10px;
   border: none !important; 
  }
  
div.modal-daily-explanations{
   padding: 0.1rem;
   font-size: small;
}

