/* SASS */
html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

#editor h1 {
  margin: 1rem 0 2rem;
}
#editor h1, #editor h2, #editor h3, #editor h4, #editor h5 {
  color: #555;
  font-weight: lighter;
}

body {
  font-family: "Helvetica Neue", "Open Sans", sans-serif;
}

#editor {
  font-family: "Open Sans", sans-serif;
}

#view body, #view p {
  font-family: "Helvetica Neue", "Open Sans", sans-serif;
}
#view h1, #view h2, #view h3, #view h4, #view h5, #view h6 {
  font-family: "Montserrat";
  font-weight: normal;
}
#view .page-header h1 {
  font-family: "Pacifico";
  font-size: 2.2rem;
  margin: 1rem 0 0;
  color: #222;
}
#view .page-header h1 a {
  text-decoration: none;
}
#view .page-header h2 {
  color: #222;
  font-size: 1.2rem;
  margin: .4rem 0 0;
  font-weight: lighter;
}
#view .primary p {
  font-size: 1.2rem;
  line-height: 2rem;
  color: #222;
}
#view .sidebar p {
  font-size: 1rem;
}
#view .footer p {
  font-size: .8rem;
  font-family: "Montserrat";
  text-align: center;
  font-weight: lighter;
}

#editor ul {
  padding: 0;
}
#editor ul li {
  list-style-position: inside;
}
#editor nav {
  display: none;
  margin: -20px;
  background: #fff;
  color: #555;
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: relative;
}
#editor nav.active {
  display: block;
}
#editor nav #addNew {
  position: absolute;
  top: 42px;
  right: 14px;
}
#editor nav #addNew a {
  text-decoration: none;
  padding: 0px 6px;
  display: block;
  background: #0085ba;
  border-radius: 50%;
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
}
#editor nav #addNew a.hidden {
  display: none;
}
#editor nav h3 {
  padding: 20px;
  text-transform: capitalize;
}
#editor nav h3 a {
  color: #555;
}
#editor nav ul {
  padding: 0;
  margin: 0;
}
#editor nav ul li {
  list-style: none;
}
#editor nav ul li:first-child {
  border-top: 1px solid #eee;
}
#editor nav ul li > a {
  padding: 15px 20px;
  display: block;
  border-bottom: 1px solid #eee;
  color: #555;
  text-decoration: none;
  position: relative;
}
#editor nav ul li > a:hover {
  background: #f5f5f5;
  color: #23282d;
}
#editor nav ul li > a:hover:after {
  color: #23282d;
}
#editor nav ul li > a:after {
  content: ">";
  position: absolute;
  right: 20px;
  color: #a0a5aa;
}

#view #mainNav {
  margin: 10px;
  font-family: "Montserrat";
  margin: 40px 0 20px;
}
#view #mainNav ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#view #mainNav ul li {
  display: inline-block;
  list-style: none;
  padding: 0 0 0 5px;
  margin: 0;
  font-size: 1.4rem;
}
#view #mainNav ul li a {
  color: #222;
  padding: 10px;
  text-decoration: none;
}
#view #mainNav ul li a:hover {
  color: #0085ba;
}
#view #menuIcon {
  display: none;
  background: #000;
  width: 100%;
  text-align: center;
}
#view #menuIcon:hover {
  background: #999;
}
#view #menuIcon a {
  width: 100%;
  display: inline-block;
  color: #fff;
}
#view #menuIcon a img {
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  #view #MainNav {
    max-height: 0;
    overflow: hidden;
    float: none;
    text-align: center;
    width: 100%;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    transition: max-height 0.5s;
  }
  #view #MainNav.menuOpen {
    max-height: 1000px;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    transition: max-height 0.5s;
  }
  #view #MainNav ul li {
    display: block;
    width: 100%;
    background: #000;
    border-top: 1px solid #4d4d4d;
  }
  #view #MainNav ul li:hover {
    background: #999;
  }
  #view #MainNav ul li a {
    color: #fff;
    text-shadow: #848484 0px 1px 2px;
    padding: 10px 0;
    width: 100%;
  }
  #view #menuIcon {
    display: inline-block;
  }
}
#editorToggle {
  position: absolute;
  bottom: 5px;
  left: 25px;
}
#editorToggle a {
  color: #0085ba;
}
#editorToggle a .arrow {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid transparent;
  border-right: 8px solid #0085ba;
  display: block;
  left: -25px;
  position: absolute;
}
#editorToggle a:hover label {
  cursor: pointer;
}
#editorToggle.hidden a {
  background: #0085ba;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  padding: 10px;
  bottom: 0px;
  left: -20px;
}
#editorToggle.hidden a .arrow {
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #fff;
  left: 40%;
  bottom: 5px;
}
#editorToggle.hidden a label {
  display: none;
}

