@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: #fff;
}

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

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

form {
  input { outline: 0; }
}

div { .boxsizing; }
a { 
  color: @secondary;
  text-decoration: none; 
}
a.selected,
a:hover { color: @primary; }
[dir-load-svg]{
  svg {
    width: 100%;
    height: auto;
  }
}
@skyIndex:3000;

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

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

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  margin: 40px 0;
  font-size: 32px;
  line-height: 1.1;
  color: @primary;
}
.h2, h2 {
  margin: 30px 0;
  font-size: 28px;
}
.h3, h3 {
  margin: 20px 0;
  font-size: 24px;
}
.h4, h4 {
  margin: 15px 0;
  font-size: 22px;
}
.h5, h5 {
  margin: 10px 0;
  font-size: 18px;
}
.h6, h6 {
  margin: 10px 0;
  font-size: 16px;
}



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

.c-back_drop {
  position: fixed;
  z-index: 1;
  width: 50%;
  height: 100%;
  background-color: #b8ccc2;
}

.bt {
  display: inline-block;
  height: 54px;
  padding: 0 20px;
  line-height: 54px;
  vertical-align: middle;
  font-size: 20px;
  text-decoration: none;
  border: 0;
  outline: 0;
  .transition(0.3s);
}
.bt:hover {
  color: #fff;
}
.bt-blue {
  color: #fff;
}
.bt-blue:hover {
}

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

  .arrow {
    position: absolute;
    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 .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);
    }
  }
}

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


/*
amoreiras - 2
braga - 3
oeiras - 4
spacio - 5
strada - 6
arena - 8
alvalade - 9
*/
//cores
@oeiras: #007fae;
@braga: #0097d5;
@amoreiras: #1e1e1e;
@spacio: #aa9d6e;
@strada: #000000;
@arena: #00778F;
@alvalade: #fa7d44;
@campus: #e3901a;

.c-topo {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #a1a1a1;

  img {
    height: 50px;
  }
  &.c_2 {
    background-color: @amoreiras;
  }
  &.c_3 {
    background-color: @braga;
  }
  &.c_4 {
    background-color: @oeiras;
  }
  &.c_5 {
    background-color: @spacio;
  }
  &.c_6 {
    background-color: @strada;
  }
  &.c_8 {
    background-color: @arena;
    img { height: 60px; }
  }
  &.c_9 {
    background-color: @alvalade;
  }
}
@media only screen and (max-width: @mobile){
  .c-topo {
    img {
      height: 40px !important;
    }
  }
}

.c-imagem_topo {
  margin: 40px 0;

  img {
    width: 100%;
    height: auto;
  }
}

.l-title {
  .reset;
  margin-bottom: 30px;
  font-size: 32px;
  text-align: center;
  text-transform: uppercase;
  &.small {
    font-size: 26px;
  }
  &.label {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 24px;
    text-transform: none;
    text-align: left;
  }
  &.message {
    font-size: 20px;
    font-weight: 400!important;
    text-transform: none;
    text-align: center;
    color: #000!important;
  }
  &.c_2 {
    color: @amoreiras;
    .f_amoreiras_semibold;

    span { font-size: 16px; }
  }
  &.c_3 {
    color: @braga;
    .f_braga_semibold;
  }
  &.c_4 {
    color: @oeiras;
    .f_oeiras_semibold;
  }
  &.c_5 {
    color: @spacio;
    .f_spacio_semibold;
  }
  &.c_6 {
    color: @strada;
    .f_strada_semibold;
  }
  &.c_8 {
    color: @arena;
    .f_arena_semibold;
  }
  &.c_9 {
    color: @alvalade;
    .f_alvalade_semibold;
  }
}

