@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: 16px;
  background-color: #fff;
}

.main { width: 100%; }
.wrapper {
  width: 1200px;
  .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;

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

.icon_arrow_scroll_up {
  position: fixed;
  z-index: @skyIndex - 1;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  .transition(0.3s);

  &.visible {
    visibility: visible;
    opacity: 1;
  }
}

.c-topo {
  position: fixed;
  z-index: @skyIndex - 1;
  top: 0px;
  width: 100%;
  height: 160px;
  font-size: 0px;
  background-color: #fff;

  .logo {
    margin-top: 30px;
    float: left;
  }
  .icon_menu {
    position: absolute;
    display: none;
    top: 50%;
    right: 0px;
    margin-top: -13px;
    cursor: pointer;
  }
}
.c-topo--redux {
  height: 90px;
  border: solid 1px #ebebeb;

  .logo { 
    margin-top: 17px;
    .logo_solo; 
  }
  .c-nav {
    .area {
      &> a { padding: 32px 15px 24px 15px; }
    }
  }
}
@media only screen and (max-width: @desktop){
  .c-topo {
    .c-topo--redux;
    .icon_menu { display: block; }
    .c-nav { display: none; }
  }
}

.c-nav {
  float: right;
  font-size: 0px;
  
  a { outline: 0; }
  .icon_lock {
    display: inline-block;
    position: relative;
    top: 3px;
    margin-left: 5px;
    margin-top: -5px;
  }
  .area {
    display: block;
    float: left;
    
    &> a {
      display: block;
      padding: 50px 15px 33px 15px;
      .f_med;
      font-size: 16px;
      color: @blue;
      text-decoration: none;
      text-transform: uppercase;
      border-bottom: solid 10px #fff;
    }
  }
  .area:hover {
    background-color: @blue;
    .icon_lock {
      .icon_lock_white;
    }
    &> a { 
      color: #fff; 
    }
  }
  .submenu {
    visibility: hidden;
    opacity: 0;
    margin-top: 20px;
    position: absolute;
    padding: 25px 20px;
    background-color: @blue;
    .transition(0.2s);
    a {
      display: block;
      padding: 0px;
      margin-bottom: 10px;
      font-size: 16px;
      .f_lig;
      color: #fff;
      text-transform: none;
      text-decoration: none;
    }
    a:last-child { margin-bottom: 0px; }
  }
  .area:hover .submenu { 
    visibility: visible;
    opacity: 1;
    margin-top: 0px;
  }
}

.c-mobile_nav.c-mobile_nav {
  position: fixed;
  right: -300px;
  top: 92px;
  z-index: @skyIndex;
  height: ~"calc(100% - 92px)";
  background-color: #fff;
  border-left: solid 1px #ebebeb;
  .transition(0.6s);

  &.open { right: 0px; }
  .c-nav {
    display: block;
    margin-top: 30px;
    .area {
      float: none;
      margin-bottom: 10px;
      &> a { 
        padding: 0 30px; 
      }
    }
    .submenu {
      width: 100%;
      .boxsizing;
    }
  }
}

.c-main__container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bt {
  display: inline-block;
  height: 70px;
  padding: 0 30px;
  line-height: 70px;
  vertical-align: middle;
  .f_lig;
  font-size: 20px;
  text-decoration: none;
  border: 0;
  outline: 0;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  background-color: @blue;
  outline: 0;
  .transition(0.3s);
}
.bt:hover {
  background-color: @blue_lig;
}
.bt--small {
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
}
.bt--gray,
.bt--gray2 {
  line-height: 50px;
  height: 50px;
  font-size: 18px;
  color: #fff;
  .f_med;
  background-color: #b2b2b2;
  border: 0;
  outline: 0;
}
.bt--gray2 {
  color: @gray2 !important;
  background-color: #ebebeb;
}
.bt--gray2:hover { color: #fff !important; }
.bt--gray3,
.bt--gray4 {
  font-size: 18px;
  color: #fff;
  background-color: #b2b2b2;
}
.bt--gray4 {
  width: 100%;
  text-align: center;
}

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

  .item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    .bg-cover;
    img { width: 100%; }
  }
  &.loading .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 2px #fff;
      .rounded(100%);
    }
    span.cycle-pager-active,
    span:hover {
      background-color: rgb(255, 255, 255);
    }
  }
}

