/*
 * Overrides of matlabcentral and sitewide styles
 */
body {
    background: url("/images/nextgen/global/bg_page.gif") repeat-x scroll center top #D6D6D6;
}
#header .wrapper {
    width: 958px;
	overflow:hidden;
}
#logo {
    margin-left:2px;
    width: 286px;
}
#globalnav ol {
    width:98%;
	margin-left:2px;
}
.container_240 { width:962px!important; }
#header { height:89px!important; }
div#mlc-footer
{ height:200px!important; width:960px!important; margin:0 auto!important; }	
#mlc-footer .wrapper { padding-right:0px!important; }

.clear { display:block!important; float:none!important; clear:both!important; }
.container {display:block; float:none; overflow:hidden;}

.cody_content_container {
    background: url("/matlabcentral/images/mlc-cody-banner.jpg") no-repeat scroll left top #FFFFFF!important;
    border: 1px solid #C9C9C9;
    float: left;
    margin: 0 0 10px;
    padding: 66px 0 20px!important;
    text-align: left;
    width: 960px;
}

#mainbody {
  width: auto;	
}
textarea {
	resize:vertical;
	font-size:12px;
	display:block;
	overflow-x:hidden;
}
textarea, input.text, textarea:focus, input.text:focus {
  outline: none;
  border: none;
}
textarea, input.text, textarea:hover, input.text:hover {
outline: none;
  border: none;
}
.button {
  margin-top: 10px;
}

.errors {
  display: none;
}

#status_message h3, #scoring_status_message h3 {
	margin-top: 0.2em;	
}

#status_message, #scoring_status_message {
  display: none;	
}
#searchbox {
    display: block;
    overflow: hidden;
    padding: 10px;
	-moz-box-shadow: 0px 1px 2px #cbcbcb;
	-webkit-box-shadow: 0px 1px 2px #cbcbcb;
	box-shadow: 0px 1px 2px #cbcbcb;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border: 1px solid #D6D4D4;
	background: #e6e6e6 url(/matlabcentral/images/toolbox-bgd.gif) no-repeat top left; /* fallback */
	background: -moz-linear-gradient(left top 305deg, #f1f1f1, #e6e6e6 35%, #f7f7f7 100%);
	background: -webkit-gradient(linear, left top, right bottom, from(#f1f1f1), color-stop(35%, #e6e6e6), color-stop(100%, #f7f7f7));
    margin-bottom: 2em;
}

#searchbox p, #searchbox ul, #searchbox {
    font-size: 11px;
}

#searchbox p.searchtitle {
    color: #BF8C02;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: bold;
    margin: 0 0 2px;
    padding: 0 0 2px;
}

/* Loading Spinner */
.loader_container { margin:0 auto; width:200px; }
.loader_content { padding:5px 10px; border:1px solid #394045; -moz-border-radius:6px; border-radius:6px; background:#fff; -moz-box-shadow:3px 3px 3px rgba(0,0,0,0.5); -webkit-box-shadow:3px 3px 3px rgba(0,0,0,0.5); box-shadow:3px 3px 3px rgba(0,0,0,0.5);
opacity:0.7; filter:alpha(opacity=70); /* For IE8 and earlier */}
.loader_content h3 { padding:5px 0px 5px 45px; margin:0px; font-family:Arial, Helvetica, sans-serif; font-size:1.3em; font-weight:bold; line-height:120%; color:#000; background:url(/matlabcentral/images/spinner.gif) no-repeat 0px center; } 
.loader_positioning { width:893px; position:absolute; top:460px; z-index:100; }

.loader_positioning.s_r { width:733px; top:363px; }

* html .loader_header { line-height:0px; font-size:0px; background:#818d94 none; }
* html .loader_footer { line-height:0px; font-size:0px; background:#525b61 none; }
* html .loader_content { border:0px; }
* html .loader_container { border:1px solid #394045; }
* html .loader_positioning { text-align:center; }

.response_message {
  display: none;	
  color: #699630;
}

.error_message {
  color: #D12F19;
}

.tags .container, .group .container {
  float: left;	
}

form.publish {
  position: absolute;
  display: inline;
  border: 1px solid #cf9800;
  padding: 3px 6px;
  text-align: baseline;
  background-color: #ffffff;
}

form.publish input {
  margin: 0;
  border: none;
  padding: 0; 
  outline: 0;
  font-weight: bold;
  color: #980000;
  background: none;
}

.field-wrapper {
	display:block;
	clear:both;
    background-color: #FFFFFF;
    border: 1px solid #BBBBBB;
    margin: 0;
    padding: 3px;
	margin-bottom:9px;
	margin-top:3px;
}
textarea {
    background:none;
    border: none;
    display: block;
    font-size: 13px;
    margin: 0;
    padding: 0;
}


/* Local Nav */
.localnav_container { padding:0px 0px 4px 0px; font-size:1.1em; background:#fbfbfb; border:1px solid #dcdcdc;  }
.localnav { padding:0px; }
.localnav ul { margin:0px; }
.localnav li { padding:0px; margin:0px; color:#6a6a6a; font-weight:bold; background:none; }
.localnav li span.localnav_section_head { padding:5px 2px 5px 10px; display:block; }
.localnav li ul { margin:-1px 0px 0px 10px; border-top:1px dotted #6a6a6a; }
.localnav li a { font-weight:normal;padding:4px 2px 4px 10px; color:#3670b5; text-decoration:none; display:block; }
.localnav li a:hover { color:#3670b5; background:#d3d3d3; text-decoration:none; }
.localnav li.active a { color:#fff; background:#DBA424; }
.localnav li.active a:hover { color:#fff; background:#3f74c1; }
.localnav li li a { padding-left:18px; margin-left:-10px; font-weight:normal; }
.localnav li li.active { padding-left:10px; margin-left:-10px; }
.localnav li.active li a { color:#3670b5; background-color:transparent; }
.localnav li.active li a:hover { color:#3670b5; background:#DBA424; text-decoration:none; }
.localnav li li.active a { color:#fff; }
.localnav li li.active a:hover { color:#fff; text-decoration:none; }
.localnav li.profilecta, .localnav li.logincta, .localnav li.header-admintools {
    background: url("/matlabcentral/images/rule_horizontal.gif") repeat-x scroll center top transparent;
    margin-bottom: 6px;
    margin-top: 4px;
    padding-top: 10px;
}
.localnav li.header-admintools {
	padding: 14px 2px 0px 10px;
}
.localnav li.logincta {
	padding-left:10px;
}
.localnav li.logincta:hover { 
	background: url("/matlabcentral/images/rule_horizontal.gif") repeat-x scroll center top transparent;
	}
.localnav li.logincta a:hover { text-decoration:underline; background:none;}
.localnav li.logincta a {
	display:inline;
	padding-left:0px;
	padding-top:3px;
	padding-right:0px;
	}

.localnav li.logincta span {
	font-weight:normal;
	font-size:11px;
	display:inline; 
}

.localnav li.maincta {
		margin: 0px 6px 0px 6px;	
		padding: 4px 0 8px 4px;
		background:url("/matlabcentral/images/cta_main_bgd_narrow.gif") no-repeat left 3px transparent;
		}
	.localnav li.maincta a, .localnav li.maincta a:link {
		color:#fff;
		}
	.localnav li.maincta a:hover {
		color:#fff; text-decoration:none; background-color:transparent;
		}
	.localnav li.maincta a:visited {
		color:#fff;
		}
	
	
		
		
.localnav li a.hintanchor {
    background: url("/matlabcentral/images/icon_info.gif") no-repeat scroll 7px 2px transparent;
    line-height: 15px;
    margin-left: 0;
    padding: 2px 3px 3px 26px;
}
.localnav li a.hintanchor:hover {
    text-decoration:underline;
}
/* form */
.form-section {
	display:block;
	overflow:hidden;
	border:1px solid #D6D4D4;
    background-color: #F7F7F7;
    border: 1px solid #D6D4D4;
    color: #121212;
    margin-bottom: 10px;
    margin-top: 10px;
	padding-bottom:10px;
}
.form-section label {
	display: inline;
    float: none;
    font-weight: bold;
    padding: 0;

}

.form-section input.text {
    background: none;
    border: none;
    float: none;
	display:block;
	overflow:hidden;
    margin: 0;
    padding: 0;
    
}
input:focus, input.text:focus {
	border:none;	
}
#submitform select {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    font: 11px 'Trebuchet MS','Lucida Grande',Arial,sans-serif;
    width: 250px;
	display:block;
	overflow:hidden;
	margin:3px 0 12px 0;
}
.form-section p.title, .form-section span.title {
	background: url("/matlabcentral/images/tabletools_bgd.gif") repeat-x scroll center bottom #EDEEEF;
    border-bottom: 1px solid #FFFFFF;
    padding: 3px 7px;
	color: #BF8C02;
    font-weight: bold;
	display:block;
	overflow:hidden;
}
.form-section p.title.req, .form-section span.title.req {
	padding: 3px 3px;
}


.form-section p.title label, .form-section span.title label {
	display:block;
	overflow:hidden;
}

#problem_function_template, #problem_test_suite, #problem_reference_solution_attributes_body {width:100%!important;}
#solution_body {display:block; margin-top:30px; margin-bottom:10px;}
#problem_description_label {display:block; overflow:hidden;}
#rescore_all_solutions_block {
	margin-top:12px;
	margin-bottom:12px;
	font-weight:bold;
}
#rescore_all_solutions_block .about {
	display:block;
	margin-left:18px;
	margin-top:6px;
	font-weight:normal;
    background: url("/matlabcentral/images/icon_info.gif") no-repeat scroll left top transparent;
    padding-bottom: 2px;
    padding-left: 20px;
    padding-top: 1px;
}
#submitform div.info {
	display:block;
	overflow:hidden;
	margin-top:20px;
}
#submitform div.info p, #submitform div.info ul li, #submitform div.info b {
	font-size:11px;
	color: #666666;
}
#submitform div.info pre {
	font-size:11px;
	color: #666666;
}

#submitform div.info h3 {
    font-size: 9pt;
    line-height: 1.2em;
}

#submitform #title-help {
	margin-top:30px;
}
#submitform #description-help {
	margin-top:0;
}
#submitform #functiontemplate-help {
	margin-top:60px;
}
#submitform #testsuite-help {
	margin-top:62px;
}
#submitform #testsuite-help ul {
	margin-bottom:9px;
}
#submitform #referencesolution-help {
	margin-top:30px;
}

#submitform #preview-help {
	margin-top: 104px;
}

.maininfo-solution {
	display:block;
	overflow:hidden;
	margin-top:14px;
	background: none;
    border: none;
    padding: 20px 0px 0px 0px;
	margin-top:0px;
	}

.maininfo {
    background: none repeat scroll 0 0 #F7F7F7;
    border: 1px solid #D4D4D4;
    padding: 15px 14px 15px;
}
	.maininfo-solution .maininfo {
		display:block;
		overflow:hidden;
		margin-bottom:9px;
	}

	.maininfo-solution 	.solutionlinks {
		display:block;
		overflow:hidden;
		padding-bottom:6px;
	}
.maininfo-solution 	.solutionlinks .delete-solution, .delete-solution {
	float:right;
	display:inline; float:right; text-align:right;
	margin-top:0px;
}
.maininfo-solution 	.solutionlinks .delete-solution a, .delete-solution a {
	display:block;
	height:16px;
	padding-left:20px;
    background: url("/matlabcentral/images/icon_delete.png") no-repeat scroll 0 0 transparent;
}
#solvers_solutions_count {
	color: #BF8C02;
	font-weight: bold;
   	margin-top: 1em;
	margin-bottom:0px;
}
.author-info {
	width:70%;
	float:left;
	}
	.maininfo .author-info {
	display:block;
	width:auto;
	padding-bottom:0;
	}
