/* TEST DRIVE WIDGET OCT 2015 */

.testdrive-error {
  display:none;
  color:#f65e64;
}

.testdrive-container {
  border:1px solid #999999;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
-webkit-box-shadow: 0px 0px 18px 1px rgba(0,0,0,0.18);
-moz-box-shadow: 0px 0px 18px 1px rgba(0,0,0,0.18);
box-shadow: 0px 0px 18px 1px rgba(0,0,0,0.18);
}

.testdrive-container:hover {
  border:1px solid #C0C0C0;
}

.testdrive-widget .header {

  background: #fdfdfd; /* Old browsers */
  background: -moz-linear-gradient(top, #fdfdfd 0%, #fcfcfc 36%, #e4e4e4 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(36%,#fcfcfc), color-stop(100%,#e4e4e4)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fdfdfd 0%,#fcfcfc 36%,#e4e4e4 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fdfdfd 0%,#fcfcfc 36%,#e4e4e4 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fdfdfd 0%,#fcfcfc 36%,#e4e4e4 100%); /* IE10+ */
  background: linear-gradient(to bottom, #fdfdfd 0%,#fcfcfc 36%,#e4e4e4 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-9 */
  -webkit-border-radius: 6px 6px 0px 0px;
  -moz-border-radius: 6px 6px 0px 0px;
  border-radius: 6px 6px 0px 0px;
  padding:0;
}

.testdrive-widget .title {
  margin-left:10px;
  margin-top:25px;
  margin-bottom:25px;
  margin-right:80px;
}


.testdrive-widget .title, .testdrive-widget .api-name-text {

  font-size:30px;
  font-family:"KlavikaRegular";
}

.testdrive-widget .dropdown-toggle {
  font-family:"KlavikaMedium";
  color:#777;
  border-bottom:1px solid #777;
  cursor: pointer;
}

.testdrive-widget a h2, .testdrive-widget a .ss-dropdown:hover{
  cursor: pointer;
}

.testdrive-widget a .ss-dropdown {
  color:#777;
  font-size:10px;
  margin-left:5px;
}

.testdrive-widget .td-icon {
    position: absolute;
    right: 25px;
    top:0;
    margin-top:21px;
    padding-top: 2px;
    display: block;
    background: #fff;
    width: 50px;
    line-height: 50px;
    text-align: center;
    height: 50px;
    border: 1px solid #999;
    border-radius:50%;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(153,153,153,1);
  -moz-box-shadow: 0px 2px 7px 0px rgba(153,153,153,1);
  box-shadow: 0px 2px 7px 0px rgba(153,153,153,1);
  font-size:20px;
}

.testdrive-widget .api-icon div.ss-play {
  font-size:22px;
  padding-left:6px;
}

.testdrive-widget .dropdown .caret {
  vertical-align: middle;
  border-top:5px solid #777;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  margin-left:5px;
  margin-bottom:3px;
  margin-top:0;
}

.testdrive-widget .url-entry,.testdrive-widget .submit {
  padding-top:15px;
  padding-left:20px;
}
.testdrive-widget .submit {
  padding-bottom:15px;
}

.testdrive-widget .td_url {
  width:100%;
  border:1px solid #ccc;
  -webkit-box-shadow: inset 0px 2px 4px 0px rgba(153,153,153,0.5);
  -moz-box-shadow: inset 0px 2px 4px 0px rgba(153,153,153,0.5);
  box-shadow: inset 0px 2px 4px 0px rgba(153,153,153,0.5);
  padding:8px 10px;
}

/* testdrive page */


/* JSON Output */

.output-prefix {
  margin-top:20px;
  font-family:"KlavikaRegular";
}

#t-testdrive input {
  width:100%;
}

#testdrive-result-tabs {
  border:none;
  margin-bottom:20px;
}

#testdrive-result-tabs li a {
  border:1px solid #ccc;
  padding:10px 40px;
  margin:0;
  color:#555;
  font-family:"KlavikaLight";
}

#testdrive-result-tabs li a:hover {
  background:#ccc;
}

#testdrive-result-tabs li:first-child a {
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius:  4px 0 0 4px;
  border-radius:  4px 0 0 4px;
}

#testdrive-result-tabs li:last-child a {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius:  0 4px 4px 0;
  border-radius:  0 4px 4px 0;
}

#testdrive-result-tabs li.active a {
  background:#ccc;
  font-family:"KlavikaMedium";
}

.testdrive-buttons, .input-url {margin-top:10px;}


.preloader span.loading {
    background: url('/static/img/preloader.gif') no-repeat 0 0;
    width:80px;
    height:80px;
    margin-left:auto;
    margin-right:auto;
    display:block;
}