.c-home_destaques {
  margin-top: 160px;//compensar o tamanho do topo que está fixo
  height: 520px;

  .bt_agenda {
    position: absolute;
    z-index: 1000;
    bottom: 90px;
    right: 0px;
    margin-right: 0.83%;
    .sprite {
      position: relative;
      top: 3px;
      display: inline-block;
      margin-left: 15px;
    }
  }
  .wrapper { 
    position: relative; 
    height: 100%;
  }
  .item {
    .f_lig;
    color: #fff;
    font-size: 30px;
    text-align: center;
  }
  .grid_12 {
    position: absolute;
    top: 50%;
    ._transform(-50%, -50%, 0);
  }
  .wrapper--agenda_link {
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 50%;
    ._transform(-50%, 0, 0);
  }
  .arrow {
    position: absolute;
    top: 50%;
    z-index: 300;
    margin-top: -22px;
    cursor: pointer;
  }
  .icon_arrow_w_left { left: 20px; }
  .icon_arrow_w_right { right: 20px; }
}
@media only screen and (max-width: @desktop){
  .c-home_destaques { margin-top: 92px; }
}
@media only screen and (max-width: @ipadPortrait){
  .c-home_destaques {
    height: 350px;
    .item {
      font-size: 22px;
    }
    .bt_agenda { display: none; }
  }
}

.c-home_logos {
  text-align: center;
  img {
    height: 75px;
    margin: 0 10px;
    margin-bottom: 20px;
  }
}

.c-home_noticias,
.c-list_noticias {
  position: relative;
  padding: 40px 0;
  background-color:#ebebeb;

  a { text-decoration: none; }
  .thumb {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 75%;
    background-position: center;
    .bg-cover;
  }
  .meta {
    margin-bottom: 5px;
    .f_lig;
    font-size: 14px;
    color: @blue;
  }
  h1 {
    .f_med;
    color: @blue;
    font-size: 18px;
    text-transform: uppercase;
    line-height:25px;
  }
  .grid_3:hover {
    h1, .meta {
      color: @blue_lig;
    }
  }
  .arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    margin-top: -25.5px;
    cursor: pointer;
  }
  .arrow[class*="left"] { left: -40px; }
  .arrow[class*="right"] { right: -40px; }
}
@media only screen and (max-width: @mobile){
  .c-home_noticias {
    .arrow  { display: none; }
    .grid_3 { .container_12.grid_12; }
  }
}
.c-list_noticias {
  padding-top: 0px;
  background-color: #fff; 
  .grid_3 { 
    display: none;
    margin-bottom: 20px; 
    &.visible { display: block; }
  }
}
@media only screen and (max-width: @mobile){
  .c-list_noticias {
    .grid_3 {
      .container_12.grid_12;
    }
  }
}

.c-noticias_ficha {
  padding: 45px 0;
  .title {
    .f_med;
    font-size: 24px;
    color: @blue;
    text-align: left;
  }
  .meta {
    font-size: 18px;
    color: #6b6b6b;
    .f_reg;
    text-transform: uppercase;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: @mobile){
  .c-noticias_ficha {
    .wrapper { 
      .flex; 
      .flex-wrap;
    }
    .grid_6:nth-child(1) { order: 2; }
    .grid_6:nth-child(2) { order: 1; }
    .grid_10 { order: 3; }
    .grid_6,
    .grid_10 {
      .container_12.grid_12;
      margin-bottom: 30px;
    }
  }
}
.c-cycle--noticias {
  position: relative;
  left: 50%;
  margin-top: 40px;
  ._transform(-50%, 0, 0);

  .arrow {
    position: absolute;
    z-index: 200;
    top: 50%;
    margin-top: -22.5px;
    cursor: pointer;
  }
  .icon_arrow_g_left { left: 20px; }
  .icon_arrow_g_right { right: 20px; }
  .item {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 51.02%;
  }
}

.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); }
}

/* links CAIXA LATERAL */

a.pdf:after, a.doc:after, a.ppt:after, a.pptx:after, a.jpg:after {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.7em;
}

a.doc:after { content: ' (DOC)'; }
a.pdf:after { content: ' (PDF)'; }
a.ppt:after { content: ' (PPT)'; }
a.pptx:after { content: ' (PPTX)'; }
a.jpg:after { content: ' (JPG)'; }

