body.proof-approval .logo-wrapper,
body.proof-approval .search-wrapper,
body.proof-approval .dog-wrapper {
  display: none !important;
}

.elementor-location-header {
  display: none;
}

.elementor-location-footer {
  display: none;
}


.flash-message {
  height: auto;
}

.pre-text,
.customer-message {
  font-weight: bold;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  margin-top: 20px;
}
.pre-text {
  padding-left: 0;
  text-align: center;
  width: 820px;
}
.pre-text p,
.customer-message p {
  margin-bottom: 0px;
  line-height: 1.5;
  font-size: 20px;
}
.customer-message {
  margin-top: 0px;
  text-align: center;
}
.customer-message textarea {
  margin-top: 10px;
  height: 80px;
  width: 500px;
  box-sizing: border-box;
}
.customer-message button {
  vertical-align: bottom;
  margin-left: auto;
  margin-right: auto;
}

.nosummary-hide {
  display: none;
}

.summary-hide > * {
  display: none;
}
.summary-hide .proof-info-section {
  display: block;
}

.proof-info-section {
  margin-top: 20px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.proof-info-section label {
  text-align: right;
  margin-bottom: 0;
}
.proof-info-section p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.proof-info-section p label {
  width: 50%;
  display: inline-block;
  text-align: right;
  box-sizing: border-box;
  padding-right: 5px;
}
.proof-info-section p span.value {
  width: 50%;
  display: inline-block;
  text-align: left;
  box-sizing: border-box;
  padding-left: 5px;
}

.proof-info-section p.buttons {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}
.post-text p.buttons {
  position: relative;
}
.post-text p.buttons .status {
  position: absolute;
  top: 5px;
  left: 50%;
  margin-left: 50px;
}
.approve-section .input-section,
.proof-change-section .input-section {
  background: #ddd;
  padding: 10px 20px;
  margin-bottom: 10px;
}
.approve-section label {
  display: block;
  float: left;
  margin-right: 20px;
  font-size: 20px;
  line-height: 46px;
}
.approve-section p:first-child {
  margin-bottom: 10px;
}
.approve-section input[name='signature'] {
  font-family: 'Brush Script MT';
  font-size: 36px;
  line-height: 36px;
  padding: 0 5px;
  box-sizing: border-box;
  width: 380px;
  margin-bottom: 5px;
}
span.signature {
  font-family: 'Brush Script MT';
  font-size: 36px;
  line-height: 36px;
}
.approve-section input[type='submit'] {
  float: right;
}
#approve {
  vertical-align: top;
  margin-top: 3px;
}
.view-proof-button,
#request-changes,
#approve {
  /*font-size: 18px;*/
  /*padding: 10px 25px;*/
}
.proof-change-section label {
  float: left;
  margin-right: 10px;
  width: 170px;
  font-size: 20px;
}
.proof-change-section textarea {
  width: 465px;
  height: 150px !important;
  margin-bottom: 20px;
  float: left;
}
textarea {
  line-height: 1.3;
  font-size: 20px;
}
.page .status,
.page .status-view {
  width: 20px;
  height: 20px;
  background: white;

  // margin-top:5px;
  float: left;
}
.page .status.approved {
  background: url('https://www.newdog.ca/wp-content/themes/newdogpromo/img/check-20.jpg')
    no-repeat center;
}
.page .status.rejected {
  background: url('https://www.newdog.ca/wp-content/themes/newdogpromo/img/x-20.jpg')
    no-repeat center;
}
.page .status-view.waiting,
.page .status.waiting {
  background: url('https://www.newdog.ca/wp-content/themes/newdogpromo/img/arrow-20.jpg')
    no-repeat center;
  width: 40px;
}
.readonly .page .status-view.waiting,
.readonly .page .status.waiting {
  background: none;
}
form p.buttons {
  text-align: right;
}
form .pages {
  font-size: 20px;
  margin-top: 20px;
}
form .pages .page {
  clear: both;
  margin-bottom: 10px;
  position: relative;
}
form .pages label {
  display: block;
  line-height: 30px;
  font-size: 20px;

  float: left;
  text-align: center;
}
form .pages button,
form .pages a {
  /*font-size: 18px;*/
  /*padding: 10px 25px;*/
  min-width: 0;
}
form .page .changes,
form .page .approve,
form .page .view {
  height: 50px;
  vertical-align: middle;
  padding-top: 0;
  padding-bottom: 0;
}

