:root{
    --blue-color: #005392;
    --bg-trueflame: linear-gradient(90deg, rgba(236,245,245,0.989233193277311) 0%, rgba(216,140,241,0.639093137254902) 100%);
    --chat-out-color: rgba(216,140,241,1);
    --chat-in-color: rgba(255, 255, 255, 1);
}
.clear-border-form-control, 
.clear-border-form-control::after, 
.clear-border-form-control::after, 
.clear-border-form-control:focus, 
.clear-border-form-control:active, a{
    border: none !important;
    text-decoration: none;
    box-shadow: none !important;
    color: inherit!important;
}

.text-blue{
    color: var(--blue-color);
}
.bg-tertiary{
    background-color: #ecf5f5;
}
header{
    z-index: 100;
}

.bg-trueflame{
    background: var(--bg-trueflame);
}

body{
    background: #efefef;
}
.flex-container-space-between, .search-bar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 1rem;
    align-items: center;
}

.search-bar{
    background: white;
    color: linear-gradient(90deg, rgba(13,179,195,0.6056547619047619) 0%, rgba(255,0,250,0.5188200280112045) 100%);
}

.box-shadow-dark{
    box-shadow: 0 0 6px 3px rgba(0, 0, 0, 0.3);
}
.profile-pix{
    height: 2.8rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
}
.wrapper{
    margin-top: 80px;
    display: grid !important;
    grid-template-areas: "aside section" !important;
    grid-template-columns: 16vw auto !important;
    column-gap: 2rem;
}
    aside{
        grid-area: aside !important;
        height: fit-content;
        position: fixed;
        z-index: 10;
    }
        .nav-item{
            display: flex;
            align-items: center;
            gap: .8rem;
            padding: 1rem;
        }
        .nav-item:hover, .active{
            transition: all 300ms ease;
            .nav-icon, .nav-desc{
                color: var(--blue-color);
            }
        }
            .nav-icon{
                font-size: 1.8rem;
                color: #444;
            }
            .nav-desc{
                font-size: 1rem;
                font-weight: 600;
            }
                .nav-icon small{
                    font-size: x-small;
                    padding: .3rem;
                    border-radius: 50%;
                    position: fixed;
                    margin: -.4rem 0 0 -1rem;
                    aspect-ratio: 1/1;
                }
    section{
        grid-area: section!important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .profile-card{
            min-width: 265px!important;
           
            /*aspect-ratio: 1/1;*/
        }
    }
        .main-card{
            min-width: 265px!important;
        }
        .profile-card .profile-card .card-body{
            padding-bottom: -1rem !important;
        }
        .card-header-info{
            display: flex;
            align-items: center;
            justify-content: space-between;
            
        }
            .action-btns-list li a:hover, .action-btns-list li:hover{
                color: var(--blue-color)!important;
                background-color: inherit!important;
            }
            .handler{
                font-size: 1rem;
            }
        .card-footer-info{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        .story-board .card-header{
            margin-bottom: -1rem;
        }
        .action-btns .pointer{
            font-size: 2rem;
        }
        .pointer{
            cursor: pointer;
        }
        .pointer:hover{
            color: var(--blue-color);
        }

        .storyboard-carousel{
            /*
            margin-top: -2.6rem;
            .carousel-indicators{
                position: relative;
                top: 2rem;
                button{
                    height: .33rem;
                }
            }*/
            .carousel-indicators{
                top: -0.6rem;
                button{
                    height: .33rem;
                }
            }
            .carousel-inner{
                background: var(--bg-trueflame);
            }
            
        }
        .carousel-caption{
            top: 50%;
        }
        .dropdown-menu{
            z-index: 100;
            
        }
        .card-footer-btn:hover{
            .btn-desc{
                color: var(--blue-color);
            }
        }
        .btn-center{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .card-footer-btn{
            display: flex;
            flex-direction: column;
        }
/*messaging application start */

/*
.msg-profile-list .card-body .msg-profile-listing{
    max-height: calc(100vh - 64px - 65px - 10px - 20%);
}*/

.to-msg-list{
    padding: .5rem;
    border-radius: .2rem;
    margin-bottom: .2rem;
    min-width: 255px;
    font-size: .6em;
    h6{
        font-size: 1em;
    }
    cursor: pointer;
}
.chat{
    border-radius: .3rem;
    padding: .3rem;
    margin: .5rem 0;
    font-size: x-small;
}
.chat-in{
    background-color: var(--chat-in-color);
}
.chat-out{
    background-color: var(--chat-out-color);
}

.chat-pointer{
    width: 1rem!important;
    content: "";
    height: 1rem!important;
    position: relative;
    margin-top: 0;
    rotate: 45deg;
}
.chat-in .chat-pointer{
    margin-left: -0.75rem;
    background-color: var(--chat-in-color);
}
.chat-out .chat-pointer{
    margin-left: 98%;
    background-color: var(--chat-out-color);
    /*background-color: orange;*/
    right: 0;
}
.chat-card{
    height: calc(100vh - 64px - 85px); /*10 px added for text*/
}

.chat-card .card-body{
    overflow-y: scroll;
    height: calc(100vh - 64px - 85px - 76px - 64px);
}

.chat-card .card-footer{
    height: 80px;
}

#msgSendBtn { 
    display: none; 
    color: #ddd; 
    padding: 10px; 
    border: none; 
    cursor: pointer; 
} 
#msgSendBtn.active { 
    color: var(--blue-color); 
}



/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #ddd;
    height: 2rem;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #999;
  }

/*messaging application end*/



@media screen and (max-width: 308px) {
    .wrapper{
        grid-template-columns: 61px auto !important;
        column-gap: 1rem;
    }    
}
@media screen and (max-width: 484px) {
    .wrapper{
        column-gap: 1rem;
    } 
    .nav-item .nav-desc{
        display: none;
    }
    .btn-desc{
        display: none;
    }
}

@media screen and (min-width: 485px) and (max-width: 1005px){
    .wrapper{
        grid-template-columns: 167px auto !important;
        column-gap: 1rem;
    }

}
