@charset "utf-8";

.media-gallery {
    display:none;
}

.gallery-main {
    margin: 10px auto;
    position: relative;
    background: #000;
}

.gallery-close,.gallery-prev,.gallery-next{
    height: 24px;
    width: 24px;
    position: absolute;
    cursor: pointer;
}

.gallery-close {
    background-image: url(images/close2.png);
    top: 0px;
    right: 0px;
}

.gallery-close:hover {background-image: url(images/close.jpg);}

.gallery-prev,.gallery-next{
    top: 45%;
    color:#CECECE;
    font-size:60px
}

.gallery-prev {
    /*background-image: url(images/prev.png);*/
    left: 16px;
}

.gallery-next {
    /*background-image: url(images/next.png);*/
    right: 54px;
}

.gallery-prev:hover{color:#fff;}
.gallery-next:hover{color:#fff;}

.gallery-top img{
    max-width: 960px;
    max-height: 600px;
}

.gallery-top {
    width: 100%;
    position: relative;
}

.gallery-header {
    border-bottom: 1px solid #181818;
    background-color: #0a0a0a;
    position: relative;
    height: 49px;
    width: 100%;
    left: 0px;
    top: 0px;
    right: 0px;
}

.gallery-header, .gallery-header a{color: #FFF;}

.ghcnt{
    padding: 10px 24px;
}

.ghcnt .title{
    font-size:12px;
    font-weight:bold;
}

.gallery-desc {
    /*max-height: 100px;*/
    width: 100%;
    margin-bottom: 5px;
    border-bottom: 1px solid #eaeaea;
}

.gccmta{
    padding:10px;
    border-bottom:1px solid #f1f1f1;
    background:#fff;
}

.gtp{padding-top:30px}

.git{
    float:left;
    margin-right:15px;
    border-bottom:1px solid #fff;
    text-align:center;
    padding-bottom:5px;
}

.pit{
    float:left;
    margin-right:2px;
}

.git:last-child,.pit:last-child{margin-right:0;}

.git:hover .galbr{
    border:none;
    border-bottom:1px solid #fff;
     -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.git .desc{padding:0 3px}
.git:hover .desc{padding:0 2px}
.git:hover{
    border:1px solid #D0D0D0;
     -webkit-box-shadow: 0px 0px 8px rgba(153, 44, 216, .3);
    -moz-box-shadow: 0px 0px 8px rgba(153, 44, 216, .3);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .1);
}

.git .desc a div{
    max-width:194px;
    overflow:hidden;
    max-height:32px;
}

@media only screen and (max-width: 949px){
    .gallery-main {
        margin: 10px auto;
        width: 98%;
    }

    .media-gallery {width:98%;}

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