/* Shared styles for the CCH policy and form pages:            */
/* cch-conditions, cch-invoice, cch-hldytruff-returns,           */
/* cch-shipcontractor-policy and freight-policy.                 */
/* Same look as cch-checkout.html.                               */

.maincontainer {background-color: #fafafa;}

/* Header menus sit above everything on the page */
.dropdown-content {z-index: 1000;}

/* Anything with the hidden attribute stays hidden, even if a class gives it a display. */
[hidden] {display: none !important;}

/* Every p starts with no margin; cards add their own spacing below. */
p {margin: 0;}

.cch-btn {
  background-color: #ffbe00;
  color: #000000;
  padding: 11px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  margin: 5px 0px;
  cursor: pointer;
  border: 2px solid #ffbe00;
}

.cch-btn:hover {background-color: #ffae00;}

.cont-area a {color:#ffbe00; text-decoration: underline;}

.cont-area a:hover {color:#a1a1a1; cursor: pointer;}

/* =================CONTENT================*/
.cont-area {
  display: flex;
  padding: 30px 50px;
  flex-direction: column;
  align-items: center;
  background-color: #f1f1f1;
}

/* The white cards, one under another, as wide as the banner */
.cch-card {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 10px;
  padding: 27px 30px;
  background-color: #FFFFFF;
}

.cch-card h3 {margin: 0;}

.cch-card p {margin: 15px 0;}

/* The page title at the top of the card, styled like the checkout's banner title */
.cch-card .page-title {margin: 0; font-size: 21px; font-style: italic;}

/* ----- Policy text: a comfortable line length and spacing ----- */
.doc-card h3 {margin-top: 30px;}

.doc-card p, .doc-card li {max-width: 75ch; line-height: 1.5;}

.doc-card ol, .doc-card ul {margin: 15px 0; padding-left: 24px;}

.doc-card li {margin: 6px 0;}

/* The "Last updated" line at the end of a policy */
.doc-card .updated {margin-top: 30px; font-size: 13px; color: #808080;}

/* ----- Forms ----- */
.cch-card input[type="email"],
.cch-card input[type="text"] {
  width: 100%;
  padding: 6px 9px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid #a1a1a1;
  background-color: #FFFFFF;
}

/* A label with its input underneath */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 500px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
}

.field.short {max-width: 200px;}

.cont-area .order-error {color: #be2012; font-size: 13px; margin: 10px 0 0 0; white-space: pre-line;}

.order-error:empty {display: none;}

/* ----- CCH footer ----- */
.cch-footer {
  display: flex;
  padding: 21px 18px;
  justify-content: center;
  background-color: #fafafa;
}

.footer-box {margin: 14px 28px; max-width: 200px}

.footer-box h3 {color:#ffae00; text-transform: capitalize; font-size: 15px; margin: 0; margin-bottom:5px;}

.footer-box h4 {font-size: 12px; margin: 2px; font-style: italic;}

.footer-box a {display: block; color:#808080; font-size: 14px; text-decoration: underline;}

.footer-box a:hover {color:#ffbe00;}

@media screen and (max-width: 1110px) {
  .cch-footer {flex-direction: column;}
}

@media screen and (max-width: 800px) {.cont-area {padding: 30px 21px;}}

@media screen and (max-width: 500px) {
  .cch-card {padding: 27px 21px;}
}
/* =================CONTENT================*/
