/* Animated throbber */
form#aaopms-home-form div.form-item input.form-autocomplete {
  background-image: url(../../../../../misc/throbber.gif);
  background-position: 99% 10px; /* LTR */
  background-repeat: no-repeat;
}
form#aaopms-home-form div.form-item input.throbbing {
  background-position: 99% -12px; /* LTR */
}
.lens-admin {
	height:400px;
}
.lens-label {
	font-size:130%;
}

/* Change message box color */
body.page-node-190 div#messages div.messages.status, div#aaopms_proposal_form div.messages.error, div#aaopms_proposal_form div.messages.status, div#refresh-wrapper div.messages.status {
	background-color:#f6f6ee;
	border: 1px solid #c43E1A;
	color: #c43E1A;
}
div#refresh-wrapper div.messages.error {
	background-color:#f6f6ee;
	border: 2px solid #d43E1A;
	color: #d43E1A;
}
/* hide the navigation tabs for the main Lens page */
body.page-node-190 div.tabbed-nav {
	display:none;
}
.lens-table table thead {
	background:#990f0e; 
	color:white;
	font-weight:bold;
}
.lens-table table {
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	overflow:hidden;
        border-collapse: separate;
        border-spacing: 0;
}
.lens-table table th.select-all, .lens-table table div.form-type-checkbox {
	padding-left:4px;
        width: 10px;
        border-top-left-radius: 10px;
}
.lens-table table tbody {
	margin-bottom:20px;
}
.lens-table table tbody tr:last-child td:first-child {
	border-bottom-left-radius:10px;
}
.lens-table table tbody tr:last-child td:last-child {
	border-bottom-right-radius:10px;
}
.lens-table table thead th {
  padding:10px;
}
.lens-table table tbody td {
  padding: 10px;
}
input.footer-links.form-submit {
	border: none;
	background:#f0f0e0;
	color:#5F5F5F;
	font-family: Arial, sans-serif;
	box-shadow: none;
	display:inline-block;
	padding-left:15px;
	font-weight:normal;
	height:23px;
	font-size:14px;
/*	width:70%; */
	text-align:left;
}
input.footer-links.form-submit:hover {
	background:#f0f0e0;
	color:#743E1A;
	height:23px;
	font-size:14px;
}
div#aaopms_proposal_form div.ajax-progress {
	font-size:14px;
}
.lens-table td.empty.message {
	font-size:14px;
	padding:10px;
	border-bottom-right-radius:10px;
	border-bottom-left-radius:10px;
}
#region-content .lens-table div.item-list ul.pager {
  margin-top:0;
  border:0;
  background-color: #f0f0e0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px 0;
  width:97%;
  display:block;
  margin-left: auto;
  margin-right: auto;
}
form#aaopms-service-current-form table.lens-proposal-table {
  margin-bottom: 0;
}
/* some overrides */
form#aaopms-service-current-form table tbody tr:last-child td:first-child {
	border-bottom-left-radius:0;
}
form#aaopms-service-current-form table tbody tr:last-child td:last-child {
	border-bottom-right-radius:0;
}

div#lens-coI-invite {
	background:#f0f0e0;
	display:none;
	padding:10px 50px 30px;
}
.lens-inner-box {
	background:#fafaf0;
	border-radius:10px;
	padding:10px 30px 30px;
}
div.lens-inner-box div.form-type-item {
	font-size:120%;
}
div.lens-page-rules {
	display:block;
	width:90%;
        margin-top: 10px;
}
div.lens-page-rules li {
	padding:5px 0;
}
p span.lens-underline {
        text-decoration: underline;
}
fieldset.lens-related-fieldset {
	padding:5px 0 15px;
	border:none;
}
fieldset.lens-related-fieldset legend {
	font-weight:bold;
	font-size: 120%;
}
div.lens-related-container {
	display:inline-block;
	padding:0 10px;
}
fieldset.lens-related-container {
	display:inline-block;
}
span.lens-emphasis {
	font-weight:bold;
	color:red;
}
fieldset.lens-invitation {
	border: none;
}
div.lens-inviting-cois {
	padding:10px 0 0 20px;
}
.lens-current-buttons {
	text-align:right;
	margin-right:20px;
}
div.lens-button-container {
	text-align:center;
}
div.lens-button-container input.lens-button {
        margin-left: 2%;
        margin-right: 5%;
        display:inline;
        padding: 0 20px;
}
.lens-delete-container {
	padding-bottom:20px;
}
.lens-delete-button {
	padding:10px;
}
.lens-delete-proposal {
	padding:3px 10px;
}
fieldset.lens-fieldset-rules {
	border:3px double #e0e0d0;
	border-radius:10px;
	width:60%;
        margin-top: 10px;
}
div#aaopms_proposal_form div.messages.error ul li {
	padding:2px 0;
	font-size:120%;
}