/* CAIXA LATERAL */
.c-box-als {background-color:#bbb;}
.c-box-als ul { padding: 0; }
.c-box-als li  
{
padding: 15px 0 0 20px; 
list-style-type: none;
font-family: 'Montserrat', sans-serif;
}

.c-box-als h2 
{
  width: 100%;
  margin-bottom: 0px;
  cursor: default;
  box-sizing: border-box;

  display: inline-block;
  height: 70px;
  padding: 0 30px;
  line-height: 70px;
  vertical-align: middle;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  text-decoration: none;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  background-color: #1c3880;
  outline: 0;
  transition: all 0.3s ease-in-out;
}

.c-box-als li h3 {
  display: block;
  /* margin-bottom: 5px; */
  color: #1c3880;
  text-decoration: none;
  outline: 0;
}

.l-title_2 {
margin: 40px 0;
margin-bottom: 0;
font-size: 27px;
.f_reg;
text-align: center;
text-transform: uppercase;
}

.c-box_texto2 {
p { margin: 0px; }
ul { 
  .ul_reset; 
  margin-bottom: 20px;
  padding-bottom: 25px; /* ALS */
  background-color: #ebebeb;
  -moz-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}
a {
  display: block;
  color: #000;
  text-decoration: none;
  .boxsizing;
}
a:hover { color: @blue; }
li {
  padding: 0 30px;
  padding-top: 15px; /* ALS  padding-bottom: 10px; */
  .f_lig;
  font-size: 17px;
  line-height: 22px;
}
//li:nth-child(2) { padding-top: 15px; }
//li a { padding-top: 15px; } /* ALS */
//li:last-child { padding-bottom: 15px; } /* ALS */
b, strong { .f_med; }
h2 {
  display: block;
  width: 100%;
  padding: 15px 30px;
  vertical-align: middle;
  .f_lig;
  font-size: 24px;
  text-decoration: none;
  border: 0;
  outline: 0;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  background-color: @blue;
  outline: 0;
  -moz-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
  .boxsizing;
}
h3 {
  font-size: 18px;
  .f_med;
  text-transform: uppercase;
}
}

.c-home_banners {
  padding: 40px 0;
  padding-bottom: 20px;
}
.c-home_banner {
  position: relative;
  padding-bottom: 18.64%;
  margin-bottom: 20px;
  background-position: center;
  .bg-cover;

  a {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    outline: 0;
  }
  h1 {
    position: absolute;
    width: 100%;
    padding: 5px 20px;
    font-size: 20px;
    .f_lig;
    color: #fff;
    text-transform: uppercase;
    background-color: @blue;
    .boxsizing;
  }
}
@media only screen and (max-width: @mobile){
  .c-home_banners {
    .grid_6 { 
      h1 { 
        padding: 0 20px; 
        font-size: 14px;
      }
      .container_12.grid_12; 
      padding-bottom: 37.64%;
    }
  }
}

.title {
  .f_med;
  font-size: 18px;
  color: @blue;
  text-align: center;
  text-transform: uppercase;
}

.c-home_associados {
  margin-top: 30px;
  padding-top: 30px;
  margin-bottom: 70px;
  border-top: solid 1px #ebebeb;

  .title { 
    margin-bottom: 35px; 
    color: #a1a1a1;
  }
  .item {
    position: absolute;
    height: 75px;

    img {
      position: absolute;
      left: 50%;
      top: 50%;
      max-height: 100%;
      max-width: 100%;
      ._transform(-50%, -50%, 0);
    }
  }
  .arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    margin-top: -25.5px;
    cursor: pointer;
  }
  .arrow[class*="left"] { left: -40px; }
  .arrow[class*="right"] { right: -40px; }
}

.c-footer {
  padding: 40px 0;
  font-size: 14px;
  line-height: 24px;
  .f_lig;
  color: @blue;
  background-color: #ebebeb;

  .sprite {
    float: left;
    margin-right: 20px;
  }
  a {
    text-decoration: none;
    color: @blue;
  }
  a:hover { text-decoration: underline; }
  .icons {
    font-size: 0;
    img { margin-left: 5px; }
  }
}
@media only screen and (max-width: @mobile){
  .c-footer {
    .grid_6 { 
      .container_12.grid_12; 
      text-align: center;
      margin-bottom: 20px;
    }
  }
}

