/*------------ Color Palette ------------*/


/*
LIGHT ORANGE: #e4644b
DARK ORANGE: #d05942
LIGHT BLUE: #40529B
DARK BLUE: #263A8D
LIGHT TEAL: #008080;
DARK TEAL: #006868; 
DARK BROWN: #484141
Menu text: #f7f1e3
Submenu text: #ae9f9f
*/


/*------------ General Settings ------------*/

@import url(https://fonts.googleapis.com/css?family=Montserrat);
body {
    /* font-family: "Montserrat", sans-serif; */
    height: 100vh;
    margin: 0;
    padding: 0;
    letter-spacing: .2px;
    background: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

ul {
    width: 100%;
    height: 100%;
    margin: auto;
    list-style: none;
}

li {
    cursor: pointer;
}


/*------------ Themes ------------*/

.blue {
    background-color: rgba(0, 0, 0, 0.5);
}

.blue-border {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.teal {
    background-color: #008080;
}

.teal-border {
    border-top: 1px solid #006868;
}


/*------------ Power Card ------------*/

.power {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -46px;
    width: 92px;
    height: 92px;
    margin-top: -46px;
    cursor: pointer;
    background: url('../images/powerup.png') top center no-repeat;
}

.power:hover {
    background: url('../images/powerdown.png') top center no-repeat;
}

.powerdown {
    background: url('../images/powerdown.png') top center no-repeat;
    display: hidden;
}


/*------------ Main Menu ------------*/

.mainmenu {
    font-size: 16px;
    position: relative;
    padding: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .35);
    border-radius: 7px;
}

.mainmenu>li {
    box-sizing: border-box;
    height: 48px;
    color: #fff;
}

.mainmenu>li:first-child {
    border-top: 0;
    border-radius: 7px 7px 0 0;
}

.mainmenu>li:last-child {
    border-radius: 0 0 7px 7px;
}

.mainmenu>li span {
    line-height: 48px;
    display: block;
    text-align: center;
}

.mainmenu>li .icon {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    padding: 14px 20px 0 20px;
}

.mainmenu>li .messages {
    font-size: 11px;
    line-height: 19px;
    display: block;
    float: right;
    width: 34px;
    height: 18px;
    margin-top: -33px;
    margin-right: 19px;
    padding: 0;
    text-align: center;
    background: url("../images/messages.png") no-repeat;
}

.expand-triangle {
    width: 276px;
    height: 10px;
    content: " ";
    margin-left: -40px;
}

.expand-triangle img {
    width: 100%;
    height: inherit;
    vertical-align: top;
}


/*------------ Sub Menu ------------*/

.submenu {
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    content: " ";
    background-color: rgba(255, 255, 255, 0.75);
}

.submenu li {
    line-height: 30px;
    direction: rtl;
    text-align: center;
    height: 35px;
    margin-left: 0;
    padding-top: 11px;
    /* padding-right: 15px; */
    /* transition: border-left 220ms ease-in; */
    border-left: solid 0px #484141;
    /* background-color: #484141; */
    color: black;
}

.submenu .chosen,
.submenu .chosen:hover {
    border-left: solid 0px #96d145;
}

.submenu li:hover {
    /* border-left: solid 6px #ae9f9f; */
}

.submenu li span {
    color: #373a44;
}


/*------------ 3D --------------*/

#viewport {
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    width: 100%;
    height: 100%;
}

#card {
    -webkit-transform-style: preserve-3D;
    -moz-transform-style: preserve-3D;
    transform-style: preserve-3D;
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

#card>div {
    position: absolute;
    backface-visibility: hidden;
}

#front {
    -webkit-transform: translateZ(1px);
    -moz-transform: translateZ(1px);
    transform: translateZ(1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .35);
}

#back {
    -webkit-transform: translateZ(-1px) rotateY(180deg);
    -moz-transform: translateZ(-1px) rotateY(180deg);
    transform: translateZ(-1px) rotateY(180deg);
}

#front,
#back {
    border-radius: 0;
    width: 100%;
    /* height: 100%; */
    position: relative;
}

.flip {
    -webkit-animation: animate 400ms forwards ease-in-out;
    -moz-animation: animate 400ms forwards ease-in-out;
    animation: animate 400ms forwards ease-in-out;
}

@-webkit-keyframes animate {
    to {
        -webkit-transform: rotateY(-180deg);
    }
    from {
        -webkit-transform: rotateY(0deg);
    }
}

@-moz-keyframes animate {
    to {
        -moz-transform: rotateY(-180deg);
    }
    from {
        -moz-transform: rotateY(0deg);
    }
}

@keyframes animate {
    to {
        transform: rotateY(-180deg);
    }
    from {
        transform: rotateY(0deg);
    }
}

.flipback {
    -webkit-animation: animateback 400ms forwards ease-in-out;
    -moz-animation: animateback 400ms forwards ease-in-out;
    animation: animateback 400ms forwards ease-in-out;
}

@-webkit-keyframes animateback {
    to {
        -webkit-transform: rotateY(0deg);
    }
    from {
        -webkit-transform: rotateY(-180deg);
    }
}

@-moz-keyframes animateback {
    to {
        -moz-transform: rotateY(0deg);
    }
    from {
        -moz-transform: rotateY(-180deg);
    }
}

@keyframes animateback {
    to {
        transform: rotateY(0deg);
    }
    from {
        transform: rotateY(-180deg);
    }
}


/*--------------------------------------------*/

.sharing-panel,
.export-panel,
.pen-settings-modal,
.view-switcher,
.editor-dropdown,
.pen-details-when-dropdown {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 100%;
    padding: 5px 0;
    width: 200px;
    color: #222;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, -webkit-transform 0.15s;
    transition: transform 0.15s, opacity 0.15s;
    transition: transform 0.15s, opacity 0.15s, -webkit-transform 0.15s;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transform-origin: top right;
    transform-origin: top right
}

.open.sharing-panel,
.open.export-panel,
.open.pen-settings-modal,
.open.view-switcher,
.open.editor-dropdown,
.open.pen-details-when-dropdown {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
}

body.layout-top .resizer,
body.details .resizer {
    background: #343436;
    border-bottom: 1px solid black;
    box-shadow: 0 0 1px black;
    height: 17px;
    cursor: row-resize;
    position: relative;
    z-index: 10
}

body.layout-top .resizer {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

body.layout-top .boxes {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}

body.layout-top .top-boxes {
    width: 100%;
    height: 350px;
    min-height: 125px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

body.layout-top .top-boxes .box {
    width: 32%;
    width: calc((100% - 20px*3) / 3)
}

body.layout-top.state-htmlOn-cssOff-jsOn .box-html,
body.layout-top.state-htmlOn-cssOff-jsOn .box-js {
    width: 46%;
    width: calc((100% - 20px*3) / 2)
}

body.layout-top.state-htmlOn-cssOff-jsOn .box-css {
    width: 0
}

body.layout-top.state-htmlOff-cssOn-jsOn .box-css,
body.layout-top.state-htmlOff-cssOn-jsOn .box-js {
    width: 46%;
    width: calc((100% - 20px*3) / 2)
}

body.layout-top.state-htmlOff-cssOn-jsOn .box-html {
    width: 0
}

body.layout-top.state-htmlOn-cssOn-jsOff .box-html,
body.layout-top.state-htmlOn-cssOn-jsOff .box-css {
    width: 46%;
    width: calc((100% - 20px*3) / 2)
}

body.layout-top.state-htmlOn-cssOn-jsOff .box-js {
    width: 0
}

body.layout-top.state-htmlOn-cssOff-jsOff .box-html {
    width: 92%;
    width: calc(100% - 20px*3)
}

body.layout-top.state-htmlOn-cssOff-jsOff .box-css,
body.layout-top.state-htmlOn-cssOff-jsOff .box-js {
    width: 0
}

body.layout-top.state-htmlOff-cssOff-jsOn .box-js {
    width: 92%;
    width: calc(100% - 20px*3)
}

body.layout-top.state-htmlOff-cssOff-jsOn .box-html,
body.layout-top.state-htmlOff-cssOff-jsOn .box-css {
    width: 0
}

body.layout-top.state-htmlOff-cssOn-jsOff .box-css {
    width: 92%;
    width: calc(100% - 20px*3)
}

body.layout-top.state-htmlOff-cssOn-jsOff .box-html,
body.layout-top.state-htmlOff-cssOn-jsOff .box-js {
    width: 0
}

body.layout-top .top-boxes .editor-resizer {
    position: relative;
    z-index: 2;
    width: 20px;
    cursor: col-resize;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    background: #343436
}

body.layout-top .editor-resizer:first-child,
body.layout-top body.student .editor-resizer {
    cursor: auto
}

body.layout-top .top-boxes .box .box-title-name {
    visibility: hidden
}

body.layout-top .box-title--resizer {
    position: absolute;
    left: 53px;
    top: 7px;
    z-index: 2;
    pointer-events: none;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    -webkit-transform-origin: left center;
    transform-origin: left center
}

body.layout-top .is-horiz-skinny .box-title--resizer {
    -webkit-transform: translate(-45px, -11px) rotate(90deg) scale(0.8);
    transform: translate(-45px, -11px) rotate(90deg) scale(0.8)
}

body.layout-top .width-readout {
    left: 50%;
    top: 50%;
    padding: 4px 8px
}

body.layout-right .top-boxes {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3
}

body.layout-right #resizer {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2
}

body.layout-right .output_container {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1
}

body.layout-side .top-boxes {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 400px;
    height: 100%;
    min-width: 216px
}

body.layout-side .box-title--resizer {
    display: none
}

body.layout-side .assets-wrap {
    right: 35px
}

body.layout-side .output-container {
    height: 100%
}

body.layout-side .CodeMirror-wrap {
    height: 100%
}

body.layout-side .top-boxes .box {
    height: 32%;
    height: calc( (100% - 3px*3) / 3);
    position: relative;
    overflow: visible
}

body.layout-side.state-htmlOn-cssOff-jsOn .box-html,
body.layout-side.state-htmlOn-cssOff-jsOn .box-js {
    height: 44%;
    height: calc((100% - (3px*3 + 36px)) / 2)
}

body.layout-side.state-htmlOn-cssOff-jsOn .box-css {
    height: 36px
}

body.layout-side.state-htmlOff-cssOn-jsOn .box-css,
body.layout-side.state-htmlOff-cssOn-jsOn .box-js {
    height: 44%;
    height: calc((100% - (3px*3 + 36px)) / 2)
}

body.layout-side.state-htmlOff-cssOn-jsOn .box-html {
    height: 36px
}

body.layout-side.state-htmlOn-cssOn-jsOff .box-html,
body.layout-side.state-htmlOn-cssOn-jsOff .box-css {
    height: 44%;
    height: calc((100% - (3px*3 + 36px)) / 2)
}

body.layout-side.state-htmlOn-cssOn-jsOff .box-js {
    height: 36px
}

body.layout-side.state-htmlOn-cssOff-jsOff .box-html {
    height: 88%;
    height: calc(100% - (3px*3 + 36px*2))
}

body.layout-side.state-htmlOn-cssOff-jsOff .box-css,
body.layout-side.state-htmlOn-cssOff-jsOff .box-js {
    height: 36px
}

body.layout-side.state-htmlOff-cssOff-jsOn .box-js {
    height: 88%;
    height: calc(100% - (3px*3 + 36px*2))
}

body.layout-side.state-htmlOff-cssOff-jsOn .box-html,
body.layout-side.state-htmlOff-cssOff-jsOn .box-css {
    height: 36px
}

body.layout-side.state-htmlOff-cssOn-jsOff .box-css {
    height: 88%;
    height: calc(100% - (3px*3 + 36px*2))
}

body.layout-side.state-htmlOff-cssOn-jsOff .box-html,
body.layout-side.state-htmlOff-cssOn-jsOff .box-js {
    height: 36px
}

body.layout-side .editor-resizer,
.editor-resizer-console {
    height: 3px;
    cursor: row-resize;
    background: linear-gradient(to bottom, #505050, #383838)
}

body.layout-side .powers-drag-handle,
.box-console .powers-drag-handle {
    display: block;
    cursor: row-resize
}

body.layout-side body.student .editor-resizer,
body.layout-side body.student .powers-drag-handle,
body.layout-side .editor-resizer:first-child,
body.layout-side .box-html .powers-drag-handle {
    cursor: auto
}

body.layout-side .resizer {
    background: #555;
    height: 100%;
    width: 14px;
    cursor: col-resize;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 10
}

body.layout-side .width-readout {
    bottom: 15px;
    left: 50%;
    padding: 1px 4px
}

.CodeMirror {
    font-family: monospace;
    height: 300px;
    color: black
}

.CodeMirror-lines {
    padding: 4px 0
}

.CodeMirror pre {
    padding: 0 4px
}

.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
    background-color: white
}

.CodeMirror-gutters {
    border-right: 1px solid #ddd;
    background-color: #f7f7f7;
    white-space: nowrap
}

.CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    color: #999;
    white-space: nowrap
}

