/* mac hide\*/ 
html,
body {height:100%} 
/* end hide */ 

body { 
  padding:0; 
  margin:0; 
  text-align:center; /* for ie6 and under */ 
  min-width:1000px;/* for mozilla*/ 
  background:transparent url(../images/background.png) repeat;
  color: #222; 
  font-family:Helvetica;
}
#gradient-background {
  background:transparent url(../images/gradient-background.png) repeat-y center top;
  min-height:100%;
  position:relative;
}
#top-background {
  background:transparent url(../images/top-background.png) repeat-x left top;
  /*height:100%;*/
}
#outer{ 
  /*min-height:100%; */
  width:1000px; /* add 2px if borders are not used */ 
  text-align:left; 
  margin:auto; 
  position:relative; 
  background-image:url(../images/vertical-separator.png);
  background-repeat:no-repeat;
  background-position:690px 235px;
}
[dir=rtl] #outer {
  text-align: right;
}
  
* html #outer{height:99.9%;} /*For ie as treats height as min-height anyway - also addreeses rounding bug at bottom of screen in IE*/ 
#header{ 
  min-height:81px; 
  background-image:url(../images/header_new.jpg);
  position:relative; 
  text-align:center;
} 
* html #header{height:81px} 
a#logo-link {
  display:block;
  width:300px;
  height:81px;
  text-decoration:none;
  margin: 0 auto;
}

#top-menu {
  min-height:28px;
  margin-bottom:20px;
}
* html #top-menu {height:28px}
#top-menu ul {
  margin:0;
  padding:0;
  list-style-type:none;
  /*background-image:url(../images/top-menu-big-separator.png);
  background-repeat:no-repeat;
  background-position:top left;
  padding-left:6px;*/
}
#top-menu ul li {
  display:inline-block;
  
  /* this is for IE7 */
  zoom:1;
  *display:inline;
  
  height:28px;
  background-image:url(../images/top-menu-separator.png);
  background-repeat:no-repeat;
  background-position:top right;
  margin:0;
  padding-right:3px;
}
#top-menu ul.float-right {
  background-position:top right;
}
#top-menu ul.float-right li {
  background-position:top left;
  padding:0 0 0 3px;
}
/*#top-menu .separator {
  width:3px;
  height:28px;
  display:inline-block;
}*/
#top-menu ul li a {
  padding:0 20px 0 17px;
  display:table-cell;
  font-weight:normal;
  color:#343238;
  vertical-align:middle;
  height:28px;
  font-size:0.9em;
}
#top-menu ul li a.active,
#top-menu ul li a:hover {
  background-image:url(../images/top-menu-active.png);
  background-repeat:repeat-x;
  color:#00f053;
  text-decoration:none;
}

/* Remove unnecessary separators */
[dir=ltr] #top-menu ul.float-left li:last-child {
    background-image: none;
}
[dir=rtl] #top-menu ul.float-left li:first-child {
    background-image: none;
}
[dir=ltr] #top-menu ul.float-right li:first-child {
    background-image: none;
}
[dir=rtl] #top-menu ul.float-right li:last-child {
    background-image: none;
}

#right { 
  position:relative;/*ie needs this to show float */ 
  width:310px; 
  float:right; 
/*  color:white;*/
  text-align:right;
} 

#footer-container {
  background: url(../images/bottom-background.png) repeat-x;
  clear:both;
  width:100%;
  color: #b5b5b5; 
  left:0; 
  bottom:0; 
  position: absolute; 
}
#footer { 
  width:1000px; /* add 2px if borders are not used on the #outer div */ 
  height:128px; 
  border-top: 15px solid white; /* clear vertical separator */
  background-color: #49494b;
  /*background-image:url(../images/footer.jpg);
  background-repeat:no-repeat;
  background-position:left top;*/
  /*padding: 0 6px 0 6px;*/
  margin: 0 auto;
  text-align:left;
}
[dir=rtl] #footer {
  text-align:right;
}

