@import url('//fonts.googleapis.com/css?family=News+Cycle:400,700|Open+Sans:400,700');

body {
  font-family:arial, sans-serif;
  margin:0 auto;
  text-align:center;
  background: url('https://media.007james.com/static/shadow.png') center repeat-y;
  background-color: white;
  color: rgb(61,61,61);
}

h1 {
  margin:-10px 0 3px 0;
  padding:0;
  font-family: "News Cycle", Arial, Helvetica, sans-serif;
  font-weight:normal;
  font-size: 2.0em;
}

h2,h3,h4 {
  font-size:17px;
  font-weight:bold;
  margin:0;
}

h2 {
   clear:both;
   font-family: "News Cycle", Arial, Helvetica, sans-serif;
   font-size: 1.6em;
   margin-top: -5px;
}
.summary h2  {clear:none;}
h3 {font-size:16px;}
h4 {font-size:13px;}

.content, .foot, .related {
   font-family: "Open Sans", Arial, Helvetica, sans-serif;
   font-size: 1.08em;
}
h2 span {
   font-size: 1.15em;
   padding-right:5px;
   color:black;
}
.summary h2 {
   font-size: 1.3em;
}
.serp h2 {
   font-size: 1.35em;
}

p {
  text-align:left;
  margin-top:0;
}

ul {margin-top:0;}

/* 
 * Tables/forms
 */

input {
  border:1px solid #bbb;
  width:200px;
  padding:0;margin:0;
}

input#q {
  padding: 0.2em 0;
}

img {border:1px solid black;}

th {
  text-align:left;
  vertical-align:top;
  font-size:smaller;
  margin-right:5px;
}

.rtable, .rtable tr, .rtable td {
   padding:0;
   margin:0;
   border:0;
   text-align:center;
}
.rtable td {
   width:25%;
   text-align:center;
}
.rtable span {
   width: 150px;
   height: 150px;
   border: 1px solid black;
   background-image: url('https://media.007james.com/static/sprite.jpg');
   background-repeat:no-repeat;
   display:inline-block;
}
table.rtable {
   width:100%;
}


/*
 * Links etc
 */

a {color:black;}
.content a, .foot a, .related a {
   color: #01358A;
   text-decoration:none;
   font-size:1.04em;
}
.content a:hover, .foot a:hover, .related a:hover {
   color:#0452D4;
   text-decoration:underline;
}
.rtable a {
   font-weight:normal;
   text-decoration:none;
   font-size:16px;
   color: #1e8896;
}
.rtable a:hover {
   color: #29b9cc;
   text-decoration:underline;
}


/*
 * Common classes
 */

.pn {
   clear:both;
   font-size:17px;
   font-weight:bold;
}

.iright {
  float:right;
  clear:right;
  margin-left:5px;
  padding:3px;
}
.ileft {
  float:left;
  clear:left;
  margin-right:5px;
  padding:3px;
}

p.date {
  font-size:smaller;
  color:gray;
  margin-bottom:2px;
}

h1 + p.date {
  margin-top:-6px;
  margin-bottom:7px;
}

.summary, .iright, .ileft {
  padding: 4px;
  background: #F3F3F3;
}

.thumb {
  width:90px;
  height:90px;
}
.sthumb {
  width:85px;
  height:85px;
  float:left;
  margin-right:5px;
}
.timg {
  float:left;
  margin-right:3px;
}



/*
 * Containers
 */

.main {
  width:742px;
  margin:auto;
  text-align:left;
}

.header {
  width:742px;
  margin:auto;
  background:url('https://media.007james.com/static/bg2.png') repeat-x #820808;
}

.logo {
  margin:10px;
  margin-bottom:6px;
  border:0;
  height:129px;
  width:497px;
}

.search {
  float:right;
  padding:5px;
  border:1px solid black;
  border-top:0;
  border-right:0;
  background:#b80808;
  color: #DBD9DA;
}
.search form {
   margin: 0px;
   padding: 1px;
}
.space {
  clear:right;
  float:right;
  margin-top:7px;
  padding:7px;
  border:1px solid black;
  border-right:0;
  background:white;
  width:207px;
  height:42px;
  font-size:12px;
}
.space img {
   vertical-align:middle;
   border:0;
}
.sp-facebook {
   height: 16px;
   width: 16px;
   display: inline-block;
   background: url('https://media.007james.com/static/sprite_small.png') 0 0 no-repeat;
}
.sp-twitter {
   height: 16px;
   width: 16px;
   display: inline-block;
   background: url('https://media.007james.com/static/sprite_small.png') 0 -16px no-repeat;
}

