/* * Hide from both screenreaders and browsers: h5bp.com/u */
#sticky-notes-content .hidden {
  display: none !important;
  visibility: hidden;
}

/* * Hide only visually, but have it available for screenreaders: h5bp.com/v */
#sticky-notes-content .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* * Extends the .visuallyhidden class to allow the element to be focusable * when navigated to via the keyboard: h5bp.com/p */
#sticky-notes-content .visuallyhidden.focusable:active,
#sticky-notes-content .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/* * Hide visually and from screenreaders, but maintain layout */
#sticky-notes-content .invisible {
  visibility: hidden;
}

#sticky-notes-content .clearfix:before,
#sticky-notes-content .clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

#sticky-notes-content .clearfix:after {
  clear: both;
}

#sticky-notes-content .noflick,
#sticky-notes-content #board,
#sticky-notes-content .note,
#sticky-notes-content .button {
  perspective: 1000;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
#sticky-notes-content * {
  box-sizing: border-box;
}

#sticky-notes-content html,
#sticky-notes-content button,
#sticky-notes-content input,
#sticky-notes-content select,
#sticky-notes-content textarea {
  color: #000000;
}

#sticky-notes-content body {
  font-size: 1em;
  line-height: 1;
  background-color: white;
  background: linear-gradient(135deg, white 0%, #ebebeb 47%, #dedede 100%);
}

#sticky-notes-content ::selection {
  background: #B3D4FC;
  text-shadow: none;
}

#sticky-notes-content a:focus {
  outline: none;
}

#sticky-notes-content ::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.7);
}

#sticky-notes-content :placeholder {
  /* Firefox 18- */
  color: rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#sticky-notes-content #board {
  padding: 0;
  overflow-y: visible;
  height: 1px;
  z-index: 999999999;
}

#sticky-notes-content .note {
  float: left;
  display: block;
  position: relative;
  padding: 1em;
  width: 300px;
  min-height: 300px;
  margin: 0 30px 30px 0;
  background: linear-gradient(top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
  background-color: #FFFD75;
  box-shadow: 5px 5px 10px -2px rgba(33, 33, 33, 0.3);
  transform: rotate(2deg);
  transform: skew(-1deg, 1deg);
  transition: transform .15s;
  z-index: 1;
}
#sticky-notes-content .note:hover {
  cursor: move;
}
#sticky-notes-content .note .note_cnt {
  height: 100%;
}
#sticky-notes-content .note.ui-draggable-dragging:nth-child(n) {
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.3);
  transform: scale(1.125) !important;
  z-index: 100;
  cursor: move;
  transition: transform .150s;
}
#sticky-notes-content .note textarea {
  background-color: transparent;
  border: none;
  resize: vertical;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  padding: 5px;
  font-size: 14px;
}
#sticky-notes-content .note textarea:focus {
  outline: none;
  border: none;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2) inset;
}
#sticky-notes-content .note textarea.title {
  font-size: 24px;
  line-height: 1.2;
  color: #000000;
  height: 64px;
  margin-top: 20px;
}
#sticky-notes-content .note textarea.cnt {
  min-height: 200px;
  max-height: 100%;
  height: calc(100% - 100px) !important;
}
#sticky-notes-content .note:nth-child(2n) {
  background: #FAAACA;
}
#sticky-notes-content .note:nth-child(3n) {
  background: #69F098;
}

/* Button style  */
#sticky-notes-content .button {
  background: #ffffff none repeat scroll 0 0;
  border-radius: 2px;
  display: inline-block;
  line-height: 28px;
  padding: 0 12px;
}
#sticky-notes-content .button:hover {
  background: #f2f2f2;
  text-decoration: none;
}
#sticky-notes-content .button:active {
  background: #f2f2f2;
  text-decoration: none;
}
#sticky-notes-content .button.remove-sticky-note {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #E01C12;
  text-align: center;
  line-height: 16px;
  padding: 10px;
  border-color: #B30000;
  font-style: 1.6em;
  font-weight: bolder;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  border: none;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 0 -1px 2px -1px rgba(0, 0, 0, 0.5) inset, 0 1px 2px 1px rgba(255, 255, 255, 0.3) inset;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease 0s, background 0.01s ease 0s;
}
#sticky-notes-content .button.remove-sticky-note:hover {
  background-color: #EF0005;
}

#sticky-notes-content #sticky-notes-controls {
  background: #ffffff none repeat scroll 0 0;
  border-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 10px;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0px;
  padding: 10px;
  width: 260px;
  height: 50px;
  /*background: rgba(0, 0, 0, 0) linear-gradient(#fff, #ccc) repeat scroll 0 0;*/
  /*border-radius: 6px;*/
  z-index: 999999999999;
  /*box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.4);*/
}

#sticky-notes-content #add-sticky-note {
  float: left;
}

#sticky-notes-content #hide-sticky-notes {
  float: left;
  margin-right: 15px;
}

#sticky-notes-content .author {
  position: absolute;
  top: 20px;
  left: 20px;
}
