/* CSS Document */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input[type=text],input[type=button],input[type=submit],input[type=password],select{vertical-align:middle}

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.clear {
clear: both;
}

html.mx_logged_in {
margin-top:0 !important;
}

/*.mx_logged_in #header {
top:52px;
}
*/
body {
margin:0;
padding:0;
color: #5b5218;
line-height: 1.450;
}

*:active, *:focus { 
outline: 0; 
} 

table, tr, td {
height:auto !important;
}

ul {
margin-top: 0;
margin-bottom: 0;
}

body, p, td, td p {
font-family: "open-sans",sans-serif;
font-size: 18px;
font-weight: 400;
}

h1, h2, h3, h4, h5, h6, p, ul, table {
padding-bottom: 35px;
}

h1 {
font-family: "arsenica-variable",sans-serif;
font-size: 32px;
font-weight: 500;
}

h2 {
font-family: "arsenica-variable",sans-serif;
font-size: 28px;
font-weight: 500;
padding-top: 15px;
}

h3 {
font-family: "Open Sans",sans-serif;
color: #f49b7d;
font-size: 20px;
font-weight: 700;
}

h4 {
font-family: "Open Sans",sans-serif;
color: #e5c6bd;
font-size: 20px;
font-weight: 700;
}

h4 {
font-family: "Open Sans",sans-serif;
font-size: 20px;
font-weight: 700;
}

h1 + h3 {
position: relative;
top: -45px;
}

em {
font-family: "arsenica-variable",sans-serif;
font-weight: 400;
}

a {
color: #f49b7d;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

input[type=text], input[type=email],input[type=button],input[type=submit],input[type=password], textarea {
border-radius: 10px;
  filter: none;
  border:solid 1px #ad868d;
  font-family: "open-sans",sans-serif;
font-size: 18px;
font-weight: 500;
padding: 5px 10px;
color: #5b5218;
}

a.button,input[type=button],input[type=submit] {
display: inline-block;
width: auto;
padding: 10px 35px;
background-color: #e5c6bd;
color: #5b5218;
border-radius: 10px;
font-size: 20px;
font-weight: 700;
border: none;
cursor: pointer;
}

a.button:hover ,input[type=button]:hover ,input[type=submit]:hover {
background-color: #f49b7d;
text-decoration: none;
}

.button-group {
text-align: center;
padding-bottom: 30px;
}

button {
background-color: transparent;
border:none;
font-family: "open-sans",sans-serif;
color: #f49b7d;
font-size: 18px;
font-weight: 400;
margin: 0 10px;
cursor: pointer;
}

button.is-checked {
border-bottom: solid 2px #f49b7d;
}

#content img[style*="left"], #content img[align="left"] { margin: 0 20px 10px 0; }
#content img[style*="right"], #content img[align="right"] { margin: 0 0 10px 20px; }

#content img {
max-width:100%;
height:auto;
}

img:not([src]):not([srcset]) {
  visibility: hidden;
}

#topwrapper {
background-color: #5b5218;
height: 50px;
}

#header {
text-align: center;
padding:  20px;
z-index: 9;
position: relative;
}


#navwrapper {
background-color: #e5c6bd;
height: auto;
margin-bottom: 20px;
}

#nav {
margin: 0 auto;
width: 100%;
max-width:1023px;
text-align: center;
}

#contentwrapper {
width: 100%;
height: auto;
}

.container {
margin: 0 auto;
width: 100%;
max-width: 680px;
text-align: center;
padding: 60px 20px;
}

.containerwide {
margin: 0 auto;
width: 100%;
max-width: 980px;
text-align: center;
padding: 50px 20px;
}

#footerwrapper {
background-color:#5b5218;
height: auto;
}

#footer {
margin: 0 auto;
width: 100%;
max-width: 680px;
padding: 50px 20px;
color: #FFFFFF;
}

#footer a {
color: #FFFFFF;
}

#footersocial {
text-align: center;
}

#footersocial a{
margin: 0 10px;
}

.portfolio, .portfolioblock {
max-width: 960px;
margin: 0 auto;
}

.portfolioblock {
display: flex;
flex-wrap: wrap;
}

.grid-sizer { width: 33.3%; }

.portfolio-item {
width: 33.3%;
position: relative;
border: solid 10px #FFFFFF;
}


.portfolio-item img {
max-width: 100%;
display: block;
}

.portfolio-item .overlay {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(229, 198, 189, 0.85);
opacity: 0;
transition: all 0.7s ease;
text-align: center;
padding: 10px;
}

.portfolio-item:hover .overlay {
opacity: 1;
}

.portfolio-item .overlay span {
position: relative;
    color: #FFFFFF;
    top:0;
    transition: all 0.7s ease;
}

.portfolio-item:hover .overlay span {
  top: 50%;
 -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: inline-block;
}

.reviews {
max-width: 960px;
margin: 0 auto;
background-color: #5b5218;
}

.review-item {
color: #FFFFFF;
padding: 35px 35px 0 35px;
text-align: center;
}

@media screen and (max-width: 1023px) {

#footersocial img {
max-width: 75px;
height: auto;
}
}

@media screen and (max-width: 840px) {

.portfolio-item, .grid-sizer {
  width: 50%;
  }

} /* end mediaquery */

@media screen and (max-width: 500px) {

#footersocial img {
max-width: 55px;
height: auto;
}

.portfolio-item, .grid-sizer {
  width: 100%;
  }

} /* end mediaquery */