/******* GALLERY BEGIN *******/
.AM-Gallery-Page-Title {
    margin: 0 auto 25px auto;
    padding: 0;
    width: 80%;
    line-height: normal;
    font-size: 1.1em;
    text-align: center;
    color: #bc1b20;
}

.AM-Gallery-Types {
    display: block;
    margin: 0 auto 25px auto;
    padding: 25px;
    width: 450px;
    color: #bc1b20;
    background-color: #efefef;
}

.AM-Gallery-Types li {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    line-height: 23px;
    list-style: disc;
}

.AM-Gallery-Types a {
    color: #000000;
}

.AM-Gallery-Types a:hover {
    color: #bc1b20;
    text-decoration: underline;
}

.AM-Gallery-Types li span {
    font-weight: bold;
    text-transform: uppercase;
}

.AM-Gallery-Content {
    text-align: center;
}

.AM-Gallery-Item {
    display: inline-block;
    width: 32%;
    text-align: center;
    font-size: 11px;
    vertical-align: top;
}

.AM-Gallery-Item h3 {
    margin: 0;
}

.AM-Gallery-Item-Thumb {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 0;
    border: 1px solid #efefef;
}

.AM-Gallery-Item-Thumb img {
    width: 140px;
}

.AM-Gallery-Item-Title {
    display: inline-block;
    width: 80%;
    height: 60px;
}

.AM-Gallery-Images {
    display: inline-block;
    text-align: center;
}

.AM-Gallery-ImgThumb {
    display: inline-block;
    margin: 0 5px 5px 5px;
    line-height: 8px;
    font-size: 10px;
    border: 1px solid #efefef;
}

.AM-Gallery-ImgThumb a {
    display: block;
    line-height: 0;
}

/******* GALLERY END *******/

/******* GALLERY PREVIEW BEGIN *******/
.AM-GalleryPreview {
    margin: 0 auto;
    text-align: center;
}

.AM-GalleryPreview-CurrImage {
    display: block;
    margin: 0;
    padding: 0;
}

.AM-GalleryPreview-Footer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 25px;
    width: 940px;
    height: 50px;
    text-align: left;
    background: transparent url('../images/gallery_info_bg.png') repeat top left;
}

.AM-GalleryPreview-Info {
    float: left;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 80%;
    height: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.AM-GalleryPreview-Info span {
    position: relative;
    display: block;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}

.AM-GalleryPreview-Numbers {
    color: #aaaaaa;
}

.AM-GalleryPreview-PrevNext {
    float: right;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 20%;
    height: 50px;
    text-align: right;
    font-size: 0;
    line-height: 0;
}

.AM-GalleryPreview-PrevNext span img,
.AM-GalleryPreview-PrevNext span a {
    position: relative;
    display: inline-block;
    margin: 0 0 0 25px;
    padding: 0;
    width: 50px;
    height: 50px;
    font-size: 0;
    line-height: 0;
}

.AM-GalleryPreview-PrevImage {
    background: transparent url('../images/gallery_nav_prev.png') no-repeat top left;
}

.AM-GalleryPreview-NextImage {
    background: transparent url('../images/gallery_nav_next.png') no-repeat top left;
}
/*
.AM-GalleryPreview-PrevImage:hover {
    background: transparent url('../images/gallery_nav_prev_active.png') no-repeat top left;
}

.AM-GalleryPreview-NextImage:hover {
    background: transparent url('../images/gallery_nav_next_active.png') no-repeat top left;
}
*/
.AM-GalleryPreview-Thumbs {
    position: relative;
    width: 1000px;
    margin-left: -5px;
}

.AM-GalleryPreview-Thumb {
    float: left;
    margin: 5px 0 5px 0;
    padding: 0;
    width: 20%;
}

.AM-GalleryPreview-Thumb-Active,
.AM-GalleryPreview-Thumb-Inactive {
    display: block;
    margin: 0;
    padding: 5px;
}

.AM-GalleryPreview-Thumb-Active img {
    outline: #bc1b20 5px solid;
    outline-offset: -5px;
}

.AM-GalleryPreview-Thumb-Link {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-size: 0;
    line-height: 0;
}

.AM-GalleryPreview-Thumb-IMG {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

/******* GALLERY PREVIEW END *******/