.CodeMirror-guttermarker {
    color: black
}

.CodeMirror-guttermarker-subtle {
    color: #999
}

.CodeMirror-cursor {
    border-left: 1px solid black;
    border-right: none;
    width: 0
}

.CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver
}

.cm-fat-cursor .CodeMirror-cursor {
    width: auto;
    border: 0 !important;
    background: #7e7
}

.cm-fat-cursor div.CodeMirror-cursors {
    z-index: 1
}

.cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
    background-color: #7e7
}

@-webkit-keyframes blink {
    50% {
        background-color: transparent
    }
}

@keyframes blink {
    50% {
        background-color: transparent
    }
}

.cm-tab {
    display: inline-block;
    text-decoration: inherit
}

.CodeMirror-rulers {
    position: absolute;
    left: 0;
    right: 0;
    top: -50px;
    bottom: -20px;
    overflow: hidden
}

.CodeMirror-ruler {
    border-left: 1px solid #ccc;
    top: 0;
    bottom: 0;
    position: absolute
}

.CodeMirror-composing {
    border-bottom: 2px solid
}

div.CodeMirror span.CodeMirror-matchingbracket {
    color: #0f0
}

div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #f22
}

.CodeMirror-matchingtag {
    background: rgba(255, 150, 0, 0.3)
}

.CodeMirror-activeline-background {
    background: #e8f2ff
}

.CodeMirror {
    position: relative;
    overflow: hidden;
    background: white
}

.CodeMirror-scroll {
    overflow: scroll !important;
    margin-bottom: -30px;
    margin-right: -30px;
    padding-bottom: 30px;
    height: 100%;
    outline: none;
    position: relative
}

.CodeMirror-sizer {
    position: relative;
    border-right: 30px solid transparent
}

.CodeMirror-vscrollbar,
.CodeMirror-hscrollbar,
.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
    position: absolute;
    z-index: 6;
    display: none
}

.CodeMirror-vscrollbar {
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll
}

.CodeMirror-hscrollbar {
    bottom: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: scroll
}

.CodeMirror-scrollbar-filler {
    right: 0;
    bottom: 0
}

.CodeMirror-gutter-filler {
    left: 0;
    bottom: 0
}

.CodeMirror-gutters {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    z-index: 3
}

.CodeMirror-gutter {
    white-space: normal;
    height: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: -30px
}

.CodeMirror-gutter-wrapper {
    position: absolute;
    z-index: 4;
    background: none !important;
    border: none !important
}

.CodeMirror-gutter-background {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4
}

.CodeMirror-gutter-elt {
    position: absolute;
    cursor: default;
    z-index: 4
}

.CodeMirror-gutter-wrapper {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.CodeMirror-lines {
    cursor: text;
    min-height: 1px
}

.CodeMirror pre {
    border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    font-variant-ligatures: none
}

.CodeMirror-wrap pre {
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: normal
}

.CodeMirror-linebackground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0
}

.CodeMirror-linewidget {
    position: relative;
    z-index: 2;
    overflow: auto
}

.CodeMirror-code {
    outline: none
}

.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
    box-sizing: content-box
}

.CodeMirror-measure {
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden
}

.CodeMirror-cursor {
    position: absolute;
    pointer-events: none
}

.CodeMirror-measure pre {
    position: static
}

div.CodeMirror-cursors {
    visibility: hidden;
    position: relative;
    z-index: 3
}

div.CodeMirror-dragcursors {
    visibility: visible
}

.CodeMirror-focused div.CodeMirror-cursors {
    visibility: visible
}

.CodeMirror-selected {
    background: #d9d9d9
}

.CodeMirror-focused .CodeMirror-selected {
    background: #d7d4f0
}

.CodeMirror-crosshair {
    cursor: crosshair
}

.CodeMirror-line::-moz-selection,
.CodeMirror-line>span::-moz-selection,
.CodeMirror-line>span>span::-moz-selection {
    background: #d7d4f0
}

.CodeMirror-line::selection,
.CodeMirror-line>span::selection,
.CodeMirror-line>span>span::selection {
    background: #d7d4f0
}

.CodeMirror-line::-moz-selection,
.CodeMirror-line>span::-moz-selection,
.CodeMirror-line>span>span::-moz-selection {
    background: #d7d4f0
}

.cm-searching {
    background: #ffa;
    background: rgba(255, 255, 0, 0.4)
}

.cm-force-border {
    padding-right: .1px
}

@media print {
    .CodeMirror div.CodeMirror-cursors {
        visibility: hidden
    }
}

.cm-tab-wrap-hack:after {
    content: ''
}

span.CodeMirror-selectedtext {
    background: none
}

.CodeMirror {
    font: 15px/1.5 Monaco, MonoSpace;
    background: none;
    height: 100%
}

.CodeMirror-gutters {
    border: 0;
    background: none
}

div.CodeMirror span.CodeMirror-matchingbracket {
    color: inherit
}

.CodeMirror-sizer {
    margin-bottom: 0 !important
}

.CodeMirror-dialog {
    background: #eee;
    padding: 5px;
    font-size: 0.9rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    color: black
}

.CodeMirror-dialog .CodeMirror-search-hint {
    display: none
}

.CodeMirror-dialog .CodeMirror-search-field {
    width: 250px !important;
    font: 0.9rem/1.3 Monaco, MonoSpace
}

.CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
    background-color: transparent
}

.CodeMirror-linewidget {
    overflow: hidden
}

.CodeMirror-foldmarker {
    color: blue;
    text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
    font-family: arial;
    line-height: .3;
    cursor: pointer
}

.CodeMirror-foldgutter {
    width: .7em
}

.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
    cursor: pointer
}

.CodeMirror-placeholder {
    opacity: 0.5
}

.CodeMirror-foldgutter-open:after {
    font-family: sans-serif;
    content: "\25BE"
}

.CodeMirror-foldgutter-folded:after {
    font-family: sans-serif;
    content: "\25B8"
}

.CodeMirror-hints {
    position: absolute;
    z-index: 10;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 2px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    max-height: 20em;
    overflow-y: auto
}

.CodeMirror-hints .CodeMirror-hint {
    margin: 2px 0;
    font-size: 0.9rem;
    padding: 0 4px;
    border-radius: 2px;
    white-space: pre;
    cursor: pointer
}

.CodeMirror-simplescroll-horizontal div,
.CodeMirror-simplescroll-vertical div {
    position: absolute;
    background-clip: padding-box !important
}

.CodeMirror-simplescroll-horizontal div {
    border-bottom: 4px solid transparent
}

.CodeMirror-simplescroll-vertical div {
    border-right: 4px solid transparent
}

.CodeMirror-simplescroll-horizontal,
.CodeMirror-simplescroll-vertical {
    position: absolute;
    z-index: 6
}

.CodeMirror-simplescroll-horizontal {
    bottom: 0;
    left: 0;
    height: 9px
}

.CodeMirror-simplescroll-horizontal div {
    bottom: 0;
    height: 100%
}

.CodeMirror-simplescroll-vertical {
    right: 0;
    top: 0;
    width: 9px
}

.CodeMirror-simplescroll-vertical div {
    right: 0;
    width: 100%
}

.CodeMirror-linewidget+.CodeMirror-linewidget .inline-editor-error {
    border-top: 1px solid #ff4949
}

.CodeMirror-linewidget+.CodeMirror-linewidget .inline-editor-error.yellow {
    border-top-color: #d2c676
}

.inline-editor-error {
    background: red;
    color: white;
    position: relative;
    font-size: 90%;
    padding: 5px 15px;
    background-clip: padding-box;
    box-shadow: inset -50px 0 50px -10px rgba(0, 0, 0, 0.2)
}

.inline-editor-error.yellow {
    background-color: #ceb716
}

.inline-editor-error.yellow h4 {
    text-transform: none
}

.inline-editor-error a {
    color: inherit;
    text-decoration: underline
}

.box.stylus .inline-editor-error {
    white-space: pre
}

body:not(.codepen-embed-body) .inline-error-hidden {
    height: 0;
    padding: 0;
    margin: 0;
    border: 0
}

body:not(.codepen-embed-body) .inline-error-hidden .inline-error-message {
    visibility: hidden
}

body:not(.codepen-embed-body) .inline-error-hidden .inline-error-toggle {
    display: block
}

.html-errors {
    padding-left: 15px
}

.error-bar {
    display: none;
    position: absolute;
    z-index: 2;
    bottom: 10px;
    right: 10px;
    width: 20px;
    font-weight: bold;
    text-align: right;
    color: white;
    cursor: pointer;
    padding-right: 10px
}

.error-icon {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    line-height: 15px;
    display: inline-block;
    text-align: center;
    background: red;
    color: white
}

.error-icon:hover,
.error-icon:focus {
    background: white;
    color: #ff3c41
}

.line-highlight {
    background: rgba(0, 0, 0, 0.2);
    left: -26px
}

