﻿body {
}

a:focus, a:hover {
   
    text-decoration: none;
}

.opaca {
    opacity: 0.75;
}

.legendList {
   width:50%;
   float:left;
  
}

.wrapperLegend {
    padding-top:100px
}

.mapInfo {
    z-index:40;
    position:relative;
    float:right;
    top: 150px;
    margin-right: 0px;
}

.legendItem img { 
        width: 100%; 
      height:90px;
       padding:12px;
     /*  margin:6px;*/
}


#Map img { 
        width: 100%; 
      height:auto;
      padding:6px;
     margin:6px;
}

.btn-info, .btn-info:visited, btn-info:active {
    font-size:18px;
    background-color:#d3d800;
    border : 1px solid #abaf04;
    padding-left:18px;
    padding-right:18px;
}


.btn-info:hover {
    font-size:18px;
    background-color:#abaf04;
    border : 1px solid #d3d800;
   padding-left:18px;
    padding-right:18px;
}

svg{
     padding:6px;
     margin:6px;
}


.svg-selected {
    border: 2px solid #f1f1f1;
}

.content-centered {
	display:flex;
	justify-content:center;
	align-items:center;
}


.campi-selector {
	text-align: center;
	padding: 0;
	margin-top: 40vh;
}

.campi-selector__item {
	list-style: none;
	margin: 2em 130px;
	display:inline-block;
}
.campi-selector__item .content-centered > img {
	position: absolute;
	z-index: -1;
	height: 460px;
	width: auto;
	top: 25%; 
}

.uminho-background {
	padding-top: 2em;
	background: url('/greencampi/img/uminho-icon.svg');
	background-repeat: no-repeat;
	height: 100vh;
	background-size: 50em;
	background-position: calc(100vw - 42em) calc(100vh - 40em);
}


.campi-selector__link {
	z-index: 1;
	border-radius: 25px;
	color: #80171b;
	font-size: 2em;
	padding: 0.5em;
	transition: background-color 0.2s ease-in;
	 background-color: #fafafa;
}


 .campi-selector__link:hover {
    background-color: #80171b;
    color: #fff;
}

.campi-title-div{
    display: flex;
    align-items: center;
    justify-content: center;

    display: -ms-flexbox; -ms-flex-align: center; -ms-flex-pack: center; align-items: center; justify-content: center;
}

.campi-title-div img{
	width: 70px;
}

.campi-title-div .campi-title {
	text-align: center;
	color: #848484;
	font-size: 2.6em;
	margin: 0;
	margin-left: 20px;
	font-weight: bold;
}




/* Header */

.uminho-header {
	background-color: rgba(255, 255, 255, 0.70);
	position: relative;
	z-index: 100;
	top: 0;
	left: 0;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	padding: 1em 1em 0em 1em;
	text-align: center;

}

.uminho-header	h1 {
		font-size: 1.15em;
		font-weight: normal;
		line-height: 1;
		margin: 0 0 0 1em;
	}

.uminho-header a {
		margin-left: 1em;
        color:#666;
        
	}

.uminho-header a:not(:last-child)::after {
		content: '';
		position: absolute;
		width: 1px;
		height: 100%;
		background: rgba(0, 0, 0, 0.1);
		transform: rotate3d(0, 0, 1, 22.5deg);
		margin-left: 0.5em;
	}

/* Top Navigation Style */

.uminho-links {
	position: relative;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
}

.uminho-links__current {
	font-weight: 600;
}


.main {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	overflow: hidden;
	height: 100vh;
}










@media screen and (max-width: 1165px) {
	.campi-selector__item {
		margin: 2em 80px;
	}
}

@media screen and (max-width: 965px) {
	.campi-selector__item {
		margin: 2em 50px;
	}
	.campi-thumb-pics > img {
		height: 95px;
	}
}

@media screen and (max-width: 888px) {
	.campi-selector {
		margin-top: 13vh;
	}
	.campi-selector__item {
		display: block;
	}
	.campi-selector__item img {
		display: none;
	}
}

@media screen and (max-width: 574px) {
	.campi-selector {
		margin-top: 10vh;
	}
	.campi-title-div {
		flex-direction: column-reverse;
	}
	.campi-title-div .campi-title {
		margin-left: 0px;
		margin-bottom: 10px;
	}
}

@media screen and (max-height: 580px) {
	.campi-selector__item > .content-centered > img {
		height: 350px;
	}
}

@media screen and (max-height: 500px) {
	.campi-selector {
		margin-top: 20vh;
	}
	.campi-selector__item > .content-centered > img {
		height: 250px;
	}
}

@media screen and (max-height: 377px) {
	.campi-selector {
		margin-top: 10vh;
	}
	.campi-selector__item img {
		display: none;
	}
}