.c-topo_interior {
  height: 100px;
  margin-top: 160px;
  line-height: 100px;
  vertical-align: middle;
  background-position: center;
  .bg-cover;

  h1 {
    color: #fff;
    font-size: 30px;
    .f_lig;
  }
}
@media only screen and (max-width: @desktop){
  .c-topo_interior { margin-top: 92px; }
}

.c-side_box {
  .bt { margin-bottom: 30px; }
  .bt_agenda {
    position: relative;
    width: 100%;
    padding: 22px 30px;
    height: auto;
    line-height: 26px;
    cursor: pointer !important;

    .boxsizing;
    .sprite {
      position: relative;
      top: 1px;      
      float: right;
    }
  }
}

.c-box {
  width: 100%;
  margin-bottom: 30px;

  .bt {
    width: 100%;
    margin-bottom: 0px;
    cursor: default;
    .boxsizing;
  }
  .bt:hover { background-color: @blue; }
  .links {
    padding: 15px;
    color: @blue;
    font-size: 18px;
    .f_lig;
    background-color: #ebebeb;
    .boxsizing;

    a {
      display: block;
      margin-bottom: 5px;
      color: @blue;
      text-decoration: none;
      outline: 0;
    }
    a:last-child { margin-bottom: 0px; }
    a:hover { color: @blue_lig; }
    a.selected { .f_med; }
    .subpage {
      padding-left: 20px;
      font-size: 17px;
    }
    .subpage:last-child { margin-bottom: 10px; }
  }
  .links--genlist,
  .links--noticia {
    .f_med;
    font-size: 16px;
    line-height: 20px;

    a,div { margin-bottom: 10px; }
    span {
      display: block;
      .f_lig;
      font-size: 16px;
    }
  }
  .links--boxassociados {
    font-size: 16px;
    line-height: 20px;
    a { 
      position: relative;
      padding-left: 7px;
      .f_med; 
      margin-bottom: 15px;
    }
    a:before {
      content: '·';
      position: absolute;
      top: -2px;
      left: 0px;
    }
  }
}

.c-content_interior {
  padding: 50px 0;
}
@media only screen and (max-width: @ipadPortrait){
  .c-content_interior {
    .c-side_box,
    .c-editor { .container_12.grid_12; }
  }
}

