.row.wp_profile_head {
    display: flex;
    align-items: flex-end; /* Tämä asettaa lapset (kolumnit) samalle tasolle yläreunasta */
}

.col-md-8.col-sm-6 {
    flex-direction: row;
    justify-content: space-between; /* Tämä jakaa tilan tasaisesti kolumnin sisällön välille */
}


.profile-button {
    margin-top: auto; /* Tämä työntää painikkeen alaspäin kolumnissa */
}

.logo-and-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding-right: 50px;
}

/* Logo-container tyyli */
.logo-container {
    text-align: center;
    /* Lisää tarvittaessa tyylejä logolle */
}

/* Tähtien tyyli */
.svg-stars {
    display: flex;
    justify-content: center;
    align-items: center;
}

.star {
    width: 24px; /* Säädä tämän koon mukaan */
    height: 24px; /* Säädä tämän koon mukaan */
    fill: #cccccc; /* Täyttöväri (harmaa) */
    margin: 0 2px; /* Pieni väli tähtien välille */
}

/* Tähdet täytettyinä (esimerkiksi kun score on 3/5) */
.star-filled {
    fill: #ffd700; /* Täyttöväri (kulta) */
}

/* Lainatietojen tyyli */
.loan-details {
    text-align: center;
    /* Lisää tarvittaessa tyylejä lainatiedoille */
}

/* Button tyyli */
.profile-button {
    text-align: center;
    margin-top: 70px; /* Tarvittaessa säädä ylämarginaalia */
	margin-bottom: 85px
}

/* Painikkeen tyyli */
.profile-button button {
    /* Lisää tarvittaessa tyylejä painikkeelle */
	width:200px;
}

/* Tähdet täytetään ratingin mukaan */
.star {
    fill: #cccccc; /* Täyttöväri (harmaa) */
}

/* Esimerkki: Täytä tähdet ratingin mukaan (tässä tapauksessa 3.5/5) */
.star-filled {
    fill: #ffd700; /* Täyttöväri (kulta) */
}

/* Pyöreä logo */
   .logo-container img {
       max-width: 100%; /* Adjust as needed */
       height: auto; /* Adjust as needed */
       object-fit: contain; /* This will ensure the image is scaled to fit within the container */
       object-position: center; /* This will center the image within the container */
	       border-radius: 50%; /* Tekee kuvasta pyöreän */
    height: 190px; /* Aseta haluamasi korkeus */
    border: 3px solid #fff; /* Voi lisätä reunuksen logolle */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); /* Voi lisätä varjon logolle */
   }
/* Suurempi pallo logon ympärille */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px; /* Pallon halkaisija */
    height: 200px; /* Pallon halkaisija */
    border-radius: 50%; /* Pyöristää pallon */
    background-color: #f0f0f0; /* Pallon taustaväri */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Voi lisätä varjon pallolle */
}



aside {
  background-color:White;
  max-width:20em;
  margin:5% auto;
  padding:3%;
}

aside div {
	padding-left:5%;
  border-left:3px solid black;
}

dl {
  border-bottom:4px solid black;
  padding-bottom:2em;
  margin-bottom: 4px;
}

dt {
  float:left;
  margin-right:.4em;
  text-transform:uppercase;
  font-weight:700;
}

dt,dd {
  line-height:1;
  text-align: right;
}

dt::before {
	content:"▶";
  color:#009879;
  margin-right:.2em;
}