form .page .view {
  border-radius: 5px;
}
form .page .changes {
  // border-radius: 5px 0 0 5px;
}
form .page .approve {
  // border-radius: 0 5px 5px 0 ;
}

form .page:nth-child(even) td {
  // background: #f0f0f0;
}

form .page td.changes.waiting,
form .page td.approve.waiting,
form .page td.view.waiting,
form .page td.or.waiting {
  // background: #ddd;

  /*box-sizing: border-box;*/
}
form.readonly .page td.changes.waiting,
form.readonly .page td.approve.waiting,
form.readonly .page td.view.waiting,
form.readonly .page td.or.waiting {
  background: none;
}

form .page td.col-status {
  vertical-align: middle;
}
form .page td.col-status .status.ready {
  background: transparent;
}

form .page td.view {
  width: 100%;
  padding-bottom: 10px;
  padding-top: 10px;
  border-radius: 0;
}
form .page td.view a {
  display: inline-block;
  min-width: auto;
}
form .page td.view img {
  max-height: 100px;
  width: auto;
}
form .page td.title {
  white-space: nowrap;
  vertical-align: middle;
  width: ;
}

form table.pages {
  table-layout: fixed;
}
form table.pages .col-status {
  width: 20px;
}
form table.pages .approve-section {
  width: 135px;
}
form table.pages .or {
  width: 25px;
}
form table.pages .proof-change-system {
  width: 60px;
}
form table.pages .title {
  width: 130px;
  text-align: left !important;
}
form table.pages .title h4 {
  font-size: 20px;
}

form .approve-section,
form .proof-change-section {
  position: relative;
}

form .page .wrapper {
  text-align: center;
}

form .page .input-section {
  display: none;
  position: absolute;
}
form .pages .approve .input-section {
}
form .page .open .input-section {
  display: block;
  z-index: 900;
  right: 0px;
  top: 45px;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
}
form .page .open .input-section:before {
  position: absolute;
  top: -7px;
  right: 19px;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-left: 7px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  content: '';
}
form .page .open .input-section:after {
  position: absolute;
  top: -6px;
  right: 20px;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ddd;
  border-left: 6px solid transparent;
  content: '';
}
form .input-section label {
  background: none;
  font-size: 20px;
  padding-left: 0;
}

td.col-status {
  width: 150px;
}
td.proof-change-section {
  width: 80px;
}
td.approve-section {
  width: 150px;
}
td.approve-section.disabled .input-section input[type='submit'],
td.proof-change-section.disabled .input-section input[type='submit'] {
  /*display: none;*/
  margin-left: 10px;
}
td.or {
  vertical-align: middle;
  font-weight: bold;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
  width: 10px;
}
td.view {
  width: 60px;
}
td.overlay {
  position: absolute;

  width: 100%;
  opacity: 0;
  height: 50px;
  z-index: -1;

  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
}
.page-approved .overlay,
.page-rejected .overlay,
.page.inactive .overlay,
td.overlay.active {
  opacity: 0.75;
  z-index: 800;
}
.page-view-waiting .overlay,
.table.complete .page .overlay {
  right: 0;
  width: 50%;
  opacity: 0.75;
  z-index: 800;
  height: 70px;
}

