section.report-detail-body {
    position: relative;
}
/* .report-detail-body .container{
    padding-right:130px;
} */
.report-detail-body .btn, .floating-absolutecontent .btn{
    text-align: center;
    background: linear-gradient(182.49deg, #FF9818 -198.73%, #FCB603 5.35%, #B700F8 212.68%);
    color: #fff;
    border: 0px;
    text-decoration: none;
    padding: 6px 13px;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Roboto';
    line-height: 26px;
}
.floating-absolutecontent {
    display: none;
    position: absolute;
    right: 100%;
    top: 0px;
    width: 380px;
    background-color: #fff;
    height: 100%;
    box-shadow: -5px 0px 30px -5px #89898926, 0px 5px 30px -5px #89898926, 0px -5px 30px -5px #89898926;
    padding: 20px 30px 20px 20px;
    text-align: left;
    min-height: 450px;
}
.floatingmenu li.active .floating-absolutecontent {
    display: block;
    box-shadow:
    0px 5px 30px -5px #89898926,     /* bottom shadow */
    0px -5px 30px -5px #89898926,    /* top shadow */
    -5px 0px 30px -5px #89898926; 
  }
 .floatingmenu {
    position: fixed;
    width: 100px;
    background-color: #fff;
    border-radius: 8px !important;
    opacity: 0;     
    transition: opacity 0.3s ease;
    top:0px;
    z-index: 1;
}
.floatingmenu.ready {
    opacity: 1;
    pointer-events: auto;
}
.floatingmenu ul.floatingmenu-items {
    list-style: none;
    margin: 0;
    position: relative;
    padding: 10px 5px;
    border-radius: 8px !important;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom:0px !important;
}
ul.floatingmenu-items li:last-child .floatingitem {
    margin-bottom: 0px;
}
.floatingmenu ul{
    list-style: none;
    margin: 0;
    margin-bottom:0px !important;
    padding-left:0px;
}
.floatingmenu li:last-child{
    margin-bottom:0px;
}
.floatingitem {
    padding: 10px 5px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 10px;
    align-items: center;
    gap: 5px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.floatingitem h2 {
    color: #fff;
    font-size: 14px;
    font-family: 'Roboto Flex';
    margin-bottom: 0px;
}
li#comparestocks .floatingitem {
    background: linear-gradient(180deg, #065EBF 0%, #032C59 100%);
}
li#listenreport .floatingitem {
    background: linear-gradient(180deg, #E06DAA 0%, #EC008C 100%);
}
li#similarstocks .floatingitem {
    background: linear-gradient(180deg, #A096C8 0%, #7C51A1 100%);
}
li#researchsupport .floatingitem {
    background: linear-gradient(180deg, #87B8E0 0%, #00AEEF 100%);
}
li#referfriend .floatingitem {
    background: linear-gradient(180deg, #C6DE81 0%, #5DBB46 100%);
}
button.close-panel {
    position: absolute;
    top: 0px;
    right: 100%;
    padding: 0px 10px 4px;
    border: 0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    display: flex;
    align-items: center;
    line-height: 28px;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
}
ul.floatingmenu-items li.active .floatingitem:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid blue;
    position: absolute;
    right: 100%;
    z-index: 1;
    top:35%;
}
li#comparestocks.active .floatingitem:before{
    border-right: 15px solid #13477f;
}
li#listenreport.active .floatingitem:before{
    border-right: 15px solid #e03597;
}
li#similarstocks.active .floatingitem:before{
    border-right: 15px solid #896dac;
}
li#researchsupport.active .floatingitem:before{
    border-right: 15px solid #38b2e9;
}
li#referfriend.active .floatingitem:before{
    border-right: 15px solid #88c361;
}
li#comparestocks button.close-panel{
    background-color:#032C59;
}
li#listenreport button.close-panel{
    background-color:#EB1191;
}
li#similarstocks button.close-panel{
    background-color: #835DA8;
}
li#referfriend button.close-panel{
    background-color:#78C455;
}
.floatingmenu-controller {
    position: fixed;
    right: 5px;
    bottom: 75px;
    z-index: 9;
    display: none;
}
.floatingmenu-controller .menu-close-btn {
  display: none;
  position: fixed;
  right: 5px;
  bottom: 125px;
  z-index: 1000;
  font-size: 2rem;
  background: none;
  border: none;
  color: #000;
  line-height: 1;
}
.menu-toggle-btn .cross-icon {
  display: none;
  font-size: 20px;
  line-height: 1;
  color: #fff;
}
.menu-toggle-btn .dots-icon {
  display: inline-block;
}
.floatingmenu.show ~ .floatingmenu-controller .menu-toggle-btn .dots-icon {
  display: none;
}
.floatingmenu.show ~ .floatingmenu-controller .menu-toggle-btn .cross-icon {
  display: contents;
}

