

#nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        
    }
#nav2 ul {
        list-style: none;
        margin: 0;
        padding: 0;
        
    }
#header {
    grid-area: header;
}
#nav{
     color: #111111;
}
pre code{
    background-color: #EFEFEF;
    border: solid 1px #DDDDDD;
    display: block;
    padding: 5px;
}
/* media query for grid layout */
@media only screen and (min-width: 980px) {
    .wrapper {
      width: 100%;
        display: grid;
        grid-template-areas:
        "header"
        "topimage"
        "welcomeT"
        "content1"
        "research"
        "publications"
        "contact"
        "footer";
        grid-template-columns: 1fr;  
    }
    .wrapperCV {
      width: 100%;
        display: grid;
        grid-template-areas:
        "header"
        "topimage"
        "content1"
        "contact"
        "footer";
        grid-template-columns: 1fr;  
    }
    body {
  margin: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 110%;
    line-height: 1.5;
}
h1{
    font-size: 45px;
    padding:0xp;
    margin-top:30px;
    margin-bottom:0px;
    color: #333333;
    font-weight: 400;
    line-height: 1.3;
}
    .toggle{
        display:none;
    }
    #nav{
        display:block;
    }
    .box {
        padding-left:150px;
    }
    .box2 {
        padding-left:220px;
    }
    .singlecol{
        padding-right:150px
    }
    #nav {
        position: fixed;
        display:block;
        min-width: 799px;  
        width: 100%;
        height:45px;
        text-align:left;
        /*background-color: rgba(34, 34, 34, .95);*/
        background-color: rgba(255, 255, 255, 1);
        font-size: 18px;
        padding-top: 17px;
        padding-left: 24px;
        color: #333333;
        z-index: 5;
    }
    
    #nav ul li {
        display: inline-block;
        padding-right: 20px;
    }
    #nav ul li a:link{
        color: #111111 ;
        text-decoration:none;
        font-weight:400;
    }
    #nav ul li a:active{
        color: #111111 ;
        text-decoration:none;
        font-weight:400;
    }
     #nav ul li a:visited{
        color: #111111 ;
        text-decoration:none;
        font-weight:400;
    }
    #nav ul li a:hover{
        text-decoration: none;
        color:#006f7d;
    }
    #nav2{
        display: none;
    }
    .socialicons{
        position: absolute;
        top:15px;
        right:10px;
        margin: auto;
        padding:0px;
        height: 58px;
        padding-right: 30px;
    }
    .topimage{
    grid-area: topimage;
    height:500px;
    float: left;
  width: 100%;
  background-image: url("images/banner_bg1.jpg");
  object-fit: cover;
    min-width: 690px;
    
}
.topimage_simplePsych{
    grid-area: topimage;
    height:370px;
    float: left;
  width: 100%;
  background-image: url("images/simplePsych.jpeg");
    opacity: 0.8;
    filter: alpha(opacity=80);
  object-fit: cover;
    border-top:solid 3px #333333;
    border-bottom:solid 3px #e17c00;
}
.name{
    position: absolute;
    top:120px;
    left:375px;
    padding:0px 0px 0px 15px;
    min-height:88px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width: 570px; /* 570px; */
    color: #333333;
     background-color: rgba(255, 255, 255, .85);
    font-size: 33px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 88px;
    display: block;
    z-index: 2;
    border-top:Solid 5px #FF8C00; */
    min-width: 570px;
    max-height: 200px;
}
.researcharea{
    position: absolute;
    top:213px;
    left:400px;
    padding:5px 5px 5px 15px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width:20%;
    color: #EEEEEE;
     background-color: rgba(13, 136, 151, .85);
    font-size: 28px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 40px;
    display: block;
    z-index: 2;
    min-width: 520px;
    max-height: 100px;
}
    #sidenav{
    position: absolute;
    top:590px;
    left:10px;
    background-color: #FFFFFF;
    padding-left:15px;
    color: #333333;
    width:190px;
}
#sidenav a{
    color: #333333;
}
#sidenav:link{
    color: #333333;
}
#sidenav:active{
    color: #333333;
}
#sidenav:visited{
    color: #333333;
}
#sidenav a:hover, a:focus{
    color: #0d8897;
}
}
@media only screen and (max-width: 979px)  {
    .wrapper {
        width:100%;
        display:grid;
        grid-template-areas:
        "mobilemenu"
        "header"
        "topimage"
        "welcomeT"
        "content1"
        "research"
        "publications"
        "contact"
        "footer";
        min-width: 800px;
    }
    body {
  margin: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 110%;
    line-height: 1.5;
}
h1{
    font-size: 45px;
    padding:0xp;
    margin-top:30px;
    margin-bottom:0px;
    color: #333333;
    font-weight: 400;
    line-height: 1.3;
}
    .close {
      text-align: right;
      display: block;
      text-decoration: none;
      font-size: 3em;
      position: relative;
      top: -30px;
    }
    #nav{
        display:none;
    }
    #nav2{
        
        top: 0;
        bottom: 0;   
        /*min-height: 100vh;  override Safari bug */
        position: fixed; /* or choose `absolute` depending on desired behavior*/
        background-color: rgba(255, 255, 255, 1);
        
        width: 100%;
        height:175px;
        top:57px;
        left: 0px;
        
        padding-left:25px;
        text-align:left;
        
        font-size: 18px;
        color: #333333;
        z-index: 8;
        display:none;
    }
    #nav2 ul li a:link{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
   #nav2 ul li a:active{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    #nav2 ul li a:visited{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    #nav2 ul li a:hover{
        text-decoration: none;
        color:#006f7d ;
    }
    .box{
        padding-left:25px;
    }
    .singlecol{
        padding-right:25px
    }
    .sidebar{
        display: none;
    }
    .toggle{
        display: block;
    }
    
    
    .open{
        grid-area: mobilemenu;
        position: fixed;
        width: 100%;
        height:45px;
        text-align:left;
        /*background-color: rgba(34, 34, 34, .95);*/
        background-color: rgba(255, 255, 255, 1);
        font-size: 18px;
        padding-top: 15px;
        padding-left: 24px;
        color: #333333;
        z-index: 4;
    }
    .open a:link, a:active, a:visited{
        color: #111111;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    .open a:hover{
        text-decoration: none;
        color:#006f7d;
    }
    #closemenu{
        display:none;
    }
    .socialicons{
        position: fixed;
        display: block;
        top:15px;
        right:10px;
        margin: auto;
        padding:0px;
        height: 58px;
    }
    #openmenu{
        width: 100px;
    }
    .topimage{
    grid-area: topimage;
    height:375px;
    float: left;
  width: 100%;
  background-image: url("images/banner_bg1_mobile.jpg");
  object-fit: cover;    
}
.topimage_simplePsych{
    grid-area: topimage;
    height:370px;
    float: left;
  width: 100%;
  background-image: url("images/simplePsych.jpeg");
    opacity: 0.8;
    filter: alpha(opacity=80);
  object-fit: cover;
    border-top:solid 3px #333333;
    border-bottom:solid 3px #e17c00;
}
.name{
    position: absolute;
    top:120px;
    left:200px;
    padding:0px 0px 0px 15px;
    min-height:88px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width: 570px;
    color: #333333;
     background-color: rgba(255, 255, 255, .85);
    font-size: 33px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 88px;
    display: block;
    z-index: 2;
    border-top:Solid 5px #FF8C00; */
    min-width: 570px;
    max-height: 200px;
}
.researcharea{
    position: absolute;
    top:213px;
    left:225px;
    padding:5px 5px 5px 15px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width:20%;
    color: #EEEEEE;
     background-color: rgba(13, 136, 151, .85);
    font-size: 28px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 40px;
    display: block;
    z-index: 2;
    min-width: 520px;
    max-height: 100px;
}
    
}


