﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

label {
    width: 150px;
    vertical-align: top;
}

.button-copy {
    vertical-align: top;
    margin-left: 10px;
}

.json-response {
    max-width: none;
    width: 300px;
}

/* API Explorer */

.apiExpContainer {
    float: left;
    clear: both;
    width: 100%;
    margin-bottom: 10px;
}
.apiExpContainer table {
    width: 100%;
    height: 100%;
}

#accessTokenContainer {
    margin-top: 10px; 
}

#accessTokenContainer #accessToken {
    float: left;
}
#accessTokenContainer #clearToken {
    float: left;
}

#urlContainer {
    
}
#urlContainer textarea {
    margin-top: 10px;
    width: 100% !important;
}
#urlContainer #apiURL {
    float: left;
}
#bottomSection {
    margin-bottom: 15px;
    height: -moz-calc(100% - 222px);
    height: -webkit-calc(100% - 222px);
    height: calc(100% - 222px);
    min-height: 444px;
}
#apiBrowser {
    float: left;
    width: 400px;
    height: 100%;
    overflow: auto;
}
#apiBrowser .list-group {
    margin-bottom: 0;
}
.responseContainer {
    width: 100%;
    height: 100%;
    float: left;
}
#apiResponseContainer {
    position: relative;    
    height: calc(100% - 44px);
    min-height: 400px;
}
#apiResponseContainer pre {
    overflow-y: scroll;
    overflow-x: auto;
    height: 100%;
    min-height: 400px;
    max-width: 730px;
    max-height: 600px;
}
#apiResponseStatusContainer {
    margin-top:10px;
}
.styledContainer {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.bootstrap-select {
    float: left;
}
.responseTypeSelection {
    position: absolute;
    top:10px;
    right:28px;
}
hr {
    clear: both;
}
.node-apiBrowser {
    float: left;
    width: 100%;
}
.node-apiBrowser span.text {
    float: left;
    text-overflow: ellipsis;
    width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
}
span.icon {
    float:left;
}
span.indent {
    float:left;
}
.loading {
    background: #f1f1f1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    opacity: 0.2;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
}
.list-group-item > .badge {
  float: left;
  margin: 4px 0 0 24px;
}
.list-group-item > .badge + .badge {
  margin: 4px 0 0 5px;
}
html, body {
    height: 100%;
}
.body-content {
    height: 100%;
}
.navbar-inverse .navbar-nav > li > a:hover {
    color: black;
}

a.logo {
    float:left;
    padding: 4px 0;
}

@media (max-width: 768px) {
    a.logo {
        margin-left: 15px;
    }
}
.authenticateLoading {
    display:none;
    margin-right: 7px;
}
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.modal-dialog {
    z-index: 9999;
}

.paramTextbox {
    margin-top: 5px;
}

table.paramTable {    
    width:100%;
}

table.paramTable td.shrink {
    white-space:nowrap;
    padding:4px 8px 0 0;
}
table.paramTable td.expand {
    width: 99%;
}
.navbar-inverse {
    background-color: #fff;
}
.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #0b2c59;
}
.navbar-inverse .navbar-toggle:hover .icon-bar, .navbar-inverse .navbar-toggle:focus .icon-bar {
    background-color: #fff;
}

.navbar-fixed-top {
    webkit-box-shadow: 0 0px 25px 0px #333;
    -moz-box-shadow: 0 0px 25px 0px #333;
    box-shadow: 0 0px 25px 0px #333;
}