/*
	Theme Name: Geral 2022 - Evento
	Theme URI: https://unidades.tecnico.ulisboa.pt/
	Description:
	Version: 1
	Author: NME
*/

html
{
  background: #FFF;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body
{
  color: #282C35;
  font: normal normal 400 1rem/150% 'Source Sans Pro', Helvetica, Helvetica Neue, Arial;
  line-height: 1.5;
	-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
transition:         all 600ms cubic-bezier(0.77, 0, 0.175, 1);
}

body.modal-open{
	overflow: hidden;
}

body.nav-is-visible
{
	transform: translateX(-260px);
}

body, html
{
  padding: 0;
  margin: 0;
}

*, *:before, *:after {
    box-sizing: inherit;
    font-family: inherit;
}

p {
    margin: 0 0 35px;
}

a
{
	color: #009DE0;
      text-decoration: none;
      -webkit-tap-highlight-color: transparent;
}

.dotted:hover
{
	border-bottom: 1px dotted;
	color: #009DE0;
}

button{
	background: transparent;
	cursor: pointer;
	border: 0;
	outline: none;
}

h1
{
    line-height: 1.2;
    margin: 35px 0;
	font-family: "KlavikaRegularPlain",Helvetica,Helvetica Neue,Arial;
	font-size: 1.75rem
}

h4
{
	font-family: "KlavikaRegularPlain",Helvetica,Helvetica Neue,Arial;
	font-size: 1.400rem;
	font-weight: 400;
	margin: 15px 0
}

.box-button,
.box-button:hover
{
	position: relative;
	display: inline-block;
	border: 1px solid #666;
	border-radius: 1px;
	font-size: 0.875rem;
	color: #282C35;
	padding: 12px 28px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	/* resolve o problema da difereça entre link e button */
	line-height: 1.5;
    vertical-align: top;
}

.box-button.blue,
.box-button.blue:hover,
.box-button:hover
 {
    border-color: #009DE0;
    background-color: #009DE0;
    color: #FFF;
}

.box-button.blue:hover,
.box-button:hover
{
    background-color: #00affa;
}

.heading-first
{
	margin-top: 0
}

section
{
	margin: 100px 0;
}

section:nth-child(even)
{
	background-color: #f5f5f5;
	margin: 0;
	padding: 100px 0
}

.container
{
  max-width: 1170px;
  width: 100%;
  margin: auto;
  overflow: auto;
  padding: 0 15px;
}

.text-centered
{
	text-align: center;
}



/* Fonts */
@font-face {
    font-family: 'KlavikaBold';
    src: url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaboldbold-webfont.eot?") format("eot"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaboldbold-webfont.woff") format("woff"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaboldbold-webfont.ttf") format("truetype"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaboldbold-webfont.svg#webfontBUN34PZS") format("svg");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'KlavikaMediumPlain';
    src: url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikamedium-plain-webfont.eot?") format("eot"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikamedium-plain-webfont.woff") format("woff"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikamedium-plain-webfont.ttf") format("truetype"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikamedium-plain-webfont.svg#webfontTWPh10Er") format("svg");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'KlavikaRegularPlain';
    src: url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-plain-webfont.eot?") format("eot"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-plain-webfont.woff") format("woff"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-plain-webfont.ttf") format("truetype"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-plain-webfont.svg#webfontDvaJrdUe") format("svg");
    font-style: normal
}

@font-face {
    font-family: 'KlavikaRegularItalic';
    src: url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-italic-webfont.eot?") format("eot"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-italic-webfont.woff") format("woff"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-italic-webfont.ttf") format("truetype"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikaregular-italic-webfont.svg#webfontPhNFtUba") format("svg");
    font-style: italic
}

@font-face {
    font-family: 'KlavikaLightPlain';
    src: url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikalight-plain-webfont.eot?") format("eot"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikalight-plain-webfont.woff") format("woff"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikalight-plain-webfont.ttf") format("truetype"), url("//static.tecnico.ulisboa.pt/fonts/klavika/klavikalight-plain-webfont.svg#webfontpalXHmZY") format("svg");
    font-style: normal
}

/* header */
header
{
  padding: 50px 0;
  height: 150px;
  box-sizing: border-box;
  position: absolute;
  z-index: 6;
  width: 100%;
}

header .container
{
		padding: 0 15px;
}

header a
{
    color: #fff;
}

header .desktop-logo,
header .mobile-logo
{
  font-size: 0;
  float: left;
  margin: 0;
  padding-left: 15px;
}

header .mobile-logo
{
	margin-left: -55px;
	display: none;
}

header .desktop-logo svg,
header .mobile-logo svg
{
  width: 200px;
}

header .desktop-logo svg path,
header .mobile-logo svg path
{
    fill: #fff;
}

header .mobile-logo .graphic {
    display: none;
}

header nav
{
  float: right;
  padding-right: 15px;
}

header nav ul
{
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul li
{
  float: left;
  margin: 0 10px;
}

header nav ul li a
{
  padding: 0 5px;
  text-transform: uppercase;
}

header nav ul li:last-child,
header nav ul li:last-child a
{
  margin-right: 0;
  padding-right: 0;
}

header nav ul li a.secundary,
header nav ul li a:hover,
header nav ul li a.dotted:hover
{
  opacity: .7;
  color: #fff;
	/*padding: 0 5px;*/
	border: 0;
}

/*page header */
.page-header
{
  background: #ccc url(hero.jpg) center / cover;
  width: 100%;
  height: 600px;
  position: relative;
  color: #fff;
  margin: 0;
}

section.page-header::after {
    content: "";
    display: block;
    background: #2E323E;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
}

.page-header .container
{
  position: relative;
  height: 100%;
  padding: 0 15px;
}

.page-header .header-content
{
  position: absolute;
  top: 50%;
  padding: 150px 15px;
  box-sizing: border-box;
  transform: translateY(-50%);
  
  /*max-width: 500px;*/
  z-index: 1;
}

@media (min-width: 1024px){
    .page-header .header-content{
        width: 50%;
    }
}

.page-header .header-content h1
{
  font-family: "KlavikaLightPlain",Helvetica,Helvetica Neue,Arial;
  font-weight: 100;
  font-size: 54px;
  margin: 20px 0
}

.page-header .header-content p
{
  font-size: 18px;
}

/* event details card */
#event-details-card
{
	margin: -85px 0 0 0;
	z-index: 1;
	position: relative;
	padding: 0;
	background: transparent;
}

#event-details-card .container
{
  background: #FFFFFF;
  box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.10);
  padding: 0;
  overflow: initial;
}

#event-details-card .container .row
{
  padding: 24px 16px;
  box-sizing: border-box;
  overflow: auto;
  display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#event-details-card .container .row:last-of-type
{
  border-top: 1px solid #ddd;
  overflow: initial;
}

#event-details-card .event-primary-info
{
	float: left;
}

#event-details-card .event-primary-info .info
{
	float: left;
	margin: 16px 32px;
}

@media screen and (max-width: 1008px){
    #event-details-card .event-primary-info .info{
        margin-left: 16px;
    }
}

#event-details-card .event-primary-info .info:first-of-type
{
	margin-left: 16px;
}

#event-details-card .event-primary-info .info:last-of-type
{
	margin-right: 16px;
}

