/* CSS Document */

/* $Id$
 * New layout stylesheet for librarians.iop.org
 * Author: ian.armstrong@iop.org
 * Copyright (C) IOP Publishing Ltd 2008-2009
 */

@import url(nu/regform.css);

/* 3. Typography ------ */

/* Self-hosted webfonts – FontSpring */

@font-face {
    font-family: 'FranklinGothicFSCondensed';
    src: url('../fonts/FranklinGothic-Cd-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-Cd-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSCondensedItal';
    src: url('../fonts/FranklinGothic-CdIt-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-CdIt-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSDemiCondensed';
    src: url('../fonts/FranklinGothic-DemiCd-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-DemiCd-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FranklinGothicFSDemiCondensedItal';
    src: url('../fonts/FranklinGothic-DemiCdIt-webfont.woff') format('woff'),
         url('../fonts/FranklinGothic-DemiCdIt-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Body sets default font, size 16px/1.6rem, line 24px/2.4rem */
/* All rem sizes are in units of 10px due to html font-size: 62.5% setting */

body {
  color: #222;
  font-size: 16px; /* iop.css */
  font-size: 1.6rem;
  line-height: 1.35;
  overflow-x: hidden; 
  font-family: 'FranklinGothicFSCondensed',Arial,sans-serif;
}

/* bold and italic styles, specifiying fonts */
i, em, .italic {     
        font-family: 'FranklinGothicFSCondensedItal',Arial,sans-serif;
        font-style: normal;
}

b, strong {     
        font-family: 'FranklinGothicFSDemiCondensed',Arial,sans-serif;
        font-weight: normal;
}

b i, strong i, 
b em, strong em, 
i strong, em strong,
i b, i strong
 {     
        font-family: 'FranklinGothicFSDemiCondensedItal',Arial,sans-serif;
        font-weight: normal;
}


button, input, select, textarea {
    font-family: 'FranklinGothicFSCondensed',Arial,sans-serif;;
}

/* links */

a:link, a:visited {
    color: #CC0000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    outline: 0;
}
a:active {
    color: #CC0000;
    outline: 0;
}
a:focus {
    outline: thin dotted;
}


/* img */

img {
    border: 0;
    height: auto;
}

img, object, embed {
    max-width: 100%;
}


/* lists */

ul {
    margin: 0 0 1em;
    padding: 0 0 0 1em;
    list-style-type: disc;
}

ol {
    margin: 0 0 1em;
    padding: 0 0 0 1em;
    list-style-type: decimal;
}


/* paragraph */

/* is news-article needed? 
// could define the non-news article paragraphs instead?
*/
.news-article p , .news-article-narrow p{
    margin: 0 0 1em;
}

p.standfirst, p.stand-first {
    color: #000000;
    margin: 0 0 1em;
    font-size: 19.5px;
    font-size: 1.95rem;
}

.col240 p.stand-first {
    color: #868ea4;
}

h1 {
    margin: 0 0 .5em 0;
    font-weight: normal;
    font-size: 15px;
    font-size: 2rem;
    line-height: 1.2;
    color: #868ea4;
}

h2 {
    font-size: 14px;
    font-size: 1.5rem;
    margin: 1em 0;
    font-weight: normal;
}

h3 {
    margin: 1em 0 .25em;
    font-size: 14px; 
    font-size: 1.4rem;
    font-weight: normal;
    font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
}

h4 {   
    margin: 0 0 .25em;
    font-size: 13px; 
    font-size: 1.3rem;
    font-weight: normal;
    font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
}

h5 {
    margin: 1em 0 .25em;
    font-size: 13px; 
    font-size: 1.2rem;
    font-weight: normal;
    font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
}


h6 {
    margin: 0 0 .25em;
    font-size: 12px; 
    font-size: 1.1rem;
    font-weight: normal;
    font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
}



/* Box headings */

.box h4
{
    text-transform: uppercase;
}

.box h3 {
    color: #8F92B5;
    font-size: 17px;
    font-size: 1.7rem;
    margin-top: 0;
    margin-bottom: 1em;
}

.box h5, .box h4, .box h6 {
    color: #8F92B5;
}


.index-box h3 {
    font-size: 17px;
    font-size: 1.7rem;
    border-top: 6px solid #afb5cc;
    color: #8F92B5;
    margin-top: 0;
    margin-bottom: 1em;
}
.index-box h5 {
    border-top: 6px solid #afb5cc;
    color: #CC0000;
    margin-top: 0;
}
.index-box h6{
    color: #CC0000;
}

#iop-for ul {
    font-size: 18px;
    font-size: 1.8rem;
}

/* nav */

.nav {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: normal;
    font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
}

/* news article headings */

.article h2, .article2 h2, .article-img h2, .article2-img h2 {
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0;
}


/* location and date */

span.location {
    font-size: 14px;
    font-size: 1.4rem;
    margin: .5em 0 0 2em;
    display: block;
    float: left;
}

span.date {
    font-size: 14px;
    font-size: 1.4rem;
    margin: .5em 0 0 0;
    display: block;
    float: left;
}


.caption {
    float: left;
    font-size: 14px;
    font-size: 1.4rem;
    margin-bottom: .5em;
    max-width: 100%;
}


/* About us font sizes  */

.aboutus-circle-text1 {
    font-size: 16px;
    font-size: 1.6rem;
}
.aboutus-circle-text2 {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1;
}

.aboutus-circle1 span {
    font-size: 53px;
    font-size: 5.3rem;
    line-height: 37px;
}
.aboutus-circle1 .size2 span {
    font-size: 32px;
    font-size: 3.2rem;
}

.aboutus-circle1-wrapper p, .aboutus-circle2-wrapper p {
    font-size: 16px;
    font-size: 1.6rem;
}



/* Forms */

form label {
        margin-bottom: 1em;
}

.button {
    background: #AF1B28;
    color: #FFF;
    border: none;
    padding: 5px 20px;
}
.form-row {
    margin-bottom: 10px;
}

/* Messagefocus forms */

/* MF Form should be given this class  */

.mf-form {
    width: 75%;
}

.mf-form p {
    clear:both;
    margin-bottom: 0;
    margin-top: 1em;

}

/* MessageFocus classes */

.amf-el label {
    margin: 3px 0 5px 0;
    display: block;
}
.amf-el label span {
    margin:0; 
}
.amf-el-inner input,
.amf-el-inner select {
    margin: 0 0 20px 0;
    font-size: 16px; /* iop.css */
    font-size: 1.6rem;
}
.amf-el-inner input[type="text"],
.amf-el-inner textarea {
    /* font-size: 1.2em; */
    background-color: #fff;
    border: 1px solid #999;
    width: 100%;
    padding: 5px;
    margin: 0 0 20px 0;
    background-color: #efefef;
}
.amf-el-inner input[type="radio"],
.amf-el-inner input[type="checkbox"] {
    float: left;
    margin: 5px 5px 5px 0;
}
.amf-type-radio,
.amf-type-checkbox { margin-bottom: 20px; }
.radio-group-option {
    clear: both;
    margin: 10px 0;
}

.amf-el input.button { 
    font-size: 18px;
    font-size: 1.8rem; 
    margin: 1em 0;
    border-radius: 2px;
    box-sizing: border-box;
    }

.amf-el input.button:hover {
    background-color: #850909;
    cursor: pointer;
}


/* Button */
.red-button {
    color: #FFF;
    float: left;
}
.red-button a{
    padding: 6px 13px 10px 12px;
    color: #FFF;
    background: #cc0000;
    text-decoration: none;
}
.red-button a:hover{
    background: #000;
    padding: 6px 13px 10px 12px;
    text-decoration: none;
}

/* validation error message */

.validationerrormsg {
    color: #D8000C;
    margin-top:3px;
    padding-left:20px;
    margin-left:10px;
    padding-bottom:5px;
    padding-top: 2px;
}

body { 
	font-family:Arial, Helvetica, sans-serif;
	font-size:84%;
}


/* Main Librarian Site Style */

#cookieBanner { display: none;}

.cookies-banner-wrap {width: 100%;background: #EDEDED;}

.cookies-banner {width: 960px;margin: 0 auto;position: relative;background: #EDEDED; padding: 15px 0;font-size: 1.2em;}

.cookies-banner-close {float: right;text-align: right;margin-top: -3px;cursor: pointer;}

#content {
	position:absolute;
    	top:0px;
   	bottom:0px;
    	left:0px;
    	right:0px;
}

#header {
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	position:relative;
	height:150px;
	background-color: #af1b28;
    	border-top: 6px solid #000;
	border-bottom: 30px solid #D1D5E0;
	padding:0px 175px 0px 175px;
}

h1#logo {
	display:block;
	letter-spacing : -1em;
	text-indent: -100000em;
	overflow: hidden;
	position:relative;
	background:url(librarians/IOP-logo.png) no-repeat;
	width:auto;
	top:2px;
	left:15px;
	height:100px;
}

#header ul {
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	list-style:none;
	margin:0;
	width:auto;
	padding:0px 175px 0px 175px;
}

#header ul li {
	display:block;
	float:left;
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	font-size:12px;
	color:#fff;
	font-weight:700;
	padding:0 5px;
}

#header ul#login a{
	display: none;
	position:absolute;
}

