/* =====================
    Defaults                
======================== */

body, div, ul, li, dl, p, h1, h2,  h3, h4, h5, h6, img, 
form, fieldset, legend, label, blockquote, acronym, abbr {
    border: 0;
    padding: 0;
    margin: 0;
}

.hide,
#secondary_nav,
#primary_nav,
#breadcrumbs,
#second,
#third,
#left,
#primary_footer,
#oas_top,
#oas_bottom,
p.hide  {
    display: none;
}

body {
    background-color: #eaead6;
    font: 1em Arial, Helvetica, sans-serif;
}

img,
input[type=text],
textarea {
    max-width: 100%;
}

button {
    cursor: pointer;
}

a,
a:link,
a:visited,
a:active {
    color: #00c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#main_content a,
#main_content a:link,
#main_content a:visited,
#main_content a:active {
    text-decoration: underline;
}

/* ======================== 
   Reset image replacements/hidden content
=========================== */

#header,
#header strong#page_logo,
#header strong span,
#header em span,
#header h1 span,
#header h2 span,
#header h1#page_title,
#header h1#advanced_article_search,
#header h1#about_us,
#header h1#contact_us,
#header h1#news,
#header h1#privacy_policy,
#header h1#site_map,
#header h1#terms,
#page_title h1 span,
.article_search_results #header h1#page_title,
.article_search_results #main_content h2#you_searched_for,
.my_account #header h1#page_title,
.my_account #main_content h2#logged_in,
.my_account #main_content h2#welcome,
#main_content form#journal_search label#label_search_journals,
.subject #main_content h2#article_alerts,
.subject #main_content h2#hot_off_the_press,
.general_page #header,
.corporate_services #header,
.corporate_services #header h1#page_title,
.corporate_services #main_content h2#news,
.for_agents #header,
.for_agents #header h1#page_title,
.for_agents #main_content h2#access_purchase,
.for_agents #main_content h2#librarian_news,
.for_authors #header,
.for_authors #header h1#page_title,
.for_authors #main_content h2#getting_published,
.for_authors #main_content h2#awards,
.for_authors #main_content h2#author_news,
.for_authors #main_content h2#oxford_university_press,
.for_librarians #header,
.for_librarians #header h1#page_title,
.for_librarians #main_content h2#access_purchase,
.for_librarians #main_content h2#librarian_news,
.for_personal_customers #header,
.for_personal_customers #header h1#page_title,
.for_personal_customers #main_content h2#access_purchase,
.for_personal_customers #main_content h2#librarian_news,
.for_societies #header,
.for_societies #header h1#page_title,
.for_societies #main_content h2#access_purchase,
.for_societies #main_content h2#news,
.news #header,
.news #header h1#page_title,
.news #main_content .features h2#alerting_services,
#main_content h2 span,
.our_journals #main_content h2#journals_a-z,
.our_journals #main_content #first,
.homepage.our_journals #main_content #first
{
    width: auto;
    max-width: 100%;
    height: inherit;
    margin: 0;
    background-image: none;
}

#header,
#header h1#page_title,
.subject #header strong#page_logo,
.subject #header em#tag_line,
.subject #header h1#page_title
{
    background-image: none!important;
}

.subject #header h1#page_title span {
    height: auto;
    float: left;
    margin-bottom: 5px;
}

.subject #main_content #first,
.our_journals #main_content #first,
.homepage.our_journals #main_content #first,
.access_purchase #main_content #first
{
    width: 100%;
}

.news #main_content #first ._block p {
    display: none;
}

/* ======================== 
   Layout                   
=========================== */

#header {
    float: none;
    background-image: none;
}

#header strong,
#header strong#page_logo {
    width: 100%;
    display: block;
    margin-bottom: 0.5em;
    background-color: #ab9c8f;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.1, #bfb0a3),
        color-stop(0.8, #ab9c8f)
    ); /* Safari 4+, Chrome */
    background-image: -webkit-linear-gradient(
        center top,
        #bfb0a3 10%,
        #ab9c8f 80%
    ); /* Safari 5.1+, Chrome 10 +*/
    background-image: -moz-linear-gradient(
        center top,
        #bfb0a3 10%,
        #ab9c8f 80%
    ); /* Firefox 3.6+ */
    background-image: -ms-linear-gradient(
        center top,
        #bfb0a3 10%,
        #ab9c8f 80%
    ); /* IE 10+ */
    background-image: -o-linear-gradient(
        center top,
        #bfb0a3 10%,
        #ab9c8f 80%
    ); /* Opera 11.10+ */
    background-image: linear-gradient(
        center top,
        #bfb0a3 10%,
        #ab9c8f 80%
    );
    color: #fff;
}

