.barra-menu-subseccio {
    max-width: 780px !important;
}

.sismo_checkbox-coordenades {
        display: inline;
        width: 18px !important;
        height: 18px !important;
        margin-right: 5px !important;
        margin-top: 0px !important;
    }

.col-xs-3 {
    width: 33%;
    float: left;
}

.div_canvas {
    position: relative;
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 10px;
    height: 350px !important;
}

/* Seccio Mapa */
.div-map-event {
    height:580px;
    width:800px;
    max-width: 100%;
    margin: auto;
}
.sismo_div-map-event-multiple {
    height:100%;
    width:100%;
    float: left;
}

/* Taula terratremols */
.div-taula-terratremols {
    width: 100%;
    margin-top: 30px;
}

div#titol {
  background-color: #333;
  color: #fff;
  height: 10%;
  padding: 1%;
  margin: -8px;
  z-index: 999;
}

div#logo {
  float: left;
  margin-right: 1%;
  width: 100%;
  height: 100%;
}

div.spacer {
    height: 10px;
}

/* Imatge formes d'ona */
.img-wf {
    max-width: 100%;
    height: auto;
    display: block;
}

.link-menu-subseccio {
    width: 90%;
    max-width: 190px;
    min-width: 110px;
    color: #BF0000;
    overflow: hidden;
}

