html.home {
	background: url(images/kings_landing_dark.jpg);
	background-position: center center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	 -moz-background-size: cover;
	 -o-background-size: cover;
	 background-size: cover;	
}

html {
	background: url(images/kings_landing.jpg);
	background-position: center center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	 -moz-background-size: cover;
	 -o-background-size: cover;
	 background-size: cover;	
}

body {
	font-family: "Fjalla One", sans-serif;
	color: #A66F29;

}

#container {
	width: 960px;
	margin: 0 auto;
}


/*nav*/
#header {
	width: 100%;
	height: 300px;
	background-color: #000000;
}

#nav {
	width: 900px;
	margin: 0 auto;
}

#nav li {
	display: inline;
}

#nav li a  {
	font-size: 24px;
	text-decoration: none;
	float: left;
}

#nav li a:link,
#nav li a:visited {
	color: #C8D9B8;
}

#nav li a:hover,
#nav li a:focus,
#nav li a:active {
	color: #D9B549;
}

#nav li.nhouses a ,
#nav li.nhistory a,
#nav li.nreligions a,
#nav li.nwatch a,
#nav li.nbeyond a {
	margin: 245px 16px 16px 16px;
}

#dhouses li.nhouses a:link,
#dhouses li.nhouses a:visited,
#dhistory li.nhistory a:link,
#dhistory li.nhistory a:visited, 
#dreligions li.nreligions a:link,
#dreligions li.nreligions a:visited,
#dwatch li.nwatch a:link,
#dwatch li.nwatch a:visited,
#dbeyond li.nbeyond a:link,
#dbeyond li.nbeyond a:visited {
	color: #D9B549;
}

li.logo a {
	display: block;
	float: left;
	width: 231px;
	height: 378px;
	background-image: url(images/logo.png);
}


/*home text*/

#home #wrapper {
	width: 960px;
}

#textbox {
	margin-left: 80px;
	margin-top: 5px;	
}

#home #wrapper .line1 {
	clear: left;
	width: 350px;
	font-size: 48px;
	font-weight: normal;
	text-transform: uppercase;
	color: #C8D9B8;
	float: left;
	line-height: 56px;
}

#home #wrapper h2.line3 {
	font-size: 26px;
	font-weight: normal;
	color: #A66F29;
	line-height: 40px;
}

#textbox #caption {
	width: 450px;
	margin-left: -25px;
}

#caption {
	margin-top: 10px;
}

#caption img {
	float: left;
	margin-right: 20px;
}

#intro_p {
	padding-top: 5px;
}

#intro_p p {
	font-size: 20px;
	line-height: 1.3em;
}

/*home slider*/

#slides {
      display: block;
      margin: 120px 0;
      padding-left: 10px;
      padding-right: 40px;
    }
    
#slides img.slidesjs-slide {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 0;
	display: none;
}

#slides img.slidesjs-slide_2 {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 10;
	display: block;
}
    
#slides .slidesjs-navigation {
      margin-top:5px;
    }

#slides .slidesjs-navigation {
      margin-top:3px;
    }

    #slides .slidesjs-previous {
      margin-right: 5px;
      float: left;
    }

    #slides .slidesjs-next {
      margin-right: 5px;
      float: left;
    }

    .slidesjs-pagination {
      margin: 6px 0 0;
      float: right;
      list-style: none;
    }

    .slidesjs-pagination li {
      float: left;
      margin: 0 1px;
    }

    .slidesjs-pagination li a {
      display: block;
      width: 13px;
      height: 0;
      padding-top: 13px;
      background-image: url(images/pagination.png);
      background-position: 0 0;
      float: left;
      overflow: hidden;
    }

    .slidesjs-pagination li a.active,
    .slidesjs-pagination li a:hover.active {
      background-position: 0 -13px
    }

    .slidesjs-pagination li a:hover {
      background-position: 0 -26px
    }

    #slides a:link,
    #slides a:visited {
      color: #333
    }

    #slides a:hover,
    #slides a:active {
      color: #9e2020
    }

    .navbar {
      overflow: hidden
    }


/*main pages*/

h2.title_header {
	color: #D9B549;
	font-size: 58px;
	text-transform: uppercase;
	font-family: Voltaire, sans-serif;
	clear: left;
	padding-top: 25px;
	font-weight: normal;
}

.dimmed {
	background-image: url(images/transbox.png);
	width: 820px;
	background-repeat: repeat-y;
	margin: 25px 0;
	float: left;
}

h4.reference,
.reference a {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 17px;
	color: #588C79;
	margin: 80px 0 10px;
}

