#editor img{
  background-size: cover;
  width: 100%;
  height: auto;
}
#editor{
  z-index: 5;
}
#main-container{
  padding-top: 30px;
}
.main-content{
  padding-left: 3rem;
  padding-right: 3rem;
  word-break: break-word;
}
.ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6{
  margin-bottom: 1rem;
}

#editor.ql-container.ql-snow.ql-disabled {
	border: none;
}
[contenteditable=true]:empty:before{
	content: attr(placeholder);
	display: block; /* For Firefox */
	color: #bbb
}
.ql-editor{
	min-height: 45vh;
	/*max-height: 60vh;*/
  padding-left: 0;
  padding-right: 0;
	font-family: Lora,'Times New Roman',serif;
	font-size: 15px;
}
.footer{
  font-style: italic;
  /*text-decoration: underline;*/
  font-size: small;
  margin-bottom: 11rem;
}
.ql-container.ql-snow{
  border: none;
}
.ql-toolbar.ql-snow{
  border-radius: 2rem;
  border: none;
  box-shadow: 0px 0px 0px 0.8px rgba(230,230,230,0.5);
  background: white;
  opacity: 0.9;
  z-index: 10000;
  transition: 1s ease-in-out;
  /*margin-bottom: 2rem;*/
}
.btn-default.disabled:focus, .btn-default.disabled:hover{
  color: #999;
}
.ql-toolbar.ql-snow.sticked{
  box-shadow: 0px 0px 0px 1.5px rgba(230,230,230,0.5);
  /*margin-bottom: 0rem;*/
}
.ql-toolbar.ql-snow .ql-formats{
    padding-left: 15px;
}
.ql-editor.ql-blank{
  opacity: 0.4;
}
.btn{
  border-radius: 50px; 
}
body{
  font-size: 18px;
	/*background: #f5f5f5;*/
	/*margin-bottom: 30px;*/
}
p{
  color: #444;
}
h1#postTitle:focus,
address#postAuthor:focus
{
  outline:0px;
  -webkit-appearance:none;
}
.footer {
  /*position: absolute;*/
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  /*background-color: #f5f5f5;*/
}
#poster{
	font-size: 15px;
}

/* CONTAINER ANIMATION */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

/* SPINNER */
.spinner{
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  z-index: 20000;
  display: none;
}

.sk-folding-cube {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: auto;
  margin-left: -2.5rem;
  margin-top: -2.5rem;
  width: 5rem;
  height: 5rem;
  -webkit-transform: rotateZ(45deg);
          transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1); 
}
.sk-folding-cube .sk-cube:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #777;
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
          animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
      -ms-transform-origin: 100% 100%;
          transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
          transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
          transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
          transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s; 
}
.sk-folding-cube .sk-cube4:before {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
            transform: perspective(140px) rotateX(-180deg);
    opacity: 0; 
  } 25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
            transform: perspective(140px) rotateX(0deg);
    opacity: 1; 
  } 90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
    opacity: 0; 
  } 
}

@keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
            transform: perspective(140px) rotateX(-180deg);
    opacity: 0; 
  } 25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
            transform: perspective(140px) rotateX(0deg);
    opacity: 1; 
  } 90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
    opacity: 0; 
  }
}

/* MEDIA QUERY */
@media screen and (min-width: 514px) {
  #postTitle {
    margin-top: 5rem;
  }
  .ql-editor{
    min-height: 55vh;
    font-size: 18px;
  }
}

/* LINK FIX */
a { cursor: pointer; }
a:hover,a.hover { text-decoration: underline; }