/* latin-ext */
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: var(--bmweb-font-family);
  background-color: var(--opweb-background-color);
}

/* Header navigation START */
#nav-header {
  position: fixed;
  top: 0;
  height: 52px;
  font-size: 14px;
  background-color: var(--opweb-background-color);
  border-bottom: 1px solid var(--opweb-gray);
  z-index: 10;
}

#nav-menu {
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  margin: 0 auto;
  list-style-type: none;
}
#nav-menu.dropdown-menu-show {
  background-color: black;
  color: white;
}
#nav-menu.dropdown-menu-show + .tab-menu {
  display: none;
}
#nav-menu.dropdown-menu-show .logo {
  background-color: var(--opweb-background-color);
  color: black;
  /* border-right-color: black; */
}
#nav-menu.dropdown-menu-show .svg-planet path {
  fill: #d2cfcb;
}

.nav-menu-item {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  height: 100%;
  font-size: var(--opweb-small-font-size);
  /* border-right: 1px solid var(--opweb-gray); */
}
.nav-menu-item:nth-child(2) svg {
  margin-right: 10px;
}
.nav-menu-item:nth-child(2) .current-ask {
  margin-right: 20px;
}
.nav-menu-item a {
  display: flex;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.nav-menu-item .svg-planet {
  margin: 2px 0 0 3px;
}

.tab-menu {
  display: flex;
  padding: 0;
  margin: 0 auto;
  list-style-type: none;
  border-top: 1px solid var(--opweb-gray);
  border-bottom: 1px solid var(--opweb-gray);
  background-color: var(--opweb-background-color);
}
.tab-menu .nav-menu-item {
  padding: 14px 16px;
  height: auto;
  border-bottom: 3px solid transparent;
}
.tab-menu .nav-menu-item:first-child {
  padding-left: 46px;
}
.tab-menu .nav-menu-item:not(:first-child):hover,
.tab-menu .nav-menu-item.active {
  border-bottom: 3px solid #000;
}

@media only screen and (max-width: 600px) {
  #nav-menu {
    flex-flow: row wrap;
    width: 100%;
  }
  #nav-menu .logo {
    flex-grow: 1;
  }
  #nav-menu.dropdown-menu-show .logo {
    background-color: black;
    color: white;
  }
  #nav-menu.dropdown-menu-show .logo svg circle {
    fill: white
  }
  #nav-menu.dropdown-menu-show .logo svg path {
    fill: black
  }
  #nav-menu.dropdown-menu-show .nav-menu-item:nth-child(2) {
    background-color: black;
  }

  #nav-menu .nav-menu-item:nth-child(2) {
    background-color: var(--opweb-background-color);
    order: 2;
    flex-grow: 1;
    border-top: 1px solid var(--opweb-gray);
    border-right: none;
    border-bottom: 1px solid var(--opweb-gray);
  }
  #nav-menu .nav-menu-item:nth-child(2) > span:first-child {
    display: none;
  }

  #nav-menu .nav-menu-item:nth-child(3) {
    display: none;
  }
  #nav-menu .nav-menu-item:nth-child(6) {
    border-right: none;
  }

  .tab-menu {
    margin-top: 50px;
  }
  .tab-menu .nav-menu-item {
    border-right: none;
  }
  .tab-menu .nav-menu-item:nth-child(1) {
    display: none;
  }
}

header {
  margin: 52px 0 0 0;
  padding: 20px 0 35px 65px;
  width: 90%;
  text-align: left;
  /*
  border-right: 1px solid var(--opweb-gray);
  border-bottom: 1px solid var(--opweb-gray);
  */
}

#hamburger {
  position: relative;
  width: 20px;
  height: 100%;
  transform: rotate(0deg);
  cursor: pointer;
}
#hamburger span {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: black;
  transform: rotate(0deg);
  transition: all 0.25s ease-in-out;
}
#hamburger span:nth-child(1) {
  top: 21px;
  transform-origin: left center;
}
#hamburger span:nth-child(2) {
  top: 27px;
  transform-origin: left center;
}
#hamburger.dropdown-menu-show span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
  background-color: white;
}
#hamburger.dropdown-menu-show span:nth-child(2) {
  top: 32px;
  transform: rotate(-45deg);
  background-color: white;
}

