/**
 * Styles for specific applications, e.g masking elements of certain
 * types/classes are in temboo.css (or others) where those applications
 * are relevant
 */

/**
 * 	'lightbox' plugin styles
 */
.tmb-lightbox {
	display:none;
}

#tmb-copyable-mask {
	background:transparent;
	display:none;
	position:absolute;
}

#tmb-lightbox {
	background:#fff;
	display:none;
	height:auto;
	left:50%;
	overflow:auto;
	padding:30px;
	position:fixed;
	top:50%;
	z-index:100001;
	max-height: 90%;
	max-width: 1100px;
	border-radius: 8px;
	box-shadow: 0px 0px 10px 2px rgba(102, 102, 102, 0.35);
}

#tmb-lightbox > .content .title {
	margin:0 0 20px;
}

#tmb-lightbox > .content .title.done {
	font-weight: bold;
}

#tmb-lightbox .error {
	margin-bottom:20px;
	z-index: 1;
	float:none;
}

#tmb-lightbox > .tmb-lightbox-overlay {
	background-color:#fff;
	bottom:0;
	display:none;
	left:0;
	opacity:0.85;
	position:absolute;
	right:0;
	top:0;
	z-index:1001;
	padding: 20px; /* may have to correct elsewhere */
}

#tmb-lightbox > .tmb-lightbox-overlay > .tmb-lightbox-confirmation {
	display:none;
	text-align:center;
}

#tmb-lightbox > .tmb-lightbox-overlay > .tmb-lightbox-confirmation .buttons {
	text-align:center;
}

#tmb-lightbox > button.close {
	position: absolute;
	right: 0;
	top: 0;
	margin: 10px;
}

#tmb-lightbox .buttons,
.lightbox .buttons {
	text-align: right;
	position: relative;
}

#tmb-lightbox form {
	margin:0;
	padding:0;
}

#tmb-lightbox-mask {
	background:#000;
	bottom:0;
	display:none;
	left:0;
	opacity:0.3;
	position:fixed;
	right:0;
	top:0;
	z-index:100000;
}

#tmb-lightbox-placeholder {
	display:none;
}

body.lightboxed {
	overflow:hidden;
}

/**
 * 'videobox' plugin styles, which generally just override default 'lightbox' plugin styles
 */
#tmb-lightbox.tmb-videobox {
	background-color:transparent;
	overflow:visible;
	padding:15px; /* half of close button width */
}

#tmb-lightbox.tmb-videobox .content {
	background-color:#fff;
	padding:15px;
}

#tmb-lightbox.tmb-videobox > button.close,
#tmb-lightbox.tmb-videobox > button.close-video {
	background:#2bb5e9 url(/assets/button-close-round.png) no-repeat center center;
	border:solid 2px #fff;
	display:none;
	height:32px;
	position:absolute;
	right:0;
	top:0;
	width:32px;
	margin:0;
	border-radius:25px;
	-moz-border-radius:25px;
	-webkit-border-radius:25px;
}

#tmb-lightbox.tmb-videobox > button.close-video {
	display: block; /* temporary */
}

#tmb-lightbox.tmb-videobox > button.close:hover,
#tmb-lightbox.tmb-videobox > button.close-video:hover {
	background-color:#0882b6;
}

#tmb-lightbox.tmb-videobox > button.close:active,
#tmb-lightbox.tmb-videobox > button.close-video:active {
	background-color:#f47925;
}

/**
 * 	Spinner
 */
.tmb-spinner {
	display:none;
	position:absolute;
}

/**
 * 	Toggle Button
 */
.tmb-toggle-button {
	display:inline-block;
}

.tmb-toggle-button > button.option {
	background-color:#fff;
	border:solid 1px #95daf4;
	color:#95daf4;
	font-size:10px;
	font-weight:bold;
	line-height:10px;
	margin:0;
	padding:2px 8px;
	position:relative; /* z-index req */
	vertical-align:middle;
	text-transform:capitalize;
	height:18px;
}

@-moz-document url-prefix() {
.tmb-toggle-button > button.option {
	line-height:11px;
	padding: 2px 5px;
}
}

.tmb-toggle-button > button.option:hover {
	color:#2bb5e9;
}

.tmb-toggle-button > button.option:active {
	color:#2bb5e9;
}

.tmb-toggle-button > button.option.selected {
	background-color:#e4f5fc;
	border-color:#2bb5e9;
	color:#2bb5e9;
	cursor:default;
	z-index:1;
}

.tmb-toggle-button > button.option.left {
	border-radius:6px 0 0 6px;
	-moz-border-radius:6px 0 0 6px;
}