div#time_request-wrapper div.form-item div.description {
	display:block;
	padding:3px 0 0 2px;
}
div#time_request-wrapper div.form-item {
	display:inline-block;
	margin:0;
	padding:0 20px 5px 0;
}
div.lens-empty {
	height:200px;
	font-size:120%;
	font-weight:bold;
	padding:20px 0 0 10px;
}
div#scheduling-wrapper div.lens-service-reminder {
	padding:0 0 20px 10px;
}
div#scheduling-wrapper div.lens-service-reminder span {
	font-style: italic;
}
form#aaopms-proposal-form div#start-wrapper div.description {
	padding-top:10px;
}
div.lens-faq-bg {
	background:#fafaea;
	border-radius:10px;
	padding:30px 20px 20px;
	border: 1px solid black;
	font-size:120%;
	line-height:140%;
}
div.lens-faq-bg div {
	margin-bottom:5px;
}
blockquote.lens-faq-answer {
	color:#6f6f6f;
	background:#f0f0e0;
	padding:15px 10px;
	border-radius:10px;
	margin:15px 0 20px 10px;
}
blockquote.lens-faq-answer p {
	margin:0;
}
form#password-policy-password-tab {
	background:#f0f0e0;
	margin:0 auto;
	padding:20px;
	border-radius:10px;
}
body.page-user #region-content div#block-system-main {
	border:none;
}
body.page-user #region-content div#block-system-main div.password-parent, body.page-user #region-content div#block-system-main div.confirm-parent {
	width:90%;
}
body.page-user #region-content div#block-system-main div.password-parent div.password-strength {
	margin-top:5px;
}
body.page-user #region-content div.tabbed-nav {
	display:hidden;
}
body.page-node-610 div.page section#section-content div#region-content div.tabbed-nav {
	display:hidden;
}
div#edit-form-heading {
	font-size:140%;
}
table.lens-subs-table {
	background:#f0f0e0;
	border-radius:10px;
	margin:10px;
	display:inline-block;
	vertical-align:top;
}
table.lens-subs-table thead tr {
	font-weight:bold;
	font-size:120%;
	border-bottom:1px solid #e0e0d0;
}
table.lens-subs-table thead tr th {
	padding:10px;
}
table.lens-subs-table tbody tr td.lens-subs-label {
	padding:10px;
	font-weight:bold;
}
table.lens-subs-table tbody tr td.lens-subs-detail {
	padding:10px;
	text-align:center;
}
.lens-red {
	color:red;
}	
div.page div[id*='atac-'] table.sticky-table.sticky-enabled.tableheader-processed, div.page div#service-grades table.sticky-table.sticky-enabled.tableheader-processed {
	width:100%;
	table-layout:fixed;
}
div.page div[id*='atac-'] table.sticky-table.sticky-enabled.tableheader-processed thead, div.page div#service-grades table.sticky-table.sticky-enabled.tableheader-processed thead {
	width:100%;
}
div.page div[id*='atac-'] table.sticky-table.sticky-enabled.tableheader-processed tbody, div.page div#service-grades table.sticky-table.sticky-enabled.tableheader-processed tbody {
	width:100%;
}
div.page div[id*='atac-'], div.page div#all-feedback-wrapper, div.page div#service-grades {
	width:97%;
	margin:0 auto;
}
div[id*='atac-'] table thead, div#all-feedback-wrapper table thead, div#service-grades table thead {
	background:#990f0e; 
	color:white;
	font-weight:bold;
}
div[id*='atac-'] table thead th, div#all-feedback-wrapper table thead th, div#service-grades table thead th {
	font-size:110%;
}
div[id*='atac-'] table thead th:first-child, div#all-feedback-wrapper table thead th:first-child, div#service-grades table thead th:first-child {
	border-top-left-radius:10px;
}
div#atac-grades table thead th:nth-last-child(2), div#atac-allocation table thead th:nth-last-child(2),  div#all-feedback-wrapper table thead th:last-child, div#service-grades table thead th:last-child {
	border-top-right-radius:10px;
}
div[id*='atac-'] table tbody tr:last-child td:first-child, div#all-feedback-wrapper table tbody tr:last-child td:first-child, div#service-grades table tbody tr:last-child td:first-child {
	border-bottom-left-radius:10px;
}
div[id*='atac-'] table tbody tr:last-child td:nth-last-child(2), div#all-feedback-wrapper table tbody tr:last-child td:last-child, div#service-grades table tbody tr:last-child td:last-child {
	border-bottom-right-radius:10px;
}
div[id*='atac-'] table tbody tr, div#all-feedback-wrapper table tbody tr, div#service-grades table tbody tr {
	width:100%;
	margin:0;
	padding:0;
	border:none;
	background:#f0f0e0;	
}
div#atac-grades table tbody tr, div#all-feedback-wrapper table tbody tr {
	border-bottom: 1px solid #e0e0d0;
}
div#atac-grades table tbody tr:last-child, div#all-feedback-wrapper table tbody tr:last-child {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-bottom: none;
}
div[id*='atac-'] table .atac-prog_id {
	width:12%;
	padding:5px 2%;
	text-align:center;
}
div#atac-grades table .atac-prog_id, div#atac-grades table.sticky-header .atac-prog_id, div#atac-allocation table .atac-prog_id, div#atac-allocation table.sticky-header .atac-prog_id, div#atac-grades-8 table .atac-prog_id, div#atac-grades-8 table.sticky-header .atac-prog_id {
	width:15%;
	padding:10px 2%;
	text-align:center;
}
div#atac-grades table.sticky-header, div#atac-allocation table.sticky-header, div#atac-grades-8 table.sticky-header {
	width:890px;
}
div#atac-grades table.sticky-header thead th.atac-prog_id, div#atac-allocation table.sticky-header thead th.atac-prog_id, div#atac-grades-8 table.sticky-header thead th.atac-prog_id {
	width:20%;
	padding:10px 5%;
	text-align:center;
}
div#atac-pregrades .atac-prog_title, div#service-grades .atac-prog_title {
	width:60%;
	padding:5px 2%;
}
div#atac-averages .atac-prog_title {
	width:52%;
	padding:5px 2%;
}
div#all-feedback-wrapper table.atac-all-feedback td.atac-all-feedback {
	width:70%;
	padding: 10px 2%;
}
th.atac-prog_title {
	padding:15px 2%;
}
td.atac-prog_title div.form-item {
	white-space:normal;
/*	width:100%; */
}
.atac-pi {
	width:15%;
	padding:5px 2%;
}
td.atac-pi div.form-item {
	white-space:normal;
}
#atac-pregrades div.form-item label, #atac-averages div.form-item label, #service-grades div.form-item label {
	font-weight:normal;
	color:black;
}
.atac-pregrade {
	text-align:center;
	padding:5px 2%;
}
.lens-confirmation {
	display:block;
	width:70%;
	margin:10px auto;
	border:2px solid red;
	padding:10px;
	text-align:center;
	color:red;
	font-weight:bold;
}
.atac-A, .atac-B, .atac-C, .atac-D, .atac-E, .atac-F, .atac-G, .atac-avg, .atac-Dark, .atac-Grey, .atac-Bright, .atac-darkC, .atac-greyC, .atac-brightC, .atac-longterm, .atac-override, .atac-comment, .atac-dispersion, .atac-dates, th.atac-all-feedback {
	text-align:center;
}