.progress {
    clear: both;
    height: 9px;
    margin: 0 0 15px 0;
    text-indent: -9999px;
    padding: 2px;
    background: #666;
    border-radius: 4px;
    background: linear-gradient(to bottom, #e0e0e0, #eee)
}

body.asset-manager .progress {
    margin-bottom: 4px
}

.progress-width {
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #89eaff, #04a1ab)
}

.space-left-text {
    margin: 0 0 10px 0;
    color: #999
}

.assets-wrap {
    background: white;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: 20px;
    box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 5;
    visibility: hidden
}

.assets-wrap.open {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    visibility: visible
}

.assets-area {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 28px;
    padding: 25px 10px 25px 25px;
    background-clip: padding-box;
    overflow: auto;
    color: black
}

.assets-area.draggedOn:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 2px;
    border: 2px dashed #94b1ea;
    background: rgba(217, 230, 255, 0.2)
}

.assets-area header {
    overflow: hidden;
    min-width: 700px
}

.assets-area header h1 {
    color: black;
    float: left;
    margin: 2px 0 8px 0
}

.assets-area header h1 span {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-size: 0.5em;
    font-weight: normal;
    color: #ccc
}

.assets-area header h1 strong {
    background: black;
    color: white;
    padding: 2px 5px;
    border-radius: 4px
}

.assets-area .assets-search {
    position: absolute;
    top: 50px;
    right: 10px;
    border: 1px solid #ccc
}

.space-left-text {
    display: none
}

.assets-all-files {
    min-width: 700px
}

.assets-all-files>div {
    width: 25%;
    float: left;
    padding-right: 30px
}

.assets-all-files ol {
    list-style: none
}

.assets-all-files li {
    position: relative;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease
}

.assets-all-files li:nth-child(odd) {
    background: #f3f6fa
}

.assets-all-files li:hover,
.assets-all-files li:active {
    background: #d5dee9
}

.assets-all-files li:hover a,
.assets-all-files li:active a {
    color: black
}

.assets-all-files li a {
    overflow: hidden;
    font-size: 12px;
    color: #444;
    padding: 7px 10px;
    display: block;
    line-height: 16px;
    position: relative
}

.assets-all-files li:hover,
.assets-all-files li:active {
    z-index: 1
}

.assets-all-files li:hover .file-delete,
.assets-all-files li:active .file-delete {
    opacity: 1
}

.assets-all-files li:hover .file-delete:hover svg,
.assets-all-files li:hover .file-delete:active svg,
.assets-all-files li:active .file-delete:hover svg,
.assets-all-files li:active .file-delete:active svg {
    fill: red
}

.assets-all-files li input {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 100%;
    width: calc(100% - 5px);
    text-indent: -225px;
    display: none;
    font-size: 11px
}

.assets-all-files li.deleting {
    background: red
}

.assets-all-files li.deleting input {
    display: none !important
}

.assets-all-files li.project-asset {
    -webkit-transform: none;
    transform: none;
    transition: none
}

.assets-all-files li.newly-added-enter,
.assets-all-files li.newly-added {
    -webkit-transform: translateY(-1000px);
    transform: translateY(-1000px)
}

.assets-all-files li.newly-added-enter.newly-added-enter-active {
    transition: all 400ms ease-out;
    -webkit-transform: translateY(0px);
    transform: translateY(0px)
}

ol#file-list-image li:hover .file-preview,
ol#file-list-image li:active .file-preview {
    opacity: 1
}

.file-name {
    width: 85%;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-size {
    float: right;
    width: 15%;
    text-align: right;
    font-size: 10px;
    color: #b0b0b0
}

.file-delete {
    position: absolute;
    right: 100%;
    top: 0;
    padding-top: 6px;
    height: 100%;
    opacity: 0;
    width: 16px
}

.file-delete svg {
    fill: #b0b0b0;
    width: 12px;
    height: 12px;
    pointer-events: none
}

.file-preview {
    position: absolute;
    left: 100%;
    top: 0;
    padding-top: 6px;
    height: 100%;
    opacity: 0;
    width: 17px;
    z-index: 100
}

.file-preview:hover .the-image-preview {
    opacity: 1;
    visibility: visible
}

.file-preview svg {
    fill: #b0b0b0;
    width: 17px;
    height: 12px;
    pointer-events: none;
    margin-left: 4px
}

.the-image-preview {
    position: absolute;
    left: 100%;
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    margin-left: 10px;
    background-color: white;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    top: -40px;
    opacity: 0
}

.no-files {
    padding: 40px 10px;
    text-align: center;
    border: 1px dashed #ccc;
    color: #999;
    border-radius: 10px;
    background: none !important
}

.uploading-message {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    position: absolute;
    bottom: 50px;
    right: 25px;
    transition: opacity 0.2s;
    opacity: 0;
    visibility: hidden
}

.uploading-message.active {
    opacity: 1;
    visibility: visible
}

.assets-footer {
    white-space: nowrap;
    overflow: hidden;
    position: absolute
}

.assets-area-close-button {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 25px
}

.assets-area-close-button svg {
    fill: #999;
    width: 15px;
    height: 15px;
    pointer-events: none
}

.assets-area-close-button:hover svg,
.assets-area-close-button:active svg {
    fill: black
}

.asset-upsell {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: black;
    text-align: center
}

.asset-upsell>div {
    max-width: 480px;
    padding: 20px
}

#keycommands {
    display: none;
    top: 25px
}

#keycommands>section {
    width: 50%;
    float: left
}

#keycommands h2 {
    margin: 15px 0 5px 0;
    padding-bottom: 3px;
    border-bottom: 1px solid #666
}

#keycommands h2:first-child {
    margin-top: 0
}

#keycommands .key-group {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: white
}

#keycommands .key-group.split {
    margin: 0 0 15px 0
}

.mac_only,
.pc_only {
    display: none
}

.pc .pc_only,
.mac .mac_only {
    display: inline
}

.command {
    color: #fcd000;
    font-weight: 700
}

.command:before {
    margin-right: 1px
}

.mac .command:before {
    content: "\2318"
}

.pc .command:before {
    content: "Ctrl "
}

.command.no-mod:before {
    content: ""
}

.command-no-mod {
    color: #fcd000;
    font-weight: 700
}

.sharing-panel,
.export-panel {
    -webkit-transform-origin: bottom right;
    transform-origin: bottom right;
    cursor: auto;
    top: auto;
    width: 220px;
    bottom: 100%;
    left: auto !important;
    right: 10px;
    margin-bottom: 1px;
    padding: 10px;
    white-space: normal
}

.sharing-panel .button,
.export-panel .button {
    margin: 0 0 10px 0
}

.send-to-phone {
    padding: 20px 0 0;
    font-size: 12px;
    text-align: center
}

.send-to-phone h5 {
    text-transform: none;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-weight: normal
}

.send-to-phone h5 svg {
    width: 12px;
    height: 12px;
    fill: #666;
    margin-left: 2px;
    vertical-align: bottom
}

.send-to-phone .error {
    padding: 10px;
    background: rgba(255, 0, 0, 0.2)
}

.send-to-phone .error-message {
    padding: 10px;
    margin: 10px 0;
    width: auto;
    text-align: center;
    white-space: normal
}

.send-to-phone-input {
    margin: 0 0 5px 0
}

.share-buttons,
.share-actions {
    list-style: none
}

.share-buttons .button,
.share-actions .button {
    color: #111;
    font-weight: bold !important;
    padding: 5px;
    display: block;
    text-align: left
}

.share-buttons .button svg,
.share-actions .button svg {
    fill: #111;
    margin-right: 7px
}

.share-buttons .button:hover,
.share-buttons .button:focus,
.share-actions .button:hover,
.share-actions .button:focus {
    background: #E7E7E7;
    color: inherit
}

.settings-nub svg {
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s
}

.settings-nub.open svg {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

.expander {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 1.1em;
    overflow: hidden;
    white-space: nowrap
}

.expander span {
    color: #999;
    text-shadow: 1px 1px 1px black
}

.expander:hover span,
.expander:focus span {
    color: white
}

.pen-settings-modal {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 75vw;
    left: 50%;
    top: 70px;
    -webkit-transform: scale(0.9) translateX(-50%);
    transform: scale(0.9) translateX(-50%);
    max-height: 75vh;
    min-width: 850px;
    max-width: 1150px;
    padding: 0;
    color: white;
    z-index: 201
}

.pen-settings-modal input[type='name'],
.pen-settings-modal input[type='text'],
.pen-settings-modal input[type='email'],
.pen-settings-modal input[type='password'],
.pen-settings-modal input[type='search'],
.pen-settings-modal input[type='url'],
.pen-settings-modal input[type='number'],
.pen-settings-modal textarea {
    background: #F3F0EB !important;
    color: #222
}

body.room-pres .pen-settings-modal {
    top: 35px
}

.pen-settings-modal.pen-settings-modal-half {
    width: 50% !important;
    min-width: 400px
}

.pen-settings-modal>.settings {
    display: none
}

.pen-settings-modal>.settings.active {
    display: block
}

.pen-settings-modal.open {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1) translateX(-50%);
    transform: scale(1) translateX(-50%)
}

.pen-settings-modal .explore-tabs {
    margin: 0 0 0 -10px
}

.pen-settings-modal .explore-tabs a {
    padding: 10px;
    border: 0
}

.pen-settings-modal .explore-tabs a:hover,
.pen-settings-modal .explore-tabs a:focus {
    color: #1E1E1E
}

.pen-settings-modal .explore-tabs a.active {
    color: #111;
    font-weight: bold
}

.pen-settings-modal .reminder {
    color: #444;
    padding: 10px;
    margin: 5px 0 0 0
}

.pen-settings-halfs-wrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-height: 75vh;
    position: relative
}

.settings-modal-left {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 20px !important;
    color: #222;
    max-height: 75vh;
    overflow: auto
}

.settings-modal-left a {
    color: #4c8ee8;
    border-bottom: 1px solid #acacac
}

.settings-modal-left a:hover,
.settings-modal-left a:focus {
    color: #a6c7f4;
    border-bottom-color: #dfdfdf
}

.settings-modal-left::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.settings-modal-left::-webkit-scrollbar-thumb {
    background: #666
}

.settings-modal-left::-webkit-scrollbar-track {
    background: none
}

body .settings-modal-left {
    scrollbar-face-color: #666;
    scrollbar-track-color: none
}

.settings-modal-left:only-child {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 12px
}

.settings-modal-left:only-child::before {
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: -24px;
    border-right: 10px solid transparent;
    border-left: 10px solid #555
}

.settings-modal-left h2 {
    border-bottom: 3px solid #ccc;
    font-size: 2.0rem;
    padding-bottom: 5px;
    margin: 0
}

.settings-modal-left .button-medium,
.settings-modal-left .button-medium:hover {
    color: white
}

.settings-modal-right {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
    background: #454545
}

.settings-modal-right::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.settings-modal-right::-webkit-scrollbar-thumb {
    background: #666
}

.settings-modal-right::-webkit-scrollbar-track {
    background: none
}

body .settings-modal-right {
    scrollbar-face-color: #666;
    scrollbar-track-color: none
}

.save-and-close-wrap {
    position: absolute;
    top: 100%;
    margin-top: 20px;
    left: 0;
    text-align: center;
    width: 100%
}

.settings form {
    padding: 10px 0
}

.settings input[type=radio].hidden {
    display: none
}

