.notes-content .is-active, .is-active[data-note-no]{
	background: #dddddd;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  position: relative;
}
.notes-content .is-active::after, .is-active[data-note-no]::after{
  content: "";
  width: 0;
  height: 0px;
  border-top: 8px solid rgba(0, 0, 0, 0);
  border-bottom: 8px solid rgba(0, 0, 0, 0);
  border-right: 8px solid #dddddd;
  display: inline-block;
  position: absolute;
  left: -7px;
  top: 9px;
}
.notes-content a[data-note-no]{
	font-size: 20px;
}


/* Tooltip CSS */
.tooltip, .arrow:after {
  background: black;  
}

.tooltip {
	border-radius: 2px;
	color: white;
  display: inline-block;
  margin-top: 20px;
  max-width: 200px;
  pointer-events: none;
  opacity: 0;  
  position: absolute;
  padding: 5px 10px; 
  text-align: center;
  text-decoration: none;    
}
.arrow {
  width: 70px;
  height: 16px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: -16px;
}
.arrow:after {
  content: "";
  position: absolute;
  left: 20px;
  top: -20px;
  width: 25px;
  height: 25px;
  -webkit-box-shadow: 6px 5px 9px -9px black,
                      5px 6px 9px -9px black;
  -moz-box-shadow: 6px 5px 9px -9px black,
                   5px 6px 9px -9px black;
  box-shadow: 6px 5px 9px -9px black,
              5px 6px 9px -9px black;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
}
.top-arrow.arrow {
  top: -15px;
}
.top-arrow.arrow:after {
  top: 10px;
}
.tooltip.is-active {
  opacity: 1;
  margin-top: 5px;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
}
.tooltip.out {
  opacity: 0;
  margin-top: -20px;
}


/* Modal CSS */
/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.modal{
  z-index: 5000;
}

.notes-perspective,
.notes-perspective body {
  height: 100%;
  overflow: hidden;
}

.notes-perspective body  {
  background: #222;
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  perspective: 600px;
}

.notes-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 850px;
  min-width: 850px;
  height: auto;  
  z-index: 2000;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.notes-modal .notes-content-box{
  height: 500px;
  overflow: auto;
  position: relative;
  padding: 15px 30px;
}

.notes-show {
  visibility: visible;
}

.notes-overlay {
  width: 100%;
  height: 100%;
  visibility: hidden;
  
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: rgba(43, 43, 43, 0.9);
}

.notes-show ~ .notes-overlay {
  opacity: 1;
  visibility: visible;
}

