@charset "utf-8";

/* CSS Document */

.gallery-38-1 {
    margin: 0;
    padding: 0;
    margin: 0px -15px;
    margin-top: -129px;
}

.gallery-38-1 .gallery-top {
    padding-top: 40px;
    text-align: center;
    color: #fff;
    height: 129px;
    font: 28px/40px 'thaisanslite', Arial, sans-serif;
}

.gallery-38-1 .g-tab {
    margin: 0;
    padding: 0;
    width: 500px;
    height: 55px;
    /*-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
border:1px solid #e84c0f;*/
    position: relative;
}

.gallery-38-1 .g-activity {
    width: 230px;
    height: 55px;
    background: url(../images/gallery-38-1/active.png) top left no-repeat;
}

.gallery-38-1 .g-video {
    width: 230px;
    height: 55px;
    background: url(../images/gallery-38-1/normal.png) top left no-repeat;
}

.g-active {
    color: #fff;
    background-color: #e84c0f;
}

.g-active a {
    color: #fff;
    display: block;
}

.g-active a:hover {
    color: #fff;
}

.g-normal {
    color: #1d1d1d;
}

.g-normal a {
    color: #533e29;
    display: block;
    font-weight: bold;
    position: relative;
    z-index: 999;
}

.g-normal a:hover {
    color: #3e677c;
}

.gallery-38-1 .gallery-mid {
    margin: 0;
    padding: 0;
    /* margin-bottom:30px; */
}

.gallery-pic {
    margin: 0;
    padding: 0;
    /* width: 100%; */
    position: relative;
    background-color: #000;
}

.gallery-pic img {
    height: auto;
    width: 100%;
}

.gallery-pic:hover img {
    opacity: 0.5;
}

.gallery-pic .g-text {
    display: none;
	padding-left: 15px;
    padding-right: 15px;
    font: 25px/25px 'thaisanslite', Arial, sans-serif;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    padding-bottom: 25px;
    z-index: 3;
    background: url(../images/gallery-38-1/line-pink.png) bottom center no-repeat;
}

.gallery-pic .g-text a {
    color: #fff;
}

.gallery-pic .g-text a {
    color: #FFF;
}

.gallery-pic:hover .g-text {
    display: block;
}

.gallery-38-1 .gallery-bottom {
    margin: 0;
    background: #ffffff;
    padding-top: 15px;
}

@media (max-width: 575px) {
    .gallery-pic {
        width: 100vw;
    }
    .gallery-pic .g-text {
        width: 100vw;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .gallery-pic {
        width: 100vw;
    }
    .gallery-pic .g-text {
        width: 100vw;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-pic {
        width: 100vw;
    }
    .gallery-pic .g-text {
        width: 100vw;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    ...
}

@media (min-width: 1200px) {
    ...
}