@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;
    position: relative;
    width: 90%;
}

.main-content .content-block #result_message {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 1.5em;
    color: #04a754;
}
.main-content .content-block #result_message.error_message {
    color: #df313c;
}

#left-content {
    position: relative;
    width: 259px;
    margin: 0 auto -1.5em auto;
    background: url(../images/poste_esq_ondestamos.png) top center no-repeat;
    background-size: 85% auto;
    padding: 0 0 2em 0;
    z-index: 0;
}

#left-content .top-info {
    width: 70%;
    margin: 0 auto;
    padding: 3.1em 0 2.2em 0;
    text-align: center;
    transform: rotate(-0.5deg);
}

#left-content .bottom-info {
    width: 85%;
    margin: 0 auto 2em auto;
    padding: 0 0 7.5em 0.85em;
    text-align: center;
    transform: rotate(-4deg);
}

#left-content .title{
    font-size: 1.4em;
}

#left-content .sub-title{
    font-size: 1.2em;
}

#left-content .info-text{
    color: #333;
    font-size: 0.9em;
}

#right-content {
    position: relative;
    width: 90%;
    min-height: 650px;
    margin: 0 auto;
    padding-top: 10em;
    padding-bottom: 5em;
    background: url(../images/poste_correio.png) top center no-repeat;
    background-size: auto 100%;
    background-position: bottom;
    z-index: 1;
}

.txt-mailbox{
   color : white;
   font-size: 1.7em;
   text-align: center;
   top: 7%;
   left: 50%;
   position: absolute;
   width: 100%;
   margin-left: -50.5%;
   text-shadow: 3px 3px 1px rgba(0,0,0, 0.5);
   text-transform: uppercase;
}

/*/////////// FORM ///////////////*/

#contact_form  {
    width: 80%;
    margin: 4em auto 0 auto;
    padding: 1em;
    background: rgba(255,255,255,0.5);
}

/*label {
    margin: 0 0.5em;
    display: inline-block;
    vertical-align: top;
}*/

#contact_form input, #contact_form textarea{
  border: none;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  display: inline-block;
  margin: 0.25em 0 0.25em 0;
  font-family: inherit;
  color: inherit;
  padding: 2%;
  width: 96%;
}

.form-line label {
  /* margin: 0.25em 0 0 0; */
  display: table-cell;
}

#contact_form input[type=radio]:not(old), #contact_form input[type=checkbox]:not(old) {
  width: 0;
  margin: 0;
  padding: 0;
  font-size: 1em;
  opacity: 0;
}

#contact_form input[type=radio]:not(old) + label, #contact_form input[type=checkbox]:not(old) + label{
  display: inline-block;
  margin-left: -0.25em;
  line-height: 1.5em;
}

#contact_form input[type=radio]:not(old) + label > span, #contact_form input[type=checkbox]:not(old) + label > span {
  display          : inline-block;
  width            : 0.875em;
  height           : 0.875em;
  margin           : 0.25em 0.5em 0.25em 0.25em;
  /*border           : 0.0625em solid rgb(192,192,192);*/
  border-radius    : 0.5em;
  background       : white;
  vertical-align   : bottom;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

#contact_form input[type=radio]:not(old):checked + label > span > span {
  display          : block;
  width            : 0.35em;
  height           : 0.35em;
  margin           : 0.2em;
  border           : 0.0625em solid rgb(115,153,77);
  border-radius    : 0.5em;
  background       : rgb(153,204,102);
}

#contact_form input[type=checkbox]:not(old) + label > span {
  border-radius    : 0.15em;
}

#contact_form input[type=checkbox]:not(old):checked + label > span > span {
  display: block;
  width            : 0.3em;
  height           : 0.9em;
  margin           : -0.5em 0 0 0.5em;
  border: solid rgb(115,153,77);
  border-width: 0 0.1em 0.3em 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 0.1em 0;
}

#contact_form textarea {
  width: 96%;
  height: 5em;
  resize: none;
}

#contact_form input[type=submit] {
  border:0 none;
  outline: none;
  box-shadow: none;
  background: url(../images/btn-send.png) center top no-repeat;
  height: 2em;
  font-size: 1.2em;
  padding: 0;
  color: white;
  margin-top: 1em;
}