.reference a:hover,
.reference a:focus,
.reference a:active {
	color: #D9B549;
}

h3 {
	font-size: 21px;
	font-weight: normal;
	color: #C8D9B8;
	text-transform: uppercase;
	margin: 50px 0 10px;
}

/*ads*/
#ads {
	width: 120px;
	padding: 30px 5px;
	margin-left: 825px;
	margin-bottom: 30px;
}
#ads img {
	display: block;
	width: 100px;
	margin: 0 auto 15px;
}


/*main houses*/

#houses_content {
	width: 750px;
	margin: 0 auto;
	padding: 40px;
}

#container ul.alpha {
	width: 910px;
	margin: 10px auto;
}

ul.alpha li {
	display: inline;
	padding: 6px;
	font-size: 40px;
	color: #000000;
	}

ul.alpha li a:link ,
ul.alpha li a:visited {
	color: #C8D9B8;
	text-decoration: none;
}

ul.alpha li a:hover ,
ul.alpha li a:focus,
ul.alpha li a:active {
	color: #D9B549;
}

.dimmed #houses_content h3 {
	font-size: 35px;
	color: #C8D9B8;
	font-weight: normal;
	line-height: 40px;
	padding-top: 30px;
	clear: left;
}

.dimmed #houses_content h4 {
	font-size: 24px;
	color: #588C79;
	font-weight: normal;
	line-height: 1.3em;
	padding-bottom: 10px;
}

#houses_content .sygil {
	float: left;
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
	margin-right: 15px;
}

#houses_content p {
	font-size: 17px;
	line-height: 24px;
}

.back {
	clear: left;
	padding: 40px 0;
}

.back a:link,
.back a:visited {
	color: #C8D9B8;
	text-decoration: none;
}

.back a:hover,
.back a:focus
.back a:active {
	color: #D9B549;
}

/*main history*/

#history_content  {
	width: 820px;
	padding: 30px;
}

ul.period {
	width: 820px;
	margin: 0 auto;
}

ul.period li {
	display: inline;
}

ul.period li a {
	display: block;
	float: left;
	text-transform: uppercase;
	padding: 15px 0;
}

ul.period li a:link,
ul.period li a:visited {
	color: #C8D9B8;
	font-size: 18px;
	text-decoration: none;
}

ul.period li a:hover,
ul.period li a:focus,
ul.period li a:active {
	color: #D9B549;
}

#current li a:link,
#current li a:visited {
	color: #D9B549;
}

ul.period li a #box_dawn {
	width: 180px;
	height: 50px;
	background-color: #A66F29;
	margin: 10px 10px 0 0;
}

ul.period li a #box_heroes {
	width: 180px;
	height: 50px;
	background-color: #D9B549;
	margin: 10px 10px 0 0;
}

ul.period li a #box_andals {
	width: 180px;
	height: 50px;
	background-color: #85A665;
	margin: 10px 10px 0 0;
}

ul.period li a #box_targ {
	width: 90px;
	height: 50px;
	background-color: #588C79;
	margin: 10px 10px 0 0;
}

ul.period li a #box_robert {
	width: 90px;
	height: 50px;
	background-color: #C8D9B8;
	margin: 10px 10px 0 0;
}

ul.period_label {
	clear: left;
	margin-bottom: 70px;
}

ul.period_label li {
	display: inline;
}

ul.period_label li.xlong {
	margin-left: 114px;
}

ul.period_label li.long {
	margin-left: 120px;
}

ul.period_label li.short {
	margin-left: 72px;
}

#history_content p {
	width: 675px;
	margin: 20px 0;
	font-size: 16px;
	line-height: 1.3em;
	color: #D9B549;
}

/*main religions*/

#religions_content  {
	width: 810px;
	padding: 30px;
}

img.faith {
	float: left;
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
	margin-right: 30px;
}

#religions_content p {
	width: 650px;
	font-size: 17px;
	line-height: 1.5em;
	color: #D9B549;
	margin: 0 auto 20px;
}

#religions_content ul {
	width: 650px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.5em;
	display: block;
	clear: left;
}

#religions_content ul li {
	color: #C8D9B8;
	list-style-position: inside;
	margin-left: 15px;
	text-indent: -15px;
}

#religions_content ul li span {
	text-transform: uppercase;
	color: #588C79;
}

/*main watch*/

#watch_content  {
	width: 700px;
	margin: 0 auto;
	padding: 30px 0;
}

#watch_content img.crow {
	width: 210px;
	position: relative;
	left: 200px;
	margin: 30px;
}

#watch_content p.main {
	width: 620px;
	color: #C8D9B8;
	font-size: 21px;
	line-height: 1.3em;
	margin: 0 auto;
}

