.catGrid {
    background-color: black;
    overflow: hidden;
}
.catgriditem {
    display: block;
    float: left;
    margin: 10px;
    color: white;
    text-decoration: none;
    text-align: center;
}
.catgriditem:hover {
    color: white;
    text-decoration: none;
}
/*Thumbnail Slideshow BEGIN*/

.thumbnailmode {
    width: 520px;
    height: 105px;
    overflow: hidden;
}
.thumbnailmode .slideshowzone {
    width: auto;
    overflow: hidden;
    height: 105px;
    float: left;
    clear: both;
}
.thumbnailmode .galleria-container,
.thumbnailmode .galleria-image {
    background-color: transparent;
    border: 0px solid transparent;
}
.thumbnailmode .galleria-container {
    height: 110px !important;
    overflow: hidden;
    margin: 0px auto;
    float: none;
    width: 518px;
}
.thumbnailmode .galleria-stage {
    display: none;
}
.thumbnailmode .galleria-thumbnails-container {
    position: static;
}
.thumbnailmode .galleria-image {
    opacity: 1 !important;
    filter: none !important;
}
.thumbnailmode .galleria-thumb-nav-left {
    background: url('/tsparkcms/images/img_gallery_nav_arrow_left.png') center left no-repeat;
    border: none;
    top: 35px;
}
.thumbnailmode .galleria-thumb-nav-right {
    background: url('/tsparkcms/images/img_gallery_nav_arrow_right.png') center right no-repeat;
    border: none;
    top: 35px;
}
/*Thumbnail Slideshow END*/
/*Custom image gallery (polaroid-style) styles*/

.cmsGallery .photo {
    display: inline-block;
    position: relative;
    text-align: center;
    margin: .5em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    border-radius: .4em;
    border: 10px solid white;
    vertical-align: top;
}
.cmsGallery .photo {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin: 1%;
    margin-bottom: 50px;
    border: 0;
}
.cmsGallery .photo .imgDesc {
    background: #F6F6F6;
    border-bottom: 2px solid #E4E4E4;
    text-align: center;
    padding: 10px;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -ms-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
}
.cmsGallery .photo .imgcrop {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}
.cmsGallery .photo:hover .imgDesc h5 {
    color: #FFF !important;
}
.cmsGallery .photo .imgDesc p {
    color: #AAA;
}
.cmsGallery .photo .imgDesc p,
.cmsGallery .photo .imgDesc h5,
.cmsGallery .photo .imgDesc h5 a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.cmsGallery .photo .imgDesc h5 a,
.photo .imgDesc p a {
    text-decoration: none;
    color: inherit;
}
.cmsGallery .photo .imgDesc * {
    padding: 0;
}
.cmsGallery .photo:hover .imgDesc {
    background: #343434;
}
.cmsGallery .photo img {
    margin: 0 auto;
}
.cmsGallery .photo h5 {
    margin: .2em 0;
    padding: 0;
}
.cmsGallery .photo a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit !important;
    text-decoration: none;
}
.categoryNav {
    display: block;
    clear: both;
}
/*imgcrop.js styles*/

.imgcrop {
    overflow: hidden !important;
}
.imgcrop img.width100 {
    width: 100% !important;
    height: auto;
}
.imgcrop img.height100 {
    height: 100% !important;
    width: auto;
}