.maininfo h1 {margin:0px;padding:0; margin-bottom:6px;}
h1 .prepend {
  color: #004AA0;	
}
.maininfo.solution h1 {display:inline;}
.maininfo.solution .problem-title {display:inline;}
.maininfo.solution .author-info {float:none;}

.detail_controls ul {
	display:block;
	overflow:hidden;
	margin:0px;
	margin-left:-3px;
}
.detail_controls ul li, .detail_controls ul li.delete {
	display:inline;
	background:none!important;
	float:right;
	padding:0;
	margin:0;
}

.detail_controls ul li.rescore a {
    background: url(/matlabcentral/images/icon_refresh.png) no-repeat 4px 3px transparent;
	padding-left:26px;
}
.detail_controls ul li.status {
	padding-right:10px;
}
.detail_controls a {
	display:block;
    margin: 0;
    padding:0;
	border: 1px solid #d6d6d6;
    text-decoration: none;
	background-color:#fff!important;
	line-height:14px;
	margin-left:3px;
	font-size:11px;
    background-repeat: no-repeat;
    color:#333333!important;
    padding: 5px 8px 4px 25px;
    text-align: left;
    text-decoration: none;
}
.detail_controls a:hover  { 
	background-color: #d6e8f7!important;
}
.detail_controls.solution {
	display:block;
	overflow:hidden;
	margin-top:5px;
}
.detail_controls.solution ul li {
	float:left;
	margin-right:10px;
}
.detail_controls.solution ul li.delete a {
	margin:0;
}
.detail_controls.solution ul li.solution_link_list {
	padding-right:3px;
}

.edit a {
  background: transparent url(/matlabcentral/images/icon_edit.png) no-repeat 0 0;
  color:#333333!important;
}
.delete a {
  background: transparent url(/matlabcentral/images/icon_delete.png) no-repeat 0 0;
  color:#333333!important;
}
.detail_controls .edit a, .detail_controls .delete a,  .detail_controls .solution_map a,  .detail_controls .solution_link_list a  {
	background-position: 4px 4px;
}
.problem-list .edit {
 margin-left:10px;
}

.description_wrapper {
    background-color: #FFFFFF;
    border: 1px solid #C1C1C1;
    display:block;
    margin: 5px 0 15px 0;
    overflow: auto;
    word-wrap: break-word;
}

.test_wrapper {
    background-color: #FFFFFF;
    border: 1px solid #C1C1C1;
    display:block;
    margin: 3px 0 3px 0;
    overflow: auto;
    word-wrap: break-word;
}

.solutionresults .description_wrapper {
    background-color: #FFFFFF;
    border: 1px solid #C1C1C1;
    display:block;
	overflow:hidden;
    margin:0;
    width:400px;
	padding:15px;
}
.description_wrapper p, .description_wrapper pre, .test_wrapper pre {
	margin: 0.9em;
}

.description_wrapper ol, .description_wrapper ul  {
	padding-left: 10px !important;
}
.solve .solution-metric {
    text-align: center;
}
.solve .solution-metric span {
	background: none repeat scroll 0 0 #FFFFFF;
    margin-bottom: 3px;
    padding: 12px 6px;
	display:block;
	font-weight:bold;
	font-size:13px;
}
.solve .solution-results {
	margin-top:15px;
	border:1px solid #CCC;
}

.tags, .products, .group, .toolbox {
	display:block;
	overflow:hidden;
    line-height: 15px;
    margin: 0;
    padding: 3px 0 0;
}
.tags h3, .products h3, .group h3, .toolbox h3 {
    margin: 0;
	font-size:11px;
	color:#262626;
}

.tags .container, .products .container {
    float: left;
}
ul.tag_list, ul.product_list {
    margin: 0;
}
.solution_info {
	display:block;
	overflow:hidden;
	font-size:11px;
	margin-top:6px;
	margin-bottom:20px;
}
.solution_info a, .action-buttons a, a#move_to_left_link { 
	font-size:11px;
	line-height:15px;
	display:block;
	float:left;
	background-color: #FFFFFF;
	color:#000000;
    background-position: 4px center;
    background-repeat: no-repeat;
    border: 1px solid #d6d6d6;
    margin: 0 0 0 5px;
    padding: 5px 10px 4px 25px;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
}
a#move_to_left {margin:0;}
.solution_info a:hover, .action-buttons a:hover, a#move_to_left_link:hover  { 
	background-color: #d6e8f7;
}

a.enabled {
	color:#000000!important;
	text-decoration:none!important;
}

a.disabled {
	color: #c4c4c4 !important;
	border:1px solid #e8e8e8 !important;
}

a#solution_map_link {
	margin: 0;
	padding: 5px 10px 4px 10px;
   /* background-image: url("/matlabcentral/images/icon_solutionmap.png"); */
}
a#solution_list_link {
	padding: 5px 10px 4px 10px;
    /* background-image: url("/matlabcentral/images/icon_solutionlist.gif"); */
}
a#solvers_link {
	padding: 5px 10px 4px 10px;
}
a#diff_solutions {
    background-image: url("/matlabcentral/images/icon_compare.png");
	margin-left:0;
}
a#swap_solutions {
    background-image: url("/matlabcentral/images/icon_swap.png");
}
a#swap_solutions.disabled {
    background-image: url("/matlabcentral/images/icon_swap_disabled.png");
}
a#move_to_left_link {
    background-image: url("/matlabcentral/images/icon_moveleft.png");
	margin:0;
}
a#move_to_left_link.disabled {
    background-image: url("/matlabcentral/images/icon_moveleft_disabled.png");
	margin:0;
}
div.edit-actions {
	display:block;
	width:50%;
	float:left;
	text-align:left;
}
div.edit-actions input { margin-right:3px!important;}
div.publish-actions {
	display:block;
	width:50%;
	float:right;
	text-align:right;
}


div.publish-actions input { margin-left:3px!important;}
div.problem-actions {
	display:block; overflow:hidden;
	margin:15px 0 0;
}
div.solve a, div.run_against_test_suite a {
	margin-top:20px;
	display:inline-block;
 	margin-left:20px;
	background: url("/matlabcentral/images/formbg.gif") repeat-x scroll left top transparent;
	background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 1%, rgba(224,224,224,1) 50%, rgba(215,215,215,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,255,255,1)), color-stop(50%,rgba(224,224,224,1)), color-stop(99%,rgba(215,215,215,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* IE10+ */
background: linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d7d7d7',GradientType=0 ); /* IE6-9 */
    border: 1px outset #BBBBBB;
    color: #000000;
    cursor: pointer;
    margin: 0 3px 0px 0;
    padding: 5px 8px;
 	}

.maininfo .solve {
      padding: 0; 
      top: 0;
      border: 0;
      background: none;
    }
	
	div.solve a:hover, div.run_against_test_suite a:hover {
		background: rgb(242,242,242); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(242,242,242,1) 1%, rgba(213,213,213,1) 50%, rgba(204,204,204,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(242,242,242,1)), color-stop(50%,rgba(213,213,213,1)), color-stop(99%,rgba(204,204,204,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* IE10+ */
background: linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
	}
	
	
	div.solve a, a#improve_solution_link, a#try_again_link, a#solve_problem_link {
		color:#000000!important;
		text-decoration:none!important;
	}
	div.run_against_test_suite a:hover {
		text-decoration:none!important;
	}
	div.run_against_test_suite a.disabled {
cursor:default;
	}
	
/*#delete_problem a, #delete_problem a:hover, #delete_problem a:visited {
	color:#000000;
	text-decoration:none;
}*/
.separator {
  color: #7C7C7C;
  font-weight:normal;
}
.solution_map_preview {
	display:block;
	height:250px;
	width:440px;
}

.solution_map_static_preview {
	display:block;
	height:200px;
	width:732px;
}

div.solution_map_container {
	display:block;
	overflow:hidden;
	text-align:left;
}
div.solution_map_container #solution_map_static {
	display:block;
	text-align:left;
}

#solution_map_static .jqplot-table-legend, #solution_map_full_view .jqplot-table-legend {
	width:130px;
}

#solution_map_static .jqplot-table-legend-swatch, #solution_map_full_view .jqplot-table-legend-swatch {
	width:10px;
}

#solution_map_static .jqplot-table-legend td, #solution_map_full_view .jqplot-table-legend td {
	padding-top:3px!important;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
}

/* For Webkit renderer browsers, disabling div double click selection for solution map*/
#solution_map_full_view, #solution_map_static {
  -khtml-user-select: none;	
}

table.jqplot-table-legend {
  border-collapse: separate !important;
}