#watch_content p.ranks {
	width: 700px;
	margin: 20px auto;
	font-size: 16px;
	line-height: 25px;
}

#watch_content #ranks img.embed {
	float: left;
}

#watch_content img.embed {
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
	margin-right: 40px;
}

#watch_content ul.ranks {
	width: 700px;
	font-size: 16px;
	line-height: 25px;
	list-style-type: none;
}

#watch_content ul.ranks li span {
	text-transform: uppercase;
	color: #588C79;
}

#watch_content #vows p.kneel {
	width: 300px;
	font-size: 16px;
	line-height: 30px;
	float: left;
	margin-left: 20px;
	margin-right: 30px;
}

#watch_content #vows p.oath {
	clear: left;
	width: 700px;
	font-size: 16px;
	line-height: 1.3em;
	text-align: center;
	margin: 15px 0;
}

#watch_content img.oath {
	display: block;
	width: 350px;
	margin: 10px auto;
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
}

#opinion p {
	text-align: center;
	margin: 20px 0;
	clear: left;
}	

ul.opinion {
	width: 430px;
	margin: 0 auto;
}

ul.opinion li {
	display: inline;
	width: 200px;
	margin: 0 auto;
}

ul.opinion li a {
	display: block;
	float: left;
	text-transform: uppercase;
	text-align: center;
	margin: 0 auto;
}

ul.opinion li a:link,
ul.opinion li a:visited {
	color: #C8D9B8;
	text-decoration: none;
}

ul.opinion li a:hover,
ul.opinion li a:focus,
ul.opinion li a:active {
	color: #D9B549;
	text-decoration: none;
}

ul.opinion li a #sygil_st {
	width: 200px;
	height: 200px;
	background-image: url(images/sygils/stark.jpg);
	background-repeat: no-repeat;
	margin: 15px 0;
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
}

ul.opinion li a #sygil_la {
	width: 200px;
	height: 200px;
	background-image: url(images/sygils/lannister.jpg);
	background-repeat: no-repeat;
	margin: 15px;
	-webkit-box-shadow: 2px 5px 5px 2px #000000;
	box-shadow: 2px 5px 5px 2px #000000;
}

/*main watch_pages*/

ul.opinion li a.current {
	color: #D9B549;
}

#opinion p.perspective {
	width: 500px;
	margin-left: 120px;
	text-align: left;
	line-height: 24px;
	color: #D9B549;
}

/*main beyond*/

.dimmed #beyond_content {
	padding: 25px;
}

#beyond_content #nav_photo {
	background-image: url(images/beyond.jpg); 
	width: 600px;
	height: 400px;
	margin: 25px auto;
}

#beyond_content ul {
	width: 400px;
	margin: 0 auto;
}

#beyond_content ul li {
	display: inline;
}

#beyond_content ul li a {
	display: block;
	float: left;
	margin-top: 340px;
	font-size: 21px;
}

#beyond_content ul li a:link,
#beyond_content ul li a:visited {
	text-decoration: none;
	color: #C8D9B8;
}

#beyond_content ul li a:hover,
#beyond_content ul li a:focus,
#beyond_content ul li a:active {
	text-decoration: none;
	color: #D9B549;
}

#beyond_content ul li a.creature {
	margin-left: 15px;
	margin-right: 70px;
}

#creature_content #beyond_content ul li a.creature,
#others_content #beyond_content ul li a.others,
#folk_content #beyond_content ul li a.folk {
	color: #D9B549;
}

#beyond_content ul li a.others {
		margin-right: 70px;
}

#beyond_content p.intro {
	width: 600px;
	margin: 10px auto;
	padding-bottom: 25px;
	line-height: 1.3em;
	font-size: 21px;
	color: #C8D9B8;
}

#beyond_content p {
	width: 750px;
	margin: 20px auto;
	font-size: 21px;
	line-height: 1.3em;
	color: #D9B549;
}

#beyond_content p #special{
	text-transform: uppercase;
	color: #588C79;
}

/*footer*/
#footer {
	background-color: #000000;
	height: 50px;
	width: 100%;
	position: fixed;
	left: 0px;
	bottom: 0px;
}

* html #footer {
   position:absolute;
   top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}

#footer h5 {
	font-weight: normal;
	font-size: 16px;
	width: 180px;
	margin: 10px auto;
}

#footer h5 a:link,
#footer h5 a:visited {
	color: #A66F29;
}

#footer h5 a:hover,
#footer h5 a:focus,
#footer h5 a:active {
	color: #D9B549;
	text-decoration: none;
}

