/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,700);

html,
button,
input,
select,
textarea {
    color: #222;
}

html, body{
    margin: 0px;
    height: 100%;
}

.positionsdivsIG .registros{
    text-align: center;
    display: none;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
    line-height: 1.4;

}

.title {
    width: 130px;
    height: 170px;
    background-image: url('../../img/logoG_en.png') !important;
    background-repeat: no-repeat;
    margin: 20px auto;
}

.titledepois{
    width: 139px;
    height: 110px;
    margin: 0 auto;
    background-image: url('../../img/logoP_en.png') !important;
    background-repeat: no-repeat;
    background-position: 44% 48%;
}

.topo{
    width: 100%;
    height: 10px;
}

.bandireita{
    float: right;
    margin: 0 5px;
}

.bandireita img{
    border: none;
}

.bemvindos{
    display: none;
}

.header-container{
    padding-top: 15px;
    height: 214px;
    background-color: black;
    width: 100%;
    /* height: 131px; */    position: fixed;    top: 0;    left: 0;    z-index: 100;

    -webkit-transition: height 1.5s ease-in-out;
    -moz-transition: height 1.5s ease-in-out;
    -o-transition: height 1.5s ease-in-out;
    transition: height 1.5s ease-in-out;
}

.header-container2 .tela1{
    height: 50%;
}

.header-container2{
    width: 100%;
    height: 170px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    -webkit-transition: height 1.5s ease-in-out;
    -moz-transition: height 1.5s ease-in-out;
    -o-transition: height 1.5s ease-in-out;
    transition: height 1.5s ease-in-out;
}

.big-blue {
    width: 200px;
    height: 200px;
    background-color: #00f;
}

.zero{
    background-color: black;
}
.zero .menu > ul a{
    color: white;
}

.ative{
    background-color: #333333;
    opacity: 0.7;
}
.um{
    background-color: #EDEDED;
}
.um .menu > ul a{
    color: black;
}

.um .menu > ul a.ative{
    color: white;
}
.dois .menu > ul a.ative{
    color: white;
}





.dois{
    background-color: #C6C6C6;
}
.dois .menu > ul a{
    color: black;
}


.tres{
    background-color: #575756;
}
.tres .menu > ul a{
    color: white;
}


.bcor1{
    background-color: black;
    color: white;
}

.bcor2{
    background-color: white;
    color: #575756;
}

.bcor3{
    background-color: #DADADA;
    color: #575756;
}

.bcor4{
    background-color: #585657;
    color: white;
}

.bcor5{
    background-color: #A8A8A7;
    color: #575756;
}

.bcor6{
    background-color: #C6C6C6;
    color: #575756;
}

.bcor7{
    background-color: #706F6F;
    color: #FFFFFF;
}

.bcor8{
    background-color: #EDEDED;
    color: #575756;
}

.bcor3 .aviso{
    text-align: center;
    font-size: 14px;
    height: 144px;
    padding: 40px 40px;
}
.bcor3 .aviso strong {
    font-size: 20px;
}

.pagmeio{
    width: 650px;
    margin: 0 auto;
}

.voltatopo{
    background: url('../../img/setadireita.png');
    background-repeat: no-repeat;
    background-position: 0px 2px;
    padding-left: 9px;
    font-size: 12.5px;
    text-decoration: none;
    color: #575756;
}

.voltatopo:hover{
    font-weight: bold;
}

.bcor7 .linkcaixa{
    color: white;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid white;
    padding: 5px 8px;
    text-decoration: none;
    margin: 4px;
}

ul.listaServicossss{
    list-style: none;
    width: 24%;
    height: 47px;
    margin: 0 auto;padding: 0;
    margin-top: 10px;
}

ul.listaServicosss{
    list-style: none;
    width: 38%;
    height: 47px;
    margin: 0 auto;padding: 0;
    margin-top: 10px;
}

ul.listaServicoss{
    list-style: none;
    width: 81%;
    height: 47px;
    margin: 0 auto;padding: 0;
    margin-top: 10px;
}

ul.listaServicos{
    list-style: none;
    width: 100%;
    height: 120px;
    margin: 0 auto;padding: 0;
    margin-top: 10px;
}

ul.listaServicos li{
    margin: 0 auto;
}

.linkcaixa{
    width: auto;
    float: left;
    margin: 0 3px auto;
    color: #646363;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #575756;
    padding: 5px 8px;
    text-decoration: none;
}

