/****************************************************************************
  Copyright (c) 2010-2012 Michael Berkovich, Ian McDaniel

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be
  included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
****************************************************************************/

@mixin rounded-corners($radius) {
  -webkit-border-radius: $radius;
   -khtml-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
       -o-border-radius: $radius;
          border-radius: $radius;
}

@mixin shadow($info) {
	box-shadow:$info;
	-moz-box-shadow:$info;
	-webkit-box-shadow:$info;
}

@mixin transition($info) {
	-webkit-transition: all 1500ms cubic-bezier $info; 
	   -moz-transition: all 1500ms cubic-bezier $info; 
	    -ms-transition: all 1500ms cubic-bezier $info; 
	     -o-transition: all 1500ms cubic-bezier $info; 
	        transition: all 1500ms cubic-bezier $info; 	
}

/****************************************/
/*** General guidelines
/****************************************/

.tr8n {
	width:100%; 
	font-size:11px; 
	font-family:arial;
	
	.section {
		background-color:#fff;
		padding:10px;
		margin-bottom:15px;
		border:solid 1px #e8e8e8;
		border-color:#e8e8e8 #bababa #bababa #e8e8e8;
	 	@include rounded-corners(10px);	
		
		&.grey {
			background-color:#f9f8f7;
		}

		&.blue {
			background-color:#EFF8FF;
		}
		
		&.yellow {
			background-color:#FDFFF0;	
		}
	}
	div {
		font-family:arial;
	}   
	a {
		text-decoration:none; 
		color:#16b; 
		outline:none; 
		border:0px;
	} 
	a:hover {
		text-decoration:underline;
		img {
			border:0px;
		}
	}
	table {
		width:100%;
		border-collapse: collapse; 
		font-size:12px; 
		padding:0px; 
		margin:0px;
	}
	td {
		vertical-align:top; 
		padding:0px; 
		spacing:0px;
	}
	th {
		vertical-align:top;
		text-align:left; 
		padding:0px; 
		spacing:0px;
	}
	input {
		border: 1px solid #ccc; 
		padding: 3px; 
		margin: 0px;
	 	@include rounded-corners(10px);	
	}   
	select {
		border: 1px solid #ccc; 
		padding: 3px; 
		margin: 0px;
		background-color: #E6E6E6;
		width: auto;
	 	@include rounded-corners(10px);	
	}   
	textarea {
		border:1px solid #ccc; 
		padding:3px;
	 	@include rounded-corners(10px);	
	}   
	select {
		border:1px solid #ccc; 
		padding:3px;
	}  
	.pagination {
		padding:0px; 
		margin:0px;
	}
}

/****************************************/
/*** Classes for the translatable elements
/****************************************/

.tr8n_not_translated                           {border-bottom: 2px solid red !important;}
.tr8n_translated                               {border-bottom: 2px solid green !important;}
.tr8n_fallback                                 {border-bottom: 2px solid yellow !important;}
.tr8n_language_case                            {border: 1px dotted blue !important;}
.tr8n_locked                                   {border-bottom: 2px solid blue !important;}

/****************************************/
/*** Classes for the popup windows
/****************************************/

.tr8n_splash_screen {
	margin:10px; 
	background:white; 
	padding:5px; 
	border:solid 1px #bababa; 
	border-color: #bababa #e8e8e8 #e8e8e8 #bababa;
 	@include rounded-corners(10px);	
}