form .preloader {
  margin-top:20px;
  display:none;
}
form.loading .preloader {
  display:block;
}

.json-visual .json-document {
  overflow: hidden;
}

.json-visual .url-box {
  padding: 20px;
  background: #252223;
  color: #c2c0c0;
  font-weight: bold;
  font-size:17px;
}

.json-visual .url-box a {
  word-wrap:break-word;
  color:#fcfbfb;
}


.json-visual .json-field {

  padding: 16px 0;
}

.json-visual .json-object {
  padding-top:0;
}


.json-visual .json-label {
  vertical-align: top;
}

.json-visual .json-content {
  padding-top:4px;
  font-size:17px;
}
.json-visual .json-document > .json-field > .json-content {
  width: auto;
}

.json-visual .json-array   > .json-content {
  margin: 16px 0 16px 20px;
  border-left: 5px solid #f2f2f2;
}

.json-visual .json-object  > .json-content {
  margin: 16px 0 16px 20px;
  border-left: 5px solid #f2f2f2;
}

.json-visual .placeholder {clear:both;}


.json-visual .label {
  display: inline-block;
  width:100%;
  padding: 6px 4px;
  border: 1px solid #ccc;
  word-wrap: break-word;
  color: #3B7333;
  background: #f8f8f8;
  border-radius: 4px;
  font-size:17px;
  white-space: inherit;
}

.json-visual .json-array .json-field .label {
  background: #eef1ee;
}

.json-visual .json-string .json-content,
.json-visual .json-value .json-content {
  word-wrap: break-word;
}

.json-visual .json-children {
  margin-left: 20px;
  padding-left: 20px;
}

/* preprocessing classes */

.json-visual .json-field.format-toptype {
  padding-bottom: 0;
}
.json-visual .json-field.format-toptype .json-content{
  font-weight:bold;
}

.json-visual .json-field.format-strong .json-content {
  font-weight: bold;
}
.json-visual .json-field.format-hide .json-content {
  display: none !important;
}

.json-visual .json-field.format-shrink .json-content img{
  max-width:40px;
}

/* various hacks and fixes */

.row > .row {margin:0;}
.row.format-toptype {margin-left:-15px;}


/* HTML Field Formatting */

.json-visual .json-field.format-html .json-content {
    border: 1px dotted #ccc;
    padding: 5px 20px;
    background: #f9f8f8;
}

.json-visual .json-field.format-html .json-content p {
    font-size:17px;
    line-height:24px;
}

.json-visual .json-field.format-html .json-content figure {
    text-align:center;
    margin-bottom:20px;
}

.json-visual .json-field.format-html .json-content figure img {
    max-width:75%;
}

.json-visual .json-field.format-html .json-content figcaption {
    font-style:italic;
}
.json-visual .json-field.format-html .json-content figure a {
    display:block;
    font-style:italic;
}

.json-visual .json-field.format-hiderow {
  display: none !important;
}

.json-visual .json-field.format-nolabel,.json-visual .json-field.format-nolabel .json-object {
  margin-left:0;
}

.json-visual .json-field.format-wrap .json-content {
  word-wrap: break-word;
}
.json-visual .json-field.format-strike .json-content {
  text-decoration: line-through;
}

.json-visual .json-field.format-url .json-content {
  max-width:650px;
}

.json-visual .json-field.format-specs .json-field {
  line-height:15px;
  margin:16px 0 0 25px;
}

.json-visual .json-field.format-specs .json-content .json-label {
  width:150px;
  max-width:150px;
}
.json-visual .json-field.format-specs .json-content .json-label span.label {
  background:none;
  padding:0;
  border:none;
  color:inherit;
  font-family: inherit;
  font-weight:bold;
  max-width:150px;
}

/* expand link */
.json-visual .json-expand {
  display: block;
  position: relative;
  height: 5px;
  padding-top: 5px;
  margin-bottom: 15px;
  border-bottom: 1px dotted #000;
}
.json-visual .json-expand a {
  display: inline-block;
  position: absolute; left: 0; top: -3px;
  padding: 2px 10px 2px 20px;
  background: #fff;
  cursor: pointer;
  border:none;
}
.json-visual .json-expand a span {
  padding: 4px 8px;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  font-weight: normal;
  font-family: monospace;
  word-wrap: break-word;
  background: #f8f8f8;
}

.json-visual .json-text-expand {
  margin-top: 15px;
}
.json-visual .json-text-expand a {
  padding-left: 0;
}
.json-visual pre .json-text-expand a {
  background: #f5f5f5;
}

/*** Raw JSON ***/
.json-raw { }
.json-raw .js-label {
  font-weight: bold;
}