.linkcaixa:hover{
    color: #BF8C3E;
    border-color: #CC9932;
}

.bordaimg img{
    margin: 22% 22%;
}

.bordaimg img.font{
    margin: 25% 14%;
}

.bordaimg{
    width: 142.5px;
    height: 142.5px;
    float: left;
    border: 1px solid #B0B0B0;
    margin: 0 auto;
    margin-bottom: 10px;
}

.meiolink1{
    height: 32px;
    width: 260px;
    margin: 5px auto;
}

.meiolink2{
    height: 32px;
    width: 680px;
    margin: 5px auto;
    margin-left: -55px;
}

.meiolink3{
    height: 32px;
    width: 358px;
    margin: 5px auto;
}

.meiolink4{
    height: 32px;
    width: 380px;
    margin: 5px auto;
}

.imgempresa,.imgservicos, .imgestrutura, .imgpatentes, .imgcontato, .imgmadridprotocol{
    width: 100%;
    height: 50px;
    margin: 0 auto;
    text-align: center;
    font-weight: bolder;
    font-size: 18px;
    padding-top: 70px;
}
.imgempresa{
    background-image: url('../../img/iconeempresa.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    border-bottom: 1px solid #B0B0B0;
}

.imgservicos{
    background-image: url('../../img/iconeservicos.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    border-bottom: 1px solid #575756;
}

.imgestrutura{
    background-image: url('../../img/iconemarcas.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    border-bottom: 1px solid #B0B0B0;
}

.imgpatentes{
    background-image: url('../../img/iconepatentes.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    border-bottom: 1px solid #B0B0B0;
}

.imgcontato{
    background-image: url('../../img/iconecontato.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    border-bottom: 1px solid #B0B0B0;
}

.imgmadridprotocol{
    background-image: url('../../img/iconemadrid.png');
    background-repeat: no-repeat;
    background-position: 50% -3px;
    border-bottom: 1px solid #B0B0B0;
    background-size: 58px;
}

.sectionmadridprotocol{
    min-height: 570px;
    height: auto;
}

.sectionmadridprotocol .positionsdivsDIs{
    top: 50.3%
}

.text-underline{
    text-decoration: underline;
}

.txtemp, .txtserv, .txtservi{
    text-align: center;
    font-size: 14px;
    padding: 2px 80px 0 90px;
    margin-bottom: 15px;
}
.txtemp{
    border-bottom: 1px solid #B0B0B0;
    padding-bottom: 30px;
}

.txtserv{
    border-bottom: 1px solid #B0B0B0;
    padding-bottom: 20px;
}

.txtservi{
    border-bottom: 1px solid #575756;
    padding-bottom: 32px;
    font-size: 14px;
}

#conteudoservicos, #conteudotrademarks, #conteudopatents, #conteudoindustrial{
    padding: 35px 0;
}

.titulogrande{
    width: auto;
    height: 150px;
    font-size: 40px;
    text-align: center;
    color: white;
    border-bottom: 1px solid white;
    margin: 0 auto;
    margin-top: 51px;
}

.cores{
    width: 140px;
    height: 140px;
    background: url('../../img/cores.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: 0 auto;
    margin-bottom: 10px;
}

#EDempresa aside.campoldt:hover img{
    transform: translate(0px, -4px);
    -moz-transform: scale(1.1) translate(0px, -4px);
    -webkit-transform: scale(1.1) translate(0px, -4px);
    -ms-zoom: 1.1;
    opacity: 1 !important;
    -moz-opacity: 1 !important;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    transition: all 0.3s ease;
}


#EDempresa aside.campoldt img{
    margin: -82px 100px;
    float: left;
}

#EDempresa aside.campoldt{
    width: 25%;
    margin-top: -55px;
    height: 250px;
    float: left;
}

#EDempresa aside.campoldt p{
    color: black;
    text-align: center;
    font-size: 12.5px;
}

.ldt{
    height: 2px;
    background-color: #BF8C3E;
    display: none;
}

.marcoldt{
    width: 17px;
    height: 17px;
    background-color: #BF8C3E;
    margin-left: 130px;

    display: none;
}

.tamimg{
    width: 100%;
    height: 200px;
}

.fotsoft{
    background: url('../../img/fotosoftware.jpg');
    background-repeat: no-repeat;
}

.fotcontfran{
    background: url('../../img/fundocontratosdefranquia.jpg');
    background-repeat: no-repeat;
}

.fotacesaut{
    background: url('../../img/fundoacessoriaemdireitosautorais.jpg');
    background-repeat: no-repeat;
}

.fotseracomp{
    background: url('../../img/fundoservicoacompanhamento.jpg');
    background-repeat: no-repeat;
}

.fotinter{
    background: url('../../img/fundointernacional.jpg');
    background-repeat: no-repeat;
}

.fotpaten{
    background: url('../../img/fundoideiaspatente.jpg');
    background-repeat: no-repeat;
}

.navegue {
    top: 90%;
    left: 81.5%;
    position: fixed;
    float: right;
    width: 33px;
    height: 33px;
    background-image: url('../../img/setabaixo.png');
    background-repeat: no-repeat;
    margin-right: 12px;
    z-index: 1;
}

.naveguevolta{
    top: 90%;
    left: 81.5%;
    position: fixed;
    float: right;
    width: 33px;
    height: 33px;
    background-image: url('../../img/setacima.png');
    background-repeat: no-repeat;
    margin-right: 12px;
    z-index: 1;

    margin-left: -40px;
    color: white;
    text-decoration: none;
    z-index: 1;
}

.titulop{
    color: #575756;
    border-bottom: 2px solid #BF8C3E;
    padding-bottom: 10px;
    margin-bottom: 31px;
}

form label{
    width: 18%;
    margin: 5px 0px;
    display: inline-block;
    color: #575756;
    text-align: left;
    font-size: 12.5px;
    font-weight: bold;
}

input{
    width: 83%;
    border: 1px solid #878787;
    height: 20px;
    font-size: 12.5px;
    background-color: inherit;
    background-color: #A8A8A7;
}

textarea{
    width: 82%;
    margin-top: 4px;
    height: 100px;
    border: 1px solid #878787;
    background-color: inherit;
    margin-left: 4px;
    background-color: #A8A8A7;
}

.campop img{
    margin-left: 30%;
    margin-top: 27%;
}

.formbotao{
    margin-top: 5px;
    float: right;
    margin-right: 0px;
    width: 100%;
    text-align: right;
}

.btnreset, .btnenviar{
    background: inherit;
    background-image: url('../../img/setadireita.png');
    background-repeat: no-repeat;
    background-position: 0px 2px;

    color: #646363;
    border: 0;
    font-size: 12.5px;
    padding-left: 8px;
    margin-left: 10px;
}

.textocontato{
    color: #084C2D;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

.campoform{
    margin-top: 10px;
    margin-right: 40px;
    width: 50%;
    float: right;
}

.conf-campo{
    width: 55%;
    height: 30px;
    font-size: 15px;
    padding-top: 0px;
}

form label{
    width: 18%;
    margin: 5px 0px;
    display: inline-block;
    color: #575756;
    text-align: left;
    font-size: 12.5px;
    font-weight: bold;
}

.main aside.campom {
    width: 520px;
    margin-right: 30px;
    margin-left: 0px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.tela16 .main aside.campom p{
    margin: 0;
}

.main aside.campom p{
    margin-right: 10px;
    font-size: 12.5px;
    text-align: left;
}

.main aside.campom p.mpcont{
    width: 250px;
    float: left;
}

.main aside.campomcont p.mpcont{
    width: 310px;
    float: left;
    text-align: center;
}

.alturatop{
    min-height: 675px;
    height: auto;
}

.altura {
    min-height: 790px;
    height: auto;
}


.alturacontact {
    min-height: 500px;
    height: auto;
}


.alturaEs{
    min-height: 710px;
    height: 100%;
}

.altura1{
    min-height: 445px;
    height: auto;
}

.altura2{
    min-height: 400px;
    height: auto;
}

.alturaDivs{
    height: auto;
}

.alturac {
    margin-top: 0px;
}

.main article a{
    text-decoration: none;
    color: #575756;
}

.main article section p{
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    text-align: center;
}

.main article section{
    width: 310px;
    height: 242px;
    border: 1px solid #B0B0B0;
    border-bottom: 2px solid #575756;
    /*float: left;*/
    margin: 0 auto;
    margin-bottom: 55px;
}

.main article section h3{
    text-align: center;
}

.main article section p{
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    text-align: center;
}

.main article section div{
    width: 93px;
    height: 25px;
    text-align: center;
    margin: 0 auto;
    background-color: #BF8C3E;
    color: white;
    padding-top: 2px
}

.main article section div.logonossamarca{
    background: url('../../img/nossamarca.png');
    background-repeat: no-repeat;
    width: 93px;
    height: 113px;
    margin: 0 auto;
    margin-top: -43px;
}

.main article section div.logotrabalheconosco{
    background: url('../../img/trabalheconosco.png');
    background-repeat: no-repeat;
    width: 93px;
    height: 113px;
    margin: 0 auto;
    margin-top: -43px;
}

.main article section div.logolocalizacao{
    height: 100px;
    background: url('../../img/localizacao.png');
    background-repeat: no-repeat;
    width: 93px;
    height: 113px;
    margin: 0 auto;
    margin-top: -43px;
}

.main article section div.logolocalizacao, .main article section div.logotrabalheconosco, .main article section div.logonossamarca{
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.main article section div.logolocalizacao:hover, .main article section div.logotrabalheconosco:hover, .main article section div.logonossamarca:hover{
    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
}

.pic:hover {
    cursor: pointer;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {


}






@media only screen and (min-width: 768px) {

    .tela1{
        display: block;
    }

    .topo{
        width: 355px;
        float: right;
        height: 55px;
        color: white;
    }

    .title {
        margin-top: 11px;
        width: 130px;
        height: 170px;
        background-image: url('../../img/logoG_en.png') !important;
        background-repeat: no-repeat;
        float: left;
    }

    .titledepois{
        width: 139px;
        height: 110px;
        margin-top: 10px;
        background-image: url('../../img/logoP.png') !important;
        background-repeat: no-repeat;
        background-position: 44% 48%;
        float: left;
    }

    .header-container2{
        width: 100%;
        height: 131px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;

        -webkit-transition: height 1.5s ease-in-out;
        -moz-transition: height 1.5s ease-in-out;
        -o-transition: height 1.5s ease-in-out;
        transition: height 1.5s ease-in-out;
    }

    .positionsdivsIG .registros{
        text-align: center;
        display: block;
    }

    header-container2 .menu {
        margin-top: -33px;
    }

    .menu {
        width: 780px;
        float: right;
    }
    .menu > ul {
        height: 60px;
        margin: 0px;
        padding: 0px;
        margin-top: 38px;
        border-top: 1px solid #BF8C3E;
        border-bottom: 1px solid #BF8C3E;
        display: flex;
        align-items: center;
    }

    .menu > ul > li > a {
        float: left;
        padding: 1.2em 0.57em;
        text-transform: uppercase;
        text-align: center;
    }

    .menu > ul > li > #mmad{
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }

    .positionsdivsIG{
        width: 810px;
        height: 550px;
        position: absolute;
        top: 42%;
        left: 50%;
        margin-left: -383px;
        margin-top: -317px;
        padding-top: 0;
    }

    .main article {
        margin-top: 170px;
    }

    .main article section {
        float: left;
        margin-left: 34px;
        margin-bottom: 55px;
    }

    .banner_inicial{
        width: 170px;
        height: 220px;
        float: left;
        background: url('../../img/banner_inicial_en.png');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        margin-right: 50px;
        margin-left: 50px;
    }

    .dir{
        text-align: right;
    }

    .bemvindos{
        width: 265px;
        height: 150px;
        float: left;
        font-size: 14px;
        font-weight: normal;
        padding-top: 122px;
        display: block;
    }

    .bemvindos  p strong{
        color: #C78B3B;
        font-size: 19px;
        font-weight: normal;
    }


    input {
        width: 73%;
    }

    form label{
        width: 15%;
    }

    .ldt{
        height: 2px;
        background-color: #BF8C3E;
        display: block;
    }

    .cores{
        float: left;
        margin: 0;
    }

    .positionsdivsAbout{
        width: 650px;
        height: 670px;
        margin: 4% auto;
    }

    .positionsdivsDIs, .positionsdivsDIs2{
        width: 650px;
        margin: 4% auto;
    }

    .positionsdivsDI{
        width: 650px;
        margin: 2% auto;
        text-align: center;
    }

    .positionsdivsForm{
        width: 650px;
        margin: 2% auto;
    }
}

@media only screen and (min-width: 1040px) {

}


@media only screen and (min-width: 1140px) {
    .menu {
        width: 880px;
        float: right;
    }

    .menu > ul {
        height: 60px;
        margin: 0px;
        padding: 0px;
        margin-top: 38px;
        border-top: 1px solid #BF8C3E;
        border-bottom: 1px solid #BF8C3E;
    }
    .menu > ul > li {

    }
    .menu > ul > li > a {
        float: left;
        padding: 1.2em 1em;
        text-transform: uppercase;
    }

    .wrapper{
        width: 1100px;
        margin: 0 auto;
    }

    .alturaaviso {
        padding-bottom: 40px;
        padding-top: 20px;
    }

    input {
        width: 83%;
    }

    .bcor5 .main aside.campom{
        width: 550px;
    }

    .main aside.campop{
        width: 16%;
        /* margin: 0 auto; */
        float: left;
    }


    .main aside.campom{
        width: 66%;
        margin: 0 auto;
        text-align: justify;
    }

    .bcor2 aside.campom{
        width: 45%;
        float: left;
        margin-right: 20px;
    }

    .main aside.campom .titulopsb{
        text-align: center;

        margin-top: 0;
    }

    .main aside.campom .titulopb{
        text-align: center;
        font-size: 13px;
    }

    .campomcont{
        float: left;
        width: 650px;
        margin-right: 30px;
        margin-left: 0px;

        text-align: center;
    }

    .alturac {
        margin-top: 75px;
    }

    .main-container{
        position: relative;
        width: 100%;
    }

    .positionsdivsIG{
        width: 810px;
        height: 550px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -383px;
        margin-top: -275px;
        padding-top: 0;
    }

    .positionsdivs {
        width: 850px;
        height: 670px;
        position: absolute;
        top: 36%;
        left: 56%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0;
        border: none;
    }

    .positionsdivsForm{
        width: 590px;
        height: 480px;
        position: absolute;
        top: 56%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0;
        border: none;
    }

    .positionsdivsAbout{
        width: 650px;
        height: 670px;
        position: absolute;
        top: 36%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0;
        border: none;
    }

    .positionsdivsAbout .txtemp{
        text-align: center;
        font-size: 14px;
        padding: 2px 80px 0 90px;
        margin-bottom: 15px;
    }



    .positionsdivsDI{
        width: 650px;
        height: 550px;
        position: absolute;
        top: 63%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0;
    }

    .positionsdivsEst {
        width: 850px;
        height: 680px;
        position: absolute;
        top: 40%;
        left: 56%;
        margin-left: -500px;
        margin-top: -340px;
        padding-top: 0;
    }

    .positionsdivsDIs{
        width: 650px;
        height: 340px;
        position: absolute;
        top: 72%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0;
    }

    .marcoldt{
        width: 17px;
        height: 17px;
        background-color: #BF8C3E;
        margin-left: 50%;

        display: block
    }

    #EDempresa aside.campoldt{
        width: 25%;
        margin-top: -55px;
    }

    #EDempresa aside.campoldt img{
        margin: 10px 29%;
    }

    #conteudoempresa{
        height: 730px;
    }

    #EDmarcas{
        height: 330px;
    }

    #conteudopatentes{
        height: 240px;
    }

    .fblike {
        width: 650px;
height: 550px;
position: absolute;
top: 100%;
left: 62%;
margin-left: -500px;
margin-top: -275px;
padding-top: 0;
    }
}

