* {
    background-color: #000;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      	  box-sizing: border-box;
}
body {
    width: 100%;
    height: auto;
    background-color: #fff;
}
.headerwrap {
    width: 100%;
    background: #000;
}
.footerwrap {
    width: 100%;
    background: #000;
}
header {
    align-content: center;
    width: 90%;
    height: auto;
    background-color: #000;
    margin: 0px auto;
    padding: 1.3em 0;
}
.home {
    display: inline-block;
    float: right;
    width: 2em;
    height: 2em;
    margin: 90px 0 0 0;
    background-image: url(../img/home3.svg);
}
footer {
    width: 90%;
    margin: -16px auto -16px;
}
.logo img{
    display: inline-block;
    height: 7.5em;
    width: 7.5em;
    border-radius: 50%;
    background-position: center;
    border: solid #fff;
}
footer p {
    text-align: right;
    color: #fff;
    padding: .8em 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 200;
}
.midsection {
    align-content: center;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background-color: #fff;
    
}
section {
    align-content: center;
    width: 90%;
    height: auto;
    margin: 0 auto;
    background-color: #fff;
    padding: 1.6em 0;
    columns: 4 auto;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}
.mainpicsec {
    align-content: center;
    width: 90%;
    height: 0 auto;
    margin: 0 auto;
    background-color: #fff;
    padding: 1.6em 0;
    columns: 1 auto;
}
.mainpic{
    background-color: #fff;
}
.mainpic, img {
    margin: 0px auto;
    width: 100%;
    height: 100%;
    background: center no-repeat ;
    background-position: center;
    background-size: cover;
}
.buttonbox {
    width: 100%;
    height: 32px;
    margin: 0 0 0 0;
    background-color: #fff;
}
 .left {
    display: inline-block;
    float: right;
    width: 32px;
    height: 32px;
    margin: 0 50px 0 0;
    background-image: url(..//img/arrow-left2.svg);
    background-color: #fff;
}
a .right {
    display: inline-block;
    float: right;
    width: 32px;
    height: 32px;
    background-image: url(..//img/arrow-right2.svg);
    background-color: #fff;
}
.mainpicsec p {
    margin: 10px auto;
    background-color: #fff;
    width: 100%;
    height: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6em;

}
a figure {
    position: relative;
    width: 100%;
    height: 100%;
    float: left;
    margin: 20px 0 0 0;
    overflow: hidden;
    background-color: #fff;
}
figure img {
    width: 100%;
    background-size: cover;
    background-position: center;
    background: scale;
    background-size: auto;
}
figure .caption{
    position: absolute;
    width: 100%;
    height: 45px;
    margin: 0px 0 0 0px;
    background-color: rgba(0,0,0,.3);
    -webkit-transition:all 0.6s ease-in-out;
    -moz-transition:all 0.6s ease-in-out;
    -o-transition:all 0.6s ease-in-out;
    -ms-transition:all 0.6s ease-in-out;
    transition:all 0.6s ease-in-out;
}
figure:hover .caption{
    position: absolute;
    width: 100%;
    height: 45px;
    margin: -45px 0 0 0px;
    background-color: rgba(0,0,0,.3);
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    -ms-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
}
.caption h4 {
    position: absolute;
    display: block;
    width: 100%;
    text-align: left;
    color: #fff;
    margin:0px 0 0 6px;
    background-color: rgba(0,0,0,.0);
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: .9em;
}
.caption p {
    position: absolute;
    display: block;
    width: 100%;
    text-align: left;
    color: #fff;
    margin:22px 0 0 6px;
    background-color: rgba(0,0,0,.0);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
@media only screen and (min-width: 801px) and (max-width:1200px){
    /*
    .headerwrap {
        background-color: blue;
    }
    */
    section {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        columns: 3;
    }
    
}
@media only screen and (min-width: 489px) and (max-width:800px){
    /*
    .headerwrap {
        background-color: red;
    }
    */
    section {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        columns: 2;
    }
    
}
@media only screen and (min-width: 320px) and (max-width:488px){
    /*
    .headerwrap {
        background-color: green;
    }
    */
    section {
        width: 75%;
        margin-right: 0 auto;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        columns: 1;
    }
    header{
        width: 126px;
        height: 230px;
        align-content: center;
    }
    .home {
        width: 2em;
        height: 2em;
        margin: 10px 50px 0 0px;
        background-image: url(../img/home3.svg);
    }
    footer {
        width: 90%;
        margin: -10px auto -16px;
    }
    footer p {
        text-align: center;
        font-size: .8em;
    }
}