/* Core Styles */

body {
    margin: 0px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;
}


img {
    display: block; 
    width: 100%;
    height: auto;
}


h1,
h2,
h3 {
    margin: 0;
    padding: 1em 0;
    color: #467d2c;
    /* font-family: 'Cormorant', serif;*/
    font-family: 'El Messiri', sans-serif, Arial;
    
}

h1 {
    font-size: 2.5em;
    padding-top: 1%;
    padding-bottom: 0;
}

h2 {
    font-size: 1.4em;
}

#title h2 {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.1em;
}

#title h3 {
    font-size: .9em;
}

/* Hide the links inside the navigation menu (except for logo/home) */

nav{
    display: none;
}

/* Style navigation menu links */
nav a {
    color: #467d2c;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

nav ul li {
    list-style: none;
}

nav .subnav {
    display: none;
    position: absolute;
    list-style-type: none;
    text-align: left;
    top: 23px;
    left: 0px;
    background: #fff;
    margin: 0;
    border: solid 1px #eee;
    z-index: 5;
    padding: 0;
}

nav .subnav a {
    font-size: .5em;
}

nav li:hover .subnav {
    display: block;
}
        
/* Style the hamburger menu */
a.icon {
    color: #467d2c;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

/* Add a grey background color on mouse-over */
nav a:hover {
    background-color: #ddd;
    color: black;
}

/* Style the active link (or home/logo) */
.active {
    background-color: #4CAF50;
    color: white;
}
        
p {
    margin: 0;
    padding: 1em 0;
}

.btn {
    display: inline-block;
    background: #eaeaea;
    color: #333;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 1px solid #666;
    margin: 0.5em 0;
}

.btn:hover {
    background: #333;
    color: #eaeaea;
}

/* Header Showcase */

#showcase {
    width: 100%;
    color: #fff;
    border-bottom-color: #8bbb75;  
    border-bottom-style: double;
}

#showcase .content-wrap,
#section-a .content-wrap {
    padding: 0 1.5em;
}

#title img{
    background-color: #fff;
    height: auto; 
    margin-left: auto; 
    margin-right: auto; 
    width: 30%;
}

* {box-sizing: border-box}


/* Slideshow Container */

.slideshow-container {
    position: relative;
    margin: 1em 1em 0 1em;
    border: 1px double #467d2c;
}   

.slides {
    display: none;
}

.prev, .next {  
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgb(0,0,0,0.8);
}

.text {
    color: #f2f2f2;
    font-size: 18px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.actives, .dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/* Main Area*/

/* Section A */

#section-a {
    clear: right;
    background: #eaeaea;
    color: #333;
    padding-bottom: 2em;
    border-bottom-color: #8bbb75;  
    border-bottom-style: double;
}

#section-a p{
  text-align: left;  
}

/* Section B */

#section-b {
    padding: 2em 1em 1em;
    border-bottom-color: #8bbb75;  
    border-bottom-style: double;
}

#section-b ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#section-b li {
  margin-bottom: 1em;
  background: #fff;
  color: #333;
}

#section-b img {
    width: 50%;
    margin-left: auto;  
    margin-right: auto;
    }  

#section-b hr {
    margin-bottom: 10%;
}

.card-content {
  padding: 1em;  
}

/* buttons in accordion panel */

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    font-size: 14px;
    border: none;
    outline: none;
    transition: 0.4s;  
}

.actives, .accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.accordion:before {
    content: "+";
    margin-right: 5px;
}



/* Section C */

#section-c {
    background-color: #fff;
    color: #333;
    float: left;
}
   
#section-c img {
    width: 100%;
    }


/* Section D / Boxes */

#section-d {
    float: left;
    width: 100%;
}

#section-d .box {
    padding: 2em;
    color: #fff;
    background-color: #8bbb75;
}

#section-d .box a {
    *background-color: RGBA(139, 187, 117, 0.6);
} 

#section-d .box:first-child {
     background-color: #8bbb75;
}

.box {
    border-top-color: #467d2c;
    border-style: solid;
    border-width: 4px;
}


/* Research Page */
.imageLeft {
    background-color: #eaeaea;
}

.imageLeft .content-wrap,
.imageRight .content-wrap {
    margin: 0 2em;
}

.imageLeft p,
.imageRight p {
    text-align: left;
}

.imageRight img {
    margin-left: 15px;
}

.imageLeft, .imageRight {
    border-bottom-color: #8bbb75;  
    border-bottom-style: double; 
}

.imageRight iframe {
    width: 100%;
    margin: 1%;
}



/* Publication Page */

#publications {
    margin: 0 5%;
}

#publications ul {
    list-style-type: disc;
    list-style-position: inside;
    text-align: left;
}

.hangingindent {
    padding-left: 3em ;
    text-indent: -3em;
}

#publications hr {
   width: 70%;
}

.pdf {
    width: 100px;
    border-color: #467d2c;
    border-radius: 5px;
}

.pdf:hover, .pdf a:hover {
    background-color:#8bbb75;
    color: #fff;
}

.pdf a {
    color: #000;    
}

.pubPageLink {
    width: 300px;
    margin: 10px;
    padding: 10px;
    background-color: #b3c9a9;
}

.pubPageLink a {
    font-size: 16px;
    color: #000;
}


/* The Lab Page*/

.theLab {
    margin: 0 5%;
}

.theLab p {
    text-align: left;
    margin: 0 1em;
    font-size: .75em;   
}

.theLab ul {
    list-style-type: none;
    text-align: left;
    font-size: .75em;
}