@media screen and (min-width: 1009px){
    #event-details-card .event-primary-info{
        width: 70%;
        display: flex;
        align-items: flex-start;
        justify-content: start;
    }
    #event-details-card .event-primary-actions{
        width: 30%;
    }
}

#event-details-card .event-primary-info .info > span,
#event-details-card .event-secundary-actions a,
#event-details-card .event-secundary-actions button
{
	font-size: 0.813rem;
	color: #79797B;
	display: block;
	text-transform: uppercase;
}

#event-details-card .event-primary-info .info > time,
#event-details-card .event-primary-info .info > address
{
	font-size: 1.125rem;
	display: block;
	font-style: normal;
}

#event-details-card .event-primary-info .info > time p,
#event-details-card .event-primary-info .info > address p
{
	margin: 0;
}

#event-details-card .event-primary-actions{
	float: right;
	position: relative;
}

#event-details-card .event-primary-actions a
{
	margin: 8px;
	padding: 16px 32px;
    float: right;
}

#event-details-card ul
{
	list-style: none;
	padding: 0 16px;
	margin: 0
}

#event-details-card ul li
{
	display: inline-block;
	margin: 0 30px;
	position: relative;
}

#event-details-card ul li:first-of-type
{
	margin-left: 0;
}

#event-details-card ul li:last-of-type
{
	margin-right: 0;
}

#event-details-card .event-secundary-actions svg
{
	vertical-align: middle;
    margin: -4px 8px 0 0;
}

#event-details-card .event-secundary-actions a:hover
{
	color: #009DDF;
}

#event-details-card .event-secundary-actions a:hover path
{
	fill: #009DDF;
}


.page-overview p:last-of-type
{
	margin-bottom: 0;
}

/*sponsors */
.row .gallery
{
	/* Remove o espaço entre elementos causado pelo display inline-block no "logos div" */
	font-size: 0;
	/* Fim */
	padding-bottom: 50px;
	outline: none;
}

