@import url('https://fonts.googleapis.com/css?family=PT+Sans');

/* Dark overlay */
#full_pop_dark_bg {
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0, 0, 0, 0.6);
z-index:9999;
}

.full_pop_box_onload{
display:none;
}

/* Popup container */
#full_pop_box {
display:none;
position:fixed;
top:50%;
left:50%;
transform:translate(-50%, -50%);
max-width:1200px;
width:90%;
background:#fff;
border-radius:10px;
box-sizing:border-box;
z-index:10000;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
overflow:hidden;
}

#full_pop_box .inner_wrapper {
position:relative;
padding:35px 30px 30px;
max-height:90vh;
overflow-y:auto;
}

#popup_content {
background:#fff;
}

#full_pop_close {
position: absolute;
top: 10px;
right: 20px;
width: 24px;
height: 24px;
background: transparent;
color: #1b2170;
border: 1px solid #1b2170;
border-radius: 50%;
font-size: 16px;
font-weight:bold;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background 0.3s ease, color 0.3s ease;
z-index: 10001;
}

#full_pop_close:hover {
background: #1b2170;
color: #fff;
}

/* Hidden error content container */
#full_pop_box_err_ajax {
display:none;
}

/*
elem 
*/

#full_pop_box h1.big_tlt{
font-family:'PT Sans',sans-serif;
font-size:28px;
font-weight:bold;
line-height:115%;
text-align:center;
padding:0 15px;
margin:0 0 40px 0;
color:#1b2170;
}

#full_pop_box h1.big_tlt a, 
#full_pop_box h1.big_tlt a:visited{
color:#1b2170;
text-decoration:underline;
}

#full_pop_box h1.big_tlt a:hover{
text-decoration:none;
color:#1b2170;
}

/*
img
*/

/* Image container inside popup */
#full_pop_box div.full_pop_img_wrap {
width: 100%;
max-height: 80vh;
overflow: auto;
background: #fff;
text-align: center;
padding: 10px;
box-sizing: border-box;
cursor: zoom-in;
}

/* Image (normal state) */
#full_pop_box div.full_pop_img_wrap img {
max-width: 100%;
height: auto;
display: inline-block;
transition: transform 0.25s ease;
transform-origin: center center;
user-select: none;
}

/* Image when zoomed */
#full_pop_box div.full_pop_img_wrap.zoomed img {
transform: scale(2.5);
cursor: zoom-out;
}

/* Main object/PDF container inside popup */
.full_pop_obj_wrap {
width: 100%;
max-height: 80vh;
overflow: hidden;
position: relative;
box-sizing: border-box;
background: #fff;
padding: 0;
}

/* iframe (PDF mode) */
.pop_obj_iframe {
width: 100%;
height: 80vh;
border: none;
display: block;
}

/* <object> for generic files */
.pop_obj_object {
width: 100%;
height: 80vh;
border: none;
display: block;
}

/* Fallback content (hidden by default) */
.pop_obj_fallback {
display: none;
padding: 20px;
text-align: center;
color: #444;
font-size: 14px;
}

/* If iframe or object fails, browser triggers the fallback style */
.pop_obj_object:empty + .pop_obj_fallback,
.pop_obj_iframe[onerror] + .pop_obj_fallback {
display: block;
}

#pop_full_win_obj_fallb{
display:none;
}

