/* @import url("https://api.fonts.coollabs.io/css2?family=Montserrat:wght@400;500;600;700&display=swap"); */
@import url("https://api.fonts.coollabs.io/css2?family=Roboto:wght@300;400;500;700&display=swap");
@font-face {
  font-family: "fontello";
  src: url("./fonts/fontello.eot?59618982");
  src: url("./fonts/fontello.eot?59618982#iefix") format("embedded-opentype"),
    url("./fonts/fontello.woff?59618982") format("woff"),
    url("./fonts/fontello.ttf?59618982") format("truetype"),
    url("./fonts/fontello.svg?59618982#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "edenhub";
  src: url("../fonts/edenhub/edenhub.eot") format("embedded-opentype"),
    url("../fonts/edenhub/edenhub.ttf") format("truetype"),
    url("../fonts/edenhub/edenhub.woff") format("woff"),
    url("../fonts/edenhub/edenhub.svg") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Roboto", sans-serif;
  /*--text-color: #1b1c20;
  --text-light: #87888a;
  --light-grey: #d9d9d9;
  --primary-color: #711655;
  --secondary-color: #9B8E75;
  --orange: #14110e;
  --light-orange: #f2ba99;
  --light-pink: #dfb5c0;
  --purple: #7e50b8;
  --light-purple: #c4b4d9;
  --light-green: #d1d2d5;
  --blue: #1b94ae;
  --light-blue: #bae5ee;
  --title-color: #221e20;*/
  --total-vertical-offset: calc(
    var(--drupal-displace-offset-top, 0px) + var(--menu-height, 0px)
  );
  --footer-heigth: ;
}

.text-light {
  color: var(--text-light);
}
/*********** RESET ************************************************************/
button {
  cursor: pointer;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  font-family: var(--font-family);
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5rem;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
:focus {
  outline: 0;
}
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
span.tpl-placeholder {
  position: fixed;
  right: 10px;
  top: 15px;
  color: #999;
  font-size: 20px;
}
#structured-data {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*********** RESET END ********************************************************/
/*********** MESSAGES *********************************************************/
//*#messages-wrapper {
  position: fixed;
  width: 96%;
  left: 2%;
  top: 305px;
  z-index: 99999;
}
.messages + .messages {
  margin-top: 10px;
}
#messages-wrapper .messages {
  position: relative;
  min-height: 55px;
  font-weight: normal;
  font-size: 19px;
  line-height: 25px;
  padding-top: 12px;
  padding-right: 85px;
  transition: all 0.5s;
  opacity: 1;
  height: auto;
}*/

#messages-wrapper {
position: fixed;
top: 1rem;
left: 50%;
transform: translateX(-50%);
width: min(90vw, 42rem);
z-index: 1000;
}
#messages-wrapper .messages {
width: 100%;
padding: 1rem;
border-radius: 0.5rem;
position: relative;
}
#messages-wrapper .messages.messages--hidden {
  opacity: 0;
  height: 0;
  min-height: 0;
  padding-bottom: 0;
  padding-top: 0;
  margin: 0;
  overflow: hidden;
}
#messages-wrapper .messages .close {
  width: 55px;
  height: 55px;
  z-index: 99999;
  display: block;
  position: absolute;
  /*border-radius: 50%;*/
  cursor: pointer;
  /*top: calc(50% - 29px) !important;
  right: 20px !important;
  border: 2px solid;*/
  top: 0;
  right: 0;
}
#messages-wrapper .messages .close:before {
  content: "\E809";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  display: block;
  height: 24px;
  padding: 17px 0;
  line-height: 1;
  text-align: center;
}
.messages--status {
  background-color: #c9e1bd;
}
.messages--error {
  background-color: #f9c9bf;
}
.messages--warning {
  background-color: #f4daa6;
}
/*********** MESSAGES END *****************************************************/

/*********** PAGE 404 *********************************************************/

