@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap);

:root {
  --njud-color-primary: #c91616;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.container {
  max-width: 1200px;
}
.preview-container span {
    font-family: 'Montserrat' !important;
    line-height: 1.5em !important;
}
.container.pt-5 {
    padding: 0 7%;
}
.form-label {
  font-weight: 500;
}
.preview-container .rounded {
    padding: 60px 75px !important;
}
.big-text {
  font-size: 2.6em;
}
.njud-resume.mb-3 p {
    font-size: 15px !important;
    color: #000;
}

.njud-document-title-container {
    border-bottom: 2px solid #dddddd;
    margin-bottom: 20px;
}

.njud-document-title-container h5 {
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-size: 25px;
    padding: 5px 0;
}
.njud-document-header h3.mb-3 {
    font-size: 21px;
}
.mb-3.text-center.text-white.numero-de-paginas {
    margin-top: -40px;
    margin-bottom: 35px !important;
}
.njud-document-title-container h5::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    background: #c91616;
    height: 2px;
}


h5.fw-bold.text-danger p {
    color: #000;
    font-size: 15px;
}
.login-bg {
  background-image: url(../images/login_bg.svg);
  background-size: cover;
  background-position: center center;
}

.header-top {
  box-shadow: 2px 3px 3px #888585;
  position: relative;
  z-index: 1;
}

.header-navigation {
  position: relative;
  background: #eee !important;
  box-shadow: 2px 3px 3px #b8b4b4;
}

#header-menu button.toggle-menu {
  display: none;
}

.page-title-bg h2 {
  font-size: 0;
}

.page-title-bg {
  background-size: cover;
  background-position: center center;
  background: #000;
  background-image: linear-gradient(to right, #5d5b5b, #000, #5d5b5b);
  min-height: 2px;
  padding: 0 !important;
}

.text-red {
  color: var(--njud-color-primary) !important;
}

.bg-red {
  background-color: var(--njud-color-primary) !important;
}

.bg-black {
  background-color: #151515 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-900 {
  font-weight: 900 !important;
}

[class*="line-clamp"] {
  --lines: 1;
  display: -webkit-box;
  -webkit-line-clamp: var(--lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  --lines: 1;
}

.line-clamp-2 {
  --lines: 2;
}

.line-clamp-3 {
  --lines: 3;
}

.tag-item {
  cursor: pointer;
}

.document-list-item {
  transition: 0.2s ease-out;
}

.document-list-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgb(0 0 0 / 10%);
}

.header-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 9px;
  text-transform: uppercase;
  color: #000;
}

.header-link:hover {
  color: var(--njud-color-primary);
}

.footer-menu-item {
  color: #fff;
  text-decoration: none;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: block;
  border-bottom: 1px solid rgba(168, 168, 168, 0.3);
}

.footer-menu-item:hover {
  color: var(--njud-color-primary);
}

.footer-menu-item i {
  font-size: 0.45rem;
}

.subscription-cta {
  position: relative;
  background-image: url(../images/cta_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.subscription-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.subscription-cta>div {
  position: relative;
}
:is(.njud-preview-text .preview-container, .html_editor) p {
    margin-bottom: 0px;
}
:is(.njud-preview-text .preview-container, .html_editor) h3 {
    font-size: 20px;
    border: 1px solid;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}
:is(.njud-preview-text .preview-container, .html_editor) h5 {
    font-size: 20px;
    font-weight: bold;
}
:is(.njud-preview-text .preview-container, .html_editor) h7 {
    display: block;
    margin-bottom: 200px;
}
.njud-preview-text .preview-container{
    font-size: 15px;
    box-shadow: 2px 3px 10px #c1bcbc;
    margin: 0 7%;
    line-height: 28px;
    text-align: justify;
    color: #000;
}

.njud-preview-text .preview {
    position: relative;
}
.njud-preview-text .preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(0, #FFF, transparent);
}

.njud-document-footer {
    background-color: #333d46;
}


.page-link {
    background-color: var(--njud-color-primary);
    color: #FFF;
}

.page-item.disabled .page-link {
    background-color: var(--njud-color-primary);
    opacity: 0.5;
    color: #FFF;
}

.show-password-container {
    position: relative;
}

.show-password {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}

.show-password.active,
.show-password:hover {
    color: var(--njud-color-primary);
}

.njud-preview-text .preview-container hr {
    position: relative;
    height: 2px !important;
    background-color: color(srgb 0 0 0 / 0.25);
    opacity: 1;
}

.njud-preview-text .preview-container hr:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 20%;
    transform: translateX(-50%);
    background: #c91616;
    height: 2px;
    z-index: 99999;
}

@media (max-width: 699px) {
    .container.pt-5 {
        padding: 0 2%;
    }
    .njud-preview-text .preview-container {
        font-size: 15px;
        box-shadow: 2px 3px 10px #c1bcbc;
        margin: 0 1%;
    }
    .preview-container .rounded {
        padding: 25px 15px !important;
    }
}

@media (max-width: 1024px) {
  .search-input::placeholder {
    font-size: 12px;
  }

  #header-menu button.toggle-menu {
    display: inline-block;
  }

  #header-menu>nav {
    position: absolute;
    top: 90%;
    right: 0;
    left: 0;
    padding: 20px 0;
    background: #fff;
    z-index: 2;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease-out;

    opacity: 0;
    pointer-events: none;
  }

  #header-menu>nav.active {
    top: 100%;
    opacity: 1;
    pointer-events: all;
  }

  #header-menu>nav>ul {
    flex-direction: column;
  }

  #header-menu>nav>ul>li {
    width: 100%;
    text-align: center;
  }

  #header-menu>nav>ul a {
    display: block;
    padding: 7px;
  }
}