/* Dropdown menu START */
#dropdown-menu {
  position: sticky;
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  top: 52px;
  margin-left: 62px;
  width: calc(100% - 62px);
  padding: 40px 17px 33px 17px;
  transform: translateY(calc(-200px - 62px));
  transition: transform 0.2s;
  background: black;
  color: white;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  z-index: 2;
}
#dropdown-menu.show {
  display: flex;
  transform: translateY(0);
}
#dropdown-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#dropdown-menu ul li:not(:last-child) {
  padding-bottom: 5px;
}
#dropdown-menu ul li a {
  color: white;
  text-decoration: none;
}
.dropdown-menu-right {
  text-align: right;
  font-size: var(--opweb-small-font-size);
  line-height: 24px;
}

@media only screen and (max-width: 600px) {
  #dropdown-menu {
    margin-left: 0;
    padding: 80px 17px 20px 17px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  #dropdown-menu .dropdown-menu-right {
    margin-top: 80px;
    text-align: left;
  }
}

/* Dropdown menu END */
/* Header navigation END */

/* Footer START */
footer {
  align-items: center;
  width: 100%;
  color: white;
  background-color: black;
  position: absolute;
}
#section-footer {
  display: flex;
  justify-content: space-between;

  padding: 75px 45px 85px 65px;
}
a.footer-link {
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  color: white;
}
.footer-link:last-child {
  margin-bottom: 0;
}
.footer-info-wrap {
  width: 100%;
}
.footer-info {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  padding: 0 25px 0 65px;
  font-size: 14px;
  font-weight: 600;
}
.footer-info span {
  margin-left: 15px;
  font-weight: 400;
}
.footer-info .phone {
  margin-right: 55px;
}
.footer-info .address {
  margin-right: 170px;
}

/*styling for #footer-section-company-info */
#footer-section-company-info p {
  font-size: 0.8em;
  line-height: 0.8;
  padding-left: 1em;
  padding-right: 1em;
}
/* Footer END */

h1 {
  width: 720px;
  font-size: 40px;
  font-weight: normal;
}

.dark-gray {
  color: var(--opweb-dark-gray);
}

.bold {
  font-weight: 600;
}

.light-bold {
  font-weight: 500;
}

.font-small {
  font-size: 14px;
}

.faq {
  font-size: 1.2rem;
  max-width: 80ch;
}

main {
  padding: 0px 45px 35px 65px;
  width: 100%;
}

/* News block START */
#section-news {
  padding: 45px 45px 35px 65px;
  width: 100%;
  /*
  border-left: 1px solid var(--opweb-gray);
  */
}

.news-item h3 {
  margin: 40px 0 8px 0;
  text-transform: uppercase;
  color: var(--opweb-dark-gray);
  font-size: 14px;
  font-weight: 600;
}

.news-item p {
  margin: 1em;
  font-size: 1em;
  font-weight: 500;
}
/* News block END */

a.button {
  display: inline-block;
  padding: 6px 16px;
  margin-top: 15px;
  font-size: 14px;
  line-height: 14px;
  border-radius: 100px;
  border: 1px solid black;
  color: white;
  background-color: black;
  font-family: var(--bmweb-font-family);
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}
a.button.button-inverse {
  color: black;
  background-color: white;
}

a.button:hover {
  color: white;
  color: black;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}
a.button.button-inverse:hover {
  color: white;
  background-color: black;
}

logo {
  padding: 10px;
}

rates {
  padding-left: 10px;
  justify-content: space-between;
}

aside {
  flex-direction: column;
}

news {
  justify-content: space-between;
}

.login-visible {
  display: none;
}

.login-visible.visible {
  display: block;
}

.login-hidden {
  display: none;
}

.login-hidden.visible {
  display: inline-flex;
}

a[href^="tel:"] {
  color: white;
}

a[href^="tel:"]:link {
  color: white;
}
a[href^="tel:"]:visited {
  color: white;
}
a[href^="tel:"]:hover {
  color: white;
}
a[href^="tel:"]:active {
  color: white;
}
