﻿ 
*,*::before,*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
#CB_ImgHide {
    z-index: 1098;
    position: absolute;
    left: 0;
    visibility: hidden;
}
#CB_ShowTh {
    z-index: 1097;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 15%;
    visibility: hidden;
}
 
#CB_Thumbs {
    display: none;
    z-index: 1100;
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 60px;
    overflow: hidden;
    padding-top: 10px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#CB_Thumbs2 {
    position: absolute;
    height: 50px;
    margin: auto 0;
}
.CB_ThumbsImg {
    position: absolute;
    border-radius: 8px;
}
.CB_RoundPixBugFix {
    display: block;
    font-size: 1pt;
    visibility: hidden;
    font-family: arial;
}
#CB_ImgContainer {
    width: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
#CB_PrevNext {
    z-index: 1002;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#CB_ContentHide {
    z-index: 1000;
    position: absolute;
    left: 0;
    top: 0;
}
#CB_LoadingImage {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -14px;
    margin-left: -14px;
    visibility: hidden;
}
#CB_Text {
    text-align: center;
    padding:8px 12px;
    font-size:14px;
    color:#666;
}
 
#CB_Window {
    z-index: 9999 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translateZ(0) !important;
    visibility: hidden;
    border-collapse: separate;
 
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 30px) !important;
    max-height: calc(100vh - 30px) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22) !important;
    background-color: #ffffff !important;
    margin: 0 !important;
}
#CB_Image {
    position: relative;
    width: auto;
    height: auto;
}
 
#CB_Image img {
    display: block !important;
    max-width: 100% !important;
    max-height: 78vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 12px;
}
#CB_ImgContainer img {
    max-width:100%;
    height:auto;
    display:block;
    border-radius:12px;
}
#CB_iFrame {
    z-index: 1003;
    position: absolute;
    width: 0;
    height: 0;
}
 
#CB_TopLeft,
#CB_Top,
#CB_TopRight,
#CB_Left,
#CB_Right,
#CB_BtmLeft,
#CB_Btm,
#CB_BtmRight {
    background-repeat: no-repeat;
    background-image: none !important;
}
#CB_Content {
    background-color: #ffffff;
}
 
#CB_Prev {
    display: block;
    z-index: 1102;
    width: 49%;
    height: 100%;
    cursor: pointer;
    outline: none;
    float: left;
    border-radius: 8px;
    background: url(/images/blank.gif) no-repeat 0 50%;
}
#CB_Next {
    display: block;
    z-index: 1102;
    width: 49%;
    height: 100%;
    cursor: pointer;
    outline: none;
    float: right;
    border-radius: 8px;
    background: url(/images/blank.gif) no-repeat 100% 50%;
}
.CB_TextNav {
    color: #aaa;
    text-decoration: underline;
}
.CB_TextNav:hover {
    color: #ff7700;
    text-decoration: none;
}
#CB_Prev:hover {
    background: url(/images/prev.gif) no-repeat left 50%;
}
#CB_Next:hover {
    background: url(/images/next.gif) no-repeat right 50%;
}
 
#CB_CloseWindow {
    z-index: 1104;
    position: absolute;
    top: 0;
    right: -1px;
    cursor: pointer;
    border-radius: 8px;
}
#CB_SlideShowS {
    z-index: 1104;
    position: absolute;
    top: 0;
    left: -1px;
    cursor: pointer;
    border-radius: 8px;
}
#CB_SlideShowP {
    z-index: 1104;
    position: absolute;
    top: 0;
    left: -1px;
    cursor: pointer;
    border-radius: 8px;
}
#CB_SlideShowBar {
    display: none;
    position: absolute;
    top: 5px;
    left: 22px;
    width: 0;
    height: 5px;
}
#CB_Email {
    position: absolute;
    right: 15px;
}

 
@media (max-width: 1024px) {
    #CB_Window,
    #CB_Thumbs,
    #CB_ContentHide,
    #CB_ImgContainer,
    #CB_PrevNext,
    #CB_LoadingImage,
    #CB_Image,
    #CB_iFrame,
    #CB_CloseWindow,
    #CB_SlideShowS,
    #CB_SlideShowP {
        display: none !important;
        visibility: hidden !important;
    }
}
