/* Post body: restore editor (TinyMCE + bootstrap content_css) formatting that reset.css/default.css strip */
#bo_v_con h1, #bo_v_con h2, #bo_v_con h3,
#bo_v_con h4, #bo_v_con h5, #bo_v_con h6 {margin:0 0 0.5em; font-weight:500; line-height:1.2;}
#bo_v_con h1 {font-size:2.5em;}
#bo_v_con h2 {font-size:2em;}
#bo_v_con h3 {font-size:1.75em;}
#bo_v_con h4 {font-size:1.5em;}
#bo_v_con h5 {font-size:1.25em;}
#bo_v_con h6 {font-size:1em;}
#bo_v_con li {list-style:inherit;}
#bo_v_con ul ul {list-style-type:circle; margin:0;}
#bo_v_con ol ol, #bo_v_con ul ol, #bo_v_con ol ul {margin:0;}
#bo_v_con em, #bo_v_con i, #bo_v_con cite {font-style:italic;}
#bo_v_con blockquote {margin:0 0 1em; padding-left:1em; border-left:3px solid #ccc;}
#bo_v_con table.table-bordered {border-collapse:collapse;}
#bo_v_con table.table-bordered th, #bo_v_con table.table-bordered td {padding:0.5em; border:1px solid #dee2e6;}

/* Main page popup slider (theme/wering/newwin.inc.php), overrides legacy default.css popup rules */
.hd_pop_bg {position:fixed; top:0; left:0; z-index:9998; width:100%; height:100%; background:rgba(0,0,0,0.5);}
#hd_pop {position:fixed; top:50%; left:50%; z-index:9999; width:90%; max-width:1500px; height:auto; margin:0; transform:translate(-50%, -50%);}
#hd_pop .hd_pop_slider {padding-bottom:36px;}
#hd_pop .hd_pops {position:relative; height:auto; border:0; background:transparent;}
#hd_pop .hd_pops_con {overflow:hidden; max-height:75vh; overflow-y:auto; border-radius:10px; background:#fff; text-align:center;}
#hd_pop .hd_pops_con img {display:inline-block; max-width:100%; height:auto; vertical-align:top;}
#hd_pop .hd_pops_con p:not(:has(img)) {padding:10px 20px;}
#hd_pop .swiper-pagination {bottom:0;}
#hd_pop .swiper-pagination-bullet {width:12px; height:12px; background:#fff; opacity:1;}
#hd_pop .swiper-pagination-bullet-active {background:#3d5291;}
#hd_pop .hd_pops_footer {display:flex; justify-content:space-between; align-items:center; padding:10px 0 0; background:transparent;}
#hd_pop .hd_pops_footer:after {display:none;}
#hd_pop .hd_pops_footer button {position:static; padding:10px; border:0; background:transparent; font-size:16px; font-weight:700; color:#fff; cursor:pointer;}

@media screen and (max-width: 767px){
#hd_pop .hd_pops_con {max-height:65vh;}
#hd_pop .hd_pops_footer button {font-size:14px;}
}
