body {
    overflow-y: hidden;
}

/* test comments */

.navbar {
    width: auto;
    margin-bottom: 0;
}

.navbar .nav {
    float: none;
    min-width: 350px;
    max-width: 460px;
    width: 25%;
}

.navbar .dropdown .div-a {
    font-size: 25px;
    padding: 15px 0;
    color: #777;
    cursor: pointer;
}
.navbar .dropdown.open .div-a {
    background-color: #E7E7E7;
    color: #555555;
}

.navbar .div-a img {
    height: 49px;
    padding: 5px;
}

.navbar .dropdown-menu {
    width: 100%;
}

.log-in-out-button {
    margin: 17px 5px 0;
}

.dynamic-button {
    margin: 17px 5px 0;
    padding-right: 25px;
}

.dynamic-button .state {
    display:none;
}
.dynamic-button.state-preview .state-preview { display:initial; }
.dynamic-button.state-saving .state-saving { display:initial; }
.dynamic-button.state-loading .state-loading { display:initial; }
.dynamic-button.state-publish .state-publish { display:initial; }
.dynamic-button.state-publishing .state-publishing { display:initial; }

.dynamic-button-message {
    font-size: 16px;
    line-height: 50px;
    margin-right: 20px;
    margin-top: 17px;
    opacity: 0.75;
}

.brain-controls {
    padding: 10px 0;
}

.brain-controls .col-xs-12:not(:last-child) {
    margin-bottom: 15px;
}

.brain-controls .col-search-keys .input-group {
    max-width: 90%;
    margin: auto;
}

#key-name {
    font-size: 1.25em;
    margin: 0.5em 0px 1.25em;
}
.brain-site {
    width: 100%;
    border: none;
    vertical-align: bottom; /* important so you don't get bottom ghost margin */
}
.brain-json-list {
    overflow-y: hidden;
    margin: 5px 10px;
}
.css-treeview {
    overflow-y: auto;
}
#data {
    display: none;
}
.brain-list {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    margin: 5px 0;
    padding: 10px 0;
}
ul.pagination li:not(.active) {
    cursor: pointer;
}

/* Loading Div */
.loadingdiv {
    height: 50px;
}
.loadingdiv span{
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 16px;
    margin: 5px auto;
    background-color: #678; /*#428BCA;*/
    border-radius: 5px;
    -webkit-animation: loading 0.9s infinite alternate;
    -moz-animation: loading 0.9s infinite alternate;
    /*box-shadow:1px 1px 1px #444444;*/
}
.loadingdiv span:nth-of-type(2) {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
}
.loadingdiv span:nth-of-type(3) {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
}
.loadingdiv span:nth-of-type(4) {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
}
.loadingdiv span:nth-of-type(5) {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
}
@-webkit-keyframes loading {
  0% {
    width: 10px;
    height: 10px;
    -webkit-transform: translateZ(0);
  }
  100% {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    -webkit-transform: translateZ(-21px);
  }
}
@-moz-keyframes loading {
  0% {
    width: 10px;
    height: 10px;
    -moz-transform: translateZ(0);
  }
  100% {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    -moz-transform: translateZ(-21px);
  }
}


/*
 * CSS3 Treeview. No JavaScript
 * @version 1.0
 * @author Martin Ivanov
 * @url developer's website: http://wemakesites.net/
 * @url developer's twitter: https://twitter.com/#!/wemakesitesnet
 * @url developer's blog http://acidmartin.wordpress.com/
 **/
 
/*
 * This solution works with all modern browsers and Internet Explorer 9+.
 * If you are interested in purchasing a JavaScript enabler for IE8
 * for the CSS3 Treeview, please, check this link:
 * http://experiments.wemakesites.net/miscellaneous/acidjs-css3-treeview/
 **/
 
.css-treeview ul,
.css-treeview li
{
    padding: 0;
    margin: 0;
    list-style: none;
}
 
.css-treeview input
{
    position: absolute;
    opacity: 0;
}
 
.css-treeview
{
    font: normal 11px "Segoe UI", Arial, Sans-serif;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
 
.css-treeview a {
    color: #00f;
    text-decoration: none;
}
 
.css-treeview a:hover {
    text-decoration: underline;
}
 
.css-treeview input + label + ul {
    margin: 0 0 0 22px;
}
 
.css-treeview input ~ ul {
    display: none;
}
 
.css-treeview label,
.css-treeview label::before {
    cursor: pointer;
}
 
.css-treeview input:disabled + label {
    cursor: default;
    opacity: .6;
}
 
.css-treeview input:checked:not(:disabled) ~ ul {
    display: block;
}
 
.css-treeview label,
.css-treeview label::before {
    background: url("/images/icons.png") no-repeat;
}
 
.css-treeview label,
.css-treeview a,
.css-treeview label::before {
    display: inline-block;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
}
 
.css-treeview label {
    background-position: 18px 0;
}
 
.css-treeview label::before {
    content: "";
    width: 16px;
    margin: 0 22px 0 0;
    vertical-align: middle;
    background-position: 0 -32px;
}
 
.css-treeview input:checked + label::before {
    background-position: 0 -16px;
}
 
/* webkit adjacent element selector bugfix */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .css-treeview {
        -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
    }
 
    @-webkit-keyframes webkit-adjacent-element-selector-bugfix{
        from {
            padding: 0;
        } to {
            padding: 0;
        }
    }
}

/* revert brain scrollable table (really two tables, one with a thead and second with a tbody, with second wrapped in a scrollable div) */
.previous-brains-container table:nth-child(1) {
    margin-bottom: 0;
}
.previous-brains-container thead {
    font-weight: bold;
}
.previous-brains-container > div {
    max-height: 200px;
    overflow-y: scroll;
    padding: 0;
    margin: 0;
}
.previous-brains-container td:nth-child(1), .previous-brains-container th:nth-child(1) { min-width: 15%; }
.previous-brains-container td:nth-child(2), .previous-brains-container th:nth-child(2) { min-width: 20%; }
.previous-brains-container td:nth-child(3), .previous-brains-container th:nth-child(3) { min-width: 40%; }
.previous-brains-container td:nth-child(4), .previous-brains-container th:nth-child(4) { width: 25%; }

.previous-brain-diff {
    font-size: 9px;
    font-family: monospace;
}