@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');
@import url('https://fonts.googleapis.com/css?family=Exo:600');

@font-face {
    font-family:'icomoon';
    src:url('/global/fonts/icomoon/icomoon.eot');
    src:url('/global/fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype');
}
@font-face {
    font-family: 'icomoon';
    src:url('   ');
    src:url('/global/fonts/icomoon/icomoon.ttf');
    font-weight: normal;
    font-style: normal;
}


body {
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    background-color: #f8f8f8;
    overflow: hidden;
}
.hidden {
    display: none !important;
}
* {
    box-sizing: border-box;
}

.bramble-ide__flash-banner {
    position: absolute;
    top: 20px;
    left: 500px;
    white-space: nowrap;
    border: 2px solid #444852;
    transition: opacity 0.25s, visibility 0.25s;
    z-index: 10;
    opacity: 0.0;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 32px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.bramble-ide__flash-banner--visible {
    opacity: 1.0;
}

.toolbar {
    font-family: "Exo", "Open Sans", Helvetica, Arial, sans-serif;
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    white-space: nowrap;
}
.toolbar > div {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
}
.toolbar > div .nav-container {
    height: 60px;
    line-height: 60px;
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap;
}

.toolbar .editorview .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.toolbar .editorview .nav-container > .nav-container__left > label {
    display: flex;
}
.toolbar .editorview .nav-container > .nav-container__left > label > strong {
    top: 15px;
    line-height: normal;
}
.toolbar .editorview .nav-container > .nav-container__left > label > span {
    vertical-align: -20px;
    line-height: normal;
    margin-top: 30px;
}
.toolbar .editorview .nav-container > .nav-container__left {
}
.toolbar .editorview .nav-container > .nav-container__right {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}
.toolbar .editorview .nav-container > .nav-container__right a.tool {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px 0px 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
}
.toolbar .editorview .nav-container > .nav-container__right a.tool:hover {
    background-color: #5a5a5a;
}

.toolbar > div label {
    text-transform: uppercase;
    display: inline-block;
    min-width: 50px;
}
.toolbar > div label strong {
    position: absolute;
    top: -8px;
    font-size: 12px;
}
#treeview > div > label > strong {
    /* Fix issue with label showing above button when sidebar is collapsed (IDEW-2268) */
    position: relative;
}
.toolbar > div label span {
    text-transform: none;
    color: #757575;
    font-size: 14px;
    vertical-align: -7px;
    padding-right: 4px;
}
.toolbar > div a {
    display: inline-block;
    font-size: 20px;
    text-decoration: none;
    color: #212121;
    padding: 5px 8px 5px 7px;
}
.toolbar > div a span {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.toolbar .treeview {
    background-color: #212121;
    width: 230px;
    vertical-align: top;
}
.toolbar .treeview label {
    font-weight: bold;
    color: #9d9d9d;
}
.toolbar .treeview a {
    float: right;
    margin-top: 14px;

    border-radius: 1px;
    background-color: #3f3f3f;
    color: #252525;
}
[data-theme='light-theme'] .toolbar .treeview a {
    background-color: #6e6e6e;
    color: #fff;
}
.toolbar .editorview {
    background-color: #3f3f3f;
    width: 413px;
    vertical-align: top;
}
[data-theme='light-theme'] .toolbar .editorview,
[data-theme='light-theme'] .toolbar .treeview {
    background: #f8f8f8;
    box-shadow: inset 0 0 0 1px #eaeaea;
}
.toolbar .editorview label {
    font-weight: bold;
    color: #9d9d9d;
    position: relative;
}
.toolbar .editorview a {
    background-color: #2b2b2b;
    color: #9d9d9d;
}
[data-theme='light-theme'] .toolbar .editorview a {
    background-color: #6e6e6e;
    color: #fff;
}
.toolbar .editorview a.tool {
    float: right;
    margin-top: 14px;
    margin-left: 5px;

    border-radius: 25px;
}
.toolbar .editorview a.tool.fa-undo span {
    display: none;
}
.toolbar .preview {
    background-color: #eaeaea;
    vertical-align: top;
}
.toolbar .preview a {
    color: #6e6e6e;
    float: right;
    margin-top: 14px;
    font-size: 26px;
}
.toolbar .preview a.run {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #fff;
    background-color: #ffaa31;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin: 1rem 0.5rem 0 0;
    padding: 0.35rem 0.8rem 0.4rem;
}
.toolbar .preview a.run:hover {
    background-color: #e67400;
}
.toolbar .preview a.run.is-running {
    background-color: #e15f4b;
}
.toolbar .preview a.run.is-running:hover {
    background-color: #c14532;
}

.full {
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    top: 60px;
    bottom: 0;
}

#tynker-logo {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60px;
    background-image: url("/images/tynker-logos/tynker-registered.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 40px;
}

.idedialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    background: rgba(0, 0, 0, 0.8);
}