html,
body,
.dialog-off-canvas-main-canvas {
  height: 100%;
  min-height: 100%;
}
#wrapper.page-404 {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  background: #dedede;
}
#wrapper.page-404 main #block-javali-theme-intranet-content .card-content {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#wrapper.page-404 main {
  border-radius: 12px;
  background-color: #ffffff;
  color: #151517;
  overflow: hidden;
}
#wrapper.page-404 main #main-content {
  display: flex;
}
#wrapper.page-404 main #main-content #page-content {
  padding: 90px;
  width: calc(40% - 180px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
#wrapper.page-404 main #main-content #page-content .logo img {
  max-height: 120px;
  max-width: 250px;
  margin-bottom: 30px;
}
#wrapper.page-404 main #main-content #page-content .info {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
#wrapper.page-404 main #main-content .block-system-main-block {
  background: transparent;
  border: 0 none;
  box-shadow: none;
  margin: 0 0;
  padding: 15px 0;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 45px;
  text-transform: uppercase;
}
#wrapper.page-404 main #main-content span.message {
  margin-bottom: 30px;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 30px;
}
#wrapper.page-404 h1.page-title {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 55px;
  text-align: center;
  margin-top: 15px;
}
#wrapper.page-404 main #page-content {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 23px;
}
#wrapper.page-404 main #page-content span.error {
  display: block;
  color: #3a4149;
  font-size: 140px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 100px;
  text-align: center;
}
#wrapper.page-404 a.back-to-home:link,
#wrapper.page-404 a.back-to-home:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  border: 3px solid #3a4149;
  border-radius: 8px;
  background-color: #ffffff;
  color: #3a4149;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 28px;
  text-align: center;
}
#wrapper.page-404 a.back-to-home:hover {
  background-color: #3a4149;
  color: #ffffff;
}
#wrapper.page-404 #error-image {
  padding: 90px 90px 0;
  width: calc(60% - 180px);
  background: #f5f5f5;
  border-radius: 0 12px 12px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;

  -webkit-transform: skewX(-11deg);
  -ms-transform: skewX(-11deg);
  transform: skewX(-11deg);
}
#wrapper.page-404 #error-image-inner {
  -webkit-transform: skewX(11deg);
  -ms-transform: skewX(11deg);
  transform: skewX(11deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#wrapper.page-404 #error-image:before {
  display: block;
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #f5f5f5;
  -webkit-transform: skewX(11deg);
  -ms-transform: skewX(11deg);
  transform: skewX(11deg);
  top: 0;
  left: 50%;
}
#wrapper.page-404 #error-image .error-code {
  color: #151517;
  font-size: 179px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 180px;
  text-align: center;
}
#wrapper.page-404 #error-image .error {
  color: #151517;
  font-size: 45px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 60px;
  text-align: center;
  text-transform: uppercase;
}
#wrapper.page-404 #error-image .image img {
  max-width: 540px;
  margin-top: -50px;
}
#wrapper.page-404.maintenance #error-image .image img {
  max-width: 600px;
}
#wrapper.page-404 #block-javali-theme-page-title {
  display: none;
}

