/* basic html tag */
body {
	font-family: Helvetica, Arial;
	font-size: 12pt;
	line-height: 15pt;
	background:url(../images/web/bg.png);
	margin: 0px;
	padding: 0px
	border-spacing: 0px
}
input, select, textarea {
    font-family: arial;
}

table {
	border: 0px;
	padding: 0px;
}
td {
	padding: 0px; /* <table cellpadding> */
}
h1 {
	margin-top: 2px;
	margin-bottom: 2px;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Main Layout --------------------------- */

/* default desktop */
.bgtop {
    position: absolute;
    width: 100%;
    height: 70px;
    z-index: -10;
    /*background: #7D0505; url(images/web/top_rome2_en_rwd.jpg) repeat-x center top;*/
    
    /* http://www.colorzilla.com/gradient-editor/ */
    background: -moz-linear-gradient(top,  rgba(125,5,5,1) 50%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(125,5,5,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(125,5,5,1) 50%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(125,5,5,1) 50%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(125,5,5,1) 50%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(125,5,5,1) 50%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d0505', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}
.main_rwd {
    margin: 0 auto;
    width: 1200px;
    background: #ffffff;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #7D0505;
    overflow: hidden; /* hidden right_panel overflow */
}
.header {
    left: 300px;
    width: 100%;
    height: 40px;
    background: #7D0505;
    text-align: center;
}
/* Holy Grail of Layouts */
#main_container {
    padding: 5px 5px 5px 210px;
}
#main_content {
    float: left;
    width: 100%;
}
#main_menu {
    float: left;
    position: relative;
    width: 200px;
    margin-left: -100%;
    left: -205px;
}
.side_rwd {
    float: right;
    width: 336px;
    padding: 5px;
}
.footer {
    clear: both;
}

/* content class--------------------------- */
.topic {
	font-size: 14pt;
	font-weight: bold;
}
.unit_text {
	position: absolute;
	font-size: 10pt;
	font-weight: bold;
}

/* layout class--------------------------- */
.table_page {
}
.table_top {
	border-spacing: 0px;
}
.table_location {	
	background-color: #ffffff;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #7D0505;
}
.table_main {
	background-color: #ffffff;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #7D0505;
}
.table_bottom {
	background-color: #ffffff;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #7D0505;
}
/* table_data class--------------------------- */
.table_data {
	background-color: #ffffff;
	border: solid 2px #C08080; 
	border-spacing: 0;
	/*padding: 4px;
	border-collapse: collapse;*/
	margin-bottom: 2px;
}
.table_data th {
	background-color: #800000;
	border-right: dotted 1px #C08080;
	border-bottom: dotted 1px #C08080;
	padding: 2px;
	color: #FFFFFF;
}
.table_data .tr_header {
	background-color: #C0A0A0;
	font-style: italic;
}
.table_data th a {
	color: #ffffff;
}
.table_data td {
	border-right: dotted 1px #C08080;
	border-bottom: dotted 1px #C08080;
	padding: 2px;
	color: #000000;
}
.table_data .tr2 {
	background-color: #FFF0F0;	
}
/* table_menu class */
.table_menu td:hover {
	background-color: #FFF0F0;
}
.table_number td div { /* 數字序號, 第二行縮排 */
	text-indent: -20px;
	margin-left: 20px;
	word-wrap: break-word; /* 長字串斷字 */
}
.table_number td div a {
	padding-left: 3px; /* 與數字點隔開間距 */
}
.table_clean {
	margin: 0px;
	border: 0px;
	border-spacing:0px;
	padding: 0px;
}
.table_clean td {
	margin: 0px;
	border: 0px;
	border-spacing:0px;
	padding: 0px;
}
/* stat class--------------------------- */
.table_stat {
	border-spacing: 0;
	/*border: solid 1px #000000;*/
}
.table_stat tr:hover {
	background-color: #C0A0A0;
}
.table_stat td {
	border-bottom: solid 1px #C0C0C0;
	padding: 0 2px 0 2px;
	text-align: right;
}
.table_stat p {
	margin: 0px;
	float: left;
	font-weight: bold;
}
.table_stat .sub_item {
	font-style: italic;
	font-weight: normal;
	padding-left: 10px
}
/* stat class--------------------------- */
.table_tree {
	margin: 0px;
	border: 0px;
	padding: 0px;
	border-spacing: 0px;
}
.table_tree td {
	margin: 0px;
	border: 0px;
	padding: 0px;
	border-spacing: 0px;
}
.table_tree img {
	margin: 5px;
}
.table_tree .selected {
	border:5px solid #ff0000;
	margin:0px
}
/* rome2 unit_icon crop class--------------------------- */
.rome2_unit_icon_crop {
	display: block;
	float: left;
	width: 64px;
	height: 128px;
	overflow: hidden;
	position: relative;
}
.rome2_unit_icon_crop img {
	border: medium none;
	top: -12px;
	position: absolute;
}
/* Menu Tabs 10--------------------------- */
#top_tabs {
	float:left;
	width:100%;
	font-size:10pt;
	line-height:normal;
}
#top_tabs a:link 	{color: #ffffcc;}
#top_tabs a:visited {color: #b0c5ef;}
#top_tabs a:active 	{color: #cff5ff;}
#top_tabs a:hover 	{color: #ff0000;}