.tmb-toggle-button > button.option.right {
	border-radius:0 6px 6px 0;
	-moz-border-radius:0 6px 6px 0;
	left:-1px;
	/*button overlap for rounded edges
	left:-4px;  
	margin-right:-4px; */
}

/*this rounds the selected states edges
.tmb-toggle-button > button.option.selected.left,
.tmb-toggle-button > button.option.selected.right {
	border-radius:6px;
	--moz-border-radius:6px;
}
*/
/**
 * Superfish-like menus (with click-instead-of-hover and auto-sized submenus)
 */
ul.clickfish {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.clickfish > li > a, a.pseudofish {
	display: inline-block;
	position: relative;
	padding: 3px 11px;
	margin-left: -11px;
}

ul.clickfish > li.active > a {
	border: 1px solid #ccc;
	color: #777;
	padding: 2px 10px;
	border-right: 0;
	background: white;
	z-index: 2;
}

ul.clickfish ul {
	visibility:hidden;
	position: absolute;
	top: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #ccc;
	background: #fff;
	z-index: 1;
}

ul.clickfish ul li {
	padding: 2px 10px;
}

ul.clickfish.inline {
	display: inline-block;
}

/*
 * Begin "barmeter" widget
 */
.barmeter .barmeter-meter {
	border:solid 1px #95daf4;
	overflow:auto;
	position:relative; /* required for absolute positioning of children */
	z-index:0;
}

.barmeter .barmeter-fill {
	background-color:#95daf4;
	width:0px;
	height:100%;
	position:absolute;
	left:0px;
	z-index:-1; /* force beneath status messages */
}

.barmeter .barmeter-header {
	margin-bottom:-5px;
}

.barmeter .barmeter-label {
	display:none; /*hiding the labels for now*/
	font-size:13px;
	font-weight:bold;
	margin:0;
	text-transform:uppercase;
}

.barmeter .barmeter-message {
	/*background:url(/assets/messaging-critical-small.png) no-repeat left center;*/
	color:#333;
	float:right;
	font-size:12px;
	margin:0;
	padding-left:17px;
	margin-top: -20px;
	right: 30px;
}

.barmeter .barmeter-status {
	font:22px "Open Sans","Trebuchet MS",Arial,sans-serif;
	line-height:24px;
	margin:0;
	padding:8px;
	text-transform:uppercase;
	white-space:nowrap;
	font-weight:200;
}

.barmeter.short .barmeter-status {
	font-size:18px;
	line-height:18px;
}

.barmeter .barmeter-status.barmeter-remaining {
	position:absolute;
	right:0px;
}

.barmeter .barmeter-status.barmeter-used {
	float:left;	/* defines barmeter height, via text height */
}

/*barmeter link behaviors */

a .barmeter-meter {
	color: #333;
}

a .barmeter-meter:hover {
	border-color: #95daf4;
}

a .barmeter-meter:hover .barmeter-fill {
	background-color:#95daf4;
}

/*
 * End barmeter widget
 */
 
 /**
  * Collapsible widget
  */
.collapsible.collapsible-collapsed {
	display:none;
}

.collapsible-trigger {
	background:url('/assets/triangle-large-down.png') no-repeat left center;
	cursor:pointer;
	padding-left:15px;	
}

.collapsible-trigger:hover {
	background-image:url('/assets/triangle-large-down-hover.png');
}

.collapsible-trigger.collapsible-collapsed {
	background-image:url('/assets/triangle-large-right.png');
}

.collapsible-trigger.collapsible-collapsed:hover {
	background-image:url('/assets/triangle-large-right-hover.png');
}
/*
 * End collapsible widget
 */

/*
 * Hinted widget
 */
.tmb-hinted {
	color:#777 !important;
}
/*
 * End hinted widget
 */
 
.oauth-helper li.meta-item {
	display: none;
}

.oauth-step {
	position: relative;
	padding: 0px 0px 10px 20px;
	color: #777;
	border-left: 2px solid #999;
	margin-left: 15px;
}

.oauth-step:last-child {
	border-left: 2px solid white;
}

.oauth-step.active {
	color: #333;
}

.oauth-step button {
	text-transform: capitalize;
}

.oauth-step p, .oauth-step div, .oauth-step ul, .oauth-step ol {
	display: none;
}

.oauth-step p:first-child {
	display: block;
}

.oauth-step.active p:first-child {
    font-weight: bold;
}

.oauth-step.active p:first-child a.start-over {
	display: none;
}

.oauth-step.active p.error:first-child {
	font-weight: normal;
	margin-top: -10px;
}

.oauth-step.active p, .oauth-step.active div, .oauth-step.active ul, .oauth-step.active ol {
	display: block;
	margin-bottom: 10px;
}

.oauth-step.active ul, .oauth-step.active ol {
	padding-left: 30px;
}

.oauth-step.active li  {
	list-style-type: disc;
}

.oauth-step .oauth-step-number {
	display: block;
	position: absolute;
	top: 0px;
	left: -14px;
	width: 25px;
	height: 20px;
	background-image: url('/assets/oauth-numbers.png') ;
	background-position: 0 -4px;
	background-repeat: no-repeat;
}

.oauth-step.completed .oauth-step-number {
	background-position: 0 -30px;
}

.oauth-step .oauth-step-number-1 {
	top: -5px;
	border-top: 5px solid white;
}

.oauth-step.active .oauth-step-number {
	height: 25px;
}

.oauth-step.active .oauth-step-number-1 {
	background-position: 0 -50px;
}

.oauth-step.active .oauth-step-number-2 {
	background-position: 0 -75px;
}

.oauth-step.active .oauth-step-number-3 {
	background-position: 0 -100px;
}

.oauth-step.active .oauth-step-number-4 {
	background-position: 0 -125px;
}

.oauth-step.active .oauth-step-number-5 {
	background-position: 0 -150px;
}

.oauth-step.active .oauth-step-number-6 {
	background-position: 0 -175px;
}

.oauth-step.active .oauth-step-number-7 {
	background-position: 0 -200px;
}

.oauth-step.active .oauth-step-number-8 {
	background-position: 0 -225px;
}

.oauth-step.active .oauth-step-number-9 {
	background-position: 0 -250px;
}

.oauth-input input {
	border: 1px solid #999;	
	padding-left: 0;
}

.oauth-input input[type=text], .oauth-output input[type=text] {
	background-image: url('/assets/icon-oauth-gray.png');
	background-position: right 8px center;
	background-repeat: no-repeat;
	width:427px;
	padding-right:30px;
}

/*.oauth-input input[type=text]:disabled, .oauth-output input[type=text]:disabled {
	background-position: 99% -59px;
}*/

.oauth-helper .oauth-step span.description {
	padding-left: 0
}
.oauth-helper .oauth-step input {
	margin-left: 0;
	padding-left: 4px;
}

.oauth-helper .radio-pair input, .oauth-helper .radio-pair label {
	display: inline;
	text-transform: none;
	width: auto;
}

a.oauth-cancel-helper {
	color: #0033CC;
	float: right;
	margin-top: 0px;
}

a.oauth-cancel-helper:hover {
	color: #000099;
}

a.oauth-cancel-helper:active {
	color: #F47925;
}

.oauth-launch-helper {
	font-size:12px;
	font-weight:bold; 
	display:inline-block;
}

.oauth-launch-helper button.icon.left {
	background-image:url('/assets/oauth-icon.png');
	color:#03c;
	font-size:12px;
	font-weight:bold;
	height:20px;
	padding:0 0 0 23px;
	line-height: 12px;
}

@media screen and (min-width:0\0) {
.oauth-launch-helper button.icon.left {
	height: 19px;
}
}

.oauth-launch-helper button.icon.left:hover {
	background-position: 0 -20px;
	color:#000099; 
}

.oauth-launch-helper button.icon.left:active {
	background-position: 0 -40px;
	color:#F47925; 
}

.run-mode-oauth-launch-helper {
	display: none;
}

.run-mode-oauth-launch-helper.run-mode-active {
	display: inline;
	text-align: left;
	clear: right;
	margin-left:10px;
}

.run-mode-oauth-launch-helper .oauth-launch-helper {
	float: none;
}

.credential-editor.run-mode-oauth-helper .oauth-cancel-helper, .credential-editor.run-mode-oauth-helper .meta-class.inputs, .credential-editor.run-mode-oauth-helper .edit-credential-form > input, .credential-editor.credential-template-oauth-helper .edit-credential-form > input, .credential-editor.run-mode-oauth-helper .edit-credential-form > label, .credential-editor.credential-template-oauth-helper .edit-credential-form > label {
	display: none;
}

span.oauth-icon {
	position: relative;
	top: 5px;
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url('/assets/oauth-icon.png');
	background-position: 0 0;
	background-repeat: no-repeat;
}

a:hover span.oauth-icon {
	background-position: 0 -20px;
}

a:active span.oauth-icon {
	background-position: 0 -40px;
}

span.oauth-icon span {
	display: none;
}

