@use "sass:math";
@use "../../common/color.module.scss";
@use "../../common/font.module.scss";

$headercolor: color.$color-red;
$basecolor: #a71814;
$bordercolor: #e5e5e5;
$defaultcolor: #3e4049;
$grey: color.$colorDefaultText;
$green: #54c542;
$menucolor: #545559;
$inputcolor: #ced4da;

.list-group-item.disabled,
.list-group-item:disabled {
  color: #ccc;
}

.smalllabel {
  margin-bottom: 1px;
  font-size: 12px;

  &::first-letter {
    text-transform: uppercase;
  }

  &.is-valid {
    color: $green;
  }

  &.is-invalid {
    color: color.$color-red;
  }

  &.message {
    text-transform: none;
  }
}

.infobutton {
  color: color.$color-red;
  font-size: 14px;
  cursor: pointer;
}

.bootstrap-switch.bootstrap-switch-focused {
  border-color: #ccc !important;
}

.fa-files-o {
  cursor: pointer;
}

.notifyjs-bootstrap-tooltip {
  padding: 5px 15px 5px 25px !important;
  text-align: start !important;
  color: #545559 !important;
  background-color: white !important;
  border-color: #e5e5e5 !important;
  background-image: unset !important;
}

a.disabled {
  pointer-events: none;
  cursor: default;
}

h2,
.h2 {
  font-size: 23px;
}

select.has-icon {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: font.$font-weight-black;
  font-size: 0.8rem;
}

.blinkingtext {
  margin-left: 3px;
  padding-left: 3px;
  animation: blinkingText 1.2s infinite;
}

@keyframes blinkingText {
  0% {
    color: $headercolor;
  }

  49% {
    color: $headercolor;
  }

  60% {
    color: transparent;
  }

  99% {
    color: transparent;
  }

  100% {
    color: $headercolor;
  }
}

.blinking {
  animation: blinkingBackground 1.2s infinite;
}

@keyframes blinkingBackground {
  0% {
    background-color: $headercolor;
  }

  49% {
    background-color: $headercolor;
  }

  60% {
    background-color: transparent;
  }

  99% {
    background-color: transparent;
  }

  100% {
    background-color: $headercolor;
  }
}

.redstar {
  margin-left: 2px;
  color: color.$color-red;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: color.$color-red;
  border-radius: 50%;
  display: inline-block;
}

.loaderbtn {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  margin-top: 5px;
  margin-left: 13px;
}

