/**
 * Main page container
 */
.page-container {
    overflow:scroll;
    height:100%;
}

/**
 * Logo
 */
.brand-logo {
    font-family: 'Shrikhand', cursive;
    font-size: 36px;
}

.brand-icon {
    width: 35px;
    height: 35px;
}

/**
 * Don't allow selection
 */
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/**
 * Toast
 */
.toast {
    background-color: green;
    border-color: orange;
    color: black;
}

/**
 * Forms
 */
.formBox {
    max-width:  90%;
    width: 500px;
}

.tall {
    height: 100%;
}

.short {
    height: 50%;
}

.stretch  {
    width: 100%;
}

.third  {
    width: 32%;
}

.two-thirds  {
    width: 66%;
}

.squash  {
    width: 50%;
}

.wide  {
    width: 95%;
}

.form-header {
    font-family: 'Shrikhand', cursive;
    letter-spacing: 1.5px;
    font-size: 24px;
}

.form-header-mobile {
    font-family: 'Shrikhand', cursive;
    letter-spacing: 1.2px;
    font-size: 18px;
}

.ace_wrapper {
    height: 200px;
    min-height: 50px;
}

.ace_editor {
    height: 100%;
    margin: 5px 0px;
}

.code {
    font-family: 'Inconsolata', monospace;
    margin-top: 10px;
}

.code-field-spacer {
    height: 8px;
    padding: 12px;
}

.code-field-ellipsis {
    cursor: text;
    font-weight: bold;
    color: #536DFE;
    padding: 10px;
}

.hide-validation-error .md-errors-spacer { display: none; }

.md-chips:focus {
    outline: none;
    border: 0;
}

.clickable-chip-icon {
    outline: none;
    border: 0;
    color: white !important;
    margin-bottom: 3px;
    margin-left: 10px;
}

.clickable-chip-icon:hover {
    font-weight: bolder;
}

.min-200 {
    min-width: 200px;
}

/**
 * Project drill down / settings editor
 */
.drill-down-container-mobile {
    padding-left:5px;
    height: 56px;
}

.setting-editor-mobile {
    height: 56px;
    margin-top: -56px;
}

.setting-control-boolean-field-container {
    margin: 0px;
}

.setting-control-boolean-field-container-mobile {
    margin-left: -6px;
    margin-top: 7px;
    position: relative;
    top: -8px;
}

.setting-control-checkbox {
   margin: 5px 0px 0px 0px !important;
}

.md-toolbar-tools .md-checkbox {
    margin: 0px 10px;
}

.setting-control-boolean-label {
    margin-left: 0px;
    margin-bottom:-5px;
    color: rgb(0,0,0);
    color: rgba(0,0,0,0.54);
    line-height:30px;
    font-size: 15px;
}

.setting-control-color-label {
    margin-left: 6px;
    margin-top: 8px;
    margin-bottom: -5px;
    color: rgb(0,0,0);
    color: rgba(0,0,0,0.54);
    line-height:40px;
}

.materialized-color-picker {
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    background-color: transparent;
    border-color: rgb(0, 0, 0);
    border-color: rgba(0, 0, 0, 0.19);
    outline: 0px;
}

.materialized-color-picker:focus {
    border-color: rgb(63,81,181);
    border-color: rgba(63,81,181,1);
    border-width: 2px;
}

.setting-control-color-picker {
    font-weight: bold;
    color: white;
    margin-top:2px;
    margin-bottom:0px;
}

.setting-control-color-picker-container-mobile {
    margin-left:-8px;
    margin-top: 36px;
}

.setting-control-color-picker-container {
    margin-top: 42px;
}

.color-picker-swatch-left {
    outline: 0px;
}

.setting-control-number-field {
    font-weight: bold;
    color: white !important;
}

.setting-control-number-field:focus {
    font-weight: bold;
    color: black !important;
}

.setting-control-number-field-container {
    padding-top:25px
}

.setting-control-number-field-container-mobile {
    padding-top:14px
}

.setting-control-number-field-slider-mobile {
    margin-bottom: -6px;
}

.setting-control-number-field-slider {
    margin-bottom: -4px;
}

.setting-control-string-field-container {
    padding-top:-20px;
    margin-top: 42px;
}

.setting-control-string-field-container-mobile {
    padding-top:-20px;
    margin-top: 34px;
}

.setting-control-asset-field-container-mobile {
    margin-top: 36px;
}

.setting-control-enum-field-container-mobile {
    margin-top: 36px;
}

.setting-control-modulator-field-container-mobile {
    margin-top: 36px;
}

.setting-control-ease-field-container-mobile {
    margin-top: 36px;
}

.setting-control-loop-field-container-mobile {
    margin-top: 36px;
}

.shrink-wrap {
    margin: 0px;
    padding: 0px;
}

