/* Extra */
.ul-height-auto{
  height: auto !important;
}

.ul-text-white{
  color: white;
}
.ul-text-pre{
  white-space: pre;
}
.ul-text-pre-line{
  white-space: pre-line;
}
.ul-text-break-spaces{
  white-space: break-spaces;
}
.ul-text-break-spaces ul{
  white-space: normal;
}
.ul-underline{
  text-decoration: underline;
}
.ul-square{
  padding-top: 100%;
}

.ul-max-width{
  max-width: var(--max-width);
  margin: auto;
}
.ul-width-3xlarge{
  width: 900px;
}

.ul-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1px, 1fr));
}
.ul-grid-center{
  justify-items: center;
}

.uk-padding-bottom{
  padding-bottom: 20px;
}

.ul-icon-button-small{
  width: 25px;
  height: 25px;
}
.ul-icon-button-small svg{
  width: 14px;
  height: 14px;
}

.ul-red{
  color: var(--mel-red);
}
.ul-label-white{
  background: white;
  color: black;
}
.ul-bg-grey-light{
  background: var(--mel-grey-light);
}

.uk-badge.ul-version{
  text-transform: capitalize;
  background: #f8f8ff;
  color: #0b406b !important;
  font-size: 12px;
}

/* Extra UK */
.uk-button.uk-active{
  background: #ddf;
}
.uk-margin-30{
  margin: 30px !important;
}
.uk-margin-30-bottom{
  margin-bottom: 30px !important;
}
.uk-margin-30-top{
  margin-top: 30px !important;
}
.uk-margin-30-v{
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.uk-small{
	display:inline-block;
	line-height: 1.5em;
}

html body .ul-hero::before{
  background: rgba(0,0,0,var(--course-overlay-opacity, 0.5));
}

/* ul hero department */
.ul-hero.ul-hero-ects{
  background-blend-mode: multiply;
  background-color: var(--dep-ects-trans);
}
.ul-hero.ul-hero-ects::before{
  background-image: linear-gradient(to top, var(--dep-ects-trans-dark), transparent);
}
.ul-hero.ul-hero-eceo{
  background-blend-mode: multiply;
  background-color: var(--dep-eceo-trans);
}
.ul-hero.ul-hero-eceo::before{
  background-image: linear-gradient(to top, var(--dep-eceo-trans-dark), transparent);
}
.ul-hero.ul-hero-ecati{
  background-blend-mode: multiply;
  background-color: var(--dep-ecati-trans);
}
.ul-hero.ul-hero-ecati::before{
  background-image: linear-gradient(to top, var(--dep-ecati-trans-dark), transparent);
}
.ul-hero.ul-hero-epcv{
  background-blend-mode: multiply;
  background-color: var(--dep-epcv-trans);
}
.ul-hero.ul-hero-epcv::before{
  background-image: linear-gradient(to top, var(--dep-epcv-trans-dark), transparent);
}
.ul-hero.ul-hero-fcsea{
  background-blend-mode: multiply;
  background-color: var(--dep-fcsea-trans);
}
.ul-hero.ul-hero-fcsea::before{
  background-image: linear-gradient(to top, var(--dep-fcsea-trans-dark), transparent);
}
.ul-hero.ul-hero-fd{
  background-blend-mode: multiply;
  background-color: var(--dep-fd-trans);
}
.ul-hero.ul-hero-fd::before{
  background-image: linear-gradient(to top, var(--dep-fd-trans-dark), transparent);
}
.ul-hero.ul-hero-fefd{
  background-blend-mode: multiply;
  background-color: var(--dep-fefd-trans);
}
.ul-hero.ul-hero-fefd::before{
  background-image: linear-gradient(to top, var(--dep-fefd-trans-dark), transparent);
}
.ul-hero.ul-hero-fe{
  background-blend-mode: multiply;
  background-color: var(--dep-fe-trans);
}
.ul-hero.ul-hero-fe::before{
  background-image: linear-gradient(to top, var(--dep-fe-trans-dark), transparent);
}
.ul-hero.ul-hero-fmv{
  background-blend-mode: multiply;
  background-color: var(--dep-fmv-trans);
}
.ul-hero.ul-hero-fmv::before{
  background-image: linear-gradient(to top, var(--dep-fmv-trans-dark), transparent);
}
.ul-hero.ul-hero-iss{
  background-blend-mode: multiply;
  background-color: var(--dep-iss-trans);
}
.ul-hero.ul-hero-iss::before{
  background-image: linear-gradient(to top, var(--dep-iss-trans-dark), transparent);
}
.ul-hero.ul-hero-fdcp{
  background-blend-mode: multiply;
  background-color: var(--dep-fdcp-trans);
}
.ul-hero.ul-hero-fdcp::before{
  background-image: linear-gradient(to top, var(--dep-fdcp-trans-dark), transparent);
}
.ul-hero.ul-hero-fped{
  background-blend-mode: multiply;
  background-color: var(--dep-fped-trans);
}
.ul-hero.ul-hero-fped::before{
  background-image: linear-gradient(to top, var(--dep-fped-trans-dark), transparent);
}
.ul-hero.ul-hero-fcese{
  background-blend-mode: multiply;
  background-color: var(--dep-fcese-trans);
}
.ul-hero.ul-hero-fcese::before{
  background-image: linear-gradient(to top, var(--dep-fcese-trans-dark), transparent);
}
.ul-hero.ul-hero-fcaati{
  background-blend-mode: multiply;
  background-color: var(--dep-fcaati-trans);
}
.ul-hero.ul-hero-fcaati::before{
  background-image: linear-gradient(to top, var(--dep-fcaati-trans-dark), transparent);
}
.ul-hero.ul-hero-fcnet{
  background-blend-mode: multiply;
  background-color: var(--dep-fcnet-trans);
}
.ul-hero.ul-hero-fcnet::before{
  background-image: linear-gradient(to top, var(--dep-fcnet-trans-dark), transparent);
}

.ul-hero .ul-hero-gradient{
  position: absolute;
  top:0; left: 0;
  width: 100%; height: 100%;
  background-blend-mode: multiply;
}

.ul-hero.ul-hero-white{
  background: white;
}
.ul-hero.ul-hero-white::before{
  display: none;
}
html:not(a) body .ul-hero{
	background: none;
}
html body .ul-hero.ul-hero-white .ul-hero-header{
  color: black;
}
html body .ul-hero.ul-hero-left .uk-margin-auto{
  margin: 0 !important;
}
html body .ul-hero.ul-hero-left .ul-hero-header{
  text-align: left;
}
html body .ul-hero.ul-hero-white .ul-hero-anim{
  opacity: 1;
}
html body .ul-hero.ul-hero-white .ul-hero-anim #animated-institution path{
  /* stroke: url('#grad-b'); */
  stroke: black;
}

