.exit{
    position:fixed;
    float:right;
    top:20px;
    right:50px;
    font-size:18px;
    font-weight:bold;
    z-index:999;
}

.exit a{
    color:#fff;
    text-decoration:none;
}

.exit a:hover{
    background-color:#D3D3D3;
}

.exit a:link{
    width:60px;
    border-radius:3px;
    padding:5px;
}

/*----------Left Column Bottom == Friends and photos Start ----------*/
.left_bottom{
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    width: 100%;
    margin-top: 10px;
}

.friends_fun{
    margin-right:10px;
    background-color:#fff;
    border-radius:7px;
    padding:10px;
   
}

.friends_fun a{
    text-decoration:none;
    color: #554B51;
}
.friends_top{
    display: flex;
    align-items: center;
    height:34px;
    position: relative;
    cursor: pointer;
    transition: 300ms ease all;
    text-decoration:none;
    color:#554B51;
}

.friends_top img{
    width:24px;
    height:24px;
    margin-right:10px;
}

.friends{
    display:flex;
    justify-content:space-between;
    width:100%;
    overflow:hidden;
}

.friends .profile-picture{
    height:40px;
    width:40px;
}

.friends p{
    font-size:11px;
    font-weight:bold;
    padding:2px;
}

.fun a{
    display: flex;
    align-items: center;
    height:34px;
    position: relative;
    cursor: pointer;
    transition: 300ms ease all;
    text-decoration:none;
    color: #554B51;
}

.fun a img{
    width:24px;
    height:24px;
    margin-right:10px;
}

/*----------Left Column Bottom == Friends and photos End----------*/

/*......... User Profile Start .............*/

.profile_header{
    overflow:hidden;
    box-sizing:border-box;
    border-radius:7px;
}

.profile_header #background-photo{
    display: inline-block;
    box-sizing:border-box;
    overflow:hidden;
    width: 700px;
    height: 305px;
    vertical-align: top;
    border-radius:7px;
    z-index:995;
}


.profile_header .profile-picture{
    width:180px;
    height:180px;
    border-radius:50%;
    position:absolute;
    top:190px;
    border: 4px solid #fff;
    overflow:hidden;
    z-index:997;
    cursor:pointer;
}

.profile_header .profile-picture:hover{
    opacity: 1;
    cursor: pointer;
}

.profile_header .userinfo-background{
    position:absolute;
    box-sizing:border-box;
    overflow:hidden;
    background-color:#80726F;
    opacity: 0.75;
    top:260px;
    height:110px;
    width:44%;
    float:left;
    z-index:996;
    border-radius:0px 0px 7px 7px;
}

.profile_header .user_info{
    color:white;
    font-weight:bold;
    position:absolute;
    top: 270px;
    line-height:1.5;
    z-index:997;
}


.line1{
    display:flex;
    margin-left: 200px;
}

.line2{
    display:flex;
    margin-left: 200px;
}

.user_info .buttons{
    display:flex;
}

.user_info input{
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    width:180px;
    margin-top:10px;
}

.friend_request{
    margin-top:15px;
}

.user_info #button{
    margin-left: 200px;
}

.user_info #button4{
    margin-left: 200px;
}

.user_info #button2{
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    width:180px;
    margin-left: 10px;
}

.user_info input:hover{
    box-shadow: 0 0 4px 4px rgba(135, 13, 57, .5);
}

#button2:hover{
    box-shadow: 0 0 4px 4px rgba(135, 13, 57, .5);
}

.profile_header #button_backphoto{
    position:absolute;
    top:70px;
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    margin: 10px 20px;
    width:180px;
}

#button_backphoto:hover{
    box-shadow: 0 0 4px 4px rgba(135, 13, 57, .5);
}

.backphoto_loadspace input{
    display:block;
}


.avatar_loadspace input{
    display:block;
}

/*..........Main services End...............*/


/*..........Change Photo div start..........*/
#photochangebox{
    display: none;
    box-sizing: border-box;
    position:absolute;
    width:220px;
    height:70px;
    background-color:#fff;
    border-radius:7px;
    z-index:999;
    top:380px;
    border: 1px solid black;
}

