@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
@import url("https://use.fontawesome.com/releases/v5.12.1/css/all.css");
/* @import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"); */

@import url("./alfasoft/footer.css");
@import url("./alfasoft/home.css");
@import url("./alfasoft/news.css");
@import url("./alfasoft/events.css");
@import url("./alfasoft/course.css");
@import url("./alfasoft/service.css");
@import url("./alfasoft/sharethis.css");
@import url("./alfasoft/discipline.css");
@import url("./alfasoft/mobilidade.css");
@import url("./alfasoft/login.css");

:root {
  /*colors*/
  --dark-green-color: #00988a;
  --green-color-hover: #005e56;
  --white-color: #ffffff;
  --light-gray-color-1: #58595b;
  --light-gray-color-2: #efefef;
  --light-gray-color-3: #9e9e9e;
  --light-gray-color-4: #d2d2d2;
  --dark-gray-color-1: #333333;
  --dark-gray-color-2: #707070;

  /*Margins*/
  --margin-72: 72px;
  --margin-24: 24px;
  --margin-16: 16px;

  /* Fonts Size */
  --font-32: 32px;
  --font-16: 16px;

  /*Fonts Family*/
  --lato-font: "Lato";
  --roboto-font: "Roboto";
  --fontawesome: "Font Awesome 5 Free";
}

* {
  font-family: Lato;
}

a:hover {
  color: var(--green-color-hover);
}

.breadcrumb-content-inner .gva-breadcrumb-content .breadcrumb-links nav.breadcrumb li {
  text-transform: none !important;
}
.breadcrumb-content-inner .gva-breadcrumb-content .breadcrumb-links nav.breadcrumb li:after {
  content: '/';
  padding: 0 2px 0px 0px;
}
.breadcrumb-content-inner .gva-breadcrumb-content .breadcrumb-links nav.breadcrumb li:last-child:after {
  display: none;
}
.breadcrumb-content-inner .gva-breadcrumb-content .breadcrumb-links nav.breadcrumb ol > li span {
  display: none;
}

.frontpage .fw-before-content {
  display: none;
}

.content .container .content-main-inner {
  margin-bottom: var(--margin-72);
}

.node--type-noticia .block-sharethis.block-sharethis-block.no-title,
.node--type-evento .block-sharethis.block-sharethis-block.no-title {
  text-align: right;
  position: relative;
  top: 15px;
  right: 20px;
}

.node--type-evento .block-sharethis.block-sharethis-block.no-title {
  top: 11px !important;
}

.node--type-servicos .content .container .content-main-inner,
.node--type-noticia .content .container .content-main-inner,
.node--type-evento .content .container .content-main-inner {
  margin-top: 0px;
}

#header .header-main {
  padding-top: 8px;
}

.topbar-right ul.gva_topbar_menu li:last-child {
  display: none;
}

.block-local-tasks-block {
  z-index: 90;
}

.owl-carousel .owl-nav>div {
  background: var(--dark-green-color) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.owl-carousel .owl-nav>div:hover {
  background: var(--green-color-hover) !important;
}

.navigation .gva_menu .sub-menu {
  border-top: 0;
}

.topbar-right ul.gva_topbar_menu li a[href^="/pt-pt/user/login"],
.topbar-right ul.gva_topbar_menu li a[href^="/pt-pt/user/logout"],
.topbar-right ul.gva_topbar_menu li a[href^="http://dev.estesl.ipl.cp02.alfasoft.pt/user/logout"] {
  font-family: "Roboto";
  font-weight: 700;
}

/*Header*/

header .topbar {
  border-bottom: 0;
  padding-bottom: 0;
}

.topbar-right ul.gva_topbar_menu li a[href^="http://dev.estesl.ipl.cp02.alfasoft.pt/user/logout"] {
  top: -78px;
  right: 25px;
  position: relative;
}

.topbar .topbar-right ul.gva_topbar_menu li>span {
  display: none;
}

header .topbar {
  background-color: #ffffff;
}

header .topbar a {
  color: #00988a;
}

header .topbar .topbar-right a img {
  width: 170px;
}

header .topbar .topbar-right a {
  text-decoration: none;
}

.node--type-page .widget.gsc-heading h2.title span {
  color: #00988a;
  font-size: 36px;
  font-weight: bold;
}

.node--type-noticia widget.gsc-heading h2.title span {
  color: #333333;
  font-size: 28px;
  font-weight: bold;
}

header .topbar .topbar-right a::before {
  content: none;
}

.topbar-right ul.gva_topbar_menu li a[href^="http://dev.estesl.ipl.cp02.alfasoft.pt/user/logout"]:after,
header .topbar .topbar-right #block-seletordeidioma .language-selector:after {
  content: "";
  width: 1px !important;
  height: 16px;
  top: 5px;
  background-color: #707070;
  position: absolute;
  margin-left: 4px;
}