.atac-avg, .atac-Dark, .atac-Grey, .atac-Bright, .atac-dates {
	width:8%;
}
.atac-dates{
	padding:10px 0;
	vertical-align:middle;
}
.atac-darkC, .atac-greyC, .atac-brightC {
	width:5%;
}
.atac-brightC {
	padding-right:1%;
}
.atac-longterm, .atac-override {
	width:5%;
}
.atac-hidden {
	display:none;
}
.atac-comment div.form-textarea-wrapper textarea {
	min-height:40px;
	max-width:250px;
	margin-bottom:-15px;
	padding:1%;
}
.atac-comment div.form-textarea-wrapper div.grippie {
	display:none;
	visibility:hidden;
}
.lens-heading {
	font-size:140%;
	font-style:italic;
	margin-left:20px;
	padding-top:10px;
}
div.form-item-hide {
	margin-left:5%;
	margin-bottom:-15px;
}
input.lens-grades-buttons.form-submit {
	margin-left:20px;
}
.atac-feedback-details {
	padding:10px 5px;
	font-size:120%;
}
div.form-item-prog-id {
	padding-left:10px;
}
table.atac-all-feedback div.form-type-checkbox, table.atac-all-feedback th.select-all {
	padding:5px;
}
fieldset.deadline-fieldset {
	border:none;
}
/* Lens Instrument Request Form */
div.lens-irf {
	margin-bottom:10px;
	font-size:140%;
	color:#3f3f3f;
}
div.lens-irf-instrument {
	margin-bottom:5px;
	font-size:140%;
	color:#3f3f3f;
}
div.lens-irf-field {
	font-size:140%;
	color:#3f3f3f;
}
div.lens-irf-field span {
	width:400px;
	display:inline-block;
	margin:5px 0;
}
div.lens-irf span {
	font-weight:bold;
	color:#772010;
	display:inline-block;
	width:25%;
}
div.lens-irf div {
	display:inline-block;
	width:70%;
	vertical-align:text-top;
	margin-left:4px;
}
div.lens-irf-instrument span {
	font-weight:bold;
	width:150px;
	display:inline-block;
	color:#772010;
}
h2.lens-irf {
	color:#772010;
}

