/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
	height: 100%; /* Ensure body takes full height of viewport */
    margin: 0; /* Remove default margin */
    overflow-x: hidden; /* Prevent horizontal scroll (optional) */
    overflow-y: auto; /* Enable vertical scrolling */
}
.conference-table td:nth-child(2),
.conference-table th:nth-child(2) {
  font-weight: bold;
}

.layout {
	/* height: 860px; */
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

/* ==== Backgraund === */
#wrap {
	background: url(../images/wrap_bg.jpg) repeat-x;
	border-top:#8DD3ED 5px solid;
}
/* ==== Header === */
#hd {
	height: 95px;
	position: relative;
	background: url(../images/hd_bg.jpg) no-repeat;
}
/* ==== Navigation === */
#nav {
	width:220px;
	height:885px;
	/* height:446px; */
	margin-top:10px;
	float:left;
	background: url(../images/nav_bg.jpg) no-repeat;
}

#nav ul {}
#nav li {
	float: left;
	margin-bottom:4px;
}
#nav a img.current {
	opacity: 0;
	filter: alpha(Opacity=0);
}

/* ==== Content === */
#con {
	border-top:#8DD3ED 2px solid;
	}

#main {
	width: 720px;
	float: right;
	margin-top:10px;
}
/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main a img{
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}
/* ==== Footer === */
#ft {
	margin-top:20px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	border-top:#89CFE8 1px solid;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
	position: absolute;
	top: 16px;
	left: 10px;
}
h2 {
	font-size: 2.2em;
	font-weight:normal;
	padding: 0.9em 0 0.9em 0.6em;
	margin: 0em 0 0.8em 0;
	background: url(../images/h2_bg.jpg) left center no-repeat;
	color: #0C2749;
}
h3 {
	font-size: 1.4em;
	color:#FFFFFF;
	font-weight:normal;
	padding: 0.4em 0 0.2em 2.2em;
	margin: 0 0 0.4em 0;
	background: url(../images/h3_bg.jpg) top center no-repeat;
}
h4 {
	font-size: 1.3em;
	padding: 0.2em 0 0.3em 0;
	margin: 1.2em 0 1em 0;
}
h5 {
	font-size: 1.1em;
	margin: 10px 0px;
}

h1.img, h2.img, h3.img, h4.img, h5.img, h6.img { margin: 0;padding: 0;background: none;border: none; }

/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
	background:url(../images/i_img_bg.jpg) bottom center no-repeat;
	padding-bottom:32px;
}
.iframe_box {
	width:720px;
	border:#89CFE8 1px solid;
	box-sizing:border-box;
	}
#i_news {
}
#i_news table {
}
#i_news table td {
	vertical-align: top;
	font-size: 0.9em;
	padding: 10px;
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	width: 120px;
	padding-left: 15px;
}


#i_bnr{
	margin-top:20px;
	width:220px;
	float:right;
	margin-left:20px;
}

/*----pagetop----*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}


ul.nav_sub{z-index: 10;}

ul.nav_sub li a{

	color: #24312C;

	text-decoration: none;

	font-weight: bold;

	display: block;

	background: url(../images/nav_bg.jpg) no-repeat;

	line-height: 40px;

	height: 43px;

	padding-left: 23px;

	text-shadow: 1px 1px 0px #FFFFFF;

	width: 197px;

}

.nav_sub_2line a{
	line-height: 1.4em!important;
	font-size:7px!important;
}


ul.nav_sub li a:hover{

	background: url(../images/nav_bg_ov.jpg) no-repeat;

	color: #374D45;

}

.tooltip {
  position: relative;
  font-size: 15px
}
.tooltip::before,
.tooltip::after {
  position: absolute;
  transition: all 0.3s ease 0s;
  opacity: 0;
}
.tooltip::before {
  content: "";
  border: 10px solid transparent;
  border-bottom-color: #DC3C3F;
  top: 10px;
  left: 10px;
}
.tooltip::after {
  content: attr(data-tooltip);
  display: block;
  padding: 20px;
  background: #DC3C3F;
  color: #fff;
  border-radius: 5px;
  top: 30px;
  left: 0;
}
.tooltip:hover::before{
  top: 16px;
  opacity: 1;
}
.tooltip:hover::after{
  top: 36px;
  opacity: 1;
}

.bnr:hover{
	opacity: 0.8;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
    overflow: auto; /* Enable scrolling for large images */
    align-items: center;
    justify-content: center;
}

/* Modal image styling */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close modal when clicked */
.modal:hover {
    cursor: pointer;
}

/* Thumbnail image */
.thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(0.9); /* Zoom effect */
}

.float-right{
	display: flex;
    justify-content: center; /* Push content to the right */
    margin-bottom: 20px; /* Bottom margin */
    margin-right: 40px; /* Right margin */
}