#contact_form .sub-title {
    font-size: 1.2em;
    margin-top: 0.5em;
}

#contact_form .form-line {
    padding-top: 0.5em;
    /* margin: 0.25em 0; */
    /* display: block; */
}

#contact_form .form-line:last-child {
    padding-bottom: 0.5em;
}

#contact_form #cp4 {
  width: 25%;
  margin-right: 4%;
}

#contact_form #cp3 {
  width: 20%;
}

.mark-mandatory-field {
    padding-left: 3px;
}

.copy-mandatory-fields {
    margin: 10px;
}

#contact_form .form-line .check-label {
    width: 100%;
}

#contact_form .form-line .check-label > span {
    margin: 0.2em 0.5em 0.2em 0;
    padding: 0;
}

#msg_error {
    display: none;
    color: #df313c;
    text-align: center;
    font-size: 1.15em;
}

input.input_error, div.input_error {
    border: 1px solid red !important;
}
label.input_error {
    color: red !important;
}

label.input_error span {
    color: red !important;
}

/*///////// END FORM /////////////*/

/*.text-content-holder {
    width: 92%;
    padding: 5% 3% 5% 5%;
    display: inline-block;*/
      /* height: 92.1%; */
      /* overflow: hidden; */
    /*font-size: 1.1em;
}*/

/*///////// 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;
}


/*//////// 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: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    /* padding-bottom: 2em; */
    /* overflow: hidden; */
    margin: -5em 0 0 0;
    /* padding: 1em; */
    width: 100%;
    z-index: 1;
}

.relva img {
    height: 80px;    
}

.g-recaptcha {
    margin: 2em 0 0 0;
}

@media screen and (min-width:480px){

    #left-content {
        width: 360px;    
        padding-bottom: 3em;
        font-size: 1.4em;
    }

    #right-content {
        padding-top: 14em;
        background-size: auto 100%;
    }

    #contact_form {
      padding: 1em 1.5em;
    }

    #contact_form .form-line label {
        /*display: inline-block;*/
    }

    #contact_form .form-line input[type=text] {
        /* display: inline-block; */
        /* width: 50%; */
    }

    .relva img {
        height: auto;    
    }

}

@media screen and (min-width:640px){
    .main-content {
      margin: 1em auto 6em;
    }

    #left-content {
        width: 470px;    
        padding-bottom: 2em;
        font-size: 1.8em;
    }   
    
    #right-content {
        font-size: 1.3em;
    }

    #contact_form input[type=submit] {
      background-size: 40% auto;
      background-position: 50% 85%;
    }

    /*.text-content-holder {
        font-size: 1.2em;
    }*/

    .relva {
        height: 120px;
    }
    .relva img {
        height: 100%;    
    }
}

@media screen and (min-width:768px){
    .main-content {
      margin: 2em auto 6em;
    }

    #right-content {
        padding-top: 14em;
        background-size: auto 100%;
    }

    #contact_form input[type=submit] {
      /* background-size: 50% auto; */
      margin: 1em auto;
      font-size: 1.5em;
    }

    .half {
        width: 50%;
        display: inline-block;
    }
    
    #contact_form .half:first-child input {
      max-width: 90%;
    }

    #contact_form #cp4 {
      width: 40%;
    }

    #contact_form #cp3 {
      width: 30%;
    }

    /*#contact_form .form-line input#empresa, #contact_form .form-line input#pais, #contact_form .form-line input#fax {
        max-width: 90%;
    }*/
}

@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;*/
    }

    #left-content {
        display: inline-block;
        width: 340px;    
        padding-bottom: 7em;        
        margin: 0 auto;
        font-size: 1.3em;    
        vertical-align: bottom;
    }

    #right-content {
        display: inline-block;
        width: 50.8%;
        vertical-align: top;
        margin: 0 0 0 5%;
        font-size: 1.1em;
        padding-top: 12.5em;
        padding-bottom: 4.5em;
    }
    
    .txt-mailbox{
       font-size: 1.7em;
       top: 7%;
    }

    #contact_form input[type=submit] {
      background-size: 50% auto;
      font-size: 1.2em;
      background-position-y: 0;
    }
}
