/**  Author: DawnM, Sandbur Farm Productions
     Date: Mar 2017
     HTC 2010 JavaScript course Spring 2017
     ==========================================
     Sandbur Farm Lightbox custom css styles
**/


/** color palette
    #59742f  - green
    #886a24  - yellow
    #6b282f  - red
    #494d73  - purple
    #8f4a29  - orange
    #21262c  - black
**/

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    /* while testing only
    border: 1px solid red;*/
    /*box-sizing: border-box;*/
}

header {
    margin: 40px 0 40px 0;
}

h1, h2, .date {
    text-align: center;
    padding: 0.5em 0;
}

p {
    padding: 0.5em 3em 0.5em 3em;
    color: ghostwhite;
    -webkit-font-smoothing: antialiased;
}

.desc {
    margin-top: 40px;
}

a {
    text-decoration: none;
    /*font-weight: bold;*/
    color: #21262c;
}

h1 {
    color: #8f4a29;
}

h2 {
    margin-top: 10px;
    color: #494d73;
}

.date {
    color: #59742f;
}

#slideshow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    left: 0;
    top: 0;
}

.big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pic {
    padding: 0;
}

#lb, #rb {
    width: 32px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#lb {
    float: left;
}

#rb {
    float: right;
}

#controls {
    z-index: 1000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#cap {
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 22px;
    font-family: sans-serif;
    position: absolute;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.about {
    margin-top: 40px;
    padding-bottom: 20px;
    background-color: #59742f;
    width: 100%;
}

#about {
  display: none;
}

div.c1, div.c2 {
    width: 100%;
}

footer {
    background-color: #494d73;
    margin-top: 10px;
    text-align: center;
}


/******************** media queries  ************************/

@media screen and (min-width: 320px) {
    body {
        width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
/*  end media query for 320px to 519px  */

@media screen and (min-width: 520px) {
    body {
        width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}
/*  end media query for 520px to 769px  */


@media screen and (min-width: 770px) {
    body {
        width: 770px;
        margin-left: auto;
        margin-right: auto;
    }
}
/*  end media query for 770px to 1021px  */



@media screen and (min-width: 1022px) {
    body {
        width: 1022px;
        margin-left: auto;
        margin-right: auto;
    }
    .about {
        display: flex;
    }
    .c1, .c2 {
        flex-flow: column wrap;
        align-items: flex-start;
        width: 48%;
    }
    .c2 {
        margin-top: 40px;
    }
}
/*  end media query for 1022px and above */
