@import url(http://fonts.googleapis.com/css?family=Ubuntu);

*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

*, html, body, div, span, h1, h2, h3, h4, h5, h6, p, img, pre {
padding: 0;
margin: 0;
border:0;
}

html {
background: #000000 url(../images/bg_main_intimacy.jpg) no-repeat center center fixed;
/*-webkit-background-size: 120%;
-moz-background-size: 120%;
-o-background-size: 120%;
background-size: 120%;*/
-webkit-background-size: 100%;
-moz-background-size: 100%;
-o-background-size: 100%;
background-size: 100%;
}

body {
font-family: 'Ubuntu', Arial, sans-serif;
font-size:16px;
color: #333;
/*background: #000000 url(../images/bg_main_xxco.jpg) repeat;
background-size: cover;*/
}

p, #content ul, pre, form, table, pre {
text-align:justify;
font-size:1.5em;
margin:15px 0;
line-height:1.7em;
}

pre {
font-family: 'Ubuntu', Arial, sans-serif;
color: #333;
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

img {
max-width:100%;
height:auto;
}

#content ul {
list-style-type:square;
margin-left:50px;
}

a {
color: #db020a;
text-shadow: 1px 1px 0px rgba(252, 229, 3, 0.5);
text-decoration: none;
}

a:hover {
color: #47a3da;
}

h1 {
color: #db020a;

font-size: 4em;
text-shadow: 2px 2px 1px rgba(252, 229, 3, 0.7);

}

h2 {
font-size: 2em;
}

h3 {
font-size: 1.5em;
}

#top {
/*position:absolute;*/
}

#header {
/*background: #000000 url(../images/bg_main_xxco.jpg) repeat;*/
position:absolute;
top:0;
left:0;
z-index:2;
width:100%;
}

#header .header-info {
width:80%;
margin:0 auto;
margin-top:25px;
position:relative;
}

#logo-top {
width:100px;
height:97px;
background: url(../images/logo_top.png) no-repeat;
display:inline-block;
}

#header .header-title {
/*margin-top:80px;*/
position:relative;
}

#header .header-title h1 {
/*font-size:4.2em;*/
font-size:2.8em;
color:#000;
text-shadow: 2px 3px 2px rgba(255, 255, 255, 0.9);

display:inline-block;
text-align:left;
background:url(../images/bg-title.png) repeat;
margin-top:20px;
line-height:1.4em;

position:relative;

/*padding-left:10%;*/
margin-left:10%;
padding:0 10px;
padding-right:10px;
}

#header .header-title .header-title-a {
background:url(../images/bg-title_b.png) repeat;
/*display:block;*/
}

#header .header-title h1:first-child {
margin-top:0px;
}

#header .header-title .header-title-b {
/*color:#05683A;
font-weight:normal;*/

/*color:#05683A;*/

font-weight:normal;

/*color:#db020a;*/

/*text-shadow: 2px 3px 2px rgba(255, 255, 255, 1);*/
text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.9);

color:#fff;
text-transform: uppercase;
/*text-shadow:none;*/
}

#right-head {
position:absolute;
top:15px;
right:10%;
height:97px;
vertical-align: text-top;
}

#right-head img {
vertical-align: top;
}

#header h2 {
font-size:1.3em;
font-weight:normal;
letter-spacing:0.1px;
color:#fff;

background:#231F20;
display:inline-block;
margin-bottom:5px;
}

#header_inner {
width:85%;
height:100%;
margin:0 auto;
padding:25px 0;
position:relative;
}

#header .header-footer {
position:absolute;
bottom:50px;
right:10%;
color:#000000;
}

#header .header-footer a {
background:url(../images/bg-branco.png) repeat;
color:#000000;
}

#header .header-footer a:hover {
background:url(../images/bg-title_b.png) repeat;
}

.img-change {
display:blocK;
margin-bottom:10px;
text-align:right;
color:#ffffff;
text-shadow: 3px 2px 1px rgba(0, 0, 0, 1);
}

.img-change a {
display:inline-block;
border:1px solid #333;
padding:2px 0px;
width:30px;
text-align:center;
}

#header .header-footer .img-change a.active-bg-changer {
background:url(../images/bg-title_b.png) repeat;
}

#menu {
background:#000000;

width:100%;
border-bottom: 1px solid black;
box-shadow: inset 0px -1px 1px -1px #888888;
position:absolute;
bottom:0px;
}

.fixed-menu {
position:fixed !important;
top:0px;
bottom:auto !important;
z-index:5;
}

#menu ul, #menu nav {
list-style-type:none;
display:inline-block;
}

