/* Put custom styles for project in this file */
#build-info {
  pointer-events: none;
  background-color: bisque;
  color: black;
  padding: 5px 0;
  font-size: 12px;
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 1000;
  text-align: center;
}

#build-info span {
  margin: 0 10px;
  letter-spacing: 1px;
  font-weight: bold;
}

#mobile-fallback {
  display: none;
}

.slider-arrow.right-slider-arrow {
  backface-visibility: hidden;
}

#dialog h1, #dialog h2, #dialog p {
  padding: 0 20px
}

#dialog .success-gif {
  width: 100%
}

.things-to-learn li {
  margin-left: 5px;
  font-size: 10px;
}

#control {
  bottom: 57px;
}

#conceptBanner {
  font-size: 12px;
}

#conceptBanner .right .bannerTextContainer .bannerText {
  line-height: 20px;
}

.intro .slide-head canvas,
#dialog #levelIntro canvas,
canvas#intro-sprite,
#dialogLevelDone canvas {
  width: 100%;
  display: block;
}

#dialogProjectDone .level3-success-bkg {
  margin: 0 auto;
}

#dialogProjectDone .canvas-wrapper {
  position: relative;
  width: 504px;
  height: 450px;
  margin: 0 auto;
  overflow: hidden;
}

.close-button {
  cursor: pointer;
}

.disney-pixar-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 160px;
  z-index: 1;
}

.disney-pixar-logo.intro {
  width: 130px;
}

.intro .slide-head img {
  top: 0;
  margin-top: 10px;
}

#dialog h1 {
  margin-top: 20px;
}

#dialogLevelError h1 {
  margin-top: 70px;
  margin-bottom: 20px;
}

#concept h1.title {
  margin-bottom: 40px;
}

.conceptBannerType {
  display: none;
  height: 100%;
}

.helpToolbox-hint {
  display: none;
}

#dialogProjectDone .img .success-gif {
  height: auto;
}

#dialogProjectDone .img {
  position: relative;
  height: auto;
}

#dialogProjectDone .img img {
  width: auto;
  height: auto;
}

.disney-pixar-logo.level-3-success {
  top: 10px;
  left: 36px;
  width: 150px !important;
  height: auto;
}

@media (max-height: 800px) {

  #dialog #levelIntro {
    height: 550px;
  }

}

#dialog .slide-head {
  height: auto;
}

#backToVisualizationButton, #backToCodeButton {
  display: none;
}

/*@media (max-width: 1200px) {

  #backToVisualizationButton, #backToCodeButton:before {
    width: 65.75px;
    height: 65.75px;
    background-size: 65.75px 65.75px;
    background-position: 0px 0px;
    background-color: transparent;
    -webkit-mask-image: initial;
    border-radius: 0;
    box-shadow:initial;
  }

  #level_dropdown{
    z-index: 1;
  }

  #control {
    height: 100px;
    bottom: 0px;
  }
  #runButton, #resetButton, #mobileStartCoding {
    margin: 30px auto 0;
  }

  #backToCodeButton:before {
    background-image: url('../common/images/double_arrow_left.png');
    top: -43px;
    z-index: 10;
  }

  #backToVisualizationButton {
    margin: 0 0 0 -84px;
    bottom: 50px;
    background-position: 2px 0px;
    background-image: url('../common/images/double_arrow.png');
    background-repeat: no-repeat;
  }

  #control {
    height: 100px;
    bottom: 0px;
  }

  #control div{
    height: 100px;
  }

  #levelHelpMessage {
    position: absolute;
    bottom: 140px;
    left: 0;
    text-align: center;
    display: block;
    width: 100%;
  }
  #code-preview-title {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 47px;
    font-size: 14px;
    text-align: center;
    width: 100%;
  }
}*/

.blocklyDisabled{
  cursor: default !important;
}

.blocklyDisabled.blocklySelected>.blocklyPath {
  stroke-width: 0px !important;
}

.blocklyDisabled{
  cursor: default !important;
}
/*@media (max-width: 650px) {

  #control {
    height: 80px;
    bottom: 0px;
  }
  #runButton, #resetButton, #mobileStartCoding {
    margin: 20px auto 0;
  }

  #dialog.full-screen {
    z-index: 10;
  }

  #dialog #dialogLevelDone,
  #dialog #dialogLevelError,
  #dialog #concept,
  #dialog.full-screen .dialogContent {
    background: white;
    height: 100%;
    width: 100%;
  }

  #dialog #dialogLevelError canvas {
    margin-top: 42px;
  }

  #dialogProjectDone .canvas-wrapper {
    width: 100%;
    height: auto;
  }

  #success-sprite {
    width: 100%;
  }

  #dialog #dialogProjectDone .header .img img {
    top: 15px;
    left: auto;
    right: 20px;
    z-index: 2;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .close-button-dialog::after,
  .close-button-dialog::before {
    background: #bc3a94;
  }

  #build-info {
    font-size: 10px;
    opacity: 0.3;
  }

  #dialog #intro,
  #dialog #levelIntro {
    height: 100%;
  }

  #dialog #intro .slide-head,
  #dialog #levelIntro .slide-head {
    padding-top: 42px;
    height: auto;
  }

  .intro .slide-head canvas,
  #dialog #levelIntro canvas {
    height: auto;
  }

  #dialog #intro .slide-content p,
  #dialog #levelIntro .slide-content p {
    width: 90%;
    font-size: 12px;
  }

  #dialog #intro .slide-content p br,
  #dialog #levelIntro .slide-content p br {
    display: none;
  }

  #dialog #intro .farSide,
  #dialog #levelIntro .farSide {
    bottom: 3%;
  }

  #dialog #intro .slide-content,
  #dialog #levelIntro .slide-content {
    height: 44%;
  }

  #intro .things-to-learn li::before,
  #levelIntro .things-to-learn li::before {
    opacity: 1;
    width: 34px;
    height: 34px;
    margin: 7px auto;
  }

  #dialog .slide-head img {
    position: absolute;
    top: 10px;
    left: 10px;
  }
}*/

/* iPhone 5 and 5s*/
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
  #dialog #intro h2, #dialog #levelIntro h2, .content-wrapper h2{
    margin-top: 3%;
  }

  #dialog #intro .dots, #dialog #levelIntro .dots, #concept .dots{
    bottom: calc(2% + 39px);
    margin-bottom: 0px;
  }

  #dialog #intro .farSide,
  #dialog #levelIntro .farSide {
    bottom: 2%;
  }

  #concept h1.title{
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #concept p {
    margin-bottom: 0px;
  }

  #dialogLevelError h1{
    margin-top: 30px;
  }

  #start-coding{
    display: inline-block !important;
  }


  #levelHelpMessage {
    bottom: 100px;
  }
}

#mobile-fallback {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  text-align: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
}

#mobile-fallback .message {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

.mobile-h1 {
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  width: 300px;
  line-height: 24px;
}

.mobile-copy {
  -ms-font-feature-settings: normal;
  font-weight: 400;
  font-family: "Droid Serif", serif;
  font-size: 15px;
  color: #999;
  line-height: 22px;
}

#mobile-fallback img {
  display: block;
  margin: 20px auto 20px auto;
}

#mobile-fallback .button-small {
  background: #ae639c;
  border: none;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0 2px;
  padding: 0 30px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  transition: background 0.25s ease-in-out;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
  font-size: 12px;
  height: 39px;
  line-height: 39px;
}
