/* helpers */
.mob-only {
    display: block;
}

.mob-i-only {
    display: inline;
}

.align-right {
    float: right !important;
}

li.align-right {
    margin-right: 0 !important;
}

.inline-list {
    list-style: none;
}

.inline-list li {
    float: left;
    margin-right: 10px;
}

/* base */
html {
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
}

body {
    background: #64BA46;
    font-size: 14px;
}

/* hidden */
.staticNav,#tabbedNav,#leftColumn,#rightColumn,.no-mob,#searchResults #centreColumn h2:first-child,#searchResults .results,#paginationTop,#centreColumn .selectAllNone,.combineSearches
    {
    display: none !important;
}

/* remove rounded corners */
#page,.subscriptionInfo {
    -webkit-border-radius: 0;
    border-radius: 0;
}

/* remove float, width and margin */
#leftColumn,#rightColumn,#centreColumn,.boxout,.tasksBoxoutContent,.litBoxoutContent,#footer,#searchWrapper fieldset,#homePage fieldset#searchbox #search,.loginForm,.loginForm input[type="submit"],#myCdLogin input[type="submit"],#topNavigation,#topNavigation form,#secondColumn
    {
    float: none;
    width: auto;
    margin: 0;
}

/* Remove padding */
#topNavigation form {
    padding: 0;
}

/* horrible overrides */
#popover-body>form.loginForm {
    display: block !important;
}

div#informWrapper ul, div#guideWrapper ul {
    margin-left: 20px;
}

/* layout */
#header {
    width: auto;
}

.cabiLogo {
    width: 80px;
    height: 57px;
}

#page {
    padding: 10px;
    width: auto;
}

#footer {
    padding: 10px;
}

#header img,#logoLink {
    margin: 20px 10px 10px;
}

#logoLink img {
    margin: 0;
}

#mobNav {
    clear: both;
    padding: 10px;
}

#search {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    float: left;
    width: 70% !important;
    font-size: 20px !important;
    padding: 7px 2% 6px !important;
}

#page #homeSubmit,#page input[type=submit].submitButton {
    float: left;
    padding: 10px 0;
    width: 24%;
    height: auto;
    margin: 0 0 0 2%;
    background: #64BA46;
    border-radius: 10px;
    border: 0;
    color: #fff !important;
}

#searchResults.logged-in #page {
    padding: 10px 10px 10px 30px;
}

p.pimpletract {
    float: left;
    margin: 3px 0;
    padding: 0;
}

p.viewAbstract, .rightLInks {
    margin: 0 !important;
}

p.viewAbstract {
     margin-bottom: 8px !important;
}

.viewAbstract a {
    padding: 0;
    margin: 0;
}

#paginationBot {
    border: 0;
    padding: 10px 0;
}

#popover-body .markedRecords,#popover-body .recentSearches,#allNoneTop {
    display: block;
    margin: 0 20px 10px;
}

#searchResults.logged-in #footer {
    padding: 10px 10px 10px 30px;
}

.mySavedSearches ol {
    margin-left: 20px;
}

.combineSearches ul {
    margin: 0;
}

#popover-body .loginForm:nth-child(2) {
    display: none !important;
}

#popoverTools {
    display: none;
}

#popover #popoverTools {
    display: block;
}

#popover #allNoneTop {
    display: none;
}

#searchResults #popover #allNoneTop {
    display: block;
}

.mySavedSearches ol {
    border-top: 1px solid #ddd;
    margin: 0;
    list-style-position: inside !important;
}

.mySavedSearches ol li {
    border: 1px solid #ddd;
    border-width: 0 1px 1px 1px;
    padding: 8px 20px;
}

#page .mySavedSearches .results {
    margin: 0;
    display: inline;
}

#page .mySavedSearches input {
    display: none;
}

#searchResults .searchResult {
    clear: both;
}



#mobForm {
    float: left;
    clear: left;
    width: 50%;
}

#footer a, #footer a:visited, #footer a:hover {
    border: 0 !important;
    text-decoration: underline;
}

.footer-left-nav {
    clear: both;
    padding: 5px 0 0;
}

#footer span {
    float: left;
    display: block;
    padding-bottom: 5px;
}

.footer-left-nav li {
    width: 50%;
    border: 0;
    margin: 0;
}

.footer-left-nav li {
    padding: 0 0 5px;
}

.footer-left-nav li:nth-child(2n) {
    text-align: right;
}

#sessionMessage {
    width:auto;
    margin-left: 20px;
    margin-right: 20px;
}

.loginForm {
    display: none;
}

