/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
	/*background-color:#e3e3e3;*/
	font-family:LiHei Pro, MHei, Hei, Verdana, Geneva, sans-serif;
	-webkit-text-size-adjust: none;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.r-text {
	display:inline-block;	  
    font-size: 13px;   
    padding: 0;
    /* 
	color: #666666;  
	position: relative;
	top: -27px;
	left: 22px;
	float: left;
	*/
}
.radio-all {
	height: 220px;
    margin-left: 20px;
    margin-top: 0px;
    width: 180px;
}
.r-row1 {
	height: 180px;
    margin-bottom: 0px;
    width: 180px;
}
.r-row2 {
	/*float: left;*/
    width: 520px;
}
.adjust {
	position:relative;
	top:-35px;
}


.floating,.floating2 {
	clear:both;
	float:left;
	display:block;
} 
.row2 {
	top:16px;
}
.row3 {
	top:33px;
}
.small-text {
	font-size:12px;
	color:#666;
	/*font-style:italic;*/
	left: 15px;
    position: relative;
	top: 3px;
}
.col1 {
	height: 240px;
	width:160px;
}
.gre {
	color: #1B9093;
}
.pur {
	color: #f052e0;
}
.blu {
	color:#27aae1;
}
.red {
	color:#ed1c24;
}


.mar {
	/*margin-right: 34px;*/
	margin: 8px 0 0 8px;
}

.mar2 {
	/*margin-right: 34px;*/
	margin: 3px 0 0 3px;
}
.periodname {
	color: #666666;
    font-size: 15px;
    left: 20px;
    line-height: 51px;
    position: absolute;
    top:94px;
    width: 10px;
}
.groupname {
	color: #666666;
    font-size: 15px;
    left: 40px;;
    position: absolute;
    top: 65px;
}
.groupname li.gadjust {
	margin-right: 510px;
    position: relative;
    top: 51px;
	margin-left: 2px;
}

