/* global setup */
html, body {
	overflow-x: hidden;
	width: 100%;
}
body {
	margin: 0;
	padding: 0;
	font: 14px/20px Arial, Helvetica, sans-serif;
	background: #6a6a6a;
}
a {
	color: #df0104;
	text-decoration: none;
}
.nounderline { text-decoration: none; }
a:hover { color: #f00; }
a img { border: none; }
img, div { behavior: url('http://www.tallinnhorseshow.ee/iepngfix.htc'); }

.rv a { color: #83827c; }
.rv a:hover { color: #95948d; }

/* site specific setup */
.container {
	width: 1000px;
	position: relative;
	float: left;
	margin: 0 50%;
	left: -500px;
}
.tihs {
	background: url('http://www.tallinnhorseshow.ee/images/darkbg.gif') repeat-y;
	color: #dedddd;
}
.nc, .rv {
	background: url('http://www.tallinnhorseshow.ee/images/lightbg.gif') repeat-y;
	color: #313131;
}
.leftsidebar {
	float: left;
	width: 300px;
	margin-left: 8px;
}
.banners {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 300px;
	text-align: center;
	float: left;
}
.leftside-banner {}
.top-banner {
	width: 673px
}
.top-banner li {
	float: left;
	height: 65px;
	border: 1px solid #aaa;
	margin: 5px;
	background: #ccc;
	width: 150px;
}

#makeMeScrollable {
	width: 100%;
	height: 65px;
	position: relative;
}
#makeMeScrollable div.scrollableArea * {
	border: none;
	position: relative;
	float: left;
	margin: 0 0 0 15px;
	padding: 0;
}

#makeMeScrollable .scrollableArea a {
	float: left;
}

.sidebanner { text-align: center; }
.sidebanner object, .sidebanner a { margin-top: 15px; }

.header {}
.logo {
	position: absolute;
	top: 39px;
	left: 29px;
	z-index: 50;
}
.searchrow {}
.searchrow img {  }
#searchform {}
#searchform input {}
#searchform .button {}
.searchrow .searchbuttonbox { }
.searchrow .searchbuttonbox img {}
.searchrow .searchbuttonbox {}
.searchimg {  }

.slideshow {
	position: relative;
	overflow: hidden;
	background: #aaa;
	float: left;
}

