﻿
* {
    box-sizing: border-box;
}

.inner-main-content {
    padding: 0px;
}
 

.top-image-container {
    position: relative;
    text-align: left;
    color: white;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    font-size: 30px;
}

.bottom-left {
    position: absolute;
    bottom: 243px;
    left: 2px;
    top: 2px;
    font-family: "Raleway", sans-serif;
    font-size: 1.5em;
    color: #296dab;
    background: rgba(255, 255, 255, 0.4);
}

.introduction-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #296dab;
    padding-top: 8px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    /* Code so Introduction overlaps header image */
    position: relative;
    margin-top: -121px;
}

.main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.intro-button {
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-size: 13px;
    margin: 4px 26px;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: rgba(129, 152, 172, 0.8);
}

.intro-button1:hover {
    background-color: rgba(245, 130, 31, 0.8);
    color: white;
}

.introduction,
.values {
    flex: 100%;
    margin: 5px;
    text-align: left;
    color: white;
}

.introduction,
p {
    margin-left: 15px;
    margin-right: 15px;
    color: #fff;
}

.icons {
    width: 170px;
    margin: 5px;
    text-align: center;
}

.white {
    color: white;
}

.core {
    color: white;
    text-align: center;
    font-weight: bold;
}

.dark-grey {
    color: #323232;
    font-size: 20px;
    font-weight: bold;
    line-height: 1em;
    font-family: Roboto, sans-serif;
}

.italic {
    color: #323232;
    font-style: italic;
    font-weight: 100;
    font-size: 18px;
}

.container-thumbnails {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-between;
    background-color: rgba(129, 152, 172, 0.6);
    /* Semi-transparent  #dae2ed */
    cursor: pointer;
}

    .container-thumbnails > article {
        width: 265px;
        margin: 8px;
        text-align: center;
    }

.container-biographies {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-between;
    background-color: rgb(232, 233, 235, 3);
}

    .container-biographies > article {
        text-align: left;
    }

/* HALF = Half the text, half the image */
.half {
    display: inline-block;
    width: 26vw;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
}

    /* Only show this code if pictures will be more rectangle in lenght than square.    .half.left {      padding-bottom: 10px;    }*/
    .half > img {
        max-width: 100%;
    }

/* align all the images on the right side */
.biopage > img {
    float: right;
}

.biopage {
    margin: 0;
}

/* Left and Right */
.bioleft,
.bioright,
.imgleft,
.imgright {
    font-weight: bold;
    font-size: 64px;
    cursor: pointer;
    height: 100%;
    vertical-align: middle;
}

.imgleft,
.imgright {
    color: #FFFFFF;
    width: 5vw;
    display: inline-block;
}

/* Code for team member thumbnails(or pictures?) to float over bios. Only use if pictures will be more rectangle in lenght than square.    .team {      position: relative;      z-index: 1000;      margin-top: -250px;      height: 250px;      overflow: hidden;    }*/
.button {
    border: none;
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 4px;
    margin-left: 10px;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: #296dab;
}

.button1:hover {
    background-color: rgba(129, 152, 172, 0.8);
    color: white;
}

h1 {
    color: #296dab;
    font-size: 32px;
    line-height: 1em;
    font-family: Roboto, sans-serif;
    margin: 10px;
}

h2 {
    color: #296dab;
    font-size: 20px;
    line-height: 1em;
    font-family: Roboto, sans-serif;
    text-align: center;
}

h3 {
    color: black;
    font-size: 16px;
    font-weight: bold;
    font-family: Roboto, sans-serif;
}

/* Picture gallery styles.       The grid: Four equal columns that floats next to each other */
.column {
    float: left;
    width: auto;
    padding: 10px;
}

    /* Style the images inside the grid */
    .column img {
        cursor: pointer;
    }

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The expanding image container */
.container-gallery {
    /* Needs to be fixed position: fixed means regardless of where you've scrolled to, the position is fixed inside the browser window */
    position: fixed;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

#expandedImg {
    display: inline-block;
    width: 80vw;
    height: 85vh;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
}

/* Expanding image text */
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    text-align: center;
    color: white;
    background: black;
    font-size: 20px;
}

/* Closable button inside the expanded image */
.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* RESPONSIVE CSS for Mobiles */
@media only screen and (max-width: 1024px) {

    /* Header: Results driven text...	*/
    .top-image-container {
        height: 40vh;
        /* VH = % of height of viewport */
    }

    /* .top-image-container>img {        height: 100%;      } This is what makes the picture squished when on mobiles so take it out*/
    .bottom-left {
        display: block;
        font-size: 1.2em;
    }

    /* BIOS		the two halves : left and right	   	on mobile, we want to bring the right half on TOP of the left half	 	*/
    .half {
        display: block;
        /* make each half a block taking the full width so they are no longer side-by-side */
        width: 100%;
    }

    .left {
        /* move the left block down to make room for the photo */
        padding-top: 220px;
    }

    .right {
        /* set the right half to "Absolute", allowing us to move the TOP up (10px to give it a margin */
        text-align: center;
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 210px;
    }

        .right > img {
            height: 200px;
            /* limit the image height to prevent badness.. */
        }

    /* hide the left and right arrows; because there is not enough room */
    .bioright,
    .bioleft {
        width: 0px;
        display: none;
    }

    /* make the contact me button full width */
    .button1 {
        width: calc(100% - 20px);
    }

    /* BIO Thumbnails */
    .thumbnails {
        display: inline-block;
    }

        .thumbnails > img {
            width: 100px;
            height: 100px;
        }

    .container-thumbnails > article {
        width: 100%;
    }

    .profilename {
        padding-left: 10px;
        padding-top: 5px;
        text-align: left;
        width: calc(100% - 110px);
        display: inline-block;
        vertical-align: middle;
    }

    /* image gallery */
    .imgpop {
        padding-left: 20px;
        width: 40vw !important;
    }

    #expandedImg {
        display: inline-block;
        width: 98vw;
        height: 80vh;
        background-repeat: no-repeat;
        background-size: contain;
        margin-top: 10vh;
        margin-bottom: 10vh;
        margin-left: 1vw;
        margin-right: 1vw;
    }

    .imgright,
    .imgleft {
        display: none;
    }

} 
