/* HIPPOS Content styles */

.content, .content p {
	color:#333333;
	font-size:12px;
	line-height:16px;
	margin:0;
	padding:0;	
}

.content .p4table {
	color:#333333;
	font-size:12px;
	line-height:16px;
	margin:0;
	padding:0;	
}

.content img {
	margin:10px;
}

img {
	border:none;
}

.content img[align="left"] {
    margin-right:25px;
    margin-left:0px;
}
    
.content img[align="right"] {
    margin-right:0px;
    margin-left:25px;
}

.content a {
	color:#333333;
	text-decoration:underline;
	font-weight:bold;
}

.content a:hover {
	color:#333333;
	text-decoration:none;
	font-weight:bold;
}

.centerblock .content {
	color:#333333;
	font-size:12px;
	line-height:16px;
}

.wide .centerblock .content {
	width:702px;
}

.centerblock .content p {
	color:#333333;
	font-size:12px;
	line-height:16px;
	margin:0;
	padding:0;
}

.centerblock .content p.warning-text {
	color: red;
}

.content ul {
	list-style-type: circle;
    padding-left: 33px;
}
.content ol {
	list-style-type: decimal;
    padding-left: 33px;
}

.content ul li {
	padding:3px 0 3px 0;
}

.content ol li {
	padding:3px 0 3px 0;
}

.content_image_caption {
	text-align:center;
	font-size:11px;
	font-style:italic;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	margin:0 10px 10px 10px;
}

/* raviurheilu */

body.raviurheilu .content h1,#raviurheilu .content h1 {
	color:#7057c4;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.raviurheilu .content h2,#raviurheilu .content h2 {
	color:#7057c4;
	font-size:23px;
	line-height:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}


body.raviurheilu .rightblock .content h3,#raviurheilu .content h3 {
	background:url(../images/raviurheilu_h3_bg.jpg) no-repeat top #9585ce;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

/* jalostus ja näyttelyt */

body.jalostus_ja_nayttelyt .content h1,#jalostus_ja_nayttelyt .content h1 {
	color:#3084b8;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.jalostus_ja_nayttelyt .content h2,#jalostus_ja_nayttelyt .content h2 {
	color:#3084b8;
	font-size:23px;
	line-height:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.jalostus_ja_nayttelyt .rightblock .content h3,#jalostus_ja_nayttelyt .content h3{
	background:url(../images/jalostus_h3_bg.jpg) no-repeat top #7bb7dc;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

/* hippos */