html body .ul-hero.ul-hero-white .ul-hero-header *{
  color: black;
	/* font-size: 5rem; */
}

.ul-hero picture img{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ul-hero::before,
.ul-hero > :not(picture){
  z-index: 1;
}
.ul-hero::before{
  pointer-events: none;
}

.ul-hero-buttons{
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
.ul-hero-buttons .uk-button{
  height: 50px;
  border: none;
  font-size: 16px;
	line-height: 1em;
  font-weight: 600;
  color: black;
}

.ul-hero.ul-hero-fs-large h1{
  font-size: 3.25rem;
}
/* .ul-hero.ul-hero-fs-med h1{
  font-size: 2.8rem;
} */
.ul-hero.ul-hero-fs-small h1{
  font-size: 2.3rem;
}
html body .ul-hero.ul-hero-fs-small .ul-hero-header small{
  font-size: 25px;
}

.uk-button.ul-button-remove-filter {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--mel-cyan);
  padding: 5px;
  line-height: 1em;
}
.uk-button.ul-button-remove-filter .uk-close{
  pointer-events: none;
  width: 15px;
  margin-right: 5px;
  color: black;
}

.ul-button-pure{
  background: #ff4203;
  color: white;
}
.ul-button-pure:hover{
  color: white;
}

/* Extra Elements */
.ul-breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 24px;
}
.ul-breadcrumbs > li{
  display: inline-flex;
  color: var(--mel-grey);
  fill: var(--mel-grey);
}
.ul-breadcrumbs > li > *{
  display: inline-block;
}
.ul-breadcrumbs > li > svg{
  margin: 0px 10px;
}
.ul-breadcrumbs > li > a:hover{
  color: var(--mel-red);
}
.ul-breadcrumbs > li:last-child > *{
  color: var(--mel-dark-grey-hl);
}