#header ul#login {
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	font-size:16px;
	position:absolute;
	top:10px;
	right:20px;
}

#header ul#create {
	position:absolute;
	top:40px;
	right:20px;
}

#header ul#create a{
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	font-size:14px;
	color: #FFF;
}

#header ul li.no-right-border {
	font-family: "Lucida Grande", "Lucida Sans Unicode",sans-serif;
	font-size:14px;
	font-weight:700;
	border-right:none;
}

/* Top navigation */

#header ul#top-navigation
 {
    	font-size: 2rem;
    	font-weight: normal;
    	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	position:absolute;
	left:5px;
}

#header ul#top-navigation a
{
	font-family: 'FranklinGothicFSDemiCondensed', Arial, sans-serif;
	text-decoration:none;
	font-weight:700;
	font-size:16px;
    	color: #FFF;
    	margin: 0;
    	display:block;
   	 padding: 0.5em;
   	 -webkit-transition: all 0.2s ease;
    	-moz-transition: all 0.2s ease;
    	-o-transition: all 0.2s ease;
    	transition: all 0.2s ease;
}

#header ul#top-navigation a:hover
{
    color: #000;
}

#login input { font-size: x-small; }

/* Main content*/

#content-body {
	padding:0px 175px 0px 175px;
	float:left;
	width:990px;
}

