/* @override 
	http://172.28.2.58/cwf_styles/13_footeruniversal.css
	http://174.143.19.147/cwf_styles/13_footeruniversal.css
	http://www.history.org/cwf_styles/13_footeruniversal.css
	http://history.org/cwf_styles/13_footeruniversal.css */

/* Popular links */
#popularlinks ul {
	list-style: none;
	margin-left: 55px;
}
#popularlinks ul li {
	float: left;
	height: 150px;
	padding:20px 20px;
	text-align: center;
	position: relative;
}
#popularlinks ul li a {
	color: white;
	color: gray;
	font-size: 1.4rem;
}
#popularlinks .poplinkcircle {
	display: block;
	margin: 0 auto;
		margin-bottom: 5px;
	width: 78px;
	   height: 78px;
	   background: #666;
	   background: #002b47;
	   -moz-border-radius: 73px; 
	   -webkit-border-radius: 73px; 
	   border-radius: 73px;
	   position: relative;
	   
}
#popularlinks img {
	display: block;
		height: 70px;
		width: 70px;
		margin: 0 auto;
	   position: relative;
	   top: 4px;
	   left: 0px;
		-khtml-border-radius:90px;
		-moz-border-radius:90px;
		-webkit-border-radius:90px;
		border-radius:90px;
	   
}
#popularlinks ul li a:hover .poplinkcircle {
	   background: #004675; 
}


#popularlinks .tooltip {
	display: none;
	position: absolute;
	bottom: 120px !important;
	left: -40px;
	z-index: 20;

	width: 200px;
	height: auto;
	background: #fff;
	border: 2px solid beige;
	padding: 5px;
	
	color: #000 !important;
	text-align: left !important;
	
	-webkit-transition: all .2s .1s;
	   -moz-transition: all .2s .1s;
	     -o-transition: all .2s .1s;
	        transition: all .2s .1s;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
	-webkit-box-shadow: 0px 1px 5px rgba(0,0,0,.7);
	   -moz-box-shadow: 0px 1px 5px rgba(0,0,0,.7);
	        box-shadow: 0px 1px 5px rgba(0,0,0,.7);
	}
	
#popularlinks .tooltip:before{
    content: '';
    display: block;
    position: absolute;
    bottom: -9px;
    left: 50%;
    margin-left: -10px;
    background: url(/images_global/tips/tip.gif) no-repeat center top;
    width: 16px;
    height: 10px;
}
#popularlinks .tooltip img {
	border-radius: 0;
	border: 1px solid #333;
	float: left;
	margin: 5px 10px 5px 0px;
	width: 50px;
	height: 50px;;
}
#popularlinks ul li .tooltip a {
	color: #002B47 !important;
	line-height: 1.3em;
}
#popularlinks ul li .tooltip a, #popularlinks ul li .tooltip p {
	padding: 5px;
	line-height: 1.3em;
	display: block;
}
/*tooltip hover*/
#popularlinks ul li:hover .tooltip {
	display: block;
}



/* WHAT IS CW */
#movieLayer {
	width: 700px;
	position: absolute;
	left: 150px;
	top:7px;
	background: #06365A;
	border: 2px solid #BFBAB3;
	color: #000;
	font-size: 1.2em;
	line-height: 1.7em;
	padding: 10px 25px 25px 25px;
	z-index: 10;
	display: none;
	border-radius: 10px;
}
#movieLayer h3 {
}
#movieLayer a {
	color: #F4E9B4 !important;
	float: none;
}
#movieLayer p {
	clear: left;
	text-align: left;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.4em;
	color: #fff;
}
#movieLayer .movieClose {
	position: relative;
	left: 8px;
	top: -2px;
	color: #bbb;
	float: right;
	font-size: 9px;
	letter-spacing: .15em;
	text-transform: uppercase;
}
#movieLayer .movieClose img {
	position: relative;
	top: 7px;
	border: none;
	width: 12px;
	height: 12px;
	margin: 0;
		margin-bottom: 5px;
	   background: #666;
	   -moz-border-radius: 0; 
	   -webkit-border-radius: 0; 
	   border-radius: 0;
	   position: relative;
	   padding: 0;
	   display: inline;
	}
#movieLayer .movieClose:hover {
	color: #fff;
}
#movieLayer #player {
	margin-bottom: 10px;
}



#movieLayer #videoClips {
	text-align: left;
}
#moreCWinfo {
		text-align: left;
		margin-left: 15px;
}
#movieLayer #moreCWinfo a {
	display: inline;
	margin: 0;
	padding: 0;
	line-height: 1em;
}
#moreCWinfo #videoClips strong, #moreCWinfo, #moreCWinfo a {
	color: #fff;
}
#movieLayer .clips a.playing, #movieLayer .clips a.paused {
	color: #F4E9B4;
}





/* FOOTER */

footer {
	position: relative;
}

body > #footer {
	margin-top: 0;
}

#footer{
	background-color: #730101;
	background: #004675;
	color: white;
	width: 100%;
	font-family: arial, helvetica, sans-serif;
	padding-top: 10px;
	z-index: 6;
	position: relative;
}
#footer a{
	color: white;
	font-family: arial, helvetica, sans-serif;
	width: 100%;
}
#footerCallouts{
	width: 130px;
	color: white;
	font-size: 13px;
	float: left;
	margin-top: -20px;
	text-align: right;
}
#footerCallouts h6{
	color: white;
	font-size: 13px;
	font-weight: bold;
	padding: 10px;
}
#footerCallouts a.external{
	margin-top: 10px;
	font-size: 11px;
	position: relative;
}
#footerCallouts a.jlogo {
	background: url(/images_global/jamestownlogo.gif) no-repeat center center;
	width:115px;
	height:25px;
	margin-top:4px;
	display: block;
	float: right;
}