.section_title                                  {padding-top:10px; border-bottom: 1px solid #ccc; margin-bottom:10px; color:black;font-size:18px;}  
.section_box                                    {border: 1px dotted #ccc; padding:10px; margin-top:10px; margin-bottom:15px;}
.section_box.colored                            {background: #f9f8f7;}
.section_box.locked                             {background: #F1FFEF;}
     
.small_section_title                            {padding-top:5px; border-bottom: 1px solid #ccc; margin-bottom:10px; color:black; font-size:12px; font-weight: bold;}  

.topic_header                                   {color: grey; padding-bottom:5px;}
.topic_value                                    {padding-top:5px; padding-bottom:5px;}

.tr8n_right_horiz_list                          {float:right;overflow:hidden;text-align:left;list-style-type:none;font-family:arial;font-size:12px;margin-top:0px;}
.tr8n_right_horiz_list li                       {margin-right:-11px;border-right:solid 1px #ccc;padding:0px 10px;margin-left:10px;float:left;}

.tr8n_translator {
	position: absolute;
	top: 0;
	left: 0;
	font-family: verdana; 
	font-size:11px; 
	width: 400px;
	background: #f4f4f4;
	border:solid 1px #e8e8e8;
	border-color:#e8e8e8 #bababa #bababa #e8e8e8;
	padding: 0;
	margin: 0;
	z-index: 10000;
 	@include rounded-corners(10px);	
 	@include shadow(2px 3px 3px 2px rgba(0,0,0,0.6));	

	img {
		vertical-align:text-top !important;
	}
	
	a {
		text-decoration:none; 
		color:#16b; 
		outline:none; 
		border:0px;
	}

	.original_text {
		background-color:#f9f8f7;
		border: 1px solid #ccc;
		padding:5px;
		margin-bottom:5px;
	 	@include rounded-corners(10px);	
	}

	.keyboardInput {
		padding:10px;
		height:60px;
		background:#feffef;
		border:solid 1px #ccc;
		min-width:365px;
		max-width:365px;
		min-height:60px;
		max-height:400px;
	 	@include rounded-corners(10px);	
	}
}

.tr8n_translator .stem                         {position:absolute;margin:0;}
.tr8n_translator .stem.top_left                {top:-12px;}
.tr8n_translator .stem.top_right               {top:-12px;-moz-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: fliph;}
.tr8n_translator .stem.bottom_left             {bottom:-12px;-moz-transform: scaleY(-1); -webkit-transform: scaleY(-1); transform: scaleY(-1); filter: flipv;}
.tr8n_translator .stem.bottom_right            {bottom:-12px;-moz-transform: scaleX(-1), scaleY(-1); -webkit-transform: scaleX(-1), scaleY(-1); transform: scaleX(-1), scaleY(-1); filter: fliph, flipv;}

.tr8n_translator_content {
	font-family: verdana; 
	font-size:11px; 
	width: 100%;
    height: 100%;
	background: #f4f4f4;
	padding: 0;
	margin: 0;
	z-index: 10000;

	img {
		vertical-align:text-top !important;
	}
	
	a {
		text-decoration:none; 
		color:#16b; 
		outline:none; 
		border:0px;
	}

	.original_text {
		background-color:#f9f8f7;
		border: 1px solid #ccc;
		padding:5px;
		margin-bottom:5px;
	 	@include rounded-corners(10px);	
	}

	.keyboardInput {
		padding:10px;
		height:60px;
        width:90%;
		background:#feffef;
		border:solid 1px #ccc;
		min-height:60px;
	 	@include rounded-corners(10px);
	}
}

.tr8n_translator_content a:hover                       {text-decoration:underline}
.tr8n_translator_content a img                         {border:0px}
.tr8n_translator_content .supplemental                 {float:right; padding:2px;}
.tr8n_translator_content .quiet                        {color: #666;}  
.tr8n_translator_content .small                        {font-size:11px;}  
.tr8n_translator_content .desc                         {color:grey;font-size:10px;padding-left:5px;padding-top:1px;border-left:solid 1px #ccc;margin-left:3px;}
.tr8n_translator_content .strong                       {font-weight:bold;}
.tr8n_translator_content .quote                        {padding:10px;}
.tr8n_translator_content .quote img                    {vertical-align:middle !important}
.tr8n_translator_content .section                      {margin:10px 0 15px 0}
.tr8n_translator_content .section_title                {border-bottom:solid 1px #ccc;padding:5px 0;margin-bottom:10px;}
.tr8n_translator_content .tip                          {color:grey; font-size:10px; padding-top:10px;}
.tr8n_translator_content .actions                      {font-size:10px; border-bottom:dotted 1px #ccc; overflow:hidden;list-style-type:none; margin:0px;padding:0px;padding-bottom:5px; margin-top:10px;}
.tr8n_translator_content .actions li                   {padding-left:0px; padding-top:5px;font-weight:bold}
.tr8n_translator_content .hd                           {font-size:10px;text-transform: uppercase;color:#444;padding:5px;margin: 5px;}
.tr8n_translator_content .bd                           {border:solid 1px #bababa;border-color:#bababa #e8e8e8 #e8e8e8 #bababa;border-radius:10px;margin:5px;background-color: white;}
.tr8n_translator_content .spinner                      {text-align:center;padding:10px;}
.tr8n_translator_content .votes_container              {border-bottom:1px dotted #ccc; max-height:350px; overflow:auto; font-size:11px;}
.tr8n_translator_content .hints_container              {font-size:10px; padding-left:10px;}
.tr8n_translator_content .tokens_container             {padding-top:10px; font-size:10px; padding-bottom:5px; border-bottom:dotted 1px #ccc;}
.tr8n_translator_content .buttons_container            {padding-top:10px; padding-bottom:15px;text-align:center;}
  
.translator_btn                                 {position:relative;border:0;padding:0;margin:0 2px 0 -2px;cursor:pointer;overflow:visible;background:transparent url('/assets/tr8n/site_sprite.gif') no-repeat right -100px;font-size:11px;font-weight:bold;text-align:center;font-family:Arial;vertical-align:middle;}
.translator_btn span                            {position:relative;display:block;white-space:nowrap;background:transparent url('/assets/tr8n/site_sprite.gif') no-repeat left top;}
button::-moz-focus-inner                        {border:none;}
.translator_submit_btn                          {padding:0 10px 0 0;background-position:right -35px;}
.translator_submit_btn span                     {padding:0px 0 0px 10px;line-height:30px;height:30px;background-position:left 0;color:#fff;font-size:14px;}
.translator_small_btn                           {padding:0 10px 0 0;background-position:right -35px;}
.translator_small_btn span                      {padding:0px 0 0px 10px;line-height:30px;height:30px;background-position:left 0;color:#fff;font-size:12px;}

.language_selector_trigger                      {cursor: pointer; font-family:arial; font-size:12px; vertical-algin:middle}
.language_selector                              {position: absolute;top: 0;left: 0;font-family: verdana;width: 14em;background: #f9f8f7;padding: 0;}

.tr8n_dashboard_chart {
	text-align:center; 
	width:100%; 
	border:1px dotted #ccc; 
	background-color:white; 
	border:solid 1px #e8e8e8;
	border-color:#e8e8e8 #bababa #bababa #e8e8e8;
 	@include rounded-corners(10px);	
}

.tr8n_language_selector {
	position: absolute; 
	top: 0; 
	left: 0; 
	border:solid 1px #e8e8e8;
	border-color:#e8e8e8 #bababa #bababa #e8e8e8;
	border-width:1px 2px 2px 1px;
	padding:0 5px;
	text-align:left;
	width:300px;
	background:#f4f4f4 !important;
	font-size:10px;
	font-family:arial; 
	z-index: 11000;
 	@include rounded-corners(10px);	
 	@include shadow(2px 3px 3px 2px rgba(0,0,0,0.6));	
	.head {
		font-size:10px;
		text-transform: uppercase;
		color:#444;
		padding-bottom:5px;
	}
	.inner {
		background:#fff;
		border:solid 1px #bababa;
		border-color:#bababa #e8e8e8 #e8e8e8 #bababa;
		padding:5px;
	 	@include rounded-corners(10px);	
		font-size:11px;
	}
	.action {
		float:right
	}
	.foot {
		text-align:left;
		padding:5px;
		font-size:11px;
	}
	a {
		text-decoration:none; 
		color:#16b; 
		outline:none; 
		border:0px;
		img {
			border:0px;
		}
	}
	a:hover {
		text-decoration:underline
	}
}


.tr8n_language_case_manager                               {position: absolute;top: 0;left: 0;font-family: verdana; font-size:11px; width: 400px;background: #f4f4f4;border:solid 1px #e8e8e8;border-color:#e8e8e8 #bababa #bababa #e8e8e8;padding: 0;margin: 0;z-index: 10000;border-radius:10px;-webkit-box-shadow:2px 3px 3px 2px rgba(0,0,0,0.6);-moz-box-shadow:2px 3px 3px 2px rgba(0,0,0,0.6);box-shadow:2px 3px 3px 2px rgba(0,0,0,0.6);}
.tr8n_language_case_manager img                           {vertical-align:text-top !important;}
.tr8n_language_case_manager a                             {text-decoration:none; color:#16b; outline:none; border:0px;}
.tr8n_language_case_manager a:hover                       {text-decoration:underline}
.tr8n_language_case_manager a img                         {border:0px}
.tr8n_language_case_manager .supplemental                 {float:right; padding:2px;}
.tr8n_language_case_manager .quiet                        {color: #666;}  
.tr8n_language_case_manager .small                        {font-size:11px;}  
.tr8n_language_case_manager .desc                         {color:grey;font-size:10px;padding-left:5px;padding-top:1px;border-left:solid 1px #ccc;margin-left:3px;}
.tr8n_language_case_manager .strong                       {font-weight:bold;}
.tr8n_language_case_manager .stem                         {position:absolute;margin:0;}
.tr8n_language_case_manager .stem.top_left                {top:-12px;}
.tr8n_language_case_manager .stem.top_right               {top:-12px;-moz-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: fliph;}
.tr8n_language_case_manager .stem.bottom_left             {bottom:-12px;-moz-transform: scaleY(-1); -webkit-transform: scaleY(-1); transform: scaleY(-1); filter: flipv;}
.tr8n_language_case_manager .stem.bottom_right            {bottom:-12px;-moz-transform: scaleX(-1), scaleY(-1); -webkit-transform: scaleX(-1), scaleY(-1); transform: scaleX(-1), scaleY(-1); filter: fliph, flipv;}
.tr8n_language_case_manager .hd                           {font-size:10px;text-transform: uppercase;color:#444;padding:5px;margin: 5px;}
.tr8n_language_case_manager .bd                           {border:solid 1px #bababa;border-color:#bababa #e8e8e8 #e8e8e8 #bababa;margin:5px;background-color: white;border-radius:10px;}
.tr8n_language_case_manager .spinner                      {text-align:center;padding:10px;}
.tr8n_language_case_manager .votes_container              {border-bottom:1px dotted #ccc; max-height:350px; overflow:auto; font-size:11px;}
.tr8n_language_case_manager .hints_container              {font-size:10px; padding-left:10px;}
.tr8n_language_case_manager .tokens_container             {padding-top:10px; font-size:10px; padding-bottom:5px; border-bottom:dotted 1px #ccc;}
.tr8n_language_case_manager .buttons_container            {padding-top:10px; padding-bottom:15px;text-align:center;}
.tr8n_language_case_manager .original_text                {background-color:#f9f8f7;border: 1px dotted #ccc;padding:5px;margin-bottom:5px;}
.tr8n_language_case_manager .quote                        {padding:10px;}
.tr8n_language_case_manager .quote img                    {vertical-align:middle !important}

.tr8n_language_strip                            {text-align:center; color:#777;}
.tr8n_language_strip a                          {text-decoration:none; color:#777; outline:none; border:0px; font-size:10px;}
.tr8n_language_strip a img                      {border:0px;}
.tr8n_language_strip a:hover                    {text-decoration:underline}

.language_list                                  {overflow:hidden;list-style-type:none;margin:0px;padding:0px;}
.language_list li                               {background: white;font-size:11px;font-family:verdana;border-bottom:solid 1px #eee;margin-bottom:-1px;margin:0px;padding:2px;cursor:pointer;}
.language_list li:hover                         {background: #F1F5FF;}

.glossary_table                                 {}
.glossary_table td                              {padding:4px;vertical-align:top; font-size:10px;}


.tr8n_lightbox_overlay                          {position: fixed; top: 0%; left: 0%; width: 100%; height: 100%; background-color: white; z-index:1001; -moz-opacity: 0.5; opacity:.50; filter: alpha(opacity=50); }
.tr8n_lightbox                                  {position: fixed; top: 50%; left: 50%; width: 50%; height: 80%; margin-left:-25%; margin-top:-40%; border:solid 10px rgba(0,0,0, 0.2); border-radius:10px; z-index:1002;}

.tr8n_lightbox_content .inner                   {height:100%; background-color:#f8f7f6; position:relative;}
.tr8n_lightbox_content .inner .hd               {background-color:#f1f4fa; padding: 10px; border-bottom:1px dotted #ccc; font-size:14px; font-weight:bold;}
.tr8n_lightbox_content .inner .bd               {padding: 10px;}
.tr8n_lightbox_content .inner .ft               {background-color:white; text-align:center; padding:15px; position:absolute; left:0px; right:0px; bottom:0px; height:30px;}


/****************************************/
/*** Classes for the feature tabs
/****************************************/
   
.translations_navigation {
	height:70px; 
	position:relative; 
	padding:15px 15px 0px; 
	padding-top:20px;
	padding-left:15px;
	background-color:#f1f4f9; 
	border:1px solid #ccc; 
	margin:0px; 
	margin-bottom:10px;
	border-bottom:solid 1px #ddd;
	border-color:#e8e8e8 #bababa #bababa #e8e8e8;
 	@include rounded-corners(10px);	
}

.translations_tab_nav                     {list-style-type:none;bottom:-1px !important;position:absolute;margin:0px;padding:0px;font-family:arial;}
.translations_tab_nav li                  {float:left;margin-right:2px;cursor:pointer;text-align:bottom;}
.translations_tab_nav li a                {display:block;padding:6px 0px 6px 10px; outline:none;}

.translations_tabs                        {margin-left:5px;zoom:1}
.translations_tabs li                     {background: url('/assets/tr8n/site_sprite.gif') no-repeat right -255px;font-size:12px;font-weight:bold;margin:0;position:relative;z-index:1}
.translations_tabs li a                   {padding:13px 30px 6px 6px;color:#1166bb;cursor:pointer;text-decoration:none;line-height:14px;}
.translations_tabs li a:hover             {text-decoration:none}
.translations_tabs li.current             {margin-left: -30px;background-position:right -360px;z-index:2}
.translations_tabs li.current a           {padding-left:30px;background: url('/assets/tr8n/site_sprite.gif') no-repeat left -325px;color: #333;font-size:13px;}
.translations_tabs li.last                {background-position:right -290px;}
.translations_tabs li.last a              {padding-right:30px;}
.translations_tabs li.last_current        {margin-left: -25px;background-position:right -430px;}
.translations_tabs li.last_current a      {padding-left:30px;color: #000;}
.translations_tabs li.first a             {padding-left:30px;background:url('/assets/tr8n/site_sprite.gif') no-repeat 0 -220px;}
.translations_tabs li.first_current       {margin:0}
.translations_tabs li.first_current a     {background-position:0 -395px;color: #000;}

/****************************************/
/*** Classes for the admin user page
/****************************************/
.tr8n_admin                                {font-size: 12px; font-family:arial}
.tr8n_admin h1                             {font-size: 20px; font-weight:bold; border-bottom: 1px solid #ccc; margin-bottom: 10px; padding-bottom:3px; padding-top:5px; }
.tr8n_admin h2                             {font-size: 16px; font-weight:bold; border-bottom: 1px solid #ccc; margin-bottom: 10px; padding-bottom:3px; padding-top:5px; }

.tr8n .admin_table                         {width: 100%; font-size: 12px; border: 1px #e5e5e5 solid; border-collapse: collapse; background-color: white; margin-bottom: 10px; }
.tr8n .admin_table td                      {padding: 5px; border: 1px solid #e5e5e5; vertical-align:top; text-align:left;}
.tr8n .admin_table th                      {background-color: #efefef; border: none; border: 1px #e5e5e5 solid; font-weight:bold; padding: 5px; vertical-align:top; text-align:left;}
.tr8n .admin_table tr:hover                {background-color: #eee; }
.tr8n .admin_table td.numeric              {text-align: right; }
.tr8n .admin_table th.numeric              {text-align: right; }

/****************************************/
/***  Pure CSS Buttons.
/***  Learn more ~ http://www.halmatferello.com/lab/pure-css-buttons/
/***  Licensed under GPL and MIT.
/****************************************/

.tr8n_pcb {
	background: url('/assets/tr8n/buttons.png') no-repeat; 
	height: 23px; 
	line-height: 23px; 
	padding: 3px 0 7px 0; 

	span {
		background: url('/assets/tr8n/buttons.png') no-repeat; 
		height: 23px; 
		line-height: 23px; 
		padding: 3px 0 7px 0; 
	}
}
.tr8n_pcb {color: #333; font-size: 12px; font-style:bold; font-family:arial; padding-left: 14px; text-decoration: none !important; }
a.tr8n_pcb:link {color: #333; font-size: 12px; font-style:bold; font-family:arial; padding-left: 14px; text-decoration: none !important; } 
a.tr8n_pcb:visited  {color: #333; font-size: 12px; font-style:bold; font-family:arial; padding-left: 14px; text-decoration: none !important; }

.tr8n_pcb span                                  {background-position: right -326px; padding-right: 14px; }
a.tr8n_grey_button                              {background-position: left -219px; padding-top: 3px; }
a.tr8n_grey_button span                         {background-position: right -545px; padding-top: 3px; }
a.tr8n_grey_button:hover                        {background-position: left -246px; }
a.tr8n_grey_button:hover span                   {background-position: right -572px; }
a.tr8n_grey_button:active, .grey_active_button  {background-position: left -273px; }
a.tr8n_grey_button:active span, .grey_active_button span {background-position: right -599px; }
body.tr8n_grey_disabled_button                  {background-position: left -300px; color: #bbb !important; }
body.tr8n_grey_disabled_button span             {background-position: right -626px; }

.tr8n_cancel_link                               {font-size:12px;font-family:arial;}

/****************************************/
/*** Logger Objects
/****************************************/
.tr8n_logger_obj_key {
  padding-right: 10px;
  color: #444;
}
.tr8n_logger_obj_value_string {
  color: green;
}
.tr8n_logger_obj_value_string {
  color: green;
}
.tr8n_logger_obj_value_boolean {
  color: blue;
}
.tr8n_logger_obj_value_number {
  color: red;
}


/****************************************/
/*** Keyboard v1.49 Styles
/****************************************/

#keyboardInputMaster {
  position:absolute;
  font:normal 11px Arial,sans-serif;
  border-top:1px solid #eeeeee;
  border-right:1px solid #888888;
  border-bottom:1px solid #444444;
  border-left:1px solid #cccccc;
  -webkit-border-radius:0.6em;
  -moz-border-radius:0.6em;
  border-radius:0.6em;
  -webkit-box-shadow:0px 2px 10px #444444;
  -moz-box-shadow:0px 2px 10px #444444;
  box-shadow:0px 2px 10px #444444;
  opacity:0.95;
  filter:alpha(opacity=95);
  background-color:#dddddd;
  text-align:left;
  z-index:1000000;
  width:auto;
  height:auto;
  min-width:0;
  min-height:0;
  margin:0px;
  padding:0px;
  line-height:normal;
  -moz-user-select:none;
  cursor:default;
}
#keyboardInputMaster * {
  position:static;
  color:#000000;
  background:transparent;
  font:normal 11px Arial,sans-serif;
  width:auto;
  height:auto;
  min-width:0;
  min-height:0;
  margin:0px;
  padding:0px;
  border:0px none;
  outline:0px;
  vertical-align:baseline;
  line-height:1.3em;
}
#keyboardInputMaster table {
  table-layout:auto;
}
#keyboardInputMaster.keyboardInputSize1,
#keyboardInputMaster.keyboardInputSize1 * {
  font-size:9px;
}
#keyboardInputMaster.keyboardInputSize3,
#keyboardInputMaster.keyboardInputSize3 * {
  font-size:13px;
}
#keyboardInputMaster.keyboardInputSize4,
#keyboardInputMaster.keyboardInputSize4 * {
  font-size:16px;
}
#keyboardInputMaster.keyboardInputSize5,
#keyboardInputMaster.keyboardInputSize5 * {
  font-size:20px;
}

#keyboardInputMaster thead tr th {
  padding:0.3em 0.3em 0.1em 0.3em;
  background-color:#999999;
  white-space:nowrap;
  text-align:right;
  -webkit-border-radius:0.6em 0.6em 0px 0px;
  -moz-border-radius:0.6em 0.6em 0px 0px;
  border-radius:0.6em 0.6em 0px 0px;
}
#keyboardInputMaster thead tr th div {
  float:left;
  font-size:130% !important;
  height:1.3em;
  font-weight:bold;
  position:relative;
  z-index:1;
  margin-right:0.5em;
  cursor:pointer;
  background-color:transparent;
}
#keyboardInputMaster thead tr th div ol {
  position:absolute;
  left:0px;
  top:90%;
  list-style-type:none;
  height:9.4em;
  overflow-y:auto;
  overflow-x:hidden;
  background-color:#f6f6f6;
  border:1px solid #999999;
  display:none;
  text-align:left;
  width:12em;
}
#keyboardInputMaster thead tr th div ol li {
  padding:0.2em 0.4em;
  cursor:pointer;
  white-space:nowrap;
  width:12em;
}
#keyboardInputMaster thead tr th div ol li.selected {
  background-color:#ffffcc;
}
#keyboardInputMaster thead tr th div ol li:hover,
#keyboardInputMaster thead tr th div ol li.hover {
  background-color:#dddddd;
}
#keyboardInputMaster thead tr th span,
#keyboardInputMaster thead tr th strong,
#keyboardInputMaster thead tr th small,
#keyboardInputMaster thead tr th big {
  display:inline-block;
  padding:0px 0.4em;
  height:1.4em;
  line-height:1.4em;
  border-top:1px solid #e5e5e5;
  border-right:1px solid #5d5d5d;
  border-bottom:1px solid #5d5d5d;
  border-left:1px solid #e5e5e5;
  background-color:#cccccc;
  cursor:pointer;
  margin:0px 0px 0px 0.3em;
  -webkit-border-radius:0.3em;
  -moz-border-radius:0.3em;
  border-radius:0.3em;
  vertical-align:middle;
  -webkit-transition:background-color .15s ease-in-out;
  -o-transition:background-color .15s ease-in-out;
  transition:background-color .15s ease-in-out;
}
#keyboardInputMaster thead tr th strong {
  font-weight:bold;
}
#keyboardInputMaster thead tr th small {
  -webkit-border-radius:0.3em 0px 0px 0.3em;
  -moz-border-radius:0.3em 0px 0px 0.3em;
  border-radius:0.3em 0px 0px 0.3em;
  border-right:1px solid #aaaaaa;
  padding:0px 0.2em 0px 0.3em;
}
#keyboardInputMaster thead tr th big {
  -webkit-border-radius:0px 0.3em 0.3em 0px;
  -moz-border-radius:0px 0.3em 0.3em 0px;
  border-radius:0px 0.3em 0.3em 0px;
  border-left:0px none;
  margin:0px;
  padding:0px 0.3em 0px 0.2em;
}
#keyboardInputMaster thead tr th span:hover,
#keyboardInputMaster thead tr th span.hover,
#keyboardInputMaster thead tr th strong:hover,
#keyboardInputMaster thead tr th strong.hover,
#keyboardInputMaster thead tr th small:hover,
#keyboardInputMaster thead tr th small.hover,
#keyboardInputMaster thead tr th big:hover,
#keyboardInputMaster thead tr th big.hover {
  background-color:#dddddd;
}

#keyboardInputMaster tbody tr td {
  text-align:left;
  padding:0.2em 0.3em 0.3em 0.3em;
  vertical-align:top;
}
#keyboardInputMaster tbody tr td div {
  text-align:center;
  position:relative;
  zoom:1;
}
#keyboardInputMaster tbody tr td table {
  white-space:nowrap;
  width:100%;
  border-collapse:separate;
  border-spacing:0px;
}
#keyboardInputMaster tbody tr td#keyboardInputNumpad table {
  margin-left:0.2em;
  width:auto;
}
#keyboardInputMaster tbody tr td table.keyboardInputCenter {
  width:auto;
  margin:0px auto;
}
#keyboardInputMaster tbody tr td table tbody tr td {
  vertical-align:middle;
  padding:0px 0.45em;
  white-space:pre;
  height:1.8em;
  font-family:'Lucida Console','Arial Unicode MS',monospace;
  border-top:1px solid #e5e5e5;
  border-right:1px solid #5d5d5d;
  border-bottom:1px solid #5d5d5d;
  border-left:1px solid #e5e5e5;
  background-color:#eeeeee;
  cursor:default;
  min-width:0.75em;
  -webkit-border-radius:0.2em;
  -moz-border-radius:0.2em;
  border-radius:0.2em;
  -webkit-transition:background-color .15s ease-in-out;
  -o-transition:background-color .15s ease-in-out;
  transition:background-color .15s ease-in-out;
}
#keyboardInputMaster tbody tr td table tbody tr td.last {
  width:99%;
}
#keyboardInputMaster tbody tr td table tbody tr td.space {
  padding:0px 4em;
}
#keyboardInputMaster tbody tr td table tbody tr td.deadkey {
  background-color:#ccccdd;
}
#keyboardInputMaster tbody tr td table tbody tr td.target {
  background-color:#ddddcc;
}
#keyboardInputMaster tbody tr td table tbody tr td:hover,
#keyboardInputMaster tbody tr td table tbody tr td.hover {
  border-top:1px solid #d5d5d5;
  border-right:1px solid #555555;
  border-bottom:1px solid #555555;
  border-left:1px solid #d5d5d5;
  background-color:#cccccc;
}
#keyboardInputMaster thead tr th span:active,
#keyboardInputMaster thead tr th span.pressed,
#keyboardInputMaster tbody tr td table tbody tr td:active,
#keyboardInputMaster tbody tr td table tbody tr td.pressed {
  border-top:1px solid #555555 !important;
  border-right:1px solid #d5d5d5;
  border-bottom:1px solid #d5d5d5;
  border-left:1px solid #555555;
  background-color:#cccccc;
}

#keyboardInputMaster tbody tr td table tbody tr td small {
  display:block;
  text-align:center;
  font-size:0.6em !important;
  line-height:1.1em;
}

#keyboardInputMaster tbody tr td div label {
  position:absolute;
  bottom:0.2em;
  left:0.3em;
}
#keyboardInputMaster tbody tr td div label input {
  background-color:#f6f6f6;
  vertical-align:middle;
  font-size:inherit;
  width:1.1em;
  height:1.1em;
}
#keyboardInputMaster tbody tr td div var {
  position:absolute;
  bottom:0px;
  right:3px;
  font-weight:bold;
  font-style:italic;
  color:#444444;
}

.keyboardInputInitiator {
  margin:0px 3px;
  vertical-align:middle;
  cursor:pointer;
}

.tr8n_progress_bar  {
	background:#fff;
	border:solid 1px #ccc;
	border-color:#ddd #f6f6f6 #f6f6f6 #ddd;
	padding:3px;width:100px;
	margin:0 0 5px 0; 
	@include rounded-corners(3px);
}

.tr8n_progress_indicator {
	background: #83ce2a; 
	height:8px;
	@include rounded-corners(1px);
	@include transition((0.250, 0.460, 0.450, 0.940));
}