/*
html body .ul-hero .ul-breadcrumbs > li > *,
html body .ul-hero.ul-hero-white .ul-breadcrumbs > li > *{
  display: inline-block;
  font-weight: 600;
  color: var(--mel-grey);
  fill: var(--mel-grey);
}
html body .ul-hero .ul-breadcrumbs > li:last-child > *,
html body .ul-hero.ul-hero-white .ul-breadcrumbs > li:last-child > *{
  color: var(--mel-dark-grey-hl);
}
html body .ul-hero .ul-breadcrumbs > li > a:hover,
html body .ul-hero.ul-hero-white .ul-breadcrumbs > li > a:hover{
  color: var(--mel-red);
}
*/

html body #top-banner .ul-breadcrumbs > li > *{
  display: inline-block;
  font-weight: 600;
  color: var(--mel-grey);
  fill: var(--mel-grey);
  /* Commented out 2023-07-24 because of faqs page */
  /* padding-right: 100px; */
}
html body #top-banner .ul-breadcrumbs > li:last-child > *{
  color: var(--mel-dark-grey-hl);
}
html body #top-banner .ul-breadcrumbs > li > a:hover{
  color: var(--mel-red);
}

/* Fix UI Kit */
html body .uk-accordion-content{
  margin: 0;
}
html body .uk-accordion{
  margin: 0;
}
html body .uk-tooltip {
  background: white;
  border: 1px solid black;
  color: black;
}
html body em{
  color: inherit;
}

/* UI Kit Why */
.share-button + h3 {
  margin-top: 10px;
}

/* Fix Custom */
html:not(a) body #ul-desktop-menu .ul-heading-bullet::before{
  bottom: auto;
  top: 0.85em;
  border-left-color: var(--mel-red);
}
html:not(a) body #ul-desktop-menu hr{
  width: 40%;
  border-color: var(--mel-mid-grey);
}

html:not(a) body h2{
  font-size: 50px;
}

html:not(a) body h4{
  font-weight: 600;
  font-size: 1.4em;
}
html:not(a) body img{
  width: auto;
}

/* Page Links */
#page-links{
  border: 2px solid var(--mel-cyan);
}
#page-links .uk-button{
  background: white;
}
#page-links .uk-button.uk-active{
  background: var(--mel-cyan);
}

/* ul-hero */
html:not(a) body .ul-hero{
  position: relative;
  height: 80vh;
  max-height: 864px;
  overflow: hidden;
}
html:not(a) body .ul-hero.ul-hero-short{
  height: 50vh;
}
html:not(a) body:not(.clear-header) .ul-hero{
  height: calc(80vh - var(--header-height));
}
html:not(a) body .ul-hero{
  margin: 0;
  padding-top: 20px;
}
html:not(a) body.clear-header .ul-hero{
  padding-top: var(--header-height);
}

html:not(a) body .ul-hero .ul-hero-anim{
  pointer-events: none;
}
html:not(a) body .ul-hero .ul-hero-anim #animated-institution path{
  /* stroke: url('#grad-w'); */
  stroke: white;
}

html:not(a) body .ul-hero .ul-hero-header .uk-search span.uk-search-icon{
  display: inline-flex;
}

html:not(a) body .ul-hero .ul-hero-header .ul-title-small{
  font-size: 3.5rem;
}
html:not(a) body .ul-hero .ul-hero-header .ul-title-smallest{
  font-size: 2.5rem;
}