.c-editor {
  margin-bottom: 40px;
  font-size: 16px;

  a:hover { text-decoration: underline; }
  .download_regulamento {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    svg {
      width: 15px;
      margin-right: 10px;
    }
  }
  

  &.c_2 {
    .f_amoreiras_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @amoreiras;
    }
    .download_regulamento {
      .f_amoreiras_semibold;
      svg path { fill: @amoreiras; }
    }
  }
  &.c_3 {
    .f_braga_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @braga;
    }
    .download_regulamento {
      .f_braga_semibold;
      svg path { fill: @braga; }
    }
  }
  &.c_4 {
    .f_oeiras_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @oeiras;
    }
    .download_regulamento {
      .f_oeiras_semibold;
      svg path { fill: @oeiras; }
    }
  }
  &.c_5 {
    .f_spacio_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @spacio;
    }
    .download_regulamento {
      .f_spacio_semibold;
      svg path { fill: @spacio; }
    }
  }
  &.c_6 {
    .f_strada_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @strada;
    }
    .download_regulamento {
      .f_strada_semibold;
      svg path { fill: @strada; }
    }
  }
  &.c_8 {
    .f_arena_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @arena;
    }
    .download_regulamento {
      .f_arena_semibold;
      svg path { fill: @arena; }
    }
  }
  &.c_9 {
    .f_alvalade_regular;

    h1,h2,h3,h4,h5,h6,
    a {
      color: @alvalade;
    }
    .download_regulamento {
      .f_alvalade_semibold;
      svg path { fill: @alvalade; }
    }
  }
}

.splide {
  width: ~"calc(100% - 70px);";
  margin: 40px auto;
  margin-top: 0px;
  padding-bottom: 35px;
}
.splide__slide {
  text-align: center;
  padding: 0 10px;
  img {
    height: 280px;
    margin-bottom: 10px;
  }
  div {
    font-size: 18px;
  }
}
.splide {
  //oeiras
  &.c_2 .splide__slide {
    div {
      .f_amoreiras_regular;
    }
  }
  &.c_3 .splide__slide {
    div {
      .f_braga_regular;
    }
  }
  &.c_4 .splide__slide {
    div {
      .f_oeiras_regular;
    }
  }
  &.c_5 .splide__slide {
    div {
      .f_spacio_regular;
    }
  }
  &.c_6 .splide__slide {
    div {
      .f_strada_regular;
    }
  }
  &.c_8 .splide__slide {
    div {
      .f_arena_regular;
    }
  }
  &.c_9 .splide__slide {
    div {
      .f_alvalade_regular;
    }
  }
}
.splide__pagination__page {
  width: 15px;
  height: 15px;
  margin: 5px;
}
.splide__pagination__page.splide__pagination__page.is-active {
  transform: scale(1);
  background-color: #656570;
}//end

.c-form {
  label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    color: #000;
    .obg {
      display: inline-block;
      margin-left: 5px;
    }
  }
  textarea,
  input[type="text"] {
    width: 100%;
    padding: 10px;
    height: 50px;
    font-size: 16px;
    border: solid 2px #bfbfbf;
    .rounded(5px);
    .boxsizing;
  }
  textarea {
    height: 150px;
  }
  input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  button,
  input[type="submit"] {
    display: block;
    .m_center;
    padding: 0 60px;
    margin-top: 20px;
    height: 55px;
    color: #fff;
    border: 0;
    text-transform: uppercase;
    .rounded(5px);
  }
  div.error {
    position: absolute;
    z-index: 2;
    line-height: 50px;
    right: 0;
    bottom: 0;
    padding: 0 30px;
    height: 50px;
    color: #fff;
    border: 0;
    .rounded(5px);
  }
  .div_captcha {
    div.error {
      bottom: auto;
      top: 0;
    }
  }
  .valbox {
    position: relative;
    margin-bottom: 15px;
  }
  .radio_flex {
    display: flex;
    align-items: center;
    margin-left: 40px;
    margin-bottom: 10px;
  }
  .inline_flex {
    display: flex;
    height: 50px;
    align-items: center;
    div {
      display: flex;
      margin-right: 15px;
    }
  }
  .file_flex {
    position: relative;
    display: flex;
    input[type="file"] {
      position: absolute;
      z-index: 2;
      height: 50;
      width: 100%;
      opacity: 0;
      cursor: pointer;
    }
    button {
      margin: 0;
      padding: 0 20px;
      margin-left: 15px;
      height: 50px;
    }
  }
  .nota {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
  }
  .termos {
    width: 100%;
    display: flex;
    font-size: 14px;
    input[type="checkbox"] {
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }
  }
  .campos_obg {
    margin: 20px 0;
    text-align: center;
  }


  /*
  amoreiras - 2
  braga - 3
  oeiras - 4
  spacio - 5
  strada - 6
  arena - 8
  alvalade - 9
  */
  &.c_2 {
    .f_amoreiras_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @amoreiras;
      .f_amoreiras_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @amoreiras; }
    .termos {
      .f_amoreiras_regular;
    }
    label {
      .f_amoreiras_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_amoreiras_regular;
    }
  }
  &.c_3 {
    .f_braga_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @braga;
      .f_braga_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @braga; }
    .termos {
      .f_braga_regular;
    }
    label {
      .f_braga_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_braga_regular;
    }
  }
  &.c_4 {
    .f_oeiras_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @oeiras;
      .f_oeiras_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @oeiras; }
    .termos {
      .f_oeiras_regular;
    }
    label {
      .f_oeiras_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_oeiras_regular;
    }
  }
  &.c_5 {
    .f_spacio_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @spacio;
      .f_spacio_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @spacio; }
    .termos {
      .f_spacio_regular;
    }
    label {
      .f_spacio_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_spacio_regular;
    }
  }
  &.c_6 {
    .f_strada_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @strada;
      .f_strada_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @strada; }
    .termos {
      .f_strada_regular;
    }
    label {
      .f_strada_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_strada_regular;
    }
  }
  &.c_8 {
    .f_arena_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @arena;
      .f_arena_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @arena; }
    .termos {
      .f_arena_regular;
    }
    label {
      .f_arena_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_arena_regular;
    }
  }
  &.c_9 {
    .f_alvalade_regular;

    div.error,
    button,
    input[type="submit"] {
      background-color: @alvalade;
      .f_alvalade_semibold;
    }
    a {
      color: #000;
      text-decoration: underline;
    }
    a:hover { color: @alvalade; }
    .termos {
      .f_alvalade_regular;
    }
    label {
      .f_alvalade_medium;
      font-weight: 500;
    }
    .valbox,
    input[text="text"] {
      .f_alvalade_regular;
    }
  }

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

