* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
/*    background-image: url(images/bg.png); */
    background-color: #9c8aa5;
    width: 1000px;
    margin: 0 auto; 
    background-repeat: no-repeat;
}


div#tile {
    width: 100%;
    height: 100px;
}

div#main {
    position: relative;
    width: 1000px;
    background-color: white;
    padding-bottom: 140px;
    border: 5pt solid #9b3b82;
}

div#logo {
    background-image: url(images/logo.png);
    position: absolute;
    top: -40px;
    left: 70px;
    z-index: 3;
    width:388px;
    height:198px;

}

div#pilateskuva {
    background-image: url(images/pilatespallo.png);
    position: absolute;
    left: 630px;
    z-index: 3;
    width:300px;
    height:197px;
}

div#pilateskuva2 {
    background-image: url(images/potko2.png);
    position: absolute;
    top: 235px;
    left: 630px;
    z-index: 3;
    width:300px;
    height:400px;
}

div#lpgkuva {
    background-image: url(images/vaiheet.jpg);
    position: absolute;
    top: 0px;
    left: 070px;
    z-index: 3;
    width:449px;
    height:197px;
}

div#lpgkuva2 {
	background-image: url(images/sport.jpg);
	position: absolute;
	top: 1000px;
	left: 70px;
	z-index: 3;
	width:725px;
	height:242px;
}

div#akupunktiokuva {
    background-image: url(images/neulat.png);
    position: absolute;
    left: 630px;
    z-index: 3;
    width:300px;
    height:400px;
}

div#hierontakuva {
    background-image: url(images/hieronta2.png);
    position: absolute;
    left: 630px;
    z-index: 3;
    width: 300px;
    height: 164px;
}

div#teippauskuva {
    background-image: url(images/teippi.png);
    position: absolute;
    left: 630px;
    z-index: 3;
    width:300px;
    height:225px;
}

div#kenziekuva {
    background-image: url(images/ranka.png);
    position: absolute;
    left: 630px;
    z-index: 3;
    width:300px;
    height:469px;
}

div#hedelma {
    background-image: url(images/vihrea.jpg);
    position: absolute;
    left: 630px;
    top: 430px;
    z-index: 3;
    width: 300px;
    height: 300px;
}

div#fysi {
    position: absolute;
    top: -5px;
    right: -55px;
    z-index: 3;
    background-image: url(images/fysilogo.png);
    height: 112px;
    width: 112px;
}

a {
    text-decoration:  none;
    font: normal 0.75em Eurostile, Verdana;
    color:            #333333;
} 

a:hover   {
    color:            #9b3b82;
} 

h1 {
    font: bold 1em Arial, Eurostile, Verdana;
    text-decoration: underline;
    color:            #333333;
}

h3 {
    font: bold 1em Arial, Eurostile, Verdana;
}

h4 {
    font: bold 0.9em Arial, Eurostile, Verdana;
}

h5 {
    font: bold 0.75em Arial, Eurostile, Verdana;
    color:            #333333;
}

ul {
    margin-top: 20px;
    padding-left: 50px;
    margin-left: 50px;
}

.boldli {
    font: bold 12px Eurostile, Verdana;
}

.mainos {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    font: bold 0.8em Arial, Eurostile, Verdana;
    color:            #333333;
}

.mainos2 {
    text-align: left;
    padding-bottom: 10px;
    font: 0.8em Arial, Eurostile, Verdana;
    color:            #333333;
}

.mainos3 {
    margin-left: 50px;
    text-decoration: underline;
    font: bold 0.9em Arial, Eurostile, Verdana;
}

.mainos4 {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    font: bold 1.0em Arial, Eurostile, Verdana;
    color:            #333333;
}

.pme-linkki {
	text-align: inherit;
	font-size: 26px;
	text-decoration: underline;
	padding-left: 5px;


.pme-linkki,
.ajanvaraus {
    font-size: 1.4em;
}



}

.ajanvaraus {
    text-align: inherit;
    font-size: 26px;
    text-decoration: underline;
    padding-left: 5px;
}

.ajanvaraus img {
    display: block;
}

.ajanvaraus span {
    font-size: 1.4em;
}

}


div.ajanvaraus {
    position: relative;
    text-align: center;
    max-width: 100px; /* Adjust the max-width to your preference */
    margin: 0 auto;
}

div.ajanvaraus img {
    display: block;
    margin: 0 auto;
    max-width: 60%;
    height: auto;
}

div.ajanvaraus span {
    display: block;
    text-align: center;
    font-size: 0.6em; /* Adjust the font size as needed */
    font-family: "Eurostile", Verdana; /* Use the same font family as the other texts */
}




