.gallery-items {
    font-size: 0;
}

.gallery-item {
    display: inline-block;
    vertical-align: top;
    -webkit-transition: height 500ms ease;
    -o-transition: height 500ms ease;
    transition: height 500ms ease;
}

.gallery-expander {
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height 500ms ease;
    -o-transition: max-height 500ms ease;
    transition: max-height 500ms ease;
}

.gallery-contents {
    position: relative;
}

.gallery-contents:after {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -30px;
    width: 0;
    height: 0;
    content: '';
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    -webkit-transition: border-bottom-width 500ms ease;
    -o-transition: border-bottom-width 500ms ease;
    transition: border-bottom-width 500ms ease;
}

.gallery-item.active .gallery-contents:after {
    border-bottom-width: 30px;
}


ul.gallery-items {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.thumbnail {
    display: block;
    margin-bottom: 20px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    border: none;
}
.gallery-item {
    text-align: left;
    font-size: 25px;
    margin: 0 10px;
    padding: 10px 0;
}

.gallery-item .thumbnail {
    position: relative;
    width: 220px;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 7px;
    -moz-box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    -webkit-box-shadow: -2px 0px 18px 0px rgba(0, 0, 0, 0.74);
    -moz-box-shadow: -2px 0px 18px 0px rgba(0, 0, 0, 0.74);
    box-shadow: -2px 4px 13px -1px rgba(0, 0, 0, 0.74);
}

.gallery-item .thumbnail>img {
    position: absolute;
    top: 153%;
    margin-top: -319px;
    max-width: 238px;
}

.gallery-item .title {
    padding-bottom: 35px;
    color: #293754;
    text-align: center;
    letter-spacing: 1px;
    font-size: 16px;
    margin-top: 20px;
    font-weight: bold;
    font-family: 'Fjalla One', sans-serif;
}
.gallery-contents:after {
    border-bottom-color: #d0d6e3;
}

.gallery-expander {
    background: #344f883b;
}

.gallery-expander-contents {
    margin: 0 auto;
    width: 1200px;
    padding: 20px 0;
}

@media (min-width: 640px) and (max-width: 999px) {
    .gallery-expander-contents {
        width: 640px;
    }
}

@media (max-width: 639px) {
    .gallery-expander-contents {
        width: 100%;
    }
}

.gallery-expander-contents:after {
    clear: both;
    display: table;
    content: '';
}

.gallery-expander-contents>div.col {
    float: left;
    width: 480px;
}

@media (min-width: 640px) and (max-width: 999px) {
    .gallery-expander-contents>div.col {
        width: 310px;
    }
}

@media (max-width: 639px) {
    .gallery-expander-contents>div.col {
        float: none;
        padding: 25px 20px 0;
        width: auto;
    }
}

.gallery-expander-contents>div.col+div.col {
    margin-left: 40px;
}

@media (min-width: 640px) and (max-width: 999px) {
    .gallery-expander-contents>div.col+div.col {
        margin-left: 20px;
    }
}

@media (max-width: 639px) {
    .gallery-expander-contents>div.col+div.col {
        margin-left: 0px;
    }
}

.gallery-expander-contents div.close {
    position: absolute;
    top: 10px;
    right: 20px;
}

.gallery-expander-contents div.title {
    color: #39507f;
    font-weight: bold;
    padding-bottom: 20px;
}

.gallery-expander-contents h4 {
    margin: 10px 0;
    color: #2b2b2b;
    font-family: 'Changa', sans-serif;
    font-weight: bold;
    text-align: right;
    font-size: 13px;
    line-height: 26px;
}

.gallery-expander-contents ul li {
    list-style-type: disc;
    margin-left: 18px;
    font-family: 'Changa', sans-serif;
    text-align: right;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #d8b647;
    opacity: 1.2;
}

.close:hover,
.close:focus {
    color: #d8b647;
    text-decoration: none;
    cursor: pointer;
}

.gallery-expander-contents p {
    font-size: 18px;
    line-height: 45px;
    font-weight: 400;
    display: inline-block;
    text-align: left;
    color: #293855;
    font-family: 'Fjalla One', sans-serif;
    float: left;
}

.gallery-expander-contents div.contents {
    padding: 10px 0;
    font-size: 14px;
    line-height: 24px;
    background: #d0d6e3;
    text-align: center;
    float: none;
    margin: auto;
    min-width: 600px;
    max-width: 800px;
}
.gallery-expander-contents .title {
    font-size: 26px !important;
}

.gallery-expander-contents div.image>img {
    width: 43%;
    display: block;
    float: left;
    border-radius: 10%;
    border: 1px solid #ccc;
    padding: 3px;
}

img.productsgall {
    width: 180px;
    height: auto;
    border: 5px solid #2334588c;
    margin-left: 20px;
    float: right;
}