@charset "utf-8";

/*animations*/

@keyframes ripple {
  0% { 
    transform: scale(0);
    opacity: 0.0;  
  }
  25% {
    opacity: 0.0;
  }    
  50% {  
    opacity: 1.0;
  }
  75% {  
    opacity: 1.0;
  }    
  100% { 
    transform: scale(1);
    opacity: 0.0; 
  }
}

@keyframes crossfade {
    0% { 
    opacity: 0.0;  
  }
    100% { 
    opacity: 1;  
  }
}

/*styles*/

html {
    height:100%;
    box-sizing:border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position:relative;
    margin:0;
    min-height:100%;
    font-family:"Helvetica Neue", sans-serif;
    font-size:11px;
    background:#000;
}

#header {
    position:fixed;
    float:left;
   
    background-color:#000;
    
    margin:0;
    top:0;
    left:0;
    
    width:100%;
    height:10%;
    min-height:50px;
    
    z-index:1;
}

#hub {
    float:left;
    display: inline-block;
    
    background-color:#000;
    
    width:70%;
    height:100%;
    
    border-bottom: 2px #FFF solid;
}

#title {
    position: absolute;
    bottom: 10px;
    left:15%;
    
    color:#FFF;
    font-size:1.5em;
    font-weight:600;
    text-align:left;
}

.side {
    float:left;
    display: inline-block;
    
    width:15%;
    height:100%;
    
    background-color:#000;
}

#main {
    background-color:#000;
    overflow: hidden;
    float:left;

    width:100%;
    height:auto;
    min-height:100vh;
}

#info {
position:absolute;
bottom:10px;
right:15%;
    
text-decoration:none;
    
width:25px;
height:25px;
border-radius:50%;
    
background:#000;
border: 2px #FFF solid;

font-size:1.2em;
font-weight:600;
    
color:#FFF;
line-height:20px;
text-align:center;
}

#info:hover {
    border: 2px #FFF solid;
    background-color:#FFF;
    color:#000;
    cursor:crosshair;
}

#reset {
position:absolute;
bottom:10px;
right:20%;
    
text-decoration:none;
    
width:25px;
height:25px;
border-radius:50%;
    
background:#000;
border: 2px #FFF solid;

font-size:1.2em;
font-weight:600;
    
color:#FFF;
line-height:20px;
text-align:center;
}

#reset:hover {
    border: 2px #FFF solid;
    background-color:#FFF;
    color:#000;
    cursor:crosshair;
}

#reset:hover .tooltip {
    visibility:visible;
    cursor:crosshair;
    animation:crossfade 0.3s linear 0s 1;
}

.tooltip {
    /*tooltip behaviour*/
    white-space:nowrap;
    visibility:hidden;
    
    background:#FFF;
    color:#000;
    margin-left:28px;
    padding: 3px 10px 3px 10px;
    position:absolute;
    z-index:100;
}

#info:hover .tooltip {
    visibility:visible;
    cursor:crosshair;
    animation:crossfade 0.3s linear 0s 1;
}

.icon {
    display: block;
    width:250px;
    margin-top:8%;
    margin-left: auto;
    margin-right: auto;
    
    filter: invert(50%);
}

#upload {
    display: block;
    white-space:nowrap;
    padding: 10px 20px 10px 20px;
    
    width:200px;
    
    margin-top:-20px;
    margin-left: auto;
    margin-right: auto;
    
    background-color:#000;
    border: 2px #FFF solid;
    color:#FFF;
    font-size:1.2em;
    text-align:center;
    
}

#upload:hover {
    background-color:#FFF;
    border: 2px #FFF solid;
    color:#000;
    cursor:crosshair;
}


/*source file selector*/

/*dropdown menu*/
.selector {
    position:fixed;
    padding: 10px;
    
    background-color: #000;
    color: #FFF;
    border: 2px #FFF solid;
    
    font-size: 16px;
    text-align:center;
    cursor: pointer;
    margin-left:50%;
    margin-top:-40px;
    transform: translate(-50%);
}

/* selector hover and focus*/
.selector:hover, .selector:focus {
    background-color: #FFF;
    color:#000;
    border: 2px #FFF solid;
    cursor:crosshair;
}

/* selector container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* selector content */
.dropdown-content {
    display:none;
    position:fixed;
    white-space:nowrap;
    min-width: 160px;
    
    background-color:#292929;
    border: 2px #444 solid;
    
    font-size:1.2em;
    text-align:left;
    
    margin-left:50%;
    margin-top:20px;
    transform: translate(-50%);
}

/* selector links*/
.dropdown-content a {
    color: #FFF;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color:#444;
    color:#000;
    cursor:crosshair;
}

/*click event*/
.show {
    display:block;
}



/*pop-up informações*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 100px auto;
  padding: 20px;
  background: #000;
  border: 2px #FFF solid;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h1 {
  margin-top: 2px;
  color: #555;
    
  font-size:1.4em;
    
}

.popup .close {
  position: absolute;
  top: 8px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #555;
}

.popup .close:hover {
  color: #FFF;
  cursor:crosshair;
}

.popup .content {
  max-height: 30%;
  overflow: auto;
    
  color:#FFF;
  font-size:1.1em;
  line-height:1.6em;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}


/*mapa relacional*/

.graphic {
    display:block;
    width:100%;
    margin-top:10%;
    margin-left: auto;
    margin-right: auto;  
}

#websource {
    display:block;
    position:absolute;
    bottom:-91%;
    right:30px;
    
    color:#FFF;
    
    text-decoration:none;
    
    font-size:1em;
    text-align:right;
    font-style:italic;
}

#websource:hover {
    color:#444;
    cursor:crosshair;
}