.row .gallery > div
{
	box-sizing: border-box;
	display: inline-block;
	vertical-align: bottom;
	float: none;
	font-size: 1rem;
	margin-bottom: 40px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.row .gallery.speakers > div{
	vertical-align: top;
}

.row .gallery.participants{
	    margin: 50px 0 0 0;
}

.row .gallery.participants > div{
	vertical-align: top;
	padding-left: 30px;
	padding-right: 30px;
}

.row .gallery.participants > div h4{
	font-size: 1.200rem;
	    text-transform: none;
}

.row .gallery.logos
{
	padding-top: 40px;
}

.row .gallery.logos > div
{
	padding: 10px 40px;
	vertical-align: middle;
}

.row .gallery.logos > div:hover
{
	background: rgba(0,0,0,.024);
	border-radius: 6px;
}

.row .gallery.logos > div a{
	display: inline-block;
    min-height: 100px;
    overflow: auto;
	display: flex;
    align-items: center;
}

.accomodation .row .gallery > div
{
	min-height: 390px;
}

.flickity-slider .gallery-cell
{
	width: 100%;
	outline: none;
	opacity: 0;
	-webkit-transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.flickity-slider .gallery-cell.is-selected
{
	opacity: 1;
}

.flickity-viewport {
  overflow: visible;;
  position: relative;
  height: 100%;
  width: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flickity-page-dots
{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.flickity-page-dots li
{
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #a9a9a9;
	margin: 0 4px;
	border-radius: 100%;
	cursor: pointer;
}

.flickity-page-dots li.is-selected
{
	background: #009DE0
}

.flickity-prev-next-button {
	width: 44px;
    aspect-ratio: 1;
	border: 0;
	background: transparent;
	position: absolute;
    top: 100px;
    transform: translateY(-50%);
	outline: none;
}

.flickity-prev-next-button svg {
    display: block;
    width: 16px;
    height: auto;
}

.flickity-prev-next-button.previous
{
	left: -72px;
	cursor: w-resize;
}

.flickity-prev-next-button.next
{
	right: -72px;
	cursor: e-resize;
}

.flickity-prev-next-button.previous:disabled,
.flickity-prev-next-button.next:disabled
{
	cursor: default;
	display: none;
}

.accomodation
{
	overflow: hidden;
}

.accomodation .container
{
	overflow: visible;
}

.accomodation .gallery
{
	overflow: visible;
}

.accomodation .row .gallery .gallery-cell > div
{
	padding: 0 20px
}

.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(1)
{
	padding-left: 0;
	padding-right: 40px;
}

.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(3){
	padding-right: 0;
	padding-left: 40px;
}

.row .gallery.speakers a{
	color: #282C35;
}

.row .gallery img
{
	width: 100%;
	vertical-align: middle;
}

.row .gallery .img
{
	background-size: cover;
	background-position: center;
	display: inline-block;
	margin: 60px 0 15px;
	position: relative;
	width: 100%;
	height: 200px;
}

.row .gallery.speakers .img{
	width: 132px;
	height: 132px;
	border-radius: 100%;
	background: #ccc url(https://static.tecnico.ulisboa.pt/projects/template-eventos/default_user.svg) center /cover;
    object-fit: cover;
}

.row .gallery div:nth-of-type(1) .img,
.row .gallery div:nth-of-type(2) .img,
.row .gallery div:nth-of-type(3) .img,
.row .gallery div:nth-of-type(4) .img
{
	margin-top: 80px;
}

.accomodation .row .gallery div:nth-of-type(1) .img,
.accomodation .row .gallery div:nth-of-type(2) .img,
.accomodation .row .gallery div:nth-of-type(3) .img,
.accomodation .row .gallery div:nth-of-type(4) .img
{
	margin-top: 0;
}

.row .gallery a .img::after
{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	background-color: rgba(0,157,224,.75)
}

.row .gallery a .img::before
{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50%;
	background-image: url(assets/web.svg);
}

.row .gallery a[href*="linkedin"] .img::before
{
	background-image: url(assets/linkedin.svg);
}

.row .gallery a[href*="facebook"] .img::before
{
	background-image: url(assets/facebook.svg);
}

.row .gallery a[href*="instagram"] .img::before
{
	background-image: url(assets/instagram.svg);
}

.row .gallery a[href*="facebook"] .img::before
{
	background-image: url(assets/facebook.svg);
}

.row .gallery a[href*="twitter"] .img::before
{
	background-image: url(assets/twitter.svg);
}

.row .gallery a[href*="youtube"] .img::before
{
	background-image: url(assets/youtube.svg);
}

.row .gallery a .img::after,
.row .gallery a .img::before
{
	opacity: 0;
	-webkit-transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.row .gallery a .img::before
{
	-webkit-transform: scale(.95);
    transform: scale(.95);
}

.row .gallery a:hover .img::after,
.row .gallery a:hover .img::before
{
	opacity: 1
}

.row .gallery a:hover .img::before
{
	-webkit-transform: scale(1);
    transform: scale(1);
}

.row .gallery h4
{
	margin: 15px 0 5px
}

.row .gallery p
{
	margin: 0;
	color: #666;
}

.row .gallery .rating
{
	font-size: 0;
	font-weight: bold;
	letter-spacing:3px;
	color: #a9a9a9;
	margin-bottom: 35px;
}

.row .gallery .rating ~ p a {
    display: block;
    float: left;
    clear: left;
    border-bottom: 1px dotted transparent;
}

.row .gallery .rating ~ p a:hover {
    border-color: #009de0;
}

.row .gallery .rating span{
	font-size: 0.875rem;
	float: left;
}

.row .gallery .rating::before,
.row .gallery .rating::after
{
	content: "$";
	display: inline-block;
	font-size: 0.875rem;
	float: left;
}

.row .gallery .rating.Baixo::before,
.row .gallery .rating.Normal::before,
.row .gallery .rating.Normal span,
.row .gallery .rating.Elevado::after,
.row .gallery .rating.Elevado::before,
.row .gallery .rating.Elevado span
{
	color: #505050
}

/**/

.biography{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(245, 245, 245, .75);
	z-index: -1;
	opacity: 0;
	transition: opacity .4s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.biography .close{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	z-index: -1;
}

.biography-content{
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    height: auto;
    max-height: 100vh;
    background: #fff;
    padding: 50px;
    overflow: auto;
	box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.1);
}

.biography-content h4{
	margin-bottom: 15px;
}

.biography-content p{
	margin: 15px 0;
}

.bio-trigger.active +  .biography{
	z-index: 99;
	opacity: 1;
}

.bio-trigger{
	text-transform: uppercase;
    font-size: .7em;
    margin: 5px auto 0 auto;
    letter-spacing: .03em;
    padding: 0 0 2px 0;
    display: block;
    border-bottom: 1px dotted transparent;
}

.bio-trigger:first-of-type{
	margin-top: 10px;
}

.bio-trigger:hover{
	border-bottom: 1px  dotted;
	    color: #009DE0;
}

.close-bio.box-button{
	font-size: .75em;
	padding: 8px 25px;
	margin-top: 30px;
}

/* Texto + galeria */
.text-plus-gallery .container{
		position: relative;
}

.text-plus-gallery .gallery-img{
	display: block;
	width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: cover;
}

.text-plus-gallery .row .gallery{
	overflow: hidden;
	padding: 0 0 10px 50px;
	padding-top: 0;
	/*position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);*/
}

.text-plus-gallery .row .gallery > div{
	margin-bottom: 25px;
}

.text-plus-gallery .flickity-page-dots{
	margin: 0;
	left: calc(50% + 15px);
}

.text-plus-gallery button.flickity-prev-next-button{
	width: 40px;
	height: 40px;
	top: calc(50% - 10px);
	transform: translateY(-50%);
	left: 0;
	background: rgba(0,0,0,.85);
	opacity: .8;
	border-radius: 100%;
	padding: 5px;
}

.text-plus-gallery button.flickity-prev-next-button.previous{
	left: 60px;
}

.text-plus-gallery button.flickity-prev-next-button.next{
	left: auto;
	right: 10px;
}

.text-plus-gallery button.flickity-prev-next-button svg {
    fill: #fff;
    position: relative;
    display: inline-block;
    vertical-align: middle;
	width: 65%;
}



/* mapa */

#map{
	width: 100%; height: 60vh; max-height: 600px; min-height:  400px;position: relative; overflow: hidden; transform: translateZ(0px); background-color: rgb(229, 227, 223);
}

.map-links {
    margin: 10px;
    position: absolute;
    padding: 11px 6px 11px 13px;
    background: #FFF;
    border-radius: 2px;
    z-index: 9;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px
}

.location-address {
    width: 200px
}

.location-address,
.location-directions {
    position: relative;
    display: inline-block
}

.location-address p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: #282C35
}

.location-directions {
    display: inline-block;
    vertical-align: top;
    height: 55px;
    padding: 0 7px
}

.location-directions a {
    position: relative;
    padding-top: 30px
}

.location-directions a:before,
.location-directions a:after {
    position: absolute;
    content: " "
}

.location-directions a:before {
    width: 4px;
    height: 8px;
    background: #009DE0;
    left: 32px;
    top: 4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.location-directions a:after {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #009DE0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: -2px;
    left: 36px
}

.location-directions span {
    position: relative;
    height: 50px;
    display: inline-block
}

.location-directions span:before,
.location-directions span:after {
    position: absolute;
    content: " "
}

.location-directions span:before {
    width: 4px;
    height: 10px;
    background: rgba(0, 157, 224, 0.4);
    left: 26px;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.location-directions span:after {
    width: 4px;
    height: 10px;
    background: #009DE0;
    left: 30px;
    top: 14px
}

.location-address span {
    display: block;
    font-weight: 400;
    font-size: 0.875rem;
    color: #666
}

.location-contacts {
    margin-top: 10px
}

.location-contacts a {
    font-size: 0.875rem
}


/* Programme */

.programme .day
{
	border-top: 1px solid #DEDEDE;
	margin:0  0 100px;
	padding: 100px 0 0;
	position: relative;
	word-break: break-word
}

.programme .day,
.programme .row
{
	width: 100%;
	float: left;
}

.programme .day > div{
	display: flex;
flex-wrap: wrap;
}

.programme .container > div:nth-of-type(2)
{
	border: 0
}

.programme .day h2
{
	font-size: 3.550rem;
	font-family: "KlavikaRegularPlain",Helvetica,Helvetica Neue,Arial;
	font-weight: 400;
}

.programme .day h4,
.programme .day h2
{
	margin: 0 0 5px;
	line-height: 1.5;
}

.programme .day h4{
	margin-bottom: 10px;
}

.programme .day .col-md-1 h4
{
	font-size: 1.6rem;
	letter-spacing: 3px;
	font-family: "KlavikaLightPlain",Helvetica,Helvetica Neue,Arial;
}

.programme .day p
{
	color: #79797B
}

.programme .day div > p{
	margin-bottom: 5px
}

.programme .day > div div{
	margin-bottom: 70px;
}

.programme .day > div:nth-child(2) div{
	padding-left: 50px;
	float: left;
	width: 100%;
	width: 33.33%
}

/* two items */
.programme .day > div:nth-child(2) div:first-child:nth-last-child(2),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(2) ~ div
{
	max-width: 50%;
	width: auto;
}
/* three or more  items */
.programme .day > div:nth-child(2) div:first-child:nth-last-child(3),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(3) ~ div,
.programme .day > div:nth-child(2) div:first-child:nth-last-child(4),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(4) ~ div,
.programme .day > div:nth-child(2) div:first-child:nth-last-child(5),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(5) ~ div,
.programme .day > div:nth-child(2) div:first-child:nth-last-child(6),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(6) ~ div,
.programme .day > div:nth-child(2) div:first-child:nth-last-child(7),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(7) ~ div
.programme .day > div:nth-child(2) div:first-child:nth-last-child(8),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(8) ~ div,
.programme .day > div:nth-child(2) div:first-child:nth-last-child(9),
.programme .day > div:nth-child(2) div:first-child:nth-last-child(9) ~ div{
    width: 33.3333%;
	padding-top: 6px;
}

.programme .container div:last-of-type button
{
	margin: 0 0 35px 0
}


.complete-programme {
    position: fixed;
    top: 0;
    left: 0;
	z-index: -1;
	opacity: 0;
	pointer-events: none;
    width: 100%;
	height: 100%;
    margin: 0;
	padding: 50px 0;
    overflow: scroll;
	-webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
	  transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
	  -webkit-backface-visibility: hidden;
}

.complete-programme ~ .back-image{
	position: fixed;
    width: 100%;
    height: 100%;
    background-size: cover;
	top: 0;
	-webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
	  transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
	  -webkit-backface-visibility: hidden;
	  opacity: 0;
	  z-index: -1;
}

/* Escondido para o iday*/
.view-programme{
	display: none;
}

.view-programme-active .complete-programme{
    opacity: 1;
	z-index: 9999;
	pointer-events: auto;
    overflow-y: auto;
}

.view-programme-active .complete-programme ~ .back-image{
    opacity: 1;
	z-index: 9998;

}

.complete-programme ~ .back-image span{
	position: absolute;
	width: 100%;
    height: 100%;
	top: 0;
	opacity: .95;
	background: #2E323E;
}



body.view-programme-active {
	overflow: hidden;
}

.complete-programme h1,
.complete-programme h2,
.complete-programme h4,
.complete-programme .day p{
	color: #fff;
}

.complete-programme .box-button{
	border-color: #fff;
	color: #fff;
}

.complete-programme .box-button:hover{
	border-color: #009DE0;
}

.complete-programme.programme .day{
	border-color: rgba(255, 255, 255, 0.5);
}


.programme .day > div:nth-child(2) div p br{
	margin-bottom: 10px;
    display: block;
    content: "";
}


#footer {
	width: 100%;
    background: url("https://static.tecnico.ulisboa.pt/themes/tecnico/img/footer-bg.svg") top center no-repeat #2E323E;
    color: #FFF;
	padding: 60px 15px 0;
    text-align: center;
    z-index: 2;
}

#footer .footer-nav a
{
    color: rgba(255,255,255,.3);
}

#footer .footer-nav a:hover
{
    border-bottom: 1px dotted;
    color: #009DE0;
}

#footer ul {
    list-style-type: none;
    padding: 0
}

#footer ul li {
    margin-bottom: 10px
}

@media only screen and (min-width: 1200px) {
    #footer ul li {
        margin-bottom: 5px
    }
}

#footer ul li a {
    font-size: 0.875rem
}