body.suomen_hippos_ry .content h1,
#suomen_hippos_ry .content h1,
body.muut .content h1 {
	color:#0040a6;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.suomen_hippos_ry .content h2,
#suomen_hippos_ry .content h2,
body.muut .content h2 {
	color:#0040a6;
	font-size:23px;
	line-height:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.suomen_hippos_ry .rightblock .content h3,
#suomen_hippos_ry .content h3,
body.muut .content h3 {
	background:url(../images/hippos_h3_bg.jpg) no-repeat top #759ad4;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

/* rekisterointi ja omistaminen */

body.rekisterointi_ja_omistaminen .content h1,#rekisterointi_ja_omistaminen .content h1 {
	color:#33a3a4;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.rekisterointi_ja_omistaminen .content h2,#rekisterointi_ja_omistaminen .content h2 {
	color:#33a3a4;
	font-size:23px;
	line-height:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.rekisterointi_ja_omistaminen .rightblock .content h3,#rekisterointi_ja_omistaminen .content h3 {
	background:url(../images/omistaminen_h3_bg.jpg) no-repeat top #71c0c1;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

/* nuoriso */

body.nuoriso .content h1,#nuoriso .content h1 {
	color:#52a539;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.nuoriso .content h2,#nuoriso .content h2 {
	color:#52a539;
	font-size:23px;
	line-height:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

body.nuoriso .rightblock .content h3,#nuoriso .content h3 {
	background:url(../images/nuoriso_h3_bg.jpg) no-repeat top #82c16e;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}


/* general */

.centerblock .content h3 {
	font-size:14px;
	font-weight:bold;
	color:#333333;
	text-transform:uppercase;
	padding:0;
	margin:10px 0 10px 0;
}

.rightblock .content p { 
	border:1px solid #cacaca;
	border-top:none;
	margin:0;
	color:#333333;
	font-size:11px;
	line-height:14px;
	background:url(../images/rightblock_content_bg.jpg) repeat-x bottom #FFF;
	padding:8px;
}

body.frontpage .rightblock .content p { 
	border:1px solid #cacaca;
	border-top:none;
	margin:0;
	color:#333333;
	font-size:11px;
	line-height:14px;
	background:url(../images/frontpage_gradient.png) repeat-x bottom #FFF;
	padding:8px;
}

.rightblock .content {
	color:#333333;
	font-size:11px;
	line-height:14px;	
	margin:0 0 10px 0;
}

.frontpage .rightblock .content {
	margin:0;
}

.content hr {
	border:0;
	border-bottom:1px solid #dddddd;
	height:1px;
	margin:0 0 18px 0;
	padding-top:15px;
	width:auto;
}


/* heppadigest */

.content .heppadigest .heppaheading a {
	color:#333333;
	text-decoration:none;
	font-size:11px;
}

.content .heppadigest .heppaheading .heppadate {
	color:#505050;
	font-size:10px;
}


/* feedreader */

body.frontpage #raviurheilu .content .feedreader h1 {
	background:url(../images/hevosurheilu_title.png) no-repeat left bottom transparent;
	text-indent:-9999px;
	margin:0;
	display:block;
}


body.frontpage #jalostus_ja_nayttelyt .content .feedreader h1 {
	background:url(../images/jalostus-nayttely_title.png) no-repeat left bottom transparent;
	text-indent:-9999px;
	margin:0;
	display:block;
}

body.frontpage  .content .feedreader .rss_personnel_item{ 
	border:1px solid #cacaca;
	border-top:none;
	margin:0;
	color:#333333;
	font-size:11px;
	line-height:14px;
	background:url(../images/frontpage_gradient.png) repeat-x bottom #FFF;
	padding:8px;
}

body.frontpage #rekisterointi_ja_omistaminen .content .feedreader  h1  {
	background:url(../images/omistaminen_h3_bg.jpg) no-repeat top #71c0c1;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

body.frontpage #nuoriso .content .feedreader h1 {
	background:url(../images/nuoriso_h3_bg.jpg) no-repeat top #82c16e;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

body.frontpage #suomen_hippos_ry .content .feedreader h1  {
	background:url(../images/hippos_h3_bg.jpg) no-repeat top #759ad4;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

body.frontpage .content .feedreader .rss_personnel_item_pubdate {
	display:none;
}

body.frontpage .content .feedreader a {
	text-decoration:none;
}

/* newsdigest */

body.frontpage .content .newsdigest .newsdigesttitle  {
	background:url(../images/hippos_h3_bg.jpg) no-repeat top #759ad4;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

body.frontpage .content .newsdigest .newsdate {
	color:#505050;
	font-size:10px;
}

body.frontpage .content .newsdigest .newsheading a {
	color:#333333;
	text-decoration:none;
	font-size:11px;
}

body.frontpage .content .newsdigest .newsingress {
	display:none;
}

body.frontpage .content .newsdigest .newsreadmore {
	display:none;
}

/* rightblock */

body.frontpage .contentblock table .right .content a {
	display:block;
	background:url(../images/sidemenuarrow.png) no-repeat left 4px;
	padding-left:12px;
	text-decoration:none;
}

body.frontpage .contentblock .rightblock .content_table .right .content h3 {
	background:url(../images/pikalinkit_h3_bg.jpg) no-repeat top left #a0a0a0 !important;
	color:#FFF;
	font-size:14px;
	padding:8px 0 5px 9px;
	margin:0;
	text-transform:uppercase;
	font-weight:bold;
	display:block;
}

.content .searchheading a {
	line-height:30px;
	font-size:30px;
	text-decoration:none;
/*	padding:0;*/
	margin:0 0 10px 0;
	font-weight:normal;
}

.searchsummary {
	margin:10px 0 10px 0;
}

.searchresultcount {
	margin:10px 0 10px 0;
}

/* news */

body .news .content h1 {
    color: #333333;
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.centerblock .content p.newstitle {
	color:#0040a6;
	line-height:30px;
	font-size:30px;
	padding:0;
	margin:0 0 10px 0;
	font-weight:normal;
}

.raviurheilu .centerblock .content p.newstitle {
	color:#7057c4;
}
	
.jalostus_ja_nayttelyt .centerblock .content p.newstitle {
	color:#3084b8;
}

.suomen_hippos_ry .centerblock .content p.newstitle,
.muut .centerblock .content p.newstitle {
	color:#0040a6;
}

.rekisterointi_ja_omistaminen .centerblock .content p.newstitle {
	color:#33a3a4;
}

.nuoriso .centerblock .content p.newstitle {
	color:#52a539;
}

.centerblock .content .newsdate {
	display:block;
	font-size:11px;
	margin:0 0 5px 0;
}

.centerblock .content .newsheading a {
	font-size:14px;
	font-weight:bold;
	color:#333333;
	text-transform:uppercase;
	display:block;
	text-decoration:none;
	padding:0;

}

.centerblock .content .newsheading {
		margin:10px 0 10px 0;
}

.centerblock .content .newsreadmore {
	margin:10px 0 0 0;
	font-size:11px;
}

.centerblock .content .newsrow0,.centerblock .content .newsrow1 {
		border-bottom:1px solid #d5d5d5;
		padding-bottom:10px;
}

.centerblock .content .news .content .newsrow0 .newsingress,.centerblock .content .news .content .newsrow1 .newsingress {
	margin:0;
	font-weight:normal;
}

.centerblock .content .news .content .newsingress {
	margin:10px 0 10px 0;
	font-weight:bold;
}

.main_menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}

.main_menu li {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main_menu--link {
  text-decoration: none;
  display: block;
  width: 100px;
  text-align: center;
}

.main_menu--link img {
  height: auto;
  width: 60px;
  margin: 10px 0 0 0;
}

.main_menu--link h3 {
  height: 25px;
  line-height: 25px;
  color: #1B365D;
  text-transform: uppercase;
  font-size: 11px;
  text-align: center;
}
