/* Common styles */

html, body {

  height: 100.1%;
}

body {

  background: #FFF url(/img/header.jpg) repeat-x top center;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;

  font-family: Tahoma, Arial, Sans-Serif;
  font-size: 12px;
  font-weight: normal;
  color: #666666;
}

input, textarea, select, option, table {

  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

h2 {

  font-family: Arial, Sans-Serif;
  font-size: 24px;
  font-weight: bold;
  color: #666666;

  padding-top: 0;
  padding-bottom: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3 {

  font-family: Arial, Sans-Serif;
  font-size: 14px;
  font-weight: normal;
  color: #666666;

  padding-top: 0;
  padding-bottom: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

h4 {

  font-family: Arial, Sans-Serif;
  font-size: 18px;
  font-weight: normal;
  color: #40A2E1;

  padding-top: 0;
  padding-bottom: 0;
  margin-top: 15px;
  margin-bottom: 10px;
}

#search h3 {
  text-align: center;
}

.bg-rating {
  height: 35px;
  padding-top: 5px;
  padding-left: 60px;
  background-repeat: no-repeat;
}

div, img {

  padding: 0;
  margin: 0;
  border: 0;
}

ul {

  list-style-type: disc;
  padding: 0 0 0 20px;
  margin: 0px;
}

li {

  list-style-type: disc;
  padding-bottom: 2px;
}

p {

  margin: 10px 0 5px 0;
}

.small {
  font-size: 11px;
}

/* Forms */

.comment-field {

  border: 1px solid #95ACC3;
  padding: 2px;
  width: 250px;
}

.inputarea {

  border: 1px solid #95ACC3;
  padding: 2px;
}

.selectbox {

  border: 1px solid #95ACC3;
  padding: 1px 2px;
}

.field {
  background: transparent url(/img/textfield.gif) no-repeat top left;
  height: 16px;
  padding: 2px;
  border: none;
  float: left;
}

.button, .update, .add {

  border: 1px solid #95ACC3;
  padding: 1px 2px;
  background-color: #0083D7;
  color: #FFF;
}

.button-img {
  float: left;
  padding: 0 5px;
}

/* Links */

a:link, a:visited, a:active {

  color: #0083D7;
  text-decoration: underline;
}
a:hover, a:visited:hover, a:active:hover {

  text-decoration: none;
}

a.hidden:link, a.hidden:visited, a.hidden:active {

  text-decoration: none;
}
a.hidden:hover, a.hidden:visited:hover, a.hidden:active:hover {

  text-decoration: underline;
}

.dgs a:link, .dgs a:visited, .dgs a:active {

  color: #0083D7;
  font-size: 10px;
  text-decoration: underline;
}
.dgs a:hover, .dgs a:visited:hover, .dgs a:active:hover {

  text-decoration: none;
}


/* Wrapper */

div#wrapper {

  width: 940px;
  min-height: 100%;
  padding: 0;
  margin: 0 auto 181px auto;
  text-align: left;
  position: relative;
}

* html #wrapper {

  height: 100%;
}


/* Header */

div#header {

  width: 940px;
  height: 55px;
  padding: 0px 0px 0px 0px;
  margin: 0 auto;
}

div#header h1 {

  width: 280px;
  padding: 0px 0px 0px 0px;
  margin: 0;
  float: left;
}

#social {

  width: 110px;
  padding: 3px 0px 0px 5px;
  margin: 0;
  font-size: 10px;
  float: left;
}

#social img {
  float: left;
  padding-right: 2px;
}

.social-ratamestari a {
  color: #000;
}

.social-ratamestari p {
  margin: 2px 0 0 0;
}

/* Päävalikko */

#header ul {

  background: transparent url(/img/menu.png) no-repeat top left;
  width: 515px;
  height: 29px;
  padding: 11px 15px 0px 15px;
  margin: 0px 0px 0px 0px;
  list-style-type: none;
  float: left;
}

#header ul li {

  display: inline;
  padding: 0px 12px 0px 12px;
  margin: 0 0 0 0;
  text-align: center;
  float: left;
}

#header ul li.padding {
  margin-top: -7px;
}

#header ul li a:link, #header ul li a:visited, #header ul li a:active {

  font-family: Tahoma, Arial, Sans-Serif;
  font-size: 12px;
  font-weight: normal;
  color: #FFF;
  text-transform: uppercase;
  text-decoration: none;
}

#header ul li a.selected:link, #header ul li a.selected:visited, #header ul li a.selected:active {

  color: #FFF;
  text-decoration: none;
}

#header ul li a:hover, #header ul li a:visited:hover, #header ul li a:active:hover {

  color: #000;
  text-decoration: none;
}

/* Haku */