.dl-horizontal dt {
    font-weight: bold;
}
.dl-horizontal dd {
    margin-inline: auto;
}
@media (min-width: 400px) {
    .sismo_form-group-periode {
        display: inline;
        margin-right: 5px;
    }
    .sismo_select-periode,
    .sismo_submit-periode {
        display: inline;
        width: 195px !important;
        height: 40px !important;
    }
    .sismo_submit-periode {
        margin-left: 5px;
    }
    .sismo_submit-label {
        display: inline !important;
        margin-right: 5px;
        font-weight: 500 !important;
    }
    
    .sismo_form-group-coordenades-block {
        display: block !important;
        margin-right: 20px;
    }
    .sismo_sismo_form-group-coordenades-group {
        display: block !important;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .sismo_form-group-coordenades {
        display: inline-flex;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    .sismo_select-coordenades,
    .submit-coordenades {
        display: inline;
        width: 88px !important;
        height: 40px !important;
    }
    
    .sismo_select-tipus-magnitud,
    .sismo_select-area {
        display: inline;
        width: 109px !important;
        height: 40px !important;
    }
    
    .sismo_select-event_type {
        display: inline;
        width: 159px !important;
        height: 40px !important;
    }
        
    .submit-coordenades {
        margin-left: 5px;
    }
    .sismo_submit-coordenades-label {
        display: inline-block !important;
        margin-right: 5px;
        width: 170px;
        font-weight: 500 !important;
    }
}
@media (min-width: 750px) {  
    .sismo_form-group-periode {
        display: inline;
        margin-right: 20px;
    }
    .sismo_select-periode,
    .sismo_submit-periode {
        display: inline;
        width: 195px !important;
        height: 40px !important;
    }
    .sismo_submit-periode {
        margin-left: 5px;
    }
    .sismo_submit-label {
        display: inline !important;
        margin-right: 5px;
        font-weight: 500 !important;
    }
    .sismo_form-group-coordenades-block {
        display: block !important;
        margin-right: 20px;
    }
    .sismo_form-group-coordenades {
        display: inline-flex;
        margin-right: 20px;
        margin-bottom: 5px;
    }
    .sismo_select-coordenades,
    .submit-coordenades {
        display: inline;
        width: 88px !important;
        height: 40px !important;
    }
    
    .sismo_select-tipus-magnitud,
    .sismo_select-area {
        display: inline;
        width: 109px !important;
        height: 40px !important;
    }
    
    .sismo_select-event_type {
        display: inline;
        width: 159px !important;
        height: 40px !important;
    }
    
    .submit-coordenades {
        margin-left: 20px;
    }
    .sismo_submit-coordenades-label {
        display: inline-block !important;
        margin-right: 5px;
        width: 170px;
        font-weight: 500 !important;
    }
    .dl-horizontal dt {
        float: left;
        width: 200px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dl-horizontal dd {
        margin-left: 95px;
    }
}

.nota-wf {
    line-height: 30px;
    margin-left: 21px;
    color: #000000;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.sismo_select-periode,
.sismo_submit-periode {
    width: 195px !important;
    height: 40px !important;
    margin-bottom: 0;
}
.sismo_select-periode {
    background-color: #ffffff;
    color: rgb(85, 85, 85);
}
.sismo_submit-periode {
    color: #BF0000;
}

.sismo_select-coordenades,
.submit-coordenades {
    width: 88px !important;
    height: 40px !important;
    margin-bottom: 0;
}

.sismo_select-tipus-magnitud,
.sismo_select-area {
    display: inline;
    width: 109px !important;
    height: 40px !important;
}

.sismo_select-event_type {
    display: inline;
    width: 159px !important;
    height: 40px !important;
}

.sismo_select-coordenades,
.sismo_select-tipus-magnitud,
.sismo_select-event_type,
.sismo_select-area {
    background-color: #ffffff;
    color: rgb(85, 85, 85);
}
.submit-coordenades {
    color: #BF0000;
}

.sismo_submit-coordenades-label .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: white;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  font-weight: 500 !important;
  display: inline-block  !important;
}
.sismo_submit-coordenades-label:hover .tooltiptext {
  visibility: visible;
}

/* popups on map */
.sismo_ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 140px;
}
.sismo_ol-popup:after, .sismo_ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.sismo_ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.sismo_ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.sismo_ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}
.sismo_ol-popup-closer:after {
  content: "x";
}

/* Butons de nevegacio */

.sismo_button_menu_blue{
    background-color: #0494F7;
    border-radius: 1px;
    height: 40px; 
    line-height: 40px;
    text-align: center;
}
.sismo_button_menu_text{
    display: inline-block;
    vertical-align: middle;
    line-height: inherit;
    color: white;
    font-weight: bold;
}
.formulariIbuttons{
    display: flex;
}
.sismo_resp-50_100{
    width: 50%;
    display: inline-block;
}
.sismo_resp-80_100{
    width: 80%;
    display: inline-block;
}
.sismo_resp-20_100{
    width: 20%;
    display: inline-block;
}
@media (max-width: 630px) {
    .formulariIbuttons{
        flex-direction: column-reverse;
    }
    .sismo_button_menu_blue,
    .sismo_resp-80_100,
    .sismo_resp-20_100,
    .sismo_resp-50_100{
        width: 100%;
    }
}
.td-nowrap{
    white-space:nowrap
}

.sismo_form-inline{
    width: 100%;
}

.section{
    background-color: lightgrey;
    border: solid;
    border-color: darkgrey;
    margin: 20px;
    border-radius: 10px;
    border-width: thin;
    color: #7b7171;
    text-align: center;
}

.div_map-pgm{
    width: 100%;
    margin:auto;
}

.radio_map-pgm{
    margin-left: 10px !important;
    margin-right: 3px !important;
}

.tab_borders{
    border: 1px solid #dddddd !important;;
    border-bottom-left-radius:  10px !important;;
    border-bottom-right-radius: 10px !important;;
}

.link {
   color: #BF0000 !important; 
}
.sismo_plegable{
   max-height:0;
   overflow:hidden;
/*   -webkit-transition: max-height 100ms ease-out;
   -moz-transition: max-height 100ms ease-out;
   -o-transition: max-height 100ms ease-out;
   transition: max-height 100ms ease-out;*/
   border: none;
   margin-left:20px;
}
.sismo_plegable.desplegado{
   max-height:1500px;
/*   -webkit-transition: max-height 100ms ease-out;
   -moz-transition: max-height 100ms ease-out;
   -o-transition: max-height 100ms ease-out;
   transition: max-height 100ms ease-out;*/
   border-top: none;
   border-bottom: none;
   border-width: thin;
   border-color: #ccc;
   margin: 5px;
   margin-left:20px;
   padding-bottom:5px;
}

.sismo_tab_container{
    height: calc(100vh - 320px);
    min-height: 520px;
}
.text100{
    width: 100%;
    margin-bottom: 5px;
}

.sismo_title_accordion{
    font-size: 1.12em;
    margin-left: 0px;
}
.sismo_title_accordion:before {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 11px;
  color: black;
  float: left;
  margin-left: 5px;
  margin-bottom: 4px;
  margin-right: 5px;
  border: solid;
  border-width: 1px;
  border-color: darkgray;
  padding: 3px;
  background-color: #e6e6e6;
  cursor:pointer;
}

.sismo_title_accordion.desplegado:before {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
.sismo_question {
  font-weight: bold;
  display: block !Important;
  color: #8a1f11;
  font-size: 16px;
}
.sismo_blinking{
    animation:sismo_blinkingText 1.0s infinite;
     margin-left: 40px;
}

.sismo_blinking2{
    animation:sismo_blinkingText 1.0s infinite;
}

@keyframes sismo_blinkingText{
    0%{color:#000;}
    49%{color:grey;}
    60%{color:transparent;}
    99%{color:transparent;}
    100%{color:#000;}
}

.sismo_listbox{
    -webkit-appearance: sismo_listbox !important;
}

.sismo_basic_text{
    font-weight: 500 !important;
}

.sismo_table_sisweb{
    font-size: 14px !important;
}

.a_intern {
    color: #BF0000 !important;
}

/* Split the screen in two */

.sismo_top_bar {
  width: 100%;
  padding: 0 10px 10px 0;
  text-align: left;
  display: none;
}
.sismo_main_container {
    width: 100%;
    height: 100%;
}
.sismo_main_container_tab {
    width: 100%;
    height: 100%;
}
.sismo_split_left {
  height: 95%;
  width: 44%;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: scroll;
  left: 0;
  float: left;
  background-color: ghostwhite;
  margin-right: 1%;
}
.sismo_split_right {
  height: 95%;
  width: 55%;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: hidden;
  right: 0;
  float: right;
}
@media (max-width: 768px) {
  .sismo_main_container {
    display: flex;
    flex-direction: column;
    height: 85%;
  }
  .sismo_main_container_tab {
    display: flex;
    flex-direction: column;
  }

  .sismo_split_left,
  .sismo_split_right {
    width: 100%;
    height: 100%;
    display: none;
  }

  .sismo_split_right.sismo_active {
    display: block; /* Mostramos solo la activa */
  }
  
  .sismo_split_left.sismo_active {
    display: block;
    overflow-y: scroll;
  }
  
  .sismo_top_bar {
      display: block;
  }
  
  .td-nowrap {
      white-space:normal;
  }
}

.buttons-html5 {
    margin-top: 10px;
}
.sismo_cos {
    height: calc(100vh - 20px);
    width: 100%;
}
/*table thead tr th {
    background-color: #666;
    border-color: #DDD;
    border-width: 1px;
    padding: 8px;
    font-weight: bold;
    color: #ffffff;
}*/
.highlight {
  /*background-color: #ffff99 !important;*/
  font-weight: bolder;
}
