/* 
    Created on : 10 Feb 2022, 3:39:40 PM
    Author     : m.umair

dark #ec6f3e
light #fff6d4
light #f5b196
header background: linear-gradient(#3c3c3c -15%,transparent 85%);
nav background: linear-gradient(to top, rgba(0, 117, 255, 0.8), #fff6d4);
nav background: linear-gradient(to top, rgba(0, 117, 255, 0.8), #000000);
nav dropdown background-color: rgba(0, 117, 255, 0.8);
datatheme box-shadow: 0px 0px 22px 0px #f1dbd5;
blue
#166cae;
    box-shadow: 0px 0px 7px 0px #0079c1;
*/
@import url("../app/style/variables.css");

.header{
    position: absolute;    
    top: 0;
    width: 100%;
    z-index: 200;
    background: linear-gradient(135.9deg, #1f18158f 16.4%, #240d0480 56.1%);
    background-image: linear-gradient(135.9deg, #1f18158f 16.4%, #240d0480 56.1%);
    padding: 0px 15px;
}
.mapviewer-header{
    background-color: rgb(126 160 217 / 90%);
    background-image:none;
}


html[dir="rtl"] .header {
  left: unset;
  right: 0;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 5px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
/*  border-radius: 4px;*/
}
.header a.logo {
  font-size: 25px;
  font-weight: bold;
  margin: 0 0.5rem;
}

.header .nav__list-item:hover > a .icon{
   filter:unset;
}

.header a.nav-link:hover,.nav__list-item:hover > a{  
  background-color:var(--background-color-secondary);
  color: var(--text-color-secondary);
}

.region-header {
    display: flex;
    flex-wrap: wrap;
}

.region_logo {
    float: left;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.navbar {   
    position: relative;
    float: right;
    margin-left: auto;
}

 .top-menu{
     display: none;
 }
 
.header__left {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
}
.header__middle .header-title {
  z-index: 4;
  color: white;
  font-weight: bold;
  text-shadow: 0px 0px 20px black;
  visibility: hidden !important;
}
.header__right {
  z-index: 4;
  display: flex;
  align-items: center;
  width: 80px;
  cursor: pointer;
  float: right;
  margin-top: 7px;
  /* margin-right: 4%; */
}
html[dir="rtl"] .header__right {
  float: left;
}

.header__right a.langswitch,
.header__right a.langswitch:focus {
  display: -moz-box;
  display: flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: justify;
  justify-content: end;
  color: var(--text-color-secondary);
  font-size: 14px;
  padding: 0 4px;
  white-space: nowrap;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  letter-spacing: 0.4px;
  position: relative;
  width: 100%;
}

.lang-dropdown .dropdown-menu {
  display: block;
  max-height: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  min-width: unset;
  width: 90px;
  box-shadow: 0px 10px 34px -20px rgb(0 0 0 / 41%);
  background: #fff;
  margin-top: 15px;
  font-size: 12px;
}
.lang-dropdown.open .dropdown-menu {
  max-height: 90px;
  visibility: visible;
}
.lang-dropdown button,
.lang-dropdown button:hover {
  color: white;
  background-color: transparent;
  border-color: transparent;
}
.lang-dropdown button:hover {
  text-shadow: 0px 0px 20px #fffb7c;
}
.lang-dropdown .dropdown-menu > li > a:hover {
  background: #fff6d4;
}
.header__left-logo {
  height: 100%;
  width: 175px;
  cursor: pointer;
  margin-left: 0;
}

.header__right-logo {
  height: 60px;
  display: flex;
  align-items: center;
  /* background-color: white; */
  flex-direction: column;
  color: #ec6e3c;
}
html[dir="rtl"] .header__right-logo {
  height: 50px;
}
.header__right-logo .title {
  font-size: 29px;
}
html[dir="rtl"] .header__right-logo .title {
  font-size: 25px;
}
.header__right-logo .subtitle {
  margin-top: -10px;
  font-size: 9px;
}
html[dir="rtl"] .header__right-logo .subtitle {
  font-size: 12px;
}
.header__right-logo img {
  height: 55px;
}
.header__middle {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.menu__separator,
.menu__separator > div {
  padding-bottom: 10px;
  height: 100%;
}
.menu__separator > div {
  background: linear-gradient(#fff, #fff) no-repeat center/2px 100%;
}
.menu-icon {
  padding: 10px;
  display: none;
}
.menu-icon__line {
  height: 2px;
  width: 30px;
  display: block;
  background-color: var(--background-color-primary);
  margin-bottom: 3px;
  transition: transform 0.2s ease, background-color 0.5s ease;
}
.menu-icon__line-left {
  width: 16px;
}

html[dir="rtl"] .menu-icon__line-left {
  margin-right: 14px;
}
.menu-icon__line-right {
  width: 16px;
  margin-left: 14px;
}
.customnav {
  position: relative;
  z-index: 3;
  /*  width: 100vw;*/
  background-color: var(--background-color-primary); 
  background-color: var(--background-color-secondary);
  border: none;
  min-height: 40px;
  height: 40px;
  border-top: 1px solid rgba(211, 211, 211, 0.5);
}

.customnav:after {
  transition-delay: 0s;
}
.customnav:before {
  transition-delay: 0.1s;
}

.nav__content {
  position: absolute;
  height: 40px;
  /* transform: translate(0%, -50%); */
  width: 51%;
  text-align: center;
  font-size: calc(2vw + 10px);
  font-weight: 200;
  cursor: pointer;
}

html[dir="rtl"] .nav__content {
  margin-left: unset;
}

.nav__list {
  width: 100%;
  height: 100%;
  padding: 0;
  /* margin-top: 20px; */
}
.nav__list .nav-item {
  height: 100%;
  /* display: flex; */
}
.nav__list-item {
  position: relative;
  display: flex;
  /*  transition-delay: 0.8s;
  transform: translate(0%, 0%);*/
  transition: opacity 0.2s ease, transform 0.3s ease;
  height: 100%;
  width: auto;
  /*border-right: 1px solid rgba(211, 211, 211, 0.5);*/
  align-items: center;
}

/*.nav-item .dropdown> a:after {
    content: ">";
    float: right;
}*/


/*SIDE MENU START*/

.side-menu {
    /* -webkit-transform: translate3d(280px,0,0); */
    transform: translate3d(280px,0,0);
    -webkit-transition: -webkit-transform 0.3s ease-out 0s;
    transition: transform 0.3s ease-out 0s;
    position: fixed;
    width: 280px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 100;
    display: block;
}

.customnav-active .side-menu {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0) !important;
    -webkit-transition: -webkit-transform 0.3s ease-in 0s;
    transition: transform 0.3s ease-in 0s;
}

.side-menu-panel{
    width: 280px;
    height: 100%;
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    z-index: 100;
    background: linear-gradient(180deg, #076781 0%, #085f76 35%, rgba(14, 3, 1, 1) 100%);
    -webkit-box-shadow: -8px 0 8px rgba(0,0,0,0.05) inset;
    box-shadow: -8px 0 8px rgba(0,0,0,0.05) inset;
}

.side-menu-panel:first-of-type {
    z-index: 160;
}


.side-menu-panel li:first-child {
    margin-top: 81px;
    border-top: 1px solid rgba(246,240,234,.5);
}

.side-menu-panel li {
    border-bottom: 1px solid rgba(246,240,234,.5);
    position: relative;
    padding-right: 50px;
    font-size: 0;	
}

.side-menu-panel a {
    display: inline-block;
    padding: 15px;
    text-decoration: none !important;
    color: white;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    outline: none !important;
}

.side-menu-panel li:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    right: 0;
    bottom: 0;
    background-color: rgba(166,202,237,0.2);
}

/*SIDE MENU END*/

.nav-item .dropdown>.dropdown-menu {
    margin-top: -1px;
    margin-left: 0px;
    min-width: 250px;
}

.nav-item .dropdown:hover>.dropdown-menu {
    display: block;
}
            
.nav__list-item > .dropdown-menu {
  left: 0;
  right: 0;
  position: absolute;
  margin-top: 2px;
  border: none; 
  background-color: var(--background-color-secondary);
  padding: 5px 10px 15px 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.nav__list-item.dropdown:hover {
    background: white;
}

.navbar-nav > li > a:hover, .navbar-nav > li > a:focus{
    background-image: none;
}
.nav__list-item > .dropdown-menu li {
  border-top: none;
/*  border-bottom: 1px solid white;*/
}
.nav__list-item > .dropdown-menu li a {
  color: var(--text-color-primary);
  font-size: 12px;  
  padding: 10px 0px;
  text-align: start;
  text-transform: uppercase;
}
.nav__list-item > .dropdown-menu li a img{
    padding-left: 5px;
    padding-right: 5px;
}
.nav__list-item > .dropdown-menu li a:hover {
    background-color: #9e9e9e14;
    text-shadow: 0px 5px 10px #ffffff;
}
.nav__list-item > .dropdown-menu .row {
  margin-left: 0;
  margin-right: 0;
}


.nav__list-item .nav-link {
  color: var(--background-color-primary);
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
}
.nav__list-item .nav-link .active p {
}
.nav__list-item.current .nav-link .icon,
.nav__list-item.current .nav-link .title {
  text-shadow: 0px 5px 10px #fffb7c;
}

.header a.nav-link.active{
  border-bottom: 2px solid var(--background-color-primary);
}

.nav__list-item .nav-link .icon,
.nav__list-item .nav-link .title {
  font-size: 12px;
  height: 18px;
}

i.fa-house{
    height: 15px;
    font-size: 12px;
}
html[dir="rtl"] .nav__list-item .nav-link .title {
  font-size: 15px;
}
html[dir="rtl"] .nav__list-item .nav-link .icon {
  transform: scaleX(-1);
}

.nav-link .icon{
   filter: brightness(0) invert(1);
}

.nav__list-item .nav-link .icon.catalog {
  height: 25px !important;
  margin-top: -7px;
}
.nav__list-item .nav-link p.title {
  margin-left: 5px;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.nav__list-item .nav-link .icon.addressing {
  height: 23px !important;
  margin-top: -10px;
}

html[dir="rtl"] .nav__list-item .nav-link p.title {
  margin-right: 5px;
}

body.customnav-active .customnav {
  height: auto;
  visibility: visible;
}
body.customnav-active .menu-icon__line {
  /*background-color: #000;*/
  transform: translateX(0px) rotate(-45deg);
}

body.customnav-active .menu-icon__line-left {
  transform: translateX(2px) rotate(45deg);
}

body.customnav-active .menu-icon__line-right {
  transform: translateX(-2px) rotate(45deg);
}

body.customnav-active .customnav:before,
body.customnav-active .customnav:after {
  transform: translateX(0%) translateY(0%);
  margin-top: 80px;
}
body.customnav-active .customnav:after {
  transition-delay: 0.1s;
}
body.customnav-active .customnav:before {
  transition-delay: 0s;
}
body.customnav-active .nav__content {
  visibility: visible;
}

html[dir="rtl"] .header__right {
  margin-left: 12px;
}
html[dir="ltr"] .header__right {
  margin-right: 0;
}

/*.nav__list-item:hover .nav-link p,
.nav__list-item .nav-link.active p {
  color: var(--primary-color) !important;
}*/
@media (min-width: 992px) {
    html[dir="ltr"] .nav__list {
        margin-left: -21px;
    }
    html[dir="rtl"] .nav__list {
        margin-right: -28px;
        float: right;
    }
    .mapviewer-header .header__left-logo{
        width: 140px;
    }
    .top-menu{
        display: block;
    }
    .side-menu{
      display: none;
   }
}

@media (max-width: 767.98px) {
  html[dir="ltr"] .header__right {
    margin-right: 0;
  }
}

/* @media (min-width: 576px) { 
    html[dir="rtl"] .header__right {
        margin-left: -12px;
    }
    html[dir="ltr"] .header__right {
        margin-right: -25px;
    }
    html[dir="ltr"] .nav__list{
      margin-left: -20px;
    }
    html[dir="rtl"] .nav__list{
      margin-right: -28px;
      float: right;
    }
 }*/

@media (min-width: 1500px) {
  .nav__content {
    width: 44%;
    /* margin-left: 55%; */
  }

  html[dir="rtl"] .nav__content {
    margin-left: unset;
  }
}
@media (max-width: 1298px) {
  .nav__content {
    width: 63%;
  }

  html[dir="rtl"] .nav__content {
    margin-left: unset;
  }

  .nav__list-item .nav-link .icon,
  .nav__list-item .nav-link .title {
    font-size: 12px;
    height: 18px;
  }
}

@media (max-width: 991.98px) {
  .menu-icon {
    display: block;
  }
  .side-menu{
      display: block;
  }

  .header__middle .header-title {
    font-size: 16px;
  }

  .customnav {
    height: 0px !important;
  }
  
  body.customnav-active .customnav {
    height: 100vh !important;
    visibility: visible;
  }
  
  body.customnav-active  {
    overflow: hidden;
 }
  .nav__content {
    height: 0;
    margin-left: 50px;
    width: auto !important;
    top: 180px !important;
  }

  html[dir="rtl"] .nav__content {
    margin-left: unset;
    margin-right: 50px;
  }

  body.customnav-active .nav__content {
    top: 40px !important;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
    height: auto;
  }

  .nav__list {
    overflow-y: auto;
    height: 100%;    
    visibility: hidden;
    margin: auto;
  }

  .nav__list-item {
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    padding-bottom: 5px;
    padding-top: 5px;
    height: auto;    
  }

  body.customnav-active .nav__list-item {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
    transition: visibility 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }
  .nav__list .nav-item {
    height: auto;
    display: grid !important;
  }
  .nav__list-item .nav-link {
/*    border-bottom: 1px groove white;*/
    display: flex;
    padding: 7px;
  }
  .nav__list-item .nav-link .icon {
    margin-right: 10px;
  }

  html[dir="rtl"] .nav__list-item .nav-link .icon {
    margin-right: unset;
    margin-left: 10px;
  }
  .nav__list-item .nav-link .icon,
  .nav__list-item .nav-link .title {
    font-size: 15px;
    height: 15px;
  }
  .nav__list-item .nav-link .icon.addressing {
    height: 18px !important;
    margin-top: -0;
  }
  .menu__separator {
    display: none;
  }

  #themes-dropdown-menu {
    width: 75vw !important;
  }
}
@media (max-width: 575.98px) {
  .header__left-logo {
    height: 70px;
  }
  .header__right-logo .title {
    font-size: 24px;
  }
  html[dir="rtl"] .header__right-logo .title {
    font-size: 23px;
  }
  .side-menu-panel{
      width:100%;
  }
  .side-menu{
      width:100%;
      transform: translate3d(100%,0,0);
  }
  .header{
      padding:0;
  }
}
#themes-dropdown-menu {
  width: 50vw;
}

.dropdown-menu > li > a {
  white-space: normal;
}

header.header {
  background-image: url(../images/background-header_en.jpg);
  background-repeat: repeat-y;
  background-blend-mode: darken;
  background-size: cover;
}
header {
/*  padding: 5px 0;*/
  direction: ltr;
}

.navbar {
  min-height: 35px;
}

.sticky-header,
.sticky-nav
 {
  position: fixed;
  margin: auto;
  z-index: 90;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 2px 0px rgb(40 48 48 / 40%);
}

.sticky-header {
  top: 0;
}

.sticky-nav {
  top: 37px;
  background: white;
}

@media (min-width: 768px) {
  .sticky-nav {
    top: 40px;
  }
}

@media (min-width: 576px) {
  .sticky-nav {
    top: 40px;
  }
}
