/* Body CSS */
body {
	background:white;
	font-family: Arial, Helvetica, sans-serif;
}

#os-container div,.opinion-suite #os-header {
	float:none!important;
	overflow:visible!important;
    clear: both;
}

#os-container #report-table tr div,
#os-container #report-table td div {
	width:150px!important;
}

.opinion-suite #os-body-main{
	overflow:visible!important;
	line-height: 1.6em;
}

/* Body formatters */
#os-body-main h1 {
    font-family: arial, helvetica, sans-serif;
    font-size: 1.9em;
    color: #7998A9;
}

#os-portal-logo {
	font-size:24px;
	overflow:visible!important;
	position:relative!important;
	width:auto!important;
	float:none!important;
}
#os-portal-logo *,
#os-custom-logo * {
    text-decoration: none;
    border:none;
}

/* Hide various bits so that they are not printed out -
these will tend to be parts of the form that are only relevant online */
#os-global-nav,#os-admin-global-nav,
.opinion-suite #os-header-navigation,
#skip,
#os-footer,
#printbtn,
.back,
.os-boxout-style-2,
.do-not-print,
.action-links,
.hide,
.grouping-checkbox-cell,
#response-management-actions,
.form-actions,
#previewbar,
#tr-embed-spacer,
#tr-embed-header,
#leave-survey-box,
#submit-survey-box,
.quickconsult-progress-bar-container,
#sharing-viewlet,
.dashboard-link-box,
.collapsible-heading,
.tr-embed,
.printing-instruction {
	display:none!important;
}

.youtube5container, /* Youtube videos do NOT look good printed... */
.youtube5player,
.youtube5waiting {
	display:none!important;
	visibility: invisible;
	height: 0px !important;
	width: 0px !important;
}

#os-container {
	margin:0;
	padding:0;
	color:black;
	background:transparent;
	overflow:visible!important;
	width:auto!important;
}

#os-portal-logo,#os-portal-logo a {
	text-indent:0;
	display:block;
	width:auto!important;
}

a:link,a:visited {
	color:#520;
	background:transparent;
	font-weight:bold;
	text-decoration:none;
}

a:link:after,
a:visited:after,
a:hover:after,
a:active:after {
	content: " <" attr(href) "> ";
	color: grey;
	font-style: italic;
	font-weight: normal;
	text-decoration:none;
}
#os-header * a:link:after,
#filter-results a:link:after,
#filter-results a:visited:after,
#filter-results a:hover:after,
#filter-results a:active:after,
h1.main-heading a:link:after{
	content:"";
}
a[href^="mailto"]:after {
	content: "";
}
#qc-content-break{
	max-width:28cm;
	width:auto!important;
	width:28cm
}
h2 {
	margin: 1em 0 0 0;
	font-size: 1em;
}
th.fixed-header {
    width: 11em !important;
}
.sortable{
	max-width:25cm;
	width:auto!important;
	width:25cm;
	min-width:16.2cm;
	border:1px solid #cccccc;
	padding:0;
	border-left:none;
	border-top:0;
	margin:1em 0;
}
.sortable tr td,.sortable th {
	border:1px solid #cccccc;
	border-bottom:none;
	border-right:none;
	padding:0.3em 0.5em;
}
.sortable th {
    background-color: #EEEEEE;
    color: black;
    padding: 0.3em 0.5em;
}

.collapsible-heading-toggle {
    text-decoration:none;
}

fieldset {
    padding: 0 !important;
}

/* Reskin the consultation overview page */

/*
	Skin the information sidebar (contains contact info, dates etc.) - ideally it should appear on a new page whole if the
	space doesn't exist for it on the current page - however while page-breaking is supported in Safari page-break-inside
	is not so we can't make it lie on a new page without forcing it to ALWAYS be on a new page.
*/
.os-consultation-box {
	width: 700px;
	border: 2px dashed #666;
	border-radius: 5px;
	padding: 5px;
	margin: 5px;
	font-size: 14px !important;
	page-break-before: auto;
	page-break-inside: avoid; /* Avoid the box being split across a page boundary */
}

.print-keep-together {
	page-break-before: auto;
	page-break-inside: avoid;
}

.os-consultation-main {
	width: 700px;
	padding: 5px;
	margin: 5px;
	font-size: 14px !important;
}

.vcard span {
	display: block;
}

/* Reskin map */
.os-consultation-main > div > p > small,
.os-consultation-main > div > small { /* Get rid of link */
	display: none !important;
}

.os-consultation-main > div > p > iframe { /* Make map fill page */
	width: 100% !important;
}

/*
	Reskin consultation hub page for non-linear consultations
*/
#edit-form > fieldset {
	border: none !important;
	font-size: 12px !important;
}

#survey-contents > table,
#survey-contents > table > thead > tr > th,
#survey-contents > table > tbody > tr > td {
	border: 1px #666 solid !important;
	border-collapse: collapse;
}

