.profileModalBox {
  position: relative;
  margin-right: -.5rem;
}

.profileModalBox .btnProfile {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 40px;
  width: 40px;
  height: 40px;
/*  background-color: #ffac00;*/
    border: solid 1px #111;
  color: #111;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  border-radius: 50%;
}

.profileModalBox .profileMenu {
  display: none;
  list-style-type: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: .75rem 1rem;
  padding-top: 0;
  position: absolute;
  top: calc(100% - 0px);
  left: 0%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  border-radius: 1rem;
  margin: 0;
  width: 18rem;
  height: auto;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 15px #00000054;
            box-shadow: 0px 0px 15px #00000054;
  z-index: 10;
}

.profileModalBox .profileMenu::before {
  content: '';
  height: 15px;
  width: 25px;
  background-color: #fff;
  position: absolute;
  bottom: calc(5% - 4px);
  left: calc(100% - 25px);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
          clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.profileModalBox .profileMenu::after {
  content: '';
  height: 15px;
  width: 25px;
  background-color: #b9b9b9;
  position: absolute;
  bottom: calc(5% - 4px);
  left: calc(100% - 25px);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
          clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.profileModalBox .profileMenu > li {
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: 0;
}

    .profileModalBox .profileMenu > li > a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0.30rem 1.5rem !important;
        text-align: left;
        font-size: 14px !important;
        overflow: hidden;
        position: relative;
        color: #000;
    }


        .profileModalBox .profileMenu > li > a.logOut {color:red;
        }

    .profileModalBox .profileMenu > li img {
        width: 24px;
        margin-right: 12px;
   
    }


    .profileModalBox .profileMenu > li > a span {
        margin-right: 1rem;
    }

.profileModalBox .profileMenu > li > a span img {
  zoom: 70%;
}

.profileModalBox .profileMenu > li.prof_Dtails {
  padding: .5rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  overflow: hidden;
}

    .profileModalBox .profileMenu > li.prof_Dtails div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: .75rem 1rem 0rem 1rem;
        color: #111;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }

.profileModalBox .profileMenu > li.prof_Dtails div span {
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.profileModalBox .profileMenu > li.prof_Dtails div small {
  font-size: .75rem;
  width: 100%;
  line-height: 1;
  margin-bottom: .5rem;
  color: #b9b9b9;
}

.profileModalBox .profileMenu > li.prof_Dtails div i {
  font-size: 1rem;
  line-height: 1;
  color: #ffac00;
  font-style: normal;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}

.profileModalBox .profileMenu > li.prof_Dtails div i::after {
  content: attr(data-renewal);
  color: #111;
  font-weight: 500;
  font-size: .8rem;
  margin-left: .5rem;
}

 

.profileModalBox .profileMenu > li:first-child {
  border-bottom: none;
  text-align: left;
}

.profileModalBox .profileMenu > li:not(:first-child):hover > a {
  color: #111;
  background-color: #f5f5f5;
}

.profileModalBox .profileMenu > li:not(:first-child).active > a::before {
  left: 0;
  opacity: 1;
  border-color: transparent transparent transparent #ffac00;
  width: 0px;
}

.profileModalBox .profileMenu > li:last-child:hover > a {
  color: #c40000;
}

.profileModalBox .profileMenu > li:last-child:hover > a::before {
  border-color: transparent transparent transparent #c40000;
}

.profileModalBox .profileMenu > li.subMenu {
  position: relative;
}

.profileModalBox .profileMenu > li.subMenu > a {
  background-image: url(/images/ico-arrow-down.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 30px) center;
  background-size: 10px;
}

.profileModalBox .profileMenu > li.subMenu > a::before {
  -webkit-transition-delay: .1s;
          transition-delay: .1s;
}

.profileModalBox .profileMenu > li.subMenu > a + ul {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: absolute;
  top: 50%;
  right: 0%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: #fff;
  width: calc(100% - 2rem);
  padding: .5rem;
  -webkit-box-shadow: 0px 0px 8px -3px #b9b9b9;
          box-shadow: 0px 0px 8px -3px #b9b9b9;
  border-radius: 1rem;
  opacity: 0;
  -webkit-transition: right .3s;
  transition: right .3s;
  visibility: hidden;
}

.profileModalBox .profileMenu > li.subMenu > a + ul > li {
  width: calc(100% + 1rem);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.profileModalBox .profileMenu > li.subMenu > a + ul > li > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1rem;
  padding: .5rem 1.5rem;
  position: relative;
  overflow: hidden;
  color: #111;
}

.profileModalBox .profileMenu > li.subMenu > a + ul > li:hover > a, .profileModalBox .profileMenu > li.subMenu > a + ul > li.active > a {
  font-size: 1rem;
  color: #111;
  background-color: #f5f5f5;
}

.profileModalBox .profileMenu > li.subMenu > a + ul > li:last-child {
  border-bottom: solid 0px transparent !important;
}

.profileModalBox .profileMenu > li.subMenu:hover > a + ul {
  list-style-type: none;
  right: 100%;
  opacity: 1;
  visibility: visible;
}

.profileModalBox:hover > a {
  color: #111;
}

.profileModalBox:hover > a + ul {
  display: block;
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: fadeInDown_pro;
          animation-name: fadeInDown_pro;
}

.profileModalBox:hover > a + ul > li {
  -webkit-animation-duration: .25s;
          animation-duration: .25s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: profile_fadeIn;
          animation-name: profile_fadeIn;
}

.profileModalBox:hover > a + ul > li > a::after {
  display: none;
}

.profileModalBox:hover > a + ul > li > a::before {
  border: none;
  width: 0px;
  height: 2px;
  background-color: #6659e3;
  bottom: 0px;
  opacity: 1;
}

.profileModalBox:hover > a + ul > li > a:hover {
  color: #111;
}

.profileModalBox:hover > a + ul > li > a:hover::before {
  width: 100%;
}

.profileModalBox:hover > a + ul::before {
  bottom: calc(100% - 1px);
  opacity: 1;
  z-index: 2;
}

.profileModalBox:hover > a + ul::after {
  bottom: calc(100% - 0px);
  opacity: 1;
  z-index: 1;
  -webkit-filter: blur(10px);
          filter: blur(10px);
}

.profileModalBox:hover .btnProfile {
  color: #fff;
}

@-webkit-keyframes profile_fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes profile_fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.profile_fadeIn {
  -webkit-animation-name: profile_fadeIn;
          animation-name: profile_fadeIn;
}

@-webkit-keyframes fadeInDown_pro {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-100% + 50px), 50px);
            transform: translate(calc(-100% + 50px), 50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translate(calc(-100% + 50px), 0);
            transform: translate(calc(-100% + 50px), 0);
  }
}

@keyframes fadeInDown_pro {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-100% + 50px), 50px);
            transform: translate(calc(-100% + 50px), 50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translate(calc(-100% + 50px), 0);
            transform: translate(calc(-100% + 50px), 0);
  }
}

@-webkit-keyframes fliesFrom_right {
  from {
    opacity: 0;
    right: 0;
  }
  to {
    opacity: 1;
    right: 100%;
  }
}

@keyframes fliesFrom_right {
  from {
    opacity: 0;
    right: 0;
  }
  to {
    opacity: 1;
    right: 100%;
  }
} 