body{
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    font-size: 1.2rem;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media (max-width: 1000px) {
    .container{
        width: 100% !important;
    }
}
@media (max-width: 400px) {
    .container{
        padding: 0 !important;
    }
}


/* @group menu top */

header{
    background-color: #fff;
}
.top-bar{
    height: 6rem;
}
.top-bar .container{
    padding-right: 0;
    height: 6rem;
}
@media (max-width: 1000px) {
    .top-bar{
        height: auto;
    }
    .top-bar .container{
        padding-right: 0;
        height: auto;
        width: 100%;
    }
}
.menu-top{
    height: 6rem;
    line-height: 6rem;
}
.menu-top a{
    color: #005669;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 1rem;
}

.menu-mobile-btn{  
    width: 100%;
    height: 5rem;
    position: absolute;
    right: 0;
    top: 0;
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #f7f7f7 40%, #dddddd 97%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,#f7f7f7), color-stop(97%,#dddddd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* IE10+ */
    background: linear-gradient(to bottom, #f7f7f7 40%,#dddddd 97%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd',GradientType=0 );
    display: none;
}
.menu-mobile-btn:before,
.menu-mobile-btn:after{
    content: " ";
    box-sizing: border-box;
    width: 2rem;
    height: 1rem;
    display: block;
    position: absolute;
    right: 2rem;
}
.menu-mobile-btn:before{
    border-top: 3px solid #005669;
    border-bottom: 3px solid #005669;
    top: 1.7rem;
}
.menu-mobile-btn:after{
    border-bottom: 3px solid #005669;
    top: 2.4rem;
}

.menu-mobile-btn.close:before{
    border-top: 3px solid #12c2e9;
    border-bottom: 3px solid #12c2e9;
    top: 1.7rem;
}
.menu-mobile-btn.close:after{
    border-bottom: 3px solid #12c2e9;
    top: 2.4rem;
}

#searchMobile,
#mainMenuMobile{
    top: 0;
    width: 5rem;
    height: 10rem;
    z-index: 1000;
    background: none;
}
#mainMenuMobile{
    right: 0;
}
#searchMobile{
    left: 0;
}
#searchMobile:before,
#searchMobile:after,
#mainMenuMobile:before,
#mainMenuMobile:after{
    border-color: #fff;
}
#mainMenuMobile.close:before,
#mainMenuMobile.close:after{
    border-color: #12c2e9;
}
#mainMenuMobile:before{
    top: 4rem;
}
#mainMenuMobile:after{
    top: 4.7rem;
}

#searchMobile:before{
    height: 2rem;
    border-radius: 1rem;
    border: 3px solid #fff;
    top: 3.6rem;
    left: 1.5rem;
}
#searchMobile:after{
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    left: 3.2rem;
    width: 1rem;
    top: 4.9rem;
}