.settings input[type=radio].hidden:checked+label {
    background: linear-gradient(#81e058, #187a14);
    box-shadow: 0 1px 0 #c3f993 inset
}

.settings input[type=radio].hidden:checked+label:before {
    content: "\2713";
    margin-right: 0.2em
}

.settings .error {
    display: none;
    margin: 8px 0;
    color: #ff3c41
}

.settings .external-resource-wrapper {
    width: 100%
}

.pen-settings-panel .hint {
    color: #999;
    font-size: 0.8em;
    margin: 0;
    padding-left: 16px
}

.pen-settings-panel #tab-size {
    width: 80px;
    vertical-align: middle
}

.external-resource-url-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0 0 5px 0;
    padding-right: 2px
}

.external-resource-url-row .move-external-url,
.external-resource-url-row .remove-external-url,
.external-resource-url-row .external-resource {
    vertical-align: middle
}

.external-resource-url-row button {
    border: 0;
    padding: 0;
    background: 0
}

.external-resource-url-row .move-external-url svg {
    width: 14px;
    height: 22px;
    position: relative;
    top: 3px;
    pointer-events: none
}

.external-resource-url-row .remove-external-url,
.external-resource-url-row .external-url-option {
    cursor: pointer;
    line-height: 0;
    margin-top: 4px;
    height: 17px;
    width: 14px
}

.external-resource-url-row .remove-external-url.open-external-url,
.external-resource-url-row .external-url-option.open-external-url {
    margin-left: -14px;
    margin-top: 20px;
    text-decoration: none;
    border-bottom: none
}

.external-resource-url-row .remove-external-url.open-external-url:hover svg,
.external-resource-url-row .external-url-option.open-external-url:hover svg {
    fill: #333
}

.external-resource-url-row .remove-external-url.open-external-url[href=''],
.external-resource-url-row .external-url-option.open-external-url[href=''] {
    display: none
}

.external-resource-url-row .remove-external-url svg,
.external-resource-url-row .external-url-option svg {
    pointer-events: none;
    position: relative;
    width: 12px;
    height: 12px;
    fill: #666;
    top: 3px
}

.external-resource-url-row .remove-external-url:hover svg,
.external-resource-url-row .external-url-option:hover svg {
    fill: red
}

.external-resource-url-row .external-resource {
    margin: 0 8px
}

.external-resource-url-row .twitter-typeahead {
    padding: 0 8px;
    margin: 0
}

.external-resource-url-row .twitter-typeahead .external-resource {
    margin: 0
}

.twitter-typeahead {
    width: 100%;
    margin: 0 10px
}

.external-resource {
    background: white !important
}

.tt-dropdown-menu {
    background: linear-gradient(#313131, #131313);
    overflow: auto;
    height: 245px;
    width: 100%
}

.tt-dropdown-menu::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.tt-dropdown-menu::-webkit-scrollbar-thumb {
    background: #666
}

.tt-dropdown-menu::-webkit-scrollbar-track {
    background: none
}

body .tt-dropdown-menu {
    scrollbar-face-color: #666;
    scrollbar-track-color: none
}

.tt-hint {
    left: -9999px !important
}

.tt-suggestion p {
    color: white;
    margin: 0;
    padding: 8px;
    font-size: 11px;
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden
}

.tt-suggestion p small {
    display: block;
    margin: 2px 0;
    color: #999
}

.tt-cursor {
    color: white;
    background: linear-gradient(#3875D7, #2A62BC)
}

.empty-typeahead-message {
    padding: 15px;
    color: white
}

.pen-details {
    min-width: 100%;
    left: 280px;
    top: 61px;
    padding: 20px
}

.pen-details input.pen-details-title,
.pen-details textarea.pen-details-description,
.pen-details input.pen-tags {
    width: 100%
}

.pen-details .pen-details-title {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0 0 10px 0
}

.pen-details-description {
    margin: 0 0 8px 0;
    height: 100px;
    resize: vertical
}

.pen-tags {
    margin: 0 0 2px 0
}

.tags {
    position: relative;
    margin: 0 0 10px 0
}

.tags-label {
    position: relative
}

.tags-label em {
    font-style: normal;
    font-size: 11px;
    position: absolute;
    right: 0;
    bottom: 0
}

.active-tags {
    white-space: normal
}

.active-tags>.tag:nth-child(n+6) .tag-name {
    background: #ff3c41;
    color: black
}

.tag {
    font-size: 12px;
    color: white;
    margin: 0 10px 5px 0
}

.tag-x {
    color: #ccc;
    font-size: 11px;
    cursor: pointer
}

.tag-x:hover {
    color: #ff3c41
}

.tag-name {
    padding: 2px 6px 3px;
    background: #1E1E1E;
    border-radius: 2px;
    color: #ccc;
    white-space: nowrap
}

.at-capacity {
    color: #ff3c41
}

div.template-checkbox-row {
    margin-bottom: 0
}

div.template-checkbox-row .help-flyout-link {
    top: 3px
}

.template-upsell {
    color: #999;
    font-size: 0.85rem
}

#save-details {
    float: none
}

.settings-row {
    color: black;
    position: relative
}

.settings-row:last-child {
    border-bottom: 0;
    margin: 0;
    padding-bottom: 0
}

.settings-row select {
    font-size: 16px
}

.settings-row h4 {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    text-transform: none;
    margin: 0 0 8px 0;
    font-size: 1.1rem
}

.settings-row p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0 0 8px 0
}

.box-html.jade .view-compiled-button,
.box-html.slim .view-compiled-button,
.box-html.haml .view-compiled-button,
.box-html.markdown .view-compiled-button {
    display: block
}

.box-html.jade h2:after {
    content: "(Jade)"
}

.box-html.slim h2:after {
    content: "(Slim)"
}

.box-html.haml h2:after {
    content: "(Haml)"
}

.box-html.markdown h2:after {
    content: "(Markdown)"
}

.head-content {
    min-height: 100px;
    resize: vertical
}

#meta-tag-insert {
    display: inline-block;
    font-size: 0.85rem;
    margin: 0;
    border-bottom: 1px solid #254256;
    cursor: pointer
}

.box-css.scss .view-compiled-button,
.box-css.sass .view-compiled-button,
.box-css.stylus .view-compiled-button,
.box-css.less .view-compiled-button,
.box-css.postcss .view-compiled-button,
.box-css.autoprefixer .view-compiled-button,
.tabbed-box-css.scss .view-compiled-button,
.tabbed-box-css.sass .view-compiled-button,
.tabbed-box-css.stylus .view-compiled-button,
.tabbed-box-css.less .view-compiled-button,
.tabbed-box-css.postcss .view-compiled-button,
.tabbed-box-css.autoprefixer .view-compiled-button {
    display: block
}

.box-css.scss h2:after,
.tabbed-box-css.scss h2:after {
    content: "(SCSS)"
}

.box-css.sass h2:after,
.tabbed-box-css.sass h2:after {
    content: "(Sass)"
}

.box-css.stylus h2:after,
.tabbed-box-css.stylus h2:after {
    content: "(Stylus)"
}

.box-css.less h2:after,
.tabbed-box-css.less h2:after {
    content: "(LESS)"
}

.box-css.postcss h2:after,
.tabbed-box-css.postcss h2:after {
    content: "(PostCSS)"
}

.css-preprocessor {
    margin: 0 0 10px 0
}

.box-js.coffeescript .view-compiled-button,
.box-js.livescript .view-compiled-button,
.box-js.typescript .view-compiled-button,
.box-js.babel .view-compiled-button {
    display: block
}

.box-js.coffeescript h2:after {
    content: "(CoffeeScript)"
}

.box-js.babel h2:after {
    content: "(Babel)"
}

.box-js.livescript h2:after {
    content: "(LiveScript)"
}

.box-js.typescript h2:after {
    content: "(TypeScript)"
}

.external-resource-actions {
    padding-top: 5px
}

.external-resource-actions .add-resource {
    float: right
}

.quick-add-select {
    width: 120px
}

.add-ons h5 {
    margin: 0 0 3px 0
}

.need-an-addon-button {
    position: absolute;
    top: 12px;
    right: 25px
}

.add-ons-container {
    border-radius: 3px;
    background: #222;
    position: relative
}

input[type='text'].add-ons-filter {
    background: #222 !important;
    border: none;
    border-bottom: 1px solid #555;
    color: #eee;
    font-size: 1rem
}

.add-ons-clear-filter {
    position: absolute;
    width: 39px;
    height: 39px;
    top: 0;
    right: 0;
    cursor: pointer;
    display: none
}

.add-ons-clear-filter .icon-x {
    width: 14px;
    height: 14px;
    fill: #eee;
    margin: 12px
}

.add-ons-scroll {
    height: 130px;
    overflow-y: scroll
}

.add-ons-scroll::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.add-ons-scroll::-webkit-scrollbar-thumb {
    background: #666
}

.add-ons-scroll::-webkit-scrollbar-track {
    background: none
}

body .add-ons-scroll {
    scrollbar-face-color: #666;
    scrollbar-track-color: none
}

.add-ons-list {
    list-style: none;
    background: #222;
    padding-bottom: 5px
}

.add-ons-list li {
    position: relative;
    padding: 4px 5px 4px 10px;
    color: white
}

.add-ons-list li.depends-on {
    padding-left: 30px
}

.add-ons-list li.depends-on .add-on-code::before {
    content: "â†³ ";
    color: #777
}

.add-ons-list li .help-flyout-link {
    display: inline-block;
    right: 10px;
    top: 7px;
    width: 14px;
    height: 14px
}

.add-ons-list li .help-flyout-link .icon-help {
    fill: #aaa
}

.add-ons-list li .help-flyout-link .icon-help:hover {
    fill: #ccc
}

.add-ons-list li .add-add-on {
    font-size: 0.7rem;
    position: absolute;
    right: 24px;
    height: 20px;
    line-height: 14px;
    padding: 0 2px
}

.add-ons-list li:hover {
    background: #333
}

.public-private-wrap {
    background: #353535;
    padding: 20px 0 1px 0;
    margin: 0 0 20px 0
}

.unsaved-wobble {
    -webkit-animation: wobble 0.8s forwards;
    animation: wobble 0.8s forwards
}

