/**************************************************************************/
/* Kompas 100 page v1.0 2013-09-03 ****************************************/
/* Design, HTML and CSS by ************************************************/
/* Gracia Veronica Degawidjaja, Emille Junior, Yosef Yudha Wijaya *********/
/**************************************************************************/


/*-----START: GENERAL USE-----*/
* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
			box-sizing: border-box;
}

a {
	text-decoration: none;
}

body {
	background: #fff;
	font-size: 0.875em;
	font-family: 'Source Sans Pro', sans-serif;
	/*letter-spacing: 0.05em;*/
	text-align: center;
}

h1,
h2,
h3 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
}

table {
	margin-top: 10px;
	width: 100%;
}

thead {
	border-bottom: solid 1px #cdcdcd;
	color: rgb(0,172,247);
}

/*tbody {
	display: block;
	height: 300px;
	overflow: auto;
	width: 100%;
}*/

tbody tr:nth-child(even) {
	background: #dcdcdc;
}

thead tr td.sub-field {
	background: #cdcdcd;
	color: #000;
	font-size: 0.750em;
}

thead tr td,
tbody tr td {
	padding: 5px 0;
}

thead tr td:first-child,
tbody tr td:first-child {
	text-align: left;
	padding-left: 3%;
}

ul.col-nav {
	bottom: 0;
	position: absolute;
	right: 0;
}

ul.col-nav li {
	float: left;
	color: #fff;
	cursor: pointer;
	padding: 3px 6px 0 6px;
}

ul.col-nav li.nav-name {
	background: #000;
}

ul.col-nav li.nav-active {
	background: rgb(0,172,247);
	float: left;
	position: relative;
	border-bottom: solid 4px rgb(0,172,247); 
}

ul.col-nav li.nav-active:after,
ul.col-nav li.nav-active:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

ul.col-nav li.nav-active:after {
	border-color: rgba(0,172,247,0);
	border-top-color: rgb(0,172,247);
	border-width: 3px;
	left: 50%;
	margin-left: -3px;
}

ul.col-nav li.nav-active:before {
	border-color: rgba(0,172,247,0);
	border-top-color: rgb(0,172,247);
	border-width: 9px;
	left: 50%;
	margin-left: -9px;
}

/* http://nicolasgallagher.com/micro-clearfix-hack/ */

.cf:before,.cf:after {
    content: " "; 
    display: table; 
}

.cf:after {
    clear: both;
}
/* http://nicolasgallagher.com/micro-clearfix-hack/  */

.col-3 {
	float: left;
	margin-left: 5%;
	width: 30%;
}

.col-3 img{
	margin-bottom:5px;
}

.col-3:first-child {
	margin-left: 0;
}

.col-3-span-2 {
	float: left;
	width: 65%;
}

.col-title {
	border-bottom: solid 5px #000;
	padding-bottom: 3px;
	text-align: left;
}

.hide-me {
	display: none;
}

.pr {
	position: relative;
}

.show-me {
	display: block;
}

.text-bold {
	font-weight: 700;
}

.text-green {
	color: rgb(0,176,80);
}

.text-red {
	color: rgb(255,0,0);
}

.wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2%;
}
/*-----END: GENERAL USE-----*/

/*-----START: HEADER-----*/
header {
	background: #000;
	color: #fff;
	height: 70px;
	line-height: 70px;
}

header a {
	border-bottom: solid 1px #fff;
	color: #fff;
	font-weight: 700;
}

header h1 {
	float: left;
	font-size: 2em;
}

header span {
	float: right;
}
/*-----END: HEADER-----*/

/*-----START: COMMODITIES-----*/
#commodities {
	background: #fff;
}

.col-commodities {
	background: rgb(250,243,227);
	float: left;
	margin-bottom: 20px;
	margin-left: 1.5%;
	margin-top: 20px;
	min-height: 118px;
	padding: 10px;
	width: 13%;
}

.col-commodities:first-child {
	margin-left: 0;
}

.col-commodities .header {
	border-bottom: solid 1px rgb(221,202,169);
	font-family: 'Lato', sans-serif;
	font-weight: bold;
	height: 32px;
	/*margin-top: 10px;*/
	margin-bottom: 15px;
}

.col-commodities .header p {
	position: absolute;
	bottom: 3px;
	text-align: center;
	width: 100%;
}

.col-commodities .price {
	float: right;
	text-align: left;
	width: 62%;
}

.col-commodities .price h1 {
	/*font-size: 1.125em;*/
	margin-bottom: 2px;
}

.col-commodities .price-change {
	float: left;
	width: 35%;
}

