@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma-rtl.min.css";

* {
  box-sizing: border-box !important;
}

a {
  color: #3273dc;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.17rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.83rem;
}

h6 {
  font-size: 0.67rem;
}



body {
  font-family: Arial,Tahoma,Verdana,sans-serif;
  background-color: #efefef;
}

.under-the-body-wrapper {
  max-width: 1395px;
  background-color: white;
  padding: 1em;
  margin: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

article {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  padding: 15px;
}

img {
  max-height: 70px;
}

header {
  font-family: Arial,Tahoma,Verdana,sans-serif;
  height: 100px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #28518c;
}

div.logos {
  display: flex;
  justify-content: space-between;
}

main {
  display: flex;
}

.nav-search {
  align-self: flex-end;
}

.nav-search .search-elements {
  display: flex;
}

button {
  margin: 0 0 0 0;
}

input {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.filters {
  display: flex;
  
}

.filters label {
  display: none;
}

.filters-form-wrapper {
  width: 100%;
  padding-bottom: 1em;
}

/* header */

.search-and-login {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login {
  display: flex;
  gap: 0.5em;
  align-self: flex-end;
}

/* real footer */

footer.footer {
  text-align: center;
}

/* general classes */

.bold {
  font-weight: bold;
}

.text-success {
  color: #23d160;
  font-weight: bold;
}

.text-danger {
  color: red;
  font-weight: bold;
}

ul.pagination {
  display: flex;
  justify-content: center;
  gap: 1em;
}

h1.page-title {
  font-size: 1.5em;
  font-weight: bold;
  padding: 0.5em;
  margin-bottom: 0.8em;
  margin-top: 0.5em;
  border-left: #11863a solid 2px;
}

.border {
  border: 2px solid;
}

.border-bottom {
  border-bottom: 2px solid;
}

.border-success {
  border-color: #23d160;
}

.border-danger {
  border-color: red;
}

.border-warning {
  border-color: goldenrod;
}

/* navigation */

.main-nav {
  position: relative;
  width: 25%;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding-left: 0em;
}

.main-nav li a {
  padding: 0.5em 0em 0.5em 0em;
  font-size: 1em;
  color: #4a4a4a;
  display: block;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 21px;
}

.main-nav li a.is-active {
  background-color: #3273dc;
}

/* articles */

.annoucement {
  display: flex;
  flex-direction: column;
}

.annoucement .content {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid hsla(0,0%,50.2%,.25);
}

.annouce-title {
  min-height: 2em;
  font-weight: bold;
  margin-left: 1em;
}

.border-right {
  border-right: 1px solid hsla(0,0%,50.2%,.25);
}

.column {
  padding-left: 1em;
}

.columns {
  padding-bottom: 1em;
  border-left: #11863a solid 10px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1em 0 1em 0;
}

.content-element {
  text-align: left;
}

.navbar {
  width: 100%;
}

.nav-header {
  padding: 0.5em 0em 0.5em 0em;
  font-size: 1em;
  color: #4a4a4a;
  display: block;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 21px;
  cursor: default;
}

.nav-in-nav {
  border-left: 3px grey solid;
  background-color: #fdfdfd;
  width: 100%;
}


.nav-in-nav .child-item {
  font-size: .8rem;
  padding-left: 1em;
  position: relative;
}


/* article */

.article-wrapper {
  margin-top: 1em;
}

.article-box-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 1em;
}

.status-button-wrapper {
  position: absolute;
  width: 250px;
  text-align: center;
  right: -60px;
  top: 50px;
  transform: rotate(45deg);
  cursor: default;
}

.status-is-success {
  background-color: #23d160;
  color: white;
  padding: 10px;
}

.status-is-danger {
  background-color: red;
  color: white;
  padding: 10px;
}

.status-is-warning {
  background-color: goldenrod;
  color: white;
  padding: 10px;
}

/* docs and habs */

.dh-icon i {
  font-size: 2em;
  padding: 0.5em;
  color: #5677fc;
} 

/* units */
.units-wrapper {
  margin-top: 1em;
}

ul.units-ul {
  font-size: 1.2rem;
  padding-left: 0.5em;
  border-left: 3px #a7a7a7 solid;
}

.units-wrapper .unit {
  display: flex;
  padding: 0.2rem;
}

.subunits {
  background-color: #e0e0e0;
}

ul.units-ul .icon {
  display: none;
}

/* unit */

.unit-section-title h2 {
  font-size: 1.2em;
  font-weight: bold;
}

/* metric-footer */

.metric {
  padding: 1em;
}

.metric table {
  width: 100%;
}

.metric td {
  border: solid #eaeaea 1px;
  padding: 0.2em;
}

/* history */

.history-wrapper {
  background-color: white;
  max-width: 50%;
  margin: auto;
  max-height: 100vh;
  overflow-y: auto !important;
}

.history-header {
  display: flex;
  justify-content: space-between;
  border-bottom: #d4d4d4;
  height: fit-content;
}

.history-header h1 {
  padding: 0.5em;
}

#history-close {
  position: relative;
  left: 0px;
  top: 0px;
  background-color: #c04b4b;
}

#burger {
  z-index: 40;
}

.menu-mask {
  display: none;
  position: fixed;
  background-color: #4a4a4a31;
  height: 100vh;
  width: 100vw;
  backdrop-filter: blur(10px);
  z-index: 39;
}

@media (max-width: 1024px) {
  .mobile-smaller {
    width: fit-content;
  }

  .mobile-hidden {
    width: 400px;
    position: absolute;
    display: none;
    z-index: 40;
  }
}

p.margin {
  margin-left: 2em;
}

.dial-cookie {
  position: fixed;
  width: 100%;
  background-color: #3273dc;
  color: white;
  padding: 1em;
  text-align: center;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.dial-cookie a {
  color: white;
  text-decoration: underline;
}

.dial-cookie button {
  background-color: white;
  color: #3273dc;
  border: none;
  padding: 0.5em;
  margin: 0.5em;
  cursor: pointer;
  font-size: .8em;
}

.dial-cookie button:hover {
  background-color: #f4f4f4;
}

footer a {
  text-decoration: underline;
  color: #0844a5;
}