/*
TODO NOTES

- Buscar y eliminar todo lo relacionado con filter-controls y filterControls. No se que es, pero parece cosa del pasado.

*/

/* Fonts */

@font-face {
    font-family: "Georgia";
    src: url("../fonts/Georgia.ttf") format("truetype");
}

@font-face {
    font-family: "Georgia Italic";
    src: url("../fonts/Georgia-Italic.ttf") format("truetype");
}

@font-face {
    font-family: "League Gothic";
    src: url("../fonts/LeagueGothic-Regular.otf") format("truetype");
}

@font-face {
    font-family: "Century Gothic Bold";
    src: url("../fonts/CenturyGothicBold.ttf") format("truetype");
}

/* general */

#map-container {
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    bottom: 0;
}

.red {
   color: #ff8080 !important;
}

/* map info window */

#map_infowindow_container {
    margin-bottom: 0.8rem;
    margin-right: 0.6rem;
}

.dedication-container {
    max-width: 22vw;
}

#pic_container {
    text-align: left;
    display: block;
    margin: 0.3rem auto;
}

#text_container {

}

.map-specimen-dedication {
    margin-top: 0.5rem;
    font-family: "Georgia Italic";
    line-height: 1rem;
    font-size: 0.6rem;
    font-weight: normal;
    text-align: justify;
    text-transform: none;
    color: gray;
}

.map-specimen-editor {
    margin-top: 0.5rem;
    font-family: "Georgia Italic";
    line-height: 1rem;
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
    white-space: nowrap;
    color: gray;
}

.gm-style-iw {
    font-family: "Century Gothic Bold";
    font-size: 0.8rem !important;
    font-weight: bold !important;
//    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1rem;
    overflow: hidden;
}

.sharing_icons_container {
    margin-top: 0.3rem;
    display: block;
}

.sharing_icons_container a {
    font-size: 1.2rem;
    margin-right: 0.2rem;
    color: #AAAAAA;
}

#pic_container img {
    max-height: 25vh;
    max-width: 25vh;
}

#pic_container #sound_img {
    margin-left:0.5rem;
}


.gm-style-iw div {
    overflow: hidden !important;
}

.gm-style-iw-italic {
    font-family: "Georgia Italic";
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
    overflow: hidden;
    white-space: nowrap;
}

a.gm-style-iw-link {
    color: inherit;
    font-family: "Century Gothic Bold";
    overflow: hidden;
    text-decoration: none;
}

a.gm-style-iw-link:visited {
    color: black !important;
}

.gm-style-cc {
    display: none !important;
}

.map_editions {
    display: block;
    margin-top: 0.3rem;
    line-height: 0.7rem !important;
}

.map_editions a {
    font-family: "Georgia Italic";
    color:gray;
    font-size: 0.7rem;
    font-weight: normal !important;
    font-style: italic;
    text-transform: capitalize;
    text-decoration: underline;
    vertical-align: middle;
}

/*
#filter-controls {
    padding: 1rem;
    display: none;
}

#filter-select-triangle {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;

    border-style: solid;
    border-width: 0 0 0.7rem 0.7rem;
    border-color: transparent transparent black transparent;

    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}
*/

/* map controls bottom right corner */

#map-controls {
    padding: 1rem 0;
    display: none;
    //margin-right: -0.7rem
}

#map-controls i {
    display:inline-block;
    font-size: 1.2rem;
    line-height: 1.85rem;
    background-color: white;
    color: black;
    width: 1.85rem;
    height: 1.85rem;
    text-align: center;
    vertical-align: bottom;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    cursor: pointer;
}
/* edition */
.map-control-red-button {
    display:inline-block;
    font-size: 0.7rem;
    line-height: 1.85rem;
    background-color: #ff8080;
    color: white;
    width: 5rem;
    height: 1.85rem;
    text-align: center;
    vertical-align: bottom;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    cursor: pointer;
    font-family: "Georgia Italic", Verdana, Tahoma;
}

.map-control-black-button {
    display:inline-block;
    font-size: 0.7rem;
    line-height: 1.85rem;
    background-color: black;
    color: white;
    width: 5rem;
    height: 1.85rem;
    text-align: center;
    vertical-align: bottom;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    cursor: pointer;
    font-family: "Georgia Italic", Verdana, Tahoma;
}