div#search {

  width: 940px;
  padding: 0;
  margin: 10px 0 40px 0;
  text-align: center;
  float: left;
}

.search-ratamestari h2 {
  width: 620px;
  float: left;
}

.search-ratamestari #valikko {
  width: 300px;
  padding: 10px 0 0 10px;
  float: right;
}

/* Blogin header */

div#blogheader {

  background: transparent url(/img/header_rata.png) no-repeat top left;
  width: 940px;
  height: 128px;
  padding: 0;
  margin: 10px 0 10px 0;
  float: left;
}

div#blogheader #searchform {
  width: 260px;
  padding: 30px 0 0 30px;
  float: right;
}

/* Infolaatikot */

div#boxes {

  width: 940px;
  padding: 0;
  margin: 10px 0 10px 0;
  float: left;
}

#boxes .box {

  background: transparent none no-repeat top left;
  width: 230px;
  padding: 0 13px 0 70px;
  margin: 0px 0 10px 0;
  float: left;
}

#boxes .box h3 {
  padding-top: 0;
  margin-top: 2px;
}

/* SisÃ¤ltÃ¶ */

div#content,
div#courses {

  width: 940px;
  padding: 0;
  margin: 0;
  float: left;
}

#page-blogi div#content {
  
  width: 920px;
  padding: 0;
  margin: 0 0 0 20px;
  float: left;
}

div#text {

  width: 600px;
  padding: 0;
  margin: 0 30px 0px 0px;
  float: left;
}

div#courses #text {
  width: 580px;
  min-height: 500px;
  padding: 10px 9px 0 9px;
  margin: 0 30px 0px 0px;
  border-top: 1px solid #7F7F7F;
  border-left: 1px solid #7F7F7F;
  border-right: 1px solid #7F7F7F;
  float: left;
}

div#courses.photos #text {
  width: 600px;
  min-height: 500px;
  padding: 10px 0px 0 0px;
  margin: 0 30px 0px 0px;
  border-top: 1px solid #7F7F7F;
  border-left: 0px solid #7F7F7F;
  border-right: 0px solid #7F7F7F;
  float: left;
}

.column-left {
  
  width: 280px;
  padding-right: 10px;
  float: left;
}

#info-teksti {
  
  width: 330px;
  padding-right: 10px;
  float: left;
}

.column-right {
  
  width: 260px;
  padding-left: 30px;
  float: right;
}

#info-tiedot {

  background: #E5E5E5 url(/img/icon_info.jpg) no-repeat top right;
  width: 178px;
  margin-left: 30px;
  padding: 10px 10px 10px 20px;
  float: right;
  border: 1px solid #828282;
}

div#text p {

  line-height: 1.6;
}

/* Sivupalkki */

div#sidebar, div#sidebar-home {

  width: 310px;
  padding: 0;
  margin: 0;
  float: left;
}

#page-blogi #sidebar {
  width: 290px;
}

#page-blogi #sidebar-home {
  width: 280px;
}

/* Submenubar */

#sidebar ul {

  width: 250px;
  padding: 50px 0px 0px 0px;
  margin: 0px 0 0 0;
  float: left;
}

.widget_archive select,
.widget_categories select {
  width: 225px;
}

#page-blogi #sidebar ul {
  
  padding: 0px 0px 10px 0px;
}

#sidebar ul li {

  padding: 0;
  margin: 0;
  list-style-type: none;
}

#sidebar ul li a:link, #sidebar ul li a:visited, #sidebar ul li a:active {

  display: block;
  padding: 4px 0px 4px 10px;
  margin-bottom: 3px;
  border: 1px solid #0083D7;
  background-color: #0083D7;
  color: #FFF;
  text-decoration: none;
}

#sidebar ul li a.current:link, #sidebar ul li a.current:visited, #sidebar ul li a.current:active {

  background-color: #FFF;
  color: #0083D7;
  text-decoration: none;
}

#sidebar ul li a:hover, #sidebar ul li a:visited:hover, #sidebar ul li a:active:hover {

  background-color: #FFF;
  color: #0083D7;
  text-decoration: none;
}


/* Tabit */

ul#tabs {

  width: 600px;
  height: 25px;
  padding: 0px 0px 0px 0px;
  margin: 0px 310px 0px 0px;
  border-left: 1px solid #7F7F7F;
  list-style-type: none;
  float: left;
}

ul#tabs li {

  background: transparent url(/img/bg_tabs.jpg) repeat-x top left;
  display: block;
  padding: 0;
  margin: 0;
  border-top: 1px solid #7F7F7F;
  border-right: 1px solid #7F7F7F;
  text-align: center;
  float: left;
}

ul#tabs li.selected {
  background-image: none;
  background-color: #A4D7ED;
}