.jqplot-table-legend-label {
	text-align: left;
}
.solutiondetail.problem-title h1 {font-weight:bold;font-family:Arial, Helvetica, sans-serif;width:50%; float:left; font-size:13px; }
.solutiondetail.problem-title h1 a {color:#005FCE!important; position:relative; top:4px;}

.solutiondetail.problem-title .solution_info {
	float:right;
	margin:0;
}
.solution-block.solutiondetail {
    border: 1px solid #999999;
    margin-bottom: 0px;
    padding-bottom: 15px;
	margin-top:9px;
	border-bottom:none;
}
.solution-block.solutiondetail.bottom {
    border-bottom: 1px solid #999999;
    margin-bottom: 0px;
    padding-bottom: 15px;
	margin-top:0px;
	border-top:none;
}
.solutionlinks{

    margin-top:0px;
	padding-top:20px;
}

.solution-block {
	border: 1px solid #999999;
    margin-bottom: 15px;
}
.solution-block p.action {
	margin-left:15px;
}
.solution_header {
	display:block;
	overflow:hidden;
	 padding: 15px;
}
.solutiondetail .solution_header {
	padding-bottom:6px;
}
.solution_header.incorrect {
	/*background-color: #F0D8D9;*/
}
.solution_header.correct {
	/*background-color: #D5EDD1;*/
}
.solution_header .problem-maininfo {
	display:block;
	overflow:hidden;
}
.solution_header .solution-maininfo {
	display:block;
	overflow:hidden;
	float:left;
	padding-bottom:6px;
}
.solution_header .solution-maininfo h1 {
	display:inline;
}
.solution_header .problem-maininfo p {
	margin-bottom:3px;
}
.solution_header .problem-maininfo p a {
	font-weight:normal;
}
.solution_header .problem-maininfo .solution_info a {
	background-color:#fff;
}
.solution_header .problem-maininfo .solution_info {
	margin:0;
}
p.solution-title {
	color: #BF8C02;
    font-size: 16px;
    font-weight: bold;
    line-height: 120%;
    margin: 0 0 3px;
    padding: 0;
	display:inline-block;
}
.solution_header.incorrect h1.solution-title {
	color: #E20D10;
}
.solution_header.correct h1.solution-title {
	color: #418F36;
}
.solution-block .maininfo {
	margin: 5px 15px 15px;
    padding: 15px;
  
}
p.solution-status {
	display:block;
	font-size:14px;
	line-height:14px;
	text-align:center;
	margin-bottom:3px;
}
.solution_header .author-info {
	display:block;
	float:none;
}
.solution_header .metric-info {
	text-align:center;
	display:block;
	float:none;
}
.solution-wrapper {
    background-color: #FFFFFF;
    border: 1px solid #ECECEC;
    clear: both;
    margin: 1em 0;
    padding: 0.5em;
}
.solution-message {
	display:block;
	overflow:hidden;
	padding:15px;
	padding-top:0;
	padding-bottom:5px;
	text-align:left;
	margin:0;
	margin-bottom:15px;
}
.form-section .solution-message {
	display:block;
	overflow:hidden;
	padding:15px;
	padding-bottom:15px;
	text-align:left;
	margin:0;
	margin-bottom:15px;
	margin-top:15px;
	background-color:#fff;
}

.solution-message.correct {
	
}
.solution-message.incorrect {
	
}
.solution-message.correct .message-container {
	display:block;
	overflow:hidden;
	border-top:1px solid #418F36;
	padding-top:10px;
}
.solution-message.incorrect .message-container {
	display:block;
	overflow:hidden;
	border-top:1px solid #E20D10;
	padding-top:10px;
}

.solution-message p {
	font-size:12px;
	margin-top:6px;
}
.solution-message p.unlocked-problem {
	
}
.solution-message p.message {
    color: #545454;
    font-size: 12px;
	line-height:14px;
    font-weight: bold;
	padding:0;
	margin:3px 6px 9px 6px;
}
.correct p.message {
   /* color: #418f36;*/
}
.incorrect p.message {
    color: #E20D10;
}
.solution-action {
	display:block;
	overflow:hidden;
	padding-top:10px;
	padding-bottom:20px;	
}
.solution-action a:hover {
	background-color: #d6e8f7!important;
}
.solution-status .correct {
	color:#418F36;
}
.solution-status .incorrect {
	color: #E20D10;
}

#try_again_link {
	display:inline-block;
 	margin-left:20px;
	background: url("/matlabcentral/images/formbg.gif") repeat-x scroll left top transparent;
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 1%, rgba(224,224,224,1) 50%, rgba(215,215,215,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,255,255,1)), color-stop(50%,rgba(224,224,224,1)), color-stop(99%,rgba(215,215,215,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* IE10+ */
background: linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d7d7d7',GradientType=0 ); /* IE6-9 */
    border: 1px outset #BBBBBB;
    color: #000000;
    cursor: pointer;
    margin: 0 3px 0px 0;
    padding: 5px 8px;
 	}
#improve_solution_link, #solve_problem_link {
	font-size:8pt;
	display:inline-block;
 	margin-left:20px;
	background: url("/matlabcentral/images/formbg.gif") repeat-x scroll left top transparent;
	background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 1%, rgba(224,224,224,1) 50%, rgba(215,215,215,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,255,255,1)), color-stop(50%,rgba(224,224,224,1)), color-stop(99%,rgba(215,215,215,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* IE10+ */
background: linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(224,224,224,1) 50%,rgba(215,215,215,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d7d7d7',GradientType=0 ); /* IE6-9 */
    border: 1px outset #BBBBBB;
    color: #000000;
    cursor: pointer;
    margin: 0 3px 0px 0;
    padding: 5px 8px;
 	}
	
	#improve_solution_link:hover, #solve_problem_link:hover, #try_again_link:hover {
		background: rgb(242,242,242); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(242,242,242,1) 1%, rgba(213,213,213,1) 50%, rgba(204,204,204,1) 99%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(242,242,242,1)), color-stop(50%,rgba(213,213,213,1)), color-stop(99%,rgba(204,204,204,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* IE10+ */
background: linear-gradient(top,  rgba(242,242,242,1) 1%,rgba(213,213,213,1) 50%,rgba(204,204,204,1) 99%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
	}
#view_solution_on_map_link {
	font-size:8pt;
	display:inline-block;
	padding: 5px 10px 4px 10px;
    /* background: url("/matlabcentral/images/icon_solutionmap.png")  no-repeat 5px 4px transparent; */
    cursor: pointer;
    border: 1px solid #D6D6D6;
    color: #333333 !important;
    font-size: 11px;
    line-height: 15px;
    margin: 0 0 0 3px;
    text-align: left;
    text-decoration: none;
}
#hide_details_link {
	font-size:8pt;
	display:inline-block;
	padding: 5px 10px 4px 10px;
    /* background: url("/matlabcentral/images/icon_hidedetails.png")  no-repeat 4px 4px transparent; */
    cursor: pointer;
    border: 1px solid #D6D6D6;
    color: #333333 !important;
    font-size: 11px;
    line-height: 15px;
    margin: 0 0 0 3px;
    text-align: left;
    text-decoration: none;
}
#view_details_link {
	font-size:8pt;
	display:inline-block;
	padding: 5px 10px 4px 10px;
    /* background: url("/matlabcentral/images/icon_showdetails.png")  no-repeat 4px 4px transparent; */
    cursor: pointer;
	background-color: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #333333 !important;
    font-size: 11px;
    line-height: 15px;
    margin: 0 0 0 5px;
    text-align: left;
    text-decoration: none;
}
.error, .notice, .success {
    min-height: 30px;
}
.image-message {
	display:block;
	width:105px;
	text-align:center;
}
.failure_image, .success_image {
	display:block;
	overflow:hidden;
	margin:0 auto;
	border: 1px solid #5f5f5f;
	-moz-border-radius: 10px 10px;border-radius: 10px 10px; -webkit-border-radius: 10px 10px;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
	background-image:-moz-linear-gradient(0% 100% 90deg,#CFCFCF, #F6F6F6, #FFFFFF 20%,#FFFFFF 0%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(80%,#f6f6f6), color-stop(100%,#CFCFCF)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #FFFFFF 0%,#f6f6f6 80%,#cfcfcf 100%); /* Chrome10+,Safari5.1+ */
	/*background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#CFCFCF), color-stop(.8,#f6f6f6),color-stop(.7,#FFFFFF));*/
	
	box-shadow:0px 2px 2px #707070; -moz-box-shadow:0px 2px 2px #707070; -webkit-box-shadow:0px 2px 2px #707070; 
}
.failure_image img, .success_image img {
	margin-top:6px;
}

.solution-message div.message {
	display:block;
}
.like-unlike-comment {
	display:block;
	overflow:hidden;
	margin:0;
}

.like-unlike-comment .title {
	display:block;
	overflow:hidden;
	font-size: 12px;
    padding: 0;
	font-weight:bold;
}

.like-unlike-comment div {
	margin-top:3px;

	display:inline-block;
}
.like-unlike {
	padding-right:7px;
	border-right:1px solid #CCC;
	margin-right:3px;
}

.like-unlike .button-to-link {
	padding: 0;
	color: #005FCE !important;
        margin: 0;
        border: 0;
	background: transparent;
}

.like-unlike .button-to-link:hover {
	text-decoration: underline;
}

.solutions-list .like-unlike {
	margin-top:12px;
}
.likes-comments {
	display:block;
	overflow:hidden;
	padding:0px;
}
.likes-comments .likes {
	display:block;
	overflow:hidden;
	background-color:#f6f5f0;
	padding:5px;
	margin-top:7px;
}
.likes-comments .comments {
	display:block;
	overflow:hidden;
	background-color:#f6f5f0;
	padding: 7px 7px 0px 5px;
	margin-top:2px;
}
	
.comments h3 {
	padding-bottom:3px;
}
.test-suite {
	margin:15px 0;
	border: 1px solid #D6D4D4;
	background-color:#fff;
}
.test-suite h3 {
	background: url("/matlabcentral/images/tabletools_bgd.gif") repeat-x scroll center bottom #EDEEEF;
    border-bottom: 1px solid #FFFFFF;
	margin:0;
	padding:4px;
	color: #BF8C02;
    font-weight: bold;
}
#test_suite_show_hide {
	display:block;
	overflow:hidden;
	background: url(/matlabcentral/images/tabletools_bgd.gif) repeat-x scroll center bottom #EDEEEF;
}

h3.test-suite-show-hide {
	color: #005FCE;
	border-bottom: 0;
} 

