body {
  background-color: white;
  font-family: Arial, sans-serif;
  margin: 0;
}

a:link {
  color: #0000cc;
}

a:active {
  color: red;
}

a.title, h2.title{
  color: #FE6700;
  background: #FFF;
}

h2.articol_title {
  color: #804C42;
  background: #FFF;
}

.articol_source {
  font-weight: normal;
  text-align: right;
  font-size: 0.95em;
  padding-right: 10px;
  padding-bottom: 10px;
}

.articol_breadcrumbs {
  font-size: 0.9em;
  padding: 10px 0 0 10px;
}

#detalii_comments{
  font-size: 0.9em;
  padding: 0px 10px 10px 10px;
}

#filters1 {
  border: 1px solid #888;
  background: #fff;
  position: fixed;
  position: absolute;
  width: 14%;
  height: 90%;
  overflow:auto;
/*  margin-left:85%;*/
  margin-top: 30px;
/*  z-index: -1;*/
  background: white;
  padding: 5px 5px 5px 5px;
  font-size: 11px;
}

/* Filter dropdown */

.filters-dropdown {
  display: none;

  position: fixed;
  top: 52px;
  right: 12px;

  width: 360px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 70px);

  overflow-y: auto;

  box-sizing: border-box;
  padding: 8px 0;

  background: #fff;
  border: 1px solid #888;
  border-radius: 4px;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);

  z-index: 10000;

  font-size: 13px;
}


.filters-dropdown.open {
  display: block;
}

#extend_results a {
  display: flex;
  align-items: flex-start;

  box-sizing: border-box;
  width: 100%;

  padding: 9px 12px;

  color: #804C42;
  text-decoration: none;
  font-weight: normal;
  line-height: 1.3;
}

#extend_results a:hover {
  background: #f3eeee;
  text-decoration: none;
}

#extend_results a img {
  width: 8px;
  height: 8px;

  margin-top: 5px;
  margin-right: 8px;

  flex: 0 0 auto;
}

#filter_container {
  padding: 0 12px;
}

#filter_container dt {
  padding: 7px 0 3px 0;
}

#filter_container dd {
  margin: 0;
  padding: 2px 0 2px 5px;
}

.filter_header {
  font-weight: bold;
  margin-top: 10px;
}

.mosii-more {
  margin-left: 13px;
  font-weight: bold;
}

.mosii-more a:link,
.mosii-more a:visited {
  text-decoration: underline;
}

.mosii-more a:hover,
.mosii-more a:visited, .mosii-more a:active {
  color: #f78910;
}

#map2 {
  background-color: #e5e3df;
  height: 100%;
  z-index: 0;
  position: relative;
}
#map1 {
  z-index: 0;	
  top: 0 !important;
  position: relative;		
}

#map_detalii {
 margin-left: 450px;
 width: 450px;
 height:500px; 
 z-index: 0;
}

.navigation_links {
  display: none;
}

.perm_link {
  color: black !important;
  font-size: 90%;
  text-decoration: none;
}

#search_container {
  z-index: 3;
  margin-top: 0px;
  margin-left: 80%;
  position: absolute;
  padding: 3px;
  height: 30px;
  width: 20%;
}

.close_image {
  padding-right: 18px;
}

/*mapping*/
.gmap-popup{
  width: 300px;
}
.popup-title {
  text-align: center;
  margin-bottom: 3px;
}

.popup-subtitle {
  font-size: 0.9em;
  margin-bottom: 4px;
}

.gpopup-link:link {
 text-decoration: none;
 color: #804C42;
 font-weight: bold;
}

.gpopup-link:visited {
 text-decoration: none;
 color: #804C42;
 font-weight: bold;
}

.gpopup-link:hover {
 text-decoration: none;
 color: #804C42;
 font-weight: bold;
}

.popup-data {
  text-align: center;
  font-size: 0.8em;
  margin-bottom: 8px;
}

.popup-content {
  font-size: 0.8em;
  /*margin-bottom: 8px;*/
}

.duplicate-line a {
 text-decoration: none;
 color: #014f75;
 /*font-weight: bold;*/
}

.duplicate-line {
  padding-top: 3px;
  font-size: 0.9em;
}

.popup-more-incidents {
  padding-top: 7px;
  font-size: 0.8em;
}

.popup-more-incidents  a {
  text-decoration: none;
  color: #014f75;
  font-weight:bold;
}

#GM_status_container {
	background-color:#FFF;
    width:270px;
    height:115px;
    border:10px solid #D8EFA9;
    color:#690;
}

#GM_status_text {
    padding: 10px;
}

/*end mapping*/ 

/*start details*/
#container {
  width: 900px;	  
  padding: 0; 	
  margin: 0 auto; 
  margin-botoom: 0px;
  text-align:left;
  border-left: 2px solid #804C42;
  border-right: 2px solid #804C42;
  background: white;
}

#header {
  /*background: #0E4D94;*/
  background: #804C42;
  color: white;
  font-size: 1.4em;
  padding: 10px 0 10px 10px;  
  text-align: left;
  border-bottom: 1px solid white;
  border-top: 1px solid white
}