.c-novidades {
  width: 100%;
  padding: 60px 0;
  margin-top: 60px;
  background-color: #000;

  .l-title {
    color: #fff;
  }
  img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
  }
  .tema {
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
  }
  .titulo {
    font-size: 18px;
    color: #fff;
  }
  .grid_3:hover  a { text-decoration: underline; }

  /*
  amoreiras - 2
  braga - 3
  oeiras - 4
  spacio - 5
  strada - 6
  arena - 8
  alvalade - 9
  */
  &.c_2 {
    background-color: @amoreiras;
    .titulo {
      .f_amoreiras_semibold;
    }
    .tema {
      .f_amoreiras_regular;
    }
  }
  &.c_3 {
    background-color: @braga;
    .titulo {
      .f_braga_semibold;
    }
    .tema {
      .f_braga_regular;
    }
  }
  &.c_4 {
    background-color: @oeiras;
    .titulo {
      .f_oeiras_semibold;
    }
    .tema {
      .f_oeiras_regular;
    }
  }
  &.c_5 {
    background-color: @spacio;
    .titulo {
      .f_spacio_semibold;
    }
    .tema {
      .f_spacio_regular;
    }
  }
  &.c_6 {
    background-color: @strada;
    .titulo {
      .f_strada_semibold;
    }
    .tema {
      .f_strada_regular;
    }
  }
  &.c_8 {
    background-color: @arena;
    .titulo {
      .f_arena_semibold;
    }
    .tema {
      .f_arena_regular;
    }
  }
  &.c_9 {
    background-color: @alvalade;
    .titulo {
      .f_alvalade_semibold;
    }
    .tema {
      .f_alvalade_regular;
    }
  }
}
@media only screen and (max-width: @mobile){
  .c-novidades {
    .grid_3 {
      margin-bottom: 40px;
      .container_12.grid_12;
    }
  }
}

.c-footer {
  width: 100%;
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;

  /*
  amoreiras - 2
  braga - 3
  oeiras - 4
  spacio - 5
  strada - 6
  arena - 8
  alvalade - 9
  */
  &.c_2 {
    .f_amoreiras_regular;
  }
  &.c_3 {
    .f_braga_regular;
  }
  &.c_4 {
    .f_oeiras_regular;
  }
  &.c_5 {
    .f_spacio_regular;
  }
  &.c_6 {
    .f_strada_regular;
  }
  &.c_8 {
    .f_arena_regular;
  }
  &.c_9 {
    .f_alvalade_regular;
  }
}

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




@import "splide-core.min.less";
@import "splide.min.less";

.splide__arrow.splide__arrow {
  margin-top: -30px;
 background-color: #c8c8c8;
 path { fill: #fff; }
}
.splide__arrow--prev.splide__arrow--prev { left: -40px; }
.splide__arrow--next.splide__arrow--next { right: -40px; }