html {
	overflow-y: scroll;
}

body {
	margin:0 auto;
	width: 960px;
	font-size: 14px; 
	color:#001482; 
	font-family: Arial, helvetica, sans-serif;
}

header, main, footer {
	clear: both;
}

h1 {
	margin-top: 2px;
	font-family: Georgia,Arial,Serif;
	margin: 0;
}

h2 {

	font-family: Arial, helvetica, sans-serif;
	margin: 0;
}

h3 {
	
	font-family: Arial, helvetica, sans-serif;
	color: navy;
	margin: 0.5px, 0.5px, 0.5px, 0.5px;
}
.box{
	width: 92%;
	background-color: #A4B2FD;
	margin: 1% 0;
	padding: 2% 4%;
}

.box p, li{
	line-height: 24px;
	text-align: justify;
	
	
}

.boxin ul {
	line-height: 24px;
	text-align: justify;
	list-style-type: square;
	
	
}
.box_content{
	width: 92%;
	height: 210px;
	background-image: url("img/fons_email.png");
	background-repeat: no-repeat;
	background-position: center right;
	margin: 1% 0;
	padding: 2% 4%;
	
}

.box_girona{
	width: 92%;
	height: 740px;
	background-image: url("img/Girona_wall.jpg");
	background-repeat: no-repeat;
	opactiy: 0.9;
	background-position: center right;
	margin: 2% 0;
	padding: 2% 4%;
	
	
}




div.boxgirona {
margin: 4px;
float: left;
width: 180px;
height: 160px;
opacity: 0.7;
}



#container {
    width: 960px;
    background-color: white;
    margin: auto;
}

#first {
    width: 450px;
    float: left;
    height: 150px;
    text-align: left;
	float: left;
	padding: 2px 2px;
	margin: 1px ;
	
}

#second {
    width: 380px;
    float: right;
    height: 150px;
 	background-color: lightyellow;
	background-image: url("img/important.png");
	background-repeat: no-repeat;
	text-align: right;
	float: right;
	padding: 0px 10px 8px;
	margin: 1px 0px ;
	
	
}
#clear {
    clear: both;
}




div.boxgirona:hover {
  
	opacity: 1;
}

div.boxgirona img {
  width: 100%;
	
  	height: auto;
}

div.desc {
  padding: 1px;
  text-align: center;
}




.box_content ul {
	list-style-image: url("img/email.png");
	
}

.box_content a {
	text-decoration: none;
}

.box_content a:hover {
	text-decoration: none;
	Color: white; 
	background-color:#001482;
}

.box_content a:active {
	text-decoration: none;
	color:#001482;
}
.box_content a:visited {
	text-decoration: none;
	color:forestgreen;
}

.box_accomodation{
	width: 92%;
	height: 310px;
	background-image: url("img/eaccomodation.png");
	background-repeat: no-repeat;
	background-position: center;
	margin: 1% 0;
	padding: 2% 4%;
	
}

.box_accomodation ul {
	list-style-image: url("img/bed.png");
	
	
}

.box_accomodationt{
	width: 92%;
	height: 510px;
	background-image: url("img/taccomodation.png");
	background-repeat: no-repeat;
	background-position: top;
	margin: 1% 0;
	padding: 2% 4%;
	
}

.box_accomodationt ul {
	list-style-image: url("img/bed.png");
	
}

.box_program{
	width:92%;
	height: 855px;
	background-image: url("img/Overallprogram.png");
	background-repeat: no-repeat;
	background-position: center;
	margin: 1% 0;
	padding: 2% 4%;
	
}


.idioma{
	display: flex;
	justify-content: flex-end;
}

.lang a{
	display: block;
	color: black;
	text-decoration: none;
	padding: 10px 40px;
}

.lang a:hover{
	color: white;
	background-color: black;
}

nav{
	width: 100%;
	background-color: #A4B2FD;
}

nav ul {
	list-style-type: none;
	align-content: center;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

nav li {
	float: left;
}

nav li a {
	display: block;
	color: white;
	text-align: center;
	padding: 8px 20px;
	text-decoration: none;
}

nav li a:hover {
	background-color: #22772C;
}

.actiu{
	background-color: #000000;
	color: white;
}


#banner img{
	width: 100%;
	height: 230px;
	align: center; 
	margin: 0.1px;
	padding: 0.1px;
	
	}

#banner2 img{
	width: 90%;
	height: 225px;
	object-fit: none;
}

article {
	margin: 5px;
	padding: 0;
	max-width: 100%;
	text-align: justify;
}

#eixos {
	max-width: 60%;
	float: left;
	text-align: justify;
}

aside {
	max-width: 39%;
	float: right;
}

aside img{
	width: 90%;
	margin: 0 auto;
	padding: 10px 0; 
}

#cientific, .organitzacio, .info{
	clear: both;
	display: table;   /* Allow the centering to work */
	margin: 0 auto;
}

.info{
	width: 90%;
}

.info p, .info li{
	line-height : 25px;
}

.info img{
	display: inline-block;
	width: 40%;
}

#cientific h2, .organitzacio h2{
	margin-left: 70px;
}

#cientific ul{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#cientific li{
	display: block;
	text-decoration: none;
	float: left;
}

#cientific li p{
	font-weight: bolder;
	text-align: center;
	width: 140px;
	color: black;
	padding: 0px 20px 10px 20px;
	text-decoration: none;
}

#cientific li img{
	width: 140px;
	height: 200px;
	text-decoration: none;
	object-fit: none;
}

#cientific li p span{
	font-weight: normal;
	font-variant: small-caps;
}

.organitzacio ul{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.organitzacio li{
	display: block;
	text-decoration: none;
	float: left;
}

.organitzacio li p{
	font-weight: bolder;
	text-align: center;
	width: 140px;
	color: black;
	padding: 0px 20px 10px 20px;
	text-decoration: none;
}

.organitzacio li img{
	width: 160px;
	height: 200px;
	text-decoration: none;
	object-fit: none;
}

.organitzacio li p span{
	font-weight: normal;
	font-variant: small-caps;
}

#logos{
	display: flex;
	flex-direction: column;
}

#logos h2, .info h2{
	padding-left: 30px;
}

#logos ul {
	list-style-type: none;
	margin: 0;
	padding: 0px 20px;
}

#logos li {
	display: block;
	text-decoration: none;
	float: left;
}

#logos li img{
	width: 180px;
	padding: 20px;
}

#social{
	clear: both;
	display: table;   /* Allow the centering to work */
	margin: 0 auto;
}

#clear {
    clear: both;
}

#social ul {
	list-style-type: none;
	display: flex;
}

#social li img{
	width: 30px;
	color: white;
	padding: 20px;
	text-decoration: none;
}