:root {
    --oc-scroll-padding-top: calc(34px + 30px); /* black bar plus v2 button spans */
    --oc-site-width: 960px; /* default demo width */
}

section, article, aside, header, footer, nav, figure, figcaption, time, mark, main {
    display:block; /* legacy IE support */
}

ol, ul, dd {
    padding: 0 0 0 2.5em;
    margin: 0;
}

ul, ol {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, address {

}

h1, h2, h3, h4, h5, h6 {

}

h4, h5, h6 {
    font-weight: 600;
}

h1 {

}

h2 {

}

h3 {

}

h4 {

}

h5 {

}

h6 {

}

.readdocument .readdocument-chapter-navigation {
    margin: 1em 0; /* stops headings with no comment points overwriting next/prev links */
}

label {
    display: inline;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

html {
    font-size: 100%;
    line-height: 1.5;
    scroll-padding-top: var(--oc-scroll-padding-top);
    overflow: auto; /* need this for FF to work with scroll-padding */
    scroll-behavior: smooth;
}

body {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    margin: 0;
}

header {

}

main {
    max-width: var(--oc-site-width);
    padding: 1em;
}

.required::after {
    content: ' *';
    font-weight: bold;
    font-size: 1.2rem;
}

.glyphicons {
    vertical-align: middle;
}

.hide-no-js {
    display: none;
}

.file-upload-block .required::after {
    display: inline !important;
}

.sr-only {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.oc-link {
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1rem;
    margin-right: 0.25rem;
}

.oc-link a.user-ctr-btn {
    display: inline-block;
}

.oc-link-v2 .btn {
    margin-top: 0.5em;
    padding: 0.25em 0.5em;
}

.oc-link-v2 .btn.user-view-comment span.user-view-comment-text {
    max-width: 0;
    -webkit-transition: max-width 1s;
    transition: max-width 1s;
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    overflow: hidden;
}

.oc-link-v2 .btn.user-view-comment:hover span.user-view-comment-text {
    max-width: 12rem;
}

.oc-link-v2 .btn.user-view-comment span.view-comment-icon,
.oc-link-v2 .btn.user-view-comment span.view-form-icon,
.oc-link-v2 .btn.user-map-button span.view-map-icon,
.oc-link-v2 .btn.maplist-btn span.view-map-icon {
    display: inline-block;
    width: 20px;
}

/* remove icon for drop downs */
.oc-link-v2 .maplist-dropdown .btn.maplist-btn.dropdown-toggle::after {
    display: none;
}

.readdocument__rep-count {
    display: inline-block;
    text-align: right;
    margin-top: 4px;
}

.readdocument_table {
    margin-bottom: 1em;
}

/* figures and figcaptions */

figure.ocwfigure img.ocwfigure-img {
    width: 100%;
}

figure.ocwfigure figcaption.ocwfigure-figcaption {
    font-size: 0.8em;
}

.ie11-col-width-fix {
    width: 100%;
}

.form-check-input {
    position: relative;
}

.opus-document-list a:hover {
    text-decoration: none;
}

.opus-secondary-document-list .opus-document-list__heading {
    cursor: pointer;
    display: flex;
}

.opus-document-list__heading__text {
    width: calc(100% - 34px);
    display: inline-block;
}

.breadcrumb-list__item + .breadcrumb-list__item::before {
    display: inline-block;
    padding-right: .25rem;
    content: "/";
}

.opus-document-list__category-section {

}

.breadcrumb-list__item {
    margin-right: 0.5rem;
}

/*
 * jQuery messages
*/
.jquery-messages {

}

.jquery-messages .alert-success,
.jquery-messages .alert-success p.template,
.jquery-messages .alert-info,
.jquery-messages .alert-info p.template,
.jquery-messages .alert-danger,
.jquery-messages .alert-danger p.template {
    display: none;
}

div.message p {
    padding: 0;
    margin: 0;
}

div.message .glyphicons {
    margin-right: 0.5rem;
}

#back-to-top-static {
    position: fixed;
    bottom: 40px;
    right: 0px;
    z-index: 99;
    border: none;
    outline: none;
    /*cursor: pointer;*/
    padding: 15px;
    border-radius: 10px 0 0 10px;
    font-size: 0.9rem;
}

#back-to-top-static .back-to-top-static__icon {
    display: none;
}

.add-client-buttons a.btn {
    float: left;
    margin-right: 1rem;
}

a.agent-draft-delete {
    margin: 0.5rem 0;
}

.my-drafts-controls-edit-form {
    display: inline-block;
}

.user-client-details button,
.user-client-organisation-details button {
    float: left;
    margin-right: 1rem;
}

.user-client-details [role="button"],
.user-client-organisation-details [role="button"] {
    float: left;
}

.hide-front-end {
    display: none;
}

.page-item__page-link__image {
    width: 20px;
    opacity: 0.75;
    vertical-align: middle;
}

.page-item__page-link__image--disabled {
    opacity: 0.25;
}

.page-item__page-link__image + .page-item__page-link__image {
    margin-left: -16px;
}

.page-link--icon {
    padding: .38rem .4rem;
}

.help-instructions-block, .help-warning-block {
    margin: 1rem 0 1rem 0;
    padding: 1rem;
    border: 2px solid #000;
}

.help-instructions-block__icon {
    width: 3rem;
    height: 3rem;
    margin-right: 0.5rem;
}

.help-instructions-block a {
    text-decoration: underline;
}

.splash-block {
    border: 5px solid silver;
    border-radius: 5px;
    background: white;
    display: none;
    /*box-shadow: 5px 5px 5px rgba(0,0,0,0.25);*/
}

.splash-block-text {
    font-size: 1.4rem;
}

.contact-us-form {
    margin-top: 1rem;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    padding: 1rem;
}

.contact-us-form h2 {
    font-weight: bold;
}

.attachments-list {
    margin-top: 1rem;
}

.attachments-list__list {
    padding-left: 1.25rem;
}

.form-result-page {
    border: 1px solid silver;
    border-radius: 5px;
    background: #eee;
    padding: 0.5rem;
    margin-bottom: 0 !important;
}

.form-results-text,
.form-results-text-redacted {
    border: 1px solid silver;
    border-radius: 5px;
    padding: 0.5rem !important;
    margin: 0.5rem 0 !important;
    background: white;
}

.form-results-text-redacted {
    border: 1px solid darkred;
}

.has-error .form-control {
    border-color: #a94442;
}
/*
.has-error .error.help-block {
    color: #a94442;
    margin: 0;
    display: block;
    font-weight: bold;
}
*/
.error.help-block.representation-radio {
    text-align: center;
}

.language-link {
    color: white;
    position: absolute;
}

.language-link:hover {
    color: white;
}

.select2-selection__rendered.form-control {
    width: initial;
}

.ocwbootstraplayout figure {
    margin: 0;
}

/* Cookies page */

.cookies-table-layout {
    padding: 2em;
}

tr {
    border-bottom: 1px solid #ddd;
}

.cookies-table th, td {
    text-align: left;
    padding: 1em;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    color: #dc3545;
    background-color: #ffe3e6;
    border: 1px solid #dc3545;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 1rem;
}

/* Custom forms */

.custom-form ol {
    list-style: decimal;
    padding: 0 1rem;
}


.opusmap-page .main-content-row {
    height: calc(100% - 66px);
}

.snippet-menu-top {
    background-color: #f06135;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 1rem;
}

.snippet-menu-top .help-text {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    padding-right: 2rem;
}

.snippet-menu-top .parish-list {
    font-size: 1.5rem;
    width: 100%;
    margin-right: 1rem;
}

.index-client {
    display: none;
}

/* 3d-room */
#autorotateToggle,
#fullscreenToggle {
    top: 34px !important;
}