b, strong{
    font-weight: 300;
}
.lighttext{
    color:#EFEFEF;
}



.leftbanner{
    position: absolute;
    top:218px;
    left:0px;
    min-width: 400px;
}
.welcomeT{
    grid-area: welcomeT;
    color: #333333;
}
.sidebar {
        grid-area: sidebar;
    width:20%;
    text-align-last: center;
    
    }

.sidebar2 {
    grid-area: sidebar2;
}



    .footer {
        grid-area: footer;
        text-align: center;
        background-color:#e17c00;
        color: #EFEFEF;
        padding:20px;
    }

    .wrapper {
        background-color: #fff;
        color: #444;
        
    }

  .hangingindent {
  padding-left: 22px ;
  text-indent: -22px ;
}
.greybg{
    background-color: #FFFFFF;
}
/* Content Styles */
.content1 {
    grid-area: content1;
    min-height: 250px;
}
.content1 a:link{
    color:#333333;
}
.content1 a:active{
    color:#333333;
}
.content1 a:visited{
    color:#333333;
}
.content1 a:hover, a:focus{
    color:#006f7d;
}

.research{
    grid-area:research;
    background-color:#e17c00;
    color: #EFEFEF;
}
.research a{
    color: #EFEFEF;
}
a.research{
    color: #EFEFEF;
}
a.research:link{
    color: #EFEFEF;
}
a.research:active{
    color: #EFEFEF;
}
a.research:visited{
    color: #EFEFEF;
}
#research a:hover, a:focus{
    color: #0d8897;
}
.publications{
    grid-area: publications;
    background-color:#0d8897;
    color: #EFEFEF;
}
.publications a{
    color: #EFEFEF;
}
a.publications:link{
    color: #EFEFEF;
}
a.publications:active{
    color: #EFEFEF;
}
a.publications:visited{
    color: #EFEFEF;
}
#publications a:hover, a:focus{
    color: #e17c00;
}
.contact{
    grid-area: contact;
    background-color:#e17c00;
    color: #EFEFEF;
}
#contact a{
    color: #EFEFEF;
}
a#contact:link{
    color: #EFEFEF;
}
a#contact:active{
    color: #EFEFEF;
}
a#contact:visited{
    color: #EFEFEF;
}