/* Reskin single line text input fields - this won't work in IE before 9
so a workaround will be required */
input[type=text], input[type=url], input[type=tel], input[type=number],
input[type=color], input[type=email], textarea, .printed-item-input {
    background-color:#FFF;
    border: 2px solid #666;
    border-radius: 5px;
    min-height: 40px;
    min-width: 900px;
    display: block;
    clear: both;
    font-size: 18px;
    color: #666;
}

textarea {
    min-width: 900px;
    min-height: 180px;
    resize: none;
    display: block;
    clear: both;
}

table {
    text-align: left !important;
}

/* Start Reskinning Checkboxes and Radiobuttons - only works in WebKit currently? */
input[type=checkbox], input[type=radio] {
    -moz-appearance:none !important;
    -webkit-appearance:none !important;
    -o-appearance:none !important;
    width: 15px;
    height:15px;
    display: inline;
    float: left;
    border: 2px #666 solid;
    background: #FFF;
    border-radius: 3px;
}

/* Make radio buttons circular */
input[type=radio] {
    border-radius: 7.5px;
}

/* Line up the description with the tickbox */
.label-right {
	display: inline;
	margin-left: 10px;
	margin-top: -2px;
}

td, th {
    text-align: left !important;
    padding: .4em .5em;
}

/* Format question-container and field (both are fieldset) */
.question-container {
    padding: 15px;
    border: none !important;
    page-break-before: avoid; /* Avoid this otherwise we can end up with a completely blank page at start of print save the title */
    page-break-after: auto;
    margin-top: 40px;
}

.field, .common-fieldset, .factbank, .section {
    border: none !important;
    page-break-after: auto;
    page-break-before: auto;
    page-break-inside: avoid;
}

.common-fieldset, .factbank {
    margin: 10px;
}

.formControls {
    display: none;
}

.quickconsult-survey-legend {
    width: 100%;
}

.number {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.1em;
    font-weight: bold;
    float: left;
    margin: 0 0.5em 0 0;
}

.the-question {
    display: inline-block;
    font-size: 1.2em;
    width: 90%;
    position: relative;
    top: -2px;
}

.matrix-question {
	margin-left: 15px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.matrix-question th {
	font-style: normal;
	font-weight: normal !important;
}

/* Special CSS for the formatting of items on the single printout view
   This is here so that people can see what the printout will look like before printing. */

/* Titles etc. */

.analysis-page-title {
    font-family: arial,helvetica,sans-serif;
    font-size: 1.4em;
    font-weight: normal !important;
    display: block;
    margin-top: 30px;
    margin-bottom: 0.5em;
}

/* Single printout view page management */

.question-container {
    page-break-before:auto;
    page-break-inside:avoid;
}

/* Field Holders */

.printed-field-select {
    clear: both;
}

.printed-select-quantity-notice {
    font-style: italic;
    font-size: 0.8em;
    line-height: 0.8em;
    color: #888;
}

.no-margin {
    margin: 0;
}

.printed-field-factbank {
    display: block !important;
}

/* Field Items */
.printed-item-checkbox {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #666;
    border-radius: 3px;
    background: #FFF !important;
    display: inline-block !important;
    padding: 0 !important;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    text-align: center !important;
}

.qc-matrix-select .printed-item-checkbox {
  border-radius: 15px;
}

.qc-matrix-radio .printed-item-checkbox {
    border-radius: 15px;
}

.printed-field-select .printed-item-checkbox {
    border-radius: 15px;
}

.printed-field-radio .printed-item-checkbox {
    border-radius: 15px;
}

.form-public .field .printed-item-input, .form-public .field .printed-item-textarea
{
    padding: 5px;
    min-height: 20px;
}

.printed-item-label {
    margin-left: 3px !important;
    margin-right: 20px !important;
    display: inline-block !important;
    position: relative !important;
    top: -5px !important;
}

.printed-item-ul {
    list-style-type:none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.printed-item-list {
    display: inline;
    float: left;
    padding: 0 !important;
    margin: 0 !important;
}

.printed-item-input, .printed-item-textarea {
    background-color:#FFF;
    border: 2px solid #666;
    border-radius: 5px;
    min-height: 30px;
    min-width: auto;
    display: block;
    clear: both;
    color: #666;
}

.form-public .field .printed-item-textarea {
    min-height: 200px;
}

/* Redaction block styling */
strike.redacted, del.redacted {
    text-decoration:none;
    color: #F00;
    padding: 0 0.5em;
}

.os-publishing-checked {
  color:black;
  background: none;
  margin-top: -0.2em;
}

/* Header */
div.part-of-consultation-bar h4 {
    display:none;
}

div.part-of-consultation-bar h3 {
    margin-top:0px;
    margin-bottom:0px;
}

div.part-of-consultation-bar h3 a {
    color:black;
}

div.part-of-consultation-bar h3 a:after {
    content: "";
}

/* Response ID */
#redaction-body-main h1 {
    font-size:16px;
    margin-top:0px;
    color:black;
}

