@import "_normalize.less";
@import "remixins.less";

@import "_utils.less";
@import "_grid.less";
@import "_icons.less";
@import "_config.less";

/*CSS NAMESPACES

Component:         c-  c-card c-checklist
Layout module:     l-  l-grid l-container
Helpers:           h-  h-show h-hide
States:            is- has-  is-visible has-loaded
JavaScript hooks:  js- js-tab-switcher

*/


/* styles */
body, html{
  font-size: 62.5%;
  background-color: #fcf1e1;
}
body {
  position: absolute;
  top: 0px;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

.main { width: 100%; }
.wrapper {
  width: 1200px;
  font-size: 16px;
  .m_center;
}
@media only screen and (max-width: 1199px){ 
  .wrapper { width: 96%; }
}
@media only screen and (max-width: @desktop){ 
  .wrapper { width: 96%; }
}
@media only screen and (max-width: @ipadPortrait){ 
  .wrapper { width: 92%; }
}
@media only screen and (max-width: @mobile){ 
  .wrapper--interior .container_12 > .grid_3,
  .wrapper--interior .container_12 > .grid_9 { width: @grid_12 !important; }
}

.visible_on_mobile { display: none; }
.visible_on_ipadportrait { display: none; }
@media only screen and (max-width: @ipadPortrait){
  .visible_on_ipadportrait { display: block; }
  .full_on_ipadportrait { width: @grid_12 !important; }
  .hidden_on_ipadportrait { display: none; }
}
@media only screen and (max-width: @mobile){
  .visible_on_mobile { display: block; }
  .full_on_mobile { width: @grid_12 !important; }
  .hidden_on_mobile { display: none; }
}

@skyIndex: 3000;

a { 
  outline: 0; 
  color: @primary;
}

p { margin-top: 0; }

strong,
b { .f_museo_bold; }

div { .boxsizing; }

form {
  input { outline: 0; }
}

.sprite_inline {
  .sprite { display: inline-block; }
}

.sprite {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

h1, h2, h3, h4, h5, h6 { .reset; }


.c-main__container {
  position: relative;
  width: ~"calc(100%);";
  height: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: @desktop){
  .c-main__container {
    width: 100%;
  }
}

.bt {
  display: inline-block;
  height: 60px;
  padding: 0 35px;
  line-height: 60px;
  vertical-align: middle;
  .f_roboto_reg;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  border: 0;
  outline: 0;
  .transition(0.3s);
  background-color: @secondary;
  cursor: pointer;
}
.bt:hover {
  color: #fff;
  background-color: @primary;
}
.bt--2 {}
.bt--orange {
  background-color: @primary;
}
.bt--orange:hover {
  background-color: @secondary;
}
.bt--brown {
  background-color: @secondary;
}
.bt--brown:hover {
  background-color: @primary;
}

.c-cycle {
  width: 100%;
  position: relative;
  overflow: hidden;

  .arrow {
    position: absolute;
    z-index: 900;
    top: 50%;
    margin-top: -30px;
    cursor: pointer;
  }
  .icon_arrow_left { left: 20px; }
  .icon_arrow_right { right: 20px; }
  .item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    .bg-cover;
    img { width: 100%; }
  }
  &.loading {
    .arrow { display: none; }
    .item { display: none; }
  }
  .cycle-pager {
    position: absolute;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    font-size: 0px;
    ._transform(-50%, 0, 0);

    span {
      display: block;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      float: left;
      cursor: pointer;
      background-color: transparent;
      border: solid 1px #fff;
      .rounded(100%);
    }
    span.cycle-pager-active,
    span:hover {
      background-color: rgb(255, 255, 255);
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-cycle {
    .arrow {
      top: auto;
      margin-top: 0;
      bottom: 32px;
    }
  }
}

.c-slider_comp {
  position: relative;

  &.loading .item{
    opacity: 0;
  }
  .item {
    position: absolute;
  }
  .slider { width: 100%; }
  .slider_container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .anim { .transition(1s); }
}

.bt_sq {
  position: relative;
  display: block;
  width: 66px;
  height: 66px;
  background-color: @primary;
  cursor: pointer;
  &.on { background-color: @secondary; }

  .on { display: none; }
  .off { display: block; }
  &.on {
    .on { display: block; }
    .off { display: none; }
  }
  .sprite {
    position: absolute;
    left: 50%;
    top: 50%;
    ._transform(-50%, -50%, 0);
  }
}

.c-topo {
  position: fixed;
  top: 0px;
  z-index: @skyIndex;
  width: 100%;
  height: 150px;
  background-color: rgba(252, 241, 225, 0.8);
  .transition(0.4s);
  
  .icon_logo {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 235px;
    margin-left: -117.5px;
  }
}
.c-topo--redux {
  top: -190px;
  &.visible { top: 0px; }
}
@media only screen and (max-width: @mobile){
  .c-topo {
    height: 140px;
    .icon_logo {
      top: 5px;
      ._scale(0.8, 0.8);
    }
  }
}
.c-topo_bts {
  position: fixed;
  top: 0px;
  z-index: @skyIndex + 2;
  width: 100%;
  height: 0;
  .transition(0.4s);

  .bt_sq {
    width: 50px;
    height: 50px;
  }
  .bt_lang {
    position: absolute;
    top: 50px;
    left: 50px;
  }
  .bt_menu {
    position: absolute;
    top: 50px;
    right: 50px;
  }
}
.c-topo_bts.c-topo--redux {
  top: -190px;
  &.visible { top: 0px; }
}
@media only screen and (max-width: @mobile){
  .c-topo_bts {
    .bt_lang { left: 20px; }
    .bt_menu { right: 20px; }
    .bt_sq {
      top: 44px;
      width: 46px;
      height: 46px;
    }
  }
}

.c-menu {
  position: fixed;
  right: -450px;
  top: 0;
  height: 100%;
  padding: 0 60px;
  padding-top: 260px;
  z-index: @skyIndex + 1;
  background-color: rgba(255,255, 255, 0.8);
  .boxsizing;
  .transition(0.4s);
  &.open { right: 0px; }

  a {
    display: block;
    font-size: 30px;
    .f_museo_bold;
    color: @primary;
    text-decoration: none;
  }
  a:hover { color: @secondary; }
  ul {
    .ul_reset;
    li {
      margin-bottom: 10px;
    }
    li:last-child { margin-bottom: 0px; }
  }
}
.c-menu--lang {
  right: auto;
  left: -450px;
  &.open { 
    right: auto; 
    left: 0px;
  }
}

.c-block_full_screen {
  position: relative;
  width: 100%;
  height: 100%;

  &.has_menu {
    margin-top: 150px;
    height: ~"calc(100% - 150px);";
  }
  .item {
    position: absolute;
    width: 100%;
    height: 100%;
    .bg-cover;
    background-position: center;
  }
  .text {
    position: relative;
    top: 50%;
    width: 100%;
    max-width: 680px;
    float: right;
    padding: 0 80px;
    font-size: 35px;
    .f_museo_bold;
    line-height: 1.2;
    color: #fff;
    .boxsizing;
    ._transform(0, -50%, 0);
    b {
      display: block;
      font-size: 55px;
    }
    p { margin: 0; }
  }
  .content {
    position: absolute;
    z-index: 800;
    bottom: 80px;
    //margin-top: 100px;
    max-width: 50%;
    height: 130px;
    background-color: rgba(238, 70, 36, 0.9);
    a {
      color: #fff;
    }
    a:hover { text-decoration: underline; }
    &.has_menu { margin-top: 0px; }
    &.to_top {
      top: 0px;
      margin-top: 0;
    }
    &.to_top_2 {
      top: 80px;
      margin-top: 0;
    }
    &.to_bottom { 
      bottom: 80px; 
      top: auto;
      margin-top: 0;
    }
    &.big { 
      width: 60%; 
      .text { max-width: 800px; }
    }
    &.has_list {
      text-align: right;
      .list {
        margin-top: 10px;
        font-size: 30px;
        a {
          display: inline-block;
          margin-left: 10px;
        }
      }
      .text { padding: 0 40px; }
    }
  }
  .icon_arrow_down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -30px;
    cursor: pointer;
  }
  iframe {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .bottom_links {
    position: absolute;
    bottom: 30px;
    z-index: 800;
    width: 100%;
    text-align: center;
  }
  .side_button {
    position: absolute;
    z-index: 500;
    top: 50%;
    right: 0px;
    margin-top: -90px;
    width: 80px;
    height: 180px;
    .f_museo_bold;
    font-size: 17px;
    color: #fff;
    background-color: @secondary;
  }
  .close {
    position: absolute;
    z-index: 300;
    top: 25px;
    right: 25px;
    padding: 5px 10px;
    font-size: 25px;
    line-height: 25px;
    background-color: @secondary;
    cursor: pointer;
    color: #fff;
    .f_roboto_lig;
  }
}//end
.c-block_full_screen--fixed {
  position: fixed;
  z-index: @skyIndex + 10;
  top: 0px;
  left: 0px;
  background-color: #fff;
  opacity: 1;
  visibility: visible;
  .transition(0.5s);
  ._scale(1,1);

  &.ng-hide {
    opacity: 0;
    visibility: hidden;
    ._scale(0.8, 0.8);
  }
}
@media only screen and (max-width: @ipadPortrait){
  .c-block_full_screen {
    .content {
      width: 100%;
      max-width: 100%;
      bottom: 120px;
      height: auto;
      &.big { 
        width: 100%; 
      }
      &.has_list {
        .text { padding: 20px; }
      }
    }
    .text {
      top: 0;
      padding: 20px 20px;
      ._transform(0,0,0);
    }
    &.has_menu {
      margin-top: 140px;
      height: ~"calc(100% - 140px);";
    }
  }
}

.c-block_text_1 {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: 470px;
  .m_center;
  background-color: #fcf1e1;
  .img {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50%;
    height: 100%;
    .bg-cover;
    background-position: center;
  }
  .text {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    //width: 100%;
    //max-width: 590px;
    padding: 0 70px;
    color: @secondary;
    .f_roboto_reg;
    font-size: 20px;
    .boxsizing;
    ._transform(-100%, -50%, 0);
    a {
      .f_roboto_bold;
      color: @primary;
    }
    b { .f_roboto_bold; }
  }
  .tit {
    .f_museo_bold;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 25px;
    b { 
      font-size: 40px; 
      .f_museo_bold;
    }
  }
  &.inverse {
    .img {
      right: auto;
      left: 0;
    }
    .text {
      ._transform(0, -50%, 0);
    }
  }
}
@media only screen and (max-width: @desktop){
  .c-block_text_1 {
    .text {
      width: 50%;
    }
  }
}
@media only screen and (max-width: @ipadPortrait){
  .c-block_text_1 {
    min-height: 0;
    .text {
      position: relative;
      left: 0;
      top: 0px;
      width: 100%;
      max-width: 100%;
      padding: 40px;
      ._transform(0,0,0);

      p:last-child { margin-bottom: 0; }
    }
    .img {
      position: relative;
      width: 100%;
      max-width: 100%;
      padding-bottom: 56%;
    }
    &.inverse {
      .text { ._transform(0,0,0); }
    }
  }
}

.c-block_text_2 {
  padding: 40px 40px;
  padding-top: 80px;
  background-color: #fff;

  .container {
    width: 96%;
    .m_center;
    max-width: 1200px;
    .flex;
    .flex-wrap;
  }
  .left {
    width: 50%;
    font-size: 60px;
    line-height: 1.1;
    .f_museo_bold;
    color: @secondary;
  }
  .right {
    width: 50%;
    font-size: 20px;
    .f_roboto_reg;
    color: @secondary;

    h1, h2, h3, h4 {
      .f_museo_bold;
      color: @primary;
      font-size: 40px;
      margin-bottom: 40px;
    }
    h1 { margin-top: 40px; }
    h3 {
      font-size: 30px;
      margin-bottom: 30px;
    }
    h4 {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }

  &.full_width {
    .right {
      width: 100%;
      font-size: 20px;
    }
  }
}
@media only screen and (max-width: @ipadPortrait){
  .c-block_text_2 {
    padding: 30px 20px;
    .left {
       width: 100%; 
       margin-bottom: 30px;
    }
    .right {
      width: 100%;
    }
  }
}

.c-block_img_1 {
  width: 100%;
  background-color: @secondary;
  .container {
    width: 100%;
    max-width: 1200px;
    .m_center;
    img {
      width: 100%;
      height: auto;
    }
  }
}

.c-block_numbers {
  width: 100%;
  height: 270px;
  .flex;
  .flex-wrap;
  justify-content: center;
  background-color: @secondary;

  .column {
    width: 190px;
    align-self: center;
    color: #fff;
    .f_roboto_thin;
    font-size: 60px;
    text-align: center;
    .text {
      display: block;
      font-size: 21px;
      .f_roboto_reg;
    }
  }
  .sep {
    width: 50px;
    align-self: center;
    color: @primary;
    font-size: 70px;
    .f_roboto_thin;
    text-align: center;
  }
}
@media only screen and (max-width: @mobile){
  .c-block_numbers {
    height: auto;
    padding: 40px 0;
    .column { width: 100%; }
  }
}

.c-block_numbers_imovel {
  width: 100%;
  height: 270px;
  .flex;
  .flex-wrap;
  align-items: center;
  justify-content: center;
  background-color: @secondary;

  .icon {
    position: absolute;
    left: 0px;
    top: 50%;
    margin-top: -32.5px;
    width: 65px;
    path { fill: #fff; }
  }
  .column {
    position: relative;
    padding-left: 85px;
    margin: 0 20px;
    .f_roboto_thin;
    font-size: 50px;
    line-height: 1;
    color: #fff;
    .boxsizing;
  }
}

.c-block_numbers_imovel_2 {
  .flex;
  .flex-wrap;
  background-color: #fff;

  .left {
    width: 50%;
    text-align: right;
    .flex;
    justify-content: flex-end;
    align-items: center;
  }
  .right {
    width: 50%;
    padding: 60px 0;
    padding-left: 40px;
    background-color: @secondary;
  }
  .text { 
    width: 100%;
    max-width: 590px;
    text-align: left;
    font-size: 30px;
    .f_museo_reg;
    color: @secondary;
    b {
      font-size: 38px;
      .f_museo_bold;
    }
  }//text
  .icons {
    .flex;
    .flex-wrap;
  }
  .icon {
    margin: 0 25px;
    .f_roboto_reg;
    font-size: 16px;
    color: #fff;
    text-align: center;
    div {
      margin-bottom: 10px;
      height: 66px;
      line-height: 66px;
      vertical-align: middle;
    }
  }
}
@media only screen and (max-width: @ipadPortrait){
  .c-block_numbers_imovel_2 {

    .left,
    .right {
      width: 100%;
    }
    .right { padding: 20px 0; }
    .left {
      .text {
        max-width: 100%;
        padding: 20px 20px;
        text-align: center;
      }
    }
    .icons {
      width: 100%;
      align-items: center;
      justify-content: center;
    }
    .icon {
      margin: 20px;
    }
  }
}

.c-ficha_block_text {
  width: 100%;
  .flex;
  
  .left,
  .right {
    width: 50%;
  }
  .right .text { 
    float: left; 
    font-size: 21px;
    color: @secondary;
    .f_roboto_reg;
  }
  .left .text { 
    float: right; 
    font-size: 40px;
    line-height: 1;
    .f_museo_bold;
    color: @secondary;
  }
  .text {
    width: 100%;
    max-width: 580px;
    padding: 60px 30px;
    .boxsizing;

    p { 
      .reset; 
      margin-bottom: 20px;
    }
    b { .f_roboto_bold; }
  }
}

.c-form {
  input {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    color: #323232;
    .f_roboto_lig;
    font-size: 21px;
    .boxsizing;
    border: 0;
  }
  input[type="submit"] {
    color: #fff;
    .f_roboto_reg;
    text-transform: uppercase;
    background-color: @primary;
  }
}

.c-box_newsletter {
  width: 100%;
  max-height: 500px;
  padding: 0px 20px;
  text-align: center;
  .flex;
  align-items: center;
  justify-content: center;
  .tit {
    color: @primary;
    .f_museo_bold;
    font-size: 60px;
    line-height: 1;
  }
  .c-form {
    width: 100%;
    max-width: 600px;
    .m_center;
    margin-bottom: 60px;
    .flex;
    input[type="submit"] { width: 200px; }
  }
}

.c-footer {
  width: 100%;
  padding: 60px 0;
  color: #fff;
  .f_roboto_lig;
  font-size: 16px;
  background-color: @primary;

  .bird {
    position: absolute;
    right: 0;
    top: -210px;
    width: 230px;
    img { width: 100%; }
  }
  a { color: #fff; }
  a:hover { color: @secondary; }
  .links {}
  .tit {
    .f_museo_bold;
    font-size: 30px;
    margin-bottom: 30px;
  }
  .sprite_inline {
    margin-top: 15px;
    .sprite { margin-right: 5px; }
  }
  .icon_logo_footer {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -40px;
    margin-left: -75px;
    path {
      fill: #fff;
    }
  }
  .right {
    position: absolute;
    right: 0px;
    top: 50%;
  }
  .legal {
    clear: both;
    width: 100%;
    margin-top: 30px;
    font-size: 13px;
    text-align: center;
  }
}
@media only screen and (max-width: @mobile){
  .c-footer {
    .grid_12 {
      .flex;
      .flex-wrap;
      align-items: center;
    }

    .bird {
      top: -110px;
      width: 130px;
    }
    .links {
      width: 100%;
      text-align: center;
    }
    .right,
    .icon_logo_footer {
      position: relative;
      top: 0;
      left: 0;
      margin: 0 auto;
      margin-top: 30px;
    }
  }
}

.c-interior {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 190px;
}

.c-gmap {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgb(194, 194, 194);
}

.l-title {
  font-size: 40px;
  .f_museo_bold;
  color: @primary;
}
.l-title_2 {
  font-size: 40px;
  .f_museo_bold;
  color: @secondary;
}
.l-title--block {
  padding: 70px 0;
  text-align: center;
}

.c-loc_moradas {
  padding: 60px 0;
  .flex;
  .flex-wrap;
  justify-content: center;

  .column {
    width: 50%;
    max-width: 480px;
    .f_roboto_reg;
    font-size: 20px;
    color: @secondary;
    text-align: center;
  }
  .l-title {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: @mobile){ 
  .c-loc_moradas {
    .column {
      width: 100%;
      margin-bottom: 30px;
    }
    .column:last-child { margin-bottom: 0; }
  }
}

.c-lista_imoveis {
  width: 100%;
  .flex;
  .flex-wrap;

  .item {
    position: relative;
    width: 33.33333333333%;
    height: 470px;

    a {
      position: absolute;
      width: 100%;
      height: 100%;
    }
    .text {
      position: absolute;
      right: 0px;
      bottom: 0px;
      padding: 20px;
      font-size: 18px;
      .f_museo_reg;
      color: @primary;
      background-color: #fff;
      .transition(0.3s);
    }
    .f_museo_bold { color: @secondary; }
    .f_size_1 { font-size: 24px; }
    .f_size_2 { font-size: 20px; }
  }
  .item:hover {
    .text {
      color: #fff;
      .f_museo_bold { color: #fff; }
      background-color: @secondary;
    }
  }
}

.c-lista_imoveis_2 {
  width: 100%;
  padding: 40px 40px;
  padding-bottom: 80px;
  background-color: #fff;

  .grid {
    width: 100%;
    max-width: 1200px;
    .m_center;
  }
  .item {
    position: absolute;
    width: ~"calc(50% - 10px);";
    min-height: 200px;
    margin: 5px;

    .link {
      position: absolute;
      z-index: 2;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
    }
    .content {
      .flex;
      background-color: #fbeeda;
      .img { 
        position: relative;
        width: 50%; 
        min-height: 200px;
        order: 1;
        .bg-cover;
        background-position: center;
        overflow: hidden;
      }
      .info { 
        width: 50%;
        min-height: 200px;
        padding: 15px; 
        order: 2;
        font-size: 18px;
        .f_roboto_reg;
        color: @secondary;
        .boxsizing;
      }
      a { 
        color: @secondary; 
        .f_roboto_bold;
      }
      .saiba_mais {
        position: relative;
        font-size: 18px;
        .f_roboto_bold;
        color: @primary;
        text-decoration: none;
      }
    }
    .icons {
      .flex;
      .f_roboto_reg;
      margin-bottom: 15px;
      font-size: 8px;
      color: @primary;
      text-align: center;
      .icon {
        margin-right: 20px;
        div { 
          margin-bottom: 3px;
          height: 25px;
          line-height: 25px;
          vertical-align: middle;
        }
      }
    }//icons
    .title {
      .f_museo_bold;
      font-size: 26px;
      margin-bottom: 10px;
      color: @primary;
    }
    .badge {
      position: absolute;
      left: -29%;
      top: 17%;
      width: 100%;
      padding: 5px 0;
      color: #fff;
      .f_museo_bold;
      font-size: 25px;
      text-align: center;
      background-color: @primary;
      text-transform: uppercase;
      -webkit-box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.25);
      -moz-box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.25);
      box-shadow: 10px 10px 5px -8px rgba(0,0,0,0.25);
      ._rotation(-45deg);
    }
    &.big {
      .badge {
        left: -29%;
        top: 9%;
      }
    }
  }//item
  .item.big {
    min-height: 410px;
    .content {
      .info { min-height: 410px; }
      .img { min-height: 410px; }
    }
  }
  .item.invert {
    .content {
      .info { order: 1; }
      .img { order: 2; }
    }
  }//item
}
@media only screen and (max-width: @ipadPortrait){
  .c-lista_imoveis_2 {
    .item {
      width: ~"calc(100% - 10px);";
      .content {
        .flex-wrap;
        .img { 
          width: 100%; 
          min-height: 0 !important;
          padding-bottom: 100%;
          order: 1 !important;
        }
        .info { 
          width: 100%; 
          order: 2 !important;
          ul { padding-left: 16px; }
        }
      }
    }
  }
}

.c-loc_direcoes {
  padding: 60px 0;
  background-color: #fee9e2;

  ul { 
    .ul_reset;
    margin-top: 30px;
  }
  li { 
    margin-bottom: 15px; 
    font-size: 20px;
    .f_roboto_reg;
    color: @secondary;
  }
  li:before {
    position: relative;
    top: 5px;
    content: "\2022";
    color: @primary;
    margin: 0 15px;
    font-size: 39px;
    line-height: 10px;
  }
  .bt {
    margin-top: 30px;
    margin-left: 20px;
  }
}

.c-galeria_imovel {
  padding: 20px 0;
  background-color: #fff;

  .grid {
    .flex;
    .flex-wrap;
    width: 96%;
    max-width: 1200px;
    .m_center;
  }
  .item {
    position: relative;
    width: ~"calc(50% - 10px);";
    height: 380px;
    margin: 5px;
    overflow: hidden;
    cursor: pointer;
    .img {
      position: absolute;
      width: 100%;
      height: 100%;
      .bg-cover;
      background-position: center;
    }
    .legenda {
      position: absolute;
      top: 0px;
      right: -50%;
      width: 50%;
      height: 100%;
      padding: 20px;
      font-size: 20px;
      line-height: 1.2;
      width: 100%;
      height: 100px;
      right: 0px; 
      top: auto;
      bottom: -50%;
      .f_museo_bold;
      color: @primary;
      .boxsizing;
      background-color: rgba(252, 241, 225, 0.8);
      .transition(0.3s);
    }
  }
  .item:hover {
    .legenda { 
      right: 0px; 
      bottom: 0px;
    }
  }
}
.c-galeria_imovel--v2 {
  padding: 80px 0;
  .item:nth-child(2),
  .item:nth-child(3),
  .item:nth-child(4),
  .item:nth-child(5) {
    .legenda {
      display: block;
      bottom: 0px;
      height: 100%;
      color: @secondary;
      background-color: rgba(252, 241, 225, 1);
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-galeria_imovel {
    .item.item {
      width: 100%;
    }
    .item:nth-child(2),
    .item:nth-child(5) {
      position: relative;
      height: auto;
      .legenda { position: relative; }
    }
  }
}

.c-block_planta {
  .flex;
  .flex-wrap;
  .left {
    width: 55%;
    padding: 80px 40px;
    .flex;
    .flex-wrap;
    align-items: center;
    justify-content: flex-end;
    img {
      width: 100%;
      max-width: 730px;
    }
    .link {
      width: 100%;
      max-width: 730px;
      margin-top: 40px;
      text-align: center;
    }
  }
  .right {
    width: 45%;
    padding: 80px 60px;
    line-height: 1.5;
    font-size: 25px;
    .f_roboto_reg;
    color: #fff;
    background-color: @primary;
    .flex;
    align-items: center;
  }
  .tit {
    margin-bottom: 10px;
    .f_museo_bold;
    font-size: 60px;
  }
  .c-cycle {
    max-width: 730px;
    img { max-height: 451px; }
    .item {
      text-align: center;
      background-color: #fcf1e1;
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-block_planta {
    .left,
    .right { width: 100%; }
  }
}

.c-form_comp {
  width: 100%;
  padding: 80px 0;
  background-color: #fff;
  .tit {
    margin-bottom: 40px;
    font-size: 40px;
    .f_museo_bold;
    color: @secondary;
    text-align: center;
  }
  label {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    .f_roboto_reg;
    font-size: 20px;
    color: @secondary;
  }
  label.inline {
    display: inline-block;
    width: auto;
    margin-bottom: 0px;
    margin-left: 10px; 
  }
  input[type="text"],
  select,
  textarea {
    display: block;
    width: 100%;
    height: 60px;
    padding: 0 15px;
    font-size: 15px;
    color: rgb(121, 121, 121);
    outline: 0;
    background-color: #f0f0f0;
    border: 0;
    .boxsizing;
  }
  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 0;
  }
  textarea {
    padding: 15px;
    height: 180px;
  }
  .row {
    position: relative;
    margin-bottom: 25px;
  }
  .legal,
  .text {
    font-size: 16px;
    .f_roboto_reg;
    color: @secondary;
    a { color: @secondary; }
    a:hover { color: @primary; }
  }
  .text { font-size: 21px; }
  .bt { text-transform: uppercase; }
  div.error {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 60px;
    padding: 0 20px;
    line-height: 60px;
    vertical-align: middle;
    color: #fff;
    .f_roboto_reg;
    font-size: 20px;
    background-color: @primary;
    text-transform: uppercase;
  }
  .legal {
    div.error {
      position: relative;
      float: left;
      margin-right: 10px;
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-form_comp {
    .grid_6 { .container_12.grid_12; }
  }
}

.c-planta_float {
  position: absolute;
  z-index: @skyIndex - 5;
  top: 0px;

  img { width: 100%; }
  &.left { left: 0px; }
  &.right { right: 0px; }
  &._1 { width: 150px; }
  &._2 { width: 200px; }
  &._3 { width: 115px; }
  &._4 { width: 300px; }
}
@media only screen and (max-width: @mobile){
  .c-planta_float { display: none; }
}

.mceContentBody {
  .bt { .bt; }
  .c-loc_moradas { .c-loc_moradas; }
  .c-loc_direcoes { .c-loc_direcoes; }
  .c-block_text_1 { .c-block_text_1; }
  .c-block_text_2 { .c-block_text_2; }
  .c-block_img_1 { .c-block_img_1; }
}

.c-barra_cookies {
  position: fixed;
  z-index: 3000;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 20px;
  .f_roboto_lig;
  font-size: 16px;
  color: #fcf1e1;
  background-color: @secondary;
  a {
    color: #fcf1e1;
    .f_roboto_reg;
  }
  .text { 
    float: none; 
    text-align: center;
  }
  .bts { 
    width: 100%;
    margin-top: 20px;
    text-align: center;
    a {
      display: inline-block;
      height: 40px;
      line-height: 40px;
      padding: 0 25px;
      margin: 0 10px;
      .f_roboto_reg;
      font-size: 14px;
      color: #fcf1e1;
      border: solid 1px #fcf1e1;
      background-color: @secondary;
      text-decoration: none;
      text-transform: uppercase;
      .transition(0.3);
    }
    a:hover { 
      color: #fff;
      background-color: @secondary; 
    }
  }
}

.l-marcar_visita_fixed {
  position: fixed !important;
  z-index: @skyIndex - 30;
  right: -300px;
  bottom: 30px;
  opacity: 1 !important;
  .transition(0.6s);

  &.visible { right: 30px; }
}
@media only screen and (max-width: @mobile){
  .l-marcar_visita_fixed {
    bottom: 50px;
    height: 40px;
    line-height: 40px;
    padding: 0 25px;
  }
}

@import "_editor.less";

/* helpers */
.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;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}


/*UI VIEW ANIM*/
[ui-view] {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #fff;
  -webkit-transition:all .5s ease-in-out;
  -moz-transition:all .5s ease-in-out;
  -o-transition:all .5s ease-in-out;
  transition:all .5s ease-in-out;
}

[ui-view].ng-enter, [ui-view].ng-leave {
  
}

[ui-view].ng-enter {
  position: absolute;
  opacity: 0;
  -webkit-transition-delay: 0.5s; /* Safari */
  transition-delay: 0.5s;
}

[ui-view].ng-enter-active {
  opacity: 1;
}

[ui-view].ng-leave {
  opacity: 1; 
}

[ui-view].ng-leave-active {
  opacity: 0;
}


/* Styling for the ngProgress itself */
#ngProgress {
    margin: 0;
    padding: 0;
    z-index: 99998;
    background-color: #000 !important;
    color: #000 !important;
    box-shadow: 0 0 10px 0; /* Inherits the font color */
    height: 2px;
    opacity: 0;

    /* Add CSS3 styles for transition smoothing */
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Styling for the ngProgress-container */
#ngProgress-container {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}