/**
 * Design. (c) Jason Earl, 2005, Virtual Function
 *  + Reworked by Lucas A. Biehl
 *  + Design by w3-school "Marketing / Website Template"
 */


/* -----------------------------------------------------------
						Generic
----------------------------------------------------------- */

html{
    height: 100%;
}

html, body {
	font-family: 'Roboto', sans-serif;
}


body {
    height: 100%;
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
	background: #637b94 url('../img/back.gif');
	background-image: url('../img/back_empty.png'), linear-gradient(to bottom,  #dff5ff , #637b94);
	background-repeat: repeat, no-repeat;
	background-size: 30px, cover;
    background-attachment: fixed, fixed;


}

/* -----------------------------------------------------------
						Header
----------------------------------------------------------- */

header {
    margin-top: 0.5%;
}

header .w3-top{
    position: relative;
}

header .menu {
}

/* ----------- Banner ----------- */
header .banner{
    height: 50px;
    width: 100%;
    background-color: #FFFF;
}

header #banner{
    float: right;
    height: 50px;
    border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	border-left: 2px solid #fff;
}

/* ----------- Logo ----------- */

header #logo{
    height: 100px;
    width: 140px;
    margin-top: -50px
}

/* -----------------------------------------------------------
                        Navigation Bars
----------------------------------------------------------- */


header .menu {
    height: 50px;
    background-color: #164677; 
    padding-left: 140px;
    margin-top: -50px;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}

header .mobile_menu {
    background-color: #164677; 
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}
header .mobile_menu a{
    text-align: left;
}

header .main_nav{
    margin-top: 4px;
}

header .main_nav:hover{
    background-color: #5f7992;
}

header .menu .team-content,
header .menu .research-content,
header .menu .teaching-content,
header .menu .info-content {
    background-color: #5f7992;
    min-width: 160px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

/* -----------------------------------------------------------
				            Section
----------------------------------------------------------- */

.main{
    display: flex;
    flex-direction: column;
}

section{
    flex: 1;
    display: flex;
    flex-direction: row;
    background-color: #f0f3f2;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}


/* -----------------------------------------------------------
				            Location
----------------------------------------------------------- */
#location{
    background-color: #E6EEF0;;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

/* -----------------------------------------------------------
				            Aside
----------------------------------------------------------- */

aside {
    flex:1;
    color: #274563;
    background-color: #f0f3f2; 
    border-right: 2px solid #fff;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;

}


@media screen and (max-width : 1024px){
  aside{
    flex-basis: 40%;
  }
}

.titleSide {
    background: url('../img/title1.gif') repeat-y left #164677;
    color: #FFF;
    margin-bottom: 12px;
    padding-left: 22px;
} 

.announceSide {
    margin-left: 20px;
    margin-right: 10px;
}

.announceSide ul{
    margin-left: -40px;
}

/* -----------------------------------------------------------
				            Content
----------------------------------------------------------- */

#mainContent{
    flex:2;
    background-color: #f0f3f2;
    padding: 0px 10px 0px 30px;
    border-right: 4px solid #0b70ce;

}

/* -----------------------------------------------------------
                    Footer
----------------------------------------------------------- */

footer {
    padding: 4px 0px;
    color: #249;
    background: url('../img/bg5.gif');
    text-align: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff
}