/********** Iphone Screen **************/
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
    .wrapper {
        width:100%;
        display:grid;
        grid-template-areas:
        "mobilemenu"
        "header"
        "topimage"
        "welcomeT"
        "content1"
        "research"
        "publications"
        "contact"
        "footer";
        min-width: 800px;
    }
    body {
  margin: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 125%;
    line-height: 1.5;
}
h1{
    font-size: 45px;
    padding:0xp;
    margin-top:30px;
    margin-bottom:0px;
    color: #333333;
    font-weight: 400;
    line-height: 1.3;
}
    .close {
      text-align: right;
      display: block;
      text-decoration: none;
      font-size: 3em;
      position: relative;
      top: -30px;
    }
    #nav{
        display:none;
    }
    #nav2{
        
        top: 0;
        bottom: 0;   
        /*min-height: 100vh;  override Safari bug */
        position: fixed; /* or choose `absolute` depending on desired behavior*/
        background-color: rgba(255, 255, 255, 1);
        
        width: 100%;
        height:500px;
        top:89px;
        left: 0px;
        
        padding-left:28px;
        text-align:left;
        
        font-size: 52px;
        color: #333333;
        z-index: 8;
        display:none;
    }
    #nav2 ul li a:link{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
   #nav2 ul li a:active{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    #nav2 ul li a:visited{
        color: #111111 ;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    #nav2 ul li a:hover{
        text-decoration: none;
        color:#006f7d ;
    }
    .box{
        padding-left:25px;
    }
      .box2 {
        padding-left:25px;
    }
    .singlecol{
        padding-right:25px
    }
    .sidebar{
        display: none;
    }
    .toggle{
        display: block;
    }
    
    
    .open{
        grid-area: mobilemenu;
        position: fixed;
        width: 100%;
        height:80px;
        text-align:left;
        /*background-color: rgba(34, 34, 34, .95);*/
        background-color: rgba(255, 255, 255, 1);
        font-size: 52px;
        padding-top: 10px;
        padding-left: 24px;
        color: #333333;
        z-index: 4;
    }
    .open a:link, a:active, a:visited{
        color: #111111;
        text-decoration:none;
        display: inline-block;
        font-weight:400;
    }
    .open a:hover{
        text-decoration: none;
        color:#006f7d;
    }
    #closemenu{
        display:none;
    }
    .socialicons{
        position: fixed;
        display: block;
        top:15px;
        right:20px;
        margin: auto;
        padding:0px;
        height: 58px;
    }
    .socialicons img{
        width:auto; /* you can use % */
        height: 50px;
    }
    #openmenu{
        width: 100px;
    }
    .topimage{
    grid-area: topimage;
    height:500px;
    float: left;
  width: 100%;
  background-image: url("images/banner_bg1_mobile2.jpg");
  object-fit: cover;    
}
.topimage_simplePsych{
    grid-area: topimage;
    height:370px;
    float: left;
  width: 100%;
  background-image: url("images/simplePsych.jpeg");
    opacity: 0.8;
    filter: alpha(opacity=80);
  object-fit: cover;
    border-top:solid 3px #333333;
    border-bottom:solid 3px #e17c00;
}
.name{
    position: absolute;
    top:140px;
    left:250px;
    padding:0px 0px 0px 15px;
    min-height:88px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width:570px;
    color: #333333;
     background-color: rgba(255, 255, 255, .85);
    font-size: 33px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 88px;
    display: block;
    z-index: 2;
    border-top:Solid 5px #FF8C00; */
    min-width: 570px;
    max-height: 200px;
}
.researcharea{
    position: absolute;
    top:233px;
    left:275px;
    padding:5px 5px 5px 15px;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    width:20%;
    color: #EEEEEE;
     background-color: rgba(13, 136, 151, .85);
    font-size: 28px;
    /*font-family: Garamond, Georgia, serif; 
    font-weight: 600; */
    line-height: 40px;
    display: block;
    z-index: 2;
    min-width: 520px;
    max-height: 100px;
}
      #sidenav{
    position: relative;
    top:0px;
    left:0px;
    background-color: #FFFFFF;
    padding-left:15px;
    color: #333333;
    width:190px;
}
#sidenav a{
    color: #333333;
}
#sidenav:link{
    color: #333333;
}
#sidenav:active{
    color: #333333;
}
#sidenav:visited{
    color: #333333;
}
#sidenav a:hover, a:focus{
    color: #0d8897;
}
}