@-webkit-keyframes wobble {
    0% {
        -webkit-transform: none;
        transform: none
    }
    15% {
        -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -5deg);
        transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -5deg)
    }
    30% {
        -webkit-transform: translate3d(15%, 0, 0) rotate3d(0, 0, 1, 3deg);
        transform: translate3d(15%, 0, 0) rotate3d(0, 0, 1, 3deg)
    }
    45% {
        -webkit-transform: translate3d(-10%, 0, 0) rotate3d(0, 0, 1, -3deg);
        transform: translate3d(-10%, 0, 0) rotate3d(0, 0, 1, -3deg)
    }
    60% {
        -webkit-transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 2deg);
        transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 2deg)
    }
    75% {
        -webkit-transform: translate3d(0%, 0, 0) rotate3d(0, 0, 1, -1deg);
        transform: translate3d(0%, 0, 0) rotate3d(0, 0, 1, -1deg)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

@keyframes wobble {
    0% {
        -webkit-transform: none;
        transform: none
    }
    15% {
        -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -5deg);
        transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -5deg)
    }
    30% {
        -webkit-transform: translate3d(15%, 0, 0) rotate3d(0, 0, 1, 3deg);
        transform: translate3d(15%, 0, 0) rotate3d(0, 0, 1, 3deg)
    }
    45% {
        -webkit-transform: translate3d(-10%, 0, 0) rotate3d(0, 0, 1, -3deg);
        transform: translate3d(-10%, 0, 0) rotate3d(0, 0, 1, -3deg)
    }
    60% {
        -webkit-transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 2deg);
        transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 2deg)
    }
    75% {
        -webkit-transform: translate3d(0%, 0, 0) rotate3d(0, 0, 1, -1deg);
        transform: translate3d(0%, 0, 0) rotate3d(0, 0, 1, -1deg)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

.unsaved-grow {
    -webkit-animation: inyoface 0.8s forwards;
    animation: inyoface 0.8s forwards
}

@-webkit-keyframes inyoface {
    0% {
        -webkit-transform: none;
        transform: none
    }
    50% {
        -webkit-transform: scale(1.4) rotate(2deg);
        transform: scale(1.4) rotate(2deg)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

@keyframes inyoface {
    0% {
        -webkit-transform: none;
        transform: none
    }
    50% {
        -webkit-transform: scale(1.4) rotate(2deg);
        transform: scale(1.4) rotate(2deg)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

.CodeMirror-foldmarker {
    color: blue;
    text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
    font-family: arial;
    line-height: .3;
    cursor: pointer
}

.CodeMirror-foldgutter {
    width: .7em
}

.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
    cursor: pointer
}

.CodeMirror-foldgutter-open:after {
    content: "\25BE"
}

.CodeMirror-foldgutter-folded:after {
    content: "\25B8"
}

.console-wrap {
    height: calc(100% - 36px);
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}

.console-entries {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-y: auto;
    height: 100%
}

.console-entries::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.console-entries::-webkit-scrollbar-thumb {
    background: #666
}

.console-entries::-webkit-scrollbar-track {
    background: none
}

body .console-entries {
    scrollbar-face-color: #666;
    scrollbar-track-color: none
}

.console-message {
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-bottom: 0px;
    padding: 10px;
    white-space: pre-wrap
}

.console-message:last-of-type {
    border-bottom: 0
}

.console-message.echo {
    background: rgba(255, 255, 255, 0.07)
}

.console-message.error {
    background: rgba(255, 0, 0, 0.2);
    color: #F75C77;
    font-size: 0.75rem
}

.console-message.info,
.console-message.debug {
    background: rgba(255, 255, 255, 0.2)
}

.console-message.warn {
    background: rgba(235, 255, 0, 0.15)
}

.console-arrow {
    font-weight: bold;
    padding-left: 10px
}

.console-arrow.forwards {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.console-arrow.forwards::before {
    content: ">"
}

.console-command-line {
    background: rgba(255, 255, 255, 0.1);
    padding: 0 8px 0 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.console-command-line-input {
    background: none;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: white;
    border: 0;
    padding: 7px 0 7px 7px;
    resize: none;
    overflow: hidden;
    min-height: 30px
}

.console-command-line-input:disabled {
    pointer-events: none
}

.main-header {
    height: 69px;
    min-height: 69px;
    min-width: 1000px;
    border-bottom: 5px solid #343436;
    box-shadow: 0 1px 1px black
}

body.room-collab .main-header {
    border-bottom-color: #D4A12C
}

body.room-professor .main-header {
    border-bottom-color: #9e53d7
}

.pen-title-area {
    padding: 10px 15px 0 15px;
    -webkit-flex-shrink: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.pen-title-area .icon-codepen-box {
    fill: white;
    width: 25px;
    height: 25px;
    margin-right: 10px
}

.pen-title-area .pen-title-text {
    width: 100%;
    min-width: 0
}

.pen-title-area .pen-title {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    width: 100%;
    font-size: 1.3rem;
    margin: 0 0 1px 0
}

.pen-title-area .pen-title input[type="text"] {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-size: 1.3rem;
    background: none;
    border: none;
    color: currentColor;
    margin-top: -1px;
    margin-bottom: 2px;
    padding: 0;
    width: 100%
}

body.details .pen-title-area .pen-title {
    font-size: 1.6rem
}

.pen-title-area .pen-title-link {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 90%;
    display: inline-block;
    color: inherit
}

.pen-title-area .by {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #999
}

.pen-title-area .by .pen-owner-link {
    color: white;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0
}

body.details .pen-title-area .by {
    display: none
}

.pen-title-area .pen-title-link,
.pen-title-area .pen-owner-link {
    transition: opacity 200ms
}

.pen-title-area .pen-title-link:hover,
.pen-title-area .pen-title-link:focus,
.pen-title-area .pen-owner-link:hover,
.pen-title-area .pen-owner-link:focus {
    opacity: 0.8
}

.pen-title-area.editing .pen-title-link,
.pen-title-area.editing .edit-pen-title {
    display: none
}

body.details .pen-title-area {
    padding-top: 18px
}

.edit-pen-title {
    transition: opacity 300ms;
    margin-left: 3px;
    position: relative;
    top: -3px;
    cursor: pointer;
    height: 13px;
    width: 13px;
    fill: currentColor
}

.edit-pen-title:hover {
    opacity: 0.8;
    -webkit-animation: jiggle 0.6s forwards;
    animation: jiggle 0.6s forwards
}

.run {
    display: none
}

body.show-run-button .run {
    display: inline-block
}

.run:active {
    -webkit-transform: translateY(1px);
    transform: translateY(1px)
}

.view-switcher-area {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.view-switcher-area .button {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center
}

.view-switcher {
    padding: 20px;
    width: 350px;
    text-align: left
}

.view-switcher .view-switcher-row {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    display: block;
    padding: 5px 10px 8px 10px;
    margin: 0 -10px
}

.view-switcher h3 {
    font-size: 1.1rem
}

.view-switcher hr {
    margin: 20px 0 20px
}

.view-switcher-row {
    position: relative
}

.view-switcher-row.view-switcher-cbt {
    border-top: 1px dotted #ccc
}

.view-meta {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 6px 15px 10px;
    color: #ccc
}

.view-meta>* {
    vertical-align: middle
}

.view-meta .learn-more {
    display: inline-block;
    margin-left: 15px
}

.view-meta svg {
    pointer-events: none;
    width: 12px;
    height: 12px
}

.share-static {
    margin-left: -10px
}

.share-static a {
    padding: 10px;
    color: #343436;
    border-radius: 2px
}

.share-static a:focus,
.share-static a:hover {
    background: #E7E7E7
}

.editor-layout-buttons {
    border: 1px solid #ccc;
    border-radius: 2px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.editor-layout-buttons>a {
    padding: 10px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: inline-block
}

.editor-layout-buttons>a:not(:last-child) {
    border-right: 1px solid #ccc
}

.editor-layout-buttons>a svg {
    fill: #ccc;
    display: block;
    margin: 0 auto
}

.editor-layout-buttons>a:hover {
    background: #eee
}

body.layout-left .editor-layout-buttons #left-layout,
body.layout-top .editor-layout-buttons #top-layout,
body.layout-right .editor-layout-buttons #right-layout {
    background: #ECECEC
}

body.layout-left .editor-layout-buttons #left-layout svg,
body.layout-top .editor-layout-buttons #top-layout svg,
body.layout-right .editor-layout-buttons #right-layout svg {
    fill: black
}

.layout-change-icon svg {
    width: 20px;
    height: 20px
}

.tour-overlay {
    position: fixed;
    width: 0;
    height: 0;
    top: 0;
    left: 0
}

.tour-overlay-section {
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    transition: opacity 0.2s linear;
    opacity: 0
}

.tour-modals {
    width: 0;
    height: 0;
    z-index: 400;
    top: 0;
    left: 0
}

.tour-modal {
    background: #fff;
    position: absolute;
    color: #222;
    z-index: inherit
}

.tour-intro-modal,
.tour-complete-modal {
    width: 664px;
    overflow: hidden;
    margin: 96px 0 0 -332px;
    left: 50%;
    padding: 35px 70px;
    text-align: center;
    display: none;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

.tour-intro-modal.transitioning,
.tour-complete-modal.transitioning {
    transition: opacity 0.24s linear, -webkit-transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.24s linear;
    transition: transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.24s linear, -webkit-transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.tour-intro-modal.out,
.tour-complete-modal.out {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
    opacity: 0
}

.tour-intro-modal-heading,
.tour-complete-modal-heading {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-weight: bold
}

.tour-intro-modal-heading .tour-subhead,
.tour-complete-modal-heading .tour-subhead {
    display: block;
    letter-spacing: 5px;
    font-size: 1rem;
    color: #fcd000;
    text-transform: uppercase;
    margin: 0 0 10px 0
}

.tour-intro-start-btn {
    margin: 10px 0 20px 0
}

.tour-cancel-link {
    display: block;
    color: #555;
    text-decoration: underline
}

.tour-cancel-link:hover,
.tour-cancel-link:active {
    color: #222
}

.tour-complete-modal .tour-cancel-link {
    margin-bottom: 20px
}

.tour-step-modal {
    width: 318px;
    display: none;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

.tour-step-modal.transitioning {
    transition: opacity 0.24s linear, -webkit-transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.24s linear;
    transition: transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.24s linear, -webkit-transform 0.24s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.tour-step-modal.out {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
    opacity: 0
}

.tour-step-modal-arrow {
    width: 107px;
    height: 55px;
    background: url(https://production-assets.codepen.io/assets/global/tour-arrow-4357c38d54d83354fe4087f4e8ac594218edf1d458f683b0c5124a91fd473a0f.svg) no-repeat;
    position: absolute;
    top: 0;
    left: 0
}

.tour-step-modal-arrow.left {
    right: 308px;
    top: 44px;
    left: auto;
    -webkit-transform: rotate(17deg);
    transform: rotate(17deg)
}

.tour-step-modal-arrow.right {
    left: 292px;
    top: 40px;
    -webkit-transform: rotate(160deg);
    transform: rotate(160deg)
}

.tour-step-modal-arrow.top {
    -webkit-transform: rotate(110deg);
    transform: rotate(110deg);
    left: 120px;
    top: -60px
}

.tour-step-modal-arrow.bottom {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    left: 120px;
    bottom: -60px;
    top: auto
}

.tour-modal-instructions {
    padding: 26px 26px 14px 26px
}

.tour-modal-instructions a {
    color: #4c8ee8;
    border-bottom: 1px solid #acacac
}

.tour-modal-instructions a:hover,
.tour-modal-instructions a:focus {
    color: #a6c7f4;
    border-bottom-color: #dfdfdf
}

.tour-modal-instruction {
    font-size: 1.35rem;
    margin-bottom: 0.7em
}

.tour-next-step {
    background: #efefef;
    padding: 8px 10px 10px;
    height: 50px
}

.tour-next-step .tour-cancel-link {
    display: inline-block;
    float: right;
    line-height: 30px;
    width: 80px
}

.tour-next-step-btn {
    padding: 4px 24px 4px 8px;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1
}

.tour-next-step-btn.button.green {
    background: #47CF73 url(https://production-assets.codepen.io/assets/global/tour-btn-caret-3b80115cb740578684f338463e3201b3282eb01a30419ab7562fbad72452563d.svg) no-repeat 83px 7px;
    background-size: 7px
}

.tour-next-step-btn.out {
    opacity: 0.4;
    pointer-events: none
}

.tour-next-step-btn.transitioning {
    transition: opacity 0.18s linear, -webkit-transform 0.18s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 0.18s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.18s linear;
    transition: transform 0.18s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.18s linear, -webkit-transform 0.18s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.tour-progress {
    width: 100%;
    height: 6px;
    background: #c5f1d4
}

.tour-progress-indicator {
    width: 0;
    height: 6px;
    background: #3fd16f
}

.tabs {
    padding-bottom: 40px;
    position: relative
}

.tabs>h1 {
    display: inline-block;
    margin: 0 15px 10px 0
}

.tabs>div {
    clear: both;
    display: none
}

.tabs>div.active {
    display: block
}

.tabs .gap {
    display: inline-block;
    width: 20px
}

.explore-tabs {
    margin: 0 0 12px 0;
    position: relative;
    font-size: 0;
    white-space: nowrap
}

.explore-tabs a,
.explore-tabs span {
    font-size: 1.1rem;
    display: inline-block;
    outline: 0;
    color: #999;
    padding: 3px 14px 5px 0
}

.explore-tabs a.nav-sep-before,
.explore-tabs span.nav-sep-before {
    border-left: 1px solid #444;
    margin-left: 10px;
    padding-left: 18px
}

.explore-tabs a.active {
    color: white;
    font-weight: 700
}

.explore-tabs a:hover,
.explore-tabs a:active {
    color: #eee
}

.error .explore-tabs a {
    color: black
}

.explore-tabs .mobile-trigger {
    font-size: 1rem;
    display: none
}

.explore-tabs .nav-right {
    position: absolute;
    right: 0;
    top: 0
}

.explore-tabs .nav-right a {
    padding-right: 0
}

.explore-tabs .nav-right .jobs-link {
    color: #81E058
}

@media (max-width: 550px) {
    .explore-tabs:not(.no-mobile-nav) {
        background: linear-gradient(#313131, #131313);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
        border-bottom: 0;
        height: 26px;
        text-align: left !important
    }
    .explore-tabs:not(.no-mobile-nav) .width-wrapper {
        position: static;
        padding: 0
    }
    .explore-tabs:not(.no-mobile-nav).open {
        height: auto
    }
    .explore-tabs:not(.no-mobile-nav).open a {
        position: relative
    }
    .explore-tabs:not(.no-mobile-nav).open .mobile-trigger {
        width: 25px
    }
    .explore-tabs:not(.no-mobile-nav) .mobile-trigger {
        cursor: pointer;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        padding: 5px 5px 0 0;
        height: 100%;
        z-index: 2;
        text-align: right
    }
    .explore-tabs:not(.no-mobile-nav) .mobile-trigger svg {
        pointer-events: none;
        fill: #666;
        width: 13px;
        height: 13px;
        display: inline-block
    }
}

@media (max-width: 550px) and (max-width: 550px) {
    .explore-tabs:not(.no-mobile-nav) .mobile-trigger {
        top: 2px
    }
}

@media (max-width: 550px) {
    .explore-tabs:not(.no-mobile-nav) a {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 4px 0 4px 8px
    }
    .explore-tabs:not(.no-mobile-nav) a.active {
        border-bottom: 0;
        top: auto;
        z-index: 1;
        border-top: 1px solid #444;
        background: linear-gradient(#313131, #131313)
    }
}

.drawer-comments {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 20;
    width: 350px;
    background: #222
}

.drawer-comments .comment-list {
    list-style: none;
    max-height: 300px;
    overflow: auto
}

.drawer-comments .comment-list li {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px
}

.drawer-comments .comment-list li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.05)
}

.drawer-comments .comment-list li p:last-child {
    margin: 0
}

.drawer-comments .comment-list li:hover .comment-delete {
    opacity: 1;
    transition: opacity 0.2s 0.75s
}

.drawer-comments .comment-list .comment-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0;
    transition: opacity 0.2s
}

.drawer-comments .comment-list .comment-delete svg {
    pointer-events: none;
    fill: white;
    width: 12px;
    height: 12px
}

.drawer-comments .comment-list .comment-delete:hover {
    color: #ff3c41
}

.drawer-comments .comment-form {
    margin: 10px 0 0 0
}

.drawer-comments .comment-form textarea {
    width: 100%;
    height: 60px
}

.drawer-comments-tab {
    display: inline-block;
    padding: 12px 16px;
    line-height: 1.4;
    position: absolute;
    bottom: 100%;
    background: linear-gradient(#4d4d4d, #2f2f2f);
    color: white;
    border-top: 2px solid #D4A12C
}

.drawer-comments-tab.new-message {
    box-shadow: inset 0 -4px 2px -2px rgba(255, 255, 0, 0.75);
    text-shadow: 0 1px 0 black
}

.drawer-comments-area {
    display: none;
    padding: 10px
}

.embed-modal {
    background: #fff;
    color: black;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    padding: 0;
    width: 850px;
    height: auto;
    top: 35px;
    left: 50%;
    margin-left: -425px;
    max-height: 90%;
    max-height: calc(100vh - 70px);
    border: 2px solid #555
}

.embed-modal .sharing-panel,
.embed-modal .export-panel,
.embed-modal .pen-settings-modal,
.embed-modal .view-switcher,
.embed-modal .editor-dropdown,
.embed-modal .pen-details-when-dropdown {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 100%;
    padding: 5px 0;
    width: 200px;
    color: #222;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, -webkit-transform 0.15s;
    transition: transform 0.15s, opacity 0.15s;
    transition: transform 0.15s, opacity 0.15s, -webkit-transform 0.15s;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transform-origin: top right;
    transform-origin: top right
}

.embed-modal .open.sharing-panel,
.embed-modal .open.export-panel,
.embed-modal .open.pen-settings-modal,
.embed-modal .open.view-switcher,
.embed-modal .open.editor-dropdown,
.embed-modal .open.pen-details-when-dropdown {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
}

.embed-modal .CodeMirror {
    font-family: monospace;
    height: 300px;
    color: black
}

.embed-modal .CodeMirror-lines {
    padding: 4px 0
}

.embed-modal .CodeMirror pre {
    padding: 0 4px
}

.embed-modal .CodeMirror-scrollbar-filler,
.embed-modal .CodeMirror-gutter-filler {
    background-color: white
}

.embed-modal .CodeMirror-gutters {
    border-right: 1px solid #ddd;
    background-color: #f7f7f7;
    white-space: nowrap
}

.embed-modal .CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    color: #999;
    white-space: nowrap
}

.embed-modal .CodeMirror-guttermarker {
    color: black
}

.embed-modal .CodeMirror-guttermarker-subtle {
    color: #999
}

.embed-modal .CodeMirror-cursor {
    border-left: 1px solid black;
    border-right: none;
    width: 0
}

.embed-modal .CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver
}

.embed-modal .cm-fat-cursor .CodeMirror-cursor {
    width: auto;
    border: 0 !important;
    background: #7e7
}

.embed-modal .cm-fat-cursor div.CodeMirror-cursors {
    z-index: 1
}

.embed-modal .cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
    background-color: #7e7
}

@-webkit-keyframes blink {
    50% {
        background-color: transparent
    }
}

@keyframes blink {
    50% {
        background-color: transparent
    }
}

.embed-modal .cm-tab {
    display: inline-block;
    text-decoration: inherit
}

.embed-modal .CodeMirror-rulers {
    position: absolute;
    left: 0;
    right: 0;
    top: -50px;
    bottom: -20px;
    overflow: hidden
}

.embed-modal .CodeMirror-ruler {
    border-left: 1px solid #ccc;
    top: 0;
    bottom: 0;
    position: absolute
}

.embed-modal .CodeMirror-composing {
    border-bottom: 2px solid
}

.embed-modal div.CodeMirror span.CodeMirror-matchingbracket {
    color: #0f0
}

.embed-modal div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #f22
}

.embed-modal .CodeMirror-matchingtag {
    background: rgba(255, 150, 0, 0.3)
}

.embed-modal .CodeMirror-activeline-background {
    background: #e8f2ff
}

.embed-modal .CodeMirror {
    position: relative;
    overflow: hidden;
    background: white
}

.embed-modal .CodeMirror-scroll {
    overflow: scroll !important;
    margin-bottom: -30px;
    margin-right: -30px;
    padding-bottom: 30px;
    height: 100%;
    outline: none;
    position: relative
}

.embed-modal .CodeMirror-sizer {
    position: relative;
    border-right: 30px solid transparent
}

.embed-modal .CodeMirror-vscrollbar,
.embed-modal .CodeMirror-hscrollbar,
.embed-modal .CodeMirror-scrollbar-filler,
.embed-modal .CodeMirror-gutter-filler {
    position: absolute;
    z-index: 6;
    display: none
}

.embed-modal .CodeMirror-vscrollbar {
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll
}

.embed-modal .CodeMirror-hscrollbar {
    bottom: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: scroll
}

.embed-modal .CodeMirror-scrollbar-filler {
    right: 0;
    bottom: 0
}

.embed-modal .CodeMirror-gutter-filler {
    left: 0;
    bottom: 0
}

.embed-modal .CodeMirror-gutters {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    z-index: 3
}

.embed-modal .CodeMirror-gutter {
    white-space: normal;
    height: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: -30px
}

.embed-modal .CodeMirror-gutter-wrapper {
    position: absolute;
    z-index: 4;
    background: none !important;
    border: none !important
}

.embed-modal .CodeMirror-gutter-background {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4
}

.embed-modal .CodeMirror-gutter-elt {
    position: absolute;
    cursor: default;
    z-index: 4
}

.embed-modal .CodeMirror-gutter-wrapper {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.embed-modal .CodeMirror-lines {
    cursor: text;
    min-height: 1px
}

.embed-modal .CodeMirror pre {
    border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    font-variant-ligatures: none
}

.embed-modal .CodeMirror-wrap pre {
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: normal
}

.embed-modal .CodeMirror-linebackground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0
}

.embed-modal .CodeMirror-linewidget {
    position: relative;
    z-index: 2;
    overflow: auto
}

.embed-modal .CodeMirror-code {
    outline: none
}

.embed-modal .CodeMirror-scroll,
.embed-modal .CodeMirror-sizer,
.embed-modal .CodeMirror-gutter,
.embed-modal .CodeMirror-gutters,
.embed-modal .CodeMirror-linenumber {
    box-sizing: content-box
}

.embed-modal .CodeMirror-measure {
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden
}

.embed-modal .CodeMirror-cursor {
    position: absolute;
    pointer-events: none
}

.embed-modal .CodeMirror-measure pre {
    position: static
}

.embed-modal div.CodeMirror-cursors {
    visibility: hidden;
    position: relative;
    z-index: 3
}

.embed-modal div.CodeMirror-dragcursors {
    visibility: visible
}

.embed-modal .CodeMirror-focused div.CodeMirror-cursors {
    visibility: visible
}

.embed-modal .CodeMirror-selected {
    background: #d9d9d9
}

.embed-modal .CodeMirror-focused .CodeMirror-selected {
    background: #d7d4f0
}

.embed-modal .CodeMirror-crosshair {
    cursor: crosshair
}

.embed-modal .CodeMirror-line::-moz-selection,
.embed-modal .CodeMirror-line>span::-moz-selection,
.embed-modal .CodeMirror-line>span>span::-moz-selection {
    background: #d7d4f0
}

.embed-modal .CodeMirror-line::selection,
.embed-modal .CodeMirror-line>span::selection,
.embed-modal .CodeMirror-line>span>span::selection {
    background: #d7d4f0
}

.embed-modal .CodeMirror-line::-moz-selection,
.embed-modal .CodeMirror-line>span::-moz-selection,
.embed-modal .CodeMirror-line>span>span::-moz-selection {
    background: #d7d4f0
}

.embed-modal .cm-searching {
    background: #ffa;
    background: rgba(255, 255, 0, 0.4)
}

.embed-modal .cm-force-border {
    padding-right: .1px
}

@media print {
    .embed-modal .CodeMirror div.CodeMirror-cursors {
        visibility: hidden
    }
}

.embed-modal .cm-tab-wrap-hack:after {
    content: ''
}

.embed-modal span.CodeMirror-selectedtext {
    background: none
}

.embed-modal .CodeMirror {
    font: 15px/1.5 Monaco, MonoSpace;
    background: none;
    height: 100%
}

.embed-modal .CodeMirror-gutters {
    border: 0;
    background: none
}

.embed-modal div.CodeMirror span.CodeMirror-matchingbracket {
    color: inherit
}

.embed-modal .CodeMirror-sizer {
    margin-bottom: 0 !important
}

.embed-modal .CodeMirror-dialog {
    background: #eee;
    padding: 5px;
    font-size: 0.9rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    color: black
}

.embed-modal .CodeMirror-dialog .CodeMirror-search-hint {
    display: none
}

.embed-modal .CodeMirror-dialog .CodeMirror-search-field {
    width: 250px !important;
    font: 0.9rem/1.3 Monaco, MonoSpace
}

.embed-modal .CodeMirror-scrollbar-filler,
.embed-modal .CodeMirror-gutter-filler {
    background-color: transparent
}

.embed-modal .CodeMirror-linewidget {
    overflow: hidden
}

.embed-modal .CodeMirror-foldmarker {
    color: blue;
    text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
    font-family: arial;
    line-height: .3;
    cursor: pointer
}

.embed-modal .CodeMirror-foldgutter {
    width: .7em
}

.embed-modal .CodeMirror-foldgutter-open,
.embed-modal .CodeMirror-foldgutter-folded {
    cursor: pointer
}

.embed-modal .CodeMirror-placeholder {
    opacity: 0.5
}

.embed-modal .CodeMirror-foldgutter-open:after {
    font-family: sans-serif;
    content: "\25BE"
}

.embed-modal .CodeMirror-foldgutter-folded:after {
    font-family: sans-serif;
    content: "\25B8"
}

.embed-modal .CodeMirror-hints {
    position: absolute;
    z-index: 10;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 2px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    max-height: 20em;
    overflow-y: auto
}

.embed-modal .CodeMirror-hints .CodeMirror-hint {
    margin: 2px 0;
    font-size: 0.9rem;
    padding: 0 4px;
    border-radius: 2px;
    white-space: pre;
    cursor: pointer
}

.embed-modal .CodeMirror-simplescroll-horizontal div,
.embed-modal .CodeMirror-simplescroll-vertical div {
    position: absolute;
    background-clip: padding-box !important
}

.embed-modal .CodeMirror-simplescroll-horizontal div {
    border-bottom: 4px solid transparent
}

.embed-modal .CodeMirror-simplescroll-vertical div {
    border-right: 4px solid transparent
}

.embed-modal .CodeMirror-simplescroll-horizontal,
.embed-modal .CodeMirror-simplescroll-vertical {
    position: absolute;
    z-index: 6
}

.embed-modal .CodeMirror-simplescroll-horizontal {
    bottom: 0;
    left: 0;
    height: 9px
}

.embed-modal .CodeMirror-simplescroll-horizontal div {
    bottom: 0;
    height: 100%
}

.embed-modal .CodeMirror-simplescroll-vertical {
    right: 0;
    top: 0;
    width: 9px
}

.embed-modal .CodeMirror-simplescroll-vertical div {
    right: 0;
    width: 100%
}

.embed-modal .CodeMirror-linewidget+.CodeMirror-linewidget .inline-editor-error {
    border-top: 1px solid #ff4949
}

.embed-modal .CodeMirror-linewidget+.CodeMirror-linewidget .inline-editor-error.yellow {
    border-top-color: #d2c676
}

.embed-modal .inline-editor-error {
    background: red;
    color: white;
    position: relative;
    font-size: 90%;
    padding: 5px 15px;
    background-clip: padding-box;
    box-shadow: inset -50px 0 50px -10px rgba(0, 0, 0, 0.2)
}

.embed-modal .inline-editor-error.yellow {
    background-color: #ceb716
}

.embed-modal .inline-editor-error.yellow h4 {
    text-transform: none
}

.embed-modal .inline-editor-error a {
    color: inherit;
    text-decoration: underline
}

.box.stylus .embed-modal .inline-editor-error {
    white-space: pre
}

.embed-modal body:not(.codepen-embed-body) .inline-error-hidden {
    height: 0;
    padding: 0;
    margin: 0;
    border: 0
}

.embed-modal body:not(.codepen-embed-body) .inline-error-hidden .inline-error-message {
    visibility: hidden
}

.embed-modal body:not(.codepen-embed-body) .inline-error-hidden .inline-error-toggle {
    display: block
}

.embed-modal .html-errors {
    padding-left: 15px
}

.embed-modal .error-bar {
    display: none;
    position: absolute;
    z-index: 2;
    bottom: 10px;
    right: 10px;
    width: 20px;
    font-weight: bold;
    text-align: right;
    color: white;
    cursor: pointer;
    padding-right: 10px
}

.embed-modal .error-icon {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    line-height: 15px;
    display: inline-block;
    text-align: center;
    background: red;
    color: white
}

.embed-modal .error-icon:hover,
.embed-modal .error-icon:focus {
    background: white;
    color: #ff3c41
}

.embed-modal .line-highlight {
    background: rgba(0, 0, 0, 0.2);
    left: -26px
}

.embed-modal .embed-nav {
    font-family: initial;
    line-height: initial;
    font-size: initial;
    font-weight: initial;
    background: #252525;
    height: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding-left: 8px;
    position: relative;
    z-index: 2
}

.embed-modal .embed-nav ul {
    white-space: nowrap;
    position: relative;
    z-index: 1;
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-top: 16px;
    font-size: 0
}

.embed-modal .embed-nav ul li {
    display: inline-block;
    margin-right: 1px
}

.embed-modal .embed-nav ul li.results a {
    border-radius: 2px;
    margin-left: 10px;
    border: 0
}

.embed-modal .embed-nav ul li:first-child a {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px
}

.embed-modal .embed-nav ul li:nth-last-child(2) a {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px
}

.embed-modal .embed-nav ul a {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    transition: background 200ms ease, box-shadow 200ms ease;
    text-decoration: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    letter-spacing: 0.6px;
    font-size: 13px;
    box-shadow: inset 0 3px transparent
}

.embed-modal .embed-nav ul a.disabled {
    box-shadow: inset 0px 3px rgba(51, 51, 51, 0.64);
    background: #eee;
    color: #333
}

.embed-modal .embed-nav .logo-wrap {
    position: absolute;
    top: 9px;
    right: 20px;
    height: 50px
}

.embed-modal .embed-nav .logo-wrap a {
    color: #efefef;
    fill: #efefef;
    text-decoration: none
}

.embed-modal .embed-nav .logo-wrap .open-on {
    font-family: "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    text-align: right;
    display: block;
    font-size: 9px;
    letter-spacing: 3.5px;
    padding-bottom: 0;
    margin-right: -3px
}

.embed-modal .embed-nav .logo-wrap #embed-codepen-logo {
    width: 99px;
    height: 23px
}

@media (max-width: 600px) {
    .embed-modal .embed-nav ul li:nth-last-child(2) a {
        border-radius: 0
    }
    .embed-modal .embed-nav ul li:first-child a {
        border-top-left-radius: 2px;
        border-bottom-left-radius: 2px
    }
    .embed-modal .embed-nav ul li:last-child a {
        border-radius: 0;
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px
    }
    .embed-modal .embed-nav ul li.results a {
        margin-left: 0
    }
}

@media (max-width: 450px) {
    .embed-modal .embed-nav .large-logo {
        display: none
    }
    .embed-modal .embed-nav .box-logo {
        display: block
    }
}

.embed-modal * {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.embed-modal body {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    line-height: 1.4
}

.embed-modal .large-logo {
    display: block
}

.embed-modal .box-logo {
    display: none;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    box-sizing: content-box;
    padding: 5px;
    border-radius: 100%;
    margin-top: 1px
}

.embed-modal #about-box {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAP37t37z4gsBhJQUlJihAvCBECKwILIAmBBdAGQIADyYhOflOa3AAAAAABJRU5ErkJggg==");
    display: none;
    width: 100%;
    height: 100%;
    position: relative
}

.embed-modal #about-box .about-container {
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    position: absolute;
    max-width: 510px;
    left: 50%;
    top: 50%
}

.embed-modal #about-box img {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    margin-right: 40px;
    box-shadow: -2px 2px rgba(0, 0, 0, 0.3)
}

.embed-modal .about-user {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.embed-modal .editable-badge {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.5;
    pointer-events: none
}

.embed-modal #output pre {
    font-family: 'Source Code Pro', Menlo, Consolas, Monaco, monospace;
    font-size: 13px
}

.embed-modal #output .CodeMirror-guttermarker-subtle,
.embed-modal #output .CodeMirror-linenumber {
    font-size: 13px
}

.embed-modal #output.static pre {
    width: 100%;
    padding: 15px;
    white-space: pre-wrap;
    line-height: 1.35;
    -moz-tab-size: 2;
    tab-size: 2
}

.embed-modal #output.static pre code {
    font-family: 'Source Code Pro', Menlo, Consolas, Monaco, monospace
}

html.ios .embed-modal #output.static pre {
    word-break: break-all
}

.embed-modal #output pre,
.embed-modal #output iframe {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.embed-modal #output pre::-webkit-scrollbar,
.embed-modal #output iframe::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.embed-modal #output pre::-webkit-scrollbar-thumb,
.embed-modal #output iframe::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5)
}

.embed-modal #output pre::-webkit-scrollbar-track,
.embed-modal #output iframe::-webkit-scrollbar-track {
    background: none
}