.content {
  background:#FFF;
  padding:5px 10px 5px 10px;
  clear:both;
}

.foot {
  clear:both;
  padding:5px;
  margin-top:16px;
}

.foot p {
   text-align: center;
   margin-bottom:0;
   font-size: 14px;
}

.related {
  padding:5px; 
  margin-top:3px;
  background:#F3F3F3;
  margin-top:16px;
}


/*
 * Quotes
 */

p.bigq {
   margin-left:20px;
}
.bigq q > span {
   position: relative;
   top: -16px;
   height: auto;
   font-size:1.3em;
}
.bigq q {
   margin-top:10px;
   line-height: 1.5em; 
}
.bigq q:before {
   content: '\201C';
   font-size:350%;
   padding-right: 10px;
}
.bigq q:after {
   content: '\201D';
   font-size:350%;
   padding-left: 10px;
} 

div.quotes table td:first-child {
   font-weight:bold;
   text-align:right;
   min-width:120px;
   width:125px;
   vertical-align:top;
}
div.quotes table {
   margin: 10px 0;
}
div.quotes hr {
   width: 30%;
   margin-left:70px;
   text-align:left;
   border: 1px dotted black;
   border-style: none none dotted;
}


/*
 * Menu
 */

ul.nav,
.nav ul{
  margin: 0;
  padding: 0;
  cursor: default;
  list-style: none;
  display: inline;
}

ul.nav{
  display: table;
  width:742px;
  height:40px;
  text-align:justify;
}
ul.nav>li{
  display: table-cell;
  text-align:center;
  position: relative;
  background:#363030 url('https://media.007james.com/static/sprite_small.png') 0 -32px repeat-x;
  padding-top:10px;
}

ul.nav ul>li>a{
  display: block;
  padding: 1px 10px 1px 5px;
}

ul.nav li ul>li {
  padding:0;
  text-align:left;
}

ul.nav li>ul{
  display: none;
  position: absolute;
  margin-top: 9px;
  z-index:1;
}

ul.nav li:hover>ul {
  display:block;
  border:1px solid #369;
}

ul.nav>li>a {
  padding:10px;
  height:40px;
}

ul.nav,
.nav ul,
.nav ul li a{
  background:#fff;
  color:#369;
}

ul.nav li:hover,
.nav ul li a:hover {
  background:#369;
  color:#fff;
}

ul.nav li:active,
.nav ul li a:active {
  background:#036;
  color: #fff;
}

ul.nav,
.nav ul{
  border-top:1px solid black;
}

ul.nav>li {border-bottom:1px solid black;}
ul.nav>li:hover {border-bottom:1px solid #369;}

.nav a{ text-decoration: none; }

ul.nav > li, ul.nav > li>a {
  color:white;
}


/*
 *  fimg
 */

a[href^="/i/"] img {
   position:relative;
   cursor: url('https://media.007james.com/static/zoom.png'), default;
}

#fimg-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fimg-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('https://media.007james.com/static/fimg.png');
}

#fimg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fimg-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fimg-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fimg-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fimg-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fimg-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('https://media.007james.com/static/fimg.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fimg-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fimg-left, #fimg-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent;
	z-index: 1102;
	display: none;
}

#fimg-left {
	left: 0px;
}

#fimg-right {
	right: 0px;
}

#fimg-left-ico, #fimg-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fimg-left-ico {
	background-image: url('https://media.007james.com/static/fimg.png');
	background-position: -40px -30px;
}

#fimg-right-ico {
	background-image: url('https://media.007james.com/static/fimg.png');
	background-position: -40px -60px;
}

#fimg-left:hover, #fimg-right:hover {
	visibility: visible; /* IE6 */
}

#fimg-left:hover span {
	left: 20px;
}

#fimg-right:hover span {
	left: auto;
	right: 20px;
}

.fimg-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
	top: -20px;
	right: -20px;
	background-image: url('https://media.007james.com/static/fimg.png');
	background-position: -40px -162px;
}

#fimg-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fimg-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fimg-title-over {
	padding: 10px;
   background: #111;
   opacity: 0.8;
	display: block;
}