.c-editor {
  font-size: 18px;
  .f_lig;
  color: @gray2;
  h1 {
    margin-bottom: 30px !important;
    .f_med;
    font-size: 24px;
    line-height: 34px;
    color: @blue;
    text-transform: uppercase;
  }
  h2 {
    margin-bottom: 20px;
    .f_med;
    font-size: 20px;
    color: @gray2;
    text-transform: uppercase;
  }
  h3 {
    .f_med;
    font-size: 18px;
    color: @gray2;
  }
  b {
    .f_med;
  }
  a {
    color: #d51900;
    .f_med;
  }
  img {
    max-width: 100%;
    height: auto !important;
  }
  table {
    width: 100%;
    border: 0;
    td {
      font-size: 15px;
      padding: 7px 10px;
      .f_med;
      text-align: center;
      border: solid 2px #fff;

      color: @gray2;
      background-color: #ebebeb;
    }
    tr:first-child td {
      color: #fff;
      background-color: #898989;
    }
  }
  blockquote {
    .reset;
    font-style: italic;
  }
  .ileft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .iright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .one_half,
  .one_third,
  .one_quarter {
    img {
      width: 100%;
      height: auto;
    }
  }
  .one_half { width: 48%; }
  .one_third { width: 33%; }
  .one_quarter { width: 25%; }
  .content_tipo_1 {
    clear: both;
    margin-bottom: 40px;
    .thumb {
      width: 31.81%;
      margin-bottom: 2.27%;
      margin-right: 2.27%;
      float: left;
      border: solid 1px #b7b7b7;
      img { 
        width: 100%;
        height: auto;
      }
    }
    .content {
      width: 65.90%;
      float: left;
    }
  }//end .content_tipo_1
  .content_tipo_2 {
    .thumb {
      width: 30.81%;
      margin-bottom: 2.27%;
      margin-right: 2.27%;
      float: left;
      img { 
        width: 100%;
        height: auto;
      }
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-editor {
    .ileft,
    .iright { 
      width: 100%; 
      text-align: center;
    }
    .content_tipo_2 {
      .thumb {
        width: 47%;
        margin: 0 1.135%;
      }
    }
    .content_tipo_1 {
      .thumb { 
        width: 100%; 
        margin-bottom: 30px;
      }
      .content { width: 100%; }
    }
  }
}



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

.c-form,
.c-associados_pesquisa {
  &.c-box {
    margin-bottom: 0px;
  }
  h1 {
    margin-top: 20px;
    margin-bottom: 10px;
    .f_med;
    font-size: 20px;
    color: @blue;
  }
  select,
  input[type="password"],
  input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    .f_lig;
    border: solid 2px #d7d7d7;
    outline: 0;
    .boxsizing;
  }
  select { color: @blue; }
  select option[disabled] {
      color: #183680 !important;
      font-weight: bold;
  }
  input[type="submit"] {
    width: 100%;
    height: 50px;
    font-size: 18px;
    color: #fff;
    .f_med;
    background-color: #b2b2b2;
    border: 0;
    outline: 0;
  }
  .fields {
    padding: 25px;
    background-color: #ebebeb;
    .boxsizing;
  }
  .row {
    position: relative;
    margin-bottom: 10px;
  }
  .row--pesquisa {
    input[type="submit"] { 
      width: 148px; 
      float: right;
    }
    input[type="password"],
    input[type="text"] {
      width: ~"calc(100% - 158px);";
      float: left;
    }
  }
  .flex {
    .flex-wrap;
  }
  div.error {
    position: absolute;
    right: 158px;
    top: 0px;
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    .f_lig;
    font-size: 16px;
    color: #fff;
    background-color: #d51900;
    text-transform: uppercase;
  }
}

.c-noticias_pesquisa {
  .grid_12 {
    padding: 20px;
    background-color: #ebebeb;
    .boxsizing;
  }
  select {
    width: 360px;
  }
  .row { margin-bottom: 0px; }
  .text {
    width: 527px;
    float: right;
    [type="submit"] { 
      float: right; 
      width: auto;
      padding: 0 20px;
    }
    [type="text"] {
      float: left;
      width: ~"calc(100% - 150px);";
    }
  }
}
@media only screen and (max-width: @ipadPortrait){
  .c-noticias_pesquisa.c-noticias_pesquisa {
    .text { width: 100%; }
    select,
    input[type="text"],
    input[type="submit"] {
      width: 100%;
      margin-bottom: 10px;
      .boxsizing;
    }
    input[type="submit"] { margin-bottom: 0px; }
  }
}

.c-associados_ficha {
  .meta {
    padding: 20px;
    margin-bottom: 20px;
    .boxsizing;
    h1 {
      .f_med;
      font-size: 20px;
    }
    h2 {
      .f_lig;
      font-size: 15px;
    }
    color: #fff;
    background-color: @blue;
  }
  .content {
    padding: 20px;
    color: #6b6b6b;
    .f_lig;
    font-size: 18px;
    border:solid 2px #d7d7d7;
    .boxsizing;
    .thumb {
      width: 100%;
      height: 120px;
      margin-bottom: 15px;
      text-align: center;
      img {
        max-width: 100%;
        max-height: 100%;
      }
    }
    b { .f_med; }
  }
  .morada { margin-bottom: 15px; }
  .contactos {
    b {
      display: inline-block;
      min-width: 125px; //100px
    }
    a {
      color: #d51900;
    }
  }
}

.c-list {
  margin-bottom: 30px;
  .wrapper {
    .flex;
    .flex-wrap;
  }
  .item,
  .grid_3 {
    display: none;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fff;
    border:solid 2px #d7d7d7;
    .boxsizing;
    &.visible { display: block; }
    h1 {
      margin-top: 20px;
      color: @blue;
      font-size: 16px;
      .f_med;
    }
    .thumb {
      width: 100%;
      height: 120px;

      img {
        max-width: 100%;
        max-height: 100%;
      }
    }
    a { 
      outline: 0;
      text-decoration: none; 
    }
    .meta {
      margin-bottom: 15px;
      padding: 5px 10px;
      float: left;
      font-size: 13px;
      .f_lig;
      color: @blue;
      background-color: #ededed;
    }
  }//end grid3
  .item:hover,
  .grid_3:hover {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.21);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.21);
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.21);
  }
  .item--big {
    .thumb {
      width: 230px;
      height: auto;
      float: left;
      font-size: 13px;
    }
    .content {
      width: ~"calc(100% - 245px);";
      float: left;
      margin-left: 15px;
      text-align: left;
    }
    h1 { 
      clear: both;
      font-size: 18px; 
    }
  }
}
.c-list--documentos,
.c-list--documentos_reservado {
  .item {
    text-align: left;
    .icon_doc {
      float: left;
      margin-right: 20px;
    }
    .data {
      color: @blue;
      .f_lig;
      font-size: 16px;
    }
    h1 {
      margin-top: 0px;
      font-size: 16px;
    }
    .content {
      float: left;
      width: ~"calc(100% - 50px);";
    }
    p {
      margin: 0;
      color: @blue;
      font-size: 13px;
      .f_lig;
    }
  }
}
@media only screen and (max-width: @mobile){ 
  .c-list--documentos {
    .grid_3 { .container_12.grid_12; }
  }
}
.c-list--documentos_reservado {

}