#menu ul li {
display:inline;
}

#menu ul li a {

color: #ffffff;
font-size:1.5em;
display:inline-block;
margin:2px 10px;

-o-transition:0.2s;
-ms-transition:0.2s;
-moz-transition:0.2s;
-webkit-transition:0.2s;
transition:0.2s;
}

#menu ul li a:hover {
/*color:#33B379;*/
color:transparent;
text-shadow: 0 0 5px rgba(252, 229, 3, 1);
}

#menu ul li a:before {
content:"▸";
}

#menu ul li a:first-child {
margin-left:0px;
}

#menu-inner {
width:80%;
margin:0 auto;
}

#flags {
display:inline-block;
float:right;
margin-top:6px;
}

#flags a:hover {
opacity:0.5;
}

#body {
position:relative;
z-index:3;
/*background:#888477;*/
/*background-color:rgba(136, 132, 119, 0.3);*/
/*background-color:rgba(0, 0, 0, 0.1);*/
background-color:rgba(136, 132, 119, 0);


color:#ffffff;
}

.section {
text-shadow: 1px 0px 0px rgba(0, 0, 0, 0.8);
background-color:rgba(57, 51, 49, 0.8);
}

.section-two {
/*background:#fff;*/
background-color:rgba(255, 255, 255, 0.8);
color:#333;
/*text-shadow: 1px 0px 0px rgba(0, 0, 0, 0.8);*/
text-shadow:none;
}

p.extra_info {
display:block;
text-align:center;
}

p.extra_info a {
display:inline-block;
margin-bottom:10px;
background: #EAB974;
color:#fff;
padding:5px 10px;
border: 1px solid #8ec1da;
background-color: #ddeef6;
border-radius: 4px;
box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-o-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-webkit-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-moz-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
color: #3985a8;
text-shadow: 0 1px #fff;
padding: 5px 30px;
}

.go_top {
text-align:right;
}

#content {
width:80%;
margin:0 auto;
padding:75px 0 50px 0;
}

#content h1 {
margin-top:20px;
margin-bottom:20px;
}

.img-title a:hover {position:relative;}

.img-title a[title]:hover:after {
content: attr(title);
padding: 4px 8px;
color: #333;
position: absolute;
left: 0;
top: 30px;
white-space: nowrap;
z-index: 3;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0px 0px 4px #222;
-webkit-box-shadow: 0px 0px 4px #222;
box-shadow: 0px 0px 4px #222;
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
}

#publications li, #events li {
text-align:left;
margin-top:15px;
}

#footer {
background:#000000;
color:#fff;
text-align:center;
padding:15px 0;
border-top: 1px solid black;
box-shadow: inset 0px -1px 1px -1px #888888;
}

form {
font-weight:bold;
}

input, textarea, select {
font-family:'Lato',Arial;
font-weight:300;
font-size:0.7em;
padding:5px 5px;
width:100%;

display:inline-block;
background-color: transparent;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
box-shadow: inset 0 1px 3px #fff, 0 0 3px #8ec1da;
-o-box-shadow: inset 0 1px 3px #fff, 0 0 3px #8ec1da;
-webkit-box-shadow: inset 0 1px 3px #fff, 0 0 3px #8ec1da;
-moz-box-shadow: inset 0 1px 3px #fff, 0 0 3px #8ec1da;
-webkit-transition: border linear .2s,box-shadow linear .2s;
-moz-transition: border linear .2s,box-shadow linear .2s;
-ms-transition: border linear .2s,box-shadow linear .2s;
-o-transition: border linear .2s,box-shadow linear .2s;
transition: border linear .2s,box-shadow linear .2s;
color: #ffffff;
vertical-align: middle;

/*margin:5px;
margin-left:15px;*/
}

select option {
color:#000000;
}

select option:first-child {
color:#ffffff;
}

input {width:80%;}

input[type="checkbox"] {
display:inline;
height: auto;
width: auto;
-ms-transform: scale(2); /* IE */
-moz-transform: scale(2); /* FF */
-webkit-transform: scale(2); /* Safari and Chrome */
-o-transform: scale(2); /* Opera */
padding:10px;
}

form table {
width:90%;
table-layout:auto;
}

form table td:first-child {
width:25%;
}

/*coloca os td dos comentários a zero width, para não ficar espaço em branco, pois não precisamos deles*/
form table tr td.w2p_fc {
display:none;
}

form table td {
padding:3px;
vertical-align:top;
}

form table td.w2p_fw {
padding-left:30px;
}

textarea, .textareaClone {
width:100% !important;
height:8em;
word-wrap:break-word !important;
white-space:pre-wrap !important;
}

