﻿.ZoomBody {
    overflow-x: hidden;
    overflow-y: auto;
}

.PinchToZoomMessage {
    text-align: center;
}

#container {
    color: #fff;
}

#zoomInstructions p {
    text-align: center;
    color: #7C7C7C;
    margin: 0 0 5px 0;
}

#thumbList {
    max-height: 612px;
    padding: 0;
    width: 100%;
    overflow-y: auto;
    margin: 0;
}

    #thumbList li {
        cursor: pointer;
        display: inline-block;
        width: 100%;
        padding: 0 0 10px;
    }

        #thumbList li a {
            display: block;
            border: 1px solid #aaa;
        }

            #thumbList li a:hover, #thumbList .activeThumb {
                border: 1px solid #666;
            }

        #thumbList li img {
            max-width: 100%;
        }

#thumbs img#prevThumbButton,
#thumbs img#nextThumbButton {
    border-style: none;
    margin-bottom: 20px;
}


#zoomWrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

    #zoomWrapper #ImgPrevImg_hr {
        margin-right: 10px;
        font-size: 14px;
    }

    #zoomWrapper #ImgNextImg_hr {
        margin-left: 10px;
        font-size: 14px;
    }

    #zoomWrapper .main_image_container {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex-grow: 1;
        -ms-flex: 1;
        flex-grow: 1;
    }

#thumbs#aThumb3 img {
    margin-bottom: 5px;
}

#imgProductZoom {
    display: block;
    width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ZoomBody #thumbs {
        width: 102px;
    }

    .ZoomBody .zoomGroup {
        width: calc(100% - 112px);
        float: right;
    }
}

.popupLargeZoom .modal-dialog {
    width: 100%;
    max-width: 870px;
}

.popupLargeZoom .modal-body {
    max-height: 100%;
    width: 100%;
    height: 718px;
    max-width: 870px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popupSmallZoom .modal-dialog {
    max-height: 767px;
    width: 100%;
    max-width: 620px;
}

.popupSmallZoom .modal-body {
    height: 721px;
    max-height: 721px;
    width: 100%;
    max-width: 620px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popupSizes .modal-dialog {
    max-height: 767px;
    width: 100%;
    max-width: 800px;
}

.popupSizes .modal-body {
    height: 721px;
    max-height: 721px;
    width: 100%;
    max-width: 800px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popupThreesixty .modal-dialog, .popupFrame360 .modal-dialog {
    max-height: 676px;
    width: 100%;
    max-width: 620px;
}

.popupFrame360 .modal-dialog {
    max-width: 632px;
    max-height: 647px;
}

.popupThreesixty .modal-body, .popupFrame360 .modal-body {
    height: 630px !important;
    max-height: 630px !important;
    width: 100%;
    max-width: 620px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popupFrame360 .modal-body {
    height: 596px !important;
    max-height: 596px !important;
    width: 100%;
    max-width: 630px;
    overflow: hidden;
}

/*Gift With Purchase modal*/
#PromotionDetailModal .modal-header {
    padding: 0;
    height: 28px;
    background-color: #fff;
    border: none;
}

    #PromotionDetailModal .modal-header .text-center {
        display: none;
    }

#promotion-ui .promotionPopDetails {
    font-size: 1.2em;
}

    #promotion-ui .promotionPopDetails .promoTitle, #promotion-ui .promotionPopDetails .promoProductBrand {
        font-size: 1.3em;
    }

    #promotion-ui .promotionPopDetails .promoProductName {
        margin-bottom: 20px;
    }

    #promotion-ui .promotionPopDetails .promoProductColour {
        margin-top: 20px;
    }

    #promotion-ui .promotionPopDetails span, #promotion-ui .promotionPopDetails a {
        display: block;
        text-align: center;
    }

    #promotion-ui .promotionPopDetails .promoTitle, #promotion-ui .promotionPopDetails .promoProductBrand, #promotion-ui .promotionPopDetails .promoProductColour, #promotion-ui .promotionPopDetails .promoProductSize, #promotion-ui .promotionPopDetails .promoMsg, #promotion-ui .promotionPopDetails .promoOfferCTA {
        font-weight: bold;
    }

    #promotion-ui .promotionPopDetails .promoMsg {
        background-color: #efefef;
        padding: 7px;
        margin: 30px 0 0;
    }

    #promotion-ui .promotionPopDetails .promoOfferCTA {
        margin: 20px auto 10px;
        padding: 12px 10px;
        max-width: 220px;
    }