.groupname li.gadjust2 {
	position: relative;
    top: 51px;
}
.groupname li {
	float:left;
	text-align: center;
    width: 51px;
}
.periodname ul, .groupname ul {
	list-style:none;
	margin:0;
	padding:0;
}
.pertable {
	left: 40px;
    position: relative;
    top: 87px;
    width: 1099px;
}
.pertable ul {
	list-style:none;
	margin:0;
	padding:0;
}
.pertable li {
	list-style:none;
	width:50px;
	height:50px;
	border:1px solid #333;
	background-color:#e3e3e3;
	/*
	width:56px;
	height:56px;
	text-align:center;*/
}
.atomic-no {
	font-size: 11px;
    position: relative;
    top: -4px;
	left: 2px;
	text-align:left;
	color:#666;
}
.chi-name {
	float: right;
	font-family: Verdana,Arial,"微軟正黑體";
    font-size: 14px;
    position: relative;
    right: 2px;
	color:#666;
}
.add-info {
	display:block;
	position:relative;
	font-size:11px;
	top:-11px;
	text-align: center;
	color:#666;
}
.element-name {
	display:block;
	font-weight:bold;
	font-size:17px;
	position:relative;
	top:-8px;
	text-align: center;
	color: #333333;
}
/*.pertable li.gas span.element-name{
	color:#1B9093;
}
.pertable li.liquid span.element-name{
	color:#f052e0;
}*/
.pertable li.r-bor {
	border-left: 2px solid #FF1C14;
	width:49px;
}
.pertable li.b-bor {
	border-top: 2px solid #FF1C14;
	height:49px;
}
.group1 {
	position:absolute;
	left:0;
}
.group2 {
	position:absolute;
	left:51px;
}
.group2-1 {
	position:absolute;
	left:102px;
}
.group2-2 {
	position:absolute;
	left:153px;
}
.group2-3 {
	position:absolute;
	left:204px;
}
.group2-4 {
	position:absolute;
	left:255px;
}
.group2-5 {
	position:absolute;
	left:306px;
}
.group2-6 {
	position:absolute;
	left:357px;
}
.group2-7 {
	position:absolute;
	left:408px;
}
.group2-8 {
	position:absolute;
	left:459px;
}
.group2-9 {
	position:absolute;
	left:510px;
}
.group2-0 {
	position:absolute;
	left:561px;
}
.group3 {
	position:absolute;
	left:612px;
}
.group4 {
	position:absolute;
	left:663px;
}
.group5 {
	position:absolute;
	left:714px;
}
.group6 {
	position:absolute;
	left:765px;
}
.group7 {
	position:absolute;
	left:816px;
}
.group0 {
	position:absolute;
	left:867px;
}
.period1 {
	position:absolute;
	top:0;
}
.period2 {
	position:absolute;
	top:51px;
}
.period3 {
	position:absolute;
	top:102px;
}
.period4 {
	position:absolute;
	top:153px;
}
.period5 {
	position:absolute;
	top:204px;
}
.period6 {
	position:absolute;
	top:255px;
}
.period6-1 {
	position:absolute;
	top:407px;
}
.period7-1 {
	position:absolute;
	top:458px;
}
.period7 {
	position:absolute;
	top:305px;
}
.glossary {
	color: #333333;
	font-family: Verdana,Arial,"微軟正黑體";
    font-size: 14px;
    left: 170px;
    position: relative;
    text-align: center;
    top: 48px;
}
.glossary a {
	text-decoration:none;
	color:#333;
}
.glossary a:hover {
	text-decoration:none;
}
.glossary ul {
	list-style:none;
	padding:0;
	margin:0;
}
.glossary ul li {
	background-color: #E3E3E3;
}
.glossary ul li.glo-metal {
	position:absolute;
	border:1px solid #333;
	width:300px;
	height:26px;
	padding-top:5px;
	z-index: 10;
}
.glossary ul li.glo-nmetal {
	position:absolute;
	border:1px solid #333;
	border-left:2px solid #FF1C14;
	width:149px;
	height:26px;
	padding-top:5px;
	left:301px;
	z-index: 10;
}
.glossary ul li.glo-ametal {
	border: 1px solid #333333;
    height: 110px;
    left: 0;
    line-height: 16px;
    padding: 20px 8px 0;
    position: absolute;
    top: 32px;
    width: 26px;
}
.glossary ul li.glo-aemetal {
	border: 1px solid #333333;
    height: 110px;
    left: 43px;
    line-height: 16px;
    padding: 20px 8px 0;
    position: absolute;
    top: 32px;
    width: 26px;
}
.glossary ul li.glo-tmetal {
	border: 1px solid #333333;
    height: 110px;
    left: 86px;
    line-height: 16px;
    padding: 20px 8px 0;
    position: absolute;
    top: 32px;
    width: 128px;
}
.glossary ul li.glo-metalloid {
	border: 1px solid #333333;
    height: 110px;
    left: 262px;
    line-height: 16px;
    padding: 20px 0 0;
    position: absolute;
    top: 32px;
    width: 72px;
}
.glossary ul li.glo-halo {
	border: 1px solid #333333;
    height: 110px;
    left: 366px;
    line-height: 16px;
    padding: 20px 8px 0;
    position: absolute;
    top: 32px;
    width: 26px;
}
.glossary ul li.glo-nobel {
	border: 1px solid #333333;
    height: 110px;
    left: 409px;
    line-height: 16px;
    padding: 20px 8px 0;
    position: absolute;
    top: 32px;
    width: 26px;
}
.glossary ul li.glo-lanthanide {
	border: 1px solid #333333;
    height: 26px;
    left: 86px;
    padding-top: 5px;
    position: absolute;
    top: 99px;
    width: 66px;
}
.glossary ul li.glo-actinide {
	border: 1px solid #333333;
    height: 26px;
    left: 86px;
    padding-top: 5px;
    position: absolute;
    top: 131px;
    width: 66px;
}
.control {
    /*border-left: 1px dotted #333333;*//*padding-left: 30px;*//*top: 15px;left: 1153px;height: 718px;opacity:0.95;*/
	font-family: Verdana,Arial,"微軟正黑體";
    background-color:#e3e3e3;
	left: 1000px;
	height: 655px;
    position: absolute;
    width: 200px;
    z-index: 1000;	
}

