/* ---------------------------------- */
/* ----- profile_persoheader.js ----- */
/* ---------------------------------- */

.page_header {
    border: 1px solid var(--primary_light);
    border-width: 0px 0px 1px 0px;
}

@media only screen and (min-device-width : 640px) {
    .profile_header{
        height: 250px;
        max-height: 250px;
        background-image: url("../../img/background/seashore.png");
        background-size: cover;
        padding-left: 5px;
        padding-right: 5px;
        color: white;
    }
}

@media only screen and (max-device-width : 640px) {
    /* Styles */
    .profile_header{
        height: 140px;
        max-height: 140px;
        background-image: url("../../img/background/seashore.png");
        background-size: cover;
        padding-left: 5px;
        padding-right: 5px;
        color: white;
    }

    h2{
        font-size: 1.1rem;
    }

}

@media only screen and (min-device-width : 640px) {
    .profile_header_picture{
        width: 80%;
        height:auto;
        max-height: 160px;
        max-width: 160px;
        margin-top: 50px;
        margin-left: 12%;
        border-radius: 50%;
        border: lightgray;
        border-width: 4px;
        border-style: solid;
    }
}

@media only screen and (max-device-width : 640px) {
    .profile_header_picture{
        width: 80%;
        height:auto;
        max-height: 80px;
        max-width: 80px;
        margin-top: 25px;
        margin-left: 5%;
        border-radius: 50%;
        border: lightgray;
        border-width: 3px;
        border-style: solid;
    }
}

@media only screen and (min-device-width : 640px) {
    .profile_header_text{
        margin-top: 75px;
        margin-left: -20px;
    }

    .profile_header_bottom{
        height: 80px;
        /* border: lightgray; */
        /* border-width: 1px 1px 0px 1px;
        border-style: solid; */
        background-color: var(--light);
    }
    
    .medal_panel{
        /* padding-left:95px; */
        padding-top:5px;
        display:inline-flex
    }
}

@media only screen and (max-device-width : 640px) {
    .profile_header_text{
        margin-top: 50px;
        margin-left: -20px;
    }

    .profile_header_bottom{
        height: 76px;
        /* border: lightgray; */
        /* border-width: 1px 1px 0px 1px;
        border-style: solid; */
        background-color: var(--light);
    }
    
    .medal_panel{
        padding-top:5px;
        display:inline-flex
    }
}


/* -------------- PRO --------------------- */


@media only screen and (min-device-width : 640px) {
    .square-80perc{
        position: relative;
        width: 60%;
        margin-top: 50px;
        margin-left: 15%;
        max-height: 150px;
        max-width: 150px;
        background-color: white;
        /* padding: 5%; */
        border: lightgray;
        border-width: 1px;
        border-style: solid;
    }
}

@media only screen and (max-device-width : 640px) {
    .square-80perc{
        position: relative;
        width: 60%;
        margin-top: 30px;
        margin-left: 15%;
        max-height: 150px;
        max-width: 150px;
        background-color: white;
        /* padding: 5%; */
        border: lightgray;
        border-width: 1px;
        border-style: solid;
    }
}

.square-80perc::after{
    content: '';
    display: block;
    padding-bottom: 100%;
}


@media only screen and (min-device-width : 640px) {
    .profile_header_logo{
        position: absolute;
        width: 86%; /* valide si square-80perc width: 70% et padding: 5%*/
        max-height: 150px;
        max-width: 150px;
        height: auto;
        vertical-align: middle;
        display: inline-block;
        margin: auto 7%;
    }
}

@media only screen and (max-device-width : 640px) {
    .profile_header_logo{
        position: absolute;
        width: 86%;
        max-height: 78px;
        max-width: 78px;
        height: auto;
        vertical-align: middle;
        display: inline-block;
        margin: auto 7%;
    }
}

.medal {
    width: 65px;
    height: 60px;
    margin: 10px 7px;
}

.medal_inner_circle {
    font-size:1.2rem;
    background-color: var(--success);
    color: white;
    border-radius: 50%;
    height: 39px;
    width: 39px;
    padding: 5px 7px;
    margin-left:-59px;
    margin-top:20px;
    margin-right:20px;
    text-align:center
}

.medal_level_badge {
    height:20px;
    width:20px;
    border-radius:50%;
    text-align:center;
    padding:5px 0px;
    margin:55px 0px 0px -22px;
}

.midsize_medal {
    width: 45px;
    height: 40px;
    margin: 10px 7px;
}

.midsize_medal_inner_circle {
    font-size:0.9rem;
    background-color: var(--success);
    color: white;
    border-radius: 50%;
    height: 28px;
    width: 28px;
    padding: 5px 5.5px;
    margin-left:-43.5px;
    margin-top:14px;
    margin-right:20px;
    text-align:center
}

.midsize_medal_level_badge {
    height:20px;
    width:20px;
    border-radius:50%;
    text-align:center;
    padding:5px 0px;
    margin:36px 0px 0px -22px;
}


.small_medal{
    width: 34px;
    height: 30px;
    margin: 5px 7px;
}


.small_medal_inner_circle {
    /* font-size:1.2rem; */
    /* background-color: var(--success); */
    /* color: white; */
    border-radius: 50%;
    height: 20px;
    width: 20px;
    padding: 5px 0px;
    margin:10px 0px 0px -37px;
    text-align:center
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%; 
    background: #4CAF50;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
  }


  .jauge_box {
    width: 25px;
    height: 35px;
    margin: 2px;
    border: gray;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
  }

  .widget_panel {
    background-color: var(--light);
    padding:12px;
    border : 4px solid var(--background);
    /* margin:10px */
  }