@media (min-width: 768px) {
    #PromotionDetailModal .modal-dialog {
        width: 750px;
    }
}

@media (max-width: 600px) {
    .popupFrame360 .modal-dialog {
        max-height: 619px;
    }

    .popupFrame360 .modal-body {
        height: 568px !important;
        max-height: 568px !important;
    }

    #PromotionDetailModal .modal-header {
        background-color: #efefef;
    }

    #PromotionDetailModal .modal-body {
        padding-top: 46px;
    }

    #promotion-ui img {
        max-width: 140px;
        margin: 15px auto;
    }

    #promotion-ui .promotionPopDetails {
        position: static;
    }

        #promotion-ui .promotionPopDetails .gwpProductName {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background-color: #efefef;
            text-align: center;
            padding-bottom: 8px;
        }

        #promotion-ui .promotionPopDetails .promoTitle {
            font-size: 1.1em;
        }

        #promotion-ui .promotionPopDetails .promoProductBrand, #promotion-ui .promotionPopDetails .promoProductName {
            display: inline-block;
            font-size: 1em;
            margin: 0;
            font-weight: normal;
        }

        #promotion-ui .promotionPopDetails .promoProductColour, #promotion-ui .promotionPopDetails .promoMsg {
            margin-top: 15px;
        }

        #promotion-ui .promotionPopDetails .promoMsg {
            background-color: transparent;
            padding: 0;
        }

        #promotion-ui .promotionPopDetails .promoOfferCTA {
            max-width: 100%;
            margin: 20px 0 10px;
        }
}

@media (max-width: 525px) {
    .popupFrame360 .modal-dialog {
        max-height: 553px;
    }

    .popupFrame360 .modal-body {
        height: 502px !important;
        max-height: 502px !important;
    }
}

@media (max-width: 450px) {
    .popupFrame360 .modal-dialog {
        max-height: 481px;
    }

    .popupFrame360 .modal-body {
        height: 435px !important;
        max-height: 435px !important;
    }
}

@media (max-width: 375px) {
    .popupFrame360 .modal-dialog {
        max-height: 420px;
    }

    .popupFrame360 .modal-body {
        height: 369px !important;
        max-height: 369px !important;
    }
}

@media (max-width: 320px) {
    .popupFrame360 .modal-dialog {
        max-height: 371px;
    }

    .popupFrame360 .modal-body {
        height: 320px !important;
        max-height: 320px !important;
    }
}

.popupHeroProduct .modal-dialog {
    max-height: 478px;
    width: 100%;
    max-width: 585px;
}

.popupHeroProduct .modal-body {
    height: 432px;
    max-height: 432px;
    width: 100%;
    max-width: 585px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#PopUpModalSmall .modal-dialog {
    max-height: 326px;
    width: 80%;
    max-width: 420px;
}

#PopUpModalSmall .modal-body {
    height: 280px;
    max-height: 280px;
    width: 100%;
    max-width: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popupVideo .modal-dialog {
    max-height: 476px;
    width: 100%;
    max-width: 672px;
}

.popupVideo .modal-body {
    max-height: 430px;
    height: 430px;
    width: 100%;
    max-width: 672px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .popupVideo .modal-body .azuremediaplayer {
        width: 100% !important;
    }

#SocialModal .modal-dialog {
    width: 100%;
    max-height: 246px;
    max-width: 400px;
}

#SocialModal .modal-body {
    height: 200px;
    max-height: 200px;
    width: 100%;
    max-width: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1021px) {
    .popupLargeZoom .modal-body {
        height: 870px;
        max-height: 100%;
    }
}