/* Compare Stocks CSS Starts */
form.stocksearch-form input {
    border: 1px solid #777;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 20px;
    padding: 7px 15px 8px;
    line-height: 27px;
    font-size: 16px;
}
form.stocksearch-form input::placeholder{
    font-size: 16px;
    font-weight: 400;
    font-family: 'Roboto';
    letter-spacing: 0.2px;
}
form.stocksearch-form input:focus{
    outline:none;
}
.comparedstock-detail img {
    border-radius: 120px;
    width: 42px;
    height:auto;
}
ul.comparedstocks-list {
    height: calc(100% - 160px);
    overflow-y: scroll;
}
.comparedstocks-list li h2 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto Flex';
}
ul.comparedstocks-list li {
    text-align: left;
    border-bottom: 1px solid #E1E5EF;
    padding: 5px 0px 10px;
    margin-bottom:5px;
}
ul.comparedstocks-list li:last-child{
    border-bottom: 0px;
}
.comparedstock-icon {
    width: 100%;
}
.comparedstock-icon p {
    font-size: 14px;
}
form.stocksearch-form {
    position: relative;
}
form.stocksearch-form i.fa.fa-search {
    position: absolute;
    right: 17px;
    top: 13px;
    color: #777777;
    font-size: 18px;
}
/* Compare Stocks CSS Ends */

/* Similar Stocks CSS Starts */
ul.similarstocks-list {
    height: calc(100% - 50px);
    overflow-y:scroll;
}
ul.similarstocks-list li {
    border-bottom: 1px solid #E1E5EF;
    padding: 5px 0px 10px;
}
ul.similarstocks-list li:last-child{
    border-bottom: 0px;
}
.similarstock-stats h2 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto Flex';
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.similarstock-stats p {
    font-size: 14px;
    margin-bottom:0px;
}
.similarstock-stats .fa {
    padding: 0px 2px;
}
.similarstock-stats a.view-report {
    font-size: 14px;
    text-decoration: none;
    background: grey;
    color: #fff;
    padding: 0px 6px 1px;
    border-radius: 5px;
    font-weight: 400;
}
/* Similar Stocks CSS Ends */

/* Referral Section CSS Starts */
.referralcode_details {
    height: calc(100% - 120px);
    overflow-y: scroll;
}
.refer_detail {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 20px 10px 15px;
    margin-top: 8px;
    border-radius: 5px;
}
.refer_detail input {
    width: calc(100% - 40px) !important;
    border: 0px;
    font-size: 16px;
    font-family: 'Roboto';
    font-weight: 400;
    color: #757575;
}
.refer_detail input:focus{
    outline:none;
}
label.check_p p{
    font-size: 12px;
    color: #777;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: inherit;
   
}
/* Referral Section CSS Ends */


/* Floating Modal CSS Starts */
.modal-header {
    border-bottom: 0px !important;
    padding-bottom: 0px;
}
.modal-header button.btn-close {
    font-size: 12px;
}
.shareholdermodal .modal-body {
    text-align: center;
}
ul.refershareul {
    padding-left: 0px;
    list-style: none;
    width: 100%;
    text-align: center;
}
ul.refershareul li {
    float: left;
    width: 16%;
    border: 1px solid #777777;
    text-align: center;
    padding: 10px 5px;
    text-decoration: none;
    margin: 2%;
    border-radius: 8px;
}
ul.refershareul li img {
    width: 40px;
}
ul.refershareul li p, ul.refershareul li a {
    margin-bottom: 0px;
    color: #000;
    font-size: 14px;
    font-family: 'Roboto Flex';
    text-decoration: none;
    margin-top: 5px;
}
div#shareReferral .modal-dialog {
    max-width: 550px;
}
/* Modal CSS Ends */

.floatingmenu-controller button {
    border-radius: 120px;
    background-color: #000;
    color: #fff;
    border: 0px;
    width: 45px;
    height: 45px;
}
.floatingvalue{
    display: none;
}

@media only screen and (min-width: 320px) and (max-width: 1024px) {
.floatingmenu {
    width: 40px;
}
.report-detail-body .container {
    padding-right: var(--bs-gutter-x,.75rem);
}
.floatingitem {
    padding: 0px 0px 3px;
}
.floatingitem h2 {
    display: none;
}
.floatingitem img {
    width: 22px;
}
.floatingmenu li {
    font-size: 20px;
}
li#comparestocks.active .floatingitem:before {
    border-right: 15px solid #13477f;
}
ul.floatingmenu-items li.active .floatingitem:before {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
li#comparestocks.active .floatingitem:before{
    border-right: 5px solid #13477f;
}
li#listenreport.active .floatingitem:before{
    border-right: 5px solid #e03597;
}
li#similarstocks.active .floatingitem:before{
    border-right: 5px solid #896dac;
}
li#researchsupport.active .floatingitem:before{
    border-right: 5px solid #38b2e9;
}
li#referfriend.active .floatingitem:before{
    border-right: 5px solid #88c361;
}
.floating-absolutecontent {
    position: fixed;
    right: 0px;
    width: 80%;
    z-index: 999;
    height: 100%;
}
}  

@media only screen and (min-width: 320px) and (max-width: 767px) {
.floatingmenu {
    z-index: 1000;
}
.floating-container {
    z-index: 1000;
}
ul.refershareul li p {
    display: none;
}
ul.refershareul li {
    width: 18%;
    margin: 1%;
    max-width: 50px;
    display: inline-block;
    float: none;
    padding: 5px 5px;
}
.floatingmenu-controller {
    display: block;
}
.floatingmenu {
    display: none;
    right: 7px !important;
    bottom: 125px;
    top: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 999;
    background: white;
}
.floatingmenu.show + .floatingmenu-controller .menu-close-btn {
    display: block;
}
.floatingmenu.show {
    display: block;
}
}