.map-control-gray-button {
    display:inline-block;
    font-size: 0.7rem;
    line-height: 1.85rem;
    background-color: gray;
    color: white;
    width: 5rem;
    height: 1.85rem;
    text-align: center;
    vertical-align: bottom;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    cursor: pointer;
    font-family: "Georgia Italic", Verdana, Tahoma;
}


.map-control-red-button:hover {
    color: white;
    background-color: #ff8080;
}

.map-control-black-button:hover {
    color: white;
    background-color: black;
}

/*
#zoom-plus-control {
    margin-left: -0.05rem !important;
    //margin-right: -0.05rem !important;
}

#zoom-minus-control {
     margin-right: -0.05rem !important;
}
*/

@media (hover: hover) {
    #map-controls i:hover {
        background-color: black;
        color: white;
    }
}

/* DO NOT DELETE. The following css applies to elements that are not being used.
#map-controls i:before {
    padding-top: 0.25rem;
}

#map-controls i:active {
    background-color: #f3f3f3;
}
*/

/*
####
MAP MENU TOP LEFT CORNER
####
*/

/* main */

#dropdown-map-menu {
    padding: 1rem;
    display: none;
    //margin-right: -0.7rem
}

#dropdown-map-menu a {
    outline: none;
    text-decoration: none;
}

.map-menu-row {
    display: block;
    margin-bottom: 0.4rem;
}

.control-button-selected {
    background-color: black !important;
    color: white !important;
}

/* row 1 */

#dropdown-map-menu .map-menu-row1-element {
    display:inline-block;
    font-size: 1.8rem;
    line-height: 2.8rem;
    background-color: white;
    height: 2.7rem;
    vertical-align: bottom;
    color: black;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    cursor: pointer;
}

div.map-menu-row1-element {
    /*max-width: 16rem;
    min-width: 8rem;*/
    width: 16rem;
}

.map-menu-row1-element span {
    margin: 0 0.4rem;
    text-align: left;
    color: black;
}

.map-menu-garden span {
    font-family: "League Gothic";
    //margin: auto;
    //display: block;
    text-indent: 0.4rem;
}

.map-menu-garden, .map-menu-gardener {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-menu-gardener span {
    font-family: "Georgia Italic";
    font-weight: bold;
}

i.map-menu-row1-element {
    width: 1.85rem;
    text-align: center;
}

/* row2 */

#dropdown-map-menu .map-menu-row2-element {
    display:inline-block;
    font-size: 1.2rem;
    line-height: 1.85rem;
    background-color: white;
    height: 1.85rem;
    vertical-align: bottom;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    color: black;
}

#map-filter-menu-icon {
    color: black;
}

div.map-menu-row2-element {
    width: 16rem;
}

span.submenu-label {
    font-family: "League Gothic";
    margin: auto;
    display: block;
    float: left;
    text-indent: 0.4rem;
}
/*
span.submenu-label-stats {
    font-family: "Arial";
    color: #aaaaaa;
    font-size: 0.6rem;
    top: 4.05rem;
    right: 1.6rem;
    display: block;
    position: absolute;
    max-width: 7rem;
    z-index: 1;
    line-height: 0.75rem;
    text-align: right;
}*/

i.map-menu-row2-element {
    width: 1.85rem;
    text-align: center;
    cursor: pointer;
}

#dropdown-filter-menu-content a {
    color: black;
}

#dropdown-filter-menu-content li{
    display: block;
}

.submenu-items-stats {
    font-family: "Arial";
    color: #aaaaaa;
    font-size: 0.6rem;
    line-height: 0.82rem;
    float: right;
    max-width: 12rem;
    margin-top: 0.1rem;
    text-align: right;
    margin-right: 0.4rem;
}

.submenu-items-stats span {
    display: block;
    margin: auto;
}

/* dropdown menu row2 and 5 */

.dropdown-map-menu-content {
    margin-top: -1.85rem;
    left: 3.61rem;
    display: block;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 16rem;
    z-index: 1;
    transition-delay: 50ms;
    visibility: hidden;
    list-style-type: none;
}