#test_suite_show_hide.close h3, #profile_info_show_hide.close p {
	background: url(/images/nextgen/global/bg_collapsed.gif) 4px 8px no-repeat transparent;
	padding-left:16px;
	text-decoration:none!important;
}
a#test_suite_show_hide, a#profile_info_show_hide {
	text-decoration:none!important;
}
#test_suite_show_hide.open h3, #profile_info_show_hide.open p {
	background: url(/images/nextgen/global/bg_expanded.gif) 4px 8px no-repeat transparent;
	padding-left:16px;
	text-decoration:none!important;
}
.test-suite .column-heads {
	background: url(/matlabcentral/images/table_th_bgd.gif) repeat-x scroll center top #FFFFFF;
    font-weight: normal;
    padding: 0px;
}
.test-suite .column-heads span {
	padding:4px 2px;
}
.test-suite .test-item span {
	padding:4px;
}
.test-suite .column-heads .testpoint {
	border-right: 1px solid #D6D4D4;
	font-weight: bold;	
}

.test-suite .column-heads .code-input-output {
	font-weight: bold;	
}

.test-suite .test-item span pre {
	margin:0;
}
.test-item {
	display:block;
	border-top: 1px solid #D7D6D6;
	padding-top:4px;
	overflow:hidden;
}
.test-item .pass {
	background: url(/matlabcentral/images/icon_accepted.png) no-repeat left 2px transparent;
}

.test-item .fail {
	background: url(/matlabcentral/images/icon_fail.png) no-repeat left 2px transparent;
}
pre {
    color: #000000;
}
/* end of LH */

.label .max-length {
  float: right;
  padding: 0;
  color: #666666;
}

.label .max-length.warn {
  color: #bf8c02;
  font-weight: bold;
}

.label .max-length.over {
  color: #cc0000;
  font-weight: bold;
}

.tags ul li,
.tags ul form {
  float: left;
  margin: 0 !important;
  padding: 0;
  font-size: 11px;
  line-height: 15px;
  background: none;
  white-space: nowrap;
}

.tags ul form,
.tags ul li a {
  display: block;
  float: left;
}

.tags .separator {
  float: left;
  font-size: 11px;
  line-height: 15px;
}

.add_tags_form {
  display: none;
}
.add_tags_form h3 {
	clear: left;
    font-size: 11px;
    font-weight: bold;
    line-height: 15px;
	color: #262626;
    font-family: Arial,Helvetica,sans-serif;
    margin: 1.75em 0 0.75em;
}
.add_tags_form .multicomplete {
  width: 400px;
}

.ui-helper-hidden-accessible { display:none; }

#maininfo ul.tag_list {
  margin: 0;
  margin-left: 0;
}

.tag_list button {
  display: block;
  float: left;
  width: 12px;
  border: 0;
  padding: 0;
  outline: 0;
  background: transparent url(/matlabcentral/images/bullet_delete.png) no-repeat 0 -1px;
  font-size: 11px;
  line-height: 15px;
  text-indent: -5000px;
  cursor: pointer;
}

.tags a.add_tags {
  display: block;
  margin: 0 0 0 10px;
}

#problem_create_edit .multicomplete,
#problem_create_edit input.text,
#problem_create_edit select {
  display:block;
	overflow:hidden;
  float: none;
}
#problem_description {
  width:100%!important;
  border: 1px solid #C3C3C3;
}
.matlabmarkup-preview {
	width:100%!important;
	margin-bottom:9px!important;
}
.matlabmarkup {
	margin-top:3px!important;
}
select {
	line-height:16px;
}
select option {
	min-height:15px;
}
.multicomplete {
  cursor: text;
  overflow: hidden;
  zoom: 1;
  margin: 0 0.5em 0.5em 0;
  border: 1px solid #bbbbbb;
  padding: 0 5px;
  background-color: #ffffff;
  font-size: 11px;
}
.field-container {
  cursor: text;
  overflow: hidden;
  zoom: 1;
  margin: 0 0.5em 0.5em 0;
  border: 1px solid #bbbbbb;
  padding: 3px;
  background-color: #ffffff;
  font-size: 11px;
}
.multicomplete-input {
  width: 100% !important;
  display: block;
  float: left;
  margin: 0 !important;
  border: 0 !important;
  padding: 3px 0 !important;
  outline: none !important;
  background-color: #ffffff;
}

.multicomplete-selected-item {
  float: left;
  margin: 0 5px 0 0;
  padding: 2px 0;
  font-weight: bold;
  color: #4d4d4d;
  white-space: nowrap;
}

.multicomplete-selected-item span {
  float: left;
  padding: 0 1px 0 0;
  white-space: nowrap;
}

.multicomplete-selected-item a {
  display: block;
  width: 10px;
  float: left;
  overflow: hidden;
  background: transparent url(/matlabcentral/images/bullet_delete.png) no-repeat -3px -1px;
  text-indent: -5000px;
  white-space: nowrap;
}

.tags h3, .tags h4 {
  clear: left;
  font-size: 11px;
  font-weight: bold;
  line-height: 15px;
}


#details .comment_body p,
.comment_body p {
  margin-bottom: 0.4em;
}

.comments_toggle {
  padding: 0 0 6px 4px;
  color: #666666;
  display:inline; font-style:italic;
}

.comments_toggle a {
  color: #333333;
}

.comment {
  margin-top: 1em;
  padding: 0 0 0 20px;
  background: transparent url(/matlabcentral/images/icon_comment.png) no-repeat 0 2px;
}

.likes-comments div.likes p {
	font-size:11px;
	line-height:17px;
	display:block;
	padding: 0px 0px 0px 20px;
    background: url(/matlabcentral/images/icon_like.png) no-repeat scroll 0px 0px transparent;
	margin:0;
	font-weight:bold;
	}
	div.comments .comment {
		background:none;
		margin-bottom:3px;
		margin-top:3px;
	}
	
.likes-comments div.comment div.contributions {
	color:#5b5b5b;
	display:block;
	 margin:0;
	padding:0;
	}	
	.likes-comments div.comment div.contributions span {
	float:right;
	}
	.likes-comments div.comment div.contributions span a {
	color:#333333!important;
	font-size:10px;
	}
	
	.likes-comments div.comment div.contributions .delete  {
		padding-left:14px;
		color: #005FCE !important;
		margin: 0;
		border: 0;
		background: url("/matlabcentral/images/bullet_delete.png") no-repeat scroll 0 2px transparent!important;
	}
	
	.likes-comments div.comment div.contributions .delete:hover {
		background-color: white !important;
	}
	.likes-comments div.comment p {
		margin-bottom:0px;
		font-size:11px;
	}
	div.comments .comment .comment_body {
		display:block; overflow:auto; word-wrap: break-word;
	}
	div.comments .comment .comment_body p {
		margin-bottom:9px;
	}

.comments p.title {
	 background: transparent url(/matlabcentral/images/icon_comment.png) no-repeat 2px 2px;
	 padding-left:20px;
	 padding-top:1px;
  font-size: 11px;
  margin-bottom:2px;
  display:inline;
  font-weight:bold;
}

.new_comment a {
  font-weight: bold;
}

.comments .buttons {
  display: block;
  margin-left:20px;
}

.comments textarea {
	 display: block;
  width:300px;
  margin-left:20px;
}
.buttons .cancel {padding-left:10px;}
.solutions-list {
	display:block;
	overflow:hidden;
}
.solutions-list .solution {
	display:block;
	overflow:hidden;
}
.solutions-list .maininfo {
	padding:10px 10px 4px 10px;
}

.search-results-tools {
  display:block;
  clear:both;
  height:22px;
  border-bottom: 1px solid #d7d6d6;
  padding: 0 0 3px 0;
  z-index:9999999999999999;
}
.search-results-tools.bottom {
    border-bottom: none;
}
.solutions-list .solution, .problem-list .problem  {
	border-bottom: 1px solid #D7D6D6;
	padding: 12px 0 12px;
}
.player-list .performer  {
	border-bottom: 1px solid #D7D6D6;
	padding: 12px 0 6px;
}
.player-list .solvers {
    border-bottom: 1px solid #D7D6D6;
}
.solutions-list .solution .title-author {
	padding-bottom:6px;
	padding-top:3px;
}
.count {
	font-size:11px;
	text-align:center;
	color: #666666;
	margin: 0;
    padding: 6px 0 4px;
	display:block;
	overflow:hidden;
}
.count a:hover {
	text-decoration:none;
}
.count span {	
	display:block;
	font-size:20px;
	line-height: 1;
}
.count span.sort_highlight {
  color: #333333;
  font-weight: bold;	
}
.solution-metric.incorrect span {
    font-size: 12px;
	font-weight:bold;
}
.solution_header .solution-metric {
	border: 1px solid #D7D6D6;
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 5px 0 3px;
    text-align: center;
    margin: 0 auto 4px;
    width: 65px;
}
.solution_header .solution-metric span {
	display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}
.solution_header .solution-metric.correct {
    border-color: #418F36;
    color: #418F36;
}

.solution_header .solution-metric.incorrect {
    border-color: #e20d10;
    color: #e20d10;
}

.solutions-list .solution-stats .solution-metric, .problem-list .problem-solvers,  .solution_header .solution-metric, .solutions-count {
	border: 1px solid #D7D6D6;
}
.performer .solutions-count, .performer .problem-solvers {
	border:none;
}
.performer .solutions-count a, .performer .metric-count a, .performer .problem-solvers a {
	color:#666666;
}

.performer .solutions-count a:hover, .performer .solutions-count a:hover span, .performer .metric-count a:hover, .performer .metric-count a:hover span, .performer .problem-solvers a:hover, .performer .problem-solvers a:hover span {
	color: #005FCE!important;
	text-decoration:none!important;
}
 .solution_header .solution-metric {
	 width:65px;
	 margin:0 auto;
	 margin-bottom:4px;
 }
.solutions-list .solution-stats .solution-metric.correct, .solution_header .solution-metric.correct {
    border-color: #418F36;
    color: #418F36;
}

.solutions-list .solution-stats .solution-metric.incorrect  {
    border-color: #e20d10;
    color: #e20d10;
    padding: 14px 0;
}

.solutions-list .solution-stats .solution-metric.incorrect {
    border-color: #e20d10;
    color: #e20d10;
}

.solutions-list .solutions-title, .problem-list .problem-title {
	display:block;
	overflow:hidden;
	font-size: 13px;
    margin: 0 0 6px;
    padding: 0;
	font-weight:bold;
}
.title-author {
	padding-right:0px;
}
.locked {
	display:block;
	overflow:hidden;
	padding-right:40px;
	background: transparent url(/matlabcentral/images/icon_lock.png) no-repeat right 0px;
}
#locked_solution {
	display:block;
	overflow:hidden;
	padding-right:40px;
	background: transparent url(/matlabcentral/images/icon_lock.png) no-repeat right top;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#505050;
	min-height:16px;
	_height:16px;
	*height:16px;
}
#solve_to_unlock {
       	display: block;
       	overflow: hidden;
	padding-right: 40px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #505050;
	min-height: 16px;
}

