@import url(https://fonts.googleapis.com/css?family=Abel|Josefin+Sans|Bodoni+Moda);
@import url('https://fonts.googleapis.com/css?family=Parisienne|Roboto:400,700|Comorant+Unicase');


/* YLEISET */
 
body { background-image: linear-gradient(#425C77, #1F344B); background-attachment: fixed; margin: 0; }

div,td,pre { font-family: 'Abel'; font-size: 16px; font-weight: normal; font-style: normal; color: #707070; text-shadow: 2px 1px 7px #FFF; line-height: 1.6; letter-spacing: 0.5px; text-align:justify; }

#wrapper { width: 1000px; position: relative; min-height: 100%; margin: 0 auto; }

/* Otsikko- ja linkkipalkin muotoilut */

#otsikko { background: url(img/otsbg.png); text-align:center; width: 100%; margin: 0 auto; height: 348px; margin-top: 70px;
border-bottom: solid #E2E2E2 2px; }

#nav { position:fixed;     z-index: 100;
    top: 0; background-image: linear-gradient(#425C77, #1F344B); width:100%; margin:0 auto; padding:5px 0; text-align:center; border-bottom: solid #FFFFFF 2px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

font-family: 'Bodoni Moda';
font-weight: 300;
font-size: 26px;
color: #eee;
text-shadow: 2px 1px 7px #000; 
letter-spacing: 1px; 
text-transform: uppercase;
padding: 0;
 }

#nav ul { margin: 0 auto; padding: 10px 0 10px 0; }
#nav li { list-style-type: none; display: inline; padding: 0 15px; }

#footer {
font-family: 'Abel';
font-weight: 300;
font-size: 13px;
color: #eee;
text-shadow: 2px 1px 7px #000; 
letter-spacing: 2px; 
text-transform: uppercase;
text-align:center;
margin: 20px;
 }


/* Tekstilaatikon muotoilut */

#content { width: 940px; background: #FFF; padding: 10px 30px; box-shadow: 3px 3px 14px -3px rgba(0,0,0,0.60); border-bottom: solid #E2E2E2 7px; }


/* OTSIKOT */

h1 {
text-align:center;
font-family: 'Bodoni Moda';
font-weight: 300;
font-size: 26px;
color: #3E5C76;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
}

h2 {
text-align:left;
font-family: 'Bodoni Moda';
font-weight: 300;
font-size: 20px;
color: #3E5C76;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
text-transform: uppercase;
margin: 20px 0 0 30px;
}

h3 {
text-align:left;
font-family: 'Abel';
font-weight: 300;
font-size: 20px;
color: #3E5C76;
text-shadow: 2px 1px 7px #BCBCBC; 
letter-spacing: 1px; 
margin: 20px 0 -10px 30px;
}

h3 small { font-size: 16px; margin-left: 20px; }

.pikkuinfo { color: #858585; font-size: 15px; margin-left: 5px; font-style:italic; }
 
/* LINKIT */

a:link, A:visited, A:active { color: #3E5C76; text-decoration: underline; }
a:hover { color: #6A2D47; text-decoration: none; }


/* Navilinkkien muotoilut */

#nav a:link, #nav a:active, #nav a:visited { display: inline-block; font-family: 'Bodoni Moda'; font-weight: 300; font-size: 16px; color: #eee; text-transform: uppercase; text-align: center; text-shadow: 2px 1px 7px #000; text-decoration: none; letter-spacing: 1px; padding: 0 10px 10px 10px; }

#nav a:hover { color: #E0E1DC; text-decoration: none; }


.ak{font-family:Parisienne;font-size:25px;color:#F1B467;font-weight:normal;margin-top:0px;margin-left:150px;text-shadow: 0 0 1px #8f8f8f;}

.perustiedot, .sukutaulu, .ohjeet { width: 100%; border-collapse:collapse;}
.perustiedot td, .sukutaulu td { padding: 7px 15px; border: solid #DFDFDF 1px; }
.ohjeet td { padding: 10px 15px; }

.kys { 
background-image: linear-gradient(#425C77, #1F344B); 
font-family: 'Abel'; font-weight: bold; font-size: 15px; color: #eee; text-transform: uppercase; text-align: center; text-shadow: 2px 1px 7px #000; text-decoration: none; letter-spacing: 1px;
}

.vas { background: #F8F8F8; }

.ohje { 
background-image: linear-gradient(#425C77, #1F344B); 
font-family: 'Abel'; font-weight: bold; font-size: 15px; color: #eee; text-transform: uppercase; text-align: left; text-shadow: 2px 1px 7px #000; text-decoration: none; letter-spacing: 1px;
}

.historia { font-family: 'Abel'; font-weight: normal; font-size: 17px; font-style: italic; }

.oritd { background: #F8F8F8; }
.tammatd { background: #FCFCFC; }

.kilpailut { border-collapse:collapse; }
.kilpailut td { padding: 5px 15px; border-bottom: solid #DFDFDF 1px; }

.rider { box-shadow: 1px 1px 10px #ddd; border: 8px #fff solid; width: 85%; }

.hr { background: url(img/hr.png) no-repeat; background-position: center center; width: 100%; height: 51px; }

.ruusukkeet { text-align:center; }
.ruusukkeet img { max-height: 130px; margin: 0 5px; }





.kalenteri { border-collapse:collapse; border-top: solid #DFDFDF 1px; width: 100%;}
.kalenteri td { border-bottom: 1px solid #DFDFDF; padding: 6px 10px; }
.kalenteri tr {-webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; }
.kalenteri tr:hover { 
background-color: rgba(224, 225, 220, 0.2); -webkit-transition: all 0.3s ease-in; -moz-transition: all 0.3s ease-in; -o-transition: all 0.3s ease-in; transition: all 0.3s ease-in;  }
.kalenteri b { font-weight: bold; color: #3E5C76; }

 
.merites {
    text-align: center; 
    font-style: italic;
    line-height: 1.9;
    font-size: 1.1rem;
    display: block;
    color: var(--main-color);
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
background-image: linear-gradient(#425C77, #1F344B);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 9px 9px 0 9px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -150px;
}

.tooltiptext img { width: 100%;  border-radius: 6px; }

.tooltip:hover .tooltiptext {
  visibility: visible;
}


.reunat { border-radius:30px 30px 30px 30px;  }



	/* HEVOSLISTAUS */
.hevoskuvat { text-align:center; }
.hevoskuvat small { color: #858585; font-size: 12px; text-transform:uppercase; letter-spacing: 1px; }

.hevoskuvat img {
margin:40px 15px 0px 15px;
border-radius:5px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
height: 130px;
}
.hevoskuvat1 { text-align:center; }
.hevoskuvat1 small { color: #858585; font-size: 12px; text-transform:uppercase; letter-spacing: 1px; }

.hevoskuvat1 img {
margin:40px 15px 0px 15px;
border-radius:5px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
height: 230px;
}
#hevoslista {
width: 311px;
float:left;
border-collapse:collapse;
margin: 5px 0;
}

#hevoslista td { padding: 10px 0px; }

#hevoslista img {
	height: 110px;
	margin: 0 20px 0 0;
	box-shadow: 1px 1px 3px #EEE;
border-radius: 100px;
}

#hevoslista a:link, #hevoslista a:visited, #hevoslista a:active {
        font-family: 'Abel';
        font-size: 17px;
        font-weight: 300;
        font-style: normal;
        color: #3E5C76;
        text-shadow: 2px 1px 7px #eee;
        line-height: 1.5;
	text-decoration: none;
}

#hevoslista a:hover { color: #E3C4C9; }

.nimi { text-align:center;
    background: rgb(227,196,201);
    background: linear-gradient(0deg, rgba(227,196,201,1) 0%, rgba(201,149,162,1) 100%);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.05);
border-radius: 9px 0 9px 0; box-shadow: 1px 1px 3px #7E7E7E; }


.piilodiv {
    display:none; /* älä muuta tätä, tai muuten div ei oletuksena ole piilossa. */
}

.trigger {
    color:orange;
}

.trigger:hover {
    color:purple; 
    cursor:pointer;
}
 

::-webkit-scrollbar { width: 7px; height: 3px; }
::-webkit-scrollbar-button { width: 0px; height: 0px; }
::-webkit-scrollbar-thumb { background: #C1C1C1; border: 0px dotted #ffffff; border-radius: 50px; }
::-webkit-scrollbar-thumb:hover { background: #A8A8A8; }
::-webkit-scrollbar-thumb:active { background: #A8A8A8; }
::-webkit-scrollbar-track { background: #F1F1F5; border: 0px none #ffffff; border-radius: 50px; }
::-webkit-scrollbar-track:hover { background: #F1F1F5; }
::-webkit-scrollbar-track:active { background: #F1F1F5; }
::-webkit-scrollbar-corner { background: transparent; }
