#fancybox-wrap {
    box-sizing: content-box !important
}

#popupDealer img {
    width: 100%
}


#fancybox-loading {
    position: fixed;
    height: 40px;
    width: 40px;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    cursor: pointer;
    display: none;
    overflow: hidden;
    background: transparent;
    z-index: 200
}

* html #fancybox-loading {
    position: absolute;
    margin-top: 0
}

#fancybox-loading div {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 480px
}

#fancybox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    display: none;
    z-index: 80
}

* html #fancybox-overlay {
    position: absolute;
    width: 100%
}

#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    margin: 0;
    z-index: 90;
    display: none
}

#fancybox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #FFF
}

#fancybox-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    outline: none;
    overflow: hidden;
    padding: 0;
    margin: 0
}

#fancybox-hide-sel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent
}

#fancybox-close {
    position: absolute;
    top: 9px;
    right: 9px;
    height: 16px;
    width: 16px;
    background: url(fancybox/my_fancy_close.png) top left no-repeat;
    cursor: pointer;
    z-index: 165;
    display: none
}

#fancybox-content {
    height: auto;
    width: auto;
    padding: 0;
    margin: 0
}

#fancybox-img {
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    -ms-interpolation-mode: bicubic;
    outline: none;
    line-height: 0;
    font-size: 0;
    vertical-align: top
}

#fancybox-frame {
    position: relative;
    width: 100%;
    height: 100%
}

#fancybox-tmp {
    display: none;
    padding: 0;
    margin: 0;
    border: 0;
    vertical-align: top;
    overflow: auto
}

#fancybox-title {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    font-family: Arial;
    font-size: 12px;
    z-index: 112
}

.fancybox-title-inside {
    padding: 10px 0;
    padding-top: 10px;
    color: #333
}

.fancybox-title-outside {
    padding-top: 10px;
    color: #FFF;
    font-weight: 700
}

#fancybox-title-wrap {
    display: inline-block
}

#fancybox-title-wrap span {
    height: 32px;
    float: left
}

#fancybox-title-left {
    padding-left: 15px;
    background: transparent none repeat-x
}

#fancybox-title-main {
    line-height: 29px;
    background: transparent none repeat-x;
    color: #FFF
}

#fancybox-title-right {
    padding-left: 15px;
    background: transparent none repeat-x
}

#fancybox-left,
#fancybox-right {
    position: absolute;
    bottom: 0;
    height: 95%;
    width: 35%;
    cursor: pointer;
    z-index: 111;
    display: none;
    background-image: url(data:image/gif;base64,AAAA);
    outline: none;
    background-repeat: no-repeat
}

#fancybox-left {
    background-image: url(../images/prev.png);
    background-position: 0 50%
}

#fancybox-right {
    background-image: url(../images/next.png);
    background-position: 100% 50%
}

#fancybox-left {
    left: 0
}

#fancybox-right {
    right: 0
}

#fancybox-left-ico,
#fancybox-right-ico {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    z-index: 112;
    cursor: pointer;
    display: block
}

#fancybox-left-ico {
    left: -9999px
}

#fancybox-right-ico {
    left: -9999px
}

#fancybox-left:hover {
    visibility: visible
}

#fancybox-right:hover {
    visibility: visible
}

#fancybox-left:hover span {
    left: 20px
}

#fancybox-right:hover span {
    left: auto;
    right: 20px
}

#fancybox-close.showCrv {
    background-image: url(../images/crv_form/crv_close.png);
    top: 0;
    width: 60px;
    height: 16px;
    right: 1px
}

#fancybox-overlay {
    z-index: 99999
}

#fancybox-wrap {
    z-index: 999999
}