.photo_change{
    box-sizing: border-box;
}

.photo-change{
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: 300ms ease all;

}
.photo_change img{
    width:24px;
    height:24px;
    margin-right:10px;
    box-sizing: border-box;
    margin-left:10px;
}

.photo_change a{
    text-decoration:none;
    display:flex;
    align-items: center;
    height:35px;
    color: #554B51;
}

.photo_change a:first-child:hover{
    background-color:#D5C4BB;
    border-radius: 7px 7px 0 0;
}

.photo_change a:last-child:hover{
    background-color:red;
    border-radius: 0 0 7px 7px;
}

.avatar_submit{
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    width:180px;
    margin-left: 10px;
}


.profilephoto_input label{
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    width:180px;
    margin-left: 10px;
}
/*............Change Photo Div End............*/



.my_post{
    width:100%;
    height:100px;
    background-color:#fff;
    border-radius:7px;
    margin-top: 10px;
}


/*...............left Col .....................*/
.my_events{
    width:100%;
}

.event-header{
    padding:5px;
}

.my_subscriptions, .my_invitations, .my_tickets, .my_discounts{
    background:#80726F;
    color:#fff;
}

.event_image{
    box-sizing: border-box;
}

.advert_text{
    color:#fff;
    padding:5px;
}

.advert-inner{
    display:grid;
    grid-template-columns: 50% 50%;    
}

/*------------ user profile edit -----------------*/

.fav_places{
    width:100%;
    height:500px;
    background-color:#fff;
}

/*.............guest profile left col start..............*/
.guest-profile{
    width:100%;
    background-color:#fff;
    border-radius:7px;
}

.guest_profile{
    padding:15px;
    line-height:1.5;
    font-size:12px;
}



/*............user profile business left col..............*/
.user_business{
    width:100%;
    background-color:#fff;
    border-radius:7px
}

.user_business #buttonred{
    box-sizing: border-box;
    border-radius:7px;
    background-color:#870D39;
    padding:8px;
    margin: 10px 20px;
    width:180px;
    color:#fff;
    border-color:#870D39;
    cursor:pointer;
}

.user_business #buttonred:hover{
    box-shadow: 0 0 4px 4px rgba(135, 13, 57, .5);
}

#deletepost{
    display: block;
    box-sizing: border-box;
    position:absolute;
    width:220px;
    height:35px;
    background-color:#fff;
    border-radius:7px;
    z-index:999;
    top:50px;
    right:20px;
    border: 1px solid black;
}

.friend {
    display:block;
    position: relative;
    z-index:998;
}


.profile-picture .user-offline{
    background-color: red;
    width:15px;
    height:15px;
    border-radius:50%;
    z-index:999;
    position:absolute;
    top:30px;
    right:15px;
}

.profile-picture .user-online{
    background-color: green;
    width:15px;
    height:15px;
    border-radius:50%;
    z-index:999;
    position:absolute;
    top:30px;
    right:15px;
}

.user_bis_header{
    background-color:#fff;
    width:100%;
    padding: 10px;
    border-radius:7px;
    margin-bottom:10px;
}

.user_bis_info{
    width:100%;
    padding:5px;
    display:flex;
    box-sizing:border-box;
}

.user_bis_info .profile-picture{
    margin-right:10px;
}

.user_bis_info:hover{
    color:#F3EDE3;
    background-color:#80726F;
    border-radius:7px;
}

.user_bis_header a{
    text-decoration:none;
    color:#554B51;
}

.user_bis_info{
    font-size:12px;
    font-family: Verdana, sans-serif;
    padding-left:15px;
    color:#80726F;
}

.user_savings{
    width:100%;
    margin-top:5px;
    padding:5px 5px 5px 20px;
    border-radius:7px;
    background-color:#fff;
}

.saved_posts_btn{
    box-sizing: border-box;
    border-radius:7px;
    border-color:#870D39;
    padding:8px;
    margin: 8px 0px;
    width:180px;
}

.saved_posts_btn:hover{
    box-shadow: 0 0 4px 4px rgba(135, 13, 57, .5);
}
