/*

This is the master style sheet controling and posistioning Idea Exchange and Newsga.me
No changes should be made to this style sheet.

*/


/* RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}

/* EASY CLASSES */
.clear {clear:both;} 
.clearleft {clear:left;} 
.clearright {clear:right;} 
.discrete {color:#999999 !important; padding:5px 0 10px 0; font-style:italic;}
.discrete a, .discrete a:visited {color:#2690CF !important; text-decoration:none;}
.discrete a:hover {text-decoration:underline;}
.small {font-size:.95em;} .verysmall {font-size:.90em;} .font9px {}
.gray {}
.jumptop {margin-top:20px;} .jumpbottom {margin-bottom:20px;}
.jumpright {padding-right:10px;} .jumpleft {padding-left:10px;}
.smalljumptop {margin-top:8px;} .smalljumpbottom {margin-bottom:8px;}
.bigjumptop {margin-top:40px;} .bigjumpbottom {margin-bottom:40px;} 
.bordered {border:1px solid #666;}            
.borderedtop {margin-top:15px; padding-top:15px; border-top:1px solid #F2F1EF;} .borderedbottom {margin-bottom:15px; padding-bottom:15px; border-bottom:1px solid #F2F1EF;}
.borderedright {border-right:1px solid #F2F1EF;} .borderedleft {border-left:1px solid #F2F1EF;}
.paddedright {padding-right:15px;} .paddedleft {padding-left:15px;}
.padded {padding:5px;}
.bottomhelp {color:#818181; font-size:.9em; line-height:1.4em;}
.center {text-align:center;}
.floatleft {float:left;} .floatright {float:right;}
.left {text-align:left;} .right {text-align:right;}
.bold {} .nobold {font-weight:normal;}
.italic {font-style:italic;}
.uppercase {text-transform:uppercase;} .nouppercase {text-transform:none;}
.underline {text-decoration:underline;} .nounderline {text-decoration:none;}
.opaque {filter:alpha(opacity=40);-moz-opacity:.40;opacity:.40;}
.lightbackground {background-color:#fafafa;}
.highlightbackground {background-color:#FFFFCC !important;}
.oddevenborder {border:1px solid #f8f8f8; padding:2px;} .oddevenborder .even {background-color:#f8f8f8;}
.indicator {display:none; background:url('/resources/prm/graphics/indicator.gif') center left no-repeat; line-height:20px; padding:2px 0 2px 20px;   font-size:.9em;} 
a.blackLink {color:black; text-decoration:none;}
.code {background-color:#F4FBF2; font-family:monospace; padding:10px; margin-bottom:10px;  white-space:pre; overflow:hidden;}
textarea.code {background-color:#F4FBF2; font-family:monospace; font-size:.95em; padding:2px; overflow:auto; width:98%;}
.disabled, input.disabled, a.disabled, a.disabled div, .disabled input, .disabled textarea, .disabled select {color:#818181 !important;}
.screaming {color:#DA3838; font-size:1.1em; }
ul.list, ul.list a {list-style:square; margin-left:20px; text-decoration:none;}
ul.list a:hover {text-decoration:underline; color:#1FA820; }
.fullwidth {width:100%;}
.smalllabel {font-size:.90em; text-transform:uppercase; color:#4c4c4c;}
.error {color:#c30000 !important;}
.tt {font-family: Courier, monotype;}
.fullwidth {width:98%;}
.gradientbox {border:1px solid #F9F9F9; background:url('/resources/prm-nm-style/default/gradient.gif') bottom left repeat-x #FFF; padding:15px;}

/* GRID */
body {text-align:center;}
#sitetop {margin-bottom:25px;}
#sitetop, #main, #sitemessages {width:980px; margin:0 auto; text-align:left;}
.has-rightsidebar #content {margin-right:325px;}
.has-leftsidebar #content {margin-left:165px;}
#rightsidebar {float:right; width:300px; overflow: hidden;}
#leftsidebar {float:left; width:145px;}
.sparkline {display:none; width:60px;}

/* GLOBAL FONTS */
body, input, select, textarea {color:#222; font: 13px Helvetica, Arial, sans-serif;}

/* HEADLINES */
h1, h2, h3, h4, h5 {font-weight: bold; margin:0; }
h1 a, h2 a, h3 a, h4 a, h5 a, h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link {text-decoration:none; }
h1 {font-size: 2.3em;  }
h2 {font-size: 17px; line-height:1.2em;}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em;}
p {margin: 4px 0 14px; line-height:1.2em;}
input.preview {color:#999 !important;}

/* MAIN */
#main {margin: 20px auto;}

/* COLORS & IMG BACKGROUNDS FOR POSITIVE OG NEGATIVE VALUES */
.positive {color:#50AD2D!important;}
.negative {color:#FF3333!important;}
.positive img, .negative img {vertical-align:-18%; width:15px; height:15px;}
.positive img {background:url('/resources/prm/graphics/news-positive-arrow-white.png') center center no-repeat;}
.negative img {background:url('/resources/prm/graphics/news-negative-arrow-white.png') center center no-repeat;}
.account-table .positive img, .account-table .negative img {vertical-align:-5%; }

/* LOGIN BOX AND STATIC PAGES 
body.plain { background:url('/resources/prm/graphics/login-graphics.gif') center 100px no-repeat; }
#loginbox {width:500px; margin:100px auto; text-align:left; }
.loginbox-content {padding-left:180px;}
#loginbox .autoform .form-item-wrapper .form-label {text-align:left; width:auto; float:none;}
#loginbox .autoform .form-item-wrapper .form-widget, #loginbox .autoform .form-button, #loginbox .autoform .form-item-wrapper .form-error, #loginbox .autoform .form-item-wrapper .form-widget-error {margin-left:0;}
*/


/* FULL BROWSE - next/prev */
.full-browse-next, .full-browse-prev { height:25px; }
.full-browse-next { float:right; }

/* PAGINATION */
#pagination {color:#7F7F7F;}
#pagination a {text-decoration:none;} #pagination a:hover {text-decoration:underline;}

/* Site Page */
.sitepage .headline {display:none;}

/* ADMIN MENU */
#adminmenu {text-align:left; background-color:#f1f1f1; padding:3px 8px; border-bottom:1px solid #ccc; }
#adminmenu a {color:#879493; line-height:18px; padding:0 5px;  border-right:1px solid #ccc;}
#adminmenu .admin-menu-right {float:right;}
#adminmenu .admin-menu-right a {border-left:1px solid #ccc; border-right:0;}

/* Identity */
#identity {margin:20px 0 15px 0; height:40px; line-height: 40px;}
#identity h1 {font-size: 16px;  text-transform:none; text-shadow: 1px 1px 1px #fff; margin: 0 0 0 20px;}


/* MENU — Based on Nosco Global Menu */
#menu {text-align:left; position:relative; background-color: #000; color: #FFF;}
.menu-links, .menu-signup-links {height:35px; line-height:35px;}
.menu-links a, .menu-sub-links a, .menu-signup-links a {padding: 0 0 0 10px;}
	
	/* Account */
	.menu-account {position:absolute; line-height: 35px; right:10px;}
	.menu-account div {float:left; padding:0 0 0 10px; cursor: default;}
	.menu-account div img {width:20px; height:20px; margin: 5px 0 0 0;}
	.menu-account div big {font-size:1em;}

	/* Search */
	.menu-search {position:absolute; top:40px; right:10px;}
	.menu-search input {background: #ffffff url('/resources/prm/graphics/input-search-icon.png') no-repeat right center; padding-right: 25px; width: 135px; margin: 0;}
	
	/* Sign up link */
	.menu-signup-links {position:absolute; top:0; right:10px;}
	.menu-signup-links a {padding:0; border-right:0;}

	/* Ekstra Links — e.g "about", "guide", "login" */
	.menu-context-links {position:absolute; top:-20px; right:0px;}
	#menu .menu-context-links a {padding:0 0 0 10px;}


/* TITLE TABS */
.title-tabs {margin:  0 0 10px;}
.title-tabs .title-subtabs {overflow:hidden;}
.title-tabs .title-subtabs li {float:left; padding:0 10px 0 0;}


/* LIST OF CONTRACTS */
.contracts-list-item {padding: 5px 0;}

	/* Price Item */
	.contracts-list-item-price {position:relative; float:left; width:40px; height: 40px; text-align:center; color: #FFF; background-color: #000;}
	.contracts-list-item-price-label {position:absolute; left:0; width:40px;}
	.contracts-list-item-price-value {line-height:45px;}
	.contracts-list-item-price-text {line-height:10px; font-size: 8px;}

	/* Content */
	.contracts-list-item-content {margin: 0px 0 0px 50px;}
	.contracts-list-item-change, .contracts-list-item-close, .contracts-list-item-profit, .contracts-list-item-change, .contracts-list-item-category, .contracts-list-item-sep {display:inline;}
	.contracts-list-item-info {width:300px; float:left;}
	
		/* Quick Buy */
		.contracts-list-item-buy {float:left; margin:0px 20px 0 0;}	
		.contracts-list-item-buy a {background-color:#f0f0f0; padding:0 5px; text-decoration: none; margin:0 5px 0 0; display:block;}
		.contracts-list-item-buy a:hover {background-color:#50AD2D; color:#FFF;}
		.contracts-list-item-buy-minus a:hover {background-color:#FF3333;}
		.contracts-list-item-change {width:60px;}
		.contracts-list-item-category {width:80px;}


/* SIDEBAR & SIDEBAR ELEMENTS */
.block-sidebar-contract-list, .block-categories, .block-ad, .block-sidebar-news-list, .block-sidebar-contract-data, .block-chart, .block-competitors, .block-signup-box, .block-posts, .block-contest-countdown, .contact-invite-box, .simple-contracts-list, #contract-tags-block {margin-bottom: 30px;}
.loggedin .block-signup-box {margin: 0px;}

	/* Sidebar Lists */
	.simple-contracts-list {width:98%;}
	.simple-contracts-list td {text-align:right;}
	.block-sidebar-news-list .simple-contracts-list td {line-height:30px;}
	td.simple-contracts-list-name {text-align:left;}
	td.simple-contracts-list-value {white-space:nowrap;}

		/*Thumbnail*/
	td.simple-contracts-list-thumb {width:30px; text-align:left; padding: 5px 0 0 0}
	td.simple-contracts-list-thumb img {width: 30px; height: 30px; margin-right: 10px;}
	
	/*Background Percentage Indication Bar */
	.bgbar {position:relative; padding: 5px 5px 10px 5px; line-height: 20px; height:1em; border-top: 1px solid #fff; overflow: hidden;}
	.bgbar a.bgbar-text {z-index:80; position:relative;}
	.bgbar-bar {position:absolute; top:0; left:0; height:100%; background-color:#E5F7FB; z-index:1;}

	/* Block: Signup box */
	.signupbox {height:264px; width: 300px; background: #000;}
	.signupbox-inner {padding: 20px;}
	.signupbox p {color: #fff;}
	.signupbox-form-extra {display:inline;}

	/* Block: Count down to contest end */
	#countdown {width:182px; height:79px; position:relative; color: #000 !important; margin: 31px auto 0; background: #000;}
	#countdown div {position:absolute; top:12px; width:45px; height: 53px; line-height: 50px; font-size: 30px; text-align:center; background: url(/resources/prm/graphics/bg-countdown-1.png) repeat 0 0;border-right: 1px solid #fff; font-weight: bold; text-shadow: 1px 1px 1px #3D3D3D; color: #fff;}
#countdown div#countdownDays, #countdown div#countdownHours, #countdown div#countdownMinutes, #countdown div#countdownSeconds {border-right: 1px solid #3D3D3D;}
	#countdown div#countdownDays {left: 0px;}
	#countdown div#countdownHours {left:46px;}
	#countdown div#countdownMinutes {left:92px;}
	#countdown div#countdownSeconds {left:138px;}



/* CONTRACT PAGE */

	/* Price ELement */
	.contract-status-price-container {float:left; position:relative; width:100px; height:90px; text-align:center; background-color: #000;}
	.contract-status-price {color:white; font-size:60px; line-height:70px;}
	.contract-status-change {position:absolute; left:0; bottom:0; width:100px; text-align:center;  height:20px; line-height:20px;}
	.contract-status .positive img {background-image:url('/resources/prm/graphics/news-positive-arrow-blue.png');}
	.contract-status .negative img {background-image:url('/resources/prm/graphics/news-negative-arrow-blue.png');}

	/* Contract Description */
	.contract-status-content {margin-left:110px;}
	.opposite-link img {background:url('/resources/prm/graphics/opposite-icon.png') top left no-repeat; width:10px; height:10px;}

	/* Contract: Order Box & Slider*/
	.contract-order-box .contract-order-table {background-color:#666; padding:10px;}
	.contract-order-table table {width:98%;}
	.contract-order-table td {width: 33%;}
	.contract-order-box .contract-order-meta {text-align:right;}
	
		/* Contract: Order Slider */
		.contract-slider {padding: 5px;}
		.contract-slider-track {background-color: #000; height:23px;}
		.contract-slider-handle {width:13px; height:23px; cursor:move; background-position:center center; background-repeat:no-repeat;}
		.contract-slider-positive .contract-slider-handle {background-image:url('/resources/prm/graphics/slider-handle-green.gif');}
		.contract-slider-negative .contract-slider-handle {background-image:url('/resources/prm/graphics/slider-handle-red.gif');}
		.contract-slider-positive {background-color: #333;}
		.contract-slider-negative {background-color: #333;}
		.contract-order-table td.contract-slider-value {padding-bottom: 10px;}
		.contract-order-table td.contract-slider-value .contract-slider-value-container {}

		/* Special styles for buy and sell buttons*/
		.contract-order-box input.button {width:65px;}
		#buybox input.button, #buyTotal {color:#50AD2D;}	
		#sellbox input.button, #sellCount {color:#FF3333;}
		#buybox input.button:hover {border-color:#95D27F;}
		#sellbox input.button:hover {border-color:#FFB6AD;}

	/* Contract shareholders */
	.contract-shareholders table {width:99%;}
	.contract-shareholders td {width:33%;}
	.contract-shareholders-buddy {float:left;}
	.contract-shareholders-name, .contract-shareholders-count {margin-left:35px;}
	.contract-shareholders-buddy img {width:30px; height:30px;}

	/* Competitors */
	.contact-invite-status {background-color:#E5ECF3; padding:10px;  margin:10px 0;  -moz-border-radius:3px; -webkit-border-radius:3px;}


/* RANKING LIST (Page)*/
.user-ranking {width:98%;}
.user-ranking td {white-space:nowrap;}
.user-ranking td.user-ranking-display-name {width:80%;}
.user-ranking-buddy img {width:25px; height:25px;}
.user-ranking .user-ranking-first-place td {background-color:#CCC000;  }
.user-ranking .user-ranking-me td {background-color:#CCC;}
.user-ranking .user-ranking-value { text-align: right;}



/* MY ACCOUNT */

	/* Data Table */
	.account-table {width:98%;}
	.account-table .account-table-label, .account-table .account-table-value {white-space:nowrap; width:20%;}
	.account-table td.account-table-buddy img {width:100px; height:100px; float: left;}
	.account-table .account-table-value {text-align:right; }
	.account-posts {margin-top:20px;}

	/*MY ACCOUNT: TRADING ARCHIVE */
	* html .trading-list-item {background-color:transparent;}
	.trading-list-outcome {background:url('/resources/prm/graphics/arrow-expand.gif') center left no-repeat; padding:0 10px 0 10px;   cursor:pointer; }
	.trading-list-details-container {margin: 0 20px 0 0;}
	ul.trading-list-information {margin:0 0 10px 10px;}
	ul.trading-list-information li {display:inline;}
	.trading-list-item-expanded .trading-list-outcome {background-image:url('/resources/prm/graphics/arrow-expanded.gif'); }
	.trading-list-item .trading-list-details {display:none;}
	.trading-list-item-expanded .trading-list-details {display:block;}
	.trading-list-item-expanded .indicator {height:30px;}


/* POSTS */

/* Post Form */
.post-form 	{display: block; float: left; width: 98%; margin:  0 0 10px;}
.post-form textarea {float: left;}
.post-form .post-form-buddy {float: left; padding: 0 10px 0 0;}
.post-form .post-form-buddy img {width:35px; height:35px;}
.post-form .post-form-button {float: right;}
.post-form #postattachlink 	{float: left; margin: 0 0 0 40px; padding: 0 0 0 20px; background:url('/resources/prm/graphics/silk/attach.png') bottom left no-repeat;}
.post-form #postattachinput input {margin: 10px 0 0 45px; border: none; padding: 0;}

/* Post list */
.post-list-buddy {float:left; }
.post-list-buddy img {width:30px; height:30px;}
.post-list-content {margin: 0 0 15px 40px; display: block;}
.post-list-content p {margin: 0 0 2px;}
.post-list-item {border-top: 1px solid #E5ECF3; margin: 15px 0 0 0; padding-top: 15px;}
.post-list-item .post-list-meta a {margin: 0 0 0 10px;}

	/* Post list #contract only */
	#contract .post-list-meta .metaabout {display: none;}
	.post-list-meta .metaabout a {margin: 0;}

	/* Attachments */
	.post-list-files .post-list-files-thumb {padding: 0 5px 0 0;}
	.post-list-files .post-list-files-thumb img {width: 25px;}
	
	/* Replies   */
	li.comment-list-item {list-style-type: none;}
	.comment-list-item	{margin: 0 0 1px 45px; padding: 5px; background-color: #EDEDED}


/* ADMIN: Filter form */
.filter {padding:5px 10px;}
.filter table td {padding:0 4px;}

/* FORMS */
.autoform .form-section {margin-top:10px;}
.autoform input, .autoform textarea {padding:3px;}
.form-label-error, .form-widget-error, .form-error {color:#c30000; }
.prm-form-error { color:#c30000; }
.autoform .form-item-wrapper {background-color:#E5ECF3; padding:10px;}
.autoform .form-label {float:left; display:block; width:130px; padding-top:5px; line-height:1.1em; color: #052220;}
.autoform .form-item-required .form-label {}
.autoform .form-help-text {margin:4px 0; }
.autoform .form-item-wrapper .form-widget, .autoform .form-button, .autoform .form-item-wrapper .form-error, .autoform .form-item-wrapper .form-widget-error, .autoform .form-help-text {display:block;}
.autoform .form-button {margin-top:15px;}
.autoform textarea {width:440px;}
.autoform fieldset {margin-bottom:20px;}
.autoform fieldset .form-fieldset-comment {line-height:15px; padding:0 5px;}
.autoform legend {display:block; font-size:1.2em;  padding:0 5px;margin-left:-5px;}
.plainform .autoform { background-color:#FFF; padding:0px;}
.form-fieldset-comment {font-size:1.1em; line-height:1.25em; margin-bottom:10px;}
.form-widget-checkbox input {border-width:0 !important;}

	/* Tight form */
	.autoform .tightform .form-item-wrapper .form-widget, .autoform .tightform .form-button, .autoform .tightform .form-item-wrapper .form-error, .autoform .tightform .form-item-wrapper .form-widget-error, .autoform .tightform .form-help-text {margin-left:0;}
	.autoform .tightform .form-item-wrapper {background-color:transparent; padding:3px 0;}
	.autoform .tightform .form-widget-input input {width:95%;}

	/* Styled inputs */
	input.text, textarea, .autoform input {border:1px solid #adc9cb; color:#05211F; margin-right:2px;  padding: 5px 6px 4px;}
	.autoform .form-button input, input.submit, input.button, input.smallbutton {background: url('/resources/prm/graphics/news-button-background.png') repeat-x center; border:1px solid #ADC9CB; color:#05211F; text-shadow:0 -1px 0 #eee; cursor:pointer;   padding: 4px 6px; -moz-border-radius:2px; -webkit-border-radius:2px; margin: 1px 8px 0 0;}
	input.smallbutton { margin-right:4px; padding:5px;}
	input.submit:hover, input.button:hover, input.smallbutton:hover, .action-links a:hover {border-color:#387E84; background: url('/resources/prm/graphics/news-button-background-hover.png') repeat-x 0 0;}


/* LIGHTBOX */
#lightbox{background-color:#FFF; padding:25px; -moz-border-radius:5px; -webkit-border-radius:5px; text-align:left; border:5px solid #052220;}
#overlay{background-image: url("/resources/prm/graphics/overlay.png");}
* html #overlay{background-color: #000; back\ground-color: transparent; background-image:url(/resources/prm/graphics/void.gif); filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/resources/prm/graphics/overlay.png", sizingMethod="scale");}


/* BLOCK: ADMIN LINKS */
.sidebar-admin-links {border:1px solid #ADC9CB; background-color:#fefefe; padding:5px; margin-bottom:20px;}
.sidebar-admin-links h3 { margin-bottom:5px; padding-left:5px;}
.sidebar-admin-links a {display:block; height:26px; line-height:28px; padding:0 5px; border:1px solid #fefefe;   cursor:pointer;}
.sidebar-admin-links a:hover {text-decoration:underline; border-color:#bbb; background:url('/resources/prm/graphics/admin/sidebar-link-hover-background.png') left center repeat-x; text-decoration:none;}
a.adminlink {display:block; position:absolute; top:0; right:60px; background:url('/resources/prm/graphics/admin/header-background.png') top left repeat-x #dce1e4; padding:0 7px; height:20px; line-height:20px; font-size:11px !important;  color:#FFF !important; text-shadow:#222 1px 1px 2px; :0.5px; -moz-border-radius-bottomleft:3px; -webkit-border-bottom-left-radius:3px; -moz-border-radius-bottomright:3px; -webkit-border-bottom-right-radius:3px; -webkit-box-shadow:0 0 1px 1px rgba(34,34,34,0.4); -moz-box-shadow:0 0 1px 1px rgba(34,34,34,0.4); z-index:9999;}


