@charset "utf-8";
/* 
    Created on : Nov 17, 2014, 11:28:10 AM
    Author     : miguel cerdeira
*/

.main-content {
    background: url(../images/bg-oquefazemos.jpg) center top no-repeat;
    margin: 6em auto;
    max-width: 1122px;
    padding: 1em 0 0 0;
    position: relative;
    width: 90%;
}

.prods-block {
    /* overflow: hidden; */
    /* width: 100%; */
    /* background: url(../images/top-grass-layer.png) center bottom no-repeat; */
    position: relative;
    z-index: 5;
}

#nav-mh {
    position: relative;
    width: 259px;
    min-height: 700px;
    margin: 0 auto;
    background: url(../images/poste-mh.jpg) top center no-repeat;
    /* background-size: cover; */
    padding: 0;
}

#compal {
    position: relative;
    width: 100%;
    margin: 1em auto 0;
    /* padding-top: 26%; */
}

#cp-placa {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding: 1em 0 2em;
}

#cp-futuro-btn {
    background:url(../images/bg-cp-futuro.png) top center no-repeat;
}

#cp-2000-btn {
    background:url(../images/bg-cp-2000.png) top center no-repeat;
}

#cp-1990-btn {
    background:url(../images/bg-cp-1990.png) top center no-repeat;
}

#cp-1980-btn {
    background:url(../images/bg-cp-1980.png) top center no-repeat;
}

#cp-1970-btn {
    background:url(../images/bg-cp-1970.png) top center no-repeat;
}

#cp-1960-btn {
    background:url(../images/bg-cp-1960.png) top center no-repeat;
}

#cp-1950-btn {
    background:url(../images/bg-cp-1950.png) top center no-repeat;
}

.nav-mh-btn {
    position: relative;
    margin: 0 0 0.1em 0;
    padding: 0.3em 0 0 0;
    width: 100%;
    height: auto;
    color: white;
    /* border: 1px solid red; */
    text-align: center;
    font-size: 1.2em;
    height: 2.3em;
    cursor: pointer;
}

.nav-mh-btn:hover{
    color: #fdb813;
}

#text-box-mh {
    width: 90%;
    height: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.5);
}

.text-content-holder {
    width: 92%;
    padding: 5% 3% 5% 5%;
    display: inline-block;
    /* height: 92.1%; */
    /* overflow: hidden; */
    font-size: 1.1em;
}

.nav-mh-btn.selected {
    color: #fdb813;
}

    /*///// safari exception /////*/
    .safari .nav-mh-btn {
        /* margin: 0 0 0.15em 0; */
    }
    .safari .bottom-btns-wrapper {
        padding-top: 23.5%;
    }
    .safari .bottom-btns-wrapper .nav-mh-btn {
        padding-bottom: 0.1em;
    }
    /*/// end safari exception ///*/

/*///////// SCROLLER BAR ///////////*/

/*.scroll-bar {
    display: inline-block;
    width: 3%;
    height: 400px;
    vertical-align: top;
    margin-top: 80px;
    background: azure;
}*/

.mCSB_scrollTools a + .mCSB_draggerContainer{ margin: 30px 0; }

.mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
    position: absolute;
    width: 30px;
    height: auto;
    left: auto;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
}

.mCSB_scrollTools .mCSB_draggerRail{
    width: 10px;
    height: 100%;
    margin: 0 auto;
    -webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px;
}

.mCSB_scrollTools .mCSB_draggerRail{
    background-color: #fff; 
    background-color: rgba(255,255,255,1);
    filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)"; 
}

.mCSB_scrollTools .mCSB_dragger{ /* the draggable element */
    cursor: pointer;
    width: 100%;
    height: 30px; /* minimum dragger height */
    z-index: 1;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ /* the dragger element */
    position: relative;
    width: 6px;
    height: 100%;
    margin: 0 auto;
    -webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px;
    text-align: center;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    background-color: #fff; background-color: rgba(225,225,225,0.75);
    filter: "alpha(opacity=75)"; -ms-filter: "alpha(opacity=75)"; 
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
    background-color: #cdcdcd; background-color: rgba(205,205,205,0.85);
    filter: "alpha(opacity=85)"; -ms-filter: "alpha(opacity=85)"; 
}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
    background-color: #9b9b9b; background-color: rgba(155,155,155,0.9);
    filter: "alpha(opacity=90)"; -ms-filter: "alpha(opacity=90)"; 
}

.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown{
    display: block;
    position: absolute;
    height: 36px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}

.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown,
.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_scrollTools .mCSB_buttonRight{
    background-image: url(../images/scroll-btns.png); /* css sprites */
    background-repeat: no-repeat;
    opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)";
    width: 30px;
    z-index: 9;
}

.mCSB_scrollTools .mCSB_buttonUp{
    background-position: -61px -7px;
    /* 
    sprites locations 
    light: 0 0, -16px 0, -32px 0, -48px 0, 0 -72px, -16px -72px, -32px -72px
    dark: -80px 0, -96px 0, -112px 0, -128px 0, -80px -72px, -96px -72px, -112px -72px
    */
}

.mCSB_scrollTools .mCSB_buttonDown{
    background-position: -61px -56px;
    /* 
    sprites locations
    light: 0 -20px, -16px -20px, -32px -20px, -48px -20px, 0 -92px, -16px -92px, -32px -92px
    dark: -80px -20px, -96px -20px, -112px -20px, -128px -20px, -80px -92px, -96px -92px, -112 -92px
    */
}

