
/* GENERAL */

.mapdiv {
  height: 100%;
  width: 100%;
}
#mapdiv_column {
  width: 60%;
  align-items: center;
  margin-bottom: 70px;
}
#col_next2map {
  width: 40%;
  padding-left: 20px;
  align-items: center;
}
.div-button {
  float:right;
  padding: 10px;
}
.svg-container {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 500px;
  vertical-align: top;
  overflow: hidden;
}
.svg-content {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}
.text-page {
  padding-top:30px;
}
.page-content-wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -144.85px;
}

/* NAVIGATION LINE */

.menu-line-current {
  stroke: #8c1b0a;
  stroke-width: 10;
}
.menu-line-noncurrent {
  stroke: #fce8c9;
  stroke-width:10;
}
.menu-line-noncurrent:hover {
  stroke: maroon;
}

/* HAMBURGER-MENU */

.ham-menu {
  list-style-type: none;
  width: 157.5px;
  height: 150px;
  margin: 0;
  padding: 0;
  top: 60px;
  right: 0;
  z-index:2;
  background-color: white;
  border-color: maroon;
  border-width: 2px;
  border-style: solid;
  text-align: center;
}
.ham-menu li {
  padding-top: 10px;
}
.ham-menu li a{
  color: black;
}
.ham-menu li a:hover{
  text-decoration: underline;
  text-decoration-color: maroon;
  font-weight: bold;
}
.nav-icon {
  background-color: white;
  border: none;
  margin: 1em;
  width: 45px;
  position: absolute;
  right: 35px;
}
.nav-icon:after,
.nav-icon:before,
.nav-icon div {
  background-color: maroon;
  border-radius: 3px;
  content: '';
  display: block;
  height: 5px;
  margin: 7px 0;
  transition: all .2s ease-in-out;
}
.nav-icon:focus {
  outline: 0;
}
@media(min-width: 0) {
  .ham-menu {
    display: none;
  }
  .ham-menu.toggleMenu {
    display: block;
    position: absolute;
    z-index: 2;
  }
  .nav-icon.toggleIcon:after {
    transform: translateY(-12px) rotate(-135deg);
  }
  .nav-icon.toggleIcon:before {
    transform: translateY(12px) rotate(135deg);
  }
  .nav-icon.toggleIcon div {
    transform: scale(0);
  }
}

/* PAGES WITH FRANCE MAP */

/* Link styles */
.link{
  color: black;
  text-decoration: underline;
  text-decoration-color: #FACDD4;
  text-decoration-style: wavy;
}
.link:hover {
  cursor: pointer;
  font-weight: bold;
  color: black;
  font-size: 15px;
  text-decoration-color: #FACDD4;
}
/* Clicked province style */
.province.active {
  fill: #FACDD4;
}
.province.active:hover{
  fill: #FACDD4;
}
.province.active:not(:hover){
  fill: #FACDD4;
}
/* Province info div */
#prov-info-div{
  margin-top: 30px;
  width: 100%;
}

/* VARIETIES PAGE */

/* Varieties and regions table */
#var-table-div {
  padding: 0;
  margin: 0;
  width: 100%;
  align-self: center;
  align-items: center;
}
table {
  margin-top: 30px;
  margin-bottom: 50px;
  width: 100%;
}
th, td {
  text-align: center;
  padding: 10px;
}
table, th, td {
  border: 1px solid #000;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 0;
}
th:first-child {
  border-left: 0;
}
th:last-child {
  border-right: 0;
}
table, tr, td:first-child {
  border-bottom: 0;
  border-left: 0;
}
table, tr, td:last-child {
  border-bottom:0;
  border-right: 0;
}
/* Barplot */
.barplotdiv {
  height: 80%;
  width: 90%;
}
#barplot-container {
  display: inline-block;
  position: relative;
  width: 90%;
  height: 100%;
  vertical-align: top;
  padding-bottom: 10px;
}
.barplot-content {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}
.bar{
  fill: #fce8c9;
}
.bar.active{
  fill: #FACDD4;
}
.bar.active:hover{
  fill: #FACDD4;
}
.bar.inactive{
  fill: #8c1b0a;
}
.bar.active:not(:hover){
  fill: #FACDD4;
}
.axis {
  font: 12px sans-serif;
}
.axis path,
.axis line {
  fill: none;
  stroke: black;
  shape-rendering: crispEdges;
}

/* SEARCH ENGINE PAGE*/

/* Search inputs */
#search_inputs_row {
  margin: 0;
  align-items: center;
  width: 100%;
  padding: 0;
}
.large_input_field {
  width: 28%;
  padding: 5px;
}
.small_input_field {
  width: 16%;
  padding: 5px;
}
/* Input text fields */
.dropfield {
  background-color: white;
  color: grey;
  padding: 16px;
  margin-top: 30px;
  font-size: 16px;
  border: 1px solid black;
  cursor: pointer;
  width: 100%;
  justify-content: right;
}
.dropfield::placeholder {
  color: grey;
}
.dropfield:hover {
  border: 2px solid black;
  padding: 15px;
}
.dropfield:focus {
  outline-color: maroon;
}
/* The container needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color:  white;
  width: 100%;
  max-height: 220px;
  overflow-y: scroll;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  font-size: 12px;
  padding: 5px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color:  #fce8c9;
  color: black;
}
.show {
  display: block;
}
/* Search for results button */
.searchbtn {
  width: 100%;
  height: 50px;
  color: white;
  background-color: maroon;
  display: inline-block;
  border:none;
  margin-top: 30px;
  margin-bottom: 30px;
}
.searchbtn:focus {
  outline: none;
}
/* Loading icon */
#loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid maroon;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  visibility: hidden;
  align-self: center;
  margin-bottom: 20px;
  display: inline-block;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* The search results info */
#resulting_statistics {
  visibility: hidden;
}
#search_results_div {
  visibility: hidden;
  margin-bottom: 50px;
}
/* The search results table */
#search_results_table {
  table-layout: auto;
  width: 100%;
  align-self: center;
  border: 1px solid #000;
}
#search_results_table td {
  font-size: 13px;
  width: auto;
  border: 1px solid #000;
}
#search_results_table th {
  width: auto;
  border: 1px solid #000;
}
/* The dropdown for title description*/
#info-button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  margin:0;
  margin-top: 5px;
  padding:0;
  font: 'Apple Chancery';
  font-size: 12px;
  font-style: italic;
  border-color: grey;
}
#info-button:hover, #info-button:focus {
  all: none;
  outline-color: white;
  border-color: #FACDD4;
  border-width: 1px;
}
#info-dropdown a {
  font-size: 12px;
}
#info-dropdown a:hover {
  background-color: white;
}
.info-dropdown {
  position: relative;
  display: inline-block;
}