.locked p {
	font-size:11px;
	margin-top:0px;
	color:#8b8b8b;
}
.view-options {
    display: block;
    overflow: hidden;
    padding: 10px 0 0;
    background: #e6e6e6 url(/matlabcentral/images/toolbox-bgd.gif) no-repeat top left; /* fallback */
    background: -moz-linear-gradient(left top 305deg, #f1f1f1, #e6e6e6 35%, #f7f7f7 100%);
    background: -webkit-gradient(linear, left top, right bottom, from(#f1f1f1), color-stop(35%, #e6e6e6), color-stop(100%, #f7f7f7));
}
.view-options ul {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none outside none;
}

.view-options ul li {
    background: none repeat scroll 0 0 transparent;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0 10px 0 0;
    list-style-type: none;
	font-weight:bold;
}
.view-options ul li a, .view-options ul li.separator {
	font-weight:normal;
}
.view-options .label {
	color: #BF8C02;
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    padding: 0 15px 0 0;
}
.view-options .solutions, .view-options .view-as  {
	display:block;
	float:left;
	padding-right:20px;
}

/*
 * facet highlights in the search field
 */
.search_field {
  width: 600px;
  float: left;
  border: 1px solid #d3d3d3;
  padding: 3px;
  background-color: #ffffff;
}

.search_field input {
  display: block;
  width: 100%;
  float: left;
  margin: 3px 0;
  border: 0;
  padding: 0;
  outline: 0;
}

.tokens {
  float: left;
}

.token {
  display: block;
  float: left;
  margin: 0 6px 0 0;
  border: 1px solid #d6d4d4;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 2px 0 2px 5px;
  white-space: nowrap;
  background-color: #f8f8f8;
}

.token .label {
  padding: 0 5px 0 0;
}

span.token.selected {
  background-color: #eaeaea;
}

span.token.highlighted {
  background-color: #d9d9d9;
}

#searchbox .token .remove a {  /* need the #searchbox selector to cancel mlc.css rules that catch <a> elements */
  display: inline-block;
  float: none;
  width: 16px;
  height: auto;
  padding: 0;
  background: transparent url(/matlabcentral/images/close-button.png) no-repeat center center;
  text-indent: -5000px;
}

.search_button input {
  display: inline-block;
  height: 19px;
  width: 18px;
  margin: 4px 0 0 5px;
  border: 0;
  padding: 0;
  background: transparent url(/matlabcentral/images/gobutton.gif) no-repeat 0 1px;
  text-align: -5000px;
  vertical-align: baseline;
}
.search_button input:hover {
  background-image: url(/matlabcentral/images/gobutton_hover.gif);
}



.search-results-tools form {
  float: left;
}

.search-results-tools label {
  display: inline-block;
  float: none;
  padding: 3px 5px 0 0;
  font-weight: bold;
  vertical-align: top;
}

.search-results-tools select {
  width: auto;
  float: none;
  margin: 0;
}

.search-results-tools option {
  padding: 0 20px 0 0;
}

.search-results-tools.bottom {
  border-bottom: 0;
  padding: 3px 0 0 0;
}

.pagination {
  float: right;
}

.pagination span,
.pagination a {
  display: inline-block;
  float: left;
}

.pagination span {
  border: 1px solid #d7d6d6;
}

.pagination span.text {
  border: 0;
  padding: 4px 5px 0 0;
}

.pagination .previous {
  border-right: 0;
}

.pagination span span,
.pagination span a {
  height: 17px;
  width: 16px;
  border: 0;
  padding: 0;
  background: transparent no-repeat 0 0;
  text-indent: -9999px;
}

.pagination .previous span,
.pagination .previous a {
  background-image: url(/matlabcentral/images/icon_backward.gif);
}
.pagination .previous span.disabled,
.pagination .previous a.disabled {
  background-image: url(/matlabcentral/images/icon_backward_disabled.gif);
}
.pagination .next span,
.pagination .next a {
  background-image: url(/matlabcentral/images/icon_forward.gif);
}
.pagination .next span.disabled,
.pagination .next a.disabled {
  background-image: url(/matlabcentral/images/icon_forward_disabled.gif);
}
#solve_problem {
	display:block;
	overflow:hidden;
	padding-right:0px;
}

#solve_problem #solution_body {
	margin:0px;
	padding:0;
	display:block;
	width:100%;
	background:none;
	border:none;
}
#solve_problem p {
	width:75%;
	float:left;
}
input#solution_submit {
    background: url("/matlabcentral/images/formbg-blue.gif") repeat-x scroll left top transparent;
    border: 1px outset #004FAC;
    color: #FFFFFF;
    cursor: pointer;
    float: right;
    margin: 0 0 10px;
    padding: 4px;
}
.comment-form {
	display:block;
	width:350px;
}
p.submit-note {
	font-size:11px;
	text-align:right;
}
#diff_swap_solutions {
	display:block;
	overflow:hidden;
}
#right_actions {
	display:block;
}
#solution_compare {
	margin-top:20px;
}
#solution_compare td.left-links {
	padding:0;
	padding-bottom:9px;
}
#solution_compare td.right-links {
	padding:0;
	padding-bottom:9px;
}

#solution_compare td.padding {
	width:15px;
	padding:0px;
}
#solution_compare div.buttons {
	display:block;
	text-align:left;
	margin:0 auto;
}
#solution_compare .comments div.buttons {
	display:table;
	text-align:left;
	margin:0;
	float:left;
}
#solution_compare .solution-left, #solution_compare .solution-right {
	padding:0;
	margin-top:10px;
}
#anchoring_solution_help_text, #changing_solution_help_text {
	border:1px solid #999;
	display:block;
	overflow:hidden;
	font-size:12px;
	line-height:18px;
	padding:30px;
}
#solution_compare .solution-block {
	border:1px solid #999;
	margin-bottom:15px;
}

.move_to_left {display:block; float:left;}
.prev_next {display:block; float:right; padding-top:9px;}

#solution_compare .correct {
	background-color:#d5edd1;
	padding:15px;
}
#solution_compare .incorrect {
	background-color:#f0d8d9;
	padding:15px;
}

#solution_compare .solutions-title {
	display:block;
	font-size:14px;
	font-weight:bold;
	padding-bottom:3px;
}
div.message-space {
	display:block;
	overflow:hidden;
	height:30px;
	padding-top:15px;
}

h3.comments-head {
	color: #BF8C02;
	margin-bottom:0;
}

.morecontent span {
  display: none;
  color: #000;
}

#rescore_all_solutions_block.hide {
  display: none !important;	
}

.hide {
  display: none;
}

.show {
  display: inline;
}


.right {
  text-align: right;
}
.solution-comments {
	display:block;
	overflow:hidden;
  margin-top: 6px;
}

.comment-form textarea {
	margin:0;
	padding:0;
	width:100%;
}
/* faceted navigation */

div.filter-container {
	display: block;
	width: 175px; 
	margin: 10px 0 12px 0;
  border: 1px solid #d6d4d4;
}

div.filter-container h3 {
  margin: 0;
  border: 1px solid #fff;
  padding: 6px 6px;
  font-size: 1.0em;
  line-height: 100%;
  background: #eaeaea;
}

div.filter-container .filter {
	_height: 200px;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid #d6d4d4;
  padding: 0;
	background: #f8f8f8;
}

div.filter-container .filter ul {
  list-style: none outside none;
  margin: 0;
	padding: 0;
}

div.filter-container .filter ul li {
  margin: 0;
	padding: 0;
  line-height: 130%;
  background: none;
}

div.filter-container .filter ul li a { 
  display: block;
  border: 0;
  padding: 5px 7px 5px 7px;
  background-image: none;
  text-decoration: none;
}

div.filter-container .filter ul li a:hover,
div.filter-container .filter ul li a.selected:hover {
  background-color: #dbdbdb; 
}

div.filter-container .filter ul li a.selected {
  color: #000000;
}

div.filter-container .filter ul li a.selected span {
  width: 19px;
  text-indent: -5000px;
  background: transparent url(/matlabcentral/images/close-button-large.png) no-repeat right 0;
}

div.filter-container .filter ul li a.remove-filter,
div.filter-container .filter ul li a span {
	display: block;
  float: right;
  padding: 0;
}
.rescore-entry {
	display:block;
	overflow:hidden;
}
.rescore-entry .rescore-content {
	display:block;
	overflow:hidden;
	padding:15px 15px 15px 20px;
	margin-top:12px;
	margin-bottom:6px;
	font-size:11px;
	font-weight:bold;
	color: #BF8C02;
	background-color: #F3EDDE;
}

.performer .serial {
	display:block;
	overflow:hidden;
	text-align:center;
}

.avatar.small {
	display:block;
	overflow:hidden;
	width:65px;
	text-align:center;
}
.avatar.small a {
	display:block;
	overflow:hidden;
	width:65px;
	min-height:65px;
}
.avatar.small img {
	display:block;
	_width:65px;
	*width:65px;
	max-width:65px;
}

.solvers .avatar.small, .liked-player-list .avatar.small {
    display: block;
    height: 35px;
    overflow: hidden;
    text-align: center;
    width: 35px;
}
.solvers .avatar.small a, .liked-player-list .avatar.small a {
    display: block;
    height: 35px;
    min-height: 10px;
    overflow: hidden;
    width: 35px;
}
.solvers .avatar.small img, .liked-player-list .avatar.small img {
	display: block;
    max-height: 35px;
    max-width: 35px;
}
.player-list h2, h2.full_name {
	margin-top:0px;
	margin-bottom:3px;
}


.summary {
  border: 1px solid #d7d6d6;
  padding: 10px 10px 4px 10px;
  background-color: #f7f7f7;
  overflow: hidden;
  zoom: 1;
}

#profile_info_show_hide.close p {
   background: url(/images/nextgen/global/bg_collapsed.gif) 4px 4px no-repeat transparent;
}
#profile_info_show_hide.open p {
   background: url(/images/nextgen/global/bg_expanded.gif) 4px 6px no-repeat transparent;
}

