/*removes the tiny dotted line at the top of the sidebar*/
.ui-accordion .ui-accordion-header {margin-top: 0;}

/* 1. Formatting and styling for the book buttons*/
.views-accordion-books-block_vertical_books__stages_menu-header {background: #ffffff;}

/* squaring the corners */
.ui-accordion h3.ui-accordion-header 
    {-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;}
.ui-corner-bottom
    {-moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;}

/* positioning and styling the text e.g. "Book I" */
h3.views-accordion-books-block_vertical_books__stages_menu-header:nth-child(1n) > a:nth-child(3n) > img:nth-child(1) {
    float: left;
    padding-bottom: 13px;}

h3.views-accordion-books-block_vertical_books__stages_menu-header:nth-child(1n) > a:nth-child(4)
    {float: right;
    font-family: verdana;
    font-weight: bold;
    padding-left: 1.2em;
    margin: 2em 3.1em 0 0;}

h3.views-accordion-books-block_vertical_books__stages_menu-header:nth-child(1n) > a:nth-child(2)
    {display: none;}

/*Padding for stage buttons*/
.ui-accordion .ui-accordion-content-active {padding: 1em 0.5em 0em;}
.cscp-book-stage-nav
    {margin-left: 0em;
    margin-bottom: 5px;
    width: 100%;}
    
.campl-scale-with-grid {padding: 6px;}

.ui-accordion-content img {width: 35px; height: 46px;}

.cscp-book-stage-nav
    {border-bottom: 2px solid #e6e6e6;}
.CSCP-book-stage-nav-title-link-wrapper
    {font-size: 0.8em; color: #003f9d;}

/*Styling for making the whole stage button an  element (postponed for now)
div.cscp-book-stage-nav:hover {
    cursor: hand;
    cursor: pointer;
    opacity: .8;
}*/

/* 2. Stage Weblinks Accordion*/
h3.views-accordion-stage_weblinks-block_stage_weblinks-header
    {font-family: "myriad-pro-n3","myriad-pro",myriad,verdana,arial,sans-serif;
    font-size: 14px;
    color: #F8F8F8;
    background: #1E7680;
    }
/*disabled due to Michael's jquery background colour fix
background: #A51137;}*/

h3.views-accordion-stage_weblinks-block_stage_weblinks-header:nth-child(1n) > a:nth-child(2)
    {color: #F8F8F8;
    padding: .7em .7em .7em 2.2em}

/* styling weblink items before the accordion i.e. "title page images" */
div.ui-accordion:nth-child(2) > div:nth-child(1)
    {margin: 0px 0px 1px;
    border: 1px solid #AAAAAA;
    padding: 5px 6px;}

/* making the weblinks blue... */

.view-stage-weblinks .CSCP-stage-weblink, .view-stage-weblinks .views-field p > a {
    color: #0072cf;
}

/* hide quasi anchor */
#cultural_background {
    width: 0px;
    margin: 0px;
    padding: 0px;
}

/*UK-only thumbnail correction*/
h3.views-accordion-books-block_vertical_books__stages_menu-header:nth-child(1n) > a:nth-child(3n) > img:nth-child(1){
    width: unset !important;
}