ul#tabs li a:link, ul#tabs li a:visited, ul#tabs li a:active {

  font-family: Tahoma, Arial, Sans-Serif;
  font-size: 12px;
  font-weight: normal;
  color: #666666;

  padding: 5px 10px 5px 10px;
  display: block;
  text-decoration: none;
}

ul#tabs li a.selected:link, ul#tabs li a.selected:visited, ul#tabs li a.selected:active {

  color: #000;
  text-decoration: none;
}

ul#tabs li a:hover, ul#tabs li a:visited:hover, ul#tabs li a:active:hover {

  color: #000;
  text-decoration: none;
}

/* RADAT */

#video-rata {
  width:305px;
  height:216px;
}

#radat-table {
  width: 580px;
}

#radat-table td {
  vertical-align: top;
  padding: 3px 2px;
}

.table-odd {
  background-color: #E3E3E3;
}

#link-map {
  background: #fff url(/img/link_kartta.jpg) no-repeat center left;
  width: 80px;
  height: 25px;
  padding: 10px 0px 20px 70px;
  margin-right: 3px;
  border: 1px solid #7F7F7F;
  float: left;
}

#link-scorecard {
  
  background: #fff url(/img/link_tuloskortti.jpg) no-repeat center left;
  width: 80px;
  height: 25px;
  padding: 10px 0px 20px 70px;
  margin-left: 3px;
  border: 1px solid #7F7F7F;
  float: left;
}

#link-tulokset {
  
  background: #fff url(/img/link_dgs.jpg) no-repeat center left;
  width: 200px;
  height: 50px;
  padding: 0px 18px 20px 90px;
  margin-top: 10px;
  border: 1px solid #7F7F7F;
  float: left;
}

.dgs {
  text-align: right;
}

#course-photos {
  
  width: 300px;
  padding: 5px 4px;
  margin-top: 10px;
  border: 1px solid #7F7F7F;
  float: left;
}

#course-video {
  
  width: 305px;
  padding: 5px 0 5px 5px;
  margin-top: 10px;
  float: left;
}

.title-ajankohtaista {
  background: #fff url(/img/icon_ajankohtaista.jpg) no-repeat center left;
  height: 16px;
  padding: 5px 0 5px 35px;
}

.title-kommentit {
  background: #fff url(/img/icon_kommentit.jpg) no-repeat center left;
  height: 16px;
  padding: 5px 0 5px 35px;
}

/* Kommentit */

.comments-box {
  background: #fff url(/img/comment_bg.jpg) repeat-y top left;
  width: 245px;
  padding: 0px 5px 0px 10px;
  margin-bottom: 10px;
}

.comments-text {
  background: transparent url(/img/comment_top.jpg) no-repeat top left;
  width: 245px;
  padding: 10px 5px 10px 10px;
  margin: 0 -5px 0 -10px;
}

.comments-footer {
  background: #fff url(/img/comment_bottom_even.jpg) no-repeat top left;
  width: 245px;
  height: 38px;
  padding: 0px 5px 0px 10px;
  margin: 0 -5px 0 -10px;
}

.comments-footer-odd {
  background: #fff url(/img/comment_bottom_odd.jpg) no-repeat top left;
  width: 245px;
  height: 38px;
  padding: 0px 5px 0px 10px;
  margin: 0 -5px 0 -10px;
}

.comments-wide-box {
  background: #fff url(/img/comment_bg_500.jpg) repeat-y top left;
  width: 485px;
  padding: 0px 5px 0px 10px;
  margin-bottom: 10px;
}

.comments-wide-text {
  background: transparent url(/img/comment_top_500.jpg) no-repeat top left;
  width: 485px;
  padding: 10px 5px 10px 10px;
  margin: 0 -5px 0 -10px;
}

.comments-wide-footer {
  background: #fff url(/img/comment_bottom_even_500.jpg) no-repeat top left;
  width: 485px;
  height: 38px;
  padding: 0px 5px 0px 10px;
  margin: 0 -5px 0 -10px;
}

.comments-wide-footer-odd {
  background: #fff url(/img/comment_bottom_odd_500.jpg) no-repeat top left;
  width: 485px;
  height: 38px;
  padding: 0px 5px 0px 10px;
  margin: 0 -5px 0 -10px;
}

.wp-caption-text {
  margin: 0;
  padding: 5px 10px;
  background-color: #AEAEAE;
  color: #000;
  width: 555px;
}

/* Kartta */

div#map {

  width: 600px;
  height: 500px;
  margin: 0px 0 0px 0;
}

#courses #text div#map {

  width: 580px;
  height: 500px;
  margin: 0px 0 0px 0;
}

