﻿/* Area details */

h2.msl-area {}
p.msl-area-description {}

/* New idea */

.msl_add {
	padding: 10px;
	display: block;
	width: 100%;
	font-size: 18px;
	background: #eee;
	color:#333;
	text-align:center;
	border:1px solid #ccc;
}
.msl_add:hover {
	background: #ccc;
}

/* Ideas */

.msl-idealist {
	list-style: none outside none;
	padding: 0;
	margin: 0;
}
.msl-idea {
	list-style: none outside none;
	margin: 15px 0;
	padding: 20px 15px 20px 5.5em;
	position: relative;
	min-height: 130px;
	background: #fff;
	border: 1px solid #aaabbb;
	border-radius: 3px;
	background: #fff;
}
@media all and (min-width:768px) {
.msl-idea {
	padding-left: 8.5em;
}
}

/* Idea status */

li.msl-idea.locked {
	border: 1px dotted #ccc;
}
li.msl-idea.passed {
	background: #efc;
	border: 1px solid #ac0;
}
li.msl-idea.rejected {
	border: 1px solid #c66;
	background: #fee;
}
li.msl-idea.expired, li.msl-idea.archived {
	border: 1px solid #aaa;
	background: #eee;
	color:#aaa;
}
li.msl-idea.expired a, li.msl-idea.archived a {
    color:#666
}



/* Idea approval/editing */