.idedialog .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -300px;
    width: 600px;
/*     height: 500px; */
    z-index: 20;
    padding: 30px;
    border-radius: 4px;
    background: #fff;
}

.idedialog .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -27px;
}

.idedialog span {
    font-weight: bold;
    display: block;
}

.idedialog span.message {
    margin: -30px -30px 20px;
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: 15px 30px;
    font-size: 22px;
}

.idedialog span.label {
    line-height: 2em;
}

.idedialog .details {
    float: left;
    width: 50%;
    line-height: 2.4em;
}

.idedialog .screenshot {
    float: left;
    width: 50%;
    margin-bottom: 20px;
    padding-right: 30px;
}

.idedialog .screenshot img {
    width: 100%;
    max-height: 150px;
    background: #444;
    border: 4px solid rgba(0,0,0,.15);
    margin-bottom: 20px;
}

.idedialog .details2 {
    float: left;
    width: 50%;
    line-height: 2.4em;
    padding: 10px 0 0 30px;
}

    .idedialog .details2 span {
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        margin-bottom: 4px;
    }
    .idedialog .details2 span.projectname {
        font-size: 26px;
    }

.idedialog input[type=text] {
    width: 100%;
    border: 1px solid #ccc;
    font-size: 14px;
    height: 32px;
    padding: 6px;
}

.idedialog textarea {
    width: 100%;
    height: 9em;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: sans-serif;
    padding: 6px;
}

.idedialog label {
    display: inline-block;
    width: 110px;
    margin-bottom: 10px;
}

.idedialog .buttonbar {
    clear: both;
    margin-top: 10px;
}

.idedialog .btn-right {
    float: right;
}
.idedialog .btn-round {
    margin-left: 5px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    padding: 6px 16px 6px 16px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}
.idedialog .btn-round.action {
    background-color: #ff8c1a;
    box-shadow: 0 2px #db6b00;
    background-size: 100%;
}
.idedialog .btn-round.action:hover {
    background-color: #fa7d00;
}
.idedialog .btn-round.secondary {
    background-color: #9b9b9b;
    box-shadow: 0 2px #828282;
    background-size: 100%;
}
.idedialog .btn-round.secondary:hover {
    background-color: #8c8c8c;
}
.idedialog .btn-round.white {
    border: 2px solid #fff;
}

.idedialog h4 {
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    margin-top: -20px;
    margin-bottom: 4px;
}
.idedialog h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
}
.idedialog .close-modal {
    position: absolute;
    color: rgba(0,0,0,0.6);
    top: 10px;
    right: 5px;
    display: block;
    width: 30px;
    height: 30px;
    text-decoration: none;
}
    .idedialog .close-modal:after {
        content: "\e085";
        font-family: "IcoMoon";
        font-size: 26px;
        line-height: 30px;
    }

.spinner {
    display: inline-block;
    width: 55px;
    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);
       }
}