.topbar .topbar-right ul.gva_topbar_menu>li::after {
  background-color: #707070;
  top: 5px;
  width: 1px !important;
}

.topbar .topbar-right ul.gva_topbar_menu>li {
  padding: 0 13px;
}

.topbar .topbar-right ul.gva_topbar_menu a:after {
  top: 3px;
}

.topbar .topbar-right ul.gva_topbar_menu>li a.link-user,
.topbar .topbar-first .language-selector>a.language {
  text-align: center;
  font-weight: Bold;
  font-size: 12px;
  font-family: "Roboto";
  letter-spacing: 0px;
  color: #00988a;
  opacity: 1;
}

.topbar .topbar-first .language-selector>a.language {
  margin-right: 6px;
}

.topbar a,
.link-user {
  color: #00988a;
}

.topbar a:hover {
  color: #00988a;
}

/*End Header*/

/* Menu */
header li.menu-item.menu-item--expanded>a {
  cursor: default;
  /*pointer-events: none;*/
}

.gva-navigation ul.gva_menu li.menu-item a {
  color: var(--dark-gray-color-1);
  font-family: var(--roboto-font);
  font-weight: bold;
  font-size: 12px;
}

@media (max-width: 992px) {
  .topbar-right>div {
    display: flex;
    justify-content: end;
    align-items: center;
  }
  .topbar-first .navigation .gva_menu {
    top: 4px !important;
    position: relative;
  }
  
  .topbar-first .navigation .gva_menu {
    display: flex !important;
  }
}

.gva-search-region .icon .fa-search {
  color: var(--dark-green-color);
  font-size: 20px;
}

.gva-navigation ul.gva_menu li.menu-item a:active,
.gva-navigation ul.gva_menu li.menu-item a:hover,
.gva-offcanvas-mobile .gva-navigation .gva_menu>li ul.menu.sub-menu li a:hover {
  color: var(--dark-green-color) !important;
}

.gva-navigation ul.gva_menu li.menu-item a:hover .sub-menu {
  z-index: 999 !important;
}

@media (min-width: 992px) and (max-width: 1500px) {
  .navigation .gva_menu li>ul.sub-menu {
    left: calc(-280px + 100%);
  }

  .navigation .gva_menu li ul.sub-menu li ul.sub-menu {
    left: -280px;
    max-width: 280px;
  }
}

@media (min-width: 991px) and (min-width: 992px) {
  .navigation .gva_menu li ul.sub-menu {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .navigation .gva_menu li ul.sub-menu li:first-child {
    padding-top: 15px;
  }

  .navigation .gva_menu li ul.sub-menu li:last-child {
    padding-bottom: 15px;
  }

  .navigation .gva_menu li:hover>ul.sub-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    margin-top: -1px;
    filter: alpha(opacity=100);
    -webkit-transform: rotateX(0);
    -moz-transform: rotateX(0);
    -ms-transform: rotateX(0);
    -o-transform: rotateX(0);
    transform: rotateX(0);
  }
}