/*********** PAGE 404 END *****************************************************/
/*********** LOCAL TASKS ******************************************************/
#block-javali-theme-primary-local-tasks {
  display: block;
  height: 50px;
  margin: 0;
  position: fixed;
  width: 50px;
  z-index: 2;
  cursor: pointer;
  left: 0;
  top: 40vh;
  background-color: #555;
  transition: background-color 0.3s;
}
#block-javali-theme-primary-local-tasks:hover,
#block-javali-theme-primary-local-tasks.pressed {
  background-color: #000;
  outline: 1px solid #555;
  cursor: pointer;
}
#block-javali-theme-primary-local-tasks:before {
  content: "\E806";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  color: #fff;
  font-size: 20px;
  display: block;
  height: 20px;
  padding: 15px 0;
  width: 50px;
  line-height: 1;
  border-bottom: 1px solid transparent;
  text-align: center;
}
#block-javali-theme-primary-local-tasks.pressed:before {
  border-bottom: 1px solid #555;
}
#block-javali-theme-primary-local-tasks:after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  transform-origin: 0% 0%;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 15px;
  top: 42px;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
}
#block-javali-theme-primary-local-tasks.pressed:after,
#block-javali-theme-primary-local-tasks:hover:after {
  opacity: 1;
  background: #000;
  border-bottom: 1px solid #555;
  border-right: 1px solid #555;
}
#block-javali-theme-primary-local-tasks.pressed:after {
  border-bottom: 1px solid #555;
  border-right: 1px solid #555;
}
#block-javali-theme-primary-local-tasks nav {
  opacity: 0;
  z-index: -1;
  background-color: #555;
  transition: all 0.3s;
  width: 51px;
}
#block-javali-theme-primary-local-tasks.pressed nav {
  opacity: 1;
  z-index: 1;
}
#block-javali-theme-primary-local-tasks nav ul li {
  display: block;
  height: 50px;
  margin: 0;
  padding: 0;
}
#block-javali-theme-primary-local-tasks nav ul li a:link,
#block-javali-theme-primary-local-tasks nav ul li a:visited {
  padding: 0;
  margin: 0;
  height: 48px;
  display: block;
  position: relative;
  transition: all 0.3s;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
