/* @import url("layout.css"); */

/* Layout */
body{
    /*min-width: 630px;*/
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    margin: 0;
    padding: 0;
/*     line-height: 1.5em; */
}

/*html{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
}*/

/* IE hack */ /* sera que isto faz alguma coisa? */
* html #left{
    left: 150px;
}

/* CENTER */

#center{
    position: relative;
/*     padding-left: 12.5vw; */
/*     padding-right: 240px; */
    float: left;
    width: 70vw;
    float: left;
    background: #ffffff;
    z-index: 0;
    overflow-y: auto;
}

#header{
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.2vw;
    background: #c0daea;
/*     background: #cbe7ff; */
    z-index: 2;
    box-shadow:0px 1px 4px 0px rgba(0,0,0,1);
}

#footer{
    position: relative;
    width: 100%;
/*     font-size: large; */
    background: #c0daea;
    z-index: 2;
    clear: both;
    padding: 0px;
    overflow-y: auto;
    box-shadow:0px -1px 4px 0px rgba(0,0,0,1);
}

/* Fix for the footer */
/** html body{
    overflow: hidden;
}*/

/** html #footer-wrapper{
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 10010px;
    margin-bottom: -10000px;
    background: #ffffff;
}*/

.column{
    float: left;
}

/* Left and right column */
.column.side{
    width: 10.5%;
}

/* Middle column */
.column.middle{
    width: 79%;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column.side, .column.middle {
    width: 100%;
  }
}

/* LEFT */

#left{
    position: fixed;
    display: block;
    font-size: 0.83vw;
    width: 11vw;
    height: 100vh;
    float: left;
    background: #e4e6ff;
    margin-top: 0px;
    padding: 0px;
    z-index: 1;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

nav li{
    position: relative;
    width: 100%;
}

nav li a{
    display: block;
    position: relative;
    color: #000000;
    padding: 5% 5% 5% 10%;
    text-decoration: none;
    width: 85%;
}

nav li a.active{
    background-color: #c0daea;
    color: #000000;
}

nav li a:hover:not(.active){
    background-color: #98a7ce;
    color: #000000;
}

nav li a, .dropbtn{
    display: inline-block;
    /*padding: 14px 16px;*/
}

nav li a:hover, .dropdown:hover .dropbtn{
    background-color: #98a7ce;
}

nav li.dropdown{
    display: inline-block;
}

.dropdown-content{
    display: none;
    position: absolute;
    background-color: #e4e6ff;
    min-width: 9vw;
    box-shadow: 0px 0.5vw 1vw 0px rgba(0,0,0,0.2);
    z-index: 15;
    top: 0px;
    left: 100%;
}

.dropdown-content a{
    color: black;
    padding: 5% 5% 5% 10%;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover{background-color: #98a7ce}

.dropdown:hover .dropdown-content{
    display: block;
}

.dropdown-submenu{
    position: relative;
}

.dropdown-submenu .dropdown-content{
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* RIGHT */

#right{
/*     position: fixed; */
/*     position: relative; */
    float: right;
/*     font-size: 0.8vw; */
    width: 11vw;
    height: 100vh;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 25px;
    background: #e7ebf2;
    margin-top: 0px;
    overflow-y: auto;
}

/* Aesthetics */
p{
    color: black;
}

button{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border: 1px solid #e5e9f0;
    border-radius: 0px;
    background: none;
    box-shadow: none;
    color: #000000;
    font-size: 16px;
    padding: 5px;
    text-decoration: none;
}

button:hover {
  background: #e0e4f0;
  cursor: pointer;
  text-decoration: none;
}

hr{ 
    display: block;
    margin-top: 2.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 5px;
}



/* The Modal (background) */
.modal{
    display: none; /* Hidden by default */
/*     display: block; */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content{
    position: relative;
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,1),0 6px 20px 0 rgba(0,0,0,1);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop{
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop{
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close{
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header{
    padding: 2px 16px;
    background-color: #98a7ce;
    color: black;
}

.modal-body{
    padding: 2px 16px;
    color: black;
}

.modal-footer{
    padding: 2px 16px;
    background-color: #98a7ce;
    color: black;
}