#footer ul li a:hover {
    color: #009DE0
}

#footer .footer-list p {
    font-weight: 600;
    margin: 0
}

#footer .footer-list p a {
    display: none
}

@media (min-width: 1200px) {
    #footer .footer-list p a {
        display: block
    }
}

#footer .footer-list p span {
    cursor: pointer
}

#footer .footer-list ul {
    margin-bottom: 0;
    height: 0;
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: height 600ms cubic-bezier(0.77, 0, 0.175, 1), max-height 600ms cubic-bezier(0.77, 0, 0.175, 1), visibility 600ms cubic-bezier(0.77, 0, 0.175, 1), opacity 600ms cubic-bezier(0.77, 0, 0.175, 1), margin-bottom 600ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: height 600ms cubic-bezier(0.77, 0, 0.175, 1), max-height 600ms cubic-bezier(0.77, 0, 0.175, 1), visibility 600ms cubic-bezier(0.77, 0, 0.175, 1), opacity 600ms cubic-bezier(0.77, 0, 0.175, 1), margin-bottom 600ms cubic-bezier(0.77, 0, 0.175, 1)
}

#footer .footer-list ul.visible {
    visibility: visible;
    opacity: 1;
    height: 100%;
    max-height: 500px
}

#footer .footer-list ul.visible:last-of-type {
    margin-bottom: 60px
}

@media only screen and (min-width: 768px) {
    #footer .footer-list {
        text-align: left
    }
    #footer .footer-list p a {
        display: inline-block
    }
    #footer .footer-list p span {
        display: none
    }
    #footer .footer-list ul {
        visibility: visible;
        opacity: 1;
        height: auto;
        max-height: 100%;
        margin-bottom: 60px
    }
}

#footer .copyright
{
    font-size: 14px;
    font-weight: 400;
    float: right;
	margin: 0;
}

#footer .copyright a
{
    display: inline-block;
}

#footer nav
{
    text-align: justify;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 30px;
    box-sizing: border-box;
    color: rgba(255,255,255,.3);
}

#footer nav ul
{
    float: left;
    margin-bottom: 30px;
}

#footer nav ul li
{
    display: inline-block;
    margin: 0 15px;
}

#footer nav ul li:first-of-type
{
    margin-left: 0;
}


#footer ul li a
{
    color: rgba(255,255,255,.3);
    font-size: 14px;
}

#footer .site-info span.hide-mobile {
    display: none
}

#footer .site-info .copyright {
    margin-bottom: 20px
}

@media only screen and (min-width: 992px) {
    #footer .site-info span.hide-mobile {
        display: inline
    }
    #footer .site-info br {
        display: none
    }
    #footer .site-info .copyright {
        margin-bottom: 0;
    }
    #footer .site-info .last-update {
        text-align: right
    }
}

.social-icons a,
.social-share a {
    padding: 8px
}

.social-icons a svg .social-bg, .social-icons a svg .social-icon, .social-share a svg .social-bg, .social-share a svg .social-icon {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

footer .social-icon
{
	fill: #fff;
}

footer .social-bg
{
	stroke: #fff;
}

.social-icons a:hover svg .social-bg, .social-share a:hover svg .social-bg {
    fill: #009DE0;
    stroke: #009DE0;
}

.social-icons a:hover svg .social-icon, .social-share a:hover svg .social-icon {
    fill: #FFF;
}

#footer .social-icons {
    width: 100%;
    text-align: center;
    margin: 40px 0
}

#footer .social-icons p {
    font-weight: 600;
	font-size: 16px;
}

@media only screen and (min-width: 1200px) {
    #footer .social-icons {
        margin-top: 0
    }
}

#footer .social-icons li,
#footer .social-icons a {
    display: inline-block
}


@media screen and (max-width: 1200px)
{
    #footer nav ul,
    #footer .copyright
    {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 990px)
{
    #footer .footer-nav
    {
        text-align: center;
    }

    #footer .footer-nav ul
    {
        margin-bottom: 30px;
    }

    #footer .footer-nav ul li
    {
        display: block;
        margin: 15px 0;
    }
}

#footer .copyright a {
    display: inline-block;
}
#footer .footer-nav a {
    color: rgba(255,255,255,.3);
}


a {
    color: #009DE0;
    text-decoration: none;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-tap-highlight-color: transparent
}

ul:first-child,
ol:first-child {
    margin-top: 0
}

ul:last-child,
ol:last-child {
    margin-bottom: 0
}

ul,
ol {
    padding-left: 20px;
    margin: 32px 0 56px
}

ul li,
ol li {
    margin-bottom: 15px
}

ol {
    list-style-type: decimal
}