.playerprofile {
	/*border: 1px solid #D7D6D6;
	background-color:#f7f7f7;
	padding:0;
	margin:0;*/
}
.edit_problem  {
	background: transparent url(/matlabcentral/images/icon_edit.png) no-repeat 6px 4px;
}
.playerprofile .maininfo {
    background: none;
    border: none;
    padding: 15px 0px;
}
.summary .avatar {
    margin-left: 0;
}
.avatar.large {
	display:block;
	overflow:hidden;
	width:135px;
	height:155px;	
}
.avatar.large img {
  max-width: 125px;
  max-height: 125px;
}
.playerprofile p {
	font-size:11px;
}
.playerprofile p.label {
	font-weight:bold;
}
.playerprofile .rankinfo {
	background: #FFFFFF;
    border: 1px solid #C1C1C1;
    margin-bottom: 20px;
    padding: 12px 6px;
    text-align: center;
}
.playerprofile .rankinfo .count_list {
	text-align:left;
	display:block;
	width:auto;
	overflow:hidden;
	margin:0 auto;
	padding-left:10px;
}
.playerprofile .rankinfo .count_list span {
	display:block;
	
}
.playerprofile .rankinfo .rank-score {
	margin-bottom:10px;
}
.playerprofile .rankinfo .rank, .playerprofile .rankinfo .score {
	display:block;
	text-align:center;
	width:45%;
}
.playerprofile .rankinfo .rank {
	float:left;
	font-size:120%;
}
.playerprofile .rankinfo .score{
	float:right;
	font-size:120%;
}
.playerprofile .rankinfo .value {
	 font-size: 15px;
    font-weight: bold;
	display:block;
}
div.tabcontainer {
	display:block;
	overflow:hidden;
}
.tab-container .search-results-tools.bottom {
    border-bottom: 0 none;
    padding: 3px 10px 0;
}
.tab-bar {
  display:block;
  clear:both;
  padding: 0;
  height:30px;
  margin:0;
}

.tab-bar ul, #mainbody .tab-bar ul {
  list-style: none outside none;
  position: relative;
  top: 2px;
  margin: 0;
  padding: 0;
}

.tab-bar li {
  float: left;
  margin: 0;
  padding: 0;
  background: none;
  font-size:12px;
}

.tab-bar li a {
  display: block;
  width: 93px;
  min-height: 20px;
  padding: 5px 0 4px 0;
  text-align: center;
}

.tab-container {
	margin-top:10px;
}
.tab-container a:visited {
	color:#005fce;
}
.tab-solved #solved-tab a,
.tab-activity #activities-tab a,
.tab-created #created-tab a,
.tab-progress #progress-tab a,
.tab-badges #badges-tab a,
.tab-activities #activities-tab a {
  background: transparent url(/matlabcentral/images/tab-active-indicator.png) no-repeat bottom; 
  color: #bf8c02;
  font-weight: bold;
  text-decoration: none;
}

.tab-bar .pagination {
  padding: 3px 10px 0 0;
}

.tab-body {
  display:block;
  overflow:hidden;
  margin: 0;
  padding: 0 0 15px 0;
  background-color: #ffffff;
  border-top: 1px solid #D7D6D6;
}
.tab-body h2 {
	color:#000000;
	font-size:12px;
	margin-top:26px;
}

.tabcontainer .problem-list {
	display:block;
	min-height:10px;
	background-color:#fff;
}
.tab-body .problem-list .problem {
	padding-left:0px;
}
.tabcontainer .problem-list .problem {
    border-top: 1px solid #D7D6D6;
	border-bottom:none;
    padding: 12px;
}
.playerprofile .problem-list .grid_148 {
   
	background-color:#fff;
}
.problemstate, .badgestate {
	display:block;
	overflow:hidden;
	padding-left:18px;
}
.badgestate {
	margin-top:6px;
}
.badge h3.name {
	display:block;
	overflow:hidden;
}
.badge h3.name a {
	display:block;
width:88%;
float:left;
}
.badge h3.name .badge-bonus {
	display:block; width:12%; font-size:11px;font-weight:normal;float:right;
}
.problemstate.solved, .badgestate.awarded {
	display:block;
	overflow:hidden;
	color:#418F36;
	font-weight:bold;
	padding-top:3px;
	background:transparent url(/matlabcentral/images/icon_solved.png)  0px 2px no-repeat;
}
.problemstate.draft {
	display:block;
	overflow:hidden;
	color:#E20D10;
	padding-top:3px;
	background:transparent url(/matlabcentral/images/icon_draft.png) left top no-repeat;
	float:right; 
	margin-top:2px;
	font-weight:bold;
}
p.earned-info {
	padding-left:18px;
	background:transparent url(/matlabcentral/images/icon_solved.png)  0px 2px no-repeat;
	font-size:11px;
	padding-top:3px;
	}
.progress-content {
	padding: 10px 0;
}

.solved-progressbar {
	background-color: #f9f9f9;
	border: 1px solid #ccc;
	display: block;
	box-shadow:inset 0 0 3px #d7d7d7;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.solved-progressbar .solved {
	display: block;
	border:1px solid #f3f3f3;
	-moz-border-radius: 3px;
	border-radius: 2px;
	background: rgb(210,210,210); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(210,210,210,1) 0%, rgba(178,178,178,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(210,210,210,1)), color-stop(100%,rgba(178,178,178,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(210,210,210,1) 0%,rgba(178,178,178,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(210,210,210,1) 0%,rgba(178,178,178,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(210,210,210,1) 0%,rgba(178,178,178,1) 100%); /* IE10+ */
background: linear-gradient(top,  rgba(210,210,210,1) 0%,rgba(178,178,178,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2d2d2', endColorstr='#b2b2b2',GradientType=0 ); /* IE6-9 */
}
.solved-progressbar .solved.all {
	display: block;
	border:1px solid #d3f4ce;
	-moz-border-radius: 3px;
	border-radius: 2px;
	background: rgb(96,197,80); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(96,197,80,1) 0%, rgba(94,193,78,1) 15%, rgba(74,158,61,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(96,197,80,1)), color-stop(15%,rgba(94,193,78,1)), color-stop(100%,rgba(74,158,61,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(96,197,80,1) 0%,rgba(94,193,78,1) 15%,rgba(74,158,61,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(96,197,80,1) 0%,rgba(94,193,78,1) 15%,rgba(74,158,61,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(96,197,80,1) 0%,rgba(94,193,78,1) 15%,rgba(74,158,61,1) 100%); /* IE10+ */
background: linear-gradient(top,  rgba(96,197,80,1) 0%,rgba(94,193,78,1) 15%,rgba(74,158,61,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#60c550', endColorstr='#4a9e3d',GradientType=0 ); /* IE6-9 */
}


.progress-content .message {
	display: block;
	margin: 6px 0;
}
.progress .completed {
	color: #418F36;
	background: url(/matlabcentral/images/icon_accepted.png) no-repeat 0px 0px transparent;
	padding-left:20px;
	font-weight:bold;
}
#new_message textarea {
    font-size: 13px;
    margin: 0 0.5em 0.5em 0;

    width: 450px;
	height:300px;
}
#new_message .section {
	display:block;
	overflow:hidden;
	margin-bottom:9px;
}
.contact-body {
    background-color: #F7F7F7;
    border: 1px solid #D6D4D4;
    color: #121212;
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    overflow: hidden;
    padding: 15px;
}


.activities-list .activity {
    border-bottom: 1px solid #D7D6D6;
    padding: 12px 0;
}
.activities-list .activity .avatar.small {
    display: block;
    overflow: hidden;
    text-align: center;
    width: 35px;
	height:35px;
}
.activities-list .activity .avatar.small a {
    display: block;
    height: 35px;
    overflow: hidden;
    width: 35px;
	min-height: 10px;
}
.activities-list .activity .avatar.small img {
	display:block;
	_width:35px;
	*width:35px;
	max-width:35px;
	max-height:35px;
}
.activities-list .activity p {
	font-size:11px;
	margin-bottom:3px;
	line-height:18px;
}
.activities-list .activity p.time {
	font-size:11px;
	margin-bottom:0px;
	color:#686868;
}

#new_to_cody {
	display:block;
	overflow:hidden;
	padding:4px 4px 10px 15px;
	background-color:#fff;
	background-image:-moz-linear-gradient(100% 100% 90deg, #e9e9e9, #ffffff); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#e9e9e9));
	box-shadow:0px 2px 2px #CCCCCC; -moz-box-shadow:0px 2px 2px #CCCCCC; -webkit-box-shadow:0px 2px 2px #CCCCCC;
	margin-bottom:25px;
	border:2px solid #e09d00;
}
#new_to_cody .message {
	display:block;
	overflow:hidden;
	float:left;
	width:90%;
	font-size:12px;
	line-height:18px;
	padding-top:12px;
	margin-bottom:5px;
}
#dismiss_new_to_cody_message {
	float:right;
}
#dismiss_new_to_cody_message button {
	display:block;
	overflow:hidden;
	width:30px;
	height:30px;
	background: transparent url(/images/nextgen/global/ico-close.png) no-repeat top right;
	border:none;
}

h3 span.info {height:16px; float:right; position:relative;}
h3 span.info img {position:relative;top:-3px;}

span.info img {position:relative;top:3px;}

.filter-container-help {
  font-weight: normal;	
}

.tip-content { 
	display: none;
	position: absolute; 
	left: 90px; 
	top: -10px; 
	width: 200px; 
	z-index: 99999999999; 
}
.tip-content p { 
	font-size:11px;
	margin-bottom:0px;
	font-weight: normal;
}

.tip-content.size-definition { left: 185px; }

.groups .column-header .tip-content.size-definition {
	left: 102px !important; 
}

.filter-container-help {
	position: absolute; 
	left: 25px; 
	width: 200px !important;
}

.cody-callout {
	display:none; 
   overflow:hidden; 
	background-color:#fff; 
	border: 1px solid #DADADA !important;
	padding:10px; 
	box-shadow:3px 3px 3px rgba(0,0,0,0.5); -moz-box-shadow:3px 3px 3px rgba(0,0,0,0.5); -webkit-box-shadow:3px 3px 3px rgba(0,0,0,0.5);
}

#delete_problem {
	padding-right:5px;
}
#matlab_documentation {
	display:inline-block;
	background: url(/images/nextgen/global/ico-documentation.png) no-repeat scroll 0 0 transparent;
	padding:0 0px 2px 23px;
	margin-bottom:6px;
}
#solve_problem p.note {margin-bottom:0px;}

.no-search-results {
    overflow: auto;
    word-wrap: break-word;
}

.ui-autocomplete {
  position: absolute;
  z-index: 999999999;
  list-style: none outside none;
  max-height: 165px;
  min-width: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  margin-left: 0 !important;
  border: 1px solid #bbbbbb;
  padding: 0;
  text-align: left;
  background-color: #ffffff;
}

/* IE 6 doesn't support max-height or min-width */
* html .ui-autocomplete {
  height: 165px;
  width: 300px;
}

.ui-autocomplete li {
  margin: 0;
  padding: 0;
  background: none;
}

.ui-autocomplete li a {
  display: block;
  padding: 0 0 0 6px;
}

div.group-item {
	display:block;
	overflow:hidden;
	padding-top:3px;
	border-bottom: 1px solid #D7D6D6;
	padding: 6px 0 6px;
}
div.groups {
	font-weight:bold;
	border-bottom: 1px solid #D7D6D6;
	margin-bottom:3px;
}
div.column-header span.title, div.column-header span.description {
	display:block;
	overflow:hidden;
	padding-top:6px;
}
div.column-header span.info {
	display:block;
	overflow:hidden;
	padding-top:0px;
	padding-bottom:3px;
}
#new_group label, .group-item.form label {
	display:none;
}
#groups_list p {
	font-size:11px;
}
textarea#group_description {
    font: 11px Arial,Helvetica,sans-serif;
    margin: 0;
    padding: 0;
	width:300px;
}
input.text#group_name {
	width:138px;
	margin:0;
	padding:0;
}
select#group_lockable {
	width:110px;
}
select#group_lockable:hover {
border: 1px solid #CCCCCC;
}
.detail_controls .submit input {   
    margin: 0;
	margin-left:3px;
	width:65px;
	padding:4px 4px 5px 4px;
	line-height:15px;
	max-height:26px;
}