/**
 * Video embed
 */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**
 * Buttons
 */
.md-button.icon-btn {
    min-width: 50px;
    width: auto;
    height: auto;
}

.toolbar-button[disabled] {
    color : #536DFE;
    background-color: transparent;
}

.toolbar-right-group {
    margin-right:-10px;
}

.toolbar-right-item {
    margin: 0px;
    padding: 0px;
}


/**
 * Icons
 */
.fa.md-30 {
    font-size: 30px;
    height: auto;
    width: auto;
}

.fa-md {
    height: auto;
    width: auto;
}

.toolbar-title-icon {
    font-weight: bold;
    font-size:20px;
    color: whitesmoke;
}

.status-icon {
    font-size:20px;
    color:cornflowerblue;
}

.item-icon {
    color: orange;
    font-weight: bold;
    font-size: 24px;
}

.md-chips{
    box-shadow: 0 0px !important;
}


.icon-needs-work {
    color: red; !important;
}

.icon-ready {
    color: green; !important;
}

.clickable-subhead {
    margin: 0px;
    cursor: pointer;
    outline: 0px;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-30 { font-size: 30px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-dark {  color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive {  color: rgba(0, 0, 0, 0.26); }
.material-icons.md-light {  color: white; }
.material-icons.md-light.md-inactive {  color: rgba(255, 255, 255, 0.3); }


/**
 * Sinewave animation
 */
.graph-container {
    width: 300px;
    height: 300px;
    border-radius: 4px;
    margin: 75px auto;
    position: relative;
    left: 0;
    right: 0;
}

.sine-wave-reference {
    opacity: 0.15;
}

.svg {
    overflow: visible;
}

.sine-wav-bg {
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100%;
    position: absolute;
    background: -webkit-linear-gradient(bottom, #3f51b5, #303595);
    background: linear-gradient(bottom, #3f51b5, #303595);
}

/**
 * Visualizer
 */
.visualizer-pane {
    height:100%;
    width:100%;
    margin:0px;
    padding:0px;
    background-color: greenyellow;
}

/**
 * Splash (visualizer background)
 */
.splash {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 0px;
    z-index: -1;
    background-color: white;
    opacity: 0;
    will-change: opacity;
    transition: opacity 3s;
    -webkit-transition: opacity 3s;
    -moz-transition: opacity 3s;
}

.show-splash {
    opacity: 0.6;
}

/**
 * Splash Card
 */
.card-container {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.card-container-mobile {
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.splash-card,
.intro-card {
    width: 660px;
    height: 412px;
    border-radius: 5px;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
    overflow: hidden;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}

.splash-card-mobile,
.intro-card-mobile {
    width: 100%;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}

.intro-card-mobile {
    height: 100%;
}

.splash-card-mobile {
    border-radius: 5px;
    height: 250px;
    opacity: 1;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
}

.sign-in-card {
    width: 660px;
    height: 412px;
    border-radius: 5px;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
    overflow: hidden;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}

.sign-in-card-mobile {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
    overflow: hidden;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}


.auth-form-header {
    font-family: 'Shrikhand';
    font-size: 36px;
    letter-spacing: 1.5px;
    color: white;
}

.auth-form {
    margin-bottom:5px;
}

.auth-icon {
    color:white;
}

.auth-form-content {
    background-color: white;
}

.sign-out-form-content {
    background-color: #55B04E;
}

.sign-in-card.zoomIn,
.sign-in-card-mobile.zoomIn,
.intro-card-mobile.zoomIn,
.intro-card-mobile.fadeOut,
.intro-card.zoomIn,
.intro-card.fadeOut,
.splash-card-mobile.zoomOut,
.splash-card.zoomOut,
.splash-card.pulse {
    animation-duration: .3s;
}

.mini-card-container {
    width:570px;
    height:293px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.mini-card {
    overflow: hidden;
    -webkit-backface-visibility: hidden !important;
    -moz-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    height: 279px;
    width: 274px;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
}

.mini-card-mobile {
    margin: 7px;
    overflow: hidden;
    -webkit-backface-visibility: hidden !important;
    -moz-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    height: 250px;
    width: 250px;
}

.mini-card-sign-in {
    overflow: hidden;
    -webkit-backface-visibility: hidden !important;
    -moz-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    height: 279px;
    margin-left: 25px;
    margin-right: 25px;
    background: -webkit-linear-gradient(bottom, #FFFFFF, #3f51b5);
    background: linear-gradient(bottom, #FFFFFF, #3f51b5);
}

.sign-in-form-field {
    margin-bottom: 5px;
}

.mini-card-content {
    padding: 10px;
    border-top: 1px solid;
    border-color: orange;
}

.mini-card-sign-in-content {
    padding: 25px 10px 10px;
    border-top: 1px solid;
    border-color: orange;
}

.mini-card-actions {
    width: 100%;
    height: 100%;
}

.splash-header, .intro-header {
    font-family: 'Shrikhand';
    font-size: 36px;
    letter-spacing: 1.5px;
    color: white;
    opacity: 0;
    will-change: opacity;
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
}

.splash-header-mobile, .intro-header-mobile {
    font-family: 'Shrikhand';
    letter-spacing: 1.5px;
    text-align: center;
    opacity: 0;
    will-change: opacity;
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
}

.intro-header-mobile {
    font-size: 18px;
    color: #3f51b5;
}

.splash-header-mobile {
    font-size: 20px;
    color: white;
}

.sign-in-header {
    margin-top: 5px;
}

.splash-copy,
.intro-copy,
.sign-in-copy {
    margin-top: 15px;
    font-family: 'Roboto';
    font-weight: bold;
    font-size: 14px;
    color: #3f51b5;
    opacity: 0;
    will-change: opacity;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}

.splash-copy-mobile,
.intro-copy-mobile,
.sign-in-copy {
    margin-top: 10px;
    font-family: 'Roboto';
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    color: #3f51b5;
    opacity: 0;
    will-change: opacity;
    transition: opacity .195s;
    -webkit-transition: opacity .195s;
    -moz-transition: opacity .195s;
}

.splash-header-mobile.slideInRight,
.splash-header-mobile.slideInLeft,
.intro-header-mobile.slideInRight,
.intro-header-mobile.slideInLeft,
.splash-copy-mobile.slideInRight,
.splash-copy-mobile.slideInLeft,
.splash-header.slideInRight,
.splash-header.slideInLeft,
.splash-copy.slideInRight,
.splash-copy.slideInLeft {
    -moz-animation-duration: .3s;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    opacity: 1;
}

.splash-header-mobile.slideOutRight,
.splash-header-mobile.slideOutLeft,
.splash-header.slideOutRight,
.splash-header.slideOutLeft,
.splash-copy.slideOutRight,
.splash-copy.slideOutLeft {
    -moz-animation-duration: .3s;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    opacity: 0;
}

.intro-header-mobile.fadeInDown,
.intro-header-mobile.fadeInUp,
.intro-header.fadeInDown,
.intro-copy.fadeInUp,
.sign-in-copy.fadeInUp,
.mini-card-mobile.flipInX,
.mini-card.flipInY {
    -moz-animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    opacity: 1;
}

.intro-header-mobile.fadeOutUp,
.intro-header-mobile.fadeOutDown,
.intro-header.fadeOutUp,
.intro-copy.fadeOutDown {
    opacity: 0 !important;
}

.intro-header-mobile.fadeOutUp,
.intro-header-mobile.fadeOutDown,
.intro-header.fadeOutUp,
.intro-copy.fadeOutDown,
.mini-card-mobile.flipOutX,
.mini-card.flipOutY {
    -moz-animation-duration: .195s;
    -webkit-animation-duration: .195s;
    animation-duration: .195s;
    opacity: 0 !important;
}

.splash-gif {
    width: 570px;
    opacity: 0;
    will-change: opacity;
    margin-top: 5px;
    outline: 1px solid;
    outline-color: orange;
    -moz-animation-duration: .225s;
    -webkit-animation-duration: .225s;
    animation-duration: .225s;
}
.splash-gif-mobile {
    height: 148px;
    opacity: 0;
    will-change: opacity;
    margin-top: 5px;
    outline: 1px solid;
    outline-color: orange;
    -moz-animation-duration: .225s;
    -webkit-animation-duration: .225s;
    animation-duration: .225s;
}

.animated.fadeIn,
.splash-gif-mobile.fadeIn,
.splash-gif.fadeIn {
    opacity: 1;
}

.splash-gif-mobile.fadeOut,
.splash-gif.fadeOut {
    opacity: 0;
}

/**
 * Site Info
 */
.site-info {
    font-family: Roboto;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/**
 * Profile image cropper
 */
.cropArea {
    background: #E4E4E4;
    overflow: auto;
    width: 100%;
}

.img-crop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 35% !important;
    min-height: 200px;
    min-width: 100px;
}

.img-crop canvas {
    display: block;
    position: unset !important;
    top: unset !important;
    left:  unset !important;
    margin-top: 0px !important;
    margin-left: 0px !important;
    outline: none;
    min-height: 200px;
    min-width: 200px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#imageViewer {
    margin-top: 10px;
    margin-bottom: 20px;
}

#imageViewer img {
    max-width: 95%;
    height: auto;
}

#cubeViewer {
    margin-bottom: 20px;
}

#cubeViewer img {
    width: 30%;
    height: auto;
}

/**
 * Profile image display
 */
.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}