* html #footer {/*only ie gets this style*/ 
  \height:130px;/* for ie5 */ 
  he\ight:128px;/* for ie6 */ 
  margin-bottom:-1px; 
}
#clearfooter {width:100%;height:145px;clear:both} /* to clear footer */ 
#footer .menu {
  float: left;
  margin-left:40px;
  width: 326px;
}
#footer .menu h2 {
  background-color:#3e3d41;
  font-size:0.9em;
  color:#e0e0e0;
  font-weight:normal;
  text-transform:uppercase;
  padding:2px;
  margin:10px 0 10px 0;
}
#footer .menu ul {
  margin:0;
  padding:0;
  list-style-type:none;
}
#footer .menu ul li {
  margin: 0 20px 5px 10px;
}
[dir=rtl] #footer .menu ul li {
    margin: 0 10px 5px 20px;
}
#footer .menu ul.two-columns li {
  float:left;
  width: 150px;
  margin: 0 0 5px 10px;
}
[dir=rtl] #footer .menu ul.two-columns li {
  margin: 0 10px 5px 0;
  float: right;
}
#footer .menu ul li a {
  font-weight:normal;
  color:#b5b5b5;
}
#footer .menu ul li a.active,
#footer .menu ul li a:hover {
  color:#fff;
  text-decoration:none;
}


#center-content { 
  width:675px; 
  float:left; 
  margin-right:15px;
} 
#center-content p {padding-left:3px} 
#center-content h1 {
  font-size:1.5em;
  color:#979797;
  font-weight:normal;
  margin:20px 0 10px 0;
  background-image:url(../images/content-separator.png);
  background-repeat:repeat-x;
  background-position:bottom;
}
#center-content h1.first {
  margin-top:0;
}

#flash-mixer-container {
float:left; /* there is some problem with spacing when including div with block display, better use float, margin and clear-b */
margin-bottom: 10px;
}

/*              GRAY BOX and RED BOX            */
.gray-box,
.gray-box-left {
  background-color:#f5f5f5;
  margin-bottom:20px;
}
/*.gray-box-left {
  background-image:url(../images/gray-box-left.png);
  background-position:left;
  background-repeat:repeat-y;
}*/
.gray-box-left tbody { /* for IE */
  background-repeat:repeat;
}

.red-box-left {
  background:red;
  margin-bottom:10px;
  color:white;
}

.red-box a, .red-box-left a {
color:white;
}

/* add bottom border to compensate column borders */
/*table.gray-box,
table.gray-box-left { 
  border-bottom: 1px solid #e0e0e0;
}*/

/* used for displaying rating stars in table and count of rates for each star */
table.larger-cells td  div {
  height:25px;
  line-height:25px;
}

table.gray-box td.selected,
table.gray-box-left td.selected {
  background-color:#e0e0e0;
}

/* in case if our gray box is div instead of table */
div.gray-box,
div.red-box {
  padding: 10px;
}
div.gray-box-left {
  padding: 10px 10px 10px 16px;
}
div.red-box-left {
  padding: 5px 10px 5px 16px;
}

div.gray-box p.last,
div.gray-box-left p.last {
  margin-bottom:0;
}

.caption-bar {
  background-image:url(../images/caption-bar.png);
  color:white;
}
/*
  set up correct padding for table captions (th) and div captions (h2)
  table paddings are differnet because colums have borders and we need 5px more space because of that
*/
.caption-bar th,
.caption-bar h2 {
  font-weight:normal;
  padding: 5px 15px 5px 15px;
  font-size:1em;
}
.gray-box-left .caption-bar th {
  padding-left: 21px;
}
.caption-bar h2 {
  padding: 5px 0 5px 10px;
}
div.caption-bar.first {
  margin: -10px -10px 10px -10px; /* use negative margins to cancel div padding */
}
div.caption-bar {
  margin: 0 -10px 10px -10px; /* use negative margins to cancel div padding */
}
.gray-box .caption-bar h2, .gray-box-left .caption-bar h2 {
  margin:0;
}
.gray-box-left .caption-bar h2 {
  padding-left: 16px;
}
[dir=rtl] .gray-box-left .caption-bar h2 {
  padding-right: 16px;
}
.gray-box-left div.caption-bar {
  margin-left: -16px;
}