@media (min-width: 1000px) and (max-width: 1240px) {
  .navigation .gva_menu li>ul.sub-menu>li>ul.sub-menu {
    position: absolute;
    left: 100%;
  }

  .navigation .gva_menu li ul.sub-menu li ul.sub-menu {
    right: 100%;
    max-width: 280px;
    position: absolute;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .navigation .gva_menu li.menu-item--expanded>a {
    padding: 10px;
  }
}

li.menu-item>div.sub-menu {
  display: none !important;
}

.gva_menu>li.menu-item:first-child>ul.sub-menu {
  width: auto !important;
  left: inherit !important;
}

/**
CSS MAIN NAVIGATION END
**/
/*end Menu*/

/* Downloads links */
.field--name-field-mdownloads .field__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.field--name-field-mdownloads a::before {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: var(--fontawesome);
  font-weight: 400;
  content: "\f358";
  margin-right: 7px;
  color: var(--dark-green-color);
}

/* End Downloads links*/

/* General Informations of course page*/
.block-views-blockcursos-block-1 h2.block-title::after,
.block-views-blockcursos-block-2 h2.block-title::after,
.block-views-blocknoticias-block-2 h2.block-title::after,
.block-views-blockeventos-block-2 h2.block-title::after {
  content: none;
}

.block-views-blockpagina-principal-block-1 h2.block-title span,
.block-views-blockcursos-block-1 h2.block-title span,
.block-views-blockcursos-block-2 h2.block-title span,
.block-views-blockcursos-block-8 h2.block-title span,
.block-views-blockcursos-block-9 h2.block-title span,
.block-views-blockservicos-block-1 h2.block-title span,
.block-views-blockservicos-block-2 h2.block-title span,
.block-views-blocknoticias-block-2 h2.block-title span,
.block-views-blockeventos-block-2 h2.block-title span {
  text-align: left;
  font-size: 24px !important;
  font-weight: Bold;
  letter-spacing: 0px;
}

.block-views .views-field,
.block-views .views-field {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  font-size: 16px;
  letter-spacing: 0px;
  color: #333333;
}

.block-views .views-field span,
.block-views .views-field span {
  margin-right: 5px;
}

/* Attach the block title of courses, services and events */
.block-views-blockcursos-block-1 h2.block-title span,
.block-views-blockcursos-block-2 h2.block-title span,
.block-views-blockcursos-block-8 h2.block-title span,
.block-views-blockcursos-block-9 h2.block-title span,
.block-views-blocknoticias-block-2 h2.block-title span {
  color: #333333;
  text-transform: none !important;
}

.block-views-blockeventos-block-2 h2.block-title span {
  color: #58595b;
}

/* Ends attach the block title of courses and services */

.block-views .block-title,
article h2.title {
  margin-bottom: 14px !important;
}

/*
.more-link a:hover {
  background-color: transparent;
  color: #00988a;
}
*/

article .container .node__title span span,
.as-maps-page-contact-us {
  text-align: left;
  font-weight: Bold;
  font-size: 28px;
  letter-spacing: 0px;
  color: #58595b !important;
  opacity: 1;
}

.as-contact-us {
  margin-top: 60px;
}

.as-maps-page-contact-us-title {
  text-align: left;
  font-weight: Bold;
  font-size: 24px;
  letter-spacing: 0px;
  color: #58595b;
  opacity: 1;
}

.as-maps-page-contact-us-message {
  text-align: left;
  font-size: 16px;
  letter-spacing: 0px;
  color: #333333;
  opacity: 1;
}

/* Ends Maps Page*/



.block-views-blockcursos-block-3 {
  display: none;
}

p.block-title {
  font-family: "Lato";
  color: white !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  height: 40px;
  font-size: 16px !important;
}

p.block-title::after {
  background: var(--light-gray-color-4) !important;
  width: 96px !important;
  height: 2px !important;
}

.footer-third ul.gva_menu {
  padding-left: 0 !important;
}

.node--type-licenciatura .field--name-field-logotipo img {
  width: 240px;
}

.as-title-course .views-field.views-field-title .field-content,
.as-titulo-banner-paginas-basicas .views-field.views-field-title {
  margin-bottom: 25px !important;
  font-size: 32px !important;
  color: white !important;
  font-weight: bold;
  font-family: Lato;
  text-transform: none !important;
  margin-bottom: 25px;
}


@media (min-width: 992px) and (min-width: 991px) {
  .navigation .gva_menu .sub-menu>li:hover>ul {
    left: -100%;
    right: 100%;
  }
}

.page-map .widget.gsc-heading h2.node__title,
.page-map .widget.gsc-heading h2.node__title span {
  font-family: "Lato";
  font-size: 28px;
  font-weight: 700;
  color: #333333 !important;
}

.widget.gsc-heading.style-2 .title {
  text-transform: unset;
}

* {
  font-family: "Lato";
}


.node--type-page .as-header-course,
.node--type-curso .as-header-course,
.path-cursos .as-header-course {
  font-size: 14px;
  font-weight: bold;
  /*text-transform: uppercase;*/
}

.node--type-page .as-header-course a,
.node--type-curso .as-header-course a,
body.path-cursos .as-header-course a {
  color: white;
}

.node--type-page .as-title-course a,
.node--type-curso .as-title-course a,
body.path-cursos .as-title-course a {
  color: white !important;
}

.node--type-page .as-header-course a.menuactive,
.node--type-curso .as-header-course a.menuactive,
body.path-cursos .as-header-course a.menuactive {
  font-size: 18px !important;
}

.node--type-servicos .fw-before-content.area,
.node--type-paginaprincipal .fw-before-content.area,
.node--type-page .fw-before-content.area,
.node--type-curso .fw-before-content.area,
.path-cursos .fw-before-content.area {
  /*margin-bottom: -100px;*/
  position: relative;
  min-height: 360px;
}

.fw-before-content.area {
  margin-bottom: 40px;
}

.node--type-curso .as-header-course,
body.path-cursos .as-header-course {
  position: absolute;
  bottom: 91px;
}

.node--type-page .as-header-course {
  position: absolute;
  bottom: 90px;
}

.as-titulo-banner-paginas-basicas .views-field-title,
.as-title-course,
.node--type-page .as-title-course,
.node--type-curso .as-title-course,
body.path-cursos .as-title-course {
  position: absolute;
  bottom: 120px;
}

.as-title-service {
  position: absolute;
  bottom: 130px;
}

.as-titulo-banner-paginas-basicas .views-field-field-menu {
  position: absolute;
  bottom: 92px;
}

.as-titulo-banner-paginas-basicas .views-field-field-menu .field-content {
  display: flex;
  flex-wrap: wrap;
}

.path-cursos .fw-before-content.area .block,
.node--type-paginaprincipal .fw-before-content.area .block,
.node--type-disciplinas .fw-before-content.area .block,
.node--type-page .fw-before-content.area .block,
.node--type-servicos .fw-before-content.area .block,
.node--type-curso .fw-before-content.area .block {
  margin-bottom: 0px;
}

.as-title-course .field-content a,
.as-title-service .field-content a {
  margin-top: 12.5px;
  margin-bottom: 25px;
}

.as-title-course .field-content,
.as-title-service .field-content {
  font-size: 32px;
  color: white;
  font-weight: bold;
  font-family: Lato;
  margin-bottom: 25px !important;
}

.as-imagem-course .field-content {
  background: rgba(0, 0, 0, 0) 0% 0% no-repeat padding-box;
}

.as-header-course a {
  margin-right: 16px;
}

.as-imagem-paginas-basicas img,
.as-imagem-servicos img,
.as-imagem-course .field-content img {
  opacity: unset;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 991px) {

  .path-eventos .pager__items.js-pager__items,
  .path-noticias .pager__items.js-pager__items {
    margin-top: 60px;
  }

  .path-eventos .menu-arquivo {
    position: relative;
    bottom: 177px;
    text-align: center;
  }

  .footer .block .block-title:after {
    left: calc(50% - 48px);
  }

  .views-field-field-mbannerpq .field-content img,
  .node--type-curso .views-field-field-mimage .field-content img,
  .path-curso .views-field-field-mimage .field-content img,
  .node--type-servicos .views-field-field-mbannerpq .field-content img,
  .path-servicos .views-field-field-mbannerpq .field-content img,
  .node--type-pagina .views-field-field-mbanner .field-content img,
  .node--type-page .views-field-field-mbanner .field-content img,
  .node--type-pagina .views-field-field-mimage .field-content img {
    height: 360px;
    min-height: 360px;
    object-fit: cover;
  }

  .node--type-curso div.fw-before-content.area,
  .path-curso div.fw-before-content.area,
  .node--type-servicos div.fw-before-content.area,
  .path-servicos div.fw-before-content.area {
    height: 360px;
  }

  .as-titulo-banner-paginas-basicas .views-field.views-field-title,
  .as-titulo-banner-paginas-basicas .views-field.views-field-title,
  .as-title-course .views-field.views-field-title .field-content,
  .as-title-service .field-content {
    font-size: 25px !important;
    line-height: 1.8;
  }

  /*.node--type-page .as-header-course,*/
  /*.node--type-curso .as-header-course,*/
  /*body.path-cursos .as-header-course {*/
  /*  top: 40px;*/
  /*}*/

  .header-main .branding img {
    max-width: 60%;
  }


  .node--type-curso .as-header-course,
  body.path-cursos .as-header-course {
    position: absolute;
    bottom: 60px;
  }

  .node--type-page .as-header-course {
    position: absolute;
    bottom: 60px;
  }

  .as-titulo-banner-paginas-basicas .views-field-title,
  .as-title-course,
  .node--type-page .as-title-course,
  .node--type-curso .as-title-course,
  body.path-cursos .as-title-course {
    position: absolute;
    bottom: 150px;
  }

  .as-titulo-banner-paginas-basicas .views-field-title .field-content {
    position: absolute;
    bottom: 0px;
    width: 100%;
  }

  .as-title-service {
    position: absolute;
    bottom: 160px;
  }

  .as-titulo-banner-paginas-basicas .views-field-field-menu {
    position: absolute;
    bottom: 61px;
  }

  .node--type-page .as-header-course a.menuactive,
  .node--type-curso .as-header-course a.menuactive,
  body.path-cursos .as-header-course a.menuactive {
    font-size: 18px !important;
  }

}

@media (max-width: 470px) {}

@media (min-width: 471px) and (max-width: 991px) {
  /*
    .node--type-curso .block-views-blockcursos-block-5, .path-cursos .block-views-blockcursos-block-5 {
      position: relative;
      bottom: 300px;
    }
    */
}

/* custom css for breadcrumbs */

.breadcrumb-text-left nav.breadcrumb {
  float: left;
  margin-bottom: 30px !important;
}

.navegacao-estruturada-corpo-do-texto .breadcrumb-style {
  height: 0px;
  display: unset;
  align-items: flex-end;
  background-size: unset;
  background-image: none !important;
}

.navegacao-estruturada-corpo-do-texto h2.page-title {
  display: none;
}

.breadcrumb-content-inner {
  background: none !important;
}

.navegacao-estruturada-corpo-do-texto {
  text-align: left;
  position: absolute;
  top: 0px;
}

#block-gavias-unix-content {
  margin-top: 0px;
}