#header strong a,
#header strong#page_logo a {
    display: inline;
    height: auto;
    width: 100%;
    margin-top: 0.3em;
    color: #fff;
    font: 2em Helvetica;
}

/*#header strong a span {
    display: block;
    padding: 0.2em 0.4em;
}*/

#header strong a span {
    display: block;
    min-height: 67px;
    overflow: hidden;
    background-image: url('/resource/image/text/headings/oxford_journals.png') no-repeat 0.4em 0.98em;
    background-image: url('/resource/image/text/headings/oxford_journals.png'), url('/resource/image/backgrounds/colour_stripe.png');
    background-repeat: no-repeat, repeat-x;
    background-position: 0.4em 0.98em, left bottom;
    -webkit-background-size: auto, 100% 8px;
    -moz-background-size: auto, 100% 8px;
    -ms-background-size: auto, 100% 8px;
    -o-background-size: auto, 100% 8px;
    background-size: auto, 100% 8px;
    text-indent: -3000px;
}

#wrap {
    width: auto;
    background-color: transparent;
}

#main_content,
.corporate_services #main_content,
.for_agents #main_content,
.for_authors #main_content,
.for_librarians #main_content,
.for_personal_customers #main_content,
.for_societies #main_content,
.news #main_content,
#main_content #first,
.general_page #main_content #first,
.corporate_services #main_content #first,
.for_agents #main_content #first,
.for_authors #main_content #first,
.for_librarians #main_content #first,
.for_personal_customers #main_content #first,
.for_societies #main_content #first,
.news #main_content #first {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    background-image: none;
}

#header h1#page_title {
    color: #000;
    font-size: 1.1em;
}

h1 {
    padding: 0.5em;
    font-size: 1.1em;
}

h2,
#main_content #first h2,
.general_page #main_content #first h2 {
    height: auto;
    margin: 0.5em 0 0 0;
    padding: 0.5em;
    background-color: #bfb0a3;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.1, #ab9c8f),
        color-stop(0.9, #bfb0a3)
    ); /* Safari 4+, Chrome */
    background-image: -webkit-linear-gradient(
        center top,
        #ab9c8f 10%,
        #bfb0a3 90%
    ); /* Safari 5.1+, Chrome 10 +*/
    background-image: -moz-linear-gradient(
        center top,
        #ab9c8f 10%,
        #bfb0a3 90%
    ); /* Firefox 3.6+ */
    background-image: -ms-linear-gradient(
        center top,
        #ab9c8f 10%,
        #bfb0a3 90%
    ); /* IE 10+ */
    background-image: -o-linear-gradient(
        center top,
        #ab9c8f 10%,
        #bfb0a3 90%
    ); /* Opera 11.10+ */
    background-image: linear-gradient(
        center top,
        #ab9c8f 10%,
        #bfb0a3 90%
    );
    background-position: 0 0;
    color: #fff;
    /*text-shadow: #ab9c8f 0.1em 0.1em;*/
    font-size: 1em;
    font-weight: normal;
    text-transform: none;
}

#main_content h2#journals_a-z a {
    background: none;
}

h2 a,
#main_content h2 a:link,
#main_content h2 a:active,
#main_content h2 a:visited {
    display: block;
    padding-left: 20px;
    background: url('/resource/image/nav/arrow_down.png') no-repeat 0 50%;
    color: #fff;
    text-decoration: none;
}

h2.collapsed a,
#main_content h2.collapsed a:link,
#main_content h2.collapsed a:active,
#main_content h2.collapsed a:visited{
    background-image: url('/resource/image/nav/arrow_right.png');
}

h3,
#main_content #first h3 {
    font-size: 1em;
}