@media (max-width: 1000px) {
    .menu-mobile-btn{
        display: block;
    }
    .top-bar,
    .eight.columns.menu-top{
        height: auto;
        width: 100%;
    }
    .top-bar{
        margin-top: 5rem;
    }
    .menu-top{
        display: none;
    }
    .menu-top a{
        display: block;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #ccc;
        line-height: 4rem;
        background: #dddddd; /* Old browsers */
        background: -moz-linear-gradient(top, #dddddd 5%, #f7f7f7 97%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#dddddd), color-stop(97%,#f7f7f7)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #dddddd 5%,#f7f7f7 97%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #dddddd 5%,#f7f7f7 97%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #dddddd 5%,#f7f7f7 97%); /* IE10+ */
        background: linear-gradient(to bottom, #dddddd 5%,#f7f7f7 97%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#f7f7f7',GradientType=0 );
        padding: 0 20px;
        position: relative;
    }
    .menu-top a:after{
        content: "►";
        float: right;
    }
}

/* @end */

/* @group search-box */

.search-box{
    text-align: right;
    height: 6rem;
    margin-bottom: 0;
}
.search-box input{
    margin: 1.4rem 0 0 0;
    padding: 0;
    height: auto;
    line-height: 1rem;
    border: none;
    height: 3rem;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: bottom;
}
.search-box input[type=text]{
    background-position: left;
    border-radius: 2rem;
    box-shadow: inset 0px 3px 5px #DDD;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 80%;
}
.search-box input[type=submit], .search-box input[type=button]{
    width: 3rem;
    height: 3rem;
    border-radius: 1.5rem;
    border-top: 1px solid #fff;
    box-shadow: 0px 2px 5px #A7A7A7;
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top, #f7f7f7 40%, #dddddd 97%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,#f7f7f7), color-stop(97%,#dddddd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f7f7f7 40%,#dddddd 97%); /* IE10+ */
    background: linear-gradient(to bottom, #f7f7f7 40%,#dddddd 97%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd',GradientType=0 );
    color: #B61200;
    margin-left: 1rem;
}

@media (max-width: 1000px) {
    .four.columns.search-box{
        clear: left;
        width: 100%;
    }
    .search-box{
        text-align: center;
        margin: 0;
        height: 5rem;
        padding: 0 20px;
        background-color: rgba(181, 17, 19, 1);
        display: none;
    }
    .search-box input{
        margin: 1rem 0 0 0;
    }
    .search-box input[type=submit]{
        box-shadow: 0px 2px 5px #333;
    }
}

/* @end */

/* @group menu main */
.redbar{
    width: 100%;
    min-height: 10rem;
    position: absolute;
    left: 0;
    top: 6rem;
    z-index: 99;
}
.redbar .container{
    position: relative;
}
.bg-red{
    background-color: #ad0700;
    opacity: 0.9;
}
@media (max-width: 1000px) {
    .redbar{
        min-height: auto;
        position: relative;
        top: 0;
    }
    .bg-red{
        background-color: #ad0700;
        opacity: 0.9;
    }
}
.menu-main,
.menu-main ul{
    list-style-type: none;
    display: table;
    width: 100%;
    height: 10rem;
    margin: 0;
}
.menu-main{
    position: absolute;
    height: 30rem;
    left: 0;
    top: 0;
    z-index: 999999999;
}
.menu-main li{
    position: relative;
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    padding: 1.5rem 1rem 1.5rem 0;
    margin-bottom: 0;
}
.menu-main li:hover > ul{
    display: block;
}
.menu-main a{
    vertical-align: middle;
    color: #fff;
    text-decoration: none;
    font-size: 1.9rem;
    line-height: 1.9rem;
}
.menu-main > ul > li:hover > a,
.menu-top a:hover,
.menu-main a:hover,
.menu-main .selected > a,
.menu-main .active > a{
    color: #12c2e9;
}
.menu-main .logo{
    text-align: left; 
    padding-left: 3rem;
}
@media (max-width: 1000px) {
    .menu-main,
    .menu-main ul{
        position: relative;
        height: auto;
        display: block;
        background-color: rgba(181, 17, 19, 1);
        width: 100%;
    }
    .menu-main li{
        display: block;
        width: 100%;
        text-align: left;
        padding: 0;
        margin: 0;
        border-top: 2px ridge #B44244;
    }
    .menu-main a{
        display: block;
        position: relative;
        padding: 1rem;
    }
    .menu-item a:after{
        content: "▼";
        text-align: center;
        display: block;
        border-radius: 1.2rem;
        font-size: 1.3rem;
        right: 2.4rem;
        top: 1.2rem;
        position: absolute;
    }
    .menu-item ul a:after{
        content: "►";
        text-align: center;
        position: absolute;
        right: 2.4rem;
        top: 1.4rem;
        line-height: 1.40rem;
        font-size: 1rem;
    }
    .menu-main li.logo{
        text-align: center;
        padding-left: 0;
        border-top: none;
        height: 10rem;
    }
    .menu-main li:hover > ul{
        display: none;
    }
    .menu-main .menu-item{
        cursor: pointer;
        display: none;
    }
}                                                                                                                                          
.menu-main ul ul{
    position: absolute;
    left: 0;
    top: 7rem;
    z-index: 99999;
    display: none;
}

.menu-main ul ul li{
    display: block;
    color: #fff;
    text-align: right;
    padding: 0 1rem 0 0;
    margin: 0;
}

@media (max-width: 1000px) {
    .menu-main ul ul{
        position: relative;
        display: block;
        top: 0;
        display: none;
    }
    .menu-main ul ul li{
        text-align: left;
        opacity: 1;
        padding: 0;
    }
}

.submenu_anim{
    -webkit-animation: menu_anim .5s ease-in-out 0s 1 both;
    -moz-animation: menu_anim .5s ease-in-out 0s 1 both;
    animation: menu_anim .5s ease-in-out 0s 1 both;
}
@media (max-width: 1000px) {
    .submenu_anim{
        -webkit-animation: none;
        -moz-animation: none;
        animation: none;
    }
}

.menu-main ul ul li a{
    font-size: 1.3rem;
}
@media (max-width: 1000px) {

}
@-moz-keyframes menu_anim {
    0%{
        margin-top: -1rem;
        opacity: 0;
    }
    70%{
        margin-top: 1rem;
    }
    100%{
        margin-top: 0;
        opacity: 1;
    }
}
@-webkit-keyframes menu_anim {
    0%{
        margin-top: -2rem;
        opacity: 0;
    }
    70%{
        margin-top: 1rem;
    }
    100%{
        margin-top: 0;
        opacity: 1;
    }
}
@keyframes menu_anim {
    0%{
        margin-top: -1rem;
        opacity: 0;
    }
    70%{
        margin-top: 2rem;
    }
    100%{
        margin-top: 0;
        opacity: 1;
    }
}

.menu-main ul ul li:nth-of-type(1){ -webkit-animation-delay: .0s; -moz-animation-delay: .0s; animation-delay: .0s;}
.menu-main ul ul li:nth-of-type(2){ -webkit-animation-delay: .1s; -moz-animation-delay: .1s; animation-delay: .1s;}
.menu-main ul ul li:nth-of-type(3){ -webkit-animation-delay: .2s; -moz-animation-delay: .2s; animation-delay: .2s;}
.menu-main ul ul li:nth-of-type(4){ -webkit-animation-delay: .3s; -moz-animation-delay: .3s; animation-delay: .3s;}
.menu-main ul ul li:nth-of-type(5){ -webkit-animation-delay: .4s; -moz-animation-delay: .4s; animation-delay: .4s;}
.menu-main ul ul li:nth-of-type(6){ -webkit-animation-delay: .5s; -moz-animation-delay: .5s; animation-delay: .5s;}

.logo img{
    -webkit-transition: all .5s ease-in-out 0s;
    -moz-transition: all .5s ease-in-out 0s;
    transition: all .5s ease-in-out 0s;
}
.logo:hover img{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
}
@media (max-width: 1000px) {
    .logo img{
        margin-top: 1.5rem;
        width: 20rem;
    }
    .logo:hover img{
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }
}
/* @end */

/* @group highlight img */

.highlight img{
    width: 99.9999999%;
}
.highlight.lower img{
    margin-top: 10rem;
}
@media (max-width: 1000px) {
    .highlight img{
        margin-top: 0;
    }
    .highlight.lower img{
        margin-top: 0;
    }
}

/* @end */

/* @group footer */

footer .container{
    border-top: 1px solid #E5E5E5;
}
footer nav{
    margin: 1.7rem 0 1.5rem;
}
footer a{
    color: #727272;
    font-size: 1.4rem;
    padding: 1rem;
    text-decoration: none;
}
footer p{
    font-size: 1rem;
}
@media (max-width: 1000px) {
    footer{
        padding:0 2rem
    }
}

/* @end */

/* @group featured */

.featured{
    margin-bottom: 1rem;
    padding: .75rem 2rem;
    border: 1px solid #E5E5E5;
    margin-top: -5.8rem;
    z-index: 10;
    position: relative;
    background-color: #fff;
    margin-left: 1rem;
}
.featured:nth-of-type(1){
    margin-left: 1rem;
}
.featured h2{
    line-height: 1.7rem;
    min-height: 5.4rem;
    margin: 0 0 1rem 0;
}
.featured p{
    margin-bottom: 1rem;
}
.featured img{
    width: 100%;
}
.featured h2 a{
    font-size: 1.9rem;
    font-weight: bold;
    text-decoration: none;
}
.featured a{
    color: #0F8BA7;
}
@media (max-width:767px){
    .featured:nth-of-type(1){
        margin-left: 0;
    }
}
@media (max-width:768px){
    .featured:nth-of-type(2){
        margin-left: 1rem;
    }
}
@media (max-width: 1000px) {
    .featured{
        width: 100%;
        margin: 1rem 0 !important;
    }
    .row .two-thirds.column{
        padding: 0 2rem;
    }
}
/* @end */

/* @group bordered-box */

.bordered-box{
    border: 1px solid #E5E5E5;
    border-radius: 3px;
    padding: 2rem 2rem 0 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .bordered-box{
        width: 94.5%;
    }
}
@media (max-width: 1000px) {
    .bordered-box{
        margin-right: 1rem;
    }
}
.bordered-box h3{
    font-size: 1.4rem;
    letter-spacing: 0;
    color: #00C1E7;
    font-weight: bold;
}
@media (max-width: 1000px) {

}

/* @end */

/* @group banner */

.banner{
    padding: 1rem;
}
.banner img{
    width: 100%;
}

/* @end */

/* @group main content */

.external-link{
    background-image: url(../images/externallink.gif);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 1.3rem;
}
.download{
    text-decoration: underline;
    background-image: url(../images/pdficon.gif);
    background-repeat: no-repeat;
    background-position: 0 0;
    padding-left: 1.6rem;
}

/* @group service menu */

.servicemenu{
    text-align: right;
    font-size: 1.1rem;
    color: #638E97;
    padding-bottom: 10px;
    padding-top: .5rem;
    padding-right: 0;
    margin-top: .5rem;
}
.servicemenu a{
    color: #638E97;
    text-decoration: none;
    padding-left: 2rem;
    background-image: url(../images/servicenav.gif);
    background-repeat: no-repeat;
    background-position: left center;
}
@media (max-width:1000px){
    .servicemenu{
        padding: 0 2rem;
    }
}

/* @end */

/*.main-content*/ h1{
    font-size: 2.5rem;
    color: #10C2E8;
    padding-bottom: 0;
}

.bordered-box h2,
.main-content h2{
    color:#0F8BA7;
    font-size: 1.5rem;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

@media (max-width:1000px){
    .main-content{
        padding:0 2rem;
    }
}

/* @group side nav */

.sidenav {
    margin: 30px 0 0 30px;
}

.sidenav li{
    list-style-type: none;
    margin-top: 1rem;
}
.sidenav a{
    color: #638E97;
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: bold;
}
.sidenav a:hover,
.sidenav .selected
{
    color: #12C2EB;
}
@media (max-width:1000px){
    .sidenav{
        display: none;
    }
}
/* @end */

/* @end */

.right-col{
    margin-top: 2.5rem;
}
@media (max-width:768px){
    .column{
        margin-left: 0;
    }
}
@media (max-width:1000px){
    .right-col{
        margin-left: 2.4%;
    }
}

.cookie_consent{
    background-color: beige;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    padding: 2rem;
    color: #000;
}
.cookie_consent a{
    font-weight: bold;
}

/* formulario */

.formulario input {
    width: 100%;
}
.formulario select {
    width: 100%;
}
#timeline{
    width: 100%;
}

/* aviso link externo */

.opacity {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
}

.aviso_link_exterior {
    border: 1px solid #333;
    background: #FFF;
    width: 280px;
    padding: 20px;
    position: fixed;
    top: 30%;
    left: 50%;
    z-index: 1000;
    margin-left: -150px;
    margin-top: -100px;
    display: none;
}

.botao_cancelar {
    border: 1px solid #333;
    background: #666;
    width: 100px;
    padding: 10px;
    float: left;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    cursor: pointer;
}

.botao_continuar {
    border: 1px solid #333;
    background: #eee;
    width: 100px;
    padding: 10px;
    margin-left: 30px;
    float: left;
    text-align: center;
    color: #333;
    font-weight: bold;
    cursor: pointer;
}


/* Formatação de Listas */

ul.list-format, ul.list-format li
{
    list-style: none;
}


@media (max-width:1400px){
    #timeline_container{
        margin-left: 15%;
    }
}
@media (max-width:1156px){
    #timeline_container{
        margin-left: 0;
    }
}
@media (max-width:1024px){
    #timeline_container{
        margin-left: 3%;
    }
}
@media (max-width:910px){
    #timeline_container{
        margin-left: 5%;
    }
}
@media (max-width:850px){
    #midcontainer_timeline{
        margin-left: -2rem !important;
    }
}
@media (max-width:820px){
    #midcontainer_timeline{
        margin-left: -3rem !important;
    }
}
@media (max-width:800px){
    #midcontainer_timeline{
        margin-left: -5rem !important;
    }
}
@media (max-width:767px){
    #midcontainer_timeline{
        display: none;
    }
}
@media only screen 
    and (min-device-width : 768px) 
    and (max-device-width : 1024px) 
    and (orientation : landscape) {
        body{
            overflow: hidden;
        }
        #midcontainer_timeline{
            margin-left: -6rem !important;
        }
}

/* Tabela Cookies */

table.cookies {
    width: 100%;
    table-layout: fixed;
}

table.cookies tr td {
    vertical-align: top;
    width: 20%;
    padding: 10px;

    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    font-size: 11px;
}

table.cookies tr:nth-child(1) td {
    background: #0F8BA7;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

table.cookies tr:nth-child(2) td, table.cookies tr:nth-child(5) td {
    background: #f8f8f8;
}

table.cookies tr td:nth-child(2) {
    text-align: center;
}