/*.gray-box-left .caption-bar .first {
  background-image:url(../images/caption-bar-left.png);
  background-repeat:repeat-y;
  background-position:left;
}*/


/*              TABLE GRAY BOX            */
table.gray-box tr td {
  padding: 0 10px 0 10px;
}
table.gray-box-left tr td { /* we have left decoration border with 6px, therefore move the content 6px more from left */
  padding: 0 10px 0 16px;
}
table.gray-box-left td img.icon,
table.gray-box td img.icon { /* take user icons out of layout so that they would not impact TD height */
  position:absolute;
}
table.gray-box tr td div,
table.gray-box-left tr td div {
  padding: 5px;
}
/*table.gray-box tr td div.left-align, table.gray-box-left tr td div.left-align { By default align to left */
/*table.gray-box tr td div,
table.gray-box-left tr td div {
  border-left: 1px solid #e0e0e0;
}
table.gray-box tr td div.right-align,
table.gray-box-left tr td div.right-align {
  border-left:none;
  border-right: 1px solid #e0e0e0;
}*/


/*              TWO BOX SET for GRAY BOX            */
.two-box-set .gray-box-left {
  width:49.5%;
  float:left;
}
.two-box-set .gray-box {
  width:49.5%;
  float:right;
}
.two-box-set div.gray-box-left, .two-box-set div.gray-box {
  width: 46%;
}


/*              BOOKMARKS and EMBED            */

#bookmarks {
  margin-top:5px;
  text-align:left;
}
#bookmarks img {
  vertical-align:top;
}
#facebook-like {
  float: right;
  margin-bottom:-20px; /* Next heading will have 20px top margin anyway */
}

#embed {
  height:25px;
  line-height:25px;
  margin:10px 0 -2px 0;
}
#embed input {
  width:75%;
  float:right;
}


/*              COMMENTS            */
#comments textarea {
  width: 100%;
  margin-bottom: 5px;
  padding: 0;
}
#comments .submit-line input { /* Make Post button on the right */
  float:right;
}
.comment {
  margin-bottom: 5px;
}
.comment .username {
  font-weight:bold;
}
.comment .text {
  font-size:0.9em;
}
.comment .time-line {
  font-size:0.9em;
  color:#979797;
  margin-top:5px;
}


/*              DIALOGS             */
.dialog {
  position:fixed; /* Need this to put the dialog in center of the screen */
  left:0;
  top:0;
  display:none;
  z-index:9999;
  max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */
  color:#222;
  margin-left:12px; /* default, width of left corner */
}
.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
 background:transparent url(../images/dialog.png) no-repeat top right;
 _background-image:url(../images/dialog.gif);  /* IE6 sucks */
}

.dialog .close {
  position:absolute;
  right:-10px;
  top:-10px;
  background:transparent url(../images/dialog-close.png) no-repeat top right;
  width:50px;
  height:50px;
  z-index:10000;
  cursor:pointer;
}
[dir=rtl] .dialog .close {
  right: inherit;
  left: -40px;
}

.dialog .content {
 position:relative;
 zoom:1;
 _overflow-y:hidden;
 padding:0px 25px 0px 0px;
 min-height:200px;
}


/* pad the help menu (help buttons inside) */
#help-menu .content {
 padding:50px 28px 0 0;
 min-height:150px;
}

/* this is for last button in menu */
#help-menu .content .last {
 margin: 0;
}