div#left-col {
	list-style-type: none;
	list-style: none;
	float:left;
	display:block;
	width:200px;
}

div#left-col ul {
	list-style-type: none;
	list-style:none;
	padding:10px;
	margin:0;
}

div#left-col li {
	list-style-type: none;
	list-style:none;
	padding:10px;
	margin:0;
    	border-bottom: 1px solid #D1D5E0;
}

div#left-col li img {
	display: none;
}

#main-content {
	width:775px;
	display:block;
	float:left;
}

/* *** footer  *** */

#footer {
	background-color: #000000;
	background-image: url(librarians/IOP-logo-footer.png); /* with class ModalCarrot ??*/
	background-size: auto;
	background-position: 175px 10px;
	background-repeat: no-repeat;
	color: #ffffff;
    	font-size: 0.8rem;
    	font-weight: normal;
	list-style:none;
	float:left;
	width: 100%;
	height: 160px;
}

#footer ul li a {
	display:none;
	padding:0px 175px 0px 400px;
	list-style:none;
	color: #ffffff;
	float:left;
	width: 100%;
}

.textnav {
	padding-bottom:5px;
}

.textnav ul {
	color: #ffffff;
	list-style:none;
	font-family: "Lucida Grande", "Lucida Sans Unicode",sans-serif;
}

.textnav ul li {
	color:#ffffff;
	float:left;
	font-family: "Lucida Grande", "Lucida Sans Unicode",sans-serif;
}

.copyright-text {
	padding:10px 175px 10px 175px;
	color:#ffffff;
	display:none;
	float:left;
	font-family: "Lucida Grande", "Lucida Sans Unicode",sans-serif;
}

.padding-style1 {
	font-color:#ffffff;
	padding:5px 10px;
}