.abstract-nav {
    border-top: 1px solid #000;
    margin: 10px 0 0;
    padding: 5px 0 0;
    text-align: center;
    overflow: hidden;
}

.abstract-nav a {
    width: 25%;
    float: left;
    text-align: center;
    font-size: 11px;
    font-weight: normal;
}

.submitButton {
    position: absolute;
    top: 0;
}

.farAway {
    margin-bottom: 10px;
}




/* modules */

/* buttans! */
.butt,#popover input[type=submit],#page input[type=submit],.viewAbstract .resultLink,.searchResult .rightLInks .viewFullText,.documentDetails .rightLInks .viewFullText,.viewAbstract .butt {
    -webkit-border-radius: 2px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    border-radius: 2px;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4+, iOS 4, Android 2.1+ */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #fff;
    padding: 3px 5px;
    display: inline-block;
    background-color: #ffffff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff),
        to(#ccc) ); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #ffffff, #ccc);
    /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #ffffff, #ccc);
    /* FF3.6+ */
    background-image: -ms-linear-gradient(top, #ffffff, #ccc);
    /* IE10 */
    background-image: -o-linear-gradient(top, #ffffff, #ccc);
    /* Opera 11.10+ */
    background-image: linear-gradient(to bottom, #ffffff, #ccc);
    color: #444 !important;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, .25);
    /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, .25);
    /* Opera 10.5, IE9, FF4+, Chrome 6+, iOS 5 */
    text-decoration: none;
    margin: 0;
    line-height: 1.231;
}

.butt:hover,#popover input[type=submit]:hover {
    border: 1px solid #fff !important;
}

.butt:active,#popover input[type=submit]:active {
    position: relative;
    top: 1px;
    -webkit-box-shadow: 0px 0 2px 0px rgba(0, 0, 0, .25);
    /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    box-shadow: 0px 0 2px 0px rgba(0, 0, 0, .25);
    /* Opera 10.5, IE9, FF4+, Chrome 6+, iOS 5 */
}

.searchResult .rightLInks .viewFullText:after,.documentDetails .rightLInks .viewFullText:after {
    content: " »";
}

/* popover */
#popover {
    position: absolute;
    top: 105px;
    left: 20px;
    right: 20px;
}

#popover-container {
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, .25);
    /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, .25);
    -webkit-border-radius: 5px;
    /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    border-radius: 5px;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4+, iOS 4, Android 2.1+ */
    /* useful if you don't want a bg color from leaking outside the border: */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#popover-arrow {
    position: relative;
    height: 0;
    width: 0;
    border-bottom: 10px solid #666;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

#popover-head {
    padding: 10px;
    background: #fff;
    border: 2px solid #666;
    -webkit-border-radius: 5px 5px 0 0;
    /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    border-radius: 5px 5px 0 0;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4+, iOS 4, Android 2.1+ */
    /* useful if you don't want a bg color from leaking outside the border: */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#popover-close {
    float: right;
}

#popover-body {
    padding: 10px;
    background: #fff;
    border: 2px solid #666;
    border-width: 0 2px 2px 2px;
    -webkit-border-radius: 0 0 5px 5px;
    /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    border-radius: 0 0 5px 5px;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4+, iOS 4, Android 2.1+ */
    /* useful if you don't want a bg color from leaking outside the border: */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#popover-title {
    font-weight: bold;
    font-size: 16px;
    color: #64BA46;
}

#popover input[type=text],#popover input[type=password],#popover input[type=email]
    {
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    padding: 5px;
    border: 1px solid #ccc;
}

#popover label {
    display: block;
    margin: 0 0 10px;
}

#popover a,#popover a:visited {
    color: #64BA46;
    text-decoration: underline;
}

#popover #logOutForm {
    position: absolute;
    top: 85px;
    right: 12px;
}

#popover-body>div {
    padding: 0 !important;
    background: none !important;
}

#popover #subscriptionUnits {
    display: block !important;
}

/* opts panel */
#opts-panel {
    position: absolute;
    background: #fff;
    border: 10px solid #E87511;
    border-width: 10px 0;
    left: -100%;
    top: 125px;
    display: block;
    width: 100%;
    min-height: 200px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box;
    left: -100%;
    top: 125px;
    display: block;
    width: 100%;
    min-height: 200px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
    padding-right: 20px;
}

#opts-toggle {
    position: absolute;
    top: -10px;
    bottom: -10px;
    right: -20px;
    width: 20px;
    background: no-repeat url(../images/style/opts.png) #E87511 2px 0;
}

