/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */


@import "compass/reset";
@import "compass/css3/images";
@import "compass/css3/background-size";
@import "compass/css3/opacity";

@import "client/common.css.scss";

body {
    color: $ColorText;
    background-color: $ColorUIBackground;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Raleway, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 300;
}

b { font-weight: bold; }

a {
    cursor:pointer;
    color: $ColorLink;
    text-decoration: none;
    display: inline-block;
}

[layout-link] {
    cursor:pointer;
}

a:hover {
    text-decoration: underline;
    color: $ColorLinkHover;
}

a.arrow-up {
    float:right;
    margin-right:5px;
    display:block;
    margin-top:6px;
    width: 0; 
    height: 0; 
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #333;
}

a.arrow-down {
    float:right;
    margin-right:5px;
    display:block;
    margin-top:6px;
    width: 0; 
    height: 0; 
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #333; 
}

select {
	padding:3px;
	font-size:15px;
}

form .body {
    /* TODO - size with layout */
    width: 100%;
    height: 40%;
    max-height: 40%;
    overflow:auto;
}

.formrow {
    margin: 1em;
    padding: 1em;
    border: 1px solid #555;
    float:left;
}

label {
    display:block;
}

.button1 {
    background: $color1;
    color: #fff !important;
    font-weight:bold;
    font-size: 120%;
    margin: 2px;
    padding:8px;
}

input[type="button"] {
    margin:0px 8px 0px 8px;
    background-color:#666;
    border: solid 1px #868686;
    outline:solid 2px #666;
    padding:3px 10px;
    font-family:raleway;
    font-size:12px;
    font-weight:300;
    cursor:pointer;
    color:#ccc;
}

.clearall {
    clear:both;
}

.left {
    float:left;
}

.right {
    float:right;
}

.hidden {
    display:none;
}

.small {
  font-size:11px;
}

.curtain {
    background-color: $ColorScreenBackground;
    position:absolute;
    top:0px;
    left:0px;
}
.curtain .splash {
    position:absolute;
    left:50%;
    top:50%;
    margin-top:-100px;
    margin-left:-125px;
}
.curtain .splash img {}
.curtain .splash p {
    width: 100%;
    text-align:center;
}

.dialog-overlay {
    background-color: #000;
}

.avatar {
    display: block;
    float:left;
}

.avatar.medium {
    width: 48px;
    height: 48px;
    margin-right: 12px;
}

.avatar.small {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.avatar-tiny {
    width:20px;
    heigh:20px;
    -webkit-border-radius:18px;
    -moz-border-radius:18px;
    border-radius:18px;
}

/* Invitations */
#invitation-controls {
    clear:both;
}

/* TODO - generalize */
.instrument {
    margin: 1px;
    background: $ColorElementPrimary;
    color:$ColorText;
    padding: 3px;
    width:auto;
    float:left;
}

.instrument span {
    font-size:85%;
    font-weight:bold;
    cursor:pointer;
}

.profiency {
    float:left;
}

/* Autocomplete */
.autocomplete { 
    background:$ColorScreenBackground;
    color:$ColorText;
    cursor:default;
    text-align:left;
    max-height:350px;
    overflow:auto;
    margin:-1px 6px 6px -6px;
    _height:350px;  /* IE6 specific: */ 
    _margin:0;
    _overflow-x:hidden;
}

.autocomplete .selected { 
    background:$ColorScreenBackground;
    cursor:pointer;
}

.autocomplete div { 
    padding:5px 5px 5px 5px;
    white-space:nowrap;
    overflow:hidden;
    border-bottom:1px solid #999;
    border-left:1px solid #999;
    border-right:1px solid #999;
    text-align:center;
}

.autocomplete strong { 
    font-weight:normal;
}

.multiselect-dropdown {
    position:relative;
    z-index:99;
    width: 175px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color:#C5C5C5;
    border: none;
    color:#333;
    font-weight:400;
    padding:0px 0px 0px 8px;
    height:20px;
    line-height:20px;
    overflow:hidden;
    -webkit-box-shadow: inset 2px 2px 3px 0px #888;
    box-shadow: inset 2px 2px 3px 0px #888;
}

.multiselect-dropdown a {
    color:#333;
    text-decoration:none;
}

.list-items {
    float:left;
    width:175px;
    height:127px;
    overflow:auto;
}

.list-item-text {
    font-size:11px;
    float:left;
    width:135px;
}

.search-box {
    float:left;
    width:140px;
    margin-left: 10px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color:$ColorTextBoxBackground;
    border: none;
    color:#333;
    font-weight:400;
    padding:0px 0px 0px 8px;
    height:18px;
    line-height:18px;
    overflow:hidden;
    -webkit-box-shadow: inset 2px 2px 3px 0px #888;
    box-shadow: inset 2px 2px 3px 0px #888;
}

input[type="text"], input[type="password"]{
    background-color:$ColorTextBoxBackground;
    border:none;
    color:#666;
	padding:3px;
	font-size:15px;
}


.mr10 {
    margin-right:10px;
}

.mr20 {
    margin-right:20px;
}

.mr30 {
    margin-right:30px;
}

.ml10 {
    margin-left:10px;
}

.ml20 {
    margin-left:20px;
}

.ml30 {
    margin-left:30px;
}

.ml35 {
    margin-left:35px;
}

.op50 {
    opacity: .5;
    -ms-filter: "alpha(opacity=50)";
}
.op70 {
    opacity: .7;
    -ms-filter: "alpha(opacity=70)";
}

.op30 {
    opacity: .3;
    -ms-filter: "alpha(opacity=30)";
}

.nowrap {
	display:inline-block;
	white-space:nowrap;
}

.error {
    background-color:#300;
    padding:5px;
    border: solid 1px #900;

}

.error input {
    background-color:#Fadfd1 !important;
    margin-bottom:5px;
}

.error-text {
    display:none;
}

.error .error-text {
    display:block;
    font-size:11px;
    color:#F00;
    margin:10px 0 0;
}
.grey {
	color:#999;
}

.darkgrey {
	color:#333;
}

.w10 {
	width:10%;
}

.w20 {
	width:20%;
}

.w25 {
    width:25%;
}

.w27 {
    width:27%;
}

.w30 {
	width:30%;
}

.w38 {
    width:38%;
}

.w40 {
	width:40%;
}

.w45 {
    width:45%;
}

.w50 {
	width:50%;
}

.w60 {
	width:60%;
}

.w70 {
	width:70%;
}

.w80 {
	width:80%;
}

.w90 {
	width:90%;
}

.w100 {
	width:100%;
}

/* TODO - we need a separate stylesheet(s) for signin/signup screens */
/* Following is a style adjustment for the sign-in table spacing */
#sign-in td { padding: 4px; }

.spinner-large {
  background-image: url('/assets/shared/spinner.gif');
  background-repeat:no-repeat;
  background-position:center;
  width:128px;
  height:128px;
}

// disable text selection for the in-session panel, ftue, and arbitrary elements marked with .no-selection-range
div[layout-id=session], div[layout-id=ftue], .no-selection-range {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