.c-associados_container {
  margin-top: 30px;
  margin-bottom: 30px;
  .wrapper {
    .flex;
    .flex-wrap;
  }
}
@media only screen and (max-width: @mobile){
  .c-associados_container.c-associados_container {
    .wrapper { display: block; }
    .grid_6 { .container_12.grid_12; }
    .c-map {
      margin-top: 30px;
      height: 300px;
    }
    
  }
}

.c-associados_list {}
@media only screen and (max-width: @mobile){
  .c-associados_list {
    .grid_3 { .container_12.grid_6; }
  }
}

.l-content_title {
  margin-bottom: 20px;
  font-size: 24px;
  .f_med;
  color: @blue;
  text-transform: uppercase;
  text-align: center;
}

.c-tooltip {
  position: absolute;
  z-index: 300;
  padding: 15px;
  padding-right: 30px;
  max-width: 320px;
  .f_reg;
  color: @blue;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 0px 0px 12px 0px rgba(133,133,133,0.7);
  -moz-box-shadow: 0px 0px 12px 0px rgba(133,133,133,0.7);
  box-shadow: 0px 0px 12px 0px rgba(133,133,133,0.7);
  cursor: pointer;
  .boxsizing;
  .transition(0.3s);

  &.visible {
    opacity: 1;
    visibility: visible;
  }
  .sprite {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;
  }
}

.l-pesquisa_nula {
  padding-top: 30px;
  .f_med;
  font-size: 18px;
  color: #d51900;
  text-align: center;

  .sprite {
    position: relative;
    top: 7px;
    display: inline-block;
    margin-right: 10px;
  }
}
.l-pesquisa--check {
  color: #6ac259;
}

.c-publicacoes {
  width: ~"calc(100% - 100px);";
  .flex;
  .flex-wrap;
  .grid_3 {
    float: none;
    margin-bottom: 20px;
    text-align: center;
  }
  img { margin-bottom: 10px; }
  h1 {
    .f_med;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 18px;
  }
  p {
    margin-bottom: 0px;
    font-size: 14px;
  }
}
@media only screen and (max-width: @mobile){
  .c-publicacoes {
    width: 100%;
    .grid_3 { .container_12.grid_6; }
  }
}

.c-login,
.c-pesquisa_documentos {
  margin: 30px 0;
  .flex-container {
    .flex;
    .flex-wrap;
  }
  .c-box {
    height: 100%;
    .links {
      height: ~"calc(100% - 70px);";
    }
  }
  form {
   height: ~"calc(100% - 70px);";
   .fields { height: 100%; }
  }
}
@media only screen and (max-width: @mobile){
  .c-login,
  .c-pesquisa_documentos {
    .flex-container { display: block; }
    .grid_9, .grid_3 { 
      margin-bottom: 20px;
      .container_12.grid_12; 
    }
  }
}

.c-login {
  .bt_agenda { .c-side_box.bt_agenda; }
}