#top_tabs ul {
	margin:0;
	padding:0 0 0 50px;
	list-style:none;
}
#top_tabs li {
	display:inline;
	margin:0;
	padding:0;
}
#top_tabs a {
	float:left;
	background:url("../images/web/tab_left.png") no-repeat left top;
	margin:0;
	padding:0 0 0 10px;
	text-decoration:none;
}
#top_tabs a span {
	float:left;
	display:block;
	line-height: 18px;
	background:url("../images/web/tab_center_right.png") no-repeat right top;
	padding:8px 10px 0px 0px;
}
/* Commented Backslash Hack hides rule from IE5-Mac */
#top_tabs a span {
	float:none;
}
/* End IE5-Mac hack */
#top_tabs a:hover span {
	color:#FFF;
}
#top_tabs a:hover {
	background-position:0% -42px;
}
#top_tabs a:hover span {
	background-position:100% -42px;
}
#top_tabs #current a {
	background-position:0% -42px;
}
#top_tabs #current a span {
        background-position:100% -42px;
}
/* float_layer --------------------------- */
.float_layer {
	display: none; /* default hide() */
	position:absolute;
	width: 400px;
	height: 100px;
	z-index: 1;
	color: #000000;
	padding: 1px;
}
.float_layer_bg {
	position:absolute;
	width: 100%;
	height: 100%;
	border: 1px solid #800000;
	background-color: #C08080;
	z-index: -1;
	filter: Alpha(Opacity=90);
	-moz-opacity: 0.90;
	opacity: 0.90;
}
.float_layer_text {
	width: 100%;
	height: 100%;
	padding: 2px;
	text-align: left;
	color: #000000;
}
/* ad class--------------------------- */
.ad {
	/*
	background-color: #ffffff;
	border: solid 2px #C08080;
	border-spacing: 0;
	padding: 2px;
	*/
}

/* content layout -------------------------- */
/* 2 columns layout */
.content_container {
    padding: 5px 310px 5px 5px;
}
.content_body {
    float: left;
    width: 100%;
}
.content_side {
    width: 300px;
    margin-left: 100%;
    padding-left: 5px;
}
.content_container:after {
    content: "";
    display: block;
    clear: both;
}
/* table style */
.content_table {
    background-color: #ffffff;
    border: solid 2px #C08080; 
    border-spacing: 0;
    /*padding: 4px;
    border-collapse: collapse;*/
    margin-bottom: 2px;
}
.content_table th {
    background-color: #C08080;
    border: solid 1px #FFF0F0;
    padding: 2px;
    color: #FFFFFF;
}
.content_table .tr_header {
    background-color: #C0A0A0;
    font-style: italic;
}
.content_table th a {
    color: #ffffff;
}
.content_table td {
    border: solid 1px #FFF0F0;
    padding: 2px;
    color: #000000;
}
.content_table .tr2 {
    background-color: #FFF0F0;  
}

