#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

#cboxOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: #000;
    opacity: 0.5 !important;
    cursor: default !important;
}

#colorbox {
    outline: 0;
}

#cboxBottomLeft {
    width: 14px;
}

#cboxBottomRight {
    width: 14px;
}

#cboxMiddleLeft {
    width: 0px;
}

#cboxContent {
    background: #fff;
	overflow: hidden;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxCurrent {
    position: absolute;
    bottom: -25px;
    left: 58px;
    font-weight: bold;
    color: #7C7C7C;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    position: absolute;
    bottom: -29px;
    width: 23px;
    height: 23px;
    text-indent: -9999px;
}

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxPrevious {
    left: 0px;
    background-position: -51px -25px;
}

#cboxPrevious:hover {
    background-position: -51px 0px;
}

#cboxNext {
    left: 27px;
    background-position: -75px -25px;
}

#cboxNext:hover {
    background-position: -75px 0px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position: -125px 0px;
    right: 27px;
}

.cboxSlideshow_on #cboxSlideshow:hover {
    background-position: -150px 0px;
}

.cboxSlideshow_off #cboxSlideshow {
    background-position: -150px -25px;
    right: 27px;
}

.cboxSlideshow_off #cboxSlideshow:hover {
    background-position: -125px 0px;
}

#cboxTitle {
    background: transparent;
    position: absolute;
    top: 0;
    padding: 17px;
    width: 100%;
}

#cboxTitle .headline {
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    width: 100%;
    vertical-align: middle;
}

#cboxClose {
    position: absolute;
    right: 15px;
    top: 15px;
    background: transparent;
    color: #21252b;
    font-size: 25px;
    z-index: 5;
    text-align: center;
	width: 35px;
    height: 35px;
    border: 1px solid #cacaca;
    border-radius: 50%;	
}

#cboxLoadedContent {
    padding: 10px;
	overflow: hidden !important;
}

#cboxLoadedContent .add-to-cart-item {
    margin-bottom: 40px;
}

#cboxLoadedContent .addressEntry+.addressEntry,
#cboxLoadedContent .saved-payment-entry+.saved-payment-entry {
    margin-top: 55px;
}

#cboxLoadedContent .addressEntry ul,
#cboxLoadedContent .saved-payment-entry ul {
    margin-top: -10px;
    margin-bottom: 20px;
}

#cboxLoadedContent .modal-details {
    line-height: 1.8em;
}

#cboxLoadedContent .modal-actions {
    margin-top: 20px;
}

#cboxLoadedContent .modal-actions .btn {
    margin-top: 20px;
}

@media(max-width:639px) {
    .pagination>li>a {
        width: 42px;
    }
    #cboxTitle {
        display: none !important;
        height: 112px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #cboxTitle:before,
    #cboxTitle:after {
        content: " ";
        display: table;
    }
    #cboxTitle:after {
        clear: both;
    }
    #cboxTitle:before,
    #cboxTitle:after {
        content: " ";
        display: table;
    }
    #cboxTitle:after {
        clear: both;
    }
    #cboxLoadedContent {
        padding: 10px;
    }
    #cboxLoadedContent .addressEntry ul {
        margin-top: -25px;
    }
}