*{margin:0; padding:0; border:0; outline:0;}
:focus {outline: 0;}
ul, ol {margin-left: 20px;}
body {line-height:1; color:#000; font-size:16px; background:#fff;}
table {border-collapse:collapse; border-spacing:0; table-layout: auto;}
td {vertical-align:top; text-align:left; font-weight:normal;}
th {vertical-align:top; text-align:left; font-weight:bold;}
caption {caption-side:top; text-align:center; font-weight: bold;}
a {cursor:pointer; color:#b18857; text-decoration: none;}
a:hover {text-decoration: underline;}
h1, h2, h3, h4, h5, h6 {font-weight:inherit;font-size:inherit;}
b, strong {font-weight:bold;}
i, em {font-style:italic;}
button {cursor:pointer;}
img {vertical-align:bottom;max-width:100%;}
label {cursor:pointer;}
main, header, footer, aside, section, article, nav, address, figure, figcaption, hgroup, canvas {display:block}
mark, time {display:inline;}

*::-webkit-input-placeholder {color:#000;}
*::-moz-placeholder {color:#000;}
*:-ms-input-placeholder {color:#000;}
*::-ms-input-placeholder {color:#000;}

*:focus::-webkit-input-placeholder {color:transparent !important}
*:focus::-moz-placeholder          {color:transparent !important}
*:focus:-ms-input-placeholder      {color:transparent !important}
*:focus::-ms-input-placeholder      {color:transparent !important}

input,textarea,button,select {font-family:inherit;font-size:inherit; color:inherit;background:transparent;}

.pic-right {
    float: right;
    max-width: calc(50% - 10px);
    margin-left: 30px;
    margin-bottom: 10px;
}

.pic-left {
    float: left;
    max-width: calc(50% - 5px);
    margin-right: 30px;
    margin-bottom: 10px;
}

.pic-right.width-25 {
	max-width: 25%;
}

.gallery-wrap {
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

    .pic-right,
    .pic-left {
        float: none;
        max-width: 100%;
        margin: 0 0 30px;
    }
    
    .pic-right.width-25 {
		max-width: 50%;
		display: block;
		margin: 20px auto;
	}

    .ngg-gallery-thumbnail-box {
        width: calc(50% - 5px) !important;
    }
}