#main {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.table th,
.table td {
  border: none;
}
span.error {
  color: #861a24;
  display: block;
}
.page-header {
  border: none;
  text-align: center;
  display: flex;
  justify-content: center;;
}
body.proof-approval h1 {
  float: none;
  display: block;
  width: auto;
  font-size: 32px;
}
.header-logo-large {
  padding-right: 270px;
}
.send-message {
  font-size: 28px;
  color: #861a24;
  text-align: center;
  margin-bottom: 20px;
  width: 600px;
  margin: 40px auto 40px;
  display: none;
}
div.forward-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
div.forward-proof p {
  margin-bottom: 0;
}
div.send-to-friend div.popup {
  position: absolute;
  z-index: 900;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
  background: #ddd;
  padding: 10px;
  display: none;
}
div.send-to-friend div.popup:before {
  position: absolute;
  top: -7px;
  right: 19px;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-left: 7px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  content: '';
}
div.send-to-friend div.popup:after {
  position: absolute;
  top: -6px;
  right: 20px;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ddd;
  border-left: 6px solid transparent;
  content: '';
}
div.send-to-friend div.popup input[type='text'],
div.send-to-friend div.popup textarea {
  margin-bottom: 5px;
  margin-right: 5px;
}
div.send-to-friend div.popup textarea {
  height: 60px;
}

.proof-approval .pages .page .overlay,
.proof-approval .pages .page .status-view {
  display: none !important;
}
.proof-approval .pages .page .view.waiting {
  /* background: transparent !important; */
}

.proof-approval .header-message {
  display: none;
}
.proof-approval #widget-toggle-button {
  display: none;
}

.proof-approval h2 {
  font-size: 28px;
  margin-bottom: 15px;
  text-align: center;
}
.page-id-21453 .summary-page {
    border: 3px solid #e5dede;
    background-color: #fffdfd;
}
p.send-message.flash-message.summary-hide {
    display: none !important;
}

@media (max-width: 1023px) {
  #content {
    padding: 0 10px;
    box-sizing: border-box;
  }
  .proof-approval,
  .pre-text p,
  label,
  form table.pages .title h4,
  textarea,
  .container form table td {
    font-size: 16px;
  }

  .proof-approval .header-message-mobile {
    display: none !important;
  }

  form table.pages .page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  form table.pages .page td {
    padding: 4px 0px;
    height: auto !important;
  }
  form table.pages .title {
    width: 100%;
  }
  form table.pages .title h4 {
    margin: 0;
  }
  form table.pages .changes {
    width: 65px;
  }
  form table.pages .approve {
    width: 125px;
  }
  form table.pages .approve .or {
    padding: 8px;
    width: 35px;
  }
  form table.pages .page td.view {
    width: 100px;
  }
  .proof-approval h2 {
    font-size: 24px;
  }
  .pre-text {
    width: auto;
  }
  .btn-newdog {
    font-size: 18px;
    padding: 8px 7px;
  }
  div.forward-proof {
    flex-direction: column;
  }
  div.forward-proof .send-to-friend {
    margin-top: 10px;
  }
  div.forward-proof .send-to-friend p {
    margin-top: 0;
  }
  div.forward-proof a#send-to-friend {
    margin: 0 !important;
    margin-top: 10px;
  }
  textarea {
    max-width: 100% !important;
  }
  form .approve-section,
  form .proof-change-section {
    position: static;
  }
  form .page .open .input-section {
    left: 0;
    right: auto;
    top: auto;
  }
  .proof-change-section textarea {
    box-sizing: border-box;
    width: 100%;
  }
  body.proof-approval .proof-info-section {
    width: auto;
    padding: 0 20px;
  }
  .proof-info-section p {
    flex-direction: column;
    align-items: flex-start;
  }
  .proof-info-section p label {
    /* width: auto; */
    display: block;
    width: auto;
    font-weight: bold;
  }
  .proof-info-section p span.value {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
  }
  .flash-message {
    width: auto !important;
    height: auto !important;
    font-size: 20px !important;
    margin: 20px 0 !important;
  }
}

@media print {
  .bottom {
    display: none;
  }
  .customer-message button,
  .customer-message label,
  .forward-proof {
    display: none !important;
  }
}