#view {
  background: #fff;
  padding: 40px 20px;
}
#view.inactive a {
  cursor: not-allowed;
}
#view .container {
  margin: 20px auto 0;
  max-width: 960px;
}
#view .container .page-header {
  text-align: center;
}
#view .container .content {
  background: #fff;
  padding: 10px 20px;
  border: 1px #ddd solid;
}
#view .container .content .primary {
  width: calc(100% - 20px);
  padding: 10px;
}
#view .container .content .primary #blogPosts {
  padding-top: 20px;
}
#view .container .content .primary #blogPosts article {
  margin: 10px 0 0;
  border-top: 1px #ededed solid;
  padding: 5px 0 10px;
}
#view .container .content .primary #blogPosts article h3 {
  font-size: 1.2rem;
}
#view .container .content .primary #blogPosts article p {
  font-size: 1rem;
}
#view .container .content .sidebar {
  width: calc(100% - 20px);
  padding: 10px;
}

body {
  margin: 0;
  position: relative;
}

#wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  box-direction: normal;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  flex-direction: row;
  -ms-flex-direction: row;
  height: 100vh;
  background-color: #000;
}
#wrapper #editor {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background-color: #eee;
  padding: 20px;
  border-right: 2px #ddd solid;
}
#wrapper #editor.hidden {
  display: none;
}
#wrapper #view {
  -webkit-box-flex: 3;
  -moz-box-flex: 3;
  box-flex: 3;
  -webkit-flex: 3;
  -moz-flex: 3;
  -ms-flex: 3;
  flex: 3;
  padding: 0 10px;
  background: #ededed;
}
#wrapper #view a {
  color: #0085ba;
}
#wrapper #view .content {
  display: block;
  clear: both;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  box-direction: normal;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  flex-direction: row;
  -ms-flex-direction: row;
}
#wrapper #view .content .primary {
  -webkit-box-flex: 3;
  -moz-box-flex: 3;
  box-flex: 3;
  -webkit-flex: 3;
  -moz-flex: 3;
  -ms-flex: 3;
  flex: 3;
}
#wrapper #view .content .sidebar {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/**
 * simplemde v1.9.0
 * Copyright Next Step Webs, Inc.
 * @link https://github.com/NextStepWebs/simplemde-markdown-editor
 * @license MIT
 */
#edit label {
  padding: 10px 10px 0;
  display: block;
  color: #999;
  font-weight: lighter;
}
#edit input,
#edit button,
#edit textarea,
#edit .CodeMirror,
#edit iframe.wysiwyg {
  display: block;
  color: #555;
  font-size: 1.4rem;
  font-family: "Helvetica Neue", "Open Sans", sans-serif;
  width: calc(100% - 20px);
  margin: 5px 10px 10px;
  padding: 10px;
  border: 1px #eee solid;
}
#edit input:focus,
#edit button:focus,
#edit textarea:focus,
#edit .CodeMirror:focus,
#edit iframe.wysiwyg:focus {
  border-color: #555;
}
#edit input:read-only,
#edit button:read-only,
#edit textarea:read-only,
#edit .CodeMirror:read-only,
#edit iframe.wysiwyg:read-only {
  color: #ccc;
}
#edit textarea, #edit .CodeMirror, #edit .CodeMirror-scroll, #edit iframe.wysiwyg {
  min-height: 300px;
  max-height: 400px;
  font-size: 1.1rem;
  line-height: 1.8rem;
  padding: 5px;
}
#edit iframe.wysiwyg {
  margin-left: 10px;
  width: 93%;
  padding: 0;
  /* margin: 0; */
  border: 1px #ccc solid;
}
#edit #editUpdateBtn {
  background: #0085ba;
  color: #fff;
  font-weight: lighter;
  position: relative;
}
#edit #deletePost {
  margin-left: 10px;
  font-size: .8rem;
}
#edit #deletePost a {
  color: #999;
}
#edit #deletePost a.hidden {
  display: none;
}

.loader:before,
.loader:after,
.loader {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}

.loader {
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 3.5em;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ffffff;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ffffff;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ffffff;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ffffff;
  }
}
