@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);

@font-face {
    font-family: 'kanji_pa';
    src: url('kanji_pa-webfont.eot');
    src: url('kanji_pa-webfont.eot?#iefix') format('embedded-opentype'),
         url('kanji_pa-webfont.woff2') format('woff2'),
         url('kanji_pa-webfont.woff') format('woff'),
         url('kanji_pa-webfont.ttf') format('truetype'),
         url('kanji_pa-webfont.svg#kanji_paregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
/*
color:
pink: rgb(255, 0, 114);
orange: rgb(255, 138, 123);
yellow: rgb(255, 223, 178);
light-green: rgb(196, 217, 171);
dark-green: rgb(99, 165, 139);
*/

body {
    font-family: 'Open Sans', sans-serif;
    background-color: rgb(229,229,229);
    color: rgb(35,31,32);
}

a {
    color: rgb(255, 0, 114);   

}
a:hover{
    color: rgb(99, 165, 139);
}
/*------navigation bar2 ------*/
header{
    padding: 25px 0px;
    background-color: rgb(99, 165, 139);
    clear:both;
}
.nav-wrap{
    max-width: 62.5rem;
    margin:auto;
}
[data-magellan-expedition] {
    background-color: rgb(99, 165, 139);
    min-width: 100%;
    
}
[data-magellan-expedition] dd{
    font-family: inherit;
        font-weight: 700;
        font-size: 0.85rem;
}
[data-magellan-expedition-clone]{
    background-color: rgb(99, 165, 139);
    color: rgb(99, 165, 139);
}
.sub-nav{
    float:right;
}
.sub-nav dd a{
    color: rgb(35,31,32);
}

.sub-nav dd a:hover{
    color: rgb(240,240,240);
    /*color:rgb(255, 0, 114);*/
}

.sub-nav dd.active a{
    background-color: rgb(131,175,166);
    color: rgb(240,240,240);
        font-family: inherit;
        font-weight: 700;
        font-size: 0.85rem;
}
.sub-nav dd.active a:hover{
    background-color: rgb(131,175,166);
        font-family: inherit;
        font-weight: 700;
        font-size: 0.85rem;
}

.reveal-modal{
    font-family: 'Open Sans', sans-serif;
    background-color: rgb(240,240,240);
    color: rgb(35,31,32);
}
.reveal-modal h2{
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}
/*------navigation bar------*/

@media only screen and (min-width: 40em) {
    

    .logo {
        float:left;
    }

    /*----too bar link color----*/
    .top-bar-section ul li>a{
    	color:#231f20;
    	font-family: inherit;
    	font-weight: 700;
        font-size: 0.85rem;
    }

    /*top bar background fix*/
    .contain-to-grid,
    .top-bar-section>ul>li {
        background-color: transparent;
    }

    .top-bar,
    .top-bar-section{
    	background-color: transparent;
    }

/*    .nav-wrap {
        padding: 25px 0px;
        
    }*/
    /*----top bar button background color remove----*/
    .top-bar-section li.hover > a:not(.button) {
        background-color: transparent;
        background: transparent;
        color: #FFFFFF;
    }
    .top-bar-section li:not(.has-form) a:not(.button) {
        background: transparent;
        line-height: 2.8125rem;
        padding: 0 0.9375rem;
    }
    .top-bar-section li:not(.has-form) a:not(.button):hover {
        background-color: transparent;
        background: transparent;
    }
    .top-bar-section li.active:not(.has-form) a:not(.button) {
        background: #008CBA;
        color: #FFFFFF;
        line-height: 2.8125rem;
        padding: 0 0.9375rem;
    }
    .top-bar-section li.active:not(.has-form) a:not(.button):hover {
        background: #0078a0;
        color: #FFFFFF;
    }
}
/*---- logo ----*/
@media only screen and (min-width: 40em) {
.logo {
    max-width: 2rem;
    margin-top: -0.25rem;
    margin-bottom: 0.125rem;
}

.menu-icon {
    padding-top: 1.2rem;
}

.top-bar.expanded {
    background: #333333;
}

}
/* todo: fix mobile;*/
/*----section----*/

section>.row {
    
    /*vertical-align: middle;
    display: table-cell;*/
    overflow: hidden;
    max-width: 62.5rem;
    /*position: relative;
  top: 50%;
  transform: translateY(-50%);*/
}

hr {
    height: 20px;
}

section {
    padding: 40px 0;
    /*min-height: 40vh;*/
    width: 100%;
}

footer {
    padding-top: 20px;
}


#resume table {
    width: 100%;
}
/*---- image slider adjust ----*/

.sy-pager li{
    width: 0.6em;
    height: 0.6em;
}

.sy-pager li a{
    background-color: rgb(229,229,229);
}
.sy-pager li.sy-active a{
    background-color: rgb(211,126,102);
}
/*---- individual section setting ----*/
section{
    min-height: 50vh;
}
section h2{
    font-family: 'kanji_pa', sans-serif;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 1.4rem;
}
section h3{
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 0rem 0rem;
    
}

section .passage{
    font-weight: 400;
    color:rgb(120,120,120);
    background-color: rgb(240,240,240);
    padding: 25px 35px;
    
}

section#about{
    background-color: rgb(99, 165, 139);
}

