/*@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');*/
/* 
@font-face {
  font-family: InterFontEurac;
  src: url("./Font_Eurac_esearch/static/Inter-Regular.ea5879884a95.ttf");
} */

html {
  font-family: 'Inter', sans-serif; 
}
* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; 
   }

   .table-clickable tbody tr {
    cursor: pointer;
}

#rows_table:hover {
    background-color: #cccdcc;
}
   /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* Create three equal columns that floats next to each other */
.column-narrow {
  float: left;
  width: 20%;
  padding: 10px;
  /*height: 300px; /* Should be removed. Only for demonstration */
}

.column-large {
  float: left;
  width: 60%;
  padding: 10px;
  /*height: 300px; /* Should be removed. Only for demonstration */
}

/* Create three equal columns that floats next to each other */
.column-two {
  float: left;
  width: 50%;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Create three equal columns that floats next to each other */
.column-four {
  float: left;
  width: 25%;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

#title {
  text-align: center;
  color: #DF1B12;
  /*font-weight: bold;*/
}

.main-button {
  width: 400px; 
  /*height: 130px;*/ 
  font-size: 40px;
}

.second-button {
  width: 245px; 
  /*height: 80px;*/
  font-size: 30px;
}

.main-button-row {
  top: 85px;
  position: relative;
}

.second-button-row {
  top: 35px;
  position: relative;
}

#discovery {
  background-color: lightgreen;
}

#documentation {
  background-color: tan;
}

#title {
  top: 15px;
  /* position: relative; */
}

.center {
/*   margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); */
  text-align: center;
}

#logo {
  width: 160px;
  margin-left: 10px;
}

.main_page_buttons {
  color: #8C9091;
  border-color: #666B6C;
}

.main_page_buttons:hover {
  color: #FFFFFF;
  border-color: #DF1B12;
  background-color: #DF1B12;
}

.main_page_buttons:focus {
  color: #FFFFFF;
  border-color: #DF1B12;
  background-color: #DF1B12;
  box-shadow: 0 0 0 0.2rem rgb(222 70 36 / 50%) !important;
}

.main_page_buttons:active {
  color: #FFFFFF !important;
  border-color: #DF1B12 !important;
  background-color: #DF1B12 !important;
}



/*#discovery_button {
  padding: 40px;
  padding: 40px 40px 40px 32px;

}

#docs_button {
  padding: 40px 40px 40px 18px;
}*/

#jupiter_button {
  padding: 20px;
}

#openeo_button {
  padding: 20px;
}

#pgadmin_button {
  padding: 20px;
}

#maps_button {
  padding: 20px;
}

#header {
  padding: 20px;
}

#footer {
  padding: 20px;
}

#main_section {
  margin-top: -50px;
  /* background-image: url("Immagine4.bad0537254a7.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center; */
}

#header_table {
  border-bottom: 1px solid #838b93;
}

#rows_table {
  border-bottom: 1px solid #cccdcc;
}

td {
  padding: 5px;
}

.width_column_table-1 {
  width: 40%;
}

.width_column_table-2 {
  width: 20%;
}

#map {
  width: 100%;
  height: 83%;
  z-index: 1;
}

#discover_main_section {
  padding: 10px
}

#discovery_main_row:after {
  content: "";
  display: table; 
  clear: both;
}

#searchbar {
  width: 300px;
  border-radius: 25px;
  border: 0.5px solid #DF1B12;
  margin-left: 20px;
  height: 38px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #666B6C;
}

#searchbar:focus {
  border: 1.5px solid #DF1B12;
  margin-left: 20px;
}

#fesr_logo {
  /* width:480px; */
  width:100%;
}

#formsearch {
  /*margin: 0 auto;*/
  width: 95%;
}

.label_detail {
  font-weight: bold;
}


.snippet_code_div{
  width: 100%;
  background-color: #f6f6f6;
  border-radius: 5px;
  height: auto;
  padding: 5px;
}