.msl-idea-approval.msl_info {
    background-color: #ffc;
    border: 1px solid #fc0;
    padding: 6px 10px 6px 30px;
    background-position: 8px 50%;
    margin: 15px 0 0;
}
.msl-idea-tools {
	font-size: 12px;
	margin: 15px 0 0;
}
div.msl-idea .msl-idea-tools { margin-bottom: 10px; }
.msl-idea-tools a, [id*="idea-comments"] dl.comments input.button {
    display: inline-block;
    margin: 0 10px 0 0;
    font-weight: bold;
    min-height: 0;
    background: none;
    padding: 6px 10px;
    line-height: 1;
    background: #eee;
    border-radius: 3px;
    color: #333;
    border: 1px solid #ccc;
    border-bottom-color: #aaa;
	transition: 0.2s ease all;
	-web-transition: 0.2s ease all;
}
.msl-idea-tools a:hover {
	text-decoration:none;	
}
.msl-idea-tools a.msl_edit:hover { background-color: #84B3FC; border-color: #3554CB; }
.msl-idea-tools a.msl_approve:hover, [id*="idea-comments"] dl.comments input.button:hover { background-color: #91D032; border-color: #599F19; }
.msl-idea-tools a.msl_reject:hover { background-color: #D9484B; border-color: #961618; }

/* Idea score */

.msl-idea-score {
	background: transparent;
	width: 4em;
	padding: 10px 5px;
	margin: 10px 0;
	border-right: 1px solid #ccc;
	left: 0;
	position: absolute;
	text-align: center;
	top: 0;
	bottom: 0;
}
@media all and (min-width:768px) {
.msl-idea-score {
	background: transparent;
	width: 7em;
}
}
.votes a {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #333;
	margin: 0 0 15px;
}
.votes div a {
	margin: 10px auto 5px;
}
.votes div a + a {
	margin-top:5px;
}
.votes .number {
	font-size: 1.25em;
	line-height: 1;
}
@media all and (min-width:768px) {
.votes a, .votes div a, .votes div a+a { margin: 0 auto; }
.votes .number {
	font-size: 2em;
	display:inline-block;
}
}
.votes .label {
	display: none;
}
.voters {
	font-size: 85%;
	line-height: 1;
	padding: 5px 10px;
	background: #ccc;
	display:none;
	margin-top: 0.5em;
	padding: 0;
	background: transparent;
}
@media all and (min-width:768px) {
	.voters {
		display:block;
		margin-top: 21px;
	}	
}
.voters .label {
	color: inherit;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
}
.votes div {
	width: 30px;
	height: 60px;
	position: relative;
	margin: 0 auto;
}
@media all and (min-width:768px) {
.votes div {
	height: 20px;
	margin: 0 auto;
}
.votes.msl-thumbs div {
    width: 80px;
    margin: -27px auto 10px;
}
}
.voteup, .votedown, .voteup.clearvote.deletevote, .votedown.clearvote.deletevote {
	background: url(IdeaListIcons.png) left top no-repeat;
	width: 30px;
	height: 30px;
	text-indent: -5000px;
	overflow: hidden;
}
@media all and (min-width:768px) {
.voteup, .votedown, .voteup.clearvote.deletevote, .votedown.clearvote.deletevote {
	position: absolute;
}
.msl-arrows .voteup, .msl-arrows .voteup.clearvote.deletevote {
	top: -75px;
}	
.msl-arrows .votedown, .msl-arrows .votedown.clearvote.deletevote {
	bottom: -23px;

}

}
.msl-thumbs .voteup, .msl-thumbs .voteup.clearvote.deletevote {
	left: 0;
}
.msl-thumbs .votedown, .msl-thumbs .votedown.clearvote.deletevote {
	right: 0;
}
/* Voting arrows */
.msl-arrows .votedown, .msl-arrows .votedown.clearvote.deletevote {	background-position: -30px 6px; }
.msl-arrows .voteup:hover, .msl-arrows .voteup.clearvote {	background-position: 0 -22px; }
.msl-arrows .votedown:hover, .msl-arrows .votedown.clearvote { background-position: -30px -30px; }
.msl-arrows .voteup.clearvote:hover {	background-position: 0 -60px; }
.msl-arrows .votedown.clearvote:hover {	background-position: -30px -60px;}

/* Voting thumbs */
.msl-thumbs .voteup {	background-position: 0 -90px; }
.msl-thumbs .votedown, .msl-thumbs .votedown.clearvote.deletevote {	background-position: -30px -90px; }
.msl-thumbs .voteup:hover, .msl-thumbs .voteup.clearvote { 	background-position: 0 -120px; }
.msl-thumbs .votedown:hover, .msl-thumbs .votedown.clearvote { 	background-position: -30px -120px;}
.msl-thumbs .voteup.clearvote:hover {	background-position: 0 -150px;}
.msl-thumbs .votedown.clearvote:hover {	background-position: -30px -150px;}

/* Idea details */

.msl-idea-title {
	margin: 0 0 10px;
	border: none;
	font-size: 18px;
	font-weight: 600;
	padding: 0;
}
@media all and (min-width:768px) {
li.msl-idea .msl-idea-title {
	padding-right: 100px;
}
}

.msl-idea-submitted, .msl-idea-status {
    margin: 10px 0;	
}

@media all and (min-width:768px) {
li.msl-idea .msl-idea-comments {
    position:absolute;
	top:15px;
	right:15px;
}
}
li.msl-idea .msl-idea-comments a {
    color: #000;
    padding: 4px 8px 5px;
    display: inline-block;
    background: #ddd;
    border-radius: 6px;
    font-size: 12px;
    position: relative;
}

li.msl-idea .msl-idea-comments a:before {
    content: ' ';
    position: absolute;
    height: 0;
    width: 0;
    bottom: -7px;
    left: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ddd;
    z-index: 1;
}

/* Item view */

.msl-idea .msl-idea-submitted { display:inline; }
.msl-idea .msl-idea-status, .msl-idea .msl-idea-tags li { display: inline-block; }
.msl-idea .msl-idea-submitted, .msl-idea .msl-idea-status {
	margin: 0px 5px 0px 0px;
	font-size: 12px;
}
.msl-idea .msl-idea-status, .msl-idea .msl-idea-tags li {
    padding: 2px 5px 2px;
    background: #fc0;
    color: #333;
}
.msl-idea.locked .msl-idea-status {background-color:#ccc; color:#666;}
.msl-idea.passed .msl-idea-status {background-color:#ac0;}
.msl-idea.rejected .msl-idea-status { background-color:#d22; color:#fff;}
.msl-idea.expired .msl-idea-status, .msl-idea.archived .msl-idea-status {background-color:#333; color:#fff;}

.msl-idea .msl-idea-tags {
    margin: 15px 0 0;
    padding: 0;
    font-size: 12px;
}
.msl-idea .msl-idea-tags li {
	margin:0 7px 10px;
	border-radius: 0 3px 3px 0;
	background: #ddd;
	color:#111;
	padding: 5px 8px 6px 7px;
	font-style:italic;
	position:relative;
	line-height:1;
	font-size:11px;
	border-right: 1px solid #bbb;
}
.msl-idea .msl-idea-tags li:before {
    content:' ';
    position:absolute;
    border-width: 7px;
    border-color: transparent #ddd transparent transparent;
    border-style: solid;
    left:-14px;
    top:0;
    width:0px;
    height:22px;
}
.msl-idea .msl-idea-tags li:after {
    content: ' ';
    border: 1px solid #aaa;
    border-radius:10px;
    position:absolute;
    left:-3px;
    top:8px;
    background: #fff;
    height:6px;
    width:6px;
}

.msl-idea-description {
    margin: 10px 0;
}
div.msl-idea .msl-idea-description {
    padding: 15px 0 0;
    border-top: 1px dotted #ccc;
}
li .msl-idea-comments span:before {
	content:' ';	
}
[id*="idea-comments"] dl.comments dt {
    margin: 0;
    padding: 0;
	background: none transparent;
	width: 100%;
	float:none;
	text-align:left;
}
[id*="idea-comments"] dl.comments dt img.avatar {
    display:none;
}
[id*="idea-comments"] dl.comments dt a {
    display: inline-block;
    margin: 10px 0 -1px;
    font-size: 14px;
    font-weight: normal;
    word-wrap: break-word;
    text-align: left;
    padding: 8px 15px 3px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
[id*="idea-comments"] dl.comments dd {
    margin: 0 0 15px;
    min-height: 0;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 3px;
}

@media all and (min-width:768px) {
[id*="idea-comments"] dl.comments dt {
    float: left;
    margin: 0 -150px 15px 0;
    clear: left;
    padding: 0;
	width: 150px;
	text-align:right;
}
[id*="idea-comments"] dl.comments dt a {
    display: inline-block;
    margin: 13px 0 0;
    text-align: right;
	padding:0;
	background:none transparent;
	border:none;
}
[id*="idea-comments"] dl.comments dd {
    margin: 0 0 15px 165px;
}
[id*="idea-comments"] dl.comments dt img.avatar {
    display: inline-block;
    max-height: 45px;
    max-width: 70px;
    height: auto !important;
    width: auto;
    margin-right: 5px;
}
}
@media all and (min-width:992px) {
[id*="idea-comments"] dl.comments dt {
    margin-right: -200px;
	width: 200px;
}
[id*="idea-comments"] dl.comments dd {

    margin-left: 215px;
}	
	
}
@media all and (min-width:1200px) {
	
}

[id*="idea-comments"] dl.comments span.comment_details {
    font-size: 100%;
    background: none;
    color: #333;
    padding: 0 100px 12px 0;
    margin: 0 0 12px;
    border-bottom: 1px dotted #ccc;
}
[id*="idea-comments"] dl.comments span.comment {
	padding:0;	
}
[id*="idea-comments"] #add_comment dt {
	background:none transparent;
	display:none;
}
@media all and (min-width:768px) {
	[id*="idea-comments"] #add_comment dt {	display:block; }
}
[id*="idea-comments"] #add_comment dd {

}
[id*="idea-comments"] #add_comment span.comment_details {
    background-color: transparent;
}
[id*="idea-comments"] dl.comments span.comment_details h3 {
    color: #000;
    margin: 0;
    font-size: 100%;
    padding: 0;
	border:none;
}
[id*="idea-comments"] .comment textarea.textbox {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 100%;
}
[id*="idea-comments"] .comment_panel > div > span {
    display: block;
    margin: 10px 0 15px;
}
[id*="idea-comments"] .comment_panel > div > span:empty {display:none;}
@media all and (min-width:768px) {
[id*="idea-comments"] .comment_panel > div > span {
	margin-left:165px;
}
}
@media all and (min-width:992px) {
[id*="idea-comments"] .comment_panel > div > span {
	margin-left:215px;
}
}

/* Filter and search */

.msl-idea-list-filter-panel {
	display:block;
	margin: 10px 0;
	padding: 15px;
	border-radius: 0 3px 3px 0;
	background: #fafafa;
	border: 1px solid #aaa;
	border-left: 3px double #aaa;
}
.msl-idea-list-filter-panel input.textbox {
	width:400px;
    font-size: 14px;
    padding:5px 10px;
    margin: 0 10px 0 0;
	max-width:100%;
}
.msl-idea-list-filter-panel input.button {
	max-width:100%;
	width:100px;
	padding: 5px 10px;
	margin:0 5px 0 0;
	background: #eee;
	font-size: 100%;
	font-weight:normal;
}
.msl-idea-list-filter-panel ul.msl-idea-tags {
	margin:10px 0 0;
	padding:0;
	list-style:none;
}
.msl-idea-list-filter-panel .msl-idea-tags li {
	margin:0; padding:0; display:inline-block;
}
.msl-idea-list-filter-panel .msl-idea-tags li a {
	display: inline-block;
    margin: 0 10px 0 0;
    font-weight: bold;
    min-height: 0;
    background: url(../images/icons/12/tag_icon.png) 8px 50% no-repeat #fff;
    padding: 8px 10px 8px 26px;
    line-height: 1;
    border-radius: 3px;
    color: #333;
    border: 1px solid #ccc;
    border-bottom-color: #aaa;
	transition: 0.2s ease all;
	-webkit-transition: 0.2s ease all;
}
.msl-idea-list-filter-panel .msl-idea-tags li a:hover, .msl-idea-list-filter-panel .msl-idea-tags li a.active {
	background-color: #C8FC64;
	border-color: #9ACB35;
	border-bottom-color: #7AAB05;
	text-decoration:none;
}

.msl-idea-sortoptions {
    display: inline-block;
    margin: 10px 0;
}

/* TODO: Are these two required (see comment in IdeaVoteControls.ascx) */
.msl-idea-updowncount {
	display: inline-block;
	margin-bottom: 22% ;
}
.msl-idea-updowncount-margin {
	margin-right: 50%;
	margin-bottom: 28%;
	margin-left: 12%;
	display: inline-block;
}

.msl-idea-votes-arrows-up {
	margin-bottom: 7px;
	display: inline-block;
	font-size: 2em;
}

.msl-idea-votes-arrows-down {
	position: absolute;
	margin-top: 41px;
	margin-left: -17px;
	font-size: 2em;
}

.msl-idea-votes {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: -16px;
	margin-top: 22px;
	font-size: 2em;
}

.msl-idea-updown-count-disabled {
	pointer-events: none !important;
}

