/* General*/

#pagecontainer {
	min-height: 100%;
}

#pagewrapper {
	padding-top: 75px;
}


.generalbanner {
	width: 80%;
	margin: 0 auto;
	max-width: 950px;
}

/*NAVIGATION FiGa */

header {
	background: #F52B1C;
	position: fixed;
	top: 0px;
	transition: top 0.3s;
	width: 100%;
	z-index: 10000;
	display: block;
	height: 75px;
}

.nav-up {
    top: -75px;
}

#menuButton {
	display: none;
}

/*#topmenumobile {
	display: none;
}*/

.offscreen {
	display: none;
	transition: all ease-in 0.2s;
}

.onscreen {
	display: inline;
	transition: all ease-in 0.5s;

}

#topmenumobile {
}

#navbarFG_in {
	width: 80%;
	max-width:950px;
	margin: 0 auto;
	padding: 15px 0px 20px 0px;
}

#navbarFG_in img {
	max-width: 150px;
	width: 100%;
	}
	
#toplogo {
	width: 149px;
	height: 40px;
	background-image: url(/resources/Ulisses_logo_web.png);
	background-position: 0% 50%;
	background-repeat: no-repeat;
	float: left;
	transition: background ease-in 0.2s;
}

#toplogo:hover {
		background-position: -150px 50%;

}

#toplogo a {
	display: block;
	width: 100%;
	height: 100%;
}

#topmenu {
	width: 78%;
	float: right;
	text-align: right;
}

#topclear {
	clear: both;
}

#topmenu ul {
	margin: 0px;
	padding: 0px;
}

#topmenu ul li {
	display: inline-block;
    position: relative;
    text-align: center;
    margin-left: 10px;
}

#topmenu ul lu li {
}

#topmenu ul li a {
	text-decoration: none;
	display: block;
	background: rgba(255,255,255,0);
	color: rgba(255,255,255,1);
	font-weight: 800;
	padding: 10px;
}

/*#topmenu ul li:nth-child(2) a {
pointer-events: none;	
}

#topmenu ul li:nth-child(2) ul li a {
pointer-events: auto;	
}*/

#topmenu ul li a:hover {
}

#topmenu ul li:hover {
	background: #3F2F30;
}

#topmenu ul li a#current {
	background: rgba(63,47,48,0.2);
}

#topmenu ul ul {
	display: none;
   position: absolute;
   background-color: #3F2F30;
   z-index: 0!important;
	left: 0px;
	margin-top: 0px;
	text-align: left;
	padding-bottom: 5px;
   padding-right: 10px;
}
	
#topmenu ul li:hover > ul {
	display:inherit;
}

#topmenu ul li li {
	position: relative;
	text-align: left;
	}
	
#topmenu li li a {
	display: block;
	color: #01CC87;
	padding: 5px 0px 5px 0px;
	text-align: left;
	font-size: 0.75rem;
	transition: all ease 0.2s;
	line-height: 1.2;
	font-weight: 700;
}
#topmenu li li a:hover {
	color: white;
}  	

/* FOOTER */

#prefooterFG {
background: #EEE6E6;

}

#footerFG {
background: #CCAFAF;
padding-bottom: 100px;
}

#footerFG_in {
width: 80%;
margin: 0 auto;
max-width: 950px;
}

#ackbanner {
background: #3F2F30;
position: absolute;
bottom: 0px;
width: 100%;
}

#ackbanner_in {
width: 80%;
margin: 0 auto;
max-width: 950px;
padding: 20px 0px 20px 0px;

}



/*CONTACT*/

#contact_on {
	display: none;
}
	
.c_name {
	font-weight: 700;
	text-transform: uppercase;
	margin-left: 5px;
}

.c_function {
display: inline-block;
background: #9B7373;
padding: 5px;
font-size: 0.9rem;
font-weight: 500;
color: white;	
}

.c_institution {
	font-weight: 600;
	margin-left: 5px;
}

.c_details {
	margin-left: 5px;
	color: #9B7373;	
}

.c_details a {
	text-decoration: none;
	color: #9B7373;	
}

/* ACKNOWLEDGEMENT */

#ack_text {
overflow: hidden;
width: auto;
color: #fff;
font-weight: 400;
font-size: 0.8rem;
}

#acklinks {
width: 260px;
float: right;
color: #fff;
font-weight: 600;
font-size: 0.8rem;
margin-left: 10px;
}

#ack_text img {
width: 75px;
float: left;
margin-right: 20px;
}

#ackclear {
clear: both;
}

#acklinks a {
	color: #EEE6E6;
	text-decoration: none;
	
}

.creative {
	    vertical-align: top;
    display: inline-block;
    margin-left: 5px;
}

.divider {
	margin: 0px 5px;
}

/* CONTACT */

#contact_off a{
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 10px 0px 10px 0px;
	text-transform: uppercase;
	font-weight: 700;
	color: #333;
	font-size: 0.8rem;
	transition: all ease-in 0.1s;
}

