/*====== Basics ======*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

/*====== Expert profile ======*/

.expert-up {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 150px 0 50px;
    text-align: left;
    background: #f5f6f7;
    border-bottom: 2px solid #5091FF;
}

/*====== Expert edit profile ======*/

.info-update {
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
}

/*====== Expert edit profile ======*/




.expert-all-data {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
}

.expert-profile {
    display: flex;
    width: 50%;
    flex-direction: row;
    align-items: center;

}

.expert-pic {
    display: flex;
    justify-content: center;
    border-radius: 4px;
    width: 35%;
}

.expert-pic>img {
    width: 70%;
    border: white 10px solid;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);

}

.expert-info {
    font-family: Muli;
    font-size: 18px;
    color: #808080;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 75%;
}

.expert-sub{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.expert-sub>h4 {
    font-family: MuliBold;
    color: black;
    font-size: 24px;
}
.expert-sub>p{
    margin: 10px 0;
}

.expert-carrer {
    color: black;
}

.expert-contact {
    display: flex;
    width: 35%;
    flex-direction: column;
    border-left: 2px solid #eaeff5;
    font-family: Muli;
    color: #667488;
    font-size: 16px;
    padding-left: 15px;
}

.expert-contact>ul>li {
    display: flex;
    list-style: none;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.expert-social-media{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

}

.social{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.social>a{
    color: inherit;
    width: 25%;

}

.tiktok{
    width: 40%;
}

.detail-info {
    width: 150px;
}

.menu-link-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-family: EffraStd;
    font-weight: 700;
    font-size: 14px;
    color: white;
    cursor: pointer;
    background-color: #BC0C19;
    border-radius: 5px;
    border: none;
    height: 35px;
    margin-bottom: 20px;
}

.menu-link-button:hover {
    color: white;
    text-decoration: none;
}

/*====== Expert Main ======*/


.expert-main-section {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 100px;
}

.expert-main {
    display: flex;
    width: 85%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.expert-left {
    width: 60%;

}

.expert-intro {
    display: flex;
    flex-direction: column;
    padding: 10px 30px 30px 30px;
    font-family: Muli;
    font-size: 18px;
    color: #667488;

}

.expert-edition {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.bd-1 {
    border: 1px solid #eaeff5;
    border-radius: 6px;
    margin-bottom: 50px;
}


.expert-edition>h3 {
    font-family: MuliBold;
    color: black;
    font-size: 24px;
}

.expert-edition>span {
    margin: 20px 0 10px;
}

.pencil:hover {
    color: #BC0C19;
    cursor: pointer;
}

.desc-form {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.expert-edition>h4 {
    font-family: MuliBold;
    color: #272F46;
    font-size: 21px;
}

.expert-carrer {
    color: black;
}

.expert-areas {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 15px 0;

}

.area {
    display: inline-block;
    list-style: none;
    padding: 3px 15px;
    border: 1px solid #b9c5ce;
    border-radius: 50px;
    margin: 5px;
    font-weight: 500;
    color: #657180;
}

.min {
    height: 40px;

    width: 20%;
    background-color: #5091FF;
    color: white;
    font-family: Muli;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    transition: 0.3s ease-in;
    cursor: pointer;
}


.expert-all-reviews {
    padding: 10px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

}

h5 {
    font-family: MuliBold;
    color: #272F46;
    font-size: 19px;
}
.comment-head{
    text-align: center;
    padding-bottom: 15px;
}

.form-controls {
    border: 1px solid #dde6ef;
    margin-bottom: 10px;
    box-shadow: none;
    border-radius: 0;
    background: #fbfdff;
    font-size: 18px;
    color: #445461;
    font-weight: 400;
}

.commenter_info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.com {
    height: 40px;
    width: 45%;
}

.comment_area {
    resize: vertical;
    padding: 4px;
    margin: 0;
}

.star-rating {
    margin-bottom: 15px;
}


/*====== Commetns ======*/

.user-comments {
    padding: 10px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}


.comment {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 0 0 10px;
    font-family: Muli;
}

.comment-left {
    width: 20%;
    display: flex;
    justify-content: center;
}

.comment-right {
    width: 75%;
}

.comment-name {
    margin-bottom: 0;
    font-family: MuliBold;
    color: #272F46;
    font-size: 15px;
}

.comment-date {
    font-size: 11px;
}

.comment-initial {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
    background-color: #ff927b;
    border-radius: 50%;
}

.comment-initial>p {
    margin-top: 7px;
}


.star,
.stars {
    color: #667488;
}

.expert-right {
    width: 35%;

}

.expert-location {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 30px 30px 30px;

}

.expert-location,
.related-experts>h4 {
    font-family: MuliBold;
    color: #272F46;
    font-size: 21px;
}

.google-location {
    height: 180px;
    margin: 20px 0;
    background-color: #272F46;
}

.how-to-go {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    font-size: 19px;

}
.how-to-go>a, .how-to-go>a:visited{
    color: #000;
    text-decoration: none;
}
.how-to-go>a>i{
    color: blue;

}

.loc-img{
    width: 17%;
}



.fa-brands {
    margin-right: 5px;
}




/*====== Related experts ======*/
.related-experts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 10px 30px 30px 30px;

}

.expert-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* height: 100px; */
    justify-content: left;
    width: 100%;
}


.related-expert-pic {
    display: flex;
    border-radius: 4px;
    width: 26%;

}



.related-expert-pic>img {
    width: 90%;
    height: 80px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
    border-radius: 40px;

}

.bb-e {
    border-bottom: 1px solid #eaeff5;
    margin-bottom: 15px;
}

.related-expert-info {
    font-family: Muli;
}

.expert-name {
    font-family: MuliBold;
    font-size: 17px;
    color: #272F46;
}

.related-expert-info>a {
    text-decoration: none;
    cursor: pointer;
    color: #272F46;

}

.expert-name:hover {
    text-decoration: none;
    cursor: pointer;
}

.expert-job {
    font-size: 13px;
    color: #667488
}

.expert-loc {
    font-size: 13px;
    color: #5091FF;
}


/*====== Join ======*/
.want-join {
    background-color: #5091ff;
}

.join-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}




.join-background {
    display: flex;
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 200px;

}

.overlay-join {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    width: 100%;
    height: 150px;
    align-items: center;
    margin-top: 10px;

}

.join-info {
    font-family: Muli;
    font-size: 18px;
    color: white;
    width: 60%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.join-info>h3 {
    font-family: EffraStdHeavy;
    font-size: 30px;
    color: white;
}

.join-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
}

.join-experts {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    background-color: white;
    font-family: Muli;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 0.2);

}

.join-button>a,
.join-button>a:visited,
.join-button>a:hover {
    color: #333640;
    text-decoration: none;
}

@media(max-width: 900px) {
    .expert-container {
        justify-content: space-between;

    }

    .related-expert-info {
        width: 60%;
    }

    .related-expert-pic {
        width: 30%;
    }

    .related-expert-pic>img {
        width: 100%;
        height: 60px;
    }

    .expert-name,
    .expert-job,
    .expert-loc {
        font-size: 13px;
    }

}


@media(max-width: 700px) {
    .expert-all-data {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .expert-up {
        padding-top: 125px;
    }

    .min {
        width: 40%;
    }

    .join-experts {
        text-align: center;
    }
    .expert-info{
        align-items: center;
    }
    .expert-sub{
        justify-content: center;
    }

    .expert-sub>p{
        text-align: center;
    }
    

}

@media(max-width: 600px) {
    .expert-main-section {
        margin-top: 25px;
    }

    .expert-main {
        flex-direction: column;
    }

    .expert-left,
    .expert-right {
        width: 100%;
    }

    .related-expert-pic>img {
        width: 70%;
        height: 80px;
    }

}

@media(max-width: 550px) {
    .expert-profile {
        flex-direction: column;
    }

    .expert-pic {
        width: 50%;
    }
    .expert-contact{
        align-self: center;
    }
    .expert-add{
        text-align: center;
    }
}

@media(max-width: 520px) {
    .join-info>h3 {
        font-size: 23px;
    }

    .join-info>span {
        font-size: 14px;
    }

    .join-experts {
        font-size: 13px;
    }
}

@media(max-width: 490px) {

    .expert-profile,
    .expert-contact {
        width: 90%;
    }

    .related-expert-pic>img {
        width: 100%;
    }

    .expert-pic {
        width: 50%;
    }

    .comment {
        justify-content: space-around;
    }


}