﻿html * {
    -webkit-font-smoothing: antialiased;
}

body {
    /* background-color: rgb(250, 251, 255);*/
    /*  background-color: rgb(247, 248, 252);*/
    background-color: #f9f9f9;
}

@media (max-width: 768px) { /* Adjust the max-width as per your requirement */
    .custom-flex-container {
        display: flex;
        flex-wrap: nowrap; /* Prevents wrapping */
        justify-content: center; /* Centers items horizontally */
        align-items: center; /* Centers items vertically */
    }
}

.profile-page .page-header {
    height: 280px;
    background-position: center;
}

.page-header {
    height: 100vh;
    background-size: cover;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
}

.header-filter:after, .header-filter:before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}

.header-filter::before {
    background: rgba(0,0,0,.5);
}

.main-raised {
    margin: -60px 30px 0;
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
}

.main {
    background: #FFF;
    position: relative;
    z-index: 3;
}

.profile-page .profile {
    text-align: center;
}

    .profile-page .profile img {
        max-width: 140px;
        width: 100%;
        max-height: 140px;
        height:100%;
        margin: 0 auto;
        transform: translate3d(0,-50%,0);
    }

.img-raised {
    box-shadow: 0 5px 15px -8px rgba(0,0,0,.24), 0 8px 10px -5px rgba(0,0,0,.2);
}

.rounded-circle {
    border-radius: 50% !important;
    border: 3px solid white;
}

.img-fluid, .img-thumbnail {
    max-width: 100%;
    max-height: 100%;
    object-fit:cover

}

.title {
    margin-top: 20px;
    margin-bottom: 0px;
    min-height: 32px;
    color: #3C4858;
    font-weight: 700;
    /*    font-family: "Roboto Slab","Times New Roman",serif;*/
}

.profile-page .description {
    margin: 1.071rem auto 0;
    max-width: 600px;
    color: #999;
    font-weight: 300;
}



.profile-page .profile-tabs {
    margin-top: 0.284rem;
}

.nav-pills, .nav-tabs {
    border: 0;
    border-radius: 3px;
    padding: 0 15px;
}

.nav .nav-item {
    position: relative;
    margin: 0 2px;
}




.nav-pills .nav-item .nav-link {
    line-height: 24px;
    font-size: 12px;
    font-weight: 500;
    /*  min-width: 100px;*/
    min-width: 50px;
    color: #555;
    transition: all .3s;
    border-radius: 30px;
    padding: 10px 15px;
    text-align: center;
}
/*
            .nav-pills .nav-item .nav-link:not(.active):hover {
                background-color: rgba(200,200,200,.2);
            }
*/

.nav-pills .nav-item i {
    display: block;
    font-size: 30px;
    /*  padding: 15px 0;*/
}

.tab-space {
    padding: 20px 0 50px;
}

.profile-page .gallery {
    margin-top: 3.213rem;
    padding-bottom: 50px;
}

    .profile-page .gallery img {
        width: 100%;
        margin-bottom: 2.142rem;
    }

.profile-page .profile .name {
    margin-top: -80px;
}

img.rounded {
    border-radius: 6px !important;
}

.tab-content > .active {
    display: block;
}




.iconx {
    background-color: #f9f9f9;
    border-radius: 50%;
    border: 1px solid #d3c7c5;
    padding: 12px;
    color: #343333
}

.btn-343333 {
    background-color: #343333;
    color: #d3c7c5;
    padding-left: 15px;
    padding-right: 15px;
}



#lightSwitch {
    transform: scale(1.8);
}

.custom-theme.bg-light {
    background-color: darkslategray !important;
    border-radius: 3px;
    color: gainsboro;
    text-decoration: underline;
}

.custom-theme.bg-dark {
    background-color: blanchedalmond !important;
    box-shadow: 10px 5px 5px rgba(246, 255, 219, 0.5);
    color: dimgray;
    text-decoration: overline;
}
