body {min-width: inherit;}
footer{background-color: #334960;}
.container_12, .grid_12 {width: inherit !important; max-width: 960px; margin: 0 auto;}
.grid_12 {float: inherit;}
.slider_wrapper {width: inherit !important;}

.logo {display: inline;}
.logo a img{width: 35%;}

/*#page1 {margin-top: 100px;}*/

.menu_block {margin-top: 12px !important; }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.nav 
{
   
    z-index: 200;
    /*width: 100%;*/
    margin: 0 auto;
    font-size: 1em;
    overflow: auto;
  }

.nav-toggle {
       		display: none;
    color: #000;
}
.nav-toggle:hover{
    color: #000;
    cursor: pointer;
}


#page3 a {
    color: #FFF;
    font-size: 150%;
}

#page3 div.box_inner p
{
    padding-top: 10px;
}

#page4, #page3 {
    position: inherit;
    
}

#page4 div.container_12{
    zoom: 0;
}

#page4 h4 {
    color: #FFF;
   font-weight: bold;
}

#page5 div.grid_5 form span.error-textarea
{
      color: #F5F5F5 !important;
}

.empty, .error-empty
{
    color: #F5F5F5 !important;
} 



/*BlackBerry Torch Landscape, iPhone Landscape, iphone Portrait, iPhone 3G, iPhone 4, iPhone 5, Galaxy S2, galaxy S3 */

@media screen and (max-device-width: 480px), screen and (max-device-width: 320px), screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1),
only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5), screen and (device-aspect-ratio: 40/71), screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2), screen and (device-width: 320px) and (device-height: 533px) and (-webkit-device-pixel-ratio: 1.5), only screen and (-webkit-device-pixel-ratio: 2),
screen  and (device-width: 360px)   and (device-height: 640px)   and (-webkit-device-pixel-ratio: 3), screen and (max-width: 995px) , screen  and (device-width: 640px)   and (device-height: 360px)   and (-webkit-device-pixel-ratio: 4)
{ 
   @media only screen and (max-device-width: 1920px) {
    .nav li a {
            font-size: 2em !important;
        }
    
    
    body {font-size: 16px;}
    .logo a {width: 80%; display: inline-block; padding: 0 10% 0 10%; text-align: center; }
    .logo a img {width: 70%;}
    .nav-toggle i {
        font-size: 50px;
    }
    #page1 {margin-top: 80px;}
    
    #page3 div div.grid_3 div {
        padding-bottom: 30px;
        height: auto !important;
    }
    .grid_3 {
        display: inline-block;
        width: 100% !important;
        float: none;
        margin: 0px;
        margin-top: 20px;
        font-size: 100%;
        line-height:1.2;
        height: auto !important;
    }
    
    #page3 div div.grid_3 div div p{
        margin-top: 10px;
    }
    
    
    .map div.grid_5{
        width: 100% !important;
    }
    .map div.grid_5 form
       {
           padding-left: 10px;
           padding-right: 10px;
       }
    
  .map div.grid_5 form fieldset label
    {
        position: inherit !important;
        display: inline-block !important;
        width: 100% !important;
        float: none !important;
        margin-left: 0px;
        min-height: auto !important;
    }
    
     .map input[type="text"]
    {
        height: 60px !important;
        margin-bottom: 10px;
       
    }
    
    .map textarea {
        font-size:normal  !important;
        float: none !important;
    }
    
     .map div.grid_3 div:first-child
    {
        margin-left: 0px;
    }
    
    .map div.grid_3 address
    {
        
        line-height:inherit !important;
    }
    
    .map div.grid_3 address dl dt label {display: block;}
    
    .map div.grid_5 div{
        font-size: 100% !important;
        margin: 40px 0 0 10px; !important;
    }
    
   #page5 div.grid_5{
       float: none !important;
       font-size: 19px !important;
   }
       
    #page5 div.grid_12 div.slogan
   {
       margin-bottom: 1em;
   }
       
    #page5 div.grid_5 label
       {
           margin-top: 10px;
       }
       
    #page5 form input
   {
       float: none;
   }
       
    #page5 div.btns 
{
    margin: 0px !important;
    position: inherit;
    font-size: 1em !important;
    padding: 0;
    padding-top: 0px;
}

#page5 div.btns a {
    width: 100%;
    padding: 0px;
    display: block;
    color: #FFF;
    background-color: #f17c72;
    border: 1px solid #b76058;
    line-height: 2.5em;
}
       
   footer div.copy
   {
       padding-left: 10px;
    }
       

    
    #page5 div.grid_5 form span.error-textarea
       {
           margin-top: -0px !important;
           float: left !important;
           position: inherit !important;
    }
   .empty, .error-empty{
       position: inherit !important;
       
   }
    
    
    
    /* MENU MOBILE */
    header {overflow: visible; }
    strong.hover {display: none !important;}
    .menu_block{float: none;}
   .wrap {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
.nav.nav-aberta {
    position: relative !important;
    padding: 0 0 0 0;
    height: 0;
}
 
.nav ul {
padding: .5em !important;
margin: 0 !important;
background-color: #969696 ;
}
 
.nav ul li {
margin: 0;
padding: 0;
display: block !important;
border-bottom: 1px solid #797979;
float: none !important;
}
 
.nav ul li a {
padding: 0.5em 0 0.5em 0 !important;
display: block !important;
color: #FFF;

}
 
.nav ul li:last-child {
border-bottom:none;
}
 
.nav-toggle {
    display: block;
    padding: .4em;
    margin: .5em 0;
    max-width: 6em;
}
    
    /*---- fim menu mobile */
    
    
    .map div:first-child {
        margin-left: 10px;
    }
    .map div figure {
        position: inherit;
        border: 0px;
    }
    
    .map div figure iframe
    {
        width: 90%;
        padding-left: 3%;
    }
    
    .map div.grid_5
    {
        padding-left: 0px;
    }
    
    
    
    
}
}


/*iPhone 3G*/
@media screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1){

}

/*iPhone 4*/
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { 

}

/*Iphone 5*/
@media screen and (device-aspect-ratio: 40/71) {

    
}

or

@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2){

}

/*HTC Evo Landscape*/

@media screen and (max-device-width: 480px) { 

}

/*HD2 Landscape*/

@media screen and (max-device-width: 480px) { 

}

/*HTC Thunderbolt Landscape */

@media screen and (max-device-width: 480px) { 

}

/*Samsung Galaxy S2*/
@media screen and (device-width: 320px) and (device-height: 533px) and (-webkit-device-pixel-ratio: 1.5) {

}

/*Samsung Galaxy S3*/
@media only screen and (-webkit-device-pixel-ratio: 2) {

    
}

/* galaxy S5 Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) {

}

/* Galxy S6 */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px)   and (-webkit-device-pixel-ratio: 4)
{
    
}






