@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 repeat-y;
    margin: 6em auto;
    max-width: 1122px;
    padding: 1em 0 0 0;
    position: relative;
    width: 90%;
}

#page-title {
     background: url(../images/bg-prod-btn.png) left top no-repeat;
     background-size: 100% auto;
     color: white;
     width: 9.5em;
     height: auto;
     margin: 1em 5%;
     padding: 0.1em 1em;
     font-size: 1.4em;
     text-align: center;
}

#left-content {
    position: relative;
    width: 90%;
    margin: 2em auto 0;
    /* background: url(../images/poste_esq_ondestamos.png) top center no-repeat; */
    background-size: 85% auto;
    padding: 0 0 2em 0;
    z-index: 0;
}

.left-image {
    position: relative;
    background: rgba(255,255,255,0.5);
    padding: 0.5em;
}

.btn-mais {
    position: absolute;
    width: 10%;
    bottom: 0.75em;
    right: 0.75em;
}

#right-content {
    position: relative;
    width: 90%;
    /* min-height: 650px; */
    margin: 0 auto;
    /* padding: 1em; */
    /*padding-bottom: 3em;*/
    /* background: url(../images/bg-wood-text) top center no-repeat; */
    /* background-size: 85% auto; */
    z-index: 1;
    color: white;
    padding: 0 0 0em 0;
}

.text-content-holder {
  width: 96%;
  margin: 0 auto;
  background: url(../images/bg-wood-text.png) 30% top no-repeat;
  background-size: 85% 100%;
  padding: 5%;
  font-size: 1.1em;
  height: 215px;
}

.text-mh {
    width: 70%;
    /* height: 500px; */
    margin: 0 auto;
    /*background: rgba(255,255,255,0.5);*/
}

/*///////// SCROLLER BAR ///////////*/

.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: 2.2em;
    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)"; }

.mCustomScrollBox {
    height: 90%;
}

/*//////// 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: 95%;
    /* border: 1px solid red; */
    overflow: hidden;
    padding-bottom: 3%;
}


/*//////// btns left right ////////*/

.btn-slider{
    position: absolute;
    max-width: 45px;
    top:45%;
    z-index: 20;
}

.btnLeft {
    left: -2%;
}

.btnRight {
    right: -2%;
    /* 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;    
}


@media screen and (min-width:480px){

    #left-content {
        font-size: 1.4em;
    }
    .btn-mais {
        width: 7.5%;
    }
    #right-content {
        /* padding-top: 14em; */
        background-size: 75% auto;
    }
    
    /*//// scroller ////*/
    .text-mh {
        width: 65%;
    }
    .mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
        right: 3.2em;
    }
    /*//// scroller ////*/

    .relva img {
        height: auto;    
    }

}

@media screen and (min-width:640px){
    .main-content {
      margin: 1em auto 6em auto;
    }

    #left-content {
        padding-bottom: 2em;
        /*font-size: 1.8em;*/
        width: 80%;
    }
    
    .btn-mais {
        width: 6.5%;
    }
    
    #right-content {
        font-size: 1.1em;
    }

    /*//// scroller ////*/
     .text-content-holder {
        width: 70%;
        height: 250px;
        background-position: 40% 0;
    }
    
    .mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
        right: 2.7em;
    }
    /*//// scroller ////*/

    .relva {
        height: 120px;
    }
    .relva img {
        height: 100%;    
    }
}

@media screen and (min-width:768px){
    .main-content {
      margin: 2em auto 6em;
    }
    
    #page-title {
         padding: 0.2em 1em;
         font-size: 1.4em;
    }

    #right-content {
        /* padding-top: 14em; */
        background-size: 65% auto;
    }

    /*////// scroller ////////*/
    .text-content-holder {
        width: 54%;
    }
    .mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
        right: 1.7em;
    }
    /*////// scroller ////////*/
}

@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: 850px;*/
        margin: 0 auto;
        /*background: azure;*/
    }

    #page-title {
         margin: 1em 0;
         padding: 0.2em 1em;
         font-size: 1.5em;
    }

    #left-content {
        display: inline-block;
        width: 55%;
        padding-top: 3.5em;
        padding-bottom: 3.5em;
        margin: 0 auto;
        font-size: 1.3em;
        vertical-align: bottom;
    }

    #right-content {
        display: inline-block;
        width: 40%;
        vertical-align: top;
        margin: 0 0 0 5%;
        font-size: 1.1em;
        padding-top: 3em;
    }

    /*//// scroller ////*/
     .text-content-holder {
        width: 100%;
        height: 290px;
    }
    .text-mh {
        width: 65%;
        font-size: 1.05em;
    }
    .mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
        right: 2em;
    }
    /*//// scroller ////*/
}