body .embed-modal #output pre,
body .embed-modal #output iframe {
    scrollbar-face-color: rgba(0, 0, 0, 0.5);
    scrollbar-track-color: none
}

.embed-modal .code-box {
    position: relative
}

.embed-modal #html-box,
.embed-modal #css-box,
.embed-modal #js-box,
.embed-modal #result-box {
    display: none
}

.embed-modal #html-box.active,
.embed-modal #css-box.active,
.embed-modal #js-box.active,
.embed-modal #result-box.active {
    display: block;
    height: 100%
}

.embed-modal #result-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.embed-modal #result-box iframe::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}

.embed-modal #result-box iframe::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5)
}

.embed-modal #result-box iframe::-webkit-scrollbar-track {
    background: none
}

body .embed-modal #result-box iframe {
    scrollbar-face-color: rgba(0, 0, 0, 0.5);
    scrollbar-track-color: none
}

.embed-modal #output.single-output .active {
    display: block;
    height: 100%;
    width: 100%
}

.embed-modal #output.split-output .active {
    display: block;
    float: left;
    height: 100%;
    width: 50%
}

.embed-modal #output.about-output #about-box {
    display: block
}

.embed-modal .action-button {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    transition: color 300ms ease, background-color 300ms ease, opacity 300ms ease;
    text-transform: uppercase;
    text-decoration: none;
    position: absolute;
    background-color: #fff;
    display: block;
    opacity: 0;
    z-index: 2;
    right: 15px;
    bottom: 15px;
    color: #000;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 10px;
    border-radius: 3px
}