#supra-header {
  text-align: right;
  padding: 10px 10px 10px 0;
  background: #967E75;
}

#content {
  
}

#footer {
  background: #804C42; 
  padding: 5px 10px 0 5px;
  text-align: left;
}

#footer a {
  color: white; 
  font-size: 0.9em;
  text-decoration: none;
  font-weight: normal;  
}

.clear_both {
  clear: both;
  height: 1px;
}

.show_pages {
  width: 100%;
  text-align: center;
  font-size: 90%; 
  padding-top: 20px;
}

A.page_link:link {text-decoration: none; color:#804C42}
A.page_link:visited {text-decoration: none; color:#804C42}
A.page_link:hover {text-decoration: none; color:#804C42;}

A.link_listing:link {text-decoration: none; color:#804C42;}
A.link_listing:visited {text-decoration: none; color:#804C42}
A.link_listing:hover {text-decoration: none; color:#804C42}

A.listing_title:link {text-decoration: none; color:white;}
A.listing_title:visited {text-decoration: none; color:white}
A.listing_title:hover {text-decoration: none; color:white}

A.link_article:link {text-decoration: underline; color:#804C42;}
A.link_article:visited {text-decoration: underline; color:#804C42}
A.link_article:hover {text-decoration: none; color:#804C42}

.dashed {
  border-style:none none dotted none;
  color: #804C42;
  font-size: 0.8em;
}

.listing_title_container {
  text-align: center;
  width: 50%;
}

.listing_title {
  padding-left: 10px; 
  /*color:#3B6E91*/
  color: #804C42;
}


.listing_header_title {
  color: #804C42;
}

.listing_header {
  text-align: center;
  width: 100%;
}

.listing_content {
  float: left; 
  width: 450px;
  border: 0px solid black;
}

.detalii_label {
  float: left; 
  width: 30%;
  font-weight: bold;
  padding-top: 5px;
}

.flatpage_title {
  /*color:#3B6E91*/
  color: #804C42;
  text-align:center;
  width: 100%;
}

#flatpage_content {
  padding: 1em 1em 1em 1em;
  text-align: justify;
}

#flatpage_content a:link {text-decoration: none; color:#804C42;}
#flatpage_content a:visited {text-decoration: none; color:#804C42}
#flatpage_content a:hover {text-decoration: none; color:#804C42}  


.detalii_field {
  margin-left: 30px;
  padding-top: 5px;
}

#more_detalii {
  margin-left: 50%;
}

#gallery {
  border-bottom: 1px solid black;
  margin-top: 10px
  ;padding-bottom: 10px;
}

.detalii_heading {
  font-weight: bold;
  padding: 1em 0 1em 0;
}
/*end details*/

.top-link {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
}

#nr_rezultate {
  position: absolute; 
  bottom: 35px; 
  left: 3px;
  color: #fff; 
  z-index: 5; 
  font-size: 12px; 
  font-weight: bold;
}

#comment_preview {
  padding-left: 10px;
}

.comment_odd {
  border-top: 1px solid;
}

.comment_even {
  border-top: 1px solid;
}

#comment_preview h3 {
  
}

.hidden {
  display: none;
}

.display {
  display: '';
}

/* start new styles */

.top-menu {
  position: relative;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;

  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-menu-left,
.top-menu-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-menu-right {
  position: relative;
}

.top-menu a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
  line-height: 28px;
}

.top-menu a:hover {
  text-decoration: underline;
}

#map {
  position: relative;

  width: 100%;
  height: calc(100vh - 44px);

  margin: 0;
  padding: 0;

  background-color: #e5e3df;
  z-index: 0;
}

@media (max-width: 600px) {
  .top-menu {
    min-height: 44px;
    padding: 6px 10px;
  }

  .top-menu-left,
  .top-menu-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .top-menu a {
    font-size: 15px;
    line-height: 22px;
  }

  #map {
    height: calc(100vh - 44px);
  }
}

@media (max-width: 600px) {
  .filters-dropdown {
    position: fixed;

    top: 52px;
    right: 10px;
    left: 10px;

    width: auto;
    max-width: none;
    max-height: calc(100vh - 65px);

    font-size: 14px;
  }

  #extend_results a {
    padding: 12px 10px;
    line-height: 1.35;
  }
}
	
/* Building map legend */

.building-legend {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #999;
  border-radius: 3px;
  padding: 7px 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.15;
  color: #111;
}

.building-legend-row {
  display: flex;
  align-items: center;
  margin: 2px 0;
  white-space: nowrap;
}

.building-legend-row img {
  width: 17px;
  height: 21px;
  object-fit: contain;
  margin-right: 7px;
  flex: 0 0 17px;
}

@media (max-width: 700px) {
  .building-legend {
    font-size: 11px;
    padding: 5px 7px;
    max-width: calc(100vw - 40px);
  }

  .building-legend-row img {
    width: 14px;
    height: 18px;
    object-fit: contain;
    margin-right: 5px;
    flex-basis: 14px;
  }
}