.mCSB_scrollTools .mCSB_buttonUp:hover,
.mCSB_scrollTools .mCSB_buttonDown:hover{
    opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)";
    background-position: -13px -7px;
}

.mCSB_scrollTools .mCSB_buttonDown:hover{
    background-position: -13px -56px;
}
.mCSB_scrollTools .mCSB_buttonUp:active,
.mCSB_scrollTools .mCSB_buttonDown:active,
.mCSB_scrollTools .mCSB_buttonLeft:active,
.mCSB_scrollTools .mCSB_buttonRight:active{ opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)"; }

/*//////// end scroll bar ///////////*/



.text-content-title {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.text-content-subtitle {
    font-size: 1.5em;
    margin-bottom: 0.2em;
}

.text-content {
    /* overflow: visible; */
    /* display: block; */
    height: 385px;
    /* border: 1px solid red; */
    overflow: hidden;
}


/*///////// images slideshow ///////////*/

#image-frame-mh {
    position: relative;
    width: 90%;
    margin: 1em auto;
    z-index: 9;
}

.images-holder {
    position: absolute;
    background: black;
    width: 80%;
    height: 80%;
    left: 10%;
    top: 10%;
    -ms-transform: rotate(2deg); /* IE 9 */
    -webkit-transform: rotate(2deg); /* Safari */
    transform: rotate(2deg);
    box-shadow: 1px 1px 3px black;
}

.cycler{position:absolute;}
.cycler a{position:absolute;z-index:1;width: 100%;}
.cycler a.active{z-index:3}

/*/////// end images slideshow /////////*/

/*//////// btns left right ////////*/

.btn-slider{
    position: absolute;
    max-width: 9%;
    top:40%;
}

.btnLeft {
    left: -3%;
}

.btnRight {
    right: -3%;
    /* z-index: 9999999999999; */
}

/*////// end btns left right //////*/


.relva {
    position: relative;
    bottom: 0;
    right: 0;
    left: 0;
    /* padding-bottom: 2em; */
    /* overflow: hidden; */
    margin: 0;
    /* padding: 1em; */
    width: 100%;
    z-index: 1;
}

.relva img {
    height: 80px;    
}

/*/////////// hidden html //////////////*/

#hidden-content {
    display: none;
}

/*////////// end hidden html ///////////*/

@media screen and (min-width:480px){
        
    #nav-mh {
        width: 370px;    
        /*padding-bottom: 6em;*/
    }

    #cp-placa {
        width: 60%;
    }

    .nav-mh-btn {
        /* margin-bottom: 0.28em; */
        /* font-size: 1.25em; */
    }

    .relva img {
        height: auto;    
    }

    /*///// safari exception /////*/
    .safari #compal {
        /* padding-top: 27%; */
    }
    .safari .nav-mh-btn {
        /* margin-bottom: 0.29em; */
    }
    .safari .bottom-btns-wrapper {
        padding-top: 24.5%;
    }
    .safari .bottom-btns-wrapper .nav-mh-btn {
        padding-bottom: 0em;
    }
    /*/// end safari exception ///*/
}

@media screen and (min-width:640px){
    .main-content {
      margin: 1em auto 6em auto;
    }

    #nav-mh {
        width: 400px;    
        /*padding-bottom: 8em;*/
    }    

    .bottom-btns-wrapper {
        width: 50%;
        margin: 0 auto;
        padding-top: 23.5%;
        /* background: aliceblue; */
    }

    .nav-mh-btn {
        /* margin-bottom: 0.43em; */
        /* font-size: 1.5em; */
    }

    #sumolis .nav-mh-btn, #compal .nav-mh-btn {
        /* margin-bottom: 0.49em; */
    }

    .text-content-holder {
        font-size: 1.2em;
    }
    
    /*///// safari exception /////*/
    .safari .nav-mh-btn {
        /* margin-bottom: 0.42em; */
    }
    .safari .bottom-btns-wrapper {
        /*padding-top: 24%;*/
    }
    /*/// end safari exception ///*/
    
    .relva {
        height: 120px;
    }
    .relva img {
        height: 100%;    
    }
}

@media screen and (min-width:768px){
    .main-content {
      margin: 2em auto 6em;
    }
}

@media screen and (min-width: 1024px){
    .main-content {
        /*width: 100%;*/
    }

    .main-content {
      margin: 1em auto 6em auto;
    }
    
    .content-wrapper {
        position: relative;
        width: 85%;
        max-width: 775px;
        margin: 0 auto;
        /*background: azure;*/
    }

    #nav-mh {
        width: 370px;
        padding-bottom: 7em;
        display: inline-block;
        margin: 1em 1em 0;
        clear: both;
    }    

    .bottom-btns-wrapper {
        width: 50%;
        margin: 0 auto;
        padding-top: 23.5%;
    }

    .nav-mh-btn {
        /*margin-bottom: 0.28em;*/
        font-size: 1.25em;
    }

    #text-box-mh {
        display: inline-block;
        width: 370px;
        height: 500px;        
        /* margin: 0 5em 0 1em; */
        background: rgba(255,255,255,0.5);    
        /* float: right; */    
        /* padding: 1em; */
    
        vertical-align: top;
    }

    #image-frame-mh {
        position: absolute;
        width: 370px;
        bottom: 2em;
        right: 0;
        z-index: 9;
    }
    
    .relva {
        margin: -85px 0 0 0;
    }
    
    /*///// safari exception /////*/
    .safari .nav-mh-btn {
        /*margin-bottom: 0.295em;*/
    }
    .safari .bottom-btns-wrapper {
        /*padding-top: 24.5%;*/
    }
    /*/// end safari exception ///*/
}