@media (max-width: 767px) {
    .col-md-4, .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-bottom: 20px !important;
    }

    .row.wp_profile_head {
        display: block;
        align-items: center; /* Keskittää lapset pystysuunnassa */
    }

    .col-md-4, .col-md-8 {
        /* Aseta kolumnit täysleveiksi mobiililaitteilla */
        flex: 0 0 100%;
        max-width: 100%;
        /* Nollaa mahdolliset marginaalit */
        margin: 0;
        /* Lisää tilaa elementtien välille */
        margin-bottom: 20px;
    }

    /* Keskittää logon ja tähdet mobiililaitteilla */
    .logo-and-stars, .svg-stars, .loan-details {
        width: 100%; /* Asettaa elementtien leveyden täysleveäksi */
        justify-content: center;
        text-align: right;
		padding-right: 0px;
    }

    /* Varmistaa, että logo on keskitetty ja sillä on tilaa ympärillään */
    .logo-container {
        /* Nollaa mahdolliset marginaalit ja paddingit */
        margin: 0;
        padding: 0;
        /* Lisää tilaa logon alapuolelle */
        margin-bottom: 20px;
    }

    /* Säätää lainatietojen marginaaleja mobiililaitteilla */
    .loan-details {
        /* Nollaa mahdolliset marginaalit ja paddingit */
        margin: 0;
        padding: 0;
        /* Lisää tilaa lainatietojen alapuolelle */
        margin-bottom: 20px;
		margin-top: 50px;
    }

    /* Säätää painikkeen marginaaleja mobiililaitteilla */
    .profile-button {
        /* Nollaa mahdolliset marginaalit ja paddingit */
        margin: 0;
        padding: 0;
        /* Lisää tilaa painikkeen yläpuolelle */
        margin-top: 20px;
        /* Lisää tilaa painikkeen alapuolelle */
        margin-bottom: 20px;
    }
}

/* Bootstrap */
.col-md-8{width:66.66666667%}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

    .col-md-4 {
        width: 33.33333333%;
    }
	
@media (min-width: 768px) {
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9 {
        float: left;
    }
    .col-sm-12 {
        width: 100%;
    }
	
@media (min-width: 768px) {
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9 {
        float: left;
    }
    .col-sm-12 {
        width: 100%;
    }
    .col-sm-11 {
        width: 91.66666667%;
    }
    .col-sm-10 {
        width: 83.33333333%;
    }
    .col-sm-9 {
        width: 75%;
    }
    .col-sm-8 {
        width: 66.66666667%;
    }
    .col-sm-7 {
        width: 58.33333333%;
    }
    .col-sm-6 {
        width: 50%;
    }
    .col-sm-5 {
        width: 41.66666667%;
    }
    .col-sm-4 {
        width: 33.33333333%;
    }
    .col-sm-3 {
        width: 25%;
    }
    .col-sm-2 {
        width: 16.66666667%;
    }
    .col-sm-1 {
        width: 8.33333333%;
    }
    .col-sm-pull-12 {
        right: 100%;
    }
    .col-sm-pull-11 {
        right: 91.66666667%;
    }
    .col-sm-pull-10 {
        right: 83.33333333%;
    }
    .col-sm-pull-9 {
        right: 75%;
    }
    .col-sm-pull-8 {
        right: 66.66666667%;
    }
    .col-sm-pull-7 {
        right: 58.33333333%;
    }
    .col-sm-pull-6 {
        right: 50%;
    }
    .col-sm-pull-5 {
        right: 41.66666667%;
    }
    .col-sm-pull-4 {
        right: 33.33333333%;
    }
    .col-sm-pull-3 {
        right: 25%;
    }
    .col-sm-pull-2 {
        right: 16.66666667%;
    }
    .col-sm-pull-1 {
        right: 8.33333333%;
    }
    .col-sm-pull-0 {
        right: auto;
    }
    .col-sm-push-12 {
        left: 100%;
    }
    .col-sm-push-11 {
        left: 91.66666667%;
    }
    .col-sm-push-10 {
        left: 83.33333333%;
    }
    .col-sm-push-9 {
        left: 75%;
    }
    .col-sm-push-8 {
        left: 66.66666667%;
    }
    .col-sm-push-7 {
        left: 58.33333333%;
    }
    .col-sm-push-6 {
        left: 50%;
    }
    .col-sm-push-5 {
        left: 41.66666667%;
    }
    .col-sm-push-4 {
        left: 33.33333333%;
    }
    .col-sm-push-3 {
        left: 25%;
    }
    .col-sm-push-2 {
        left: 16.66666667%;
    }
    .col-sm-push-1 {
        left: 8.33333333%;
    }
    .col-sm-push-0 {
        left: auto;
    }
    .col-sm-offset-12 {
        margin-left: 100%;
    }
    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }
    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }
    .col-sm-offset-9 {
        margin-left: 75%;
    }
    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }
    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }
    .col-sm-offset-6 {
        margin-left: 50%;
    }
    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }
    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }
    .col-sm-offset-3 {
        margin-left: 25%;
    }
    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }
    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }
    .col-sm-offset-0 {
        margin-left: 0;
    }
}