.modal{
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	width: 100%;
	height: 100%;
	overflow: scroll;
	z-index: -1;
	opacity: 0;
	padding: 100px 0;
	pointer-events: none;
	-webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.modal.active{
	z-index: 50;
	opacity: 1;
	pointer-events: all;
}

.modal-close{
	position: fixed;
    right: 30px;
    top: 30px;
    padding: 17px;
    z-index: 99999;
    user-select: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.sr-only {
    border: 0;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    margin: -1px !important;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
}
.modal-close:before {
    transform: rotate(45deg);
}

.modal-close:before, .modal-close:after {
    position: absolute;
    content: "";
    background: #aaa;
    width: 20px;
    height: 2px;
    top: 16px;
    left: 7px;
}

.modal-close:after {
    transform: rotate(-45deg);
}


/* bootstrap col */
.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
    float: left
}

.col-xs-1 {
    width: 8.3333333333%
}

.col-xs-2 {
    width: 16.6666666667%
}

.col-xs-3 {
    width: 25%
}

.col-xs-4 {
    width: 33.3333333333%
}

.col-xs-5 {
    width: 41.6666666667%
}

.col-xs-6 {
    width: 50%
}

.col-xs-7 {
    width: 58.3333333333%
}

.col-xs-8 {
    width: 66.6666666667%
}

.col-xs-9 {
    width: 75%
}

.col-xs-10 {
    width: 83.3333333333%
}

.col-xs-11 {
    width: 91.6666666667%
}

.col-xs-12 {
    width: 100%
}

.col-xs-pull-0 {
    right: auto
}

.col-xs-pull-1 {
    right: 8.3333333333%
}

.col-xs-pull-2 {
    right: 16.6666666667%
}

.col-xs-pull-3 {
    right: 25%
}

.col-xs-pull-4 {
    right: 33.3333333333%
}

.col-xs-pull-5 {
    right: 41.6666666667%
}

.col-xs-pull-6 {
    right: 50%
}

.col-xs-pull-7 {
    right: 58.3333333333%
}

.col-xs-pull-8 {
    right: 66.6666666667%
}

.col-xs-pull-9 {
    right: 75%
}

.col-xs-pull-10 {
    right: 83.3333333333%
}

.col-xs-pull-11 {
    right: 91.6666666667%
}

.col-xs-pull-12 {
    right: 100%
}

.col-xs-push-0 {
    left: auto
}

.col-xs-push-1 {
    left: 8.3333333333%
}

.col-xs-push-2 {
    left: 16.6666666667%
}

.col-xs-push-3 {
    left: 25%
}

.col-xs-push-4 {
    left: 33.3333333333%
}

.col-xs-push-5 {
    left: 41.6666666667%
}

.col-xs-push-6 {
    left: 50%
}

.col-xs-push-7 {
    left: 58.3333333333%
}

.col-xs-push-8 {
    left: 66.6666666667%
}

.col-xs-push-9 {
    left: 75%
}

.col-xs-push-10 {
    left: 83.3333333333%
}

.col-xs-push-11 {
    left: 91.6666666667%
}

.col-xs-push-12 {
    left: 100%
}

.col-xs-offset-0 {
    margin-left: 0%
}

.col-xs-offset-1 {
    margin-left: 8.3333333333%
}

.col-xs-offset-2 {
    margin-left: 16.6666666667%
}

.col-xs-offset-3 {
    margin-left: 25%
}

.col-xs-offset-4 {
    margin-left: 33.3333333333%
}

.col-xs-offset-5 {
    margin-left: 41.6666666667%
}

.col-xs-offset-6 {
    margin-left: 50%
}

.col-xs-offset-7 {
    margin-left: 58.3333333333%
}

.col-xs-offset-8 {
    margin-left: 66.6666666667%
}

.col-xs-offset-9 {
    margin-left: 75%
}

.col-xs-offset-10 {
    margin-left: 83.3333333333%
}

.col-xs-offset-11 {
    margin-left: 91.6666666667%
}

.col-xs-offset-12 {
    margin-left: 100%
}

@media (min-width: 768px) {
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12 {
        float: left
    }
    .col-sm-1 {
        width: 8.3333333333%
    }
    .col-sm-2 {
        width: 16.6666666667%
    }
    .col-sm-3 {
        width: 25%
    }
    .col-sm-4 {
        width: 33.3333333333%
    }
    .col-sm-5 {
        width: 41.6666666667%
    }
    .col-sm-6 {
        width: 50%
    }
    .col-sm-7 {
        width: 58.3333333333%
    }
    .col-sm-8 {
        width: 66.6666666667%
    }
    .col-sm-9 {
        width: 75%
    }
    .col-sm-10 {
        width: 83.3333333333%
    }
    .col-sm-11 {
        width: 91.6666666667%
    }
    .col-sm-12 {
        width: 100%
    }
    .col-sm-pull-0 {
        right: auto
    }
    .col-sm-pull-1 {
        right: 8.3333333333%
    }
    .col-sm-pull-2 {
        right: 16.6666666667%
    }
    .col-sm-pull-3 {
        right: 25%
    }
    .col-sm-pull-4 {
        right: 33.3333333333%
    }
    .col-sm-pull-5 {
        right: 41.6666666667%
    }
    .col-sm-pull-6 {
        right: 50%
    }
    .col-sm-pull-7 {
        right: 58.3333333333%
    }
    .col-sm-pull-8 {
        right: 66.6666666667%
    }
    .col-sm-pull-9 {
        right: 75%
    }
    .col-sm-pull-10 {
        right: 83.3333333333%
    }
    .col-sm-pull-11 {
        right: 91.6666666667%
    }
    .col-sm-pull-12 {
        right: 100%
    }
    .col-sm-push-0 {
        left: auto
    }
    .col-sm-push-1 {
        left: 8.3333333333%
    }
    .col-sm-push-2 {
        left: 16.6666666667%
    }
    .col-sm-push-3 {
        left: 25%
    }
    .col-sm-push-4 {
        left: 33.3333333333%
    }
    .col-sm-push-5 {
        left: 41.6666666667%
    }
    .col-sm-push-6 {
        left: 50%
    }
    .col-sm-push-7 {
        left: 58.3333333333%
    }
    .col-sm-push-8 {
        left: 66.6666666667%
    }
    .col-sm-push-9 {
        left: 75%
    }
    .col-sm-push-10 {
        left: 83.3333333333%
    }
    .col-sm-push-11 {
        left: 91.6666666667%
    }
    .col-sm-push-12 {
        left: 100%
    }
    .col-sm-offset-0 {
        margin-left: 0%
    }
    .col-sm-offset-1 {
        margin-left: 8.3333333333%
    }
    .col-sm-offset-2 {
        margin-left: 16.6666666667%
    }
    .col-sm-offset-3 {
        margin-left: 25%
    }
    .col-sm-offset-4 {
        margin-left: 33.3333333333%
    }
    .col-sm-offset-5 {
        margin-left: 41.6666666667%
    }
    .col-sm-offset-6 {
        margin-left: 50%
    }
    .col-sm-offset-7 {
        margin-left: 58.3333333333%
    }
    .col-sm-offset-8 {
        margin-left: 66.6666666667%
    }
    .col-sm-offset-9 {
        margin-left: 75%
    }
    .col-sm-offset-10 {
        margin-left: 83.3333333333%
    }
    .col-sm-offset-11 {
        margin-left: 91.6666666667%
    }
    .col-sm-offset-12 {
        margin-left: 100%
    }
}

@media (min-width: 992px) {
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12 {
        float: left
    }
    .col-md-1 {
        width: 8.3333333333%
    }
    .col-md-2 {
        width: 16.6666666667%
    }
    .col-md-3 {
        width: 25%
    }
    .col-md-4 {
        width: 33.3333333333%
    }
    .col-md-5 {
        width: 41.6666666667%
    }
    .col-md-6 {
        width: 50%
    }
    .col-md-7 {
        width: 58.3333333333%
    }
    .col-md-8 {
        width: 66.6666666667%
    }
    .col-md-9 {
        width: 75%
    }
    .col-md-10 {
        width: 83.3333333333%
    }
    .col-md-11 {
        width: 91.6666666667%
    }
    .col-md-12 {
        width: 100%
    }
    .col-md-pull-0 {
        right: auto
    }
    .col-md-pull-1 {
        right: 8.3333333333%
    }
    .col-md-pull-2 {
        right: 16.6666666667%
    }
    .col-md-pull-3 {
        right: 25%
    }
    .col-md-pull-4 {
        right: 33.3333333333%
    }
    .col-md-pull-5 {
        right: 41.6666666667%
    }
    .col-md-pull-6 {
        right: 50%
    }
    .col-md-pull-7 {
        right: 58.3333333333%
    }
    .col-md-pull-8 {
        right: 66.6666666667%
    }
    .col-md-pull-9 {
        right: 75%
    }
    .col-md-pull-10 {
        right: 83.3333333333%
    }
    .col-md-pull-11 {
        right: 91.6666666667%
    }
    .col-md-pull-12 {
        right: 100%
    }
    .col-md-push-0 {
        left: auto
    }
    .col-md-push-1 {
        left: 8.3333333333%
    }
    .col-md-push-2 {
        left: 16.6666666667%
    }
    .col-md-push-3 {
        left: 25%
    }
    .col-md-push-4 {
        left: 33.3333333333%
    }
    .col-md-push-5 {
        left: 41.6666666667%
    }
    .col-md-push-6 {
        left: 50%
    }
    .col-md-push-7 {
        left: 58.3333333333%
    }
    .col-md-push-8 {
        left: 66.6666666667%
    }
    .col-md-push-9 {
        left: 75%
    }
    .col-md-push-10 {
        left: 83.3333333333%
    }
    .col-md-push-11 {
        left: 91.6666666667%
    }
    .col-md-push-12 {
        left: 100%
    }
    .col-md-offset-0 {
        margin-left: 0%
    }
    .col-md-offset-1 {
        margin-left: 8.3333333333%
    }
    .col-md-offset-2 {
        margin-left: 16.6666666667%
    }
    .col-md-offset-3 {
        margin-left: 25%
    }
    .col-md-offset-4 {
        margin-left: 33.3333333333%
    }
    .col-md-offset-5 {
        margin-left: 41.6666666667%
    }
    .col-md-offset-6 {
        margin-left: 50%
    }
    .col-md-offset-7 {
        margin-left: 58.3333333333%
    }
    .col-md-offset-8 {
        margin-left: 66.6666666667%
    }
    .col-md-offset-9 {
        margin-left: 75%
    }
    .col-md-offset-10 {
        margin-left: 83.3333333333%
    }
    .col-md-offset-11 {
        margin-left: 91.6666666667%
    }
    .col-md-offset-12 {
        margin-left: 100%
    }
}

@media (min-width: 1200px) {
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        float: left
    }
    .col-lg-1 {
        width: 8.3333333333%
    }
    .col-lg-2 {
        width: 16.6666666667%
    }
    .col-lg-3 {
        width: 25%
    }
    .col-lg-4 {
        width: 33.3333333333%
    }
    .col-lg-5 {
        width: 41.6666666667%
    }
    .col-lg-6 {
        width: 50%
    }
    .col-lg-7 {
        width: 58.3333333333%
    }
    .col-lg-8 {
        width: 66.6666666667%
    }
    .col-lg-9 {
        width: 75%
    }
    .col-lg-10 {
        width: 83.3333333333%
    }
    .col-lg-11 {
        width: 91.6666666667%
    }
    .col-lg-12 {
        width: 100%
    }
    .col-lg-pull-0 {
        right: auto
    }
    .col-lg-pull-1 {
        right: 8.3333333333%
    }
    .col-lg-pull-2 {
        right: 16.6666666667%
    }
    .col-lg-pull-3 {
        right: 25%
    }
    .col-lg-pull-4 {
        right: 33.3333333333%
    }
    .col-lg-pull-5 {
        right: 41.6666666667%
    }
    .col-lg-pull-6 {
        right: 50%
    }
    .col-lg-pull-7 {
        right: 58.3333333333%
    }
    .col-lg-pull-8 {
        right: 66.6666666667%
    }
    .col-lg-pull-9 {
        right: 75%
    }
    .col-lg-pull-10 {
        right: 83.3333333333%
    }
    .col-lg-pull-11 {
        right: 91.6666666667%
    }
    .col-lg-pull-12 {
        right: 100%
    }
    .col-lg-push-0 {
        left: auto
    }
    .col-lg-push-1 {
        left: 8.3333333333%
    }
    .col-lg-push-2 {
        left: 16.6666666667%
    }
    .col-lg-push-3 {
        left: 25%
    }
    .col-lg-push-4 {
        left: 33.3333333333%
    }
    .col-lg-push-5 {
        left: 41.6666666667%
    }
    .col-lg-push-6 {
        left: 50%
    }
    .col-lg-push-7 {
        left: 58.3333333333%
    }
    .col-lg-push-8 {
        left: 66.6666666667%
    }
    .col-lg-push-9 {
        left: 75%
    }
    .col-lg-push-10 {
        left: 83.3333333333%
    }
    .col-lg-push-11 {
        left: 91.6666666667%
    }
    .col-lg-push-12 {
        left: 100%
    }
    .col-lg-offset-0 {
        margin-left: 0%
    }
    .col-lg-offset-1 {
        margin-left: 8.3333333333%
    }
    .col-lg-offset-2 {
        margin-left: 16.6666666667%
    }
    .col-lg-offset-3 {
        margin-left: 25%
    }
    .col-lg-offset-4 {
        margin-left: 33.3333333333%
    }
    .col-lg-offset-5 {
        margin-left: 41.6666666667%
    }
    .col-lg-offset-6 {
        margin-left: 50%
    }
    .col-lg-offset-7 {
        margin-left: 58.3333333333%
    }
    .col-lg-offset-8 {
        margin-left: 66.6666666667%
    }
    .col-lg-offset-9 {
        margin-left: 75%
    }
    .col-lg-offset-10 {
        margin-left: 83.3333333333%
    }
    .col-lg-offset-11 {
        margin-left: 91.6666666667%
    }
    .col-lg-offset-12 {
        margin-left: 100%
    }
}


