.entry-content > .wpb_row.gallery-padding > .wrapper {
padding: 0 30px;
}
.header-position-left .entry-content > .wpb_row.gallery-padding > .wrapper {
padding-right: 3vw;
}
.header-position-right .entry-content > .wpb_row.gallery-padding > .wrapper {
padding-left: 3vw;
}
.mt-gallery-container-wrapper {
max-width: 1170px;
margin: 0 auto;
}
.mt-gallery-container {
margin: 0 auto;
}
.full-width .mt-gallery-container-wrapper {
width: auto;
padding: 0;
max-width: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-drag: none;
-moz-user-drag: none;
user-drag: none;
}
.gutter-sizer {
width: 2.5%;
display: block;
height: 0;
position: absolute;
}
.grid-sizer {
display: block;
height: 0;
}
.col-1 .gutter-sizer {
width: 0;
}
.margin-0px .gutter-sizer {
width: 0;
}
.margin-1px .gutter-sizer {
width: .1%;
}
.margin-5px .gutter-sizer {
width: .5%;
}
.margin-10px .gutter-sizer {
width: 1%;
}
.margin-20px .gutter-sizer {
width: 2%;
}
.mt-gallery-item .caption {
margin: 0 auto .5em;
padding: 8px 0 0;
position: relative;
font-size: .875em;
text-align: left;
box-sizing: border-box;
display: inline-block;
max-width: 400px;
margin-left: 0;
}
.mt-gallery-item .mt-gallery-item-helper {
margin: 0 auto;
}
.mt-gallery-item .content-wrapper-helper {
display: block;
position: relative;
float: left;
width: 100%;
}
.mt-gallery-item .thumbnail-wrapper-helper {
display: block;
position: relative;
float: left;
width: 100%;
overflow: hidden;
}
.mt-gallery-item .thumbnail-wrapper-1 {
display: block;
position: relative;
float: left;
width: 100%;
}
.mt-gallery-item .thumbnail-wrapper-2 {
display: block;
position: relative;
float: left;
width: 100%;
}
.mt-gallery-item .content-wrapper img {
position: relative;
}
.mt-gallery-item .thumbnail-wrapper {
float: left;
overflow: hidden;
width: 100%;
}
#content .mt-gallery-container-view-content .wpb_button_a {
float: left;
overflow: hidden;
border-color: #fff;
padding: 6px 13px 8px;
color: #fff;
text-shadow: none;
background: #999;
border: 1px solid #999;
border-radius: 30px;
box-shadow: none;
position: relative;
text-transform: none;
letter-spacing: 0;
font-size: 13px;
font-weight: 400;
line-height: 1.2;
min-width: 131px;
box-sizing: border-box;
}
#content .mt-gallery-container-view-content .wpb_button_a span {
display: inline-block;
transition: opacity .3s cubic-bezier(.215, .61, .355, 1), transform .3s cubic-bezier(.215, .61, .355, 1);
transform: translateX(9px);
}
#content .mt-gallery-container-view-content .wpb_button_a:hover span {
transform: translateX(0);
}
#content .mt-gallery-container-view-content .wpb_button_a:hover {
background: #000;
border-color: #000;
color: #fff;
}
.margin-0px .mt-gallery-item {
margin: 0;
}
.mt-gallery-container-wrapper.col-4 .grid-sizer,
.col-4 .mt-gallery-item {
width: 23.125%;
}
.mt-gallery-item {
float: left;
margin: 0 0 2.5%;
width: 100%;
}
.mt-gallery-container-wrapper.col-1 .mt-gallery-item {
margin-bottom: 30px;
width: 100%;
text-align: left;
}
.mt-gallery-container-wrapper.col-1.margin-20px .mt-gallery-item {
margin-bottom: 20px;
}
.mt-gallery-container-wrapper.col-1.margin-15px .mt-gallery-item {
margin-bottom: 15px;
}
.mt-gallery-container-wrapper.col-1.margin-0px .mt-gallery-item {
margin-bottom: 0;
}
.mt-gallery-container-wrapper.col-1 .mt-gallery-item-helper {
width: 100%;
margin: 0 auto;
}
.mt-gallery-item .content-wrapper,
.mt-gallery-item img {
float: left;
width: 100%;
}
.mt-gallery-item .content-wrapper {
position: relative;
display: block;
}
#page .mt-gallery-item .content-wrapper {
box-shadow: none;
}
.mt-gallery-item .content-wrapper:hover {
opacity: 1;
}
.mt-gallery-item .link-wrapper {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 32px;
min-height: 89px;
}
.mt-gallery-item img {
width: auto;
width: 100%;
display: block;
}
.mt-gallery-container-view-wrapper {
position: absolute;
top: 0;
left: 0;
color: #fff;
height: 100%;
text-align: left;
text-shadow: none;
width: 100%;
overflow: hidden;
}
.mt-gallery-container-view-wrapper:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
.mt-gallery-container-view-content {
display: inline-block;
vertical-align: middle;
position: relative;
width: 80%;
}
.mt-gallery-item .entry-header {
margin: 0 0 9px;
}
.mt-gallery-item h2 {
font-size: 24px;
line-height: 20px;
margin: 0;
font-weight: 400;
letter-spacing: 0;
color: #fff;
transform: translateY(22px);
transition: all cubic-bezier(.215, .61, .355, 1) .3s;
}
.mt-gallery-item .entry-excerpt {
color: #999;
text-transform: uppercase;
font-weight: 500;
}
.mt-gallery-container-wrapper.col-1 .grid-sizer,
.mt-gallery-container-wrapper.col-1 .mt-gallery-item {
width: 100%;
}
.mt-gallery-container-wrapper.col-2 .grid-sizer,
.mt-gallery-container-wrapper.col-2 .mt-gallery-item {
width: 48.75%;
}
.mt-gallery-container-wrapper.col-2.margin-0px .grid-sizer,
.mt-gallery-container-wrapper.col-2.margin-0px .mt-gallery-item {
width: 50%;
}
.mt-gallery-container-wrapper.col-3 .grid-sizer,
.mt-gallery-container-wrapper.col-3 .mt-gallery-item {
width: 31.66666666666667%;
}
.mt-gallery-container-wrapper.col-3.margin-0px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3.margin-0px .grid-sizer {
width: 33.33333333333333%;
}
.mt-gallery-container-wrapper.col-3.margin-1px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3.margin-1px .grid-sizer {
width: 33.26666666666667%;
}
.mt-gallery-container-wrapper.col-2.margin-1px .mt-gallery-item,
.mt-gallery-container-wrapper.col-2.margin-1px .grid-sizer {
width: 49.9%;
}
.mt-gallery-container-wrapper.margin-1px .mt-gallery-item {
margin-bottom: .1%;
}
.mt-gallery-container-wrapper.col4.margin-5px .mt-gallery-item,
.mt-gallery-container-wrapper.col4.margin-5px .grid-sizer {
width: 24.625%;
}
.mt-gallery-container-wrapper.col-3.margin-5px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3.margin-5px .grid-sizer {
width: 33%;
}
.mt-gallery-container-wrapper.col-2.margin-5px .mt-gallery-item,
.mt-gallery-container-wrapper.col-2.margin-5px .grid-sizer {
width: 49.5%;
}
.mt-gallery-container-wrapper.margin-5px .mt-gallery-item {
margin-bottom: .5%;
}
.mt-gallery-container-wrapper.col-4.margin-10px .mt-gallery-item,
.mt-gallery-container-wrapper.col-4.margin-10px .grid-sizer {
width: 24.25%;
}
.mt-gallery-container-wrapper.col-3.margin-10px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3.margin-10px .grid-sizer {
width: 32.66666666666667%;
}
.mt-gallery-container-wrapper.col-2.margin-10px .mt-gallery-item,
.mt-gallery-container-wrapper.col-2.margin-10px .grid-sizer {
width: 49.5%;
}
.mt-gallery-container-wrapper.margin-10px .mt-gallery-item {
margin-bottom: 1%;
}
.mt-gallery-container-wrapper.col-4.margin-20px .mt-gallery-item,
.mt-gallery-container-wrapper.col-4.margin-20px .grid-sizer {
width: 23.5%;
}
.mt-gallery-container-wrapper.col-3.margin-20px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3.margin-20px .grid-sizer {
width: 32%;
}
.mt-gallery-container-wrapper.col-2.margin-20px .mt-gallery-item,
.mt-gallery-container-wrapper.col-2.margin-20px .grid-sizer {
width: 49%;
}
.mt-gallery-container-wrapper.margin-20px .mt-gallery-item {
margin-bottom: 2%;
} .layout-cellsbyrow .mt-gallery-container {
display: grid;
}
.layout-cellsbyrow .grid-sizer,
.layout-cellsbyrow .gutter-sizer {
display: none;
}
.layout-cellsbyrow.col-2 .mt-gallery-container {
grid-template-columns: 1fr 1fr;
}
.layout-cellsbyrow.col-3 .mt-gallery-container {
grid-template-columns: 1fr 1fr 1fr;
}
.layout-cellsbyrow.col-4 .mt-gallery-container {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.layout-cellsbyrow.col-1 .mt-gallery-item,
.layout-cellsbyrow.col-2 .mt-gallery-item,
.layout-cellsbyrow.col-3 .mt-gallery-item,
.layout-cellsbyrow.col-4 .mt-gallery-item {
width: auto;
}
.layout-cellsbyrow .mt-gallery-item .content-wrapper-helper {
padding: 15%;
box-sizing: border-box;
}
.layout-cellsbyrow .mt-gallery-item {
margin-bottom: 0;
display: inline-flex;
}
.layout-cellsbyrow .mt-gallery-item-helper {
height: 100%;
width: 100%;
display: inline-flex;
align-items: center;
justify-content: center;
} .layout-justified .mt-gallery-container {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
}
.layout-justified .mt-gallery-container > .mt-gallery-item,
.layout-justified .mt-gallery-container:after {
--ratio: calc(var(--w) / var(--h));
--row-height: 38.8vh;
--row-width: 20vw;
flex-basis: calc(var(--ratio) * var(--row-width));
}
.layout-justified .mt-gallery-container > .mt-gallery-item {
flex-grow: calc(var(--ratio) * 100);
}
.layout-justified .mt-gallery-container:after {
--w: 2;
--h: 1;
content: '';
flex-grow: 1000000;
}
.layout-justified .mt-gallery-item {
margin-bottom: 30px;
padding: 0 15px;
}
.layout-justified.margin-0px .mt-gallery-item {
margin-bottom: 0;
padding: 0;
}
.layout-justified.margin-0px {
margin: 0;
}
.layout-justified.margin-1px .mt-gallery-item {
margin-bottom: 2px;
padding: 0 1px;
}
.layout-justified.margin-1px {
margin: 0 -1px;
}
.layout-justified.margin-5px .mt-gallery-item {
margin-bottom: 4px;
padding: 0 2px;
}
.layout-justified.margin-5px {
margin: 0 -2px;
}
.layout-justified.margin-10px .mt-gallery-item {
margin-bottom: 10px;
padding: 0 5px;
}
.layout-justified.margin-10px {
margin: 0 -5px;
}
.layout-justified.margin-20px .mt-gallery-item {
margin-bottom: 20px;
padding: 0 10px;
}
.layout-justified.margin-20px {
margin: 0 -10px;
} .mt-gallery-item .content-wrapper:hover .overlay {
visibility: visible;
opacity: 1;
} .hover-scale-effect-scale .mt-gallery-item .content-wrapper .attachment {
transition: opacity .2s, transform .45s cubic-bezier(.455, .03, .515, .955);
}
.hover-scale-effect-scale .mt-gallery-item .content-wrapper:hover .attachment {
transform: scale(1.05);
} .hover-scale-effect-scale2 .mt-gallery-item .content-wrapper .attachment {
transition: opacity .2s, transform .45s cubic-bezier(.455, .03, .515, .955);
}
.hover-scale-effect-scale2 .mt-gallery-item .content-wrapper .thumbnail-wrapper-1 {
transition: transform .4s ease;
position: relative;
}
.hover-scale-effect-scale2 .mt-gallery-item .content-wrapper:hover .thumbnail-wrapper-1 {
transform: scale(.99);
}
.hover-scale-effect-scale2 .mt-gallery-item .content-wrapper:hover .attachment {
transform: scale(1.05);
} .hover-scale-effect-scale3 .mt-gallery-item .content-wrapper .thumbnail-wrapper-1 {
transition: transform .4s ease;
}
.hover-scale-effect-scale3 .mt-gallery-item .content-wrapper:hover .thumbnail-wrapper-1 {
transform: scale(1.01);
} .click-scale-effect-scale .mt-gallery-item .content-wrapper .thumbnail-wrapper-1 {
transition: transform .4s ease;
position: relative;
}
.click-scale-effect-scale .mt-gallery-item .content-wrapper:active .thumbnail-wrapper-1 {
transform: scale(.99);
transition: transform 0s ease;
} .hover-opacity-effect-enabled .mt-gallery-item .content-wrapper:hover {
opacity: .8;
} .click-opacity-effect-enabled .mt-gallery-item .content-wrapper:active {
opacity: .8;
transition: opacity ease 0s;
} #content .mt-thumbs-container {
position: fixed;
width: calc(100% - 214px);
z-index: 100;
height: 100%;
transform: translate(0, 100%);
}
#content .mt-thumbs-container > .wrapper-helper {
overflow-y: auto;
height: 100%;
}
#content .mt-thumbs-container > .wrapper-helper > .wrapper {
padding-top: 75px;
padding-top: 0;
}
.mt-thumbs-container .close-button {
position: absolute;
top: 40px;
right: 40px;
display: none;
}
.entry-content > .wpb_row.gallery-padding > .wrapper-helper > .wrapper {
padding: 0 30px;
box-sizing: border-box;
}
@media (max-width: 1023px) {
.full-width .mt-gallery-container-wrapper.layout-justified {
margin-left: 15px;
margin-right: 15px;
}
.full-width .mt-gallery-container-wrapper.layout-justified {
margin-left: -5px;
margin-right: -5px;
}
}
@media (max-width: 768px) {
.mt-gallery-container-wrapper.layout-justified {
margin: 0 auto;
}
.full-width .mt-gallery-container-wrapper.layout-justified {
margin-left: 0;
margin-right: 0;
}
#page .mt-gallery-container-wrapper.col-2 .mt-gallery-item,
#page .mt-gallery-container-wrapper.col-2 .grid-sizer,
#page .mt-gallery-container-wrapper.col-3 .mt-gallery-item,
#page .mt-gallery-container-wrapper.col-3 .grid-sizer,
#page .mt-gallery-container-wrapper.col-4 .mt-gallery-item,
#page .mt-gallery-container-wrapper.col-4 .grid-sizer,
.mt-gallery-container-wrapper.col-4 .grid-sizer,
.col-4 .mt-gallery-item,
.mt-gallery-container-wrapper.col-2.margin-0px .grid-sizer,
.col-2.margin-0px .mt-gallery-item,
.mt-gallery-container-wrapper.col-3 .grid-sizer,
.col-3 .mt-gallery-item {
width: 100%;
}
.col-2.margin-30px .mt-gallery-item,
.col-3.margin-30px .mt-gallery-item,
.col-4.margin-30px .mt-gallery-item {
margin-bottom: 20px;
}
#page .layout-justified .mt-gallery-container {
margin: 0 auto;
display: block;
}
#page .layout-justified .mt-gallery-item {
padding: 0;
}
.mt-gallery-container-wrapper.col-2 {
max-width: 570px;
margin: 0 auto;
}
.mt-gallery-container-wrapper.col-3 {
max-width: 370px;
margin: 0 auto;
}
.mt-gallery-container-wrapper.col-4 {
max-width: 270px;
margin: 0 auto;
}
.mt-gallery-container-wrapper.layout-cellsbyrow.col-4 .grid-sizer {
height: auto;
}
.layout-cellsbyrow .mt-gallery-item {
position: relative;
top: auto;
}
.mt-gallery-container-wrapper.layout-cellsbyrow .mt-gallery-container {
height: auto;
display: block;
}
}