/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


/* workaround for Lexxy editor: revert some styles that don't play well with Simple.css */
lexxy-editor {
    button, .button, a.button, input[type="submit"], input[type="reset"], input[type="button"] {
        color: revert;
    }
    select {
        display: none;
    }
}


.te-button-bar {
    margin-top: 5px;
    margin-bottom: 5px;
}

.te-button-bar * {
  box-sizing: border-box; }

.te-button-bar .te-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto; }

.te-button-bar .te-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px; }
  .te-buttonbar .te-button-group:not(:first-child) {
    margin-left: 1.5vw; }
    @media (max-width: 768px) {
      .te-buttonbar .te-button-group:not(:first-child) {
        margin-left: 0; } }

.te-button-bar .te-button {
    position: relative;
    float: left;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.75em;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 0.5em;
    margin: 0;
    outline: none;
    border: none;
    border-radius: 0;
    background: transparent;
}
.te-button-bar .te-button-right {
    float: right;
}
@media (max-width: 768px) {
    .te-button-bar .te-button {
        letter-spacing: -0.01em;
        padding: 0 0.3em; 
    }
}

.te-button-bar .te-button-icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px; 
}
@media (max-width: 768px) {
    .te-button-bar .te-button-icon {
        height: 2em;
        max-width: calc(0.8em + 3.5vw); } 
}
.te-button-bar .te-button-icon::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
}
.te-button-bar .te-button-icon:hover {
    background: transparent;
}
@media (max-width: 768px) {
    .te-button-bar .te-button-icon::before {
    right: 6%;
    left: 6%; 
    } 
}

.te-button-bar .te-button-icon--edit-doc::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.te-button-bar .te-button-icon--edit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='14 2 18 6 7 17 3 17 3 13 14 2'%3E%3C/polygon%3E%3Cline x1='3' y1='22' x2='21' y2='22'%3E%3C/line%3E%3C/svg%3E");
}

.te-button-bar .te-button-icon--close::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.te-button-bar .te-button-icon--details::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

.te-button-bar .te-button-icon--new-file::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath d='M14 3v5h5M12 18v-6M9 15h6'/%3E%3C/svg%3E");
}

.te-button-bar .te-button-icon--compile::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.2'/%3E%3C/svg%3E");
}


.te-centered {
    display: flex;
    align-items: center; 
}
.te-icon {
    display: inline-block;
    font-size: inherit;
    width: 1em;
    height: 1em;
    text-indent: -9999px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    white-space: nowrap;
    padding: 0;
    margin: 0 0.5em 0 0;
    outline: none;
    border: none;
    border-radius: 0;
    opacity: 0.4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
}
.te-icon--details {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}
.te-icon--edit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='14 2 18 6 7 17 3 17 3 13 14 2'%3E%3C/polygon%3E%3Cline x1='3' y1='22' x2='21' y2='22'%3E%3C/line%3E%3C/svg%3E");
}
.te-icon--info {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E");
}
.te-icon--close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}
.te-icon--compile {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.2'/%3E%3C/svg%3E");
}

article .summary {
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
}

.button-danger {
    background-color: rgba(228, 70, 94, 0.612);
    border-color: rgb(167, 8, 8);
    color: #600;
}

div.danger-zone {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #ccc;
}

.te-body {
    grid-template-columns: 1fr max(45rem, 80%) 1fr;
    padding-bottom: 50px; 
}

.te-popup {
    position:absolute; 
    z-index: 1000;
    border: 1px solid #999;
    border-radius: 5px;
    background-color:#eee;
    padding: 10px;
    box-shadow: 0px 1px 12px #ccc;
}

.document-container {
    grid-template-columns: 1fr 1fr;
}

.document-container .left {
    width: 50%;
    float: left;
    padding: 5px;
}

.document-container .right {
    width: 50%;
    float: right;
    padding: 5px;
}

header nav form {
    display: inline;
}

header nav form .sign-out {
    float: right;
    margin-right: 15px;
    background-color: transparent;
    color: #333;
    border-color: #777;
}

header nav form .sign-out:hover {
    float: right;
    margin-right: 15px;
    background-color: #fff;
    color: #333;
}