/* header block -------------------------- */
#mobile_menu_button {
	display: none;
	padding: 5px;
}
#mobile_search {
	display: none;
}
#logo {
	float: left;
}
#change_language {
	height: 40px;
	padding: 0;
}
	#menu_language {
		background: #7D0505;
		position: absolute;
		z-index: 1000;
		display: none;
		margin-left: -115px;
	}
	#menu_language a {
		display: block;
		width: 145px;
		height: 30px;
		border-top: 1px solid white;
		padding: 5px;
		color: #f0f0f0;
		font-size: 10pt;
		text-align: left;
	}
	#menu_language a:hover {
		background: #808080;
	}
#top_menu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
    #top_menu li {
        display: inline-block;
        margin: 0 4px 0 4px;
    }
    #top_menu span {
        height: 40px;
        line-height: 40px;
    }
    #top_menu li a {
        color: #ffffff;
    }
    #top_menu a:hover {
        color: #ffff00;
    }
.header_menu {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
	.header_menu li {
		display: inline-block;
		margin: 0 8px 0 8px;
	}
	.header_menu span {
		height: 40px;
		line-height: 40px;
	}
	.header_menu li a {
		color: #ffffff;
	}
	.header_menu a:hover {
		color: #ffff00;
	}
#rome2_version {
	display: none;
	position: absolute;
	background: #7D0505;
}
	#rome2_version span {
		display: block;
		width: 250px;
		height: 40px;
		margin: 0;
		padding: 0 5px 0 5px;
		border-top: 1px solid white;
		font-size: 12pt;
		text-align: left;
		color: #ffffff;
	}
	#rome2_version span:hover {
		background: #808080;
	}
#google_translate {
}
#location {
	width: 100%;
	border-bottom: 1px solid #7D0505;
	background: #ffffff;
}
/* footer block ----------------------- */
.sitemap_title {
	background: #7D0505;
	height: 24px;
	color: #ffffff;
	font-size: 10pt;
	padding: 4px;
}
.sitemap_title a {
	color: #ffffff;
}
	.sitemap_expand {
		float: right;
		display: none;
	}
	.sitemap_close {
		float: right;
		display: none;
	}
.sitemap_column {
	float: left;
	width: 23%;
	font-size: 10pt;
	padding: 1%;
}
.bottom_message {
	clear: both;
	height: 24px;
	border-top: 1px solid #7D0505;
	font-size: 10pt;
	padding: 5px;
}
/* content rwd -----------------------= */
.table_data th {
	font-size: 10pt;
}
.table_data td {
	font-size: 10pt;
}
.table_stat {
	border-spacing: 0;
	border-top: solid 1px #C0C0C0;
	font-size: 10pt;
}
#summary {
	display: none;
	padding: 5px;
}
	#summary ul {
		margin: 0;
		list-style: none;
		padding: 0 10px 0 10px;
		border-bottom: 1px solid #7D0505;
	}
	#summary li {
		margin-top: 5px;
		display: inline-block;
	}
	#summary li a {
		background: #c08080;
		border-radius: 8px 8px 0 0;
		-webkit-border-radius: 8px 8px 0 0; /* Safari, Chrome */
		-moz-border-radius: 8px 8px 0 0; /* Firefox */		
		padding: 5px;
		color: #ffffff;
		line-height: 32px;
	}
	#summary li .on {
		background: #7D0505;
	}
	#summary li a:hover {
		background: #808080;
	}
#information {
	padding:5px;
}
#information img {
	margin: 5px;
}
#information #parent {
	font-size: 12pt;
}
#information h1 {
	font-size: 24pt;
	line-height: 24pt;
}
#information .short_descr {
	font-style: italic;
}
#information .long_descr {
}
#detail {
	padding: 5px;
}
#detail h3 {
	font-size: 12pt;
}

#topic_button {
    list-style: none;
    padding-left: 0;
}
#topic_button li {
    float: left;
    width: 33%;
}
#topic_button li img {
    margin: 0px;
    width: 30px;
    vertical-align: middle;
}
#topic_button li a {
    display: inline-block;
    margin: 5px;
    width: 95%;
    border: 1px solid #7D0505;
    border-radius: 8px;
    background-color: #C08080;
    padding-left: 4px;
    line-height: 40px;
    color: #000000;
    text-align: left;
    text-decoration: none;
}
#topic_button li a:hover {
    color: #FFFFFF;
    background-color: #7D0505;
}
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