li.cancel a {padding: 5px; text-align:center;}
.group-item .detail_controls li {width:70px;}

.problem-list .problem-title {margin-top:0px;font-size:12px;}
.problem-list p {font-size:11px;}

#publish_all_problems {
    background: url("/matlabcentral/images/formbg-blue.gif") repeat-x scroll left top transparent;
    border: 1px outset #004FAC;
    color: #FFFFFF;
    cursor: pointer;
    float: right;
    margin: -10px 0 10px 0;
    padding: 4px;
	
}
#problem_publish_error {
	display:block;
	overflow:hidden;
	margin-bottom:16px;
}
div.select_all_problems {
	display:block;
	float:left;
	margin-right:12px;
}
p.email_notification {
	display:block; overflow:hidden;
	border: 1px solid #ECECEC;
	background-color:#ffffff;
}
#my_cody_notification_link {
	background: url("/matlabcentral/images/icon_prefs.png") no-repeat scroll 5px 4px transparent;
    line-height: 16px;
    margin-left: 0;
	display: block;
    float: left;
    padding: 4px 10px 4px 26px;
    text-decoration: none;
}

.form-section h4 {margin-top:15px; margin-bottom:12px;}
.form-section.notification_preferences {padding-bottom:15px;}
.checkbox-container label {font-weight:normal;position:relative; top:-2px; padding-left:3px;}
.checkbox-container {display:block;overflow:hidden; margin-top:6px;}


/* jQuery UI dialog */

.ui-dialog {
  position: absolute;
  border: 1px solid #c3c3c3;
  max-width: 300px;
  background-color: #fff;
  -moz-box-shadow:    0 0 10px 4px #d4d4d4;
  -webkit-box-shadow: 0 0 10px 4px #d4d4d4;
  box-shadow:         0 0 10px 4px #d4d4d4;
  text-align: left;
}

.ui-dialog-titlebar {
  cursor: move;
  position: relative;
  border-bottom: 1px solid #e3e3e3;
  padding: 10px 20px 10px 20px;
  background: #f7f7f7 url(../images/gripper.png) no-repeat 5px center;
}

.ui-dialog-title {
  font-size: 1.1em;
  font-weight: bold;
}

.ui-dialog-titlebar-close {
  display: inline-block;
  position: absolute;
  right: 5px;
  top: 6px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border: 1px solid #f7f7f7;
  background: transparent url(/images/nextgen/global/ico-close.png) no-repeat center center;
}

.ui-dialog-titlebar-close .ui-icon {
    background-image: none;
    height: 16px;
    width: 16px;
}

.ui-dialog-titlebar-close:hover {
  border: 1px solid #d4d4d4;
  background-color: #e3e3e3;
}

.ui-dialog-titlebar-close span {
  display: inline-block;
  text-indent: -9999px;
}

.ui-dialog-content {
  padding: 10px 15px 15px 15px;
  min-height: 0 !important;
  width: auto !important;
}

.ui-dialog-compact .ui-dialog-titlebar {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  background: none;
}

.ui-dialog-compact .ui-dialog-title {
  display: none;
}

.ui-dialog-compact .ui-dialog-titlebar-close {
  right: 0;
  top: 0;
  border: 1px solid #ffffff;
}

.permalink-dialog {
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 15px !important;
}

.permalink-dialog p {
  margin: 0;
  padding: 0;
}

.permalink-dialog .link-wrapper {
  margin: 5px 0 0 0;
  border: 1px solid #d4d4d4;
  padding: 5px;
}

/* jQuery UI dialog end */

.solution-details a.morelink {
	display:block;
	overflow:hidden;
	color:#333333!important;
	font-weight:bold;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
   background-color: #DCDCDC;
}
.liked-player-list {
	display:block;
	overflow:hidden;
	margin-top:-9px;
}
.solvers .count, .liked-player-list .count {
	padding-top:0px;
}
.liked-player-list .performer {
	display:block;
	overflow:hidden;
        padding: 7px 0;
	height:32px;
}
.liked-player-list .performer h2 {
	font-size:12px;
}

.liked-player-list .performer .count span {
    font-size: 12px;
}

.liked-player-list .container_240 {
	margin-left: 0px!important;
    margin-right: 0px!important;
    width: auto!important;
}	

.badges-list {
	padding-top: 10px;
}

.badges-list h2.name, .badge-info h2.name {
	margin-top:0px; padding-top:0px; margin-bottom: 0.3em;
}
.badges-list div.awarded-count, .badge-info div.awarded-count {
	display:block; overflow:hidden; 
}
.badges-list h3 {
	font-size:12px;
}
.playerprofile .badge h3 {
	margin-top:1em;
	margin-bottom:5px;
}
.playerprofile .performer.count {
	margin-top:1em;
}

.activity-details a.badge-default-icon {
	background:url(/matlabcentral/images/badge-16.png) 2px 2px no-repeat transparent; padding-left:20px;
	height:16px;
	min-height:16px;
	padding-top:4px;
	padding-bottom:4px;
}

h2.name a, .badge-info a {background:none; padding:0px;}
.earned-badges .badge {
    margin-bottom: 2px !important;
    margin-right: 2px !important;
    padding: 0 3px;
    text-align: center;
	border:1px solid #ffffff;
}

.earned-badges .highlight {
	border: 1px solid #e3e3e3;
	background-color:#f7f7f7;
}

.badges-list div.badge {
	display:block;
	margin-bottom:1em;
}
.earned-badges .badges-list div.badge {
	display:block;
	height:160px;
	margin-bottom:0;
}
div.badge-icon {
	padding-bottom:4px;
}
.earned-badges div.badge-icon a {
	display:block;
	width:164px;
	margin-left:-8px
}
div.badge-in-progress {
	display:block;
	width:57px;
	height:64px; 
	overflow:hidden; 
	margin:0 auto; 
	background:url(/matlabcentral/images/badge-progress-empty.png) no-repeat top;
	text-align:left;
	position:relative;
	left:-8px;
}
div.badge-in-progress .percent-solved {
	display:block; overflow:hidden;
	height:64px;
	background:url(/matlabcentral/images/badge-progress.png) no-repeat top left;
	max-width:100%;
}
p.earnedbadge-info {
	color:#666666;
	margin-bottom:0px;
	line-height:13px;
   padding-bottom:4px;
}

/*Badge message*/
#earned-badge-alert {
	background: #DBA424; 
	border: 1px solid #000;
}
#earned-badge-alert .message-text, #earned-badge-alert .badge-image {
	display: inline;
	float: left;
	margin-left: 0;
	margin-right: 0;
	position: relative;
}
#earned-badge-alert div.message-content {
	display:block;
	overflow:hidden;
	margin:4px 10px 25px 10px;
	padding:0px 15px 10px 15px;
	position:relative;
	top:18px;
}
#earned-badge-alert .badge-image {
	width:48px;
	padding-top:12px;
}

.badge-image img {
    -webkit-transition: -webkit-transform .8s ease-in;
    -moz-transition: -moz-transform .8s ease-in;
    -o-transition: -o-transform .8s ease-in;
    transition: transform .8s ease-in;
     
    overflow:hidden;
}

.badge-image .rotateY {
    -webkit-transform:rotateY(720deg);
    -moz-transform:rotateY(720deg); 
    -o-transform:rotateY(720deg);
}


#earned-badge-alert div#dismiss_badge_message {
	display:block;
	overflow:hidden;
	margin:4px 4px 0px 4px;
	position:absolute;
	top:0px;
	right:0px;
	z-index:99;
}
#earned-badge-alert div#dismiss_badge_message button {
	float:right;
	background: url("/images/nextgen/global/ico-close.png") no-repeat scroll right top transparent;
	border: medium none;
	display: block;
	height: 16px;
	overflow: hidden;
	width: 30px;
}
#earned-badge-alert div.message-content p.title {
	font-size:16px;
	font-weight:bold;
	margin-bottom:6px;
}
#earned-badge-alert div.message-content p.description {
	color:#595959;
	margin-bottom:0px;
}
#earned-badge-alert {
	background:url(/matlabcentral/images/vr-blue.png) #dbecff 133px no-repeat;
	margin-bottom: 15px;	