/* Mobile */

@media screen and (max-width: 1023px)
{
	.programme .col-md-1
	{
		width: 10%;
		float: left;
	}

	.programme .col-md-11
	{
		width: 90%;
		overflow: auto;
	}

	.programme .day > div:nth-child(2) div:first-child:nth-last-child(2), .programme .day > div:nth-child(2) div:first-child:nth-last-child(2) ~ div,
	.programme .day > div:nth-child(2) div:first-child:nth-last-child(3), .programme .day > div:nth-child(2) div:first-child:nth-last-child(3) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(4), .programme .day > div:nth-child(2) div:first-child:nth-last-child(4) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(5), .programme .day > div:nth-child(2) div:first-child:nth-last-child(5) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(6), .programme .day > div:nth-child(2) div:first-child:nth-last-child(6) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(7), .programme .day > div:nth-child(2) div:first-child:nth-last-child(7) ~ div .programme .day > div:nth-child(2) div:first-child:nth-last-child(8), .programme .day > div:nth-child(2) div:first-child:nth-last-child(8) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(9), .programme .day > div:nth-child(2) div:first-child:nth-last-child(9) ~ div
	{
		width: 100%;
		max-width: none;
	}

	.programme .day > div:nth-child(2) > div
	{
		margin-bottom: 40px;
	}

	.programme .day > div:nth-child(2) > div:last-of-type,
	.programme .day > div:nth-child(2) > div:last-of-type p:last-of-type
	{
		margin-bottom: 0
	}
}