.snippet_label {
  font-weight: bold;
}


.copyTooltip_snippet{
  visibility: hidden;
  margin-left: 5px;
}

.copyButton_snippet:hover + .copyTooltip_snippet {
  visibility: visible;
  opacity: 1;
}

.copyButton_snippet {
  color: #DF1B12;
  border: 1px solid #DF1B12;
  background-color: white;
  border-radius: 15px;
}

.copyButton_snippet:hover {
  color: white;
  border: 1px solid #DF1B12;
  background-color: #DF1B12;
  border-radius: 15px;
}

#copyDiv{
  top: 7px;
  position: relative;
}

.abstract-results {
  height: 4rem;
  overflow-x: hidden;
}

/* .abstract-results {
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  width: 8%;
} */

.abstract-results:hover {
  cursor: pointer;
}

/* .abstract-results:active, .abstract-results:hover {
  overflow-x: visible;
} */

.expand {
  overflow: visible;
}

#metadata_results {
  height: 85%;
  width: 100%;
  overflow: scroll;
  overflow-x: hidden;
}

.card {
  margin: 10px;
}



.row {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.col {
  padding-right: 0px !important;
  padding-left: 0px !important; 
}

#geonetwork_link {
  text-decoration: none;
  color: #007bff;
  background-color: transparent;
  background-image: none;
  border: 1px solid #007bff;
  border-radius: 15px;
  padding: 4px;
  position: relative;
  top: 5px;
}

#go_to_repository {
  text-decoration: none;
  color: #007bff;
  background-color: transparent;
  background-image: none;
  border: 1px solid #007bff;
  border-radius: 15px;
  padding: 4px;
  position: relative;
  top: 5px;
}

#go_to_repository_no_clickable{
  text-decoration: none;
  color: #007bff;
  background-color: transparent;
  background-image: none;
  border: 1px solid #007bff;
  border-radius: 15px;
  padding: 4px;
  position: relative;
  top: 5px;
}

#go_to_repository:hover {
  text-decoration: none;
  color: white;
  background-color: #007bff;
  background-image: none;
  border: 1px solid #007bff;
}

#geonetwork_link:hover {
  text-decoration: none;
  color: white;
  background-color: #007bff;
  background-image: none;
  border: 1px solid #007bff;
}

#searchbutton {
  color: #DF1B12;
  border: 1px solid #DF1B12;
  background-color: white;
  border-radius: 25px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-top: -4px;
}

#searchbutton:hover {
  color: white;
  border: 1px solid #DF1B12;
  background-color: #DF1B12;
  border-radius: 25px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-top: -4px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #DF1B12;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

.card_rem {
  width: 100%;
  
}


/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#maploader {
  position: absolute;
  right: 21%;
  margin: 0 auto;
  top: 25%;
}

.card {
  flex-direction: row;
  align-items: center;
}
.card-title {
  font-weight: bold;
}
.card img {
  width: 30%;
  border-top-right-radius: 0;
  border-bottom-left-radius: calc(0.25rem - 1px);
}
@media only screen and (max-width: 768px) {
  .card-body {
    padding: 0.5em 1.2em;
  }
  .card-body .card-text {
    margin: 0;
  }
  .card img {
    width: 50%;
  }
  #searchbar {
    width: 300px;
  }
}

@media only screen and (max-width: 1200px) {
  .card img {
    width: 40%;
  }
  #searchbar {
    width: 300px;
  }
}

#categories_div{
  /* overflow: scroll;
  overflow-x: hidden; */
  display: -webkit-inline-box;
}

.checkbox_categories {
  margin: 2px;
}


.nav-link.active {
  font-weight: bold;
}


textarea {
  z-index: -100;
  position: fixed;
}

@media only screen and (max-width: 1250px) {

  #searchbar {
    width: 300px;
  }

  .card_rem {
    width: 37rem;
  }
}