div.polaroid {
    width: 284px;
    padding: 10px 10px 10px 10px;
    border: 1px solid #BFBFBF;
    background-color: white;
    box-shadow: 10px 10px 5px #aaaaaa;
    position: relative;
    z-index: -1;
    margin-right: 20px;
}

div.rotate_right {
    float: left;
    -ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Safari */
    transform: rotate(7deg);
}

div.rotate_left {
    float: left;
    -ms-transform: rotate(-8deg); /* IE 9 */
    -webkit-transform: rotate(-8deg); /* Safari */
    transform: rotate(-8deg);
}

.caption {
    color: black;
    font-size: .7em; 
    padding: 0;
}

#photos {
  width: 50%;
}


/*Buell-Small Succession Study */

#bss {
    margin: 0 2em; 
}

#bss p {
    text-align: left;  
}

figure.BSSfigure {
    margin: 20px;
    color: #333;
    display: inline-table;
    border: 2px solid silver;
    border-bottom: none;
    padding: 1em;
}

figure.BSSfigure img {
    display: block;
}

figure.BSSfigure figcaption {
    background: #E3E3E3;
    padding: 1em;
    color: #333;
    text-align: center;
    font-size: 13px;
    display: table-caption;
    caption-side: bottom;
    border:2px solid silver;   
}

figure {
    margin: 1%;
}

figcaption {
    color: #333;
    font-size: .7em;
}


/* Footer */

#main-footer {
    padding: 2em;
    background: #000;
    color: #fff;
    text-align: center;

}

#main-footer a {
    color: #2690d4;
    text-decoration: none;
}

/* Back to Top Button */
#myBtn {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #467d2c; 
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 10px; 
    font-size: 18px; 
}

#myBtn:hover {
    background-color: #555; 
}

#logos {
    width: 100%;
    float: left;
    margin-bottom: 5%;
}

#logos p, #author p, #author a {
    font-size: .8em;
}

#logos img {
    float: left;
    width: 40px;
    height: 40px;
    margin: 3%;
}

.logosList {
    display: inline-block;
    width: 70%;
}




/* Media Queries */

@media (min-width: 900px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
    }
    
    #showcase {
        grid-template-columns: 1fr repeat(2, minmax(auto, 22em)) 1fr;
    }

    #rightSideShowcase {
        grid-column: 2/5;
        margin-left: 3%;
    }

    footer {
        grid-column: 1/5;
    }
    
    #title {
        width: 100%;
        padding: 5%;
    }
    
    #title img {
        width: 75%;
        margin-left: 15%;
    }

    a.icon {
        display: none;
    }

    nav {
        display: inline;
        background-color: #fff;
        text-align: right;
        width: 100%;
        height: 50px;
    }

    nav ul {
        list-style-type: none; 
    }

    nav ul li {  
        display: inline-block;
        width: 100px;
        position: relative;
        font-family: 'El Messiri', sans-serif;
        font-weight: bold;
        border-left-color: #8bbb75;  
        border-left-style: double;  
    }
    
    nav li:hover .subnav {
        display:block;
    }

    li a:hover {
        background-color: #467d2c;
        color: white;
    }

    nav a {
        text-decoration: none;
        color: #467d2c;  
        padding: 1%;
        text-align: center;
        font-size: 16px;
    }

    /*dropdown menu*/
    nav .subnav {
        display: none;
        position: absolute;
        list-style-type: none;
        font-size: 14px;
        text-align: left;
        top: 23px;
        left: 0px;
        background: #fff;
        border: solid 1px #eee;
        z-index: 5;
        padding: 0;
    }

    nav .subnav li {
        display: block;
        width: 300px;
        border-bottom: solid 1px #eeeeee;
        padding: 2%;
    }

    nav .subnav li a {
        color: #467d2c;
        height: 18px;
        padding: 12px;
        font-size: 14px;
    }

    nav .subnav li a:hover {
        background: #629848;
        width: 100%;
        color: #fff;
        padding: 0;
    }

    #section-a .content-text {
        columns: 2;
        column-gap: 2em;
    }

    #section-a .content-text p {
        padding-top: 0;
    }

    .content-wrap,
    #section-b ul {
        grid-column: 1/5;
    }

    #section-b img {
        width: 70%;  
        margin-left: auto;  
        margin-right: auto;
    }    
    
    #section-b ul {
        display: flex;
        justify-content: space-around;
    }

    #section-b li {
        width: 31%;
    }

    #section-b .card ul{
        display: block;
    }  

    #section-b ul ul li {
        width: 100%;
    }

    #section-c .card{
        width: 33%;
        float: left;
    }

    #section-c img {
        width: 100%;
    }

    #section-d {
        width: 100%;
    }

    .box,
    #main-footer div {
        grid-column: span 2;
    }
    
/*The Lab Page*/
    
    #photos {
        width: 100%;
    }

    div.polaroid {
        width: 28%;
    }

    .theLab p, .theLab ul {
        font-size: 1em;
    }

    div.polaroid {
        position: relative;
        z-index: -1;
    }

    #courseLabPage {
        width: 50%;
        margin-left: auto;
        margin-right: auto;   
    }

    

/*Research Page*/
    
    .imageLeft .content-wrap,
    .imageRight .content-wrap,
    #section-c .card-content {
        grid-column: span 4;
    }

    .imageLeft img,
    .imageRight img {
        width: 50%;
        float: left; 
        margin-right: 30px; 
        margin-bottom: 30px;    
    }

    .imageRight iframe {
        width: 560px;
        height: 315px;
    }
    
        
    
    
/* About Page */

    .map {
        width: 600px;
        height: 300px;
        margin-bottom: 2%;
    }
    
}  
    
   