#block-navegacaoestruturada nav.breadcrumb {
  display: none;
}

/* ocultar titulo da pagina */
.node--type-paginaprincipal .node__title.title,
.node--type-pagina .node__title.title {
  display: none;
}

#block-navegacaoestruturada-2 {
  position: relative;
  margin-top: 40px !important;
  /*margin-bottom: -20px;*/
}

.block.block-system-breadcrumb-block {
  margin-bottom: 0px;
}

.as-titulo-banner-paginas-basicas .views-field.views-field-title .field-content a {
  color: white;
  font-weight: bold;
}

.as-titulo-banner-paginas-basicas .views-field.views-field-title {
  width: 100%;
}


.as-titulo-banner-paginas-basicas .views-field.views-field-field-menu a {
  color: white;
  margin-right: 16px;
  font-weight: bold;
}

.as-imagem-paginas-basicas .views-field.views-field-field-mimage img {
  opacity: 1;
  min-height: 360px;
  object-fit: cover;
}

@media (min-width: 2000px) {
  .as-imagem-paginas-basicas .views-field.views-field-field-mimage img {
    width: 100vw;
    height: 360px;
  }
}

.node__content p.note,
.sidebar p.note,
.as-student-plan p.note {
  color: #707070 !important;
  font-size: 13px !important;
}