.col-commodities .price-change img {
	width: 100%;
}
/*-----END: COMMODITIES-----*/

/*-----START: CONTENT-KOMPAS100-----*/
#content-kompas100 {
	background: rgb(238,238,238);
	-webkit-box-shadow: inset 0px 8px 6px -3px rgba(216, 216, 216, 0.3);
	   -moz-box-shadow: inset 0px 8px 6px -3px rgba(216, 216, 216, 0.3);
			box-shadow: inset 0px 8px 6px -3px rgba(216, 216, 216, 0.3);
	padding: 30px 0;

}

#content-kompas100 img.full-width {
	margin-top: 5px;
	width: 100%;
}

/*---STOCKs EXCHANGE---*/
#content-stocks-exchange {
	margin-bottom: 30px;
}

.sx-price {
	border-bottom: solid 1px #cdcdcd;
	margin: 10px 0 4px 0;
	padding-bottom: 5px;
	text-align: left;
}

.sx-price ul {
	bottom: 5px;
	right: 0;
	position: absolute;
}

.sx-price li {
	float: left;
	padding-left: 20px;
}

.sx-price li:first-child {
	padding-left: 0;
}

.sx-price img.triangle {
	height: 8px;
	width: 11px;
	vertical-align: middle;
}

/*---STOCKS NEWS---*/
#content-stocks-news {
	margin-bottom: 30px;
	text-align: left;
}

#content-stocks-news h1 {
	font-size: 1.3em;
	line-height: 1.3em;
}

#content-stocks-news h1 a {
	color: rgb(0,172,247);
}

#content-stocks-news img {
	display: block;
	width: 100%;
}

#content-stocks-news p {
	line-height: 1.2em;
	margin-bottom: 15px;
}

.photo-credit {
	background: #000;
	background: rgba(0,0,0,0.3);
	color: #fff;
	font-size: 0.750em;
	padding: 3px;
	position: absolute;
	bottom: 0;
	right: 0;
	text-align: right;
	width: 100%;
}

.publication-date {
	color: #888;
	font-size: 0.813em;
	margin-bottom: 10px;
	margin-top: 7px;
}

.related-news {
	border-top: solid 1px #f00;
	padding-top: 15px;
}

.related-news a {
	color: #000;
}

/*---STOCKS PRICES---*/
#content-stocks-prices {
	margin-bottom: 30px;
}

.calc-header {
	background: rgb(108,160,59);
	color: #fff;
	text-align: left;
	padding: 5px 10px;
}

.calc-body {
	background: rgb(126,184,64);
	color: #fff;
	/*font-size: 0.875em;*/
	text-align: left;
}

.calc-body button {
	border: 0;
	background: rgb(108,160,59) url(../img/arrow-right-white.png) no-repeat 3% 50%;
	color: #fff;
	margin: 0;
	height:30px;
	padding: 2px 10px 0 25px; 
	text-align: left;
	width: 100%;
}
.calc-body input {
	border: 0;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
	padding: 3px;
	width: 90%;
	margin-top:5px;
}

.calc-body label {
	display: block;
	cursor: pointer;
	
}

.calc-body .calc-wrapper {
	padding: 0 10px 15px 10px;
}

.calc-body p {
	margin-top: 10px;
	
}

.calc-body .input-left {
	float: left;
	width: 65%;
	
}

.calc-body .input-right {
	float: right;
	width: 35%;
}

.calc-body .input-right input {
	width: 60%;
}

/*---MUTUAL FUNDS---*/
#content-mutual-funds {
	margin-bottom: 30px;
}

.currency-table img.flags {
	margin-bottom: 0;
}


/*---FINANCE---*/
#content-finance {
	margin-bottom: 0px;	
}

.metal-left {
	background: rgb(246,240,226);
	float: left;
	text-align: left;
	width: 50%;
}

.metal-left h4 {
	background: rgb(192,143,40);
	color: #fff;
	padding: 5px;
}

.metal-right {
	background: rgb(238,238,238);
	float: right;
	text-align: left;
	width: 50%;
}

.metal-right h4 {
	background: #aaa;
	color: #fff;
	padding: 5px;
}

.metal-left p,
.metal-right p {
	padding: 5px;
}

/*-----END: CONTENT-KOMPAS100-----*/


/*-----START: FOOTER----*/
footer {
	background: #000;
	color: #fff;
	text-align: left;
	height: 60px;
	line-height: 60px;
}

footer span {
	float: left;
}

footer img {
	float: right;
	height: 20px;
	margin-top: 20px; /* (60 / 2) - (20 / 2) */
}
/*-----END: FOOTER-----*/