@media screen and (max-width: 992px)
{
	.col-sm-1,
	.col-sm-2,
	.col-sm-3,
	.col-sm-4,
	.col-sm-5,
	.col-sm-6,
	.col-sm-7,
	.col-sm-8,
	.col-sm-9,
	.col-sm-10,
	.col-sm-11,
	.col-sm-12 {
		float: left;
	}
	.col-sm-1 {
		width: 8.3333333333%
	}
	.col-sm-2 {
		width: 16.6666666667%
	}
	.col-sm-3 {
		width: 25%
	}
	.col-sm-4 {
		width: 33.3333333333%
	}
	.col-sm-5 {
		width: 41.6666666667%
	}
	.col-sm-6 {
		width: 50%
	}
	.col-sm-7 {
		width: 58.3333333333%
	}
	.col-sm-8 {
		width: 66.6666666667%
	}
	.col-sm-9 {
		width: 75%
	}
	.col-sm-10 {
		width: 83.3333333333%
	}
	.col-sm-11 {
		width: 91.6666666667%
	}
	.col-sm-12 {
		width: 100%
	}
	.col-sm-pull-0 {
		right: auto
	}
	.col-sm-pull-1 {
		right: 8.3333333333%
	}
	.col-sm-pull-2 {
		right: 16.6666666667%
	}
	.col-sm-pull-3 {
		right: 25%
	}
	.col-sm-pull-4 {
		right: 33.3333333333%
	}
	.col-sm-pull-5 {
		right: 41.6666666667%
	}
	.col-sm-pull-6 {
		right: 50%
	}
	.col-sm-pull-7 {
		right: 58.3333333333%
	}
	.col-sm-pull-8 {
		right: 66.6666666667%
	}
	.col-sm-pull-9 {
		right: 75%
	}
	.col-sm-pull-10 {
		right: 83.3333333333%
	}
	.col-sm-pull-11 {
		right: 91.6666666667%
	}
	.col-sm-pull-12 {
		right: 100%
	}
	.col-sm-push-0 {
		left: auto
	}
	.col-sm-push-1 {
		left: 8.3333333333%
	}
	.col-sm-push-2 {
		left: 16.6666666667%
	}
	.col-sm-push-3 {
		left: 25%
	}
	.col-sm-push-4 {
		left: 33.3333333333%
	}
	.col-sm-push-5 {
		left: 41.6666666667%
	}
	.col-sm-push-6 {
		left: 50%
	}
	.col-sm-push-7 {
		left: 58.3333333333%
	}
	.col-sm-push-8 {
		left: 66.6666666667%
	}
	.col-sm-push-9 {
		left: 75%
	}
	.col-sm-push-10 {
		left: 83.3333333333%
	}
	.col-sm-push-11 {
		left: 91.6666666667%
	}
	.col-sm-push-12 {
		left: 100%
	}
	.col-sm-offset-0 {
		margin-left: 0%
	}
	.col-sm-offset-1 {
		margin-left: 8.3333333333%
	}
	.col-sm-offset-2 {
		margin-left: 16.6666666667%
	}
	.col-sm-offset-3 {
		margin-left: 25%
	}
	.col-sm-offset-4 {
		margin-left: 33.3333333333%
	}
	.col-sm-offset-5 {
		margin-left: 41.6666666667%
	}
	.col-sm-offset-6 {
		margin-left: 50%
	}
	.col-sm-offset-7 {
		margin-left: 58.3333333333%
	}
	.col-sm-offset-8 {
		margin-left: 66.6666666667%
	}
	.col-sm-offset-9 {
		margin-left: 75%
	}
	.col-sm-offset-10 {
		margin-left: 83.3333333333%
	}
	.col-sm-offset-11 {
		margin-left: 91.6666666667%
	}
	.col-sm-offset-12 {
		margin-left: 100%
	}

	section{
		margin: 75px 0;
	}

	section:nth-child(even)
	{
			padding: 75px 0;
			margin: 0;
	}

	.row .gallery.logos > div
	{
		padding: 30px 60px;
	}

	section.accomodation .row .gallery .gallery-cell > div,
	section.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(3),
	section.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(1)
	{
		padding: 0;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 60px;
	}

}


#event-details-card .event-primary-actions .limit-date{
    position: absolute;
    right: 8px;
    top: 64px;
    font-size: 12px;
    margin: 0;
    width: 100%;
    text-align: right;
}

@media screen and (max-width: 999px){
	#event-details-card .event-primary-info,
	#event-details-card .event-primary-actions{
		width: 100%;
	}

	#event-details-card .event-primary-actions{
		float: none;
		width: 100%;
		padding: 20px;
		margin: 20px 0 10px;
		overflow: auto;
		text-align: center;
	}

	#event-details-card .event-primary-actions a{
        float: none;
		width: 100%;
		margin: 0;
	}

    #event-details-card .event-primary-actions .limit-date{
        position: static;
        font-size: 12px;
        margin: 12px 0 0 0;
        text-align: left;
    }


}





