
nav{
  position: fixed;
  z-index: 99;
  width: 100%;
  background: rgb(122, 143, 165);
  background:  #f6f9fd;
  background: -moz-linear-gradient(top, #abbed3 0%,  #8398ad 66%,  #7a8fa5 100%);
  background: -webkit-linear-gradient(top, #abbed3 0%,  #8398ad 66%,  #7a8fa5 100%);
  background: linear-gradient(to bottom,  #abbed3 0%,  #8398ad 66%,  #7a8fa5 100%);
  border-bottom: 2px solid rgb(171, 190, 211);
}
nav .wrapper{
  position: relative;
  max-width: 100%;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a{
  color: #ffffff;
  font-size: 18px;
  font-style: italic;
  font-weight: 550;
  text-decoration: none;
}
.wrapper .logo svg {
  transform: translate(-9px, 17px);
  background-color: none;
}
.navlineRight{
  padding-right: 100px;
  text-wrap: nowrap;
}
.navlineRightUserData{
  display: inline-flex;
  position: relative;
  color:  #ffffff;
  margin-right: 0px; 
  margin-top: 20px;
}
#showNickName{
  left: 0px;
}
.wrapper .nav-links{
  display: inline-flex;
}
.nav-links li{
  list-style: none;
}
button[type=submit],
.nav-links li a{
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
button[type=submit]:hover,
.nav-links li a:hover{
  background: rgb(199, 250, 247);
  color: rgb(66, 66, 66);
}
body:has(.nav-links li a:hover) #userNoPic circle{
  fill:rgb(199, 250, 247);
}
/* when meni options no hover */
body:has(#user-meni:hover) #userNoPic circle{
  fill: transparent;
}
.nav-links#user-login li a:hover {
  background: transparent;
}
#user-meni:hover{
  background: rgb(199, 250, 247);
  color: rgb(66, 66, 66);
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: rgb(122, 143, 165);
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.login:hover,
.login input:focus,
.nav-links li:hover .login{
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  transform: translate(-50%, 0);
  min-width: 1000px;
  max-width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: rgb(122, 143, 165);
  padding: 25px 20px;
  display: flex;
  max-width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 40px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgb(171, 190, 211);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color:  #ffffff;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: rgb(66, 66, 66);
}
.wrapper .btn{
  color:  #ffffff;
  font-size: 25px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 2px;
}

@media screen and (max-width: 1200px) {
  .ui-dialog{
      max-width: 100% !important;
      min-width: fit-content !important;
      width: 770px;
      text-wrap: wrap;
      left: 50% !important;
      right: auto !important;
      transform: translate(-50%, 0) !important;
  }
}

@media screen and (max-width: 1400px) {
  .navlineRight{
    padding-right: 0px;
  }
  #user-login ul.drop-menu {
    right: 0px !important;
  }
  .logo text{
    display: none;
  }
  button[type=submit],
  .nav-links li a{
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    padding: 5px 8px;
  }
}

@media screen and (max-width: 970px) {
  html{
    -moz-text-size-adjust: 70%;
    -webkit-text-size-adjust: 70%;
    text-size-adjust: 70%;
  }
  #showNickName{
    display: none;
  }
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: rgb(122, 143, 165);
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background:  #ffffff;
  }
  ::-webkit-scrollbar-thumb {
    background: rgb(171, 190, 211);
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    min-width: 200px;
    transform: translate(0, 0);
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav input{
  display: none;
}

/* 
#
# fast login
#
*/
.login{
  text-align: center;
  position: absolute;
  background: rgb(122, 143, 165);
  width: 180px;
  height: 220px;
  top: 70px;
  opacity: 1;
  /*visibility: hidden;*/
  display: none;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }
.login h5 a,
.login h5{
  color:  #ffffff;
}
.login h6 a,
.login h6{
  color:  #ffffff;
  margin-top: 20px;
}
#loginLink svg {
  margin-top: 35px;
  /*margin: 20px auto;*/
}

.loginForm {
  position: relative;
  top: -10px;
  width: 100%;
  height: 80px;
  border-radius: 0px;
  border: none;
  }

.loginInput1 {
  display: block; 
  position: absolute;
  top: -5px;
  left: 10px;
  font-size: 14px;
  background:rgb(247, 244, 244);
  color:rgb(53, 52, 52);
  width: 90%;
  height: 30px;
  border: 1px solid rgb(60, 79, 100);
  border-radius: 4px;
  appearance: none;
  outline: none;
}
.loginInput2 {
  display: block; 
  position: absolute;
  top: 40px;
  left: 10px;
  font-size: 14px;
  background:rgb(247, 243, 243);
  color: #333333;
  width: 90%;
  height: 30px;
  border: 1px solid black;
  border-radius: 4px;
  appearance: auto;
  outline: none;
}
#loginButton {
  position: relative;
  top: 85px;
  left: 0px;
  height: 30px;
  width: 90px;
}
