body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #171717;
	margin-top: 0;
	background-image:url('');
	background-attachment:fixed;
	background-position:center; 
}
.backgroundColor {
	background: #F8F5E7;
}

h1 {
	font-size: 4em;
	height: 50px;
	font-variant: small-caps;
	margin: 0;
	padding: 0;
}
h1.horseName {
	margin: 0;
	padding: 0.3em 0;
	font-size: 2em;
	height: auto;
}
h2 {
	text-decoration: none;
	font-size: 1em;
	font-variant: small-caps;
	margin: 0;
	padding: 1em 0.5em;
	text-align:center;
}
h2.horseName {
	font-size: 2em;
}
h2.typeName{
	font-size: 1.5em;
	color: #000;
	padding: 0;
	border: solid 2px #8B4513;
	width: 280px;
}
h2.fillyContent{
	margin: 0;
	padding: 0 0 0 2em;
	line-height: 20px;
	text-align: left;
}
h2.fillyFatherContent{
	margin: 0;
	padding: 0.2em 0 0 0.5em;
	line-height: 20px;
	text-align: left;
	font-size: 1.5em;
}

a img {
	border: 0;
}

a:link {
	text-decoration: none;
	color: #000;
}
a:visited{
	text-decoration: none;
	color: #000;
}
a:hover {
	color: #555;
	font-style: italic;
}

a:link.menu {
	text-decoration: none;
	color: #555;
	padding: 0.5em 1em;
	font-weight: bold;
}
a:visited.menu {
	text-decoration: none;
	color: #555;
	padding: 0 0.5em;
	font-weight: bold;
}
a:hover.menu {
	color: #000;
	background: #eee;
}
a.current {
	color: #000;
	background: #eee;
}

.content {
	background: #F8F5E7;
	margin: 0;
}


p {
	margin: 0;
	padding: 0;
}

table {
	border-collapse:collapse;
}

.floatNo {
	float: none;
	margin: 0;
}

/***********************************************************************

WIDTH

************************************************************************/


.w600 {
	width: 100%;
}

.w890 {
	width: 100%;
}

.w900 {
	width: 100%;
}

.w1000 {
	width: 100%;
}

.w1200 {
	width: 100%;
}

/***********************************************************************

Fontsize

************************************************************************/


.f80 {
	font-size: 8em;
}

/***********************************************************************

SETTINGS ABOVE!!

************************************************************************/



#header {
	height: 200px;
	width: auto;
	border-top: solid 2px #8B4513;
	border-bottom: solid 2px #8B4513;
}

#headerCenter {
	margin: 0 auto;
	width: auto;
}

#headerLogo {
	height: 150px;
	width: 200px;
	margin-top: 0;
	margin-left: 0;
	float: none;
	position: absolute;
	bord er-top: solid 1px red;
	bor der-bottom: solid 1px red;
	
	background-image:url('../img/logoB.png');
	background-position: 50% 20%;
	background-size: 150px;
	background-repeat: no-repeat;
}

#headerLogo > #logo {
	display: none;
	height: 150px;
}

#headerInfoWrapper {
	width: 100%;
	height: 150px;
	margin: 0;
}

#headerInfo {
	height: 150px;
	width: 100%;
	text-align: center;
	line-height: 150px;
	height: 0px;
}

#menuInfo {
	font-size: 160%;
	top: 130px;
	height: auto;
	width: 100%;
	text-align: center;
	margin: auto;
	background-image:url('');
}

#wrapperInfo {
	width: auto;
	margin: 3em 0 0 0;
}

#wrapperHorses {
	width: auto;
	margin: 0;
}

/***********************************************************************

IMAGES ON PAGES

************************************************************************/

.pageImage {
	margin: 0;
}



/***********************************************************************

TYPES

************************************************************************/

.wrapperType {
	margin: 0;
	bord er: solid red 2px;
}

.wrapperHorseType {
	width: 50%;
	float: left;
	margin: 3em 0;
}

.wrapperTypeCenter {
	width: 50%;
	float: none;
	margin: 0 auto;
}

div.horseType {
	width: 350px;
	height: 350px;
	border: 2px solid #8B4513;
	border-radius: 175px;
	-moz-border-radius: 175px; /* Old Firefox */
	overflow: hidden;
	margin: 0 auto;
	background-position:center;
	background-size:cover;
}
img.horseType {
	max-height: 350px;
	min-width: 350px;
}

.typeName {
	margin: 12em auto 3em;
	width: 300px;
	position:relative;
	left:0px;
	top:0px;
	z-index:1;
}



/***********************************************************************

HORSES

************************************************************************/

.horseNameAndStatusInfoWrapper {
	margin: 0;
	padding: 0 2em;
	float: left;
}
.horsesName {
	font-size: 2em;
	line-height: 120px;
	margin: 0;
	padding: 0;
	float: left;
}
.statusInfo {
	font-size: 1.2em;
	margin: 0;
	padding: 0;
	text-align: left;
}