.c-reservado_ficha_associado {
  position: relative;
  margin-top: 30px;

  .bt--gray3 {
    position: absolute;
    top: 50%;
    right: 0px;
    margin-top: -20px;
    margin-right: 20px;
    text-transform: none;
  }
  .meta {
    position: relative;
    padding: 20px;
    padding-right: 310px;
    margin-bottom: 20px;
    text-transform: uppercase;
    .boxsizing;
    h1 {
      .f_med;
      font-size: 20px;
      line-height: 23px;
    }
    h2 {
      margin-bottom: 5px;
      .f_lig;
      font-size: 20px;
    }
    color: #fff;
    background-color: @blue;
  }
  .content {
    padding: 20px;
    margin-bottom: 20px;
    color: #6b6b6b;
    .f_lig;
    font-size: 18px;
    border:solid 2px #d7d7d7;
    .boxsizing;
    .thumb {
      width: 100%;
      height: 120px;
      margin-bottom: 15px;
      text-align: center;
      img {
        max-width: 100%;
        max-height: 100%;
      }
      
    }
    .publico {
      color: #1c3880; 
      background-color: #f8f8f8;
    }
    .label { 
      width: 35.24%;
      float: left;
      font-size: 15px;
      line-height: 18px;
      /*padding-top: 10px;*/
      padding: 10px 0;
      text-transform: uppercase;
      .f_med; 
    }
    .field {
      position: relative;
      width: 61.75%;
      float: right;
      select,
      textarea,
      input[type="file"],
      input[type="text"] {
        width: 100%;
        height: 40px;
        padding: 0 10px;
        font-size: 18px;
        .f_lig;
        color: @gray2;
        background-color: @gray;
        border: 0;
        outline: 0;
        .boxsizing;
      }
      a {
        margin-right: 20px;
      }
      textarea { 
        padding: 10px;
        height: 150px; 
      }
      input[type="file"] { 
        padding: 8px; 
        width: 75%;
        font-size: 16px;
      }
      input[readonly] { background-color: #fff; }
      div.error {
        position: absolute;
        right: 0px;
        top: 0px;
        padding: 0 30px;
        height: 40px;
        line-height: 40px;
        vertical-align: middle;
        .f_lig;
        font-size: 16px;
        color: #fff;
        background-color: #d51900;
        text-transform: uppercase;
      }
      .legal {
        font-size: 16px;
        .f_lig;
      }
    }
    b {
      color: @red;
      .f_med;
    }
    a { color: @red; }
    .row { margin-bottom: 10px; }
    .logo_associado {
      width: 35.24%;
      float: left;
      text-align: center;
      img {
        max-width: 100%;
        height: auto;
      }
    }
    .nota {
      position: relative;
      width: 61.75%;
      float: right;
      font-size: 16px;
      .f_lig;
      text-align: center;
    }
  }//end content
  .content.nota_publico { 
    font-size: 16px; 
    font-style: italic;
    border: 0;
    padding: 0 20px;
  }
  .readonly.readonly {
    input { background-color: #fff; }
  }
}
@media only screen and (max-width: 875px){
  .c-reservado_ficha_associado {
    .grid_9 { .container_12.grid_12; }
    .c-side_box { .container_12.grid_12; }
    .content {
      .label { 
        width: 100%;
        padding-bottom: 5px; 
      }
      .field { width: 100%; }
      .row { margin-bottom: 15px; }
    }
  }
}

.c-list_agenda {
  margin-top: 30px;
  margin-bottom: 40px;
}
.c-agenda_item {
  a { text-decoration: none; }
  .tab {
    position: relative;
    padding: 30px 25px;
    margin-bottom: 10px;
    font-size: 20px;
    .f_lig;
    color: #fff;
    background-color: @blue;
    text-transform: uppercase;
    cursor: pointer;
    .boxsizing;
    &:after {
      content: '';
      position: absolute;
      top: 50%;
      right: 30px;
      width: 1px;
      height: 1px;
      margin-top: -4px;
      border-left: solid 8px transparent;
      border-right: solid 8px transparent;
      border-top: solid 10px #fff;
    }
  }
  .item {
    display: none;
    position: relative;
    padding-left: 70px;
    margin-bottom: 10px;
    color: @blue;
    font-size: 16px;
    border:solid 2px #d7d7d7;
    .boxsizing;

    .spacer { 
      padding: 22px; 
      padding-left: 0px;
    }
    .sprite {
      position: absolute;
      left: 22px;
      top: 22px;
    }
    .data,
    .subtit {
      .f_lig;
    }
    .tit {
      margin: 5px 0;
      .f_med;
    }
  }
}
.c-agenda_item.open {
  .tab {
    &:after {
      border-top: 0;
      border-bottom: solid 10px #fff;
    }
  }
}

[page-not-found] {
  margin-top: 160px;
  color: @blue;
  .f_reg;
  font-size: 18px;
}

@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;
}

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

[ui-view].ng-enter {

}

[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: @blue !important;
    color: @blue !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;
}