/* ul-list-curso-centro */
html:not(a) body .ul-list-curso-centro > li{
  position: relative;
  padding: 0;
  margin: 0;
  margin-bottom: -1px;
  overflow: hidden;
}
html:not(a) body .ul-list-curso-centro > li::before {
  content: "";
  position: absolute;
  top: 0; left: 0%;
  width: 100%; height: 100%;
  background-image: linear-gradient(to right, #e5e5e5, #e5e5e5);
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}
html:not(a) body .ul-list-curso-centro > li:hover::before {
  opacity: 0.75;
  transition: opacity 0ms ease-in-out;
}
html:not(a) body .ul-list-curso-centro > li.dep-ects::before {
  background-image: linear-gradient(to right, var(--dep-ects) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-eceo::before {
  background-image: linear-gradient(to right, var(--dep-eceo) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-ecati::before {
  background-image: linear-gradient(to right, var(--dep-ecati) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-epcv::before {
  background-image: linear-gradient(to right, var(--dep-epcv) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fcsea::before {
  background-image: linear-gradient(to right, var(--dep-fcsea) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fd::before {
  background-image: linear-gradient(to right, var(--dep-fd) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fefd::before {
  background-image: linear-gradient(to right, var(--dep-fefd) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fe::before {
  background-image: linear-gradient(to right, var(--dep-fe) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fmv::before {
  background-image: linear-gradient(to right, var(--dep-fmv) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-iss::before {
  background-image: linear-gradient(to right, var(--dep-iss) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fdcp::before {
  background-image: linear-gradient(to right, var(--dep-fdcp) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fcese::before {
  background-image: linear-gradient(to right, var(--dep-fcese) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fcaati::before {
  background-image: linear-gradient(to right, var(--dep-fcaati) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fcnet::before {
  background-image: linear-gradient(to right, var(--dep-fcnet) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li.dep-fped::before {
  background-image: linear-gradient(to right, var(--dep-fped) 50%, #e5e5e5);
}
html:not(a) body .ul-list-curso-centro > li > .ul-button-text{
  display: flex;
  align-items: center;
  padding: 14px 16px;
  transition: padding 150ms ease-in-out;
  z-index: 1;
	font-weight: normal;
  flex: 1;
}
html body .ul-list-curso-centro > li > a.ul-button-text::before {
  content: url(/assets/images/ico-arrow-right.svg);
  display: inline-block;
  width: 32px;
}
html:not(a) body .ul-list-curso-centro > li > .ul-button-text > div{
  padding-right: 20px;
}
html body .ul-list-curso-centro > li .uk-badge{
  flex-shrink: 0;
  text-transform: capitalize;
  margin-left: auto;
  transition: background 250ms ease-in-out;
}
html body .ul-list-curso-centro > li:hover .uk-badge{
  transition: background 0ms ease-in-out;
}

.ul-formacao-destaque .uk-badge{
  margin: 0px 4px;
}

/* uk-list uk-list-bullet */
.uk-list.uk-list-bullet{
  padding-left: 30px;
}
html:not(a) body .uk-list-bullet li{
  margin-bottom: 24px;
  padding-bottom: 24px !important;
}

/* Formação */
html body .ul-formacao .ul-formacao-card{
  margin-top: 16px;
  overflow: hidden;
}
html body .ul-formacao .ul-formacao-card .ul-formacao-extrafooter > *{
  line-height: 1.2em;
}

/* accordion */
html:not(a) body .uk-accordion.ul-accordion-large li.uk-open{
  background: var(--mel-grey-light);
}
html:not(a) body .uk-accordion > li:not(:first-child){
  margin: 0;
}
html:not(a) body .uk-accordion.ul-accordion-sidebar > li{
  padding: 0;
}
html:not(a) body .uk-accordion.ul-accordion-sidebar > li > a{
  padding: 18px 0px;
}
html:not(a) body .uk-accordion.ul-accordion-sidebar > li .uk-accordion-title{
  position: relative;
  padding-left: 32px;
}
html:not(a) body .uk-accordion.ul-accordion-sidebar > li .uk-accordion-title::before{
  position: absolute;
  left: 0;
  margin: 0;
}
html:not(a) body .uk-accordion.ul-accordion-border{
  padding: 0px 8px;
}
html:not(a) body .uk-accordion.ul-accordion-border > li:last-child{
  padding: 0;
}

html:not(a) body .uk-accordion.ul-accordion-large > li > .uk-transition{
  padding-right: 20px;
}

html:not(a) body .uk-accordion.ul-accordion-large li,
html:not(a) body .uk-accordion.ul-accordion-large > li{
  padding: 0;
}
html:not(a) body .uk-accordion.ul-accordion-large > li{
  margin: 0;
}
html:not(a) body .uk-accordion.ul-accordion-large > li .uk-accordion-title{
  padding: 15px;
}

html:not(a) body .uk-accordion.ul-accordion-large > li > .uk-accordion-content{
  margin: 0;
  padding-right: 20px;
}
html:not(a) body .uk-accordion .inline-list:last-child{
	margin-bottom: 0;
}

html:not(a) body .uk-accordion.ul-accordion-left > li > .uk-accordion-title{
  position: relative;
  padding-left: 44px;
}
html:not(a) body .uk-accordion.ul-accordion-left > li > .uk-accordion-title::before{
  position: absolute;
  left: 0;
}
html:not(a) body .uk-accordion.ul-accordion-right > li > .uk-accordion-title{
  position: relative;
  padding-right: 44px;
}
html:not(a) body .uk-accordion.ul-accordion-right > li > .uk-accordion-title::before{
  position: absolute;
  right: 0;
}

html:not(a) body .uk-accordion.page-section-pull-left.ul-accordion-right > li > .uk-accordion-title::before{
	right: var(--page-container-padding);
}


html:not(a) body .page-section-full-wrap{
  margin: 0;
}

html:not(a) body .icon-search input{
  padding: 12.5px 20px;
}

html:not(a) body .uk-search-default{
  width: 100%;
	max-width: 400px;
}
html:not(a) body .ul-pesquisa .uk-search-input{
  height: 45px;
  padding: 12.5px 25px;
}
html:not(a) body .ul-pesquisa .uk-search-icon-flip{
  color: black;
  background: transparent;
}

html body .uk-list.ul-list-inline > li{
  margin-top: 10px;
  padding: 0;
}
html body .ul-list-inline > li::before {
  display: none;
}

/* news */
html:not(a) body .ul-grelha-noticias > .uk-card{
  grid-template-columns: 35% auto max-content;
  padding-top: 32px;
  padding-bottom: 24px;
  padding: 20px 10px !important;
}
html:not(a) body .ul-grelha-noticias > .uk-card .ul-grelha-noticia-photo{
  height: 150px;
}
html:not(a) body .ul-grelha-noticia-content p {
  margin: 0;
}
.ul-grelha-noticia-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 15px;
}

/* .ul-accordion-blue */
html:not(a) body .uk-accordion.ul-accordion-blue{
  background: var(--mel-blue);
  background: #66DBCC;
  color: white;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li a.uk-accordion-title{
  background: var(--mel-blue);
  background: #66DBCC;
  color: currentColor;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li.uk-open a.uk-accordion-title{
  background: var(--mel-blue);
  background: #61BBB0;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li.uk-open a.uk-accordion-title::before {
  filter: invert(100%) brightness(100%) contrast(416%);
}
html:not(a) body .uk-accordion.ul-accordion-blue .uk-accordion-content{
  background: var(--mel-cyan);
  background: #66DBCC;
  color: currentColor;
}

html:not(a) body .uk-accordion.ul-accordion-blue > li:not(:last-child){
  border-bottom: 1px dashed currentColor;
}
html:not(a) body .uk-accordion.ul-accordion-blue .uk-accordion-content > :last-child{
  margin: 0 !important;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li:last-child{
  padding-bottom: 0;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li .ul-list-links li,
html:not(a) body .uk-accordion.ul-accordion-blue > li .ul-list-links li:last-child{
  padding: 0px;
  margin: 0;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li .ul-list-links li{
  border-top-color: currentColor;
}
html:not(a) body .uk-list-divider > li:nth-child(n){
  border-top: 1px dashed;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li .ul-list-links li a{
  padding: 10px 16px;
  padding-left: 32px;
  color: currentColor;
}
html:not(a) body .uk-accordion.ul-accordion-blue > li .ul-list-links li a::before {
  bottom: auto;
  margin-right: -2px;
  /* filter: none; */
}

/* ul-accordion ul-mobile-only */
html:not(a) body .uk-accordion.ul-accordion-large.ul-mobile-only > li{
  padding: var(--ul-mobile-only-pad-small);
}
html:not(a) body .uk-accordion.ul-mobile-only > li > a{
  /* display: none; */
}
html:not(a) body .uk-accordion.ul-mobile-only > li.uk-open {
  background: none;
}
html:not(a) body .uk-accordion.ul-cyan{
  background: var(--mel-cyan);
}
html:not(a) body .uk-accordion.ul-beige{
  background: var(--mel-beige);
}


html:not(a) body .uk-accordion.ul-accordion-large.ul-mobile-only > li .page-section-full-width {
  margin-left: min(calc((-1 / 2) * (100vw - var(--scrollbar) - var(--max-width)) - var(--page-container-padding) - var(--ul-mobile-only-pad-small)), calc(-1 * var(--page-container-padding)));
  margin-right: calc((-1/3) * (var(--max-width) - var(--page-container-padding)) - var(--page-container-gap) * (1/2) - (1 / 2) * (100vw - var(--scrollbar) - var(--max-width)) - var(--page-container-padding) - var(--ul-mobile-only-pad-small));
}

/* ul-noticias-destaque (featured) */
html:not(a) body .ul-noticias-destaque > div > a{
  background: linear-gradient(0deg,#000000 0%,rgba(255,255,255,0) 75%);
  height: 350px;
}
html body .ul-noticias-destaque > div .ul-noticias-destaque-desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 0px;
  line-height: 20px;
  /* -webkit-line-clamp: 4; */
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 250ms ease-in-out;
}
html body .ul-noticias-destaque > div:hover .ul-noticias-destaque-desc{
  /* max-height: 100px; */
  /* transition: max-height 250ms ease-in-out; */
}
html body .ul-noticias-destaque > div{
  position: relative;
}
html body .ul-noticias-destaque > div > img{
  position: absolute;
  top:0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body .ul-noticias-destaque > div > a{
  position: relative;
}
html:not(a) body .ul-noticias-destaque > div > a:hover{
  background-blend-mode: normal;
}
html body .ul-noticias-destaque > div > a::before{
  position: absolute;
}
html body .ul-noticias-destaque > div > a > *{
  margin-top: auto;
}
html body .ul-noticias-destaque .ul-noticias-destaque-extra{
	border-top: 1px dashed white;
	padding-top: 10px;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.2em;
}

/* Button */
.uk-button-default{
  border: 1px solid black;
}
.uk-button-yellow{
  background: var(--mel-yellow);
	color: black;
}
.uk-button-yellow:hover{
	color: black;
}

/* button with icon */
html:not(a) body .ul-button.ul-button-icon{
  flex-shrink: 0;
  margin: auto 0;
  padding: 1px;
  padding-left: 20px;
	border-color: var(--mel-grey) !important;
}
html:not(a) body .ul-button.ul-button-icon .uk-icon{
  align-self: stretch;
  display: flex;
  align-items: center;
	justify-content: center;
  flex-shrink: 0;
  margin: 0;
  margin-left: 20px;
	border-color: var(--mel-grey) !important;
}

/* file download */
html:not(a) body .ul-list-file-download .inst-badge{
  font-size: 14px;
  vertical-align: bottom;
}
html:not(a) body .ul-list-file-download .ul-button.ul-button-icon{
  flex-basis: 250px;
  flex-shrink: 0;
  margin: auto 0;
  padding: 1px;
  padding-left: 20px;
  line-height: 1;
}
html:not(a) body .ul-list-file-download .ul-button.ul-button-icon .uk-icon{
  align-self: stretch;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  margin-left: 20px;
}
html:not(a) body .ul-list-file-download > li p{
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2em;
}
html:not(a) body .ul-list-file-download > li p small{
  font-size: 16px;
  line-height: 1.2em;
  margin-top: 10px;
}

/* ul-noticias-slideshow */
.ul-noticias-slideshow .uk-slideshow-items img{
  max-height: none;
}

/* ul-contact-table */
.ul-contact-table {
  border-collapse: separate;
  border-spacing: 0px 10px;
}
.ul-contact-table > tbody > tr {
  outline: 1px solid var(--mel-grey);
}
.ul-contact-table > tbody > tr > td {
  padding: 10px;
}
.ul-contact-table .ul-contact-copy{
  width: 1%;
  border-left: 1px solid var(--mel-grey);
}
.ul-contact-table .ul-contact-copy svg{
  max-width: none;
}

/* ul-contact */
html:not(a) body .ul-contacto > div:last-of-type{
  align-self: stretch;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  padding: 0;
}
html:not(a) body .ul-contacto > div:last-of-type > a{
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4px 16px;
}
html:not(a) body .ul-contacto ul.uk-grid ul.uk-grid{
  padding: 0;
  margin-top: 0;
}

/* ul-hero-story */
html:not(a) body .ul-hero-story,
html:not(a) body.clear-header .ul-hero-story{
  padding: 0;
  height: 600px;
}
html body .ul-hero-story .ul-hero-banner,
html body .ul-hero-story .ul-hero-header{
  z-index: 2;
}
html:not(a) body .ul-hero-story .ul-hero-banner{
  position: relative;
  width: auto;
  line-height: 1em;
  padding: 15px;
  text-align: right;
  writing-mode: vertical-rl;
}
html:not(a) body.clear-header .ul-hero-story .ul-hero-banner{
	top: 0;
  padding-top: calc(var(--header-height) + 15px);
}
html:not(a) body .ul-hero-story .ul-hero-banner ~ .ul-hero-banner{
  visibility: hidden;
}
html:not(a) body .ul-hero-story .ul-hero-header-wrapper{
  display: flex;
  align-items: center;
}
html:not(a) body.clear-header .ul-hero-story .ul-hero-header-wrapper{
  padding-top: var(--header-height);
}
html:not(a) body .ul-hero-story .ul-hero-header{
  padding: var(--page-container-padding);
}
html:not(a) body .ul-hero-overlay{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ul-card-cinza */
html:not(a) body .ul-card-cinza {
  background: var(--mel-grey-light);
  border: 1px dashed var(--mel-grey);
  box-shadow: none;
}

/* ul-list-links */
html:not(a) body .uk-list-divider > :nth-child(n+2){
  margin: 0;
  padding: 0;
}
html:not(a) body .ul-list-links li > a{
  transition: padding-left 100ms ease-in-out, color 100ms ease-in-out;
}
html:not(a) body .ul-list-links li:hover > a{
	/* paulo */
  /* padding-left: 20px; */
  text-decoration: none;
}
html:not(a) body .ul-list-links a:last-child{
  margin-bottom: 0;
  padding: 10px;
}

/* ul-list-provas  */
html:not(a) body .uk-list.ul-list-provas > li{
  font-size: 14px;
  padding: 2px 6px;
  background: var(--mel-dark-cyan);
}

/* tabs */
.uk-tab > * > a{
  margin-bottom: -2px;
  border-width: 5px;
  font-family: Montserrat;
  font-weight: 600;
}
.uk-tab > .uk-active > a{
  border-color: var(--mel-cyan);
  color: var(--mel-cyan);
}

.uk-tab.ul-tab-extra{
  justify-content: flex-end;
}
.uk-tab.ul-tab-extra::before {
  border-bottom: 1px solid #ccc;
}
.uk-tab.ul-tab-extra > *{
  padding-left: 0px;
}
.uk-tab.ul-tab-extra > * > a{
  border: 1px solid transparent;
  margin-bottom: -1px;
}
.uk-tab.ul-tab-extra > .uk-active > a {
  border-color: var(--mel-cyan);
  color: var(--mel-cyan);
  border: 1px solid #ccc;
  border-bottom: none;
  color: #333;
}
.ul-bg-grey-light .uk-tab.ul-tab-extra > .uk-active > a{
  background: var(--mel-grey-light);
}

/* ul-modal */
.uk-modal.ul-modal{
  background: rgba(0,0,50,0.6);
  z-index: 10000;
}
.ul-modal .uk-modal-header{
  display: flex;
  align-items: center;
  justify-content: center;
}
.uk-modal.ul-modal h2{
	font-weight: 500;
}
.ul-modal .uk-modal-header [class*="uk-modal-close-"]{
  top: auto;
  right: 20px;
}

/* .ul-menu */
html body .ul-list-menu > li{
  margin: 0 !important;
}
html body .ul-list-menu > li > a{
  padding: 5px 0px;
}
html body .ul-list-menu > li > a{
  display: inline-block;
  transition: padding 250ms ease-in-out, color 250ms ease-in-out;
}
html body .ul-list-menu > li > a:hover{
	/* paulo */
  /* padding-left: 5px; */
  color: grey !important;
  transition: none;
}

/* ul-footer */
html body .ul-footer a.uk-icon-button{
  fill: white;
}
html body .ul-footer .uk-list:not(.ul-list-inline) > li{
  margin: 0;
}
html body .ul-footer .uk-list:not(.ul-list-inline) > li > a{
  padding: 5px 0px;
}
html body .ul-footer .uk-list:not(.ul-list-inline) > li > a{
  display: inline-block;
  transition: padding 250ms ease-in-out, color 250ms ease-in-out;
}
html body .ul-footer .uk-list:not(.ul-list-inline) > li > a:hover{
	/* paulo */
  /* padding-left: 5px; */
  color: grey;
  transition: none;
}

html:not(a) body .ul-footer{
	background: white;
	color: black; /* does nothing ... cool */
}
html:not(a) body .ul-footer h5,
html:not(a) body .ul-footer address.uk-text-meta,
html:not(a) body .ul-footer a{
	color: black;
}
html:not(a) body .ul-footer .uk-heading-bullet{
	font-size: 14px;
}

@media (max-width: 1250px){
	html body .ul-hero.ul-hero-white .ul-hero-header *{
		/* font-size: 3rem; */
	}
	html:not(a) body.clear-header .ul-hero-story .ul-hero-banner{
		font-size: 1.5rem;
	}
}
@media (max-width: 959px){
  #ul-desktop-menu{
    display: none;
  }

	html:not(a) body .ul-grelha-noticias > .uk-card{
		grid-template-columns: 33.3% auto;
	}

  /* ul-accordion ul-mobile-only */
  html:not(a) body .uk-accordion.ul-mobile-only{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > .ul-accordion-desktop-title{
    display: none !important;
  }
  html:not(a) body .uk-accordion.ul-mobile-only.page-section-pull-left{
    padding-left: calc(var(--page-container-padding));
  }
  html:not(a) body .uk-accordion.ul-accordion-large.ul-mobile-only > li .page-section-full-width{
    margin-left: calc(-44px - var(--page-container-padding));
    margin-right: calc(-20px - var(--page-container-padding));
  }

  html:not(a) body .uk-accordion > li > :last-child > :last-child{
    padding-bottom: 20px !important;
  }

	html body .ul-footer{
		overflow: auto;
	}
	/* html body .ul-footer > .uk-container > .uk-grid{
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	html body .ul-footer > .uk-container > .uk-grid > .uk-panel{
		flex: 1 0 40%;
	} */
}
@media (max-width: 767px){
  html:not(a) body .ul-grelha-noticias > .uk-card{
    grid-template-columns: 1fr;
  }

  html:not(a) body .ul-hero-story .ul-hero-banner{
    position: fixed;
    top: var(--header-height);
    writing-mode: horizontal-tb;
    width: 100%;
    height: auto;
    padding: 10px;
    text-align-last: center;
    font-size: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  html:not(a) body.clear-header .ul-hero-story .ul-hero-banner{
		top: 0;
    padding-top: calc(var(--header-height) + 10px);
  }
	html body .ul-hero.ul-hero-white .ul-hero-header *{
		text-align: center;
	}

	html:not(a) body .ul-hero-story, html:not(a) body.clear-header .ul-hero-story{
		height: auto;
		padding-top: calc(var(--header-height) + 60px);
		padding-bottom: 30px;
	}
	html:not(a) body.clear-header .ul-hero-story .ul-hero-header-wrapper{
		padding: 0;
	}
	html:not(a) body .ul-hero-story, html:not(a) body.clear-header .ul-hero-story #ul-back{
		bottom: 10px;
	}

  html body .ul-noticias-destaque > div .ul-noticias-destaque-desc{
    max-height: none;
  }

}
@media (max-width: 639px){
  .uk-card{
    padding: 10px 0px;
  }

  .ul-contact-table,
  .ul-contact-table tbody,
  .ul-contact-table tr,
  .ul-contact-table td{
    display: block;
  }
  .ul-contact-table > tbody > tr{
    margin-bottom: 20px;
  }
  .ul-contact-table > tbody > tr > td{
    padding: 5px 10px;
  }
  .ul-contact-table .ul-contact-copy{
    width: auto;
    border-left: none;
  }
	html:not(a) body .ul-noticias-destaque{
		display: flex;
		flex-wrap: nowrap;
		overflow: auto;
	}
	html:not(a) body .ul-noticias-destaque > div{
		flex-shrink: 0;
		width: 90%;
	}

	html:not(a) body .ul-hero{
		padding-right: 20px;
		padding-left: 20px;
	}
	html:not(a) body .ul-hero {
		padding-right: 20px;
		padding-left: 20px;
	}

	html body .ul-hero.ul-hero-white .ul-hero-header *{
		/* font-size: 2rem; */
	}

	/* html body .ul-footer > .uk-container > .uk-grid > .uk-panel{
		flex: 1 0 80%;
	} */

	html body .ul-footer{
		padding: 0px;
	}
	html body .ul-footer .uk-grid{
		margin: 0px !important;
	}
	html body .ul-footer > .uk-container{
		padding: 0px 30px;
		text-align: center;
	}
}

@media (min-width: 960px){
  #ul-mobile-menu{
    display: none;
  }

  /* ul-accordion ul-mobile-only */
  html:not(a) body .uk-accordion.ul-mobile-only.page-section-pull-left{
    margin-left: min(calc((-1 / 2) * (100vw - var(--max-width)) - var(--page-container-padding)), calc(-1 * var(--page-container-padding)));
    padding-left: max(calc((1 / 2) * (100vw - var(--max-width)) + var(--page-container-padding) + 0px), var(--page-container-padding));
  }
  html:not(a) body .uk-accordion.ul-mobile-only{
    padding-left: 0px;
    padding-right: 0px;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > .uk-accordion-title{
    display: none !important;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > .ul-accordion-desktop-title{
    margin: 0;
    padding: 0;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > h3.ul-accordion-desktop-title{
    margin-bottom: 25px;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > h4.ul-accordion-desktop-title{
    margin-bottom: 15px;
  }
  html:not(a) body .uk-accordion.ul-mobile-only > li > .uk-accordion-content{
    display: block !important;
    padding: 0;
  }

  html:not(a) body .ul-list-file-download .ul-button.ul-button-icon{
    width: 250px;
    margin-left: 20px;
  }
}
