body {
    margin: 0;
    background-color: #1d1f22;
    overflow: hidden;
}
header#header {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #1d1f22;
    height: 60px;
    z-index: 1;
}
header#header > div {
    background-color: #1d1f22;
}
[data-theme='light-theme'] header#header > div {
    background-color: #f8f8f8;
    border-bottom: 1px solid #d4d4d4;
}
.hidden {
    display: none !important;
}

.title {
    display: inline-flex;
    padding: 0 10px;
    align-items: center;
    font-size: 17px;
    font-family: Arial;
    color: #fff;
    cursor: pointer;
}
[data-theme='light-theme'] .title {
    color: #555;
}
.title .fa.fa-pencil {
    color: #9c9c9c;
}
[data-theme='light-theme'] .title .fa.fa-pencil {
    color: #6e6e6e;
}
.title input {
    font-size: 17px;
    font-weight: normal;
    width: 350px;
    outline: none;
    padding: 0;
    margin-bottom: 0;
}
.title input,
.title input:focus {
    border: none;
    border-bottom: 1px dotted #ccc;
    color: #fff;
    background-color: transparent;
    box-shadow: none;
}
[data-theme='light-theme'] .title input,
[data-theme='light-theme'] .title input:focus {
    color: #000;
}
.title .label.view {
    border-bottom: 1px dotted #45484f;
    margin-right: 6px;
    min-width: 130px;
    max-width: 350px;
    min-height: 26px;
}
.title:hover .view.label {
    border-bottom: 1px dotted #ccc;
}
.title span {
    display: block;
}
.title input {
    display: none;
}
.title.edit span {
    display: none;
}
.title.edit input {
    display: inline-block;
}
#editor-mode-label {
    display: flex;
    align-items: center;
}
#editor-mode-label img {
    width: 30px;
    height: 30px;
}
#editor-mode-label span {
    color: #9d9d9d;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    margin: 0 8px;
    white-space: pre-wrap;
    display: block;
}
header nav ul li > a.button-hackathon {
    background-color: #58b857;
    box-shadow: 0 2px #429b41;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 33px;
    border-radius: 5px;
    margin-right: 0.5rem;
}
header nav ul li > a.button-hackathon:hover {
    background-color: #48a947 !important;
    color: #fff !important;
}
header nav ul li > a.button-share {
    font-size: 28px;
    line-height: 60px;
    vertical-align: bottom;
    /*margin-right: 10px;*/
    /*padding: 0 40px;*/
    padding: 0px;
    margin: 0px;
    padding-left: 15px;
    padding-right: 10px;
    margin-left: 5px;
    margin-right: 10px;
}
header nav ul li > a.button-share span {
    padding-bottom: 6px;
}
header nav ul li.options > a {
    font-size: 25px;
    padding-left: 12px;
    padding-right: 12px;
    margin-right: -30px;
    margin-top: 10px;
}
header nav ul li.options > a svg {
    width: 25px;
    height: 25px;
    fill: #9c9c9c;
}
header nav ul li.options ul {
    margin-right: -30px;
}

.spinner {
    display: inline-block;
/*     margin: 50px auto 50px auto; */
    width: 50px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
}

.spinner > div {
    background-color: #ffffff;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}

iframe#bramble-editor {
/*     position: absolute; */
/*     top: 60px; */
/*     bottom: 0; */
    border: 0px;
    width: 100%;
    height: 100vh;
    padding-top:60px;
}

/* Styles for the save button */
header .save-button {
    height: 32px;
    padding: 2px 0 2px 8px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}
header .submit-button {
    height: 32px;
    padding: 2px 8px 2px 8px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}
header .submit-button.is-default a {
    color: white !important;
    font-weight: bold;
}
header .submit-button.is-default {
    background-color: #ff8c1a;
}
header .submit-button.is-default .submit.submit-default{
    display: inline-block !important;
}

header .save-states {
    display: inline-block;
    position: relative;
    top: 1px;
}

header .save {
    text-align: center;
    line-height: 12px !important; /* @dfrancisco TODO: Improve this */
    cursor: pointer;
}

header .save-label {
    font-size: 14px;
    text-transform: uppercase;
}

header .save-icon {
    vertical-align: -2px;
    padding-right: 3px;
}

header .save-icon .fa {
    font-size: 20px;
}

header .save-button.is-default a {
    color: white !important;
    font-weight: bold;
}
header .save-button.is-default {
    background-color: #ff8c1a;
}
header .save-button.is-saving {
    background-color: #ff8c1a;
}
header .save-button.is-saved {
    background-color: #58b857;
}
header .save.save-default,
header .save.save-saving,
header .save.save-saved {
    display: none !important;
}
header .save-button.is-default .save.save-default,
header .save-button.is-saving .save.save-saving,
header .save-button.is-saved .save.save-saved {
    display: inline-block !important;
}

header .save-options {
    color: white;
    display: inline-block;
    cursor: pointer;
    float: right;
    margin: 0 8px;
    height: 100%;
}

.logo.controls {
    padding-left: 0;
}

.content {
    display: flex;
    flex-direction: row;
}

nav .has-button.right {
    display: flex;
    flex-direction: row;
}

header .toolbar {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 30px;
}

header .toolbar .controls {
    flex: 1;
    float: none !important;
    display: flex;
    flex-direction: row;
    align-items: center;
}

header .toolbar .controls a {
    line-height: 1;
}
header .toolbar .controls svg {
    width: 20px;
    height: 20px;
    margin: 10px;
    fill: #9c9c9c;
}

header .toolbar .toolbar__right {
    float: none !important;
    display: flex;
    flex-direction: row-reverse;
    height: 65px;
}

header .toolbar .toolbar__right ul {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

header .toolbar .toolbar__right .button-join {
    margin: 0px;
}

header .toolbar .toolbar__right .header-avatar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
}

header .toolbar .toolbar__right .header-avatar .user-avatar {
    margin-left: 10px;
}

body.body-toolbar-feeds-button--visible #header {
    width: calc(100% - 350px);
}

.ide-modal-login {
    background-color: transparent;
    position: fixed;
    z-index: 8000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: all;
}

.ide-modal-login iframe {
    width: 100%;
    height: 100%;
    border: none;
}