#result-box:hover .embed-modal .action-button,
.code-box:hover .embed-modal .action-button {
    opacity: 1
}

#result-box:hover .embed-modal .action-button:hover,
#result-box:hover .embed-modal .action-button:active,
.code-box:hover .embed-modal .action-button:hover,
.code-box:hover .embed-modal .action-button:active {
    opacity: 0.9
}

.embed-modal .ios-scroll-fix #result-box {
    -webkit-overflow-scrolling: touch;
    overflow: auto
}

.embed-modal.loading {
    transition: none
}

.embed-modal.open {
    display: block
}

.embed-modal h1 {
    background: #111;
    color: #eee;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 10px 0 8px 10px;
    font-size: 1.6rem;
    margin: 0
}

.embed-modal #output {
    overflow: hidden
}

.embed-modal-close-button {
    position: absolute;
    top: 12px;
    right: 7px;
    cursor: pointer
}

.embed-modal-close-button svg {
    fill: #999;
    width: 15px;
    height: 15px;
    pointer-events: none
}

.embed-modal-close-button:hover svg,
.embed-modal-close-button:active svg {
    fill: white
}

.embed-options-bar {
    margin: 0 0 20px 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.embed-options-bar .embed-option {
    padding: 15px 20px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.embed-options-bar .embed-option:nth-child(1) {
    background: #a7e7ff
}

.embed-options-bar .embed-option:nth-child(2) {
    background: #c8f1d5
}

.embed-options-bar .embed-option:nth-child(3) {
    background: #e6d0f7
}

.embed-option-title {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: bold;
    text-transform: none;
    margin: 0 0 5px 0
}

.embed-option-title span {
    font-weight: normal;
    font-size: 0.9rem;
    color: #555;
    margin-left: 15px
}

.theme-note {
    font-size: 0.8rem;
    margin: 10px 0 0 0;
    border-top: 1px solid #999;
    padding: 5px 0 0 0
}

.theme-note a {
    color: #00a1dc
}

.theme-note a:hover,
.theme-note a:focus {
    text-decoration: underline
}

.theme-note p {
    margin: 0 0 5px 0;
    color: #555
}

.theme-note p:last-child {
    margin: 0
}

.inline-q svg {
    width: 13px;
    height: 13px;
    fill: #1E1E1E;
    vertical-align: middle;
    position: relative;
    top: -1px
}

.preview-area {
    padding: 0 20px;
    position: relative
}

.jump-to-code {
    position: absolute;
    top: 0;
    right: 20px;
    color: #00a1dc;
    font-size: 0.9rem
}

.jump-to-code:hover,
.jump-to-code:focus {
    color: #111
}

#example-embed {
    height: 300px
}

#example-embed.border-none {
    border-width: 0
}