<div class="ajanvaraus">
    <a target="_blank" href="https://vello.fi/atlasfysio/">Ajanvaraus</a>
    <img src="images\sanna.jpg" style="display:block;" />
    <span>Sanna fyssari</span>
</div>


.mainos6 {
    text-align: left;
    padding-bottom: 10px;
    font: 1em Arial, Eurostile, Verdana;
    color:            #333333;
}



#content p, li {
    font: 0.8em Arial, Eurostile, Verdana;
}

div#banner {
    position: relative;
    left: 50%;
    margin-left: -500px;
    width: 1000px;
    height: 200px;
    background-image: url(images/banner.png);
}

div#banner p h1{
    padding-top: 120px;
    margin-left: 500px;
    text-align: right;
    padding-right: 50px;
    color:            #333333;
    font: bold 0.8em Helvetica, Arial, sans-serif;
}

div#links {
    position: absolute;
    top: 80px;
    left: 380px;
    width: 650px;
    font: bold 0.65em Verdana, Helvetica, Arial, sans-serif;
}

#links h3 {
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

div#content {
    position: relative;
    width: 1000px;
    min-height: 600px; 
    margin-top: -30px;
    padding-top: 20px;
}

div#content  p, h1, h3, h4, h5, h6 {
    padding-right: 50px;
    padding-left: 50px;
}

.dot {
    width:600px;
    height: 2px;
}

div#content  p {
    margin-right: 200px;
}

.conleft {
    position: relative;
    left: 50%;
    margin-left: -500px;
    padding-bottom: 30px;
    padding-left: 20px;
    width: 800px;
}        

div#conleft table {
    margin-top: 20px;
    padding-left: 50px;
}


div#concen {
    position: relative;
    width: 200px;
}

div#conright {
    position: absolute;
    top: 300px;
    left: 600px;
}

div#footer {
    position: relative;
    float: left;
    width: 1000px;
    left: 50%;
    margin-left: -500px;
    height: 60px;
    text-align: center;
}
div#footer p {
    font: bold 0.75em Eurostile, Verdana;
}
div#luettelo {
    position: relative;
    float: left;
    margin-left: 70px;
    margin-top: 50px;
    border: solid #5B7290;
    border-width: 1px;
    width: 350px;
    background-color: #E7EBF0;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#luettelo a {
    font: normal 1.2em "Times New Roman", Times, serif;
    color: #003366;
    margin: -2em 0;
}

div#luettelo a:hover {
    color:            #9b3b82;
}

div#luettelo ol {
    margin-left: 20px;
    list-style-type: none ;
}

div#vasen3 ol {
    margin-left: 20px;
    font: bold 1.2em Arial, Eurostile, Verdana;
    list-style-type: none ;
}
div#luettelo ul {
    margin-left: 5px;
    list-style-type: none ;
    margin-top: 0px;
}

div#kuva {
    background-image: url(images/palveluyleis.png);
    position: relative;
    float: left;
    background-repeat: no-repeat;
    width: 338px;
    height: 225px;
    margin-left: 80px;
    margin-top: 50px;
    margin-right: 100px;
    margin-bottom: 60px;
    border: solid #5B7290;
    border-width: 1px;
}

div#vasen {
    position: relative;
    float: left;
    margin-left: 30px;
    margin-top: 40px;
    border: solid #5B7290;
    border-width: 1px;
    width: 343px;
    height: 257px;
}

div#vasen2 {
    background-color: #E7EBF0;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    float: left;
    margin-left: 30px;
    margin-top: 10px;
    border: solid #5B7290;
    border-width: 1px;
    width: 950px;
}

div#vasen3 {
    float: left;
    background-color: #E7EBF0;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    margin-left: 30px;
    margin-top: 10px;
    border: solid #5B7290;
    border-width: 1px;
    width: 350px;
    height: 334px;
}

div#oikea {
	position: relative;
	float: left;
	width: 590px;
	margin-left: 10px;
	margin-top: 40px;
	border: solid #5B7290;
	border-width: 1px;
	background-color: #E7EBF0;
	height: :inherit;
}
div#oikea2 {
    position: relative;
    float: left;
    width: 590px;
    margin-left: 10px;
    margin-top: 10px;
    border: solid #5B7290;
    border-width: 1px;
    background-color: #E7EBF0;
}

div#oikea2 a {
    padding-left: 50px;
    font: 0.75em Arial, Eurostile, Verdana;
    color:            #333333;
}

.cellharmaa { color:#807e82; }

.resetpunainen { color:#c30106; }