ul#footerLists{
	padding: 10px;
}
ul#footerLists li{
	list-style: none;
	postion:relative;
	width: 115px;
	font-size: 13px;
	float: left;
	margin: 2px 0
}
ul#footerLists li ul{
	margin-left: 0px;
	padding-left: 0;
}
ul#footerLists li a{
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1.3em;
	padding: 0px;
	margin-left: 0px;
	font-weight: bold;
}
ul#footerLists li ul li a{
	font-weight: normal;
	line-height: 1.5em;
	font-size: 11px;
}
#footerIcons{
	position: relative;
	height: 20px;
	float: right;
	text-align: left;
	padding: 10px;
	padding-right: 0;
	bottom:-115px;
	right: 5px;
}
#footerLanguages{
	position: relative;
	text-align: left;
	padding: 0px;
	bottom: -25px;
	padding-right: 0;
	float: right;
}
ul.languages{
	text-align: right;
}
ul.languages li{
	list-style: none;
	padding: 0 5px;
	display: inline-block;
}
#footerInfo{
	text-align: left;
	width: 100%;
	display: inline-block;
	font-size: 11px;
	float: right;
	margin-bottom: 10px;
	margin-top: 15px;
	color:white;
}

#footerIcons a{
	color: transparent;
	height:16px;
	margin-left: 8px;
	width: 16px;
	display: inline-block;
	font-size: 1px;
}

/* user registration form */
#userregistration {
	float: right;
	width: 135px;
	height: 110px;
	margin-top: -5px;
	border: none;
}

#userregistration #page-title {
	font-size: 12px;
	font-family: verdana;
	font-weight: normal;
	margin-bottom: 0;
	color: #ddd;
}
#userregistration label {
	display: none;
}
#userregistration .webform-component,
#userregistration .form-text {
	margin: 3px 0 0px;
	width: 100%;
	font-size: 11px;
	border: none;
}
#userregistration .form-text {
	padding: 0px 4px;
	border-radius: 2px;
	height: 22px !important;
}
#userregistration	.form-actions {
	margin: 0;
	text-align: right;
}
#userregistration .form-actions input.webform-submit {
	padding: 3px 10px;
	font-weight: normal;
	font-size: 12px;
	border-radius: 2px;
	border: none;
	margin: 6px 0 0;
	background: #568eb2;
	color: #fff;
}
#userregistration .webform-confirmation p {
	color: #ddd;
	line-height: 1.3em;
	margin: 10px 0 0;
}
#userregistration .links a {
	display: none;
}














#footerIcons a.facebook{
	background: url("http://www.history.org/images_global/social/sprite_social.png") no-repeat scroll left 0 transparent;
}
#footerIcons a.rssicon{
	background: url("http://www.history.org/images_global/social/sprite_social.png") no-repeat scroll left -18px transparent;
}
#footerIcons a.youtube{
	background: url("http://www.history.org/images_global/social/sprite_social.png") no-repeat scroll left -36px transparent;
}
#footerIcons a.twitter{
	background: url("http://www.history.org/images_global/social/sprite_social.png") no-repeat scroll left -54px transparent;
}
#footerIcons a.flickr{
	background: url("http://www.history.org/images_global/social/sprite_social.png") no-repeat scroll left -72px transparent;
}
#footer .languages a{
	display: block;
	font-size: 1px;
	height: 13px;
	margin-top: 0px;
	width: 18px;
	color: transparent;
}
#footer .languages a.american_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -42px transparent;
}
#footer .languages a.german_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left 0 transparent;
}
#footer .languages a.spanish_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -112px transparent;
}
#footer .languages a.french_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -98px transparent;
}
#footer .languages a.italian_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -70px transparent;
}
#footer .languages a.russian_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -28px transparent;
}
#footer .languages a.chinese_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -14px transparent;
}
#footer .languages a.japanese_flag{
	background: url("http://www.history.org/index_images10/sprite_flags.png") no-repeat scroll left -56px transparent;
}


/* Smaller Devices ------------ */
@media only screen and (max-width: 920px) {
	#popularlinks ul li {
		padding: 20px 15px;
	}
	li#footerHist,
	li#footerTeach,
	ul#footerLists li#footerPubs,
	li#footerResearch,
	li#footerMuseum,
	li#footerMedia,
	li#footerMedia{
		height:260px;
	}
	li#footerAbout,
	section#footerCallouts{
		height: 150px;
		}
	section#footerLanguages,
	section#footerIcons{
		width: 100%;
		position: static;
		float: right;
		text-align: right;
	}
	ul.languages{
		float: left;
	}

	#footerInfo{
		position: relative;
		margin-top: 30px;	
	}
}

@media only screen and (max-width: 855px) {
	#popularlinks ul li {
		padding: 20px 10px;
	}
}
/* 800 px /16 = 50em */
@media only screen and (max-width: 50em) {
	#popularlinks ul li {
		padding: 20px 10px;
	}
	ul#footerLists li ul  {
		display: none;
	}
	ul#footerLists li {
		float: none;
		width: auto;
		text-align: center;
		padding: 0px 10px 10px;
		display: inline-block;
	}
	ul#footerLists li a {
		font-size: 1.8rem;
	}
	li#footerHist, 
	li#footerTeach, 
	ul#footerLists li#footerPubs, 
	li#footerResearch, 
	li#footerMuseum, 
	li#footerMedia, 
	li#footerMedia,
	li#footerAbout {
		height: auto;
	}
	section#footerCallouts {
		float: right;
		height: auto;
	}
	#footerCallouts a.jlogo {
		height: 25px;
	}
	section#footerLanguages, 
	section#footerIcons {
		float: left;
		width: 50%;	
		clear: left;
	}
	section#footerLanguages {
		display: none;
	}
}