/* Content styles */
.notes-modal .notes-content {
  color: #3e3e3e;
  background: #fff;
  position: relative;  
  margin: 0 auto;
  font-size: 14px;
  line-height: 18px;
  
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.notes-modal .notes-content .notes-title {
  margin: 0;
  padding: 15px;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  border-bottom: solid 1px #999;

  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;

  /* Gradient CSS */
  background: rgb(252,252,252);
  background: -moz-linear-gradient(top,  rgba(252,252,252,1) 0%, rgba(211,211,211,1) 89%, rgba(191,191,191,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(89%,rgba(211,211,211,1)), color-stop(100%,rgba(191,191,191,1)));
  background: -webkit-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(211,211,211,1) 89%,rgba(191,191,191,1) 100%);
  background: -o-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(211,211,211,1) 89%,rgba(191,191,191,1) 100%);
  background: -ms-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(211,211,211,1) 89%,rgba(191,191,191,1) 100%);
  background: linear-gradient(to bottom,  rgba(252,252,252,1) 0%,rgba(211,211,211,1) 89%,rgba(191,191,191,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#bfbfbf',GradientType=0 );  
}

.notes-modal .notes-content > div ul {
  margin: 0;
  padding: 0;
}

.notes-modal .notes-content > div ul li, 
.notes-modal .notes-content > div ol li {
  margin: 3px 0;
  padding: 8px 10px;
}

.notes-modal .notes-content > div ol {
  list-style: decimal;
  margin: 0 20px;
}

.notes-modal .notes-content a.notes-close {
  display: block;
  font-size: 16px;
  position: absolute;
  z-index: 5;
  background: transparent url(../img/modal-close-btn.png) no-repeat left top;
  color: #fff;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  top: 7px;
  right: 7px;
  font-size: 0;  
}

/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.fade-in-and-scale .notes-content {
  -webkit-transform: scale(0.7);
  -moz-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.notes-show.fade-in-and-scale .notes-content {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

/* Effect 2: Slide from the right */
.slide-in-right .notes-content {
  -webkit-transform: translateX(20%);
  -moz-transform: translateX(20%);
  -ms-transform: translateX(20%);
  transform: translateX(20%);
  opacity: 0;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.notes-show.slide-in-right .notes-content {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

/* Effect 3: Slide from the bottom */
.slide-in-bottom .notes-content {
  -webkit-transform: translateY(20%);
  -moz-transform: translateY(20%);
  -ms-transform: translateY(20%);
  transform: translateY(20%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.notes-show.slide-in-bottom .notes-content {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

/* Effect 4: Newspaper */
.newspaper .notes-content {
  -webkit-transform: scale(0) rotate(720deg);
  -moz-transform: scale(0) rotate(720deg);
  -ms-transform: scale(0) rotate(720deg);
  transform: scale(0) rotate(720deg);
  opacity: 0;
}

.notes-show.newspaper ~ .notes-overlay,
.newspaper .notes-content {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.notes-show.newspaper .notes-content {
  -webkit-transform: scale(1) rotate(0deg);
  -moz-transform: scale(1) rotate(0deg);
  -ms-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

/* Effect 5: fall */
.fall.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.fall .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(600px) rotateX(20deg); 
  -moz-transform: translateZ(600px) rotateX(20deg); 
  -ms-transform: translateZ(600px) rotateX(20deg); 
  transform: translateZ(600px) rotateX(20deg); 
  opacity: 0;
}

.notes-show.fall .notes-content {
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -webkit-transform: translateZ(0px) rotateX(0deg);
  -moz-transform: translateZ(0px) rotateX(0deg);
  -ms-transform: translateZ(0px) rotateX(0deg);
  transform: translateZ(0px) rotateX(0deg); 
  opacity: 1;
}

/* Effect 6: side fall */
.side-fall.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.side-fall .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translate(30%) translateZ(600px) rotate(10deg); 
  -moz-transform: translate(30%) translateZ(600px) rotate(10deg);
  -ms-transform: translate(30%) translateZ(600px) rotate(10deg);
  transform: translate(30%) translateZ(600px) rotate(10deg); 
  opacity: 0;
}

.notes-show.side-fall .notes-content {
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -webkit-transform: translate(0%) translateZ(0) rotate(0deg);
  -moz-transform: translate(0%) translateZ(0) rotate(0deg);
  -ms-transform: translate(0%) translateZ(0) rotate(0deg);
  transform: translate(0%) translateZ(0) rotate(0deg);
  opacity: 1;
}

/* Effect 7:  slide and stick to top */
.sticky-up{
  top: 0;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.sticky-up .notes-content {
  -webkit-transform: translateY(-200%);
  -moz-transform: translateY(-200%);
  -ms-transform: translateY(-200%);
  transform: translateY(-200%);
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  opacity: 0;
}

.notes-show.sticky-up .notes-content {
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
  border-radius: 0 0 3px 3px;
  opacity: 1;
}

/* Effect 8: 3D flip horizontal */
.three-d-flip-horizontal.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-flip-horizontal .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateY(-70deg);
  -moz-transform: rotateY(-70deg);
  -ms-transform: rotateY(-70deg);
  transform: rotateY(-70deg);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
}

.notes-show.three-d-flip-horizontal .notes-content {
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
  opacity: 1;
}

/* Effect 9: 3D flip vertical */
.three-d-flip-vertical.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-flip-vertical .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateX(-70deg);
  -moz-transform: rotateX(-70deg);
  -ms-transform: rotateX(-70deg);
  transform: rotateX(-70deg);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
}

.notes-show.three-d-flip-vertical .notes-content {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  transform: rotateX(0deg);
  opacity: 1;
}

/* Effect 10: 3D sign */
.three-d-sign.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-sign .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateX(-60deg);
  -moz-transform: rotateX(-60deg);
  -ms-transform: rotateX(-60deg);
  transform: rotateX(-60deg);
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  transform-origin: 50% 0;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.notes-show.three-d-sign .notes-content {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  transform: rotateX(0deg);
  opacity: 1;
}

/* Effect 11: Super scaled */
.super-scaled .notes-content {
  -webkit-transform: scale(2);
  -moz-transform: scale(2);
  -ms-transform: scale(2);
  transform: scale(2);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.notes-show.super-scaled .notes-content {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}


/* Effect 12: 3D slit */
.three-d-slit.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-slit .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-3000px) rotateY(90deg);
  -moz-transform: translateZ(-3000px) rotateY(90deg);
  -ms-transform: translateZ(-3000px) rotateY(90deg);
  transform: translateZ(-3000px) rotateY(90deg);
  opacity: 0;
}

.notes-show.three-d-slit .notes-content {
  -webkit-animation: slit .7s forwards ease-out;
  -moz-animation: slit .7s forwards ease-out;
  animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
  50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
  100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
  50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
  100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
  50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
  100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

/* Effect 13:  3D Rotate from bottom */
.three-d-rotate-bottom.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-rotate-bottom .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateY(100%) rotateX(90deg);
  -moz-transform: translateY(100%) rotateX(90deg);
  -ms-transform: translateY(100%) rotateX(90deg);
  transform: translateY(100%) rotateX(90deg);
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  transform-origin: 0 100%;
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.notes-show.three-d-rotate-bottom .notes-content {
  -webkit-transform: translateY(0%) rotateX(0deg);
  -moz-transform: translateY(0%) rotateX(0deg);
  -ms-transform: translateY(0%) rotateX(0deg);
  transform: translateY(0%) rotateX(0deg);
  opacity: 1;
}

/* Effect 14:  3D Rotate in from left */
.three-d-rotate-in-left.notes-modal {
  -webkit-perspective: 1300px;
  -moz-perspective: 1300px;
  perspective: 1300px;
}

.three-d-rotate-in-left .notes-content {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
  -moz-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
  -ms-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
  transform: translateZ(100px) translateX(-30%) rotateY(90deg);
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  transform-origin: 0 100%;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.notes-show.three-d-rotate-in-left .notes-content {
  -webkit-transform: translateZ(0px) translateX(0%) rotateY(0deg);
  -moz-transform: translateZ(0px) translateX(0%) rotateY(0deg);
  -ms-transform: translateZ(0px) translateX(0%) rotateY(0deg);
  transform: translateZ(0px) translateX(0%) rotateY(0deg);
  opacity: 1;
}


/* Effect 15:  Slip in from the top with perspective on container */
.notes-show.slip-from-top ~ .container {
  height: 100%;
  overflow: hidden;
}

.notes-show.slip-from-top ~ .notes-overlay {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.notes-show.slip-from-top ~ .container,
.notes-show.slip-from-top ~ .notes-overlay {
  -webkit-transform-style: preserve-3d;
  -webkit-transform-origin: 50% 100%;
  -webkit-animation: OpenTop 0.5s forwards ease-in;
  -moz-transform-style: preserve-3d;
  -moz-transform-origin: 50% 100%;
  -moz-animation: OpenTop 0.5s forwards ease-in;
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  animation: OpenTop 0.5s forwards ease-in;
}

@-webkit-keyframes OpenTop {
  50% { 
    -webkit-transform: rotateX(10deg); 
    -webkit-animation-timing-function: ease-out; 
  }
}

@-moz-keyframes OpenTop {
  50% { 
    -moz-transform: rotateX(10deg); 
    -moz-animation-timing-function: ease-out; 
  }
}

@keyframes OpenTop {
  50% { 
    transform: rotateX(10deg); 
    animation-timing-function: ease-out; 
  }
}

.slip-from-top .notes-content {
  -webkit-transform: translateY(-200%);
  -moz-transform: translateY(-200%);
  -ms-transform: translateY(-200%);
  transform: translateY(-200%);
  opacity: 0;
}

.notes-show.slip-from-top .notes-content {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  -webkit-transition: all 0.5s 0.1s;
  -moz-transition: all 0.5s 0.1s;
  transition: all 0.5s 0.1s;
}


/* Fullscreen Overlay Style */
.no-scroll{
  overflow: hidden;
}
.notes-fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,99,130,1);

  background-color: #fef2a2; 
  background-image: 
  linear-gradient(90deg, transparent 10px, #b6a009 79px, #b6a009 81px, transparent 81px),
  linear-gradient(#e0ce52 1px, transparent 1px);
  background-size: 100% 30px;
}
.notes-fullscreen .notes-content .notes-title {
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  line-height: normal;
  color: #fef2a2;
  background: #513919;

  text-shadow: 1px 1px 1px rgba(39, 24, 3, 0.9);

  /* Gradient CSS */    
  background: rgb(109,76,32);
  background: -moz-linear-gradient(top,  rgba(109,76,32,1) 0%, rgba(81,57,25,1) 61%, rgba(53,33,6,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,76,32,1)), color-stop(61%,rgba(81,57,25,1)), color-stop(100%,rgba(53,33,6,1)));
  background: -webkit-linear-gradient(top,  rgba(109,76,32,1) 0%,rgba(81,57,25,1) 61%,rgba(53,33,6,1) 100%);
  background: -o-linear-gradient(top,  rgba(109,76,32,1) 0%,rgba(81,57,25,1) 61%,rgba(53,33,6,1) 100%);
  background: -ms-linear-gradient(top,  rgba(109,76,32,1) 0%,rgba(81,57,25,1) 61%,rgba(53,33,6,1) 100%);
  background: linear-gradient(to bottom,  rgba(109,76,32,1) 0%,rgba(81,57,25,1) 61%,rgba(53,33,6,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d4c20', endColorstr='#352106',GradientType=0 );
}
.notes-fullscreen .notes-content {
  margin: 0 auto;
}
.notes-fullscreen .notes-content-box{
  overflow: auto;
  position: relative;
  padding: 30px;
}
.notes-fullscreen .notes-content ol{
  padding: 0 20px;
  list-style-type: decimal;
}
.notes-fullscreen .notes-content ol li, 
.notes-fullscreen .notes-content ul li {
  padding: 10px;
  margin: 20px 0;
  font-size: 20px;
  line-height: normal;
  color: #655801;
}
.notes-fullscreen .notes-content ol li.is-active{
  background-color: #f6f321;
  color: #1f1200;

  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;

  filter: alpha(opacity=75);
  -moz-opacity:0.75;
  opacity: 0.75; 
}
.notes-fullscreen .notes-content ol li.is-active:after{
  display: none;
}


/* Overlay closing cross */
.notes-fullscreen .notes-close {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 15px;
  overflow: hidden;
  border: none;
  font-size: 0;
  outline: none;
  z-index: 100;
  background: transparent url(../img/fullscreen-modal-close-btn.png) no-repeat left top;
  color: #00558f;
  text-align: center;
  line-height: 66px;
}

/* Overlay Hugeinc */
.fade-in {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
.fade-in.notes-show {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

/* Overlay Corner */
.from-right-bottom-corner {
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(50px) translateX(50px);
  transform: translateY(50px) translateX(50px);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, transform 0.5s, visibility 0s 0.5s;
}

.from-right-bottom-corner.notes-show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
}

/* Overlay Slidedown */
.from-top {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
  transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.from-top.notes-show {
  visibility: visible;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  -webkit-transition: -webkit-transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
}

/* Overlay Scale */
.scale {
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
  transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
}

.scale.notes-show {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);  
  -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
  transition: transform 0.4s, opacity 0.4s;
}

/* Overlay Door */
.door {
  visibility: hidden;
  width: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: width 0.5s 0.3s, visibility 0s 0.8s;
  transition: width 0.5s 0.3s, visibility 0s 0.8s;
}

.door.notes-show {
  visibility: visible;
  width: 100%;
  -webkit-transition: width 0.5s;
  transition: width 0.5s;
}

.door .notes-close {
  opacity: 0;
  -webkit-transition: opacity 0.3s 0.5s;
  transition: opacity 0.3s 0.5s;
}

.door.notes-show .notes-close {
  opacity: 1;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.door.close .notes-close {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

/* From Bottom */

.from-bottom {
  visibility: hidden;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
  transition: transform 0.5s, visibility 0s 0.5s;
}

.from-bottom.notes-show {
  visibility: visible;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

/* From Bottom Scale  */

.from-bottom-scale {
  visibility: hidden;
  -webkit-transform: translateY(60%) scale(0);
  transform: translateY(60%) scale(0);
  -webkit-transition: -webkit-transform 0.4s, visibility 0s 0.4s;
  transition: transform 0.4s, visibility 0s 0.4s;
}

.from-bottom-scale.notes-show {
  visibility: visible;
  -webkit-transform: translateY(0%) scale(1);
  transform: translateY(0%) scale(1);
  -webkit-transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
}