.textarea-counter td {
padding:0;
margin:0;
}

.textarea-counter div span.counter-text {
font-size:14px;
color:#db020a;
background:#D9C825;
}

input[type="submit"] {
width:auto;
float:right;
margin-top:20px;
font-weight:400;

border: 1px solid #8ec1da;
background-color: #ddeef6;
border-radius: 4px;
box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-o-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-webkit-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
-moz-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #cbe6f2, 0 0 3px #8ec1da;
color: #3985a8;
text-shadow: 0 1px #fff;
padding: 5px 30px;
}

input[type="submit"]:hover {
background:#CBE6F2;
cursor: hand;
cursor: pointer;
}

div.error {
color:red;
font-size:0.5em;
margin-left:15px;
}

div.error::before {
content: "↑ ";
}

form table td {text-align:left;}

@media (min-width: 1367px) {
    #header {
        /*background: #000000 url(../images/1366_plus) repeat;*/
    }
}

@media (max-width: 1280px) {
    body {
        font-size:16px;
    }
    #header {
        /*background: #000000 url(../images/1366.jpg) no-repeat;*/
    }
    #header .header-title h1 {
        font-size:2.8em;
    }
    #flags {
        margin-top:4px;
    }
    #menu ul li a {
        font-size:1.39em;
    }
}

@media (max-width: 1100px) {
    #menu ul li a {
        font-size:1.37em;
        margin:5px 7px;
    }
}
@media (max-width: 1024px) {
    body {
        font-size:15px;
    }
    #header .header-title h1 {

    }
    #header {
       /*background: #000000 url(../images/1024.jpg) no-repeat;*/
    }
    #menu ul li a {
        font-size:1.29em;
        margin:4px 7px;
    }
    #flags {
        margin-top:4px;
    }
}

@media (max-width: 910px) {
    body {
        font-size:14px;
    }
    #menu ul li a {
        font-size:1.15em;
    }
}

@media (max-width: 800px) {
    body {
        font-size:14px;
    }
    #header {
        /*background: #000000 url(../images/800.jpg) no-repeat;*/
    }
    #header .header-title h1 {
        font-size:2.2em;
    }
    #menu ul li a {
        margin:7px 10px;
        font-size:1em;
    }
    #flags {
        margin-top:4px;
    }
    #content {
        padding:20px 0 50px 0;
    }
}

@media (max-width: 740px) {
    #menu ul li a {
        margin:7px 10px;
        font-size:0.8em;
    }
    #right-head {
        display:none;
    }
}

@media (max-width: 640px) {
    body {
        font-size:13px;
    }
    #right-head {
        display:none;
    }
    #header {
        /*background: #000000 url(../images/640.jpg) no-repeat;*/
    }
    #header .header-title h1 {
        font-size:2.1em;
    }
    #header h2 {
        font-size:1em;
    }
    #menu ul li a {
        margin:7px 3px;
        font-size:0.9em;
    }
    #flags {
        margin-top:4px;
    }
    #content {
        padding:20px 0 50px 0;
    }
}

@media (max-width: 600px) {
    body {
        font-size:12px;
    }

    p, #content ul, pre {
        text-align:left;
    }
    .img-title a {
        display:block;
        width:100%;
    }

    #header {
    position:relative;
    padding-bottom:50px;
    height:auto !important;
    }
    #header .header-title {
        margin-bottom:25px;
    }
    #body {
    margin-top:0px !important;
    z-index:auto;
    }
    #right-head {
    display:none;
    }
    .fixed-menu {
    visibility:hidden;
    }
    #menu {
    background:none;
    position:relative;
    box-shadow: none;
    border-bottom:none;
    z-index:auto;
    }
    #menu ul, #menu nav, #menu ul li, #menu ul li a {
        display:block;
        width:100%;
    }
    #menu ul li a {
        margin:7px 2px;
        font-size:1.5em;
        background:#000000;
        border:1px solid gray;
        padding:2px 10px;
    }

    #header div.header-footer {
        display:block;
        width:100%;
        text-align:left;
        position:static;
        right:auto;
        bottom:auto;
        padding-left:15px;
    }

    #header div.header-footer .img-change {
        text-align:left;
    }

    form[action='#registration'] {
        font-size:0.9em;
    }
    #header .header-title {
        margin-top:70px;
    }
}

@media (max-height: 490px) {
    #header .header-title {
        margin-top:70px;
    }
}

@media (max-height: 400px) {
    #header .header-title {
        margin-top:50px;
    }
}

@media (max-height: 350px) {
    #header .header-title {
        margin-top:20px;
    }
}