.dialog .t {
 /* top+left vertical slice */
 position:absolute;
 left:0px;
 top:0px;
 width:25px; /* top slice width */
 margin-left:-25px;
 height:100%;
 _height:1600px; /* arbitrary long height, IE 6 */
 background-position:top left;
}

.dialog .b {
  /* bottom */
  position:relative;
  width:100%;
}

.dialog .b,
.dialog .b div {
  height:30px; /* height of bottom cap/shade */
  font-size:1px;
}

.dialog .b {
  background-position:bottom right;
}

.dialog .b div {
  position:relative;
  width:25px; /* bottom corner width */
  margin-left:-25px;
  background-position:bottom left;
}
[dir=rtl] .dialog .b div {
  float: left;
}

#center-content .dialog h2,
#center-content .dialog p {
  margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
  padding:0.5em 0px 0.5em 0px;
}

.dialog h2 {
  padding-bottom:0px;
}


#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}

.dialog ol {
  margin:0;
}
.dialog li {
  margin-bottom:10px;
  
}


/*              HELP BUTTONS            */
.mixer-buttons {
  float: right;
}
.help-trigger, .help-button, .attribution-button {
  width:153px;
  height:38px;
  line-height:38px;
  cursor:pointer;
  background: transparent url(../images/help-button.png) no-repeat top right;
  text-align:center;
  text-transform:lowercase;
  margin-top:10px;
}
.help-trigger a, .help-button a, .facebook-button a, .attribution-button a {
  font-size:1em;
  font-weight:bold;
  color:white;
  margin-left: 10px;
}
.help-trigger a:hover, .help-button a:hover, .facebook-button a:hover, .attribution-button a:hover {
  text-decoration:none;
  color: #ddd;
}

.help-button {
  width:250px;
  margin:0 0 10px 0;
  background: transparent url(../images/help-button-wide.png) no-repeat top right;
}
.attribution-button {
  background: transparent url(../images/attribution-button.png) no-repeat top right;
}




/*              COMPOSITIONS BY SOUNDS          */
table#sound-categories {
  width:100%;
}

#sounds a {
  padding:5px;
  display:inline-block;
}
#sounds .caption-bar {
  text-align:center;
}
#sounds .caption-bar a {
  padding:5px;
  display:inline;
  color:#fff;
}
#sounds .caption-bar strong {
  color:#00f053;
}


/*              TOP COMPOSITIONS          */
table#composition-top {
  width:70%;
}


/*              HOW to EMBED / POST to FACEBOOK          */
.guide h3 {
  background-image:url(../images/caption-bar.png);
  color:white;
  margin-bottom: 5px;
  padding: 5px;
}
.guide h3.first {
  margin-top:5px;
}
.guide p {
  margin:0;
  padding: 8px 0;
}
.guide h2 {
  margin-top:5px;
}


/*              EDIT COMPO          */
#edit-compo {
  width:100%;
  padding-top:10px;
  padding-bottom:10px;
}
#edit-compo td.label {
  vertical-align:top;
  font-size:0.9em;
}
#edit-compo textarea {
  width:100%;
}
#edit-compo input#compo-url {
  width:100%;
}

#edit-compo .submit-line {
  text-align:right;
}


/*              LOGIN FORM          */
#login-form input {
  float:right;
}
[dir=rtl] #login-form input {
  float:left;
}
#login-form input.text {
  width:45%;
}


/*              ATTRIBUTION          */
#attribution-page ul {
  margin-top:0;
  margin-bottom:10px;
}


/*              DFP ADS             */

.mixer-ad-container {
  margin-top:10px;
  margin-bottom:-10px;
}
.mixer-ad-container-2 {
  margin-top:5px;
  margin-bottom:0px;
}
.sidebar-ad-container {
  margin-bottom:15px;
  float:right;
}
.top-banner-container {
  margin:0 0 25px 0;
}
.sidebar-skyscraper-container {
  margin-left:15px;
}