.views-field-field-mbannerpq .field-content,
.views-field-field-image .field-content,
.views-field-field-mimage .field-content {
  width: 100%;
}

.views-field-field-mbannerpq .field-content img,
.views-field-field-image .field-content img,
.views-field-field-mimage .field-content img {
  width: 100%;
}

.node--type-page .node__title {
  display: none;
}

#block-views-block-paginas-basicas-block-2,
#block-views-block-paginas-basicas-block-4 {
  height: 0px;
  margin-bottom: 0px;
}

.node--type-servicos article header,
.node--type-paginaprincipal article header {
  display: none;
}

.node--type-paginaprincipal article div#content {
  margin-top: 50px;
}

.node--type-docente .node--view-mode-full header {
  display: none;
}

.node--type-docente #block-gavias-unix-content {
  margin-top: 40px;

}

.node--type-docente .views-field-field-mimage .field-content img {
  border-radius: 50%;
  width: 220px;
  height: 220px;
}

.node--type-docente .views-element-container .views-field.views-field-title .field-content {
  font-size: 18px !important;
  font-weight: bold;
}

.node--type-docente .views-element-container .views-field.views-field-title {
  margin-top: 90px;
}

.node--type-docente .field--type-text-with-summary {
  margin-top: 30px;
}

.node--type-docente .gbb-row .bb-inner {
  padding-top: 10px;
  padding-bottom: 20px;
}