#contact_off a:hover {
}

#contact_on {
	padding: 20px 0px 20px 0px;
}


.closeicon {
    text-align: left;
    position: absolute;
    bottom: 3px;
    margin-left: 10px;
    left: 50%;
    font-size: 1.5rem;
}

.closeicon a {
	color: #F52B1C;
	opacity: 0.5;
	transition: all ease-in 0.1s;
}

.closeicon a:hover {
	color: #F52B1C;
	opacity: 1;
}

/*

MOBILE
MOBILE
MOBILE
MOBILE
MOBILE
MOBILE
MOBILE

*/

@media screen and (max-width: 910px) {
#ack_text {
overflow: hidden;
width: auto;
color: #fff;
font-weight: 400;
font-size: 0.7rem;
line-height: 1.1;
}
}

@media screen and (max-width: 850px) {
#topmenu {
width: 73%;
margin-top: 5px;
}

#topmenu ul li a {
font-size: 0.9rem;
padding: 10px 5px;	
}
}

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

#pagewrapper {
padding-bottom: 155px;
}


/* LOGO*/

#toplogo {
	width: 265px;
	height: 40px;
	background-image: url(/resources/Ulisses_logo_web.png);
	background-position: 0% 50%;
	background-repeat: no-repeat;
	float: left;
	transition: background ease-in 0.2s;
	margin-top: 5px;
}

#toplogo:hover {
		background-position: 0% 50%;

}


/* MOBILE MENU */

.nav-up {
    top: 0px;
}


#menuButton {
	display: inline;
}


#topmenu {
	display: none;
}

#topmenumobile {
/*	display: block;*/
}

#navbarFG_in {
padding: 12px 0px 10px 0px;
}

#menuButton {
/*	background-color: #F52B1C;*/
	display: block;
	padding: 13px;
	background-repeat: no-repeat;
	border: none;
	cursor: pointer;	
	background-size: contain;
	color: #fff;
	text-align: right;
	font-size: 1.1rem;
}



#topmenumobile {

	width: 100%;
	transition: all ease 1s;
}
	
#topmenumobile ul {
	list-style: none; /* Remove list bullets */
    padding: 20px 0px 20px 0px;
    margin: -1px 0px 0px 0px;
    display: block;
    background: #F52B1C;
}

#topmenumobile ul ul{
	list-style: none; /* Remove list bullets */
    padding: 0px 0px 0px 0px;
    margin: 0;
}
	
#topmenumobile ul li {
	width: auto !important;
	display: block;
	position: relative;
	height: auto !important;
	border: none;
	border-radius: 5px;
	float: none;
	margin-top: auto;
		opacity: 1;
	/*	background-color: white !important;*/
	/*	margin-left: 20px; */
	/*	margin-right: 20px; */
}

	#topmenumobile ul li a {
	font-weight: 700;
	background: rgba(255,255,255,1);
	color: #F52B1C !important;
	padding: 6px 0px 6px 0;
	margin-bottom: 5px;
	display: inline-block;
	font-size: 1.2rem;
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	transition: all ease 0.2s;
}
	
#topmenumobile ul li a:hover {
	background: rgba(255,255,255,1);	
}

#topmenumobile ul ul li a {
	font-size: 0.7rem;
	background: rgba(255,255,255,0.7);
}

#topmenumobile ul ul li a {
	background: rgba(255,255,255,0.7);	
}


#topmenu ul li {
	
}

/* FOOTER */

#ackbanner {
}

#ack_text {
	float: none;	
	width: 100%;
	font-size: 0.8rem;
	text-align: center;
	margin-bottom: 20px;
}

#ack_text img {
	float: none;
	display: block;
	width: 20%;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 10px;
}

#acklinks {
	float: none;
	width: 100%;
	font-size: 0.8rem;
	text-align: center;
}

@media screen and (max-width: 440px) {
	
#pagewrapper {
	padding-bottom: 240px;
}


	
/* MENU */

#navbarFG_in {
	width: 90%;

}


/* GENERAL STYLE */
	
.generalbanner {
	width: 90%;

}
	

/* FOOTER */

#footerFG_in {
width: 90%;
}

#footerFG {
	padding-bottom: 0px;
}



#ackbanner_in {
width: 90%;
}




.closeicon {
	position: relative;
	left: auto;
	margin-left: 0px;
	font-size: 1.0rem;
	margin-top: 20px;}

}


#acklinks {
margin-bottom: 10px;
}


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

#toplogo {
	width: 149px;
	height: 40px;
	background-image: url(/resources/Ulisses_logo_web.png);
	background-position: 0% 50%;
	background-repeat: no-repeat;
	float: left;
	transition: background ease-in 0.2s;
}

#toplogo:hover {
		background-position: 0% 50%;
}

#pagewrapper {
}
	
}
