/* =======================================
    style.css
    use this file for your custom styles
========================================== */

/* use a box model that makes sense */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* set the default color, font-size, and line height */
html {
  color: #333;
  font-size: 1em;
  line-height: 1.4;
}

/* make images and embedded media fluid to always fit the browser */
img,
object {
    max-width: 101%;

}

body{
    color: gray;
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    line-height: 1.8;
}

.header {
    background: #c9c8c9;
    padding: 20px 20px 10px 5px;

}

.header h1 {
    margin: 0px;
    font-weight: 400;
    text-transform: uppercase;

}



a:link, a:visited {
    text-decoration: none;
    color: gray;
}
#navlist a:hover {
    color: white;
}*//


h1 {
    font-size: 2.4em; /* 48px */
    line-height: normal;
    }

#mainheader {
    font-size: 2.5em; /* 48px */
    line-height: normal;
}
h2 {
    font-size: 2em; /* 36px */
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid #AAA;    
    }

h3 {
  font-size: 1.70em /* 28px */
}

h4 {
  font-size: 1.125em /*18px */
  
}

/* =======================================
    author styles
    place your custom styles below here
========================================== */


.wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

.nav-list {
    border: 1px solid #dfbe39;
    height: 35px;
    background: #f1db84;
    padding: 0; /*remove the list indent*/
    margin: 0 auto;
    margin-bottom: 50px;
    margin-top: -1px;
    padding-left: 180px;
    padding-right: 0px;
    padding-top: 2px;

    
}

    
.nav-list li {
    list-style: none; /*remove list style*/
    display: inline; /*display list left to right*/
    padding-right: 40px; /*add space between items*/;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 1px;
    
}


.nav-list li:last-child { /*select only the last li*/
  padding-right: 0; /*remove padding from this li*/
}




.menuback {
    text-transform: uppercase;
    font-size: .7em;
    margin-left: 900px;
}

a:link, a:visited {
    text-decoration: none;
    color: gray;

}
.nav-list a:hover,
.nav-list a:active {
    color: white;
    border-bottom: 2px solid white;
}

.quote {
    max-width: 65%;
    text-align: left;
    padding-right: 0px;
    float: left;
    color: gray;
    line-height: 2;
    font-size: 18px;
}
.image_main {
    float: right;
    width: 300px;
   
   
}

div {
    clear: left;
}

.gallery {
    max-width: 100%;
    padding-top: 70px;
    text-align: center;
    margin: 0 auto;
   

}

.portfoliosection {
    text-align: left;
    margin-left: 350px;
    font-weight: normal;
    text-transform: uppercase;
}

.images {
    height: 300px;
    border: 1px solid gray;
    
}



p {
    font-size: 1.25em;
    text-align: left;
    letter-spacing: .5px;
}




ul{
    list-style-type:none; /* this deletes bullets form other list*/
    text-align: justify;
}

li {
    font-size: 1.3em;
    
}

.exhibitions li, h4 {
    margin-left: -40px;
    letter-spacing: 1px;
    font-size: 1.1em;

}

#contactinfo {
    text-align: left;
    line-height: 1.0em;
}

.contact-form {
    text-align: center;
}

.footer p {
    text-align: center;
    margin: 0 auto;
    padding-left: 100px;
    font-size: 1em;
}


@media (min-width: 40rem) /* these attributes will work on a screen that is at LEAST 40rem  or wider */ {
  
    .column {
        float: left;
        padding-left: 1em;
        padding-right: 1em;
    }
    .column.full {
        width: 100%;
    }
    .column.two-thirds {
        width: 66.7%;
    }
    .column.half {
        width: 50%;
    }
    .column.third {
        width: 33.3%;
    }
    .column.fourth {
        width: 24.95%;
    }
    .column.flow-opposite {
        float: right;
    }
}


@media (max-width: 400px) {
    .nav, p, li {
        font-size: 1em;

    }
    
    h2 {
        font-size: 1.4em;
        text-align: left;
        margin-left: 20px;
        margin-right: 20px;
    }
    h1 {
        font-size: 1.8em;
        line-height: 1;
        text-align: left;
        margin-left: 20px;
        margin-top: 70px;
        
    }
    
    p {
    font-size: 1em;
    letter-spacing: .5px;
    margin-left: 15px;
    margin-right: 10px;
}


    
    
    #mainheader {
    font-size: 1.8em; /* 48px */
    line-height: normal;
    margin-bottom: -15px;
}
    
    .menuback {
    text-transform: uppercase;
    font-size: .7em;
    margin-left: 280px;
    }

    
    .bio {
    line-height: 1.6;
    text-align: left;
    font-size: 1em;
    margin-left: 25px;
    margin-right: 20px;
   
        
    }
    
    .exhibitions {
        margin-right: 10px;
        text-align: left;
        
    }
    
    .exhibitions li{
        font-size: 1em;
        margin-left: 20px; /* to indent second line of paragragh*/
        text-indent: -45px; /* to indent second line of paragragh*/
         margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .exhibitions h4 {
        font-size: 1em;
        line-height: 1.3;
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: -16px;
        margin-right: 20px;
    }
    
    .collections h4{
        font-size: 1em;
        line-height: 1.3;
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: -16px;
        margin-right: 20px;
        
    }
    
    .collections li{
        margin-left: -20px;
        
    }
    
    .literature h4 {
       font-size: 1em;
        line-height: 1.3;
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: -16px;
        margin-right: 20px; 
    }
    
    
    .literature li {
        font-size: 1em;
        margin-left: -20px;
        text-align: left;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    
    .panel {
        font-size: 1.2em;
        line-height: 1.5px;;
        margin-top: 50px;
    
    }
    
    
    .nav-list {
    height: 138px;
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 0; /*remove the list indent*/
    text-align: center;
    margin-top: 2px;

    }
    
    .nav-list li {
    list-style: none; /*remove list style*/
    display: block; /*display list stacked*/
    height: 25px;
    text-align: left;
    background: #f1db84;
    padding-left: 45px;
    padding-right: 15px;
    margin-top: 0px;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-size: .8em;    
    }
    
    .nav-list li:last-child { /*select only the last li*/
  padding-right: 15px; /*remove padding from this li*/
    }


    
    .gallery {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 20px;
    margin-top: -25px;    
    }
    
    
    .images {
    height: 180px;
    
    }
    
    .portfoliosection {
    font-size: 1em;
    margin: 0 auto;
    padding-left: 7px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    line-height: normal;
    margin-bottom: 15px;
    margin-top: 10px;
    }
    
    
    
    
    
    #contact {
    text-align: left;
    margin-left: 30px
    }
    
    
    #contactinfo {
    text-align: left;
    margin-left: 30px;    
        
    }

    .footer p {
    margin: 0 auto;    
    text-align: center;
    padding-right: 50px;
        
    }
    
}








/* =======================================
    helper classes
    keep this at the bottom
========================================== */

/*
 * Clearfix: contain floats
 *
 * from HTML5 Boilerplate
 * shttps://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}