#opts-panel {
    -webkit-transition: left 0.3s ease-out; /* Saf3.2+, Chrome */
    -moz-transition: left 0.3s ease-out; /* FF4+ */
    -ms-transition: left 0.3s ease-out; /* IE10 */
    -o-transition: left 0.3s ease-out; /* Opera 10.5+ */
    transition: left 0.3s ease-out;
}

#opts-tabs {
    list-style: none;
    background: #E87511;
}

#opts-tabs li {
    float: left;
    width: 50%;
}

#opts-tabs a {
    display: block;
    padding: 10px 20px;
    text-align: center;
}

.display {
    font-weight: bold;
    background: #fff;
    -webkit-border-radius: 10px 10px 0 0;
    /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    border-radius: 10px 10px 0 0;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4+, iOS 4, Android 2.1+ */
    /* useful if you don't want a bg color from leaking outside the border: */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.opts-t {
    padding: 10px;
}

.opts-t ul {
    list-style: none;
}

.opts-t dl {
    border-top: 1px solid #ddd;
}

.opts-t dt,.opts-t a {
    display: block;
    padding: 8px 20px;
}

.opts-t dt,.opts-t li {
    border: 1px solid #ddd;
    border-width: 0 1px 1px 1px;
}

.opts-t a {
    background-color: #f0f0f0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0),
        to(#ffffff) ); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #f0f0f0, #ffffff);
    /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #f0f0f0, #ffffff);
    /* FF3.6+ */
    background-image: -ms-linear-gradient(top, #f0f0f0, #ffffff);
    /* IE10 */
    background-image: -o-linear-gradient(top, #f0f0f0, #ffffff);
    /* Opera 11.10+ */
    background-image: linear-gradient(to bottom, #f0f0f0, #ffffff);
}

.opts-t .closeRefinement {
    background: none;
    display: inline;
}

.facetCurrent {
    display: inline-block;
    padding: 8px 0 8px 20px;
}

.opts-t dt {
    margin: 0 !important;
    background-position: 6px 10px !important;
}

.opts-t .resultOverview {
    margin: 0;
    padding: 0;
    border: 0;
}

.opts-t .resultOverview p {
    display: none;
}

.opts-t label {
    display: block;
    text-align: left;
}

.opts-t .right {
    float: none;
}

.opts-t .resultsPerPage {
    text-align: left;
}

.opts-t select {
    display: block;
    margin-bottom: 10px;
}

.documentDetails {
    padding: 0 10px;
    position: relative;
}

.prevArrow,.nextArrow {
    display: none;
    border-top : 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    top: 0;
    border-top: 20px solid transparent;
}

.prevArrow {
    border-right: 15px solid #666;
    left: -8px;
}

.nextArrow {
    border-left: 15px solid #666;
    right: -8px;
}

.documentDetails .prevArrow,.documentDetails .nextArrow {
    display: inline-block;
}

.documentDetails dt {
    float: none;
}

.documentDetails dd {
    margin: 0 0 10px;
}

.actualTitle {
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #59AFCC;
}

#abstractTitle {
    font-size: 24px;
    float: none;
    clear: both;
}

#centreColumn {
    word-wrap: break-word;
}

#abstract #centreColumn {
    padding-top: 5px;
}

#centreColumn .ancillaryInfo {
    clear: left;
    margin: 5px 0 0;
    padding-top: 5px;
    border-top: 1px solid #000;
}

.ancillaryInfo dt {
    padding: 0;
    margin: 0;
}

#emailPopover {
    display: none;
}

#popover #emailPopover {
    display: block;
}

#abstract .recordSelector {
    height: 25px;
    width: 25px;
}

/* state */

/* popovers */
#popover {
    display: none;
}

#popover.show {
    display: block;
}

#opts-panel.show {
    left: 0;
}

#opts-panel.show #opts-toggle {
    right: 0;
    background-image: url(../images/style/opts-hide.png);
}

.opts-t {
    display: none;
}

.opts-t.show {
    display: block;
}

.inactive .recordSelector:hover {
    background: url(../images/style/star-inactive.png) no-repeat top left;
    /* IE6 override for transparency support */
    _background-image: url(../images/style/star-inactive.gif);
}

.active .recordSelector:hover {
    background-image: url(../images/style/star-active.png);
    /* IE6 override for transparency support */
    _background-image: url(../images/style/star-active.gif);
}

#footer span,
#mobForm {
     float: none;
     width: auto;
}

#mobForm:after {
     content: "| ";
}

@media only screen and (max-width: 380px) {
    #logoLink,#logoLink img {
        width: 192px;
        height: 35px;
    }
    .cabiLogo {
        margin-top: 20px !important;
        width: 50px;
        height: 35px;
        width: 50px;
    }
}