/*
@media only screen and (min-device-height : 600px) and (max-device-height : 900px){
    @media only screen and (min-height: 700px) {
    .positionsdivs {
        width: 650px;
        height: 410px;
        position: absolute;
        top: 53%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0px;

        border: 1px solid red;
    }

    .positionsdivsIG{
        width: 800px;
        height: 550px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -383px;
        margin-top: -250px;
        padding-top: 0;
    }


    .altura2 {
        min-height: 56%;
        height: auto;
    }
    .positionsdivsDIs {
        width: 650px;
        height: 340px;
        position: absolute;
        top: 79%;
        left: 62%;
        margin-left: -500px;
        margin-top: -275px;
        padding-top: 0px;
    }
}
*/


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.menumeio{
    line-height: 18px;
    text-align: left;
}

.menu > ul > li > a.menumeio{
    padding: 0.8em 2.3em;
    text-align: center;
}

.menu > ul:after {
    content: "";
    display: table;
    clear: both;
}

body {
    -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }

    to {
        padding: 0;
    }
}



.menu ul {

}
.menu li {
    position: relative;
}
.menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
.menu input[type=checkbox] {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.menu label {
    display: none;
    cursor: pointer;
    user-select: none;
}

.menu > ul a {
    color: white;
    text-decoration: none;
}

.menu > ul a:hover{
    background-color: #333333;
}


.menu > ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    margin: 2em 0 0 0;
    background-color: #373737;
    background-image: none;
    -webkit-transition-property: margin, opacity;
    -moz-transition-property: margin, opacity;
    -o-transition-property: margin, opacity;
    transition-property: margin, opacity;
    -webkit-transition-duration: .15s;
    -moz-transition-duration: .15s;
    -o-transition-duration: .15s;
    transition-duration: .15s;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
}
.menu > ul ul li {
    display: block;
    -webkit-box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;
    -moz-box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;
    box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;
}
.menu > ul ul li:first-child > a {
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    -o-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}
.menu > ul ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 4em;
    top: -12px;
    border: 6px solid transparent;
    border-bottom-color: inherit;
}
.menu > ul ul li:last-child {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.menu > ul ul li:last-child > a {
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    -ms-border-radius: 0 0 3px 3px;
    -o-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}
.menu > ul ul a {
    padding: 1em;
    width: 175px;
    display: block;
    border-color: #373737;
}
.menu > ul ul a:hover {
    background-color: #0186ba;
    border-color: #0186ba;
}

@media screen and (max-width: 938px) {
    .menu > ul > li > a {
        text-align: left;
    }
    .menu > ul > li > #mmad{
        padding: 1em;
    }
    .menu{
        width: 100%;
    }
    .menu ul li br{
        display: none;
    }

    .title {
        width: 130px;
        height: 170px;
        background-image: url('../../img/logoG_en.png') !important;
        background-repeat: no-repeat;
        margin: 20px auto;
        float: none;
    }

    .titledepois{
        width: 139px;
        height: 110px;
        margin: 0 auto;
        background-image: url('../../img/logoP_en.png') !important;
        background-repeat: no-repeat;
        background-position: 44% 48%;
        float: none;
        /*float: left;*/
        /*position: absolute;*/
        /*left: 50%;*/
        /*margin-left: -71.5px;*/
    }

    .positionsdivsIG{
        width: 810px;
        height: 550px;
        position: absolute;
        top: 42%;
        left: 50%;
        margin-left: -383px;
        margin-top: -317px;
        padding-top: 0;
    }


    header-container .menu {
        width: 60%;
        float: right;
        margin-top: 100px;
    }

    .menu > ul, .menu > ul ul {
        visibility: visible;
        opacity: 1;
        display: none;
    }

    .menu input[type=checkbox]:checked ~ label,
    .menu input[type=checkbox] ~ label:hover {
        color: white;
    }
    .menu label {
        border: 1px solid #040404;
        background-color: #111111;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0.2)), color-stop(100%, rgba(255, 255, 255, 0)));
        background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        background-image: -o-linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
        -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
        color: #999999;
        text-shadow: 0 1px 0 #111111;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        text-transform: uppercase;
        position: relative;
        display: block;
        padding: 1em 3em;
    }
    .menu label:before {
        position: absolute;
        left: 0.5em;
        top: 0.2em;
        content: "\2261";
        font-size: 2em;
    }
    .menu > ul {
        position: relative;
        border-color: #111111;
        margin: 0.5em 0 !important;
        padding: 0.25em;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: #111111;
        background-image: none;
    }
    .menu > ul:after {
        content: '';
        position: absolute;
        left: 2em;
        top: -12px;
        border: 6px solid transparent;
        border-bottom-color: inherit;
    }
    .menu > ul li {
        display: block;
    }
    .menu > ul > li {
        float: none;
        border: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: #111111;
        background-image: none;
    }
    .menu > ul > li > a {
        float: none;
        display: block;
        padding: 1em;
    }
    .menu > ul ul {
        position: static;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        background-color: #2b2b2b;
        background-image: none;
        margin: 0;
        -webkit-transition-property: none;
        -moz-transition-property: none;
        -o-transition-property: none;
        transition-property: none;
    }
    .menu > ul ul li:first-child > a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
    }
    .menu > ul ul li:first-child > a:after {
        content: none;
    }
    .menu > ul ul li:last-child > a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
    }
    .menu > ul ul a {
        padding-left: 2em;
        display: block;
        width: auto;
    }
    .menu input[type=checkbox]:checked ~ ul {
        display: block;
    }
    .menu input[type=checkbox]:checked ~ ul ul {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    .menu > ul > li > a {
        padding: 1em 2em;
    }
}