.dropdown-map-menu-content a{
    font-family: "League Gothic";
    display: block;
    font-size: 1.2rem;
    line-height: 1.85rem;
    text-indent: 0.4rem;
}
/*
.dropdown-map-menu-content span{
    float: right;
    margin-right: 0.4rem;
}

.dropdown-map-menu-content i{
    float: right;
    margin-right: 0.4rem;
    font-size: 1.2rem;
    line-height: 1.7rem;
}*/

.dropdown-map-menu-content li{
    //color: ;
    border-bottom: 0.05rem solid #000000;
    display: block;
}

.dropdown-map-menu-content li:last-of-type {
    border-bottom: 0;
}

/* Row 4 */

#dropdown-routes-menu-activator i {
    font-size: 1.0rem !important;
}

#map-routes-icon {
    color: black;
}

/* dropdown menu row5*/

#map-edition-menu-icon {
    color: #FF8080;
}

#dropdown-edition-menu-content a {
    color: #FF8080;
}


#dropdown-edition-menu-content {
    visibility: hidden;
}

/*
.dropdown-map-menu-activator:hover #dropdown-edition-menu-content {
    transition-delay: 0s;
    visibility: visible;
}
*/

/* Row 3 - Map legend */

#legend-container i {
    font-size: 1.0rem !important;
}

#legend-list {
    margin-top: -1.85rem;
    left: 3.61rem;
    display: block;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.75);
    color: #0a0a0a;
    min-width: 16rem;
    z-index: 1;
    //transition-delay: 50ms;
    visibility: hidden;
    list-style-type: none;
}

#legend-list img{
    margin-right: 0.4rem;
}

#legend-list li svg {
    margin-right:0.4rem;
}

#legend-list li{
    font-family: "Georgia Italic";
    line-height: 1.85rem;
    font-size: 0.8rem;
    text-indent: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    //padding-bottom: 0.3rem;
    //color: ;
    border-bottom: 0.02rem solid #0a0a0a;
}

#legend-list li:last-of-type {
    border-bottom: 0;
}



/* edition footnote */
 .edition-instructions {
    display: none;
    padding: 0.5rem 0 0.5rem 0;
    font-family: 'Century Gothic';
    text-align:center;
    position:fixed;
    backface-visibility:hidden;
    top:0;
    margin:0;
    width:100%;
    z-index:1111;
    background-color:#FFFFFF;
}

.edition-instructions .close {
    font-family: 'Century Gothic Bold';
}

/* Kleos */
.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #ff968d; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;

  margin: auto;
}

.loader_counter {
  color:white;
  width: 120px;
  height: 120px;
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;

  margin: auto;
}

.loader_counter_content {
  font-size: 1em;
  position: relative;
  float: left;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding:0;
  margin:0;
  line-width: 0px;
}

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

// FAQ

#faq_reveal {
    margin-left: 10%;
    margin-right: 10%;
}

#faq_reveal h3 {
    font-size: 1.9375em !important;
    font-family: "League Gothic", Verdana, Tahoma;
}

#faq_reveal h2 {
    font-size: 1.8rem !important;
    font-family: "League Gothic";
}

#faq_reveal .question {
    font-style: italic;
    color: #ff8080;
    font-family: "Georgia", Verdana, Tahoma;
}

#faq_reveal .question a {
    font-style: italic;
    color: #ff8080;
}

#faq_reveal p {
    font-family: "Georgia", Verdana, Tahoma;
}

#faq_reveal .answer {
    text-align: justify;
}

#faq_reveal .answer ol {
    margin-left: 3rem;
}

#faq_reveal .answer ul {
    margin-left: 3rem;
}

#faq_reveal_question {
    font-style: italic;
    color: #ff8080;
}

#faq_reveal {
  max-height: 30rem !important;
  width: 50rem !important;
  top: 10rem !important;

}

.faq_help {
    color:gray;
    font-style: italic;
    margin-left: 0rem;
    text-decoration: underline;
    font-family: "Georgia",Verdana,Tahoma !important;
    font-size: 0.8rem !important;
}