div.lens-service-instructions {
	padding:0 20px 20px;
}
div.lens-service-file {
	padding:0 20px 20px;
}
/* Lens Proposal classes */
table.lens-proposal-table {
	margin-left:auto;
	margin-right:auto;
	width:97%;
	color:#000;
	font-weight:bold;
	overflow:hidden;
}
tr.lens-proposal-row {
	background:#f0f0e0;
	color:#000;
	border:none;
	font-weight:normal;
	border-radius:10px;
}
.lens-proposal-centred {
	text-align:center;
	padding:15px;
}
.lens-proposal-left {
	text-align:left;
	padding:10px;
}
.lens-proposal-header {
	font-size:110%;
	color:#fff;
}

.lens-member {
    padding:5px 0;
}
/* ATAC grade selector */
.lens-telescope-select {
  display:block;
  width: 95%;
  margin: 0 auto 10px;
  background: #efefef;
  padding: 10px 2px;
  border-radius: 5px;
  border: 1px solid lightgrey
}
.lens-telescope-select .form-radios {
  width: 100%;
  text-align: center;
  display: inline-block;
}
.lens-telescope-select .form-type-radio {
  padding: 0 5%;
}
div.lens-tao div.form-type-radio {
  display:inline-block;
  padding: 0 5px;
}
select.lens-gender, select.lens-gender + div.description  {
  display:inline-block;
}
div.form-item-science-case-tao {
  margin-top: 25px;
}
.lens-format {
  background:#f0f0e0;
  padding:20px 10px;
  border-radius:10px;
}
.lens-detail {
  font-size: 130%;
  font-style: italic;
}
.lens-service-info {
  padding:5px 0;
}
div#aaopms_proposal_form {
  background: #f0f0e0;
  border-radius: 10px;
  padding: 10px 0;
}
fieldset.lens-footer {
     	width:80%;
   	margin: 10px auto 0;
   	padding:20px 80px 30px;
   	background:#f0f0e0;
   	border-radius:10px;
   	border: 1px solid lightgrey;
   	font-size:120%;

}
form#aaopms-newproposal-form select {
  margin-bottom: 10px;
}
h3.lens-proposal-title {
  font-size: 180%;
}
/* Hide page title for proposals page - replace with something else */
body.page-node-727 h1.page-title {
  display:none;
}
.lens-container {
  width:97%;
  margin-left:auto;
  margin-right:auto;
}
div[class*="form-item-related-"] {
  display: inline-block;
}
.lens-start-new-button, .lens-atac-button {
  margin:0 auto 30px;
  display:block;
  text-align: center;
  background: #990f0e;
  padding:20px;
  font-size:180%;
  width:60%;
  border-radius: 10px;
}
.lens-atac-button {
  width:25%;
  display: inline-block;
  margin: 0 10px 30px;
  padding:10px 20px;
}
a.lens-button-link:link,a.lens-button-link:visited {
  color:white;
}
a.lens-button-link p.lens-start-new-button:hover {
  background: #cc3f3e;
}
.lens-add-cois {
   width:97%;
   margin-left:auto;
   margin-right:auto;
   background:#990f0e;
   border-radius:10px;
   margin-top:10px;
   padding-top:10px;
}
.lens-access-denied {
  margin: 50px auto 150px;
  color: #990f0e;
  text-align: center;
  font-size: 200%;
  font-weight: bold;
  border:3px solid #990f0e;
  padding:40px;
  background:#f0f0e0;
  width:80%;
}
.aaopms-longterm-allocations {
  padding: 5px 10px 20px;
  min-height: 300px;
  background:#f0f0e0;
  border-radius: 10px;
}
.lens-allocation-field {
  padding: 0 10px;
}
div[class*="form-item-allocation-"] {
  padding: 0 10px;
}
#aaopms-longterm-allocations-form .description {
  padding-top: 10px;
}
body.context-lens h1.page-title {
  margin-bottom: 2px;
}
body.context-lens div[id*='atac-'] th.atac-all-feedback, body.context-lens div[id*='atac-'] th.atac-pi, body.context-lens div[id*='atac-'] th.atac-request {
  border-radius: 0;
}
.lens-subheading {
  display: block;
  margin-top:20px;
  font-style: italic;
  font-size: 120%;
  padding-left: 10px;
}
.bean-atac-documentation table thead th, .bean-atac-documentation table tbody td {
  padding: 10px;
}
body.context-lens .bean-atac-documentation table thead th:first-child {
  border-top-right-radius: 0;
}
body.context-lens .bean-atac-documentation table thead th:last-child {
  border-top-right-radius: 10px;
}
body.context-lens .bean-atac-documentation table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
body.context-lens .bean-atac-documentation h2 {
  color: #5F5F5F;
  font-family: Arial, sans-serif;
  font-size: 140%;
  font-weight: bold;
  font-style: italic;
  margin: 1em 0 1em 20px;
}
#subs-wrapper .form-item label {
  font-style: italic;
}

body.context-lens h1.page-title {
  padding-bottom: 15px;
}
.context-lens .lens-subs-table thead th:nth-last-child(2) {
  border-top-right-radius: 0;
}
.context-lens .lens-subs-table thead th:last-child {
  border-top-right-radius: 10px;
}
.context-lens .lens-subs-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.context-lens .lens-subs-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