.control a{
	/*margin-bottom:10px;*/
	color: #198486;
    text-decoration: none;
}

.control-all {
	left: 0px;
    position: relative;
    top: 0px;
}
.arrow_all {
	z-index:1;
}
/*.con-atom {
	background: url("../../img/global/btn_all.png") no-repeat scroll 0 0 transparent;
    color: #FFFFFF;
    font-size: 14px;
    height: 27px;
    padding-top: 4px;
    text-align: center;
    width: 100px;
	display:block;
}
.con-chi {
	background: url("../../img/global/btn_all.png") no-repeat scroll 0 0 transparent;
    color: #FFFFFF;
    font-size: 14px;
    height: 27px;
    padding-top: 4px;
    text-align: center;
    width: 100px;
	display:block;
}
.con-ppl {
	background: url("../../img/global/btn_all.png") no-repeat scroll 0 0 transparent;
    color: #FFFFFF;
    font-size: 14px;
    height: 27px;
    padding-top: 4px;
    text-align: center;
    width: 100px;
	display:block;
}*/
.active {
	background: url("../../../img/global/btn_all.png") no-repeat scroll 0 -62px transparent;
}

.metal-color {
	background-color:#ffd2d2 !important;
}
.nmetal-color {
	background-color:#66df30 !important;
}
.alka-metal-color {
	background-color:#f052e0 !important;
}
.alkae-metal-color {
	background-color:#f09952 !important;
}
.tmetal-color {
	background-color:#f0ee52 !important;
}
.metalloid-color {
	background-color:#b2af69 !important;
}
.halo-color {
	background-color:#93df30 !important;
}
.nobel-color {
	background-color:#1fece5 !important;
}
.lanthanide-color {
	background-color:#f0c952 !important;
}
.actinide-color {
	background-color:#b5855b !important;
}
.pertable li.man-madecolor {
	background-color:#999;
}

.dash-line {
	border-left: 1px solid #333333;
    height: 182px;
    left: 125px;
    position: absolute;
    top: 260px;
    transform: rotate(-18deg);
	-ms-transform:rotate(-18deg); /* IE 9 */
	-webkit-transform:rotate(-18deg); /* Safari and Chrome */
    width: 1px;
}
.dash-line2{
	border-left: 1px solid #333333;
    height: 182px;
    left: 125px;
    position: absolute;
    top: 311px;
    transform: rotate(-18deg);
	-ms-transform:rotate(-18deg); /* IE 9 */
	-webkit-transform:rotate(-18deg); /* Safari and Chrome */
    width: 1px;
}
.glo2 {
	color: #333333;
	font-family: Verdana,Arial,"微軟正黑體";
    font-size: 14px;
    left: 70px;
    line-height: 50px;
    position: absolute;
    top: 408px;
}

.title {
	background-color: #7D23AA;
    color: #FFFFFF;
    font-size: 16px;
    height: 30px;
    padding: 10px 0 0 10px;
    width: 200px;
}
.arrow_l_up {
	height: 0;
    left: 10px;
    overflow: hidden;
    position: absolute;
    top: 488px;
}
.arrow_l_down {
	height: 0;
    left: 10px;
    overflow: hidden;
    position: absolute;
    top: 92px;
}
.arrow_r_up {
	height: 0;
    left: 968px;
    overflow: hidden;
    position: absolute;
    top: 488px;
}
.arrow_r_down {
	height: 0;
	/*height:400px;*/
    left: 968px;
    overflow: hidden;
    position: absolute;
    top: 92px;
}
.arrow_t_l {
	height: 25px;
    left: 950px;
    overflow: hidden;
    position: absolute;
    top: 19px;
    width: 0;
}
.arrow_t_l2 {
	height: 25px;
    left: 960px;
    overflow: hidden;
    position: absolute;
    top: 19px;
    width: 0;
}
.arrow_t_r {
	height: 25px;
    left: 40px;
    overflow: hidden;
    position: absolute;
    top: 19px;
    /*width: 1030px;*/
	width:0;
}
.sc-invi {
	display: block;
    height: 668px;
    left: 17px;
    position: absolute;
    top: 40px;
    width: 10px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