.table-no-border {
  border: 0px
}

.table-no-border td {
  border-width: 0px;
}

.node--type-page article a {
  color: var(--dark-green-color) !important;
}

.node--type-page article header {
  display: none;
}

.ckeditor-accordion-container>dl dt>a,
.ckeditor-accordion-container>dl dt.active>a {
  color: #FFFFFF !important;
}

/* .node--type-page .field--name-field-content-builder a { */
.node--type-page .gavias_sliderlayer a {
  color: var(--dark-gray-color-1) !important;
}

.node--type-page .gavias_sliderlayer a:hover {
  color: var(--dark-green-color) !important;
}

.main-content a,
.main-content a span,
.sidebar a,
.sidebar a span {
  color: #00988a;
}

body .ckeditor-accordion-container > dl {
  position: relative;
  border: 1px solid #00988a;
}

body .ckeditor-accordion-container > dl dt > a, 
body .ckeditor-accordion-container > dl dt > a:not(.button) {
  background-color: #00988a;
  border-bottom: 1px solid #00988a;
}

body .ckeditor-accordion-container > dl dt > a:hover,
body .ckeditor-accordion-container > dl dt > a:not(.button):hover {
  background-color: #00988a;
}
body .ckeditor-accordion-container > dl dt.active > a {
  background-color: #00988a;
}