body {
    font-family: Arial, sans-serif;
}
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/*******************/
/* Profile Compact */
/*******************/
#compactProfileImage {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: solid 3px #ff0000;


}

#compactProfileMap {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    position: relative;
    width: 70%;
    height: 70%;
}

#compactProfileMap svg {
    width: 100%;
    height: 100%;
}

.star-svg {
    position: absolute;
    margin: 4px;
}

.flex-vcenter {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 600px) {
    #compactProfileImage { width: 100px; height: 100px;}
}

/*******************/
/*  User Profile   */
/*******************/

/******************/
/* Profile Header */
/******************/
#userProfileContent {
    height: 100%;
    font-family: fantasy !important;
    padding: 5px;
}

.profile-header {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 20px 0 5px;
    height: 330px;
}
.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: solid 3px #ffffff;
}
.profile-userName {
    margin: 5px;
    font-family: fantasy !important;
    font-size: 24px;
    font-weight: bold;
}

.user-info {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}
.user-info img {
    width: 100px;
    height: 100px;
}

.user-info div {
    width: 33.3%;
}

.user-info span {
    display: inline-block;
}

@media only screen and (max-width: 600px) {
    .profile-header { height: 200px; padding:5px; }
    .profile-photo { width: 70px; height: 70px; }
    .profile-userName { font-size: 18px; }
    .user-info img { width: 50px; height: 50px; }
    .user-info p { margin: 0; }
    .user-info span { display: none; }
}


/******************/
/*  Profile Map   */
/******************/
.map-container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 180px;
    border: 4px solid #000000;
}

.map-container svg {
    width: 45%;
    height: auto;
}

.user-nac, .user-pob, .user-dob, .user-zodiac {
    position: absolute;
    margin: 0;
}
.user-nac { top: 5px; left: 10px; font-size: 16px;}
.user-dob { bottom: 0px; left: 10px; }
.user-pob { bottom: 0px; right: 10px;}
.user-zodiac { 
    top: 5px; 
    right: 10px;    
    display: flex; 
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}
.user-zodiac img {
    color: #333;
    width: 50px;
    height: 50px;
    filter: drop-shadow(2px 4px 6px black);
}
@media only screen and (max-width: 600px) {
    .map-container { height: 120px; padding: 15px 0; border: 1px solid #000000;}
    .map-container svg { height: 80% !important; width: auto;}
}

/*******************/
/*   Buttons Row   */
/*******************/
.profile-buttons-row {
    width: 100%;
    height: 50px;
    padding: 10px 0;
    background-color: #000000;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    border-bottom: solid 2px white;
}
.profile-buttons-row button {
    height: 30px;
    width: calc(33% - 10px);
    margin: 5px;
    padding: 5px;
    background-color: #000000;
    color: white;
    border: solid 2px white;
    border-radius: 5px;
    overflow: hidden;
}

@media only screen and (max-width: 600px) {
    .profile-buttons-row button { width: calc(33% - 4px); margin: 2px; }
}

/*******************/
/*  Contributions  */
/*******************/
.contributions-container,
.invitations-container,
.contests-container {
    width: 100%;
    height: calc(100% - 370px);
    text-align: center!important;
    margin: 0px auto;
    overflow: scroll;
}

.wrapper {
    padding: 0 20px;
    margin: auto;
}
.wrapper img {
    width: 140px !important;
}
.wrapper p {
    font-family: fantasy;
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .wrapper { padding: 0 5px; }
    .wrapper img { width: 80px !important; }
    .wrapper p { font-size: 14px; }
}

/***************************/
/*  Profile Contributions  */
/***************************/
.container-badges {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 20px;
    padding: 0;
}

.total-contributions {
    font-family: fantasy !important;
    font-size: 18px;
    line-height: 18px;
    padding: 10px 0;
    margin: 0 0 5px;
    border-bottom: solid 1px #ffffff;
}
.detail-element {
    display: flex;
    align-items: start;
    text-align: start;
    width: 100%;
    margin: 5px;
}
.span-inline {display:inline-block;}

.title-pre, .span-pre { width: 33%; margin-right: 5px;}
.title-element, .span-element { width: 50%; margin-right: 5px;}
.title-stats, .span-stats {  width: 5%; }

.title-pre, .title-element, .title-stats { 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 12px;
    text-decoration: underline;
    margin-bottom: 10px;
}

/**************************/
/*  Profile Modal Window  */
/**************************/
.w3-modal-v1 {
    z-index: 3;
    display: none;
    padding: 10px 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.w3-modal-content-v1 {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px;
}

@media (min-width: 990px) {
    .w3-modal-content-v1 {
        width: 980px;
    }
}

@media (max-width: 600px) {
    .w3-modal-content-v1 {
        margin: 0 10px;
        width: auto!important;
    }
}