a.block,
#main_content a.block:link,
#main_content a.block:visited,
#main_content a.block:active
{
    display: block;
    margin: 0;  
    padding: 0.5em 20px 0.5em 0.5em;
    background-color: #fff;
    background: #fff url('/resource/image/nav/arrow_down.png') no-repeat 98% 50%;
    background-image: url('/resource/image/nav/link_arrow.png'),
    -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.1, #dedede),
        color-stop(0.9, #fff)
    ); /* Safari 4+, Chrome */
    background-image: url('/resource/image/nav/link_arrow.png'),
    -webkit-linear-gradient(
        center top,
        #dedede 10%,
        #fff 90%
    ); /* Safari 5.1+, Chrome 10 +*/
    background-image: url('/resource/image/nav/link_arrow.png'),
    -moz-linear-gradient(
        center top,
        #dedede 10%,
        #fff 90%
    ); /* Firefox 3.6+ */
    background-image: url('/resource/image/nav/link_arrow.png'),
    -ms-linear-gradient(
        center top,
        #dedede 10%,
        #fff 90%
    ); /* IE 10+ */
    background-image: url('/resource/image/nav/link_arrow.png'),
    -o-linear-gradient(
        center top,
        #dedede 10%,
        #fff 90%
    ); /* Opera 11.10+ */
    background-image: url('/resource/image/nav/link_arrow.png'),
    linear-gradient(
        center top,
        #dedede 10%,
        #fff 90%
    );
    background-repeat: no-repeat, inherit;
    background-position: 98% 50%, inherit;
    border: 1px solid #ccc;
    border-width: 0 0 1px 0;
    color: #000;
    text-decoration: none;
}

a.block:first-child {
    border-width: 1px 0 1px 0;
}

a.block + br,
a.block + br + br {
    display: none;
}

.section p,
.section h3 {
    margin: 0.5em;
}

.section p > a.block:first-child {
    margin: -0.5em -0.5em 0 -0.5em;
}

.section p a.block,
#main_content a.block:link,
#main_content a.block:visited,
#main_content a.block:active{
    margin: 0 -0.5em;
}

#main_content #first form fieldset .input {
    width: 60%;
}

#main_content #first form fieldset .input p {
    width: 100%;
}

#main_content #first .contact p {
    margin: 0px;
}

#main_content #first .section h2 {
    margin-bottom: 5px;
}

#copyright {
    clear: both;
    display: block;
    margin-top: 1em;
    padding: 0.2em;
    background-color: #4b3c30;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.1, #5f5044),
        color-stop(0.9, #4b3c30)
    ); /* Safari 4+, Chrome */
    background-image: -webkit-linear-gradient(
        center top,
        #5f5044 10%,
        #4b3c30 90%
    ); /* Safari 5.1+, Chrome 10 +*/
    background-image: -moz-linear-gradient(
        center top,
        #5f5044 10%,
        #4b3c30 90%
    ); /* Firefox 3.6+ */
    background-image: -ms-linear-gradient(
        center top,
        #5f5044 10%,
        #4b3c30 90%
    ); /* IE 10+ */
    background-image: -o-linear-gradient(
        center top,
        #5f5044 10%,
        #4b3c30 90%
    ); /* Opera 11.10+ */
    background-image: linear-gradient(
        center top,
        #5f5044 10%,
        #4b3c30 90%
    );
    color: #fff;
    font-size: 0.9em;
}

#copyright a {
    color: #fff;
}

#secondary_footer {
    padding: 0;
    background-image: none;
    text-align: left;
}

#secondary_footer #copyright {
    margin: 0;
}

#secondary_footer ul {
    display: block;
    font-size: 0.9em;
}

#secondary_footer ul li {
    float: left;
    list-style-type: none;
}

#secondary_footer ul a {
    float: left;
    padding: 0.2em 0.4em;
    text-decoration: none;
}

#secondary_footer ul a:hover {
    text-decoration: underline;
}

#secondary_footer ul li:before {
    float: left;
    content: '|';
}

#secondary_footer ul #foot_nav_our_journals:before,
#secondary_footer ul #foot_nav_librarians:before,
#secondary_footer ul #foot_nav_about:before {
    content: '';
}

#secondary_footer ul #foot_nav_librarians,
#secondary_footer ul #foot_nav_about {
    clear: both;
}

footer,
.mobile_footer {
    clear: both;
    display: block;
}

footer nav li {
    float: left;
}

footer nav a {
    float: left;
    padding: 0.2em 0.4em;
}

footer nav li:before {
    float: left;
    content: "|";
}

#nav_our_journals:before,
#nav_librarians:before,
#nav_about:before,
#nav_personal:before {
    content: "";
}

#nav_librarians,
#nav_about,
#nav_personal {
    clear: both;
}

/**
** To fix display issues with JSCR
** editorial board list
**/
.jscr #first .section .contact {
    font-size: .7em!important;
}