/* Reset rules */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Variables */

:root {
    /* Colors */
    --bg-header: white;
    --bg-header-hover: #eeeeee;
    --font-color-nav: #ca562c;
    --bg-logo: #ca562c;
    /* Fonts */
    --font-family-body: 'Montserrat', sans-serif;
}

/* Basic rules */

body {
    font-family: var(--font-family-body);
}


/* header-nav block */

.header-nav {
    overflow: hidden;
    background-color: var(--bg-header);
    -webkit-box-shadow: 0px 2px 5px 0px rgba(100, 100, 100, 1);
    -moz-box-shadow: 0px 2px 5px 0px rgba(100, 100, 100, 1);
    box-shadow: 0px 2px 5px 0px rgba(100, 100, 100, 1);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom-style: solid;
    border-color: #ca562c;
}

.header-nav__btn {
    /* float: left; */
    color: var(--font-color-nav);
    text-align: center;
    padding: 8px 8px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;

}

.header-nav__btn:hover {
    background-color: var(--bg-header-hover);
    color: #ca562c;
    font-weight: bold;
}

.header-nav__logo {
  width: 15%;
  object-fit: contain;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
}

.header-nav__logo__u {
  width: 6%;
  margin-right: auto;
  object-fit: contain;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */

}

/* Sidepanel */

.container {
    display: flex;
    flex-direction: row;
}

#filtros {
    position: absolute;
    background-color: white;
    padding: 5px;
    z-index: 2;
  }

#contadorvisitas_title{
    position: absolute;
    left: 10px;
    bottom: 30px;
	  z-index: 9999;
	  font-size: 14px;
	  font-family: 'Montserrat', sans-serif;
	  color: #ca562c;
}

#contadorvisitas{
    position: absolute;
    left: 20px;
    bottom: 10px;
	  z-index: 9999;
	  font-size: 14px;
	  font-family: 'Montserrat', sans-serif;
	  color: #ca562c;
}

select {
  font-family: 'Montserrat', 'FontAwesome', 'Second Font name'
}

/* Map */

.map {
    height: calc(100vh - 90px);
    width: 100%;
    z-index: 1;
}

@media all and (max-width: 768px) {
    .header-nav {
        justify-content: space-around;
    }
    .header-nav__logo {
        flex: 100%;
    }
    .map {
        height: calc(100vh - 96px);
    }
}

@media all and (max-width: 480px) {
    .header-nav {
        flex-flow: column wrap;
        padding: 0;
    }
    .header-nav__btn {
        padding: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    .container {
        display: flex;
        flex-direction: column;
    }
    .sidepanel {
        width: 100%;
        height: 150px;
        overflow: scroll;
        padding: 5px;
        border-right: 1px solid rgba(0, 0, 0, 0.12);
    }
    .map {
        height: calc(100vh - 168px - 140px);
    }
}