/* remove top menu : ---------------------------------------------------------- */
@media screen and (max-width: 1200px) {
	img {
		max-width:100%
	}
	.main_rwd {
		width: 100%;
		border: 0;
	}
	/* header block -------------------------- */
	#mobile_menu_button {
		display: block;
	}
	#logo {
		float: none;
	}
	#mobile_search {
		display: block;
	}
    #top_menu {
        position: absolute;
        display: none;
        z-index: 1000;
        top: 40px;
        width: 250px;
        background: #7D0505;
        padding: 0;
    }
    #top_menu ul {
        margin: 0;
        padding: 0;
    }
    #top_menu li {
        display: block;
        margin: 0;
        padding: 0;
    }
    #top_menu li span {
        display: block;
        margin: 0;
        border-top: 1px solid white;
        color: #ffffff;
    }
    #top_menu span:hover {
        background: #808080;
    }
    #top_menu a {
        
    }
	.header_menu {
		position: absolute;
		display: none;
		z-index: 1000;
		top: 40px;
		width: 250px;
		background: #7D0505;
		padding: 0;
	}
	.header_menu ul {
		margin: 0;
		padding: 0;
	}
	.header_menu li {
		display: block;
		margin: 0;
		padding: 0;
	}
	.header_menu li span {
		display: block;
		margin: 0;
		border-top: 1px solid white;
		color: #ffffff;
	}
	.header_menu span:hover {
		background: #808080;
	}
	.header_menu a {
		
	}
	#rome2_version {
		position: relative;
		background: #c08080;
	}
	#rome2_version span {
		padding: 0;
		text-align: center;
		border: 0;
	}
	#google_translate {
		display: none;
	}
	/* footer block ----------------------- */
	
	/* Bootstrap v3.1.1 */
	.table-responsive {
	  width: 100%;
	  margin-bottom: 15px;
	  overflow-x: scroll;
	  overflow-y: hidden;
	  /* make touch smooth, but make iOS touch pagetop failure */
	  -webkit-overflow-scrolling: touch;
	  -ms-overflow-style: -ms-autohiding-scrollbar;
	}
}

/* remove left menu : except retina ipad ---------------------------------------------------------- */
@media screen and (max-width: 767px) {
	#main_container {
		padding: 0;
	}
	#main_content {
		float: none;
		width: 100%;
	}
	#main_menu {
		float: none;
		width: 100%;
		margin: 0;
		left: 0;
	}
    .content_container {
        padding: 0;
    }
    .content_body {
        float: none;
        width: 100%;
    }
    .content_side {
        display: none;
        /*float: none;
        width: 100%;
        margin: 0;
        left: 0;*/
    }
	#brothers_menu {
		padding: 5px;
	}
	#summary {
		display: block;
	}
	#rome2_menu {
		display: none;
	}
	#search {
		display: none;
	}
    #topic_button li {
        width: 50%;
    }
	#detail {
		padding: 0;
	}
}

/* enlarge width to fit with ipad landscape device-width */
@media screen and (min-width: 1024px) and (max-width: 1024px) and (-webkit-max-device-pixel-ratio: 2) {
	.main_rwd {
		width: 1024px;
	}
}
/* auto scale to fit with ipad portrait device-width */
@media screen and (min-width: 768px) and (max-width: 768px) and (-webkit-max-device-pixel-ratio: 2) {
	.main_rwd {
		width: 980px;
	}
}

/* remove right block : ------------------------------------------------- */
@media screen and (max-width: 640px) {
	.side_rwd {
		float: none;
		width: 100%;
	}
	/* header block -------------------------- */

	/* footer block ----------------------- */
	.sitemap_column {
		float: none;
		width: 100%;
		display: none;
	}
	.sitemap_expand {
		display: block;
	}
	.sitemap_close {
		display: none;
	}
	/* content rwd */
	/*
	.table_data {
		margin-left: 0;
		margin-right: 0;
		border-left: 0;
		border-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	.table_data td {
		margin-left: 0;
		margin-right: 0;
		border-left: 0;
		border-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	*/
}
/* responsive mobile ------------------------------------------------- */
@media screen and (max-width: 480px) {
}
