body {
  font-family: Roboto, sans-serif;
  font-size: 13px;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-size: 13px;
}

h2 {
  margin-bottom: 10px;
  font: 300 30px/39px Roboto, sans-serif;
}

h3 {
  font-weight: 600;
}

.card h3 {
  cursor: pointer;
  /* Fill up the whole box when the card is collapsed */
  padding: 15px;
  margin: -15px;
}

.card i {
  color: #5B5B5B;
  padding-top: 4px;
  display: block;
  font-size: 12px;
}

.card-contents {
  margin-top: 10px;
}

#wrap {
  padding: 0 10px;
}

label {
  display: block;
  padding-bottom: 8px;
}

#preview {
  height: 490px;
  width: 100%;
  max-width: 472px;
  border: 0;
  padding: 0;
  margin-top: 48px;
}

.input-text {
  width: 320px;
  height: 29px;
  background-color: #FFF;
  line-height: 27px;
  padding-left: 8px;
  color: #333;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  display: inline-block;
  vertical-align: top;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 1px;
}

.input-text:hover {
  border: 1px solid #b9b9b9;
  border-top: 1px solid #a0a0a0;
  -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
  box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
}

.input-text:focus {
  -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.3);
  box-shadow: inset 0px 1px 2px rgba(0,0,0,0.3);
  outline: none;
  border: 1px solid #4d90fe;
}

.card-contents {
  display: none;
}

.selected .card-contents {
  display: block;
}

.card {
  background: #fff;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.298039);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.298039);
  border-radius: 2px;
  padding: 15px;
  position: relative;
  z-index: 1;
  margin-bottom: 1em;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

fieldset .card {
  background: #f8f8f8;
  margin-bottom: 0;
}

fieldset .card.selected, fieldset .card:hover {
  background: #fff;
  -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.4);
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  z-index: 2;
}

.step {
  display: none;
  width: 350px;
  float: left;
  margin-right: 10px;
}

button {
  cursor: pointer;
  color: #fff;
  font-family: Roboto, sans-serif;
  outline: 0;
  border: 1px solid #505050;
  margin: 10px 0 0 0;
  border-color: #3079ed;
  background-color: #4d90fe;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));
  background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
  background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
  background-image: linear-gradient(top,#4d90fe,#4787ed);
  border-radius: 2px;
  font-weight: bold;
  font-size: 11px;
  padding: 0 8px;
  display: inline-block;
  height: 27px;
}

button:hover {
  border-color: #2f5bb7;
  background-color: #357ae8;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));
  background-image: -webkit-linear-gradient(top,#4d90fe,#357ae8);
  background-image: -moz-linear-gradient(top,#4d90fe,#357ae8);
  background-image: -ms-linear-gradient(top,#4d90fe,#357ae8);
  background-image: -o-linear-gradient(top,#4d90fe,#357ae8);
  background-image: linear-gradient(top,#4d90fe,#357ae8);
}

button[disabled] {
  opacity: .6;
  pointer-events: none;
}

#url {
  clear: both;
  margin-top: 5px;
  padding: 16px;
  color: #999;
  width: 96%;
  max-width: 800px;

}

#iframe-src {
  color: #000;
  font-weight: bold;
}

#url, #finished-src-container {
  word-wrap: break-word;
  font-family: monospace;
}

#url, #preview {
  outline: 1px solid rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.step.current {
  display: block;
}


@media (min-width: 850px) {
  #preview {
    max-width: 472px;
  }
}

@media (max-width: 849px) {
  #preview {
    max-width: 800px;
    margin-top: 10px;
  }

  .step {
    width: 100%;
    margin-right: 0;
  }

  .input-text {
    width: 96%;
  }

  #url {
    width: 94%;
    max-width: 794px;
  }
}

@media (max-width: 400px) {
    .input-text {
    width: 100%;
  }

  #url {
    width: 92%;
    max-width: 380px;
  }
}