section#about h2{
    color: rgb(229,229,229);
}

section#about .pic{
    border-radius: 100%;
    background-color: rgb(35,31,32);
    background-image: url('../assets/img/hugoLo.jpg');
    background-size: 100%;
    background-position: center;
    height: 280px;
    width: 280px;
}

section#about .passage{
    border-radius: 40px 40px 40px 0px;
}
section#about .passage::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left:-3.0625rem;
  height: 0;
  width: 0;
  border-left: 4rem solid transparent;
  border-bottom: 4rem solid rgb(240,240,240);
}
section#research{
    background-color: rgb(229,229,229);
}
section#research h3{
    /*color: rgb(99, 165, 139);*/
}
section#research .button{
    background-color: rgb(196, 217, 171);
    font-size: 0.925rem;
    border-radius: 10px;
    margin: 0;
}

section#research .button:hover{
    background-color: rgb(99, 165, 139);
}

section#activities{
    background-color: rgb(255, 223, 178);
}
section#activities h2{
    color: rgb(255, 0, 114);
}
section#activities .cd-timeline-content .cd-read-more{
    background-color: rgb(255, 138, 123);
    font-weight: 700;
}
section#activities .cd-timeline-content .cd-read-more:hover{
    background-color: rgb(255, 0, 114);
}

section#teaching{
    background-color: rgb(229,229,229);  
}
section#teaching .passage{
    background-color: rgb(99, 165, 139);
    border-color: rgb(255, 223, 178);
    border-width: 15px;
    border-style: solid;
    color: rgb(240,240,240);
    padding: 40px 60px;
    margin-top: 15px;
}
section#teaching h3{
    color: rgb(240,240,240);
}
section#teaching a{
    color: rgb(255, 223, 178);
    font-weight: 600;
}
section#teaching a:hover{
    color: rgb(240,240,240);
    text-decoration: underline;   
}
section#news{
    background-color: rgb(196, 217, 171);
}
section#news .paper{
    margin-top: 15px;
    background-color: rgb(229,229,229);
    padding: 0.7rem;
}
section#news .color-box{
    min-height: 0.2rem;
    background-color: rgb(255, 0, 114);
}
section#news .wrap{
    padding: 1rem;
}
section#news .unit{
    padding: 0.9375rem;
    background-color: rgb(240,240,240);
    color: rgb(120,120,120);
}

section#resources{
    background-color: rgb(229,229,229);
}
section#resources h2{
}

section#resume{
    background-color: rgb(255, 138, 123);
}
section#resume h2{
    clear:both;
}
section#resume .row{
/*    margin:0;*/
}
section#resume .wrap{
    background-color: rgb(229,229,229);
    padding-top: 0.5rem;
    margin: 0 -0.9375rem;
}
section#resume .button.download{
    background-color: rgb(88,114,127);
    float: right;
    font-size: 0.8rem;
    padding: 0.5rem 1rem 0.5rem;
}

section#resume .button.download:hover{
    background-color: rgb(131,175,166);
}
section#resume h3{
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    background-color:rgb(35,31,32);
    clear:both;
    color: rgb(229,229,229);
    padding: 8px 0;
    margin-bottom: 0;
}
section#resume img{
    float:right;
    margin: 5px 24px;
}
section#resume h4{
    font-size: 1.4rem;
}
section#resume h5, section#resume ul, section#resume p{
    font-size: 0.9rem;
}
section#resume .rlogo{
    float:none;
    margin: auto;
    display: block;
    max-height:65px;
    max-width:105px;
    padding-left: 40px;
}
section#resume .button.info{
    font-size: 0.9rem;

    padding: 0.5rem 1rem 0.5rem;
    background-color: rgb(240,240,240);
    color: rgb(120,120,120);
    cursor: default;
    border-radius: 0.4rem;

}
section#resume .button.info:hover{
    background-color: rgb(240,240,240);
    cursor: default;
}

section#contact{
    background-color: rgb(99, 165, 139);
    color: rgb(229,229,229);
}
section#contact h2{
    color: rgb(229,229,229);
}
.e-mail:before {
    content: attr(data-website) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}

footer{
    background-color:rgb(35,31,32);
    color: rgb(229,229,229);
    font-size: 0.8rem;
}