/*language*/
.lang {
	float: right;
	height: 30px;
	margin-right: 8px;
}
.lang a {
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	line-height: 32px;
	text-transform: uppercase;
	padding: 5px;
}
.tihs .lang a { color: #f9f8f8; }
.nc .lang a, .rv .lang a { color: #595858; }
.lang .active {}
.lang a.active {}

.indexlink { color: #e50204 !important; }
.nc .indexlink { color: #ad0f15 !important; }
.rv .indexlink { color: #a2a198 !important; }

.banner {
	color: #fefefe;
	font-size: 22px;
}
.banner li .image {
	float: right;
	width: 412;
	height: 267px;
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 27px;
}
.banner h1 {
	margin: 47px 0 0 0;
	font-size: 36px;
}
.banner .readmore {
	color: #fff9cb;
	margin-right: 40px;
	float: right;
}

.maincontainer {
	float: left;
	width: 673px;
	margin-left: 4px;
}

/*sidebar*/
.sidebar { float: left; }
.mainmenu {
	margin: 5px 0 0 0;
	padding: 0;
	list-style: none;
	float: left;
	width: 100%;
	position: relative;
}
.tihs .mainmenu { background: url('http://www.tallinnhorseshow.ee/images/darkmainmenubg.gif') repeat-x #f00; }
.nc .mainmenu, .rv .mainmenu { background: #595858; }
.mainmenu li {
	float: left;
	height: 43px;
	padding-top: 5px;
}
.tihs .mainmenu li:hover, .tihs .mainmenu li.active { background: url('http://www.tallinnhorseshow.ee/images/darkmainmenulibg.gif') repeat-x; }
.nc .mainmenu li:hover, .nc .mainmenu li.active, .rv .mainmenu li:hover, .rv .mainmenu li.active { background: #353535; }
.mainmenu li a {
	float: left;
	font-size: 16px;
	text-decoration: none;
	line-height: 33px;
	padding: 0 5px;
	font-weight: bold;
}
.tihs .mainmenu li a { color: #fefdfd; }
.nc .mainmenu li a, .rv .mainmenu li a { color: #fff; }
.mainmenu li a:hover, .mainmenu li a.active { background: url('http://www.tallinnhorseshow.ee/images/mainmenuabg.gif') repeat-x; }
.mainmenu li.first {}
.submenu, .sub2menu {
	padding: 0;
	list-style: none;
	float: left;
	z-index: 20;
	display: none;
	position: absolute;
	top: 47px;
	left: 0;
	float: left;
	height: 26px;
	width: 100%;
	background: url('http://www.tallinnhorseshow.ee/images/submenubg.gif') repeat-x;
}
.sub2menu {
	display: block;
	position: relative;
	left: 0;
	top: -14px;
}
.fakesubmenu {
	display: block;
	left: 312px;
	top: 103px;
	width: 672px !important;
}
.mainmenu ul.active { display: block; }
.rv .submenu, .rv .sub2menu { background: #dfded3; }
.submenu li, .submenu li.active, .sub2menu li, .sub2menu li.active {
	float: left;
	height: 26px;
	margin: 0;
	padding: 0;
}
.submenu li a, .sub2menu li a {
	font-size: 13px;
	color: #fffefe !important;
	height: 26px;
	line-height: 26px;
	padding: 5px 6px;
	font-weight: bold;
	position: relative;
	top: -1px;
}
.submenu li a.active, .submenu li:hover, .sub2menu li.active, .sub2menu li:hover { background: #e40103 !important; }
.rv .submenu li.active, .rv .submenu li:hover, .rv .sub2menu li.active, .rv .sub2menu li:hover { background: #f3f3f0 !important; }
.tihs .submenu li.active, .tihs .submenu li:hover, .tihs .sub2menu li.active, .tihs .sub2menu li:hover { background: #92000a !important; }
	
.rv .submenu li a, .rv .sub2menu li a {
	background: none !important;
	text-decoration: none;
	color: #585858 !important;
}

/*slider*/
.slider {
	float: left;
    width: 673px;
	height: 65px;
}

/*rightsidebar*/
.rightsidebar {
}

/*main*/
.main {
	float: left;
	margin: 0 30px 30px 30px;
	width: 611px;
}
.rightmain {
	padding-left: 122px;
	width: 446px;
}
.rightimage {
	float: right;
	width: 388px;
	height: 259px;
	background-repeat: no-repeat;
	background-position: center;
}
.rightimagetext {
	width: 368px;
	min-height: 22px;
	float: right;
	font-size: 12px;
	font-weight: bold;
	margin: 4px 0 0 0;
	padding: 10px;
	background: url('http://www.tallinnhorseshow.ee/images/rightimageh2bg.png') no-repeat;
}
.module {
	float: left;
	width: 241px;
	margin: 17px 0 0 12px;
}
.innerpage { margin-top: 85px; }
.main ul {}
.main li {}
.main .mainh1 {
	font-size: 18px;
	padding: 0;
	margin: 0 0 10px 0;
	float: left;
	width: 611px;
}
.tihs .main .mainh1 { color: #fdfcfc; }
.nc .main .mainh1 { color: #97968c; }
.main .mainp {
	float: left;
	width: 611px;
	padding: 0;
}

/*calculator*/
.modulehead {
	background: url('http://www.tallinnhorseshow.ee/images/calctop.jpg') no-repeat;
	width: 225px;
	height: 62px;
	padding: 10px 16px 0 0;
	text-align: right;
	color: #472923;
	font-size: 10px;
	float: left;
}
.modulehead h3 {
	float: left;
	color: #fefefe;
	font-size: 25px;
	margin: 17px 0 0 12px;
	padding: 0;
	font-weight: normal;
}
.modulebody {
	background: url('http://www.tallinnhorseshow.ee/images/calcbg.jpg') repeat-y;
	padding-left: 19px;
	width: 222px;
	font-size: 16px;
	float: left;
}
.modulebody .row, .modulebody .row2 {
	width: 222px;
	float: left;
	margin-top: 10px;
}
.modulebody .row label, .modulebody .row2 label {
	width: 67px;
	display: block;
	float: left;
}
.modulebody .row2 label { width: 50px; }
.modulebody .row input {
	width: 47px;
	height: 23px;
	border: 1px solid #d4d4d4;
	margin-right: 13px;
}
.modulebody .row2 img, .modulebody .row2 .button {
	float: left;
}
.modulebody .row2 .modulebutton {
	border: none;
	background: url('http://www.tallinnhorseshow.ee/images/buttonbg.png') repeat-x;
	height: 33px;
	color: #fff;
	font-size: 16px;
	padding: 0 9px 3px 9px;
	margin: 0;
	float: left;
	cursor: pointer;
}
#poll {
	list-style: none;
	padding-left: 15px;
	float: left;
}
#poll li {
	padding-left: 20px;
	background: url('http://www.tallinnhorseshow.ee/images/poll.png') no-repeat left 5px;
	cursor: pointer;
	float: left;
	clear: both;
}
#poll li.active { background-image: url('http://www.tallinnhorseshow.ee/images/polla.png'); }
.buttonbox {
	float: right;
	margin-right: 24px;
	cursor: pointer;
}
.buttonbox img {
	float: left;
}
#poll li.result {
	background: none;
	padding: 0;
}
#poll p {
	margin: 0;
	padding: 0;
	text-align: right;
	font-size: 13px;
	float: left;
	clear: both;
	width: 150px;
}
.pollbottom { margin-bottom: 25px; }

#gallery {
	float: left;
	margin: 20px 0 0 0;
}
#gallery { padding-bottom: 20px }
#gallery .image {
	float: left;
	border: 2px solid #6a6a6a;
	width: 140px;
	height: 140px;
	overflow: hidden;
	background-position: center;
}
#gallery div.image { margin: 0 0 26px 11px; }
#gallery .image a {
	width: 140px;
	height: 140px;
	display: block;
}
#gallery div.first { margin-left: 0 !important; }
.rv #gallery .image:hover { border-color: #cdcdcd; }
.nc #gallery .image:hover, .tihs #gallery .image:hover { border-color: #90000a; }
.footer {
	float: left;
	color: #fff;
	font: 14px/25px Arial, Helvetica, sans-serif;
	background: url('http://www.tallinnhorseshow.ee/images/footerbg.gif') repeat-x #8f000b;
	width: 966px;
	margin-left: 7px;
	padding-right: 12px;
	text-align: right;
}
.footer a {
	color: #fff;
	text-decoration: none;
	margin-right: 20px;
}
.copyright {
	width: 914px;
	float: left;
	text-align: right;
	color: #7c7c7c;
	font-size: 10px;
	font-weight: bold;
	margin-top: 5px;
}
.copyright a {
	color: #7c7c7c;
	text-decoration: none;
}
.footer p {
	margin: 0;
	padding: 0;
}
.hidden { display: none; }
.form {
	float: left;
	margin-top: 10px;
	width: 390px;
	padding-bottom: 10px;
}
.form label {
	width: 70px;
	display: block;
	float: left;
	height: 18px;
	clear: left;
	padding-left: 30px;
}
.form input, .form textarea {
	border: 1px solid #aabac8;
	background: #eee;
	color: #000;
	width: 255px;
	height: 16px;
	line-height: 16px;
	font-size: 11px;
	float: left;
	margin: 0 4px 4px 0;
}
.form textarea {
	width: 255px;
	height: 170px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.form img {
	float: left;
	clear: left;
	margin: 0 5px 0 100px;
	border: 1px solid #aabac8;
}
#code {
	width: 122px;
	height: 38px;
	line-height: 38px;
	margin-left: 4px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #000;
}
.form .button {
	width: 255px;
	color: #000;
	cursor: pointer;
	float: left;
	clear: left;
	margin-left: 100px;
	height: 23px;
}
.displaysomemessage {
	float: left;
	font-weight: bold;
	margin: 20px;
	width: 100%;
}

.l3item {
	border: 1px solid #aabac8;
	margin-bottom: 10px;
	padding: 0 10px;
	float: left;
	width: 625px;
	min-height: 180px;
	position: relative;
}
.l3item h2.itemheader, .l3itemlist a.itemheader {
	float: left;
	clear: both;
	margin-bottom: 0;
	color: #900;
}
.l3itemlist a.itemheader {
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	line-height: 20px;
}
.l3item h3.itemheader {
	float: left;
	clear: both;
	font-size: 12px;
	margin: 0;
	color: #600;
}
.l3item .itemtext {
	float: left;
	clear: both;
	display: block;
	width: 400px;
	margin-top: 30px;
}
.l3item .itemimage {
	position: absolute;
	top: 5px;
	left: 450px;
}
.nomargin { margin: 0 !important; }

.contactmap {
	float: right;
	margin: 10px 10px 0 0;
}
.calc {
	border: 1px solid #ccc;
	background: #eee;
	margin: 10px 10px 0 0;
	padding: 10px;
}

.jcarousel-control a {
	display: block;
	height: 15px;
	width: 15px;
	float: left;
	margin: 5px 5px 0 0;
	background: url('http://www.tallinnhorseshow.ee/images/dot.png') no-repeat;
}
.jcarousel-control a.selected { background-position: left -15px; }

.menulist {
	float: left;
	width: 100%;
}
.menulist .parents {
	margin: 0;
	padding: 0;
	font-size: 16px;
}
.menulist ul {
	list-style: none;
	margin: 20px 0 0 0;
	padding: 0;
}
.menulist ul ul { margin: 0; }
.menulist h1 {
	font-weight: bold;
	font-size: 18px;
	border-bottom: 1px solid #452923;
}
.menulist ul ul li {
	margin-top: 10px;
	border-bottom: 1px dotted #452923;
	position: relative;
}
.menulist ul ul li span { float: right; }
.menulist ul ul li.desc {
	border: none;
	font-size: 12px;
	margin: 0;
}
.menulist .itemico {
	position: absolute;
	width: 88px;
	text-align: right;
	left: -92px;
}

.list {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}

.newslist {
	list-style: none;
	padding: 0;
	margin: 0;
}

#newsletter .link {
	position: absolute;
	top: 457px;
	left: 40px;
	color: #fff9cb;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	z-index: 70;
	text-decoration: none;
}
.newsletterform {
	display: none;
	width: 290px;
	height: 172px;
	background: #eae9e6;
	border: 1px solid #ed5325;
	z-index: 70;
	position: absolute;
	top: 275px;
	left: 40px;
	color: #472923;
}
.newsletterform h1 {
	font-size: 16px;
	font-weight: normal;
	margin: 10px 0 10px 10px;
}
.newsletterform span {
	margin: 10px 0 0 10px;
	cursor: pointer;
	display: block;
}
.newsletterform form {
	margin-left: 10px;
	background: #fff;
	width: 271px;
	float: left;
}
.newsletterform img { margin-left: 10px; }
.newsletterform form img {
	margin: 0;
	float: left;
}
.newsletterform input {
	float: left;
	margin: 4px 7px 0 7px;
	border: 1px solid #d1d1d1;
	background: #f2f2f2;
	color: #aaa;
	font-size: 15px;
	width: 150px;
	height: 25px;
	line-height: 25px;
	padding: 0 8px;
}
.newsletterform .button {
	background: url('http://www.tallinnhorseshow.ee/images/nlbuttonbg.gif') repeat-x;
	width: auto;
	border: none;
	height: 34px;
	float: left;
	margin: 0;
	padding-bottom: 5px;
	color: #f2f2f2;
	font-size: 16px;
	cursor: pointer;
}
.nlform { cursor: pointer; }
.specmessage {
	display: block;
	height: 40px;
	top: 407px;
}
#nlremove { display: none; }

.index {
	background: url('http://www.tallinnhorseshow.ee/images/indexbg.jpg') no-repeat;
	width: 1024px;
	height: 647px;
	padding-top: 60px;
}
