/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong, b {
  font-weight: bold;
}
em, i {
  font-style: italic;
}
a img {
  border: none;
}
/* END RESET*/
/* GLOBAL STYLES */

body {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  background-color: #fff;
  color: #000;
  font-family: "Times New Roman", Times, serif;
}
.layer {
  padding: 0;
  margin: 0;
}
.top {
  color: black;
}
.bottom {
  z-index : 10;
  width: 100vw;
  height: 100vh;
  background:
    url(/uploads/BACKGROUND/GUADALQUIVIR-MAP-02.svg);
  background-size: cover;
}
.content-container {
  flex-grow: 1;
  margin: 0 20vw 0 20vw;
}
a {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  color: #000000; 
  font-weight: bold; 
  letter-spacing: 0.00em; 
  text-decoration: none;
  border-style: none;
}
a:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  color: #999999;
  border-style: none;
  
}
a.under:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman"n, Times, serif;
  background: #e10000; 
  color: #000000;
  border-style: none;
}

p{
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
}

h1{
  font-size: 14px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  margin-top: 15px;
  font-family: "Times New Roman", Times, serif;
}

h2{
  font-family: "Times New Roman", Times, serif;
  font-size: 21px;
  font-weight: bold;
}

h3{
  font-family: "Times New Roman", Times, serif;
  font-size: 48px;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
.entrytitle {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.entrytitle:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  color: #999999;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.entrytitle.under:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  background: #e10000; 
  color: #000000;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.entrytitle-article {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  color: #999999;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.entrytitle-article:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  background: #000000; 
  color: #000000;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.entrytitle-article.under:hover {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  background: #e10000; 
  color: #999999;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.title-article {
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
  color: #000000;
  font-weight: bold; 
  letter-spacing: 0.00em;
  text-align: center;
}
.spacer {
  margin: 1em 0 1em 0;
}



/* HEADER STYLES */
.header {
  text-align: center;
  display: block;
  /*position: absolute;*/
  margin: 0.25em 20vw 10em 20vw;
  width: 60vw;
  z-index: 10;
}
.link-active {
   color: #999999; 
   font-weight: bold; 
   letter-spacing: 0.00em;
}
.header-nav {
  margin-top: 0.75em;
}
.header-nav > li {
  display: inline-block;
  margin-left: 1em;
}


/* FOOTER STYLES */
.footer {
  display: flex;
  flex-direction: row;
  padding-top: 10em;
  margin: 0 20vw 0 20vw;
  padding-bottom: 1em;
  /*position: absolute;*/
  height: 86px;
  width: 60vw;
  z-index: 10;
}
.footer .logo {
  flex: 0 1 auto;
  float: left;
}
.footer .footer-spacer {
  flex: 1 1 auto;
  float: left;
}
.footer .copyright {
  flex: 0 1 auto;
  display: flex;
  align-items: flex-end;
  text-align: right;
  bottom: 0;
  font-size: 10px;
  font-family: "Times New Roman", Times, serif;
  color: #000000;
  font-weight: bold; 
  letter-spacing: 0.00em;
}



/* PUBLIC STYLES */
.description {
}



/* ATLAS STYLES */
.entrylist {
}
.atlas-tile {
  box-sizing: border-box;
  display: block;
  float: left;
  height: 6.25vw; /*10*/
  width: 10vw; /*16*/
}
.speciesmap {
  margin-bottom: -2px;
  width: 60vw;
}
.entrymenu {
  box-sizing: border-box;
  overflow: hidden;
}
.menu-tile {
  box-sizing: border-box;
  float: left;
  height: 6.25vw; /*10*/
  width: 10vw; /*16*/ 
}
.species-container {
  border-bottom: 1px dotted black;
  border-top: 1px dotted black;
  width: 100%;
}
.species-title {
  margin: 1em 0 1em 0;
  text-align: center;
}
.species-classification {
  margin: 1em 0 3em 0;
  text-align: center;
}
.species-wrapper {
  text-align: left;
  
}
.species-landscape {
  display: flex;
  flex-direction: row;
  margin: 1em 0 2em 0;
}
.species-pod {
  display: flex;
  flex-direction: row;
  margin: 1em 0 2em 0;
}
.species-image {
  margin-bottom: 1em;
  width: 100%;
}
.col-image {
  flex: 1 1 49%;
  margin-right: 1%;
}
.col-description {
  flex: 1 1 49%;
  margin-left: 1%;
}
.dictionary-container {
  border-bottom: 1px dotted black;
  border-top: 1px dotted black;
  width: 100%;
}



/* SPECIES STYLES */
.species-entrylist-title {
  margin: 0 0 3em 0;
  text-align: center;
}
.species-entrylist {
}
.species-entry-title {
  text-align: center;
}
.species-entry {
  box-sizing: border-box;
  display: block;
  margin-bottom: 20px;
  text-align: center;
}
.species-entry-article {
  box-sizing: border-box;
  text-align: center;
  display: block;
  height: auto;
}
.species-description {
  box-sizing: border-box;
  text-align: center;
  display: block;
  height: auto;
}



/* DICTIONARY STYLES */
.dictionary-entrylist-title {
  margin: 0 0 3em 0;
  text-align: center;
}
.dictionary-index {
  text-align: center;
}
.dictionary-entry {
  box-sizing: border-box;
  display: block;
  margin: 1em 0 1.5em 0;
  text-align: center;
}
.dictionary-familytitle {
  margin-bottom: 1em;
}
.dictionary-article p {
  text-align: left;
}
.dictionary-name {
  margin-bottom: 3em;
  text-align: center;
}
.dictionary-image-wrapper {
  display: flex;
  flex-direction: row;
  margin: 1em 0 2em 0;
}
.dictionary-view {
  flex: 1 1 49%;
  margin-right: 1%;
}
.dictionary-map {
  flex: 1 1 49%;
  margin-left: 1%;
}
.dictionary-description {
  margin-bottom: 4em;
  text-align: left;
}
.dictionary-authors {
  margin-bottom: 4em;
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  font-family: "Times New Roman", Times, serif;
}




/* MEDIA QUERIES */
@media (max-width: 1000px) {
  /* GLOBAL STYLES */
  .content-container {
    margin: 0 14vw 0 14vw;
  }


  /* HEADER STYLES */
  .header {
    text-align: center;
    display: block;
    /*position: absolute;*/
    margin: 1em 14vw 10em 14vw;
    width: 72vw;
    z-index: 10;
  }

  /* FOOTER STYLES */
  .footer {
    margin: 0 14vw 1em 14vw;
    padding-top: 4em;
    /*position: absolute;*/
    width: 72vw;
    z-index: 10;
  }

  /* PUBLIC STYLES */
  .description {
  }

  /* ATLAS STYLES */
  .entrylist {
  }
  .atlas-tile {
    box-sizing: border-box;
    display: block;
    float: left;
    height: 7.5vw;
    width: 12vw;
  }
  .speciesmap {
    width: 72vw;
  }
  .menu-tile {
    box-sizing: border-box;
    margin-right: -4px;
    display: inline-block;
    height: 7.5vw;
    width: 12vw;
  }


}

@media (max-width: 500px) {
  /* GLOBAL STYLES */
  .content-container {
    margin: 0 0.2vw 0 0.2vw;
  }
  
  /* HEADER STYLES */
  .header {
    text-align: center;
    display: block;
    /*position: absolute;*/
    margin: 1em 0.2vw 10em 0.2vw;
    width: 99.6vw;
    z-index: 10;
  }

  /* FOOTER STYLES */
  .footer {
    margin: 4em 0.2vw 1em 0.2vw;
    /*position: absolute;*/
    width: 99.6vw;
    z-index: 10;
  }

  /* PUBLIC STYLES */
  .description {
  }

  /* ATLAS STYLES */
  .entrylist {
  }
  .atlas-tile {
    box-sizing: border-box;
    display: block;
    float: left;
    height: 10.375vw;
    width: 16.6vw;
  }
  .speciesmap {
    width: 99.6vw;
  }

}