.horsesImageThumbWrapper{
	width: 30%;
	height: 200px;
	overflow: hidden;
	background-position:center;
	background-size:cover;
	float: left;
}

img.horsesImageThumb{
	width: 100%;
	min-height: 110%;
	margin-top: 0;
}

.horseWrapper {
	margin: 2em auto;
	background-color: #F8F5E7;
	width: 100%;
}

/* ORIGINAL
.horsesImageThumbWrapper{
	width: 100%;
	height: 240px;
	overflow: hidden;
	background-position:center;
	background-size:cover;
}

img.horsesImageThumb{
	width: 100%;
	min-height: 110%;
	margin-top: -5%;
}

.horseWrapper {
	margin: 20px;
	float: left;
	text-align: left;
	background-color: #F8F5E7;
	width: 425px;
}
*/




/***********************************************************************

HORSE

************************************************************************/

#horseNameBox {
	margin: 0 auto;
	background-color: #F8F5E7;
	width: 100%;
}

img#horseFullImage{
	border-top: solid 7px #8B4513;
	border-bottom: solid 7px #8B4513;
	bor der-left: solid 1px #ccc;
	bor der-right: solid 1px #ccc;
	width: 100%;
	margin-bottom: 0;   /* !!!OBS!!! FUSKKOD !!!OBS!!! */
}


#wrapperLastNextImage {
	width: 600px;
	margin: 0 auto;
}
#lastImage, #nextImage {
	margin-bottom: -0;
	width: 25%;
	height: 0;
	position: relative;
	top: 0px;
	z-index: 1;
	opacity: 0.0;
	filter:alpha(opacity=0); /* For IE8 and earlier */
	background-repeat:no-repeat;
	background-position:center center;
}
#lastImage {
	float: left;
	left:0px;
	background-image:url('../img/other/arrow-left-64.png');
}
#nextImage {
	float: right;
	right:0px;
	background-image:url('../img/other/arrow-right-64.png');
}

ul.horseThumb{
	list-style: none;
	padding: 0;
	margin: 0;
}
.horseThumb li{
	display: inline;
	list-style-type: none;
}

a:hover #lastImage,a:hover #nextImage {
	opacity: 0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}

.horseThumb img{
	margin-top: 5px;
	width: 13px;
	padding: 10px;
	opacity: 0.3;
	filter:alpha(opacity=30); /* For IE8 and earlier */
}

.currentHorseThumb img{
	opacity: 0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}

.horseThumb:hover img{
	opacity: 0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}


.wrapperHorseContent {
	margin: 0 auto;
	width: 100%;
}

.wrapperHorseContent p {
	text-align: left;
	font-size: 250%;
	margin: 0;
	padding: 1em 1em;
}

.horseResults {
	padding: 1em 0;
}


.horseResults table {
	margin: 0 auto;
	padding: 0;
}
.horseResults th {
	background-color: #8B4513;
	margin: 0 auto;
	padding: 0.2em 0.5em;
	border: 1px solid #8B4513;
	vertical-align: middle;
	text-align: left;
}
.horseResults tr {
	margin: 0 auto;
	padding: 0;
	border: 1px solid #8B4513;
}
.horseResults td {
	text-align: left;
	margin: 0 auto;
	padding: 0.2em 0.5em;
	border: 1px solid #8B4513;
}


tr.r1 {
	background-color: #F8F5E7;
}
tr.r2 {
	background-color: #eee;
}


table#genealogy {
	width: 100%;
	background: #F1EEE9;
}
#genealogy td{
	padding: 1em 0.5em;
	background: #FEFDFD;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.g1{
	width: 33%;
}
.g2{
	width: 33%;
}
.g3{
	width: 33%;
}


/***********************************************************************

FILLY

************************************************************************/

.fillyImageThumbWrapper{
	width: 100%;
	height: 240px;
	overflow: hidden;
	background-position:center;
	background-size:cover;
}

.stoutBox {
	margin: 6em 1em 1em;
}

.fillyBox {
	width: 100%;
	width: 800px;
	margin: 0 auto 1em;
}

.fillyImageBox {
	width: 500px;
	float: left;
}

.fillyInfoBox {
	float: left;
	width: 300px;
}

div.fillyContentPre {
	font-size: 1em;
	font-style: italic;
	margin: 1em 0 0 1em;
	line-height: 20px;
	text-align: left;
}

div.fillyFatherContentPre {
	font-size: 1em;
	font-style: italic;
	margin: 0;
	line-height: 20px;
	text-align: left;
}

.fillyFatherWrapper {
	margin: 40px 0 20px;
	float: left;
	text-align: left;
	background-color: #F8F5E7;
	padding: 1.2em 5em;
}




#newChanges {
	overflow: hidden;
}

#newChanges img {
	min-height: 100px;
	min-width: 140px;
	margin: 0 0 -10px 0;
}

.newChangesImageWrapper {
	width: auto;
	height: 100px;
	overflow: hidden;
	display: inline-block;
	float: none;
	margin: -10px 0 -10px 0;
}