#example-embed.border-thin,
#example-embed.border-thick {
    border-style: solid
}

#example-embed.border-thin {
    border-width: 1px
}

#example-embed.border-thin .ui-resizable-handle.ui-resizable-s {
    margin-top: 1px
}

#example-embed.border-thick {
    border-width: 5px
}

#example-embed.border-thick .ui-resizable-handle.ui-resizable-s {
    margin-top: 5px
}

#example-embed .embed-nav.faded-out {
    opacity: 0.6
}

.ui-resizable-s {
    background: #343436;
    text-align: center;
    cursor: ns-resize;
    font-size: 0.8em;
    padding: 3px;
    color: #fff;
    width: 100%;
    top: 100%;
    left: 0
}

.copy-paste-title {
    float: left;
    font-size: 14px;
    margin-top: 2px
}

.code-area {
    margin-top: 34px;
    padding: 20px
}

.code-area textarea {
    width: 100%;
    height: 70px;
    overflow: hidden;
    font: 10px/1.5 Monaco, Courier, MonoSpace;
    border: 2px solid #222;
    vertical-align: middle;
    resize: none;
    border-radius: 0px
}

.editor .code-area {
    top: 25px;
    right: 30px
}

.code-area.do-the-shake {
    -webkit-animation: do-the-shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    animation: do-the-shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px
}

@-webkit-keyframes do-the-shake {
    10%,
    90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0)
    }
    20%,
    80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0)
    }
    30%,
    50%,
    70% {
        -webkit-transform: translate3d(-4px, 0, 0);
        transform: translate3d(-4px, 0, 0)
    }
    40%,
    60% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0)
    }
}

@keyframes do-the-shake {
    10%,
    90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0)
    }
    20%,
    80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0)
    }
    30%,
    50%,
    70% {
        -webkit-transform: translate3d(-4px, 0, 0);
        transform: translate3d(-4px, 0, 0)
    }
    40%,
    60% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0)
    }
}

.code-type-selector>span {
    transition: opacity 200ms ease;
    background: #777;
    color: #fff;
    margin-left: 3px;
    padding: 4px 10px 2px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    float: right
}

.code-type-selector>span:hover {
    opacity: 0.9
}

.code-type-selector>span.active {
    background: #222
}

.code-area-header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end
}

.code-area-header>h4 {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1
}

html,
body {
    overflow: hidden
}

body {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 40px;
}

.hidden-iframe {
    display: none
}

.page-wrap {
    padding: 0;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%
}

body.layout-left .page-wrap,
body.layout-right .page-wrap {
    height: 100%
}

.boxes {
    position: absolute;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.top-boxes {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden
}

.top-boxes .box {
    height: 100%;
    position: relative;
    overflow: hidden
}

.top-boxes .box>pre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    resize: none;
    font: 11px Monaco, Courier, MonoSpace
}

.top-boxes .box.view-compiled .CodeMirror-lines pre,
.top-boxes .box.view-compiled .CodeMirror-lines pre span,
.top-boxes .box.view-preproc-errors .CodeMirror-lines pre,
.top-boxes .box.view-preproc-errors .CodeMirror-lines pre span {
    opacity: 0.9
}

.top-boxes .box.view-compiled .powers h2:after,
.top-boxes .box.view-preproc-errors .powers h2:after {
    content: "Compiled";
    color: #f73535
}

.top-boxes .box.view-compiled .CodeMirror-linewidget {
    display: none
}

.top-boxes .box .code-box {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 100px;
    height: 100px;
    overflow: auto
}

body.no-line-numbers .code-wrap {
    padding: 0 0 0 5px
}

.editor-actions-left {
    padding-left: 5px
}

.editor-actions-right {
    position: absolute;
    right: 5px;
    top: 5px
}

a.view-compiled-button {
    display: none
}

.powers {
    background: rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    position: relative;
    padding: 5px 5px 5px 0
}

.powers-drag-handle {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0
}

.box-title {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Sans-Serif;
    font-weight: bold;
    color: #ccc;
    margin: 0;
    font-size: 1.3em;
    display: inline-block;
    padding-left: 2px;
    vertical-align: middle
}

.box-title:after {
    font-size: 12px;
    margin-left: 5px;
    position: relative;
    font-weight: normal
}

.editor-dropdown {
    right: 0;
    z-index: 100;
    margin-top: 5px
}

.code-wrap {
    min-width: 200px;
    height: 100%;
    height: calc(100% - 36px)
}

.output-container {
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative
}

.output-sizer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}

.result {
    position: relative;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow: hidden;
    background: radial-gradient(circle, #484848, #2F3031)
}

.result .iframe-visual-update {
    z-index: 1
}

html.ios .result {
    overflow: scroll
}

.result-iframe {
    border: 0;
    background: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.result-iframe.iframe-empty {
    background: transparent
}

.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #ccc;
    opacity: 1;
    transition: opacity 0.2s
}

.loading-text span {
    display: inline-block;
    width: 15px;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 1px;
    -webkit-animation: exposedots 20s forwards linear;
    animation: exposedots 20s forwards linear;
    vertical-align: bottom
}

body.prelayout .loading-text {
    opacity: 0
}

@-webkit-keyframes exposedots {
    to {
        width: 75px
    }
}

@keyframes exposedots {
    to {
        width: 75px
    }
}

.drag-cover {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none
}

.error-list {
    color: #999;
    list-style: none;
    margin: 0 !important;
    font-size: 12px
}

.error-list li {
    margin: 0 0 5px 0
}

.error-list li strong {
    color: white
}

.width-readout {
    position: absolute;
    z-index: 50;
    background: #eee;
    color: #333;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 9px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s
}

.width-readout.visible {
    opacity: 1;
    visibility: visible
}

.box-console {
    display: none;
    height: 30%
}

html:not(.mac) .keyboard-commands-button::after {
    content: "Shortcuts"
}

html:not(.mac) .keyboard-commands-button>span {
    display: none
}

.drawer {
    background: #333;
    box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.5);
    color: white;
    position: absolute;
    overflow: auto;
    top: 20px;
    right: 20px;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    transition: 0.25s ease;
    visibility: hidden;
    opacity: 0
}

.drawer.open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
}

.drawer .edit-details-reminder {
    display: none
}

@-webkit-keyframes jiggle {
    0% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg)
    }
    25% {
        -webkit-transform: rotateZ(9deg);
        transform: rotateZ(9deg)
    }
    75% {
        -webkit-transform: rotateZ(-9deg);
        transform: rotateZ(-9deg)
    }
    100% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg)
    }
}

@keyframes jiggle {
    0% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg)
    }
    25% {
        -webkit-transform: rotateZ(9deg);
        transform: rotateZ(9deg)
    }
    75% {
        -webkit-transform: rotateZ(-9deg);
        transform: rotateZ(-9deg)
    }
    100% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg)
    }
}