/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *

 */


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

body {
  box-sizing: inherit;
  padding: 0px;
  margin: 0px;
  padding-top: 1em;
  font-family: Roboto, -apple-system, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  padding: 1rem;
}

.user-auth a {
  color: white;
}

footer {
  display: flex;
  width: 100%;
  margin: auto auto 0 auto;
  background-color: black;
  color: white;
  justify-content: space-between;
  padding: 1rem;

}

footer a {
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
}

.jrnl-entry {
  border-bottom: 1px solid lightgray;
  width: 100%;
  padding-top: 1em;
  margin-bottom: 1em;
  page-break-inside: avoid;
  page-break-after: always;
  text-align: left;
}

.form-devise {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-devise .checkbox {
  font-weight: 400;
}

.form-devise .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}

.form-devise .form-control:focus {
  z-index: 2;
}

.form-devise input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-devise input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


[contenteditable="true"]:active,
[contenteditable="true"]:focus {
  border: 1 px solid blue;
  outline: none;
}


[contenteditable="true"]:focus::before {
  border-left: 1px solid black;
}

pre {
  font-family: Roboto, -apple-system, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 500px;
  /* specify width  */
  white-space: pre-wrap;
  /* CSS3 browsers  */
  white-space: -moz-pre-wrap !important;
  /* 1999+ Mozilla  */
  white-space: -pre-wrap;
  /* Opera 4 thru 6 */
  white-space: -o-pre-wrap;
  /* Opera 7 and up */
  word-wrap: break-word;
  /* IE 5.5+ and up */
  /* overflow-x: auto; */
  /* Firefox 2 only */
  /* width: 99%; */
  /* only if needed */
}