.link {
  text-decoration: underline;
  color: #1a0dab;
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.grey,
.text {
  color: $grey;
}

.greenbg {
  background-color: $green !important;
}

.greenbg span {
  color: white !important;
}

.modal-body {
  padding: 50px;
}

.flex {
  display: flex;
}

.center {
  text-align: center;
}

.centerflex {
  align-items: center;
  display: flex;
}

.fullwidth {
  width: 100%;
}

.maxmodalwidth {
  max-width: 1366px;
}

.form-control {
  border-radius: 0.45rem;
}

section {
  padding-top: 100px - 52px;
}

nav .login-wrapper {
  padding: 35px - 8px;
}

nav .login-wrapper .btn-secondary {
  margin-top: 24px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: $defaultcolor;
}

.blog .title {
  color: $defaultcolor;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: font.$font-weight-semi-bold !important;
}

input::-webkit-input-placeholder {
  opacity: 0.5;
}

///NAV

nav .navigation-top .open-login {
  position: relative;
}

nav .open-cart span,
nav .open-login span {
  background-color: $headercolor;
  color: white;
  position: absolute;
  width: 15px;
  height: 15px;
  line-height: 15px;
  right: 4px;
  top: 5%;
  text-align: center;
  font-size: 10px;
  border-radius: 5px;
}

nav .navigation-main .navbar-dropdown .navbar-box ul > li > a {
  border-bottom: 0;
}

nav .navigation-main .navbar-dropdown .navbar-box ul > li:hover > a {
  border-bottom: 0;
  transform: none;
}

nav .navigation-main .floating-menu > ul {
  margin-bottom: 15px;
}

nav .navigation-main .floating-menu > ul > li .navbar-box {
  background: white;
}

nav .navigation-main .floating-menu > ul > li .navbar-box .box {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

nav .navigation-main .floating-menu > ul > li .navbar-box .box a {
  padding-left: 20px;
  padding-right: 20px;
}

nav .navigation-main .floating-menu > ul li a {
  border-bottom: 2px solid white;
  padding-bottom: 2px;
  background-color: white;
  color: $menucolor !important;
}

nav .navigation-main .floating-menu > ul li:hover > a {
  color: $headercolor !important;
  border-bottom-color: $headercolor;
}

nav .navigation-main .floating-menu > ul li {
  font-weight: font.$font-weight-semi-bold !important;
}

.menubutton {
  color: $menucolor;
  font-size: 14px;
  cursor: pointer;
  font-weight: font.$font-weight-semi-bold !important;
  margin-top: 10px;
}

.nav .navigation-main .floating-menu > ul li a .actmenu {
  color: #cf1c18 !important;
  border-bottom-color: #cf1c18 !important;
}

nav .navigation-main .floating-menu > ul > li .navbar-dropdown .navbar-box .box-sm,
nav .navigation-main .floating-menu > ul > li .navbar-dropdown .navbar-box .box-lg,
nav .navigation-main .floating-menu > ul > li .navbar-dropdown .navbar-box .box-full {
  background-color: white;
  width: auto;
}

nav .navigation-top > ul .left-side > a {
  border-right: 0;
}

nav .navigation-main .floating-menu > ul > li > a {
  font-family: 'Open Sans', sans-serif;
  font-weight: font.$font-weight-normal !important;
}

@include media-breakpoint-down(sm) {
  nav .navigation-main .floating-menu > ul > li > a {
    padding: 5px;
  }
}

nav .navigation-main {
  .floating-menu > ul > li {
    padding-top: 2px;

    a {
      div {
        display: flex;
        justify-content: center;
        // margin-top: -15px;
        span {
          top: 5px;
          right: -3px;
        }
      }
    }

    &.spacer {
      flex: 1;
      cursor: default;
    }
  }

  .floating-menu {
    &.centered > ul {
      justify-content: center;
    }
  }
}

.nav-settings-list {
  flex-direction: column;
}

//// NAV END

.mainbutton {
  text-align: center;
  border-left: 1px solid $bordercolor;
  border-right: 1px solid $bordercolor;
}

.mainactive {
  background-color: $headercolor;
}

.mainactive a {
  color: white !important;
}

.banner1 {
  width: 654px;
  margin: 0;
  background-color: $basecolor;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 30px 86px;
}

.banner1 .h2 {
  font-size: 43px;
  font-family: 'Open Sans', sans-serif;
  font-weight: font.$font-weight-semi-bold !important;
}

.btn-banner {
  color: #fff;
  background-color: unset;
  border-color: white;
  border-radius: 40px;
  margin-bottom: 27px;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: font.$font-weight-bold !important;
  font-size: 12px;
  height: 40px;
  line-height: 2.2;
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.btn-banner:hover {
  color: #fff;
}

.categories {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.blog-block article .image::before {
  background: unset;
}

figcaption {
  cursor: pointer;
}

figcaption + button.delete {
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  border-bottom-left-radius: 100%;
  padding-left: 20px;
  padding-bottom: 10px;
  cursor: pointer;
  background: #cf1c18;
  color: white;
  opacity: 0.8;
  display: none;
}

figcaption + button.delete:focus {
  outline: none;
}

figcaption:hover + button.delete {
  display: block;
}

figcaption + button.delete:hover {
  opacity: 1;
  display: block;
}

.cardimageinfo {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.speciali {
  font-size: 16px;
  padding-right: 6px;
}

.cardimageinfo span {
  color: white;
}

.cardimageinfo div:nth-child(1) span {
  padding-left: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
  display: block;
  overflow: hidden;
  height: 40px;
  line-height: 40px;
}

.cardimageinfo div:nth-child(2) span {
  padding-right: 24px;
}

.cards figure:hover .cardimageinfo {
  opacity: 1;
}

.cards figure figcaption {
  min-height: 200px;
  background-color: #ccc;
}

.cards figure figcaption::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: unset;
  filter: unset;
  opacity: 0;
  transition: all 0.3s;
}

.categories .label {
  font-size: 21px !important;
  text-transform: capitalize !important;
}

.famousitem {
  text-align: center;
  padding-bottom: 40px;
}

.famousitem div {
  line-height: 1.2;
}

.famousitem div:nth-of-type(1) {
  padding-top: 3px;
  padding-bottom: 10px;
}

.famousitem a {
  height: 90px;
  display: inline-block;
  background: #ccc;
  border-radius: 50%;
}

.famousitem img {
  margin-bottom: 4px;
  width: 90px;
}

.popularphotosbyuseritem img {
  margin-bottom: 4px;
  width: 100%;
  border-radius: 10px;
}

.navigation-top > ul .left-side > a {
  font-size: 14px !important;
}

.logo-icon img {
  width: 140px;
}
////FOOTER

footer .footer-wrap {
  background-color: #2d2d2d;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .h1,
footer .h2,
footer .h3,
footer .h4,
footer .h5,
footer .h6,
footer i,
footer a,
footer .form-control,
footer div {
  color: white;
}

footer {
  input::placeholder {
    // Chrome, Firefox, Opera, Safari 10.1+
    color: white !important;
    opacity: 1;

    // Firefox
  }

  input::-ms-input-placeholder {
    // Internet Explorer 10-11 and Edge
    color: white !important;
  }

  $spaceBetweenIcons: 5px;

  .footer-social,
  .footer-mobile-apps {
    text-align: center;

    a,
    span {
      display: inline-block;
      vertical-align: top;
      line-height: 32px;
      height: 32px;
    }

    a {
      margin: 0 $spaceBetweenIcons;
      font-size: 30px;
    }
  }

  .link-with-qrcode {
    $size: 200px;
    $background: #fff;

    position: relative;

    .qrcode {
      display: none;
      position: absolute;
      width: $size;
      height: $size;
      padding: 10px;
      background: $background;
      top: -$size - 5px;
      left: calc(50% - #{math.div($size, 2)});
      border-radius: 5px;
      box-sizing: border-box;
    }

    a {
      transition: none;
      display: block;
      padding: 5px 10px;
      box-sizing: content-box;
      margin-top: -5px;
      border-radius: 0 0 5px 5px;

      .normal {
        display: block;
      }

      .hover {
        display: none;
      }

      img {
        padding-top: 4px;
      }
    }

    &:hover {
      .qrcode {
        display: block;
      }

      a {
        .normal {
          display: none;
        }

        .hover {
          display: block;
        }

        background: $background;

        i {
          color: #3e4049;
        }
      }
    }
  }
}

.banner1 a:hover,
.banner1 a:focus,
.banner1 a:active {
  color: white;
}

footer a:hover,
footer a:focus,
footer a:active {
  color: white;
}

.btn-secondary:hover {
  color: #fff;
  background-color: $headercolor;
  border-color: $headercolor;
}

.btn-secondary {
  color: #fff;
  background-color: $headercolor;
  border-color: $headercolor;
  border-radius: 36px;
}

.blog article .label {
  text-shadow: 2px 2px #000;
  font-weight: font.$font-weight-bold !important;
}

.login-wrapper {
  background: none;
}

// Default mode
.login-wrapper > .nav-tabs {
  border: none;
  margin: 0 26px;
  padding: 9px 0;
}

.login-wrapper > .nav-tabs > li {
  margin-right: 2px;
}

.login-wrapper > .nav-tabs > li > a {
  border: 0;
  font-weight: font.$font-weight-semi-bold !important;
  margin-right: 0;
  color: #737373;
  padding: 2px 15px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: $headercolor;
  background-color: #fff;
  border-bottom: solid $headercolor;
}

.login-wrapper > .nav-tabs > li > a.active {
  border-bottom: 2px solid $headercolor;
  color: $headercolor;
}

.login-wrapper > .nav-tabs > li > a.show {
  border-bottom: 2px solid $headercolor;
  color: $headercolor;
}

.login-wrapper > .tab-content {
  padding-bottom: 0;
}

.login-wrapper ul {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.login-wrapper .card-title {
  text-align: center;
  color: black;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: white;
}

.nav-tabs > li > a {
  background: white;
}

.nav-tabs > li > a:focus {
  color: $headercolor;
}

.forgotpassword {
  text-align: end;
  padding-top: 4px;
}

.forgotpassword a {
  color: $headercolor;
  font-size: 12px;
}

///MODAL

.modal-header .close {
  position: absolute;
  padding: 0;
  margin: 0;
  right: 4px;
  top: 0;
  opacity: 0.7;
  font-size: 17px;
}

.modal-header {
  padding: 0;
}

.maxwidth {
  max-width: 1400px;
}

.btn-transparent,
.btn-transparent:hover {
  color: $grey;
  background-color: unset;
  border-color: $grey;
}

.btn-green,
.btn-green:hover {
  color: white;
  background-color: $green;
  border-color: transparent;
}

.btn-red,
.btn-red:hover {
  color: white;
  background-color: color.$color-red;
  border-color: transparent;
  min-height: 33px;
}

.modalinfo1 span,
.modalinfo2 span,
.modalinfo3 span,
.modalinfo4 span {
  color: $grey;
}

.modalinfo1 .btn,
.modalinfo3 .btn,
.modalinfo4 .btn {
  min-width: 140px;
}

.modalinfo2 .btn {
  min-width: 90px;
}

.tag {
  display: inline-block;
  cursor: pointer;
  color: $grey;
  background-color: unset;
  height: 33px;
  border-radius: 33px;
  border: solid;
  border-width: 2px;
  border-color: #eaeaea;
  min-width: 82px;
  line-height: 2;
  text-align: center;
  margin: 4px 0;
  margin-right: 6px;

  & > span {
    margin: 0 10px;
  }

  &[data-role='tag'] {
    cursor: pointer;
  }
}

.container-fluid {
  padding: 0;
}

.userdetailspace {
  margin: 10px;
}

.profile-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 20px;
}

.profile-header-bottom {
  padding: 20px 10px 0 10px;
}

@include media-breakpoint-up(sm) {
  .profile-header-bottom {
    border-left: 2px solid #e2e2e2;
    padding-left: 30px;
    align-self: center;
  }
}

@include media-breakpoint-down(sm) {
  .profile-header {
    flex-direction: column;
  }
}

header .textconatiner {
  margin-left: 0;
  margin-right: 20px;
}

////////////////// BLOG

.bloginfo {
  align-self: center;
}

.bloginfo span {
  font-size: 13px;
  color: $grey;
  padding-right: 15px;
}

.bloginfo i {
  font-size: 16px;
}

.imagelist {
  padding: 0 20px;
  padding-bottom: 20px;
  min-width: 20%;
  text-align: center;
}

.imagelist img {
  width: 120px;
}

.imagelist div:nth-child(2) {
  padding-top: 5px;
}

.blogitem {
  margin-bottom: 40px;
}

.profsection {
  margin-bottom: 40px;
  margin-top: 20px;
}

.profsection .form-row {
  margin-bottom: 15px;
}

.switch input:checked + label::before {
  border-color: #75d535;
  background-color: #75d535;
}

.uploadbutton {
  cursor: pointer;
  border: 1px solid $inputcolor;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80px;
  width: 245px;
  justify-content: center;
}

.uploadbutton i {
  font-size: 20px;
  color: #6c757d;
}

.uploadbutton span {
  font-size: 15px;
  color: #6c757d;
}

.floating-menu li {
  cursor: pointer;
}

.divborder {
  border: 1px solid $grey;
}

.chatalignright {
  display: flex;
  justify-content: flex-end;
}

.chatalignright img {
  margin-left: 10px;
  height: 60px;
}

.chatdate {
  font-size: 11px;
  color: $grey;
  padding: 3px 10px;
}

.chatalignleft {
  display: flex;
  justify-content: flex-start;
}

.chatalignleft img {
  margin-right: 10px;
  height: 60px;
}
$boxcolor: #3c89db;

.box3 {
  align-self: baseline;
  max-width: 80%;
  border-radius: 10px;
  background: $boxcolor;
  color: #fff;
  padding: 14px;
  text-align: center;
  font-weight: font.$font-weight-normal !important;
  font-size: 13px;
  position: relative;
  //margin: 10px;
}

/* speech bubble 13 */

.sb13::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border-left: 15px solid $boxcolor;
  border-right: 15px solid transparent;
  border-top: 15px solid $boxcolor;
  border-bottom: 15px solid transparent;
  right: -16px;
  top: 0;
}

/* speech bubble 14 */

.sb14::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border-left: 15px solid transparent;
  border-right: 15px solid $boxcolor;
  border-top: 15px solid $boxcolor;
  border-bottom: 15px solid transparent;
  left: -16px;
  top: 0;
}

.loader {
  border: 10px solid #f3f3f3;
  border-top: 10px solid $basecolor;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

.avatarimage {
  border-radius: 50%;
  background: #e0e0e0;
}

.pagination-wrapper .pagination .page-item .page-link {
  padding: 0;
}

[data-toggle='collapse'] i::before {
  content: '\f139';
}

[data-toggle='collapse'].collapsed i::before {
  content: '\f13a';
}

a {
  color: #3a3d45;
}

a:focus,
a:active,
a:hover {
  color: #3a3d45;
}

.collapsediv {
  margin-bottom: 30px;
}

//WEBOFFICE

.list-group {
  padding: 0 10px;
  padding-bottom: 30px;
}

.weboffice-left-menu .list-group {
  padding-bottom: 10px;
}

.list-head {
  font-size: 19px;
  font-weight: font.$font-weight-bold !important;
  margin: 10px 0;
  margin-left: 23px;
}

.list-group-item {
  padding: 7px 20px;
  font-size: 15px;
  // font-weight: font.$font-weight-semi-bold;
  // text-transform: uppercase;
  border: unset;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.listcategories .list-group-item {
  font-weight: font.$font-weight-semi-bold !important;
}

.list-group-item.active {
  z-index: 2;
  padding-left: 27px;
  color: $headercolor;
  background-color: unset;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.sectors .sector:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.sectortable td div:first-child {
  display: flex;
  color: black;
  font-weight: bold;
}

.sectortable td div div:nth-child(1) {
  border-right: 1px solid #dee2e6;
  margin-right: 10px;
  width: 45%;
}

.sectortable tr:nth-child(n + 9) {
  opacity: 0.5;
}

.sectortable td {
  padding: 0.35rem;
  border-bottom: 1px solid #dee2e6;
  border-top: unset;
}

.webofficesectionpadding {
  padding-top: 40px;
}

#tooltip {
  background-color: white;
  color: white;
  transform: translate(676px, 37px) !important;
  position: relative;
  display: none;
}

#tooltip[data-show] {
  display: block;
}

.topottomboreder {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.statistichead {
  padding: 10px 0;
  margin: 10px 0;
}

.statistichead h5 {
  margin-bottom: 0;
}

.statistichead .sector {
  padding: 2px 0;
  text-align: center;
}

.sectormargin {
  margin: 25px 0;
}

.sectorfilter input {
  border-color: black;
  width: 80px;
}

.activationstatistic {
  padding: 10px 0;

  h2 {
    line-height: 38px;
  }

  input {
    width: 120px;
    text-align: center;
  }

  label {
    margin: 0;
  }
}

.hnomargin h5,
.hnomargin h2 {
  margin-bottom: 0 !important;
}

.photosdivstyle {
  border-right: 2px solid #e2e2e2;
}

.cartitem {
  display: flex;
  justify-content: space-between;
  margin: 0 5px;
  color: black;
  border: 1px solid #dfdfdf;
  padding: 3px 5px;
  margin-bottom: 5px;
}

.cartelements {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cartelements div {
  margin-right: 30px;
}

.marketingline {
  width: 100px;
  align-self: center;
  border-top: 3px solid $bordercolor;
  padding-bottom: 30px;
}

.marketingstatus {
  display: grid;
  grid-template-rows: 4fr 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  padding: 0 10px;
  width: 30%;

  .footer {
    display: inline-grid;
    align-content: center;
    border-top: 1px solid $bordercolor;
    padding: 10px 0;
  }

  .btn {
    white-space: normal;
  }

  img {
    width: 65px;
  }

  .megmaradt-kepek {
    padding-top: 1em;
    padding-bottom: 1em;
  }
}

.modal-button {
  padding: 0 10px;
}

// a pagination első és utolsó eleme (egyesével lapozók) nincsenek használva nálunk
// mi azokba töltjük az első és utolsó oldalakat
// a megkülönböztető dizájnt így ki kell kapcsolni
.cards .pagination .page-item:first-child,
.cards .pagination .page-item:last-child {
  transform: none !important;
  transition: none !important;
}

.navigation-main .mainli {
  background: none !important;
}

.navigation-main .mainli button {
  margin-top: 8px;
  transition: none !important;
}

.navigation-main .mainli button:hover {
  background: color.$colorRedAltBackground !important;
}

footer .footer-links a:hover {
  -webkit-transform: none !important;
  transform: none !important;
}

footer .footer-links a.disabled {
  opacity: 0.5;
}

.top-bottom-border {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.hidden {
  display: none !important;
}

.flex-row {
  display: inline-flex;
}

.city-autocomplete-placeholder {
  position: absolute;
  width: calc(100% - 10px);
  z-index: 1000;
  border-left: 1px solid #80bdff;
  border-right: 1px solid #80bdff;
  border-bottom: 1px solid #80bdff;
  margin-top: -6px;
  padding-top: 5px;
  border-radius: 0 0 0.45rem 0.45rem;
  background: white;
  max-height: 400px;
  overflow-y: scroll;

  span {
    display: block;
    line-height: 2.6em;
    height: 2.6em;
    padding: 0 12px;
    cursor: pointer;

    &:hover {
      background: #dbecff;
    }

    &:first-child {
      margin-top: 10px;
    }

    &:last-child {
      margin-bottom: 10px;
    }
  }
}

@-webkit-keyframes rotating-clockwise {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotating-clockwise {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.infinite-rotate-clockwise {
  -webkit-animation: rotating-clockwise 1s linear infinite;
  animation: rotating-clockwise 1s linear infinite;
  display: inline-block;
}

#cart-header .active {
  color: #cf1c18 !important;
  border-bottom-color: #cf1c18 !important;
  text-transform: uppercase;
}

html,
body {
  height: 100%;
}

body > .wrapper {
  min-height: calc(100% - 16px);
}

body > .wrapper > footer {
  padding: 30px 0 10px 0;
}

.unselectable {
  user-select: none;
}

.clickable {
  cursor: pointer;
}

.copy-to-clipboard-btn {
  font-size: 15px;
  display: inline-block;
  border: 0;
  background: none;
  margin: 0;
  padding: 0;
  color: #e50102;
  border-radius: 3px;
  cursor: pointer;
}

.copy-to-clipboard-btn:focus {
  outline: none;
}

.copy-to-clipboard-btn:hover {
  background: #e2e2e2;
}

.copy-to-clipboard-btn:active {
  background: #b3b3b3;
}

.copy-to-clipboard-btn i {
  font-size: 30px;
  margin: 0 10px;
}

#adminbar {
  background: #f5eddc;
  height: 40px;
  padding: 0 15px;
  vertical-align: top;
  color: #443b2d;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.7rem;
  display: flex;
  justify-content: space-between;
}

#adminbar a {
  height: 40px;
  line-height: 40px;
  text-decoration: underline;
  color: inherit;
}

#adminbar span {
  height: 40px;
  line-height: 40px;
  display: inline-block;
}

#adminbar p {
  height: 40px;
  line-height: 40px;
  color: inherit;
  display: inline-block;
  margin: 0;
}

:root {
  --notification-size: 1.5;
}

.notification {
  position: fixed;
  top: calc(20px * var(--notification-size));
  right: calc(30px * var(--notification-size));
  min-width: calc(300px * var(--notification-size));
  box-shadow: 0 0 calc(2px * var(--notification-size)) 0 rgba(0, 0, 0, 0.1);
  border-radius: calc(3px * var(--notification-size));
  z-index: 10000;
  overflow: hidden;
}

.notification .progress-bar {
  display: block;
  width: 0%;
  height: calc(5px * var(--notification-size));
  background: black;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0;
}

.notification.severity--info {
  background-color: #cfd9ec;
}

.notification.severity--warning {
  background-color: darkorange;
  color: white;
}

.notification.severity--success {
  background-color: green;
  color: white;
}

.notification.severity--error {
  background-color: color.$color-red;
  color: white;
}

.notification .header {
  padding: calc(5px * var(--notification-size)) calc(10px * var(--notification-size));
}

.notification .header h2 {
  margin: 0 calc(20px * var(--notification-size)) 0 0;
  font-size: calc(0.9rem * var(--notification-size));
}

.notification .header .close {
  font-size: calc(1rem * var(--notification-size));
  color: inherit;
  opacity: 1;
  font-weight: normal;
  text-shadow: none;
  width: calc(16px * var(--notification-size));
  border-radius: 50%;
}

.notification .header .close:hover {
  background: rgba(#fff, 0.5);
}

.notification .header .close:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.notification .body {
  font-size: calc(0.8rem * var(--notification-size));
  padding: calc(10px * var(--notification-size));
  background: rgba(#fff, 0.2);
  white-space: pre-line;
}

.btn-secondary:disabled:hover {
  color: #fff !important;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.btn-outlined {
  background: white;
  color: #818181;
  border: 2px solid #eaeaea;
  margin: 10px 0;
}

.loading-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 100000;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7vh;
  background: rgba(#fff, 0.75);
  backdrop-filter: blur(4px);
}

.loading-wrapper label {
  font-size: 20px;
}

nav {
  position: static;
}

nav .navigation-main .floating-menu > ul {
  margin-bottom: 0;
}

nav .navigation-main .floating-menu > ul > li {
  padding-bottom: 15px;
  background: white !important;
}

nav .navigation-main .floating-menu > ul > li .navbar-dropdown {
  border: 1px solid #e0e0e0;
}

.blog-item-header {
  display: grid;
  grid-template-columns: 50px 10px auto 10px 200px;
  grid-template-rows: 25px 25px;
  grid-template-areas:
    'avatar x author y morebtn'
    'avatar x photoid y creationdate';
}

.blog-item-header .avatar {
  grid-area: avatar;
}

.blog-item-header .author {
  grid-area: author;
}

.blog-item-header .more-btn {
  grid-area: morebtn;
  text-align: right;
}

.blog-item-header .more-btn button {
  border: none;
  border-radius: 50%;
  background: none;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: normal;
  padding: 0;
  cursor: pointer;
}

.blog-item-header .more-btn button:focus {
  outline: none;
}

.blog-item-header .more-btn button:hover {
  background: #efefef;
}

.blog-item-header .photoid {
  grid-area: photoid;
}

.blog-item-header .creation-date {
  grid-area: creationdate;
  text-align: right;
}

.banner-explanation {
  font-weight: normal;
  font-size: 0.8rem;
  width: 320px;
  display: inline-block;
  text-align: left;
  position: relative;
  white-space: normal;
}

.banner-explanation::before {
  content: '';
  width: 30px;
  height: 30px;
  display: block;
  background: url('../../img/corner-arrow.png') no-repeat top left;
  background-size: contain;
  position: absolute;
  top: 5px;
  left: -33px;
}

input.is-invalid,
input.is-invalid:hover,
input.is-invalid:focus,
input.is-invalid:-webkit-autofill,
input.is-invalid:-webkit-autofill:hover,
input.is-invalid:-webkit-autofill:focus,
textarea.is-invalid,
textarea.is-invalid:hover,
textarea.is-invalid:focus,
textarea.is-invalid:-webkit-autofill,
textarea.is-invalid:-webkit-autofill:hover,
textarea.is-invalid:-webkit-autofill:focus,
select.is-invalid,
select.is-invalid:hover,
select.is-invalid:focus,
select.is-invalid:-webkit-autofill,
select.is-invalid:-webkit-autofill:hover,
select.is-invalid:-webkit-autofill:focus {
  background: rgba(223, 70, 70, 0.3) !important;
  box-shadow: 0 0 0 1000px inset rgba(223, 70, 70, 0.3) !important;
}

input.is-valid,
input.is-valid:hover,
input.is-valid:focus,
input.is-valid:-webkit-autofill,
input.is-valid:-webkit-autofill:hover,
input.is-valid:-webkit-autofill:focus,
textarea.is-valid,
textarea.is-valid:hover,
textarea.is-valid:focus,
textarea.is-valid:-webkit-autofill,
textarea.is-valid:-webkit-autofill:hover,
textarea.is-valid:-webkit-autofill:focus,
select.is-valid,
select.is-valid:hover,
select.is-valid:focus,
select.is-valid:-webkit-autofill,
select.is-valid:-webkit-autofill:hover,
select.is-valid:-webkit-autofill:focus {
  background: rgba(87, 155, 103, 0.3) !important;
  box-shadow: 0 0 0 1000px inset rgba(87, 155, 103, 0.3) !important;
}

// itt kell definiálni, hogy akkor is látszódjon, ha nem fut a webpack
.LoadingText {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

// gányolás... gányolás mindenütt
.nav-settings.upper-variant {
  width: 90px;
  text-align: left;
  vertical-align: top;
  color: #545559 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  position: relative;

  #current-language,
  .open-dropdown {
    color: #545559 !important;
    font-size: 14px !important;
  }

  .open-dropdown {
    padding-left: 6px;
  }

  .navbar-dropdown {
    display: none !important;
    position: absolute;
    z-index: 1000;
    background: white;
    text-align: center;
    border: 1px solid #e0e0e0;
    // margin-top: 276px;
    top: 50px;

    .box {
      padding: 20px 0;
    }

    li {
      margin-bottom: 5px;

      a {
        padding: 0 20px 5px 20px;

        &:hover {
          color: #cf1c18;
        }
      }
    }
  }

  &:hover .navbar-dropdown {
    display: block !important;
  }
}

strong {
  font-weight: font.$font-weight-semi-bold;
}

nav .navigation-main .floating-menu > ul li a {
  background-color: white;
  color: #545559 !important;
}

nav .navigation-main .floating-menu > ul > li .navbar-dropdown .navbar-box a {
  background: none;
}

nav .login-wrapper {
  right: 0;
  max-width: 400px;
  text-align: center;
}

.mainimage {
  display: block;
  margin: 20px auto 0 auto;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #ccc;

  &.deleted {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;

    span {
      position: absolute;
      z-index: 10;
      text-transform: uppercase;
    }

    &::before {
      content: '';
      position: absolute;
      background: rgba(#eee, 0.5);
      width: 100%;
      height: 100%;
    }
  }
}

ul li > a {
  text-decoration: none !important;
}

.weboffice-container {
  display: flex;
  flex-direction: row;
}

.weboffice-photo {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.photo-details {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.photo-share {
  text-align: center;
  align-self: center;
  padding: 20px;
  width: 337px;
}

.photo-blockchain-image {
  margin: 10px 0;
  width: 100%;
}

.blockchain-info {
  font-size: 20px;
  display: flex;
}

.blockchain-title {
  white-space: nowrap;
}

.service-text {
  background: #f3f3f3;
  padding: 10px;
  width: 409px;
  margin-bottom: 10px;
}

.buy-service-form {
  display: flex;
  align-items: center;
}

.buy-service-select {
  margin-bottom: 10px;
}

.divphotos-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.divphotos-office-footer {
  > a,
  > img {
    margin: 0 20px;
  }
}

.mainimage {
  height: 100px;
}

.weboffice-row {
  display: flex;
  border-right: 2px solid #e2e2e2;
  margin: 10px 0;
  padding-right: 10px;
}

.addphotos-row {
  display: flex;
}

.addphotos-col {
  margin-right: 20px;
}

.weboffice-avatar {
  margin-right: 20px;
  align-self: center;
}

.upload-photo-tags {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  .form-control {
    width: 110px;
  }
}

.upload-photo-submit {
  text-align: right;
}

.referal-row {
  .form-control {
    margin-right: 5px;
  }
}

.sector-photo {
  .mainimage {
    margin: 0;
  }
}

.sector-photo-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  .sector-photo {
    margin-right: 10px;
    margin-bottom: 10px;
  }
}

.rotate-container {
  display: flex;
  flex-direction: row;
  padding-top: 10px;
}

.rotate-text {
  hyphens: auto;
  margin-right: 5px;
}

@include media-breakpoint-down(sm) {
  .blog-item-header {
    grid-template-columns: none;
  }

  .banner-explanation {
    margin: 10px 0;
  }

  .activationstatistic {
    flex-direction: column;
  }

  .photo-details {
    flex-direction: column;
  }

  .service-text {
    width: 100%;

    p {
      margin: 0;
    }
  }

  .buy-service-form {
    display: block;
    justify-content: center;
  }

  .pagination-user {
    justify-content: center;
    margin-bottom: 20px;
  }

  .notification {
    right: 10px;
    left: 10px;
    top: 10px;
    min-width: auto;
  }

  .weboffice-row {
    margin: 10px;
  }

  .weboffice-avatar {
    margin-right: 5px;
  }

  .marketingstatus {
    padding: 0 5px;
  }

  .mainimage {
    height: 300px;
  }

  .addphotos-row {
    flex-direction: column;
  }

  .addphotos-col {
    margin-bottom: 20px;
  }
}

@include media-breakpoint-down(lg) {
  .upload-photo-tags {
    flex-direction: column;

    .form-control {
      width: auto;
      margin-bottom: 10px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

@include media-breakpoint-down(md) {
  .weboffice-photo {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .weboffice-row {
    flex-direction: column;
    text-align: center;
  }

  .weboffice-container {
    justify-content: center;
  }

  .weboffice-row {
    width: 30%;
  }
}

@include media-breakpoint-up(sm) {
  .photo-share {
    border-right: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
  }

  .photo-blockchain {
    width: 518px;
    margin-left: 20px;
  }

  .photo-blockchain-image {
    width: 236px;
    margin-left: 10px;
    cursor: pointer;
  }

  .buy-service-select {
    width: 283px;
    margin-right: 15px;
  }

  .service-info {
    min-width: 300px;
  }

  .pagination-user {
    position: absolute;
    right: 0;
    margin-top: -66px;
    justify-content: end;
  }
}

.grecaptcha-badge:hover {
  right: 0 !important;
}

#form_register,
#form_login {
  .smalllabel {
    display: block;
  }
}

#qrcode-modal {
  #qrcode {
    margin: 20px auto;
  }

  .link {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
  }
}