p#marker-course {
  background: transparent url(/files/rakennekuvat/fgr_icon_course.png) no-repeat center left;
  height: 30px;
  padding: 6px 0 10px 40px;
}

p#marker-course-new {
  background: transparent url(/files/rakennekuvat/fgr_icon_new_course.png) no-repeat center left;
  height: 30px;
  padding: 6px 0 10px 40px;
}

p#marker-course-private {
  background: transparent url(/files/rakennekuvat/fgr_icon_private_course.png) no-repeat center left;
  height: 30px;
  padding: 6px 0 10px 40px;
}

/* Alaosa */

div#footer {

  background: transparent url(/img/footer.jpg) repeat-x top center;
  width: 100%;
  height: 30px;
  padding: 151px 0px 0 0px;
  margin: -181px 0 0 0;
  position: relative;
  clear: both;
  text-align: center;
  color: #AEAEAE;
  font-weight: bold;
}

div#footer ul,
div#footer ul li {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline;
  text-align: center;
}

div#footer ul li {
  margin: 0 20px;
}

div#footer a:link, div#footer a:visited, div#footer a:active {

  color: #FFF;
  font-weight: normal;
  text-decoration: none;
}

div#footer a:hover, div#footer a:visited:hover, div#footer a:active:hover {

  color: #AEAEAE;
  text-decoration: none;
}

/* News */

ul#news {

  clear: both;
  list-style-type: none;
  padding: 20px 0 0 20px;
  margin: 0px;
  border-left: 1px solid #7F7F7F;
  border-right: 1px solid #7F7F7F;
  border-top: 1px solid #7F7F7F;
}

ul#news li {

  list-style-type: none;
  padding: 0px 30px 10px 120px;
}

ul#news.newstype-fgr li {

  background: transparent url(/files/rakennekuvat/fgr_blogi_icon.png) no-repeat top left;
}

ul#news.newstype-radat li {

  background: transparent url(/files/rakennekuvat/rata_blogi_icon.png) no-repeat top left;
}

ul#news.newstype-muut li {

  background: transparent url(/files/rakennekuvat/fgr_muu_blogi_icon.png ) no-repeat top left;
}

ul#news li h3 {
  padding-top: 15px;
  margin-top: 0px;
}

/* Muut */

#photos p {
  float: left;
  width: 96px;
}

.thumbnail {
  float: left;
  width: 100px;
  height: 70px;
}

#photo-prev {
  width:200px;
  float: left;
}
#photo-back {
  width:200px;
  float: left;
  text-align: center;
}
#photo-next {
  width:200px;
  float: left;
  text-align: right;
}

img.kuva_left {

	padding-right: 10px;
	padding-bottom: 5px;
}

img.kuva_right {

	padding-left: 10px;
	padding-bottom: 5px;
}

div#text img[align="left"] {

	padding-right: 10px;
	padding-bottom: 5px;
}

div#text img[align="right"] {

	padding-left: 10px;
	padding-bottom: 5px;
}

/* BLOGI */

/*

#sidebar ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#sidebar ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

*/

/* Ratamestarit */

.textfield {

  border: 1px solid #95ACC3;
  padding: 2px;
  width: 495px;
}

.textarea {

  border: 1px solid #95ACC3;
  padding: 2px;
  width: 495px;
}

#city {

  border: 1px solid #95ACC3;
  padding: 1px 2px;
  width: 501px;
}

#holes {

  border: 1px solid #95ACC3;
  padding: 1px 2px;
  width: 131px;
}


.vayla-par {
  
  width: 60px;
  border: 1px solid #95ACC3;
  padding: 2px;
}

.vayla-length {
  
  width: 60px;
  border: 1px solid #95ACC3;
  padding: 2px;
}

.vayla-name {
  
  width: 210px;
  border: 1px solid #95ACC3;
  padding: 2px;
}

.vayla-description {

  width: 350px;
  border: 1px solid #95ACC3;
  padding: 2px;

}

#albumikuvat ul {
  width: 500px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #AEAEAE;
  padding-top: 10px;
}

#albumikuvat li {
  clear: both;
  float: left;
  width: 500px;
  list-style-type: none;
  border-bottom: 1px solid #AEAEAE;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#albumikuvat li div.kuva {
  float: left;
  padding-right: 10px;
}

#albumikuvat li div.kuva img {
  padding-bottom: 5px;
}

#albumikuvat li div.teksti {
  float: left;
}

ul#albumilista {
  width: 500px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #AEAEAE;
  padding-top: 10px;
}

ul#albumilista li {
  clear: both;
  float: left;
  width: 500px;
  list-style-type: none;
  border-bottom: 1px solid #AEAEAE;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
}


/* End of CSS */