@media screen and (max-width: 650px)
{


	.page-header
	{
		height: auto;
	}

	.page-header .header-content
	{
		position: relative;
		top: initial;
		transform: none;
		width: 100%;
	}

	section
	{
		margin: 50px 0;
	}

	section:nth-child(even)
	{
			padding: 50px 0;
			margin: 0;
	}

	#event-details-card
	{
		margin: 0;
	}

	#event-details-card .container
	{
			border-bottom: 1px solid #ddd;
			box-shadow: none;
			overflow: initial;
	}



	#event-details-card .event-primary-info .info
	{
		padding: 20px;
		float: none;
		width: 100%;
		box-sizing: border-box;
		margin: 0;
	}

	#event-details-card .event-primary-info .info:first-of-type
	{
		margin-left: 0;
	}






	#event-details-card ul li
	{
			display: block;
			margin: 15px 0;
	}

	#event-details-card ul li a
	{
		padding: 5px 0
	}

	.row .gallery.logos .col-sm-6
	{
		display: block;
		margin: auto;
		padding: 15px 0;
		width: 100%;
	}

	.row .gallery.logos > div:hover
	{
		background: transparent;
	}

	.row .gallery.logos
	{
		padding: 0;
		width: 100%
	}

	.row .gallery
	{
		padding: 0;
	}

	.row .gallery img
	{
		max-width: 50%;
	    margin: auto;
	    display: block;
	}

	section.accomodation .row .gallery .gallery-cell > div,
	section.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(3),
	section.accomodation .row .gallery .gallery-cell > div:nth-child(odd):nth-child(1)
	{
		padding: 0 15px;
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 40px;
	}

	section.accomodation .row .gallery .gallery-cell > div:last-of-type
	{
		margin-bottom: 0;
	}

	.row .gallery h4
	{
			margin: 0 0 5px;
	}

	.row .gallery .rating
	{
		margin-bottom: 15px;
	}

	.programme .col-sm-12
	{
		width: 100%;
	}

	.programme .col-md-1.col-sm-12
	{
			margin-bottom: 40px;
	}

	.programme .day
	{
			padding: 50px 0 0;
			margin: 0 0 50px;
	}

	.programme .container > div:nth-of-type(2)
	{
		padding-top: 25px;
	}

	.programme .day > div:nth-child(2) > div
	{
			margin-bottom: 20px;
            width: unset;
            padding-left: 0;
	}

	.programme .day > div:nth-child(2) div:first-child:nth-last-child(2), .programme .day > div:nth-child(2) div:first-child:nth-last-child(2) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(3), .programme .day > div:nth-child(2) div:first-child:nth-last-child(3) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(4), .programme .day > div:nth-child(2) div:first-child:nth-last-child(4) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(5), .programme .day > div:nth-child(2) div:first-child:nth-last-child(5) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(6), .programme .day > div:nth-child(2) div:first-child:nth-last-child(6) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(7), .programme .day > div:nth-child(2) div:first-child:nth-last-child(7) ~ div .programme .day > div:nth-child(2) div:first-child:nth-last-child(8), .programme .day > div:nth-child(2) div:first-child:nth-last-child(8) ~ div, .programme .day > div:nth-child(2) div:first-child:nth-last-child(9), .programme .day > div:nth-child(2) div:first-child:nth-last-child(9) ~ div
	{
		padding-left: 0;
	}

	.programme .container div:last-of-type button
	{
		margin: 35px 0;
		float: left;
	}

	.row .gallery > div
	{
		vertical-align: top;
		width: 100%;
	}

	/* .row .gallery > div:not(:last-of-type){
		margin-bottom: 0;
	} */

	.row .gallery div:nth-of-type(1) .img, .row .gallery div:nth-of-type(2) .img, .row .gallery div:nth-of-type(3) .img, .row .gallery div:nth-of-type(4) .img
	{
		margin-top: 40px;
	}

	#footer nav ul,
	#footer .copyright
	{
		float: none;
		text-align: center;
	}

	#footer .social-icons ul
	{
		max-width: 75%;
		margin: auto;
	}

	header
	{
			padding: 20px 0;
	}

	header nav
	{
			position: fixed;
		    top: 0;
		    right: -260px;
		    bottom: 0;
		    height: 100vh;
		    width: 260px;
		    background-color: #262a32;
		    opacity: 1;
		    visibility: visible;
		    overflow-x: hidden;
		    overflow-y: scroll;
			-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
  transition:         all 600ms cubic-bezier(0.77, 0, 0.175, 1);
			padding-right: 0;
	}


	header nav ul li a.secundary
	{
		    color: #8B94A8;
	}

	body.nav-is-visible
	{
		overflow: hidden;
		height: 100%;
	}

/*	header .nav-trigger
	{
		display: block;
	}
*/

.page-header .header-content h1{
	font-size: 42px;
}

.programme .day .col-md-1 h4,
.programme .day .col-md-1 h2{
	width: 100%;
}


	header nav ul li
	{
		float: none;
		width: 100%;
		display: block;
		line-height: 52px;
		padding: 0 20px;
		margin: 0;
		color: #FFF;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		border-bottom: 1px solid #313641;
	}

	header .desktop-logo
	{
		display: none;
	}

	header .mobile-logo
	{
		display: block;
	}

	#map{
		max-height: 50vh;
	}


}

.nav-trigger{
	position: relative;
	padding: 20px;
	float: right;
	border: 0;
	outline: none;
	display: none;
	margin-top: -5px;
}

.nav-trigger span {
    -webkit-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    -webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	left: 0;
}

.nav-trigger span, .nav-trigger span:before, .nav-trigger span:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
	left: 50%;
	transform: translateX(-50%);
}

.nav-trigger span:before, .nav-trigger span:after {
	-webkit-transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
  transition:         all 600ms cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-trigger span:before {
    margin-top: -6px;
	margin-left: 0;
}

.nav-trigger span:after {
    margin-top: 6px;
	margin-left: 0;
}

body.nav-is-visible .nav-trigger span {
    background-color: transparent;
}

body.nav-is-visible .nav-trigger span:before {
    -webkit-transform: rotate(45deg) translateX(-50%);
    transform: rotate(45deg) translateX(-50%);
    -webkit-transform-origin: -9px;
    transform-origin: -9px;
	margin-left: 3px;
}

body.nav-is-visible .nav-trigger span:after {
    -webkit-transform: rotate(-45deg) translateX(-50%);
    transform: rotate(-45deg) translateX(-50%);
    -webkit-transform-origin: -8px;
    transform-origin: -8px;
	margin-left: 3px;
}



 .overlay-close {
    position: fixed;
    right: 30px;
    top: 30px;
    padding: 17px;
    z-index: 99999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
	-webkit-transition: all 300ms cubic-bezier(0.86, 0, 0.07, 1);
  transition:         all 300ms cubic-bezier(0.86, 0, 0.07, 1);
}

 .overlay-close:hover{
	 border: 2px solid rgba(255, 255, 255, 1);
 }

.sr-only {
    border: 0;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    margin: -1px !important;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
}

.overlay-close:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.overlay-close:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.overlay-close:before,
.overlay-close:after {
    position: absolute;
    content: "";
    background: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 2px;
    top: 16px;
    left: 7px;
	-webkit-transition: all 300ms cubic-bezier(0.86, 0, 0.07, 1);
  transition:         all 300ms cubic-bezier(0.86, 0, 0.07, 1);
}

.overlay-close:hover:before,
.overlay-close:hover:after{
	background: rgba(255, 255, 255, 1);
}



.menu.dropdown.share-menu{
	width: 150px;
	background: #fff;
	position: absolute;
	z-index: -1;
	opacity: 0;
	top: 35px;
	left: -5000px;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.3);
	-webkit-transition: opacity 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:         opacity 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu.dropdown.share-menu.active{
	left: 50%;
	opacity: 1;
	z-index: 9
}

#event-details-card .menu.dropdown.share-menu ul{
	padding: 0;
}

#event-details-card .menu.dropdown.share-menu ul li{
	margin: 0;
	width: 100%;
}

#event-details-card .event-secundary-actions .menu.dropdown.share-menu a:hover{
	color: #fff;
}

.menu.dropdown.share-menu li a{
	display: block;
	padding: 0 20px;
	height: 52px;
	line-height: 52px;
	text-decoration: none;
	color: #505050;
	border: 0;
	-webkit-transition: border .2s ease;
	transition: border .2s ease;
	width: 100%;
}

.menu.dropdown.share-menu li a:hover {
    background-color: #009DE0;
    color: #FFF;
    border-bottom: 0;
}

.upper-arrow {
	position: absolute;
    top: -12px;
    left: 50%;
    margin-left: -6px;
    width: 13px;
    height: 12px;
    z-index: 4;
    overflow: hidden;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.upper-arrow:after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background: #fff;
    -webkit-transform: rotate(45deg) translate(6px, 6px);
    transform: rotate(45deg) translate(6px, 6px);
    box-shadow: 0px 5px 40px 0px rgba(0,0,0,0.1);
}


.overlay {
    position: fixed;
    z-index: 7;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    background-color: rgba(46,50,62,0.3);
    visibility: hidden;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 600ms cubic-bezier(0.77, 0, 0.175, 1),visibility 600ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: opacity 600ms cubic-bezier(0.77, 0, 0.175, 1),visibility 600ms cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-is-visible .overlay{
    opacity: 1;
    visibility: visible;
}




/* Apagar isto quando não for necessário */

#fixed-warning{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #F9690E;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
}

#fixed-warning .content{
    background: white;
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 0 40px 0 rgba(0,0,0,.1);
}

.site-language {
    float: right;
    margin-left: 40px;
    text-transform: uppercase;

}


@media screen and (max-width: 650px){
    .site-language{
        padding-top: 8px;
    }
}


iframe[src*="youtube.com/embed/"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}
