::-webkit-scrollbar, -moz-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, -moz-scrollbar-track { -webkit-box-shadow: inset 2 2 6px rgba(0,0,0,0.3); border-radius: 1px; background-color: rgb(242, 242, 242); }
::-webkit-scrollbar-thumb, -moz-scrollbar-thumb { background-color: #2D61AB;}

html {
    margin: 0;
    padding: 0;
}

body {   
    font-size: 9pt;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

    font-family: sans-serif;
    position: relative;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    background-image: url('Images/img6.jpg');
}

body:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;

    background: #fff; 

    background-size: 200% 200%;
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
     display: block;
}

img {
    display: block;
}

pre {
    font-family: sans-serif;
    margin: 0;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/*header */

header {
    width: 100%;
    float: left;
    height: 150px;
    position: relative;
    background-color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(59, 73, 159, 0.51);
    box-shadow: 0px 3px 6px rgba(76, 76, 76, 0.35);
    z-index: 50;
}

header:before {  
    background-size: 100% auto;
    background-position: left top;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo {
    float: left;
}

.logo img {
    height: 100px;
    margin: 10px 0 0 0;
}

.missao {
    float: left;
    width: calc(100% - 280px);
    padding: 38px 0 0 35px;
    padding: 100px;
}
header h1 {
    margin: 45px 0 0 50px;
    float: left;
    letter-spacing: 4px;
    color: rgb(53, 125, 194);
    font-size: 23pt;
}

.missao span {
    color: #360F8E;
    font-size: 11pt;
    letter-spacing: 1pt;
    /*font-weight: 600;*/
    font-family: monospace;
}

#menu_box {
    width: 100%;
    height: 40px;
    float: left;
    clear: both;
}

ul#menu {
    width: 501px;
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
    border-top: 1px solid rgba(148, 155, 200, 0.29);
}

ul#menu li {
    float: left;
    width: calc(100% / 3);
    display: block;
    cursor: pointer;
    position: relative;
}

.li_1:before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #2D61AB;
    width: 100%;
    height: 0%;
    transition: height 0.3s ease;
    -webkit-transition: height 0.3s ease;
}

.li_1:hover:before {
    height: 100%;
    transform-origin: bottom;
    bottom: 0;    
}

ul#menu li span {
    color: #2D61AB;
    letter-spacing: 1.2pt;
    font-size: 10.5pt;
    line-height: 30pt;
    text-align: center;
    width: 100%;
    float: left;
    z-index: 5;
    position: relative;
    font-family: monospace;
}

ul#menu li:hover span {
    color: white;
}

ul#menu ul {
    background-color: transparent;
    width: auto;
    position: absolute;
    z-index: 100;
    height: 0;
    overflow: hidden;
    top: 100%;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
}

ul#menu ul li {
    background-color: rgb(64, 111, 179);
    width: 100%;
    display: block;
    box-shadow: 0px 7px 6px -6px #555;
}

ul#menu li:hover ul {
    height: 400px;
    -webkit-transition: height 0.3s ease-in;
    -moz-transition: height 0.3s ease-in;
    -o-transition: height 0.3s ease-in;
    -ms-transition: height 0.3s ease-in;
    transition: height 0.3s ease-in;
}

ul#menu li ul li span {
    color: #fff;
    letter-spacing: 0.5pt;
    font-size: 9.5pt;
    line-height: 30pt;
    text-align: left;
    width: 100%;
    float: left;
    z-index: 5;
    position: relative;
    font-family: monospace;
    padding: 0 15px;
}

ul#menu li ul li span:hover {
    background-color: #2D61AB;
}

#main {
    float: left;
    width: 900px;
    position: relative;
    margin-left: calc((100% - 900px) / 2);
    box-shadow: 2px 2px 6px rgba(80, 80, 80, 0.38);
    background-color: rgba(255,255,255,0.5);
}

#news, #dest {
    float: left;
    width: calc(50% - 1px);
    background-color: rgba(255, 255, 255, 0.9);
    border-right: 1px solid rgba(0, 0, 0, 0.29);
    z-index: 5;
    position: relative;
    overflow: auto;
    height: calc(100vh - 230px);
}


.title {
    font-size: 13pt;
    color: #FFF;
    letter-spacing: 1.5pt;
    padding: 10px 0px;
    float: left;
    z-index: 5;
    text-align: center;
    width: 100%;
    background-color: #19B1E5;
    font-family: monospace;
}

table.news_tab {
    padding: 10px 20px;
}

table.news_tab tr {
    margin-bottom: 20px;
    float: left;
    border-bottom: 1px solid rgba(59,21,145,0.2);
    padding-bottom: 20px;
    width: 100%;
}

table.news_tab span {
    float: left;
    clear: both;
    font-size: 10pt;
    color: #555;
    line-height: 14pt;
}

table.news_tab td a span {
    font-weight: bold;
    font-size: 12pt;
    display: block;
    padding: 5px 0;
    letter-spacing: 0.5pt;
    font-family: monospace;
    color: #3567B0;
}




/* SOBRE + CONTACTOS */ 


#main2 {
    float: left;
    width: 1000px;
    position: relative;
    margin-left: calc((100% - 1000px) / 2);
    box-shadow: 2px 2px 6px rgba(80, 80, 80, 0.38);
}

.contents {
    float: left;
    width: calc(100% - 200px);
    height: calc(100vh - 213px);
    background-color: rgba(255,255,255,0.9);
    overflow: auto;
    padding: 30px 100px;
}

.cpl-images img {
    margin: auto;
}

.cpl-title pre {
    font-size: 13pt;
    color: #FFF;
    letter-spacing: 1.5pt;
    padding: 10px 0px;
    float: left;
    z-index: 5;
    text-align: center;
    width: 100%;
    background-color: rgb(86, 127, 186);
    font-family: monospace;
    font-weight: normal;
    margin-bottom: 20px;
}

.cpl-content pre, 
.cpl-title-content pre {
    float: left;
    clear: both;
    font-size: 10pt;
    color: #555;
    line-height: 16pt;
    letter-spacing: 0.5pt;
}

.cpl-content pre:first-child {
    margin-top: 30px;
}

.cpl-content pre:last-child {
    margin-bottom: 50px;
}

ul.cpl-ul {
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

ul.cpl-ul li {
    float: left;
    clear: both;
    font-size: 10pt;
    color: #555;
    line-height: 18pt;
    letter-spacing: 0.5pt;
    font-family: sans-serif;
}

.c_box {
    margin: 20px 0;
    float: left;
    clear: both;
}

.c_box pre:first-child {
    font-weight: bold;
    font-size: 12pt;
    font-family: monospace;
    color: #2D61AB;
}

.c_box pre {
    float: left;
    clear: both;
    font-size: 10pt;
    color: #555;
    line-height: 16pt;
    letter-spacing: 0.5pt;
}

#main3 {
    float: left;
    width: 700px;
    position: relative;
    margin-left: calc((100% - 700px) / 2);
    box-shadow: 2px 2px 6px rgba(80, 80, 80, 0.38);
    margin-bottom: 20px;
}

#main3 .contents {
    float: left;
    width: calc(100% - 200px);
    height: calc(100vh - 233px);
    background-color: rgba(255,255,255,0.9);
    overflow: auto;
    padding: 30px 100px;
}