.navbar-nav .dropdown-menu > li > a:hover {
  color: white;
}
#imgUser {
  margin-top: -15px;
}
ul li a.loginul {
  color: #000;
}
.caret {
  color: #fff;
}
.dropdown-toggle {
  cursor: pointer !important;
}

.dropdown-toggle:hover span {
  color: var(--yellow);
}

.psc-lib-header {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: 'logo title options';
  background:url('/Resources/assets/index/imgs/bg-banner-top.jpg') no-repeat center;
}

.psc-lib-header__logo {
  grid-area: logo;
  display: inline-grid;
  
  align-items: center;
  min-height:129px
}

.psc-lib-header__options {
  grid-area: options;
  display: inline-grid;  
  align-items: center;
  justify-content: end;
}

.psc-lib-header__title {
  grid-area: title;
  color: white;
  opacity: 1;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
}

#mesagenumber a {
  width: 26px;
  background-color: red;
  color: #fff;
  height: 8px;
  padding: 10px;
  position: fixed;
  top: 28px;
  right: 10px;
  border-radius: 5px;
}

@media screen and (max-width: 500px) {
  .dropdown-toggle {
    float: right;
  }

  #listmenupanel li a:hover {
    color: #fff !important;
  }
  .dropdown-menu {
    border-radius: 5px !important;
    color: #000 !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    margin-top: 2px;
    margin-right: 0px;
    margin-left: 0px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff !important;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  }

  .login .left-item a {
    margin-right: 10px;
  }
  #imgUser {
    margin-top: 0px;
  }
}

@media screen and (max-width: 400px) {
  .psc-lib-header__title {
    font-size: 24px;
  }
}

@media screen and (max-width: 320px) {
  .dropdown-toggle {
    cursor: pointer !important;
    width: 35px;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  #imgUser {
    margin-top: 0;
  }

  .psc-lib-header {
    display: grid;
    align-items: start;
    grid-template:
      'logo options options'
      'logo title title'
      'logo title title';
  }

  .psc-lib-header__title {
    width: calc(100% - 50px);
    font-size: 24px;
  }
}

@media screen and (max-width: 320px) /*iphone5se*/ {
  .OpenObject {
    position: relative;
  }
  .right-item {
    width: auto;
  }
}

#loginModal {
  margin: 0px auto;
  left: 0px;
  right: 0px;
  display: none;
  position: absolute;
  z-index: 99999;
}
.login-box .close1 {
  width: 26px;
  height: 26px;
  color: #fff;
  float: right;
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  background: #005fab;
}
.icon1 {
  color: #f3e89e;
  background: #263d84;
  font-size: 60px;
  font-weight: bold;
  line-height: 90px;
  height: 90px;
  width: 90px;
  margin: 0 auto 5px;
  border-radius: 50%;
  text-align: center;
  margin-top: -50px;
}
.hvr-icon-forward {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
}
.hvr-icon-forward .hvr-icon {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.psc-lib-header__options > ul {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .psc-lib-header__options > ul {
    margin-top: 0;
	position:relative;
	background: linear-gradient(90deg, #054770 0%, rgba(5, 71, 112, 0.50) 100%);
	padding: 5px 0;
  }
  .psc-lib-header__options > ul::before{
    position: absolute;
        top: 0;
        left: -34px;
        height: 100%;
        border: 17px solid transparent;
        border-top-color: var(--primary);
        border-right-color: var(--primary);
        content: '';
        width: 10px;
        z-index: 2;
}

}
/* login panel */
#loginpanel {
  display: flex;
  gap: 8px;
}
#loginpanel a {
  padding-right: 8px;
}
/* logout panel */
#logoutpanel {
  display: flex;
  gap: 8px;
}
#userlog2 {
  display: flex;
  gap: 4px;
}

#userlog2 .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
}
#userlog2 .avatar img {
  width: 100%;
}

#mesagenumber {
  display: flex;
  align-items: center;
}
#mesagenumber .fa {
  color: #fff;
}
#mesagenumber span {
  background-color: #f00;
  color: #fff;
  min-width: 16px;
  padding: 2px 4px;
  font-size: 10px;
  line-height: 10px;
  font-weight: 700;
  border-radius: 2px;
  text-align: center;
}

/* loginwindow */
#loginwindow .modal-dialog {
  margin: auto;
}