#block-javali-theme-primary-local-tasks nav ul li a:focus,
#block-javali-theme-primary-local-tasks nav ul li a:hover {
  background: #000;
  border: 1px solid #555;
  border-left: 0 none;
  border-right: 0 none;
}
#block-javali-theme-primary-local-tasks nav ul li a.is-active {
  background: #000;
  cursor: default;
  border: 0 none !important;
  border-right: 1px solid #555 !important;
  height: 50px;
}
#block-javali-theme-primary-local-tasks nav ul li a:before {
  content: "\E806";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  color: #fff;
  font-size: 20px;
  display: block;
  height: 20px;
  margin: 15px auto;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  text-align: center;
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__view:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__mostrar:before {
  content: "\E80A";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__edit:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__editar:before {
  content: "\E805";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__delete:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__eliminar:before {
  content: "\F1F8";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__revisions:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__revisoes:before {
  content: "\E802";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__translate:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__traduzir:before {
  content: "\E802";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__atalhos:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__shortcuts:before {
  content: "\F277";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__scheduled:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__agendado:before {
  content: "\E803";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__submissoes:before,
#block-javali-theme-primary-local-tasks nav ul li a.tab__submissions:before {
  content: "\E807";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__ultima_versao:before {
  content: "\E802";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__log_in:before {
  content: "\E81a";
}
#block-javali-theme-primary-local-tasks nav ul li a.tab__log_in:before {
  content: "\21";
}
#block-javali-theme-primary-local-tasks
  nav
  ul
  li
  a.tab__create_new_account:before {
  content: "\24";
}
#block-javali-theme-primary-local-tasks
  nav
  ul
  li
  a.tab__reset_your_password:before {
  content: "\22";
}
#block-javali-theme-primary-local-tasks nav ul li a span {
  line-height: 30px;
  position: absolute;
  top: -1px;
  left: -400%;
  height: 28px;
  background: #000;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
  white-space: nowrap;
  transition: all 0.3s;
}
#block-javali-theme-primary-local-tasks nav ul li a.is-active span {
  display: none;
}
#block-javali-theme-primary-local-tasks nav ul li a:hover span {
  left: 50px;
  border: 1px solid #555;
  border-left: 0;
}
#block-javali-theme-primary-local-tasks .contextual {
  display: none;
}
/*********** LOCAL TASKS END***************************************************/
/*********** CUSTOM ***********************************************************/
.powered {
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #aaa;
  font-size: 11px;
}
.powered span {
  background: url(../images/logo_javali.png) repeat scroll 0 0px
    rgba(0, 0, 0, 0);
  display: inline-block;
  width: 59px;
  height: 18px;
  margin-left: 4px;
}

/** headings **/

/** headings **/
h1 {
  font-size: 2.375rem;
  line-height: 2.875rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 2.5rem;
}

/* h3 {
  font-size: 1.75rem;
  line-height: 2.25rem;
}

h4 {
  font-size: 1.3rem;
  line-height: 1.875rem;
} */

/** CTA **/

button.primary-button,
.button--primary,
a.primary-button,
.primary-button,
.vbo-view-form input[type="submit"],
.node-preview-backlink,
.webform-button--submit.button--primary.ui-button {
  display: inline-block;
  flex-direction: row;
  padding: 8px 30px;
  box-sizing: border-box;
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  text-decoration: none;
}

button.primary-button:hover,
.button--primary:hover,
a.primary-button:hover,
.primary-button:hover,
button.primary-button:focus,
.button--primary:focus,
a.primary-button:focus,
.primary-button:focus,
.vbo-view-form input[type="submit"]:hover,
.vbo-view-form input[type="submit"]:focus,
.node-preview-backlink:hover,
.node-preview-backlink:focus,
.webform-button--submit.ui-button.button--primary:hover,
.webform-button--submit.ui-button.button--primary:focus {
  color: var(--primary-color);
  background-color: #fff;
}

button.secondary-button,
a.secondary-button,
.secondary-button {
  display: inline-block;
  flex-direction: row;
  padding: 12px 20px;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #fff;
  background-color: var(--text-color);
  border-radius: 50px;
  font-weight: 700;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border: 1px solid var(--text-color);
  cursor: pointer;
  text-decoration: none;
}

button.secondary-button:hover,
a.secondary-button:hover,
.secondary-button:hover,
button.secondary-button:focus,
a.secondary-button:focus,
.secondary-button:focus {
  color: var(--text-color);
  background-color: #fff;
}
a:hover,
a:focus {
  color: var(--primary-color);
}

body:not(.page-front) main {
  min-height: calc(var(--doc-height, 100vw) - 120px);
}
/** Grid **/
.center,
#block-javali-theme-page-title h1 {
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

.yachay-edit-content {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  border: 1px solid #ffffff;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.yachay-edit-content::after {
  content: "\e805";
  font-family: "fontello";
  display: block;
  color: #ffffff;
}

.yachay-edit-content:hover {
  background-color: #ffffff;
}

.yachay-edit-content:hover::after {
  color: var(--primary-color);
}

#block-javali-theme-page-title {
  padding-bottom: 1.25rem;
  padding-top: 1rem;
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 1.5rem;
}

.loader-container {
  display: none;
}

.loader-container.active {
  display: grid;
  position: fixed;
  inset: 0;
  background-color: rgb(0 0 0 / 25%);
  align-content: center;
  justify-content: center;
  z-index: 100;
}

.loader-container.active .loader {
  width: 4rem;
  height: 4rem;
  border: 0.5rem solid #fff;
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  align-items: center;
  justify-content: center;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 75em) {
  .center,
  #block-javali-theme-page-title {
    width: 75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto;
    box-sizing: border-box;
  }

  #block-javali-theme-page-title {
    margin-bottom: 3rem;
  }

  #block-javali-theme-page-title h1 {
    padding-left: 0;
    padding-right: 0;
  }

  /** headings **/
  h1 {
    font-size: 3.75rem;
    line-height: 4.375rem;
  }

  h2 {
    font-size: 2.25rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }

  h4 {
    font-size: 1.3rem;
    line-height: 1.875rem;
  }

  button.primary-button,
  .button--primary,
  a.primary-button,
  .primary-button,
  .vbo-view-form input[type="submit"] {
    padding: 8px 30px;
  }

  button.secondary-button,
  a.secondary-button,
  .secondary-button {
    padding: 8px 30px;
  }
}