/*              HOME PAGE FIRST PARAGRAPH             */
/* currently not used */
#index-intro {
 width:410px;
 padding-bottom:0;
 height:50px; /* The height of banner on the right */
}
 

/*              BETA TESTING GUIDE             */
.image-text-container {
  position:relative;
  margin-bottom:20px;
  margin-top:20px;
}

#beta-testing-intro {
  width:335px;
  position:absolute;
  bottom:0;
  right:0;
  margin:0;
}


/*              RATE BOX             */
#rate-box {
  margin-top: 10px;
  line-height:24px;
  height:24px;
}
#rate-stars {
  margin:0 auto;
  width: 130px; 
}


[dir=rtl] #rates-table {
    float: right;
}
#rated-compos {
  margin-left: 10px;
  min-width: 250px;
}
[dir=rtl] #rated-compos {
    float: right;
    margin: 0 10px 0 0;
}
.rate-row {
  cursor:pointer;
}


/*            LEADERBOARD BLOCK           */
#leaderboard-block {
  padding-bottom: 19px;
}


/*                TAGS                  */
.tag {
  margin-left:15px;
}

#tag-compos a {
  margin-right: 5px;
}
#tag-compos p {
  margin: 0 0 20px 0;
  padding: 0;
}


/*          GENERAL STUFF         */
.float-right {float: right;}
.float-left {float: left;}

.clear-l,
.clear-r,
.clear-b {
  margin: 0;
  padding: 0;
  height: 1px;
  font-size: 1px;
}
.clear-l {
  clear: left;
}
.clear-r {
  clear: right;
}
.clear-b {
  clear: both;
}

.left-align {text-align:left}
.right-align {text-align:right}
.partial-width {width:70%}

.right-align-w90 {
max-width:90px;
}
.right-align-w90 span {
float:right;
white-space:nowrap;
}
.w150-ellipsis {
max-width:150px;
overflow:hidden;
text-overflow:ellipsis;
}

a {
text-decoration:none;
font-weight:bold;
color:#616063;
font-size:0.9em;
}
a:hover {
  text-decoration:underline;
}

table {
  border-spacing:0;
}
div,p  {margin-top:0} /*clear top margin for mozilla*/ 
a img {
  border:none; /* for IE */
}


[dir=ltr] th {
  text-align:left;
}
[dir=rtl] th {
  text-align:right;
}



/*          SEARCH        */
#center-content .gsc-control-cse {
padding:0;
}


/*				POPULAR COMPOSITIONS				*/
#popular-compos h2 {
  font-size:1.3em;
  color:#979797;
  font-weight:normal;
  margin:30px 0 10px 0;
  background-image:url(../images/content-separator.png);
  background-repeat:repeat-x;
  background-position:bottom;
}
#popular-compos {
	text-align: left;
}
[dir=rtl] #popular-compos {
	text-align: right;
}
#popular-compos a {
	margin-right: 10px;
}
[dir=rtl] #popular-compos a {
    margin-left: 10px;
    margin-right: 0;
}
#popular-compos p {
	line-height: 1.3em;
}

#language-menu {
float:right;
margin: 5px 11px 0 0;
border: 1px solid #00f053;
background-color: #00f053;
padding: 1px 1px 1px 2px;
}

/*              Attribution             */
.dialog .attribution-list {
  padding: 20px 0 0 15px;
  margin-bottom: 0;
}
[dir=rtl] .dialog .attribution-list {
    padding: 20px 15px 0 0;
}
#attribution.dialog p {
  padding: 25px 25px 0 0;
}
#attribution ul {
  margin-top:0;
  margin-bottom:0;
}
#attribution li {
  padding-bottom: 10px;
  margin-bottom: 0;
}

#change-password-link {
  font-size:1.5em;
  margin:20px 0 20px 0;
}


/*              Adsense Banners             */

#adsense-bottom {
margin: 20px 0 0 0;
float: left;
}