/* Gallery Body -------------------- */
.gallery-page-wrapper {
    width: 100%;
    padding: 15px 0;
    background: #fff url(/shared/images/partners/background-repeat.jpg) repeat-x 0 0;
    overflow: hidden;
}

/* Gallery ------------------------- */

.gallery-wrapper {
    margin: 20px auto;
    overflow: hidden;
}

.gallery-section {
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-section-title {
    color: #666;
    font-family: 'TradeGothic';
    font-size: 38px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -2px;
    float: left;
}

/* - Gallery Filters --------------- */

.gallery-filter {
    float: left;
    margin-left: 50px;
    margin-top: 10px;
}

.btn-gallery-filter {
    display: block;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    border-left: 1px dotted #666;
}

.btn-gallery-filter:first-child {
    border: 0;
}

.btn-gallery-filter:hover,
.btn-gallery-filter-active {
    background: #d20f10;
}

.btn-gallery-filter a {
    display: block;
    padding: 5px 25px;
    color: #666;
    text-decoration: none;
}

.btn-gallery-filter:hover a,
.btn-gallery-filter-active a {
    color: #FFF;
}

/* - Gallery Items ----------------- */

.gallery-item-wrapper {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery-item-wrapper > li {
    float: left;
    padding: 0;
    margin: 0 1px 1px 0;
}

.gallery-item-wrapper > li:hover {
    opacity: 0.5;
    transition: all 0.25s;
}

.gallery-item-wrapper img {
    display: block;
}

.gallery-item-wrapper a {
    display: block;
}

/* - Gallery Modal ----------------- */

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/images/gallery/bg-modal.png) repeat 0 0;
}

.modal-gallery {
    background: #FFF;
    color: #000;
    width: 920px;
    padding: 10px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -470px;
    margin-top: -300px;
}

.modal-gallery-dark {
    background: #000;
    color: #FFF;
}

.modal-gallery-container {
    display: none;
}

.modal-gallery-shown {
    display: block;
    z-index: 1000;
}

/*
.modal-gallery-image-container,
.modal-gallery-image {
    max-width: 100%;
    max-height: 100%;
}
*/

.modal-gallery-caption {
    color: #FFF;
    font: 12px/14px Helvetica, Arial, Verdana, sans-serif;
    width: 900px;
    padding: 10px;
    position: absolute;
    top: 10px;
    background: url(/assets/images/gallery/bg-modal.png) repeat 0 0;
}

.modal-gallery-caption > p {
    width: 75%;
}

.gallery-disclaimer {
    font-size: 10px;
    color: #ccc;
}

.modal-gallery-disclaimer {
    font-size: 10px;
    line-height: 1;
}

.modal-gallery-minis-container {
    width: 855px; /* 57px * 15 items */
    overflow: hidden;
    position: absolute;
    bottom: 45px;
    left: 45px;
}

.modal-gallery-minis {
    padding: 0;
    margin: 0;
}

.modal-gallery-caption,
.btn-modal-gallery-mini-nav,
.modal-gallery-minis-container,
.modal-gallery-minis,
.btn-modal-gallery-mini,
.btn-modal-gallery-mini img {
    z-index: 1050;
}

.btn-modal-gallery-mini {
    display: block;
    float: left;
    padding-right: 5px;
}

.btn-modal-gallery-mini img {
    border: 1px solid #666;
}

.btn-modal-gallery-mini:hover img {
    border: 1px solid #F55;
}

/* .gallery-minis included for specificity */
.btn-modal-gallery-mini .modal-gallery-minis-active {
    border: 1px solid #F55;
    box-shadow: 2px 2px 3px #000;
}

/* - Gallery Video ----------------- */

.modal-gallery-container .chrysler-video {
    margin: 111px auto; /* (582 - 360) / 2 */
    width: 640px;
}

.modal-gallery-container .chrysler-video-endcard {
    position: relative;
    width: 640px;
    height: 360px;
    margin-top: -360px;
    background: #000;
    padding: 0;
    left: auto;
    top: auto;
    z-index: 800;
}

.modal-gallery-container .endcard-watchAgain {
    display: block;
    height: 360px;
    width: 640px;
    margin: 0;
    background-position: 50% 50%;
}

/* - Gallery Buttons --------------- */

.btn {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-modal-gallery-prev,
.btn-modal-gallery-next {
    z-index: 1010;
    position: absolute;
    top: 10px;
    height: 580px;
    width: 35%;
    text-indent: -9999px;
    direction: ltr;
	background:url(/assets/images/gallery/modal-gallery-transparent.png) repeat;
}

.btn-modal-gallery-prev {
    left: 10px;
}

.btn-modal-gallery-next {
    right: 10px;
}

.btn-modal-gallery-prev:hover > span,
.btn-modal-gallery-next:hover > span,
.btn-modal-gallery-close,
.btn-modal-gallery-mini-nav {
    background: url(/assets/images/gallery/gallery-sprite.png) no-repeat;
}

.btn-modal-gallery-prev:hover > span,
.btn-modal-gallery-next:hover > span {
    background-color: #FFF;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 48px;
    margin-top: -24px;
}

.btn-modal-gallery-prev:hover > span {
    background-position: 10px -220px;
    left: 0;
}

.btn-modal-gallery-next:hover > span {
    background-position: 15px -180px;
    right: 0;
}

.btn-modal-gallery-close {
    z-index: 1060;
    background-position: 50% -24px;
    position: absolute;
    top: 10px;
    right: 10px;
    text-indent: -9999px;
    direction: ltr;
    width: 30px;
    height: 30px;
}

.btn-modal-gallery-close:hover {
    background-position: 50% 5px;
}

.btn-modal-gallery-mini-nav {
    display: block;
    text-indent: -9999px;
    direction: ltr;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 525px;
}

.btn-modal-gallery-mini-prev {
    left: 20px;
    background-position: 50% -162px;
}

.btn-modal-gallery-mini-prev:hover {
    background-position: 50% -140px;
}

.btn-modal-gallery-mini-prev:active {
    background-position: 50% -118px;
}

.btn-modal-gallery-mini-next {
    right: 20px;
    background-position: 50% -96px;
}

.btn-modal-gallery-mini-next:hover {
    background-position: 50% -74px;
}

.btn-modal-gallery-mini-next:active {
    background-position: 50% -52px;
}

