/*!
Theme Name: INF
Author: Inf
Description: The wordpress theme for displaing listings.
Version: 1.0.0
Text Domain: inf
*/

/* Reset Styles from Tailwind framework */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}

html,
:host {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
    --main-color: #0072bc; /*#ee434e #00a651;*/
    --text-color-one: #2a2a2a;
    --text-color-two: #9fa4a4;
    --text-color-error: #ed1c24;
    --background-color-white: #fff;
    --background-color: #efefef;
    --border-color: #f5f5f5;
}

body {
  color: var(--text-color-one);
  background-color: var(--background-color);
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0;
  text-decoration: none;
  line-height: inherit;
}
a,
a:link,
a:hover,
a:active,
a:visited {
    /*text-decoration: none;*/
    outline: none;
    cursor: pointer;
}
a:hover {
    text-decoration: underline;
    /*opacity: 0.5;*/
    transition: all 0.3s;
}

.button {
    display: inline;
    padding: 6px 24px;
    color: #fff;
    background-color: var(--main-color);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid var(--main-color);
    border-radius: 4px;
}
.button:hover {
    text-decoration: none;
    color: var(--main-color);
    background-color: transparent;
    opacity: 1;
}
/* Container */
.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Header */
.site-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /*align-items: center;*/
}
.site-header__left,
.site-header__right {
    flex: 1 0 50%;
}
.site-header__left {
    overflow: hidden;
}
.site-header__right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    line-height: 45px;
}
.site-header__right-user {
    flex: 1 0 auto;
}
.site-header__right-button {
    flex: 0 0 auto;
}
@media (max-width: 992px) {
    .site-header__right {
	flex-direction: column;
	flex-wrap: wrap;
    }
    .site-header__right-user,
    .site-header__right-button {
	/*flex: 1 0 100%;*/
    }
    .site-header__right-button {
	text-align: right;
    }
}
.site-header__left-logo {
    color: #000000;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-header__right-user {
    text-align: right;
}
.site-header__right-user__icon {
    display: inline-block;
    position: relative;
}
.site-header__right-user__icon > img {
    display: inline-block;
    width: 30px;
    height: 30px;
}
.site-header__right-user__icon-link:hover {
    text-decoration: underline;
    cursor: pointer;
}
.site-header__right-user__icon-link > svg {
    transition: transform 0.3s;
}
.site-header__right-user__login {
    display: inline-block;
    font-size: 14px;
}
.site-header__right svg {
    display: inline-block;
    width: 10px;
    height: 14px;
    fill: var(--text-color-one);
}
.site-header__right svg.userIcon {
    padding-top: 2px;
    vertical-align: baseline;
}
.site-header__right-user__menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.3s;
}
.site-header__right-user__menu {
    width: 100%;
    position: absolute;
    z-index: 99;
    right: 0px;
    top: 100%;
    display: none;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background-color: var(--background-color);
    border: 1px solid var(--text-color-two);
    text-align: left;
    transition: opacity 0.5s, visibility 0.3s;
}

.site-header__right-user__menu > a {
    padding: 3px 20px;
    display: block;
    line-height: 2;
    white-space: nowrap;
}
.site-header__right-user__menu > a > svg {
    margin-right: 5px;
}
.site-header__right-button .button {
    margin-left: 20px;
}

/* Menu */
.site-menu {
    background-color: #fff;
    line-height: 54px;
}
.site-menu__ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}
.site-menu__ul li a {
    padding: 18px 20px;
    color: var(--text-color-one);
    border-right: 1px solid #ededed;
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
}
.site-menu__ul li:last-child a {
    border-right: 0;
}

.site-menu__ul li.current_page_item a {
    text-decoration: underline;
    opacity: 0.5;
    cursor: default;
}
.site-menu__ul-mobile {
    display: none;
    text-align: right;
}
@media (max-width: 992px) {
    .site-menu__ul {
	display: none;
    }
    .site-menu__ul-mobile {
	display: block;
    }
}

/* Mobile menu */
.btn-burger {
  cursor: pointer;
  width: 25px;
  height: 16px;
  display: inline-block;
}

.burger-line {
  display: block;
  height: 3px;
  width: 25px;
  /*border-radius: 0.83px;*/
  background: #000000;
}

.btn-burger .burger-line:nth-child(2) {
  margin: 5px 0 0;
}

.btn-burger .burger-line:nth-child(3) {
  height: 3px;
  left: 6px;
  margin: 5px 0 0;
  position: relative;
  width: 19px;
}

.btn-burger:hover {
    opacity: 0.5;
    transition: all 0.3s;
}
.btn-burger:hover .burger-line:nth-child(1) {
  right: 6px;
  width: 19px;
  transition: all 0.3s;
}
.btn-burger:hover .burger-line:nth-child(3) {
  left: 0px;
  width: 25px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
}

@media (max-width: 992px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0px 60px 0px 60px;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  }

  .mobile-menu.active {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  }

  .mobile-menu_close {
    position: relative;
    height: 10vh;
  }

  .mobile-menu_close-btn {
    position: absolute;
    top: 25px;
    right: 0px;
    font-size: 40px;
    transform: rotate(45deg);
    cursor: pointer;
  }

  .mobile-menu li > a {
    display: block;
    color: #000000;
    font-size: 31px;
    line-height: 48px;
    text-align: center;
  }

  .mobile-menu li.current_page_item a {
    text-decoration: underline;
    opacity: 0.5;
    cursor: default;
  }
}

/* Mobile menu End */

/* Footer */
.site-footer {
    border: 1px solid #ededed;
    background-color: #fff;
}
.site-footer__info {
    padding: 10px 0;
    text-align: center;
}