border-radius: 8px; 
-moz-border-radius: 8px; 
-webkit-border-radius: 8px; 
border: 1px solid #9fc7f5;
-webkit-box-shadow:  0px 1px 1px 0px rgba(0, 0, 0, .2);        
        box-shadow:  0px 1px 1px 0px rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, .8);
        
        box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, .8);
}
#earned-badge-alert .message-title {
	margin:0;
	padding:0; background:url(/matlabcentral/images/hr-blue.png) transparent bottom no-repeat;
}
#earned-badge-alert .message-title p.title {
	font-size:14px;
	font-weight:bold;
	margin:10px 6px 6px 20px;
	padding-bottom:10px;
}
#earned-badge-alert .message-description {
	margin:0;
	padding:0;
}
#earned-badge-alert .message-description p.description {
	margin:6px 6px 14px 20px;
	font-style:normal;
	color:#000;
	}
#earned-badge-alert .badge-info {
	text-align:center;
}
#earned-badge-alert .badge-info .badge-container {
	text-align:left;
	display:inline-block;
	overflow:hidden;
	margin:0 auto;
}
#earned-badge-alert .badge-count {
	display:inline-block;
	overflow:hidden;
	width:auto;
}
#earned-badge-alert .badge-count p {
	margin-top:20px;
	margin-left:6px;
}


/* MATLAB Markup editor */

.ui-wrapper {
  position: relative !important;
  overflow: visible !important;
  margin: 0 !important;
  border: 1px solid #c3c3c3;
  padding: 5px;
  background-color: #fff;
}

.matlabmarkup textarea {
  clear: left;
  height: 150px;
  margin: 0;
  background: none;
  background-color: #ffffff;
}

.matlabmarkup textarea.ui-resizable {
  display: block;
  resize: none;
  overflow: auto;
  border: 0;
  outline: none;
  padding: 0;
  font-size: 1.1em;
  font-family: monospace;
}

.matlabmarkup .ui-wrapper {
  position: relative !important;
  min-width: 300px;
  max-width: 700px;
  overflow: visible !important;
  margin: 0 !important;
  border: 1px solid #c3c3c3;
  padding: 5px;
}

.matlabmarkup-toolbar {
  width: 450px;
}

.matlabmarkup-toolbar a {
  display: inline-block;
  height: 16px;
  width: 16px;
  overflow: hidden;
  margin: 0 4px 2px 0;
  padding: 3px 2px 1px 2px;
  border: 1px solid #a3a3a3;
  text-decoration: none;
  color: #686868;
  font-family: sans-serif;
  font-size: 8pt;
  line-height: 12pt;
  background: #fff url(../cody/images/matlabmarkup.png) no-repeat 18px 18px;
}

.matlabmarkup-toolbar span {
  cursor: pointer;
  display: inline-block;
  text-indent: -9999px;
}

a.matlabmarkup-code span,
a.matlabmarkup-help span {
  text-indent: 0;
}

a.matlabmarkup-help {
  width: auto;
  margin: 0 0 0 25px;
  border: 1px solid transparent;
  padding: 3px 6px 1px 20px;
  background-color: transparent;
  background-position: 0 -107px;
}

a.matlabmarkup-code {
  width: auto;
  padding: 3px 6px 1px 22px;
  background-position: 2px -71px;
}

a.matlabmarkup-bold {
  background-position: 2px -53px;
}

a.matlabmarkup-italic {
  background-position: 1px -89px;
}

a.matlabmarkup-monospaced {
  background-position: 1px -214px;
}

a.matlabmarkup-hyperlink {
  background-position: 1px -143px;
}

a.matlabmarkup-image {
  background-position: 1px -161px;
}

a.matlabmarkup-numbered-list {
  background-position: 2px -125px;
}

a.matlabmarkup-bulleted-list {
  background-position: 2px 1px;
}

.matlabmarkup-preview {
  clear: left;
  border: 1px solid #c3c3c3;
  border-top: none;
}

.matlabmarkup-preview-body {
  clear: both;
  min-width: 300px;
  overflow-x: auto;
  overflow-y: auto;
  border-top: 1px solid #eaeaea;
  background-color: #fdfdfd;
}

.matlabmarkup-preview-divider {
  overflow: hidden;
  padding: 0 5px;
  font-family: sans-serif;
  font-size: 8pt;
  font-weight: bold;
  background-color: #fafafa;
}

.matlabmarkup-preview-divider span {
  display: block;
  float: left;
  padding: 4px 0;
}

.matlabmarkup-preview-divider a {
  display: block;
  height: 16px;
  float: right;
  outline: none;
  padding: 4px 0 0;
  font-weight: normal;
  text-decoration: none;
  color: #686868;
  background: transparent url(../cody/images/matlabmarkup.png) no-repeat 18px 18px;
}

.matlabmarkup-preview-divider a:active,
.matlabmarkup-preview-divider a:focus {
  outline: none;
}

.matlabmarkup-preview-divider .matlabmarkup-preview-refresh {
  margin-right: 20px;
  padding-left: 16px;
  background-position: 0 -18px;
}

.matlabmarkup-preview-divider .matlabmarkup-preview-toggle {
  width: 40px;
  padding-left: 14px;
  background-position: 0 -197px;
}

.matlabmarkup-preview-divider .off {
  background-position: 0 -179px;
}

.matlabmarkup-preview-divider .hidden {
  display: none;
}

.problem-form.matlabmarkup .ui-wrapper,
.problem-form textarea.ui-resizable {
  width: 100% !important;
  min-height: 200px;
  max-height: 400px;
  padding: 0;
  box-sizing: border-box;
  border: 0px;
}
.problem-form textarea.ui-resizable { padding: 5px; }
.matlabmarkup-preview-body { padding: 5px !important; }

.problem-form .matlabmarkup-preview { width: 580px; }

.problem-form .matlabmarkup-preview-body {
  min-height: 150px;
  max-height: 300px;
}


/* Bring in Site6 Header Styles for Transitional MLC Header */

/* Link Cody Header to Cody Home */
.cody-header { position: relative; width: 100%; top: -55px;}
.cody-header a { position: absolute; text-indent: -9999px; width: 100%; height: 55px;}

/* ---- Header ---- */
#header.site6-header { height: 90px !important;}
#header.site6-header .wrapper, #header.site6-header div.main { background: transparent;}
#header.site6-header .main { height: 90px;}
#header.site6-header #headertools { height: 50px; }


 .header { /*background: #fff;*/ }

	/* Global Navbars */
	#header.site6-header .navbar { min-height: 0; margin-bottom: 0; border: none; }
	#header.site6-header  { background-color: transparent; }

	#header.site6-header .navbar-collapse ul, .navbar-collapse ol { margin-bottom: 0; }
	#header.site6-header .navbar-collapse li { padding-left: 0; margin-bottom: 0; background: none; font-size: 14px; }

	.site6-header  #topnav { margin-top: 2px; }
	#header.site6-header  #topnav.navbar-nav > li > a { padding: 5px 10px; color: #2354a1; display: block; text-decoration: none; white-space: nowrap; }
	#header.site6-header  #topnav.navbar-nav > li > a,
	#header.site6-header  #topnav.navbar-nav > li > a:visited { color: #52575e; }
	#header.site6-header  #topnav.navbar-nav > li > a:hover { color: #3468a5; }
	
	#header.site6-header  #topnav.navbar-nav > li.active > a,
	#header.site6-header  #topnav.navbar-nav > li.active > a:hover { border-radius: 4px; background: #e5ebf0; color: #52575e; }

	.site6-header .navbar-header { float: none; }

	.site6-header .logo_container { margin-top:10px; margin-bottom: 5px; float: left; }
	.site6-header .logo_container .mw_logo { width: 173px; height: 35px; margin: 0 20px 0 5px; float: left; }
	.site6-header .logo_container .mlc_logo { width: 173px; height: 23px; margin: 0 20px 0 -6px; float: left; }

	/* Global Navbars: Logo Placement w/o PTools (Desktop) */ 
	.site6-header #header_desktop .logo_container.ptools_off { margin-top: 18px; }

	/* Non-Mobile Adjustments */
	@media only screen and (min-width:992px) {

		.site6-header #headernav { padding-top: 8px; }

		#header.site6-header #headernav > li { padding-left: 7px; font-size: 13px; line-height: 1.15; }
		#header.site6-header #headernav > li > a { padding: 0 4px; margin: 0; color: #a2a2a2; font-weight: normal; line-height: 0.92; }
		#header.site6-header #headernav > li > a:hover { background-color: transparent; color: #1b1b1b; }
		#header.site6-header #headernav	a:hover .caret { border-top-color: #666; }

		.site6-header #headernav_collapse .navbar-nav > .open > a,
		.site6-header #headernav_collapse .navbar-nav > .open > a:hover,
		.site6-header #headernav_collapse .navbar-nav > .open > a:focus { background-color: transparent; color: #666; }	

		.site6-header #headernav_collapse li.headernav_login { border-left: none; }
		.site6-header #headernav_collapse li.headernav_login > a { padding-right: 0; padding-left: 4px; }

		/* Global Navbars: Dropdowns */
		.site6-header  .navbar-nav > .open > a,
		.site6-header  .navbar-nav > .open > a:focus,
		.site6-header  .navbar-nav > .open > a:hover { background: transparent; }

	}

	/* Imported Bootstrap Styles */

	.site6-header .nav {
	  padding-left: 0;
	  margin-bottom: 0;
	  list-style: none;
	}
	.site6-header .nav > li {
	  position: relative;
	  display: block;
	}
	.site6-header .nav > li > a {
	  position: relative;
	  display: block;
	  padding: 10px 15px;
	  width: auto;
	}
	.site6-header .nav > li > a:hover,
	.site6-header .nav > li > a:focus {
	  text-decoration: none;
	}
	.site6-header .nav > li.disabled > a {
	  color: #777;
	}
	.site6-header .nav > li.disabled > a:hover,
	.site6-header .nav > li.disabled > a:focus {
	  color: #777;
	  text-decoration: none;
	  cursor: not-allowed;
	  background-color: transparent;
	}
	.site6-header .nav .open > a,
	.site6-header .nav .open > a:hover,
	.site6-header .nav .open > a:focus {
	  border-color: #337ab7;
	}
	.site6-header .nav .nav-divider {
	  height: 1px;
	  margin: 9px 0;
	  overflow: hidden;
	  background-color: #e5e5e5;
	}
	.site6-header .nav > li > a > img {
	  max-width: none;
	}

	/* Imported Font Styles */
	
	#header.site6-header #globalnav a {
		font: 15px/1.46 Arial, Helvetica, sans-serif !important;
	}	
	
	.site6-header + #middle .wrapper { background: #ffffff url(/matlabcentral/images/mlc-cody-banner.jpg) top left no-repeat; }