* {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body{
  background-color: #474747;
  margin: 0;
  color: #fff;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
}

.loading {
  display: none;
}

.is-loading .loading, .spinner {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  text-align: center;
  font-size: 20px;
}

.spinner{
  margin-top: -97px;
}

.compose-view, .share-view {
  transition: opacity .3s;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -o-transition: opacity .3s;
  -ms-transition: opacity .3s;
}

.is-loading .compose-view, .is-loading .share-view {
  opacity: .1;
  pointer-events: none;
}

.header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  padding: 5px 10px;
  transform: translateZ(0);
}

.branding {
  height: 65px;
  float: left;
  margin: 10px 15px 0 5px;
}

.images {
  display: inline-block;
  margin-left: 50px;
  padding: 10px;
}

.images img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid #444;
  opacity: .7;
}

.top-message {
  position: absolute;
  top: 90px;
  left: 370px;
  background: red;
  padding: 20px;
  font-size: 40px;
  z-index: 30;
}

.header .images img:hover {
  border: 2px solid #888;
  opacity: 1;
}

.header .images img.selected {
  border: 2px solid #d68989;
  opacity: 1;
}

.button-pink {
  background: #d68989;
  padding: 8px 12px 10px;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.action-create-another, .action-share {
  position: absolute;
  top: 27px;
  right: 27px;
}

.action-create-another i {
  margin-right: 5px;
}

.action-share i {
  margin-left: 3px;
}

.action-send {
  display: inline-block;
  margin: 4px 0;
  padding: 7px 10px 8px;
  font-size: 14px;
}

.button-pink:hover, .btn:hover {
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}

.button-pink:active, .btn:active {
  box-shadow: inset 0 0 6px rgba(0,0,0,.4);
}

.button-pink i {
  font-size: 10px;
}

.graph-paper, .about-section {
  position: absolute;
  top: 90px;
  bottom: 38px;
  width: 900px;
  margin-left: -450px;
  left: 50%;
  border-radius: 5px;
  border: 2px solid #fff;
  box-shadow: 0 0 5px #000;
}
.about-section {
  background: white;
  padding: 20px;
  font-size: 20px;
  color: #222;
}

/* this is just a centered container that we use for positioning the textareas */
.compose-view .messages {
  width: 900px;
  position: absolute;
  width: 0;
  left: 50%;
  top: 80px;
  bottom: 25px;
}

.compose-view ::-webkit-input-placeholder { /* WebKit browsers */
    color: #d68989;
    opacity: .5;
}
.compose-view :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #d68989;
  opacity: .5;
}
.compose-view ::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #d68989;
  opacity: .5;
}
.compose-view :-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #d68989;
  opacity: .5;
}

.compose-view .message, .compose-view .from {
  resize: none;
  color: #d68989;
  background: transparent;
  border: 0;
  position: absolute;
  z-index: 40;
  font-size: 32px;
  line-height: 1em;
  font-family: 'Cookie', "Brush Script MT", cursive, sans-serif;
  padding: 5px;
}

.compose-view .message {
  top: 20px;
  left: -80px;
  width: 520px;
  height: 120px;
  text-align: left;
}

.compose-view .about {
  position: absolute;
  bottom: -5px;
  width: 100%;
  text-align: center;
}

.compose-view .from {
  bottom: 20px;
  width: 520px;
  right: -442px;
  text-align: right;
}

.compose-view .message:focus, .compose-view .from:focus {
  box-shadow: 0 0 6px #999;
  border-radius: 3px;
  opacity: 1;
  outline: none;
  cursor: text;
  background: #fff;
}

.compose-view .message::selection{
  background: #cce;
}
.compose-view.message::-moz-selection{
  background: #cce;
}
.compose-view .from::selection{
  background: #cce;
}
.compose-view.from::-moz-selection{
  background: #cce;
}

.btn {
  border-radius: 2px;
  display: inline-block;
  padding: 7px 12px;
  margin: 4px;
  cursor: pointer;
  color: white;
  text-decoration: none;
}

.share-view {
  display: none;
}

.share-form {
  position: relative;
}

.share-form p {
  margin: 0;
}

.share-form input, .share-form textarea {
  display: block;
  width: 100%;
  border-radius: 2px;
  border: none;
  margin: 4px 0;
  padding: 8px;
  font-family: sans-serif;
  font-size: 14px;
}

.share-form input.name {
  width: 242px;
  margin-right: 5px;
  float: left;
}

.share-form textarea {
  height: 3em;
  position: relative;
}

.share-form .social-buttons {
  margin-top: 30px;
}

.dcg-icon-twitter, .dcg-icon-facebook {
  font-size: 13px;
}

.send-btn {
  background: #d28889;
}

.tweet-btn {
  background: #49AEEC;
  margin: 0 10px 0 0;
}

.fb-post-btn {
  background: #455697;
  margin: 0;
}

.fb-post-btn, .tweet-btn {
  width: 145px;
  text-align: center;
}

.fb-post-btn  i {
  margin-right: 5px;
}

.tweet-btn i {
  margin-right: 8px;
}

.share-view .main {
  margin-left: auto;
  margin-right: auto;
  margin-top: 110px;
  width: 700px;
}

.share {
 font-size: 32px;
 text-align: center;
 margin-bottom: 50px;
}

.envelope {
  width: 330px;
  float: left;
  margin-top: -15px;
}

.share-form {
  margin-left: 400px;
}

.about {
  text-align: center;
  clear: both;
  margin-top: 250px;
}
.about a {
  color: #fff;
}

.learn-more{
  width: 850px;
  margin: 100px auto 0 auto;
  border-radius: 10px;
  position: relative;
  padding: 20px;
  background: white;
  color: #222;
  font-size: 18px;
  color: #666;
}
.container .header .title{
  font-size: 2em;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 0;
}

.learn-more h1 {
  font-weight: normal;
  text-align: center;
  margin-top: 10px;
}

.learn-more a {
  color: #4781b9;
  text-decoration: none;
}
.learn-more a:hover {
  text-decoration: underline;
}

.learn-more .graph {
  float: left;
  width: 310px;
  height: 310px;
  border: 1px solid #ccc;
  margin: 0px 25px 0px 10px;
}

.learn-more p {
  margin: 10px;
}
