/* Contract templates mock-up. Reuses the site's look: red gradient title band,
   light headings with short rules, grey/white sections, small red rounded buttons. */
.ct-section {
    clear: both;
    padding: 5% 0 6% 0;
}
.ct-section.ct-grey {
    background-color: #f1f1f1;
}
.ct-container {
    width: 100%;
    max-width: 1232px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.ct-container *,
.ct-container *:before,
.ct-container *:after {
    box-sizing: border-box;
}
.ct-center {
    text-align: center;
}
p.ct-lead {
    color: #ffffff;
    max-width: 760px;
    margin: 0 auto;
}

/* Form */
.ct-form {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.ct-fields {
    margin-left: -15px;
    margin-right: -15px;
}
.ct-fields:after {
    content: "";
    display: table;
    clear: both;
}
.ct-field {
    padding: 0 15px;
    margin-bottom: 20px;
}
.ct-fields .ct-field {
    float: left;
    width: 33.3333%;
}
.ct-field label {
    display: block;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
}
.ct-field input,
.ct-field select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
}
.ct-field input:focus,
.ct-field select:focus {
    outline: none;
    border-color: #D10000;
}
.ct-err {
    display: none;
    color: #D10000;
    font-size: 13px;
    margin-top: 4px;
}
.ct-invalid input {
    border-color: #D10000;
}
.ct-invalid .ct-err {
    display: block;
}

/* Buttons, same as a.button_products but a little larger for primary actions */
.ct-btn,
a.ct-btn {
    display: inline-block;
    color: #ffffff;
    background-color: #D10000;
    border: 0;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s linear 0s;
}
.ct-btn:hover,
a.ct-btn:hover {
    background-color: #333333;
    color: #ffffff;
}
.ct-btn.ct-small {
    padding: 5px 10px;
    font-size: 12px;
}
.ct-link {
    background: none;
    border: 0;
    padding: 0;
    color: #D10000;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}
.ct-link:hover {
    color: #333333;
}

/* Filters and template list */
.ct-filters {
    max-width: 1000px;
    margin: 0 auto 10px auto;
    text-align: left;
}
.ct-filters .ct-field {
    width: 45%;
}
.ct-count {
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
}
.ct-list {
    margin-left: -15px;
    margin-right: -15px;
    text-align: left;
}
.ct-list:after {
    content: "";
    display: table;
    clear: both;
}
.ct-item {
    float: left;
    width: 33.3333%;
    padding: 0 15px;
    min-height: 230px;
    margin-bottom: 30px;
}
.ct-item h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
}
.ct-item p {
    margin: 0 0 15px 0;
    color: #666666;
}
.ct-item p strong {
    font-weight: 600;
    color: #333333;
}
.ct-empty {
    text-align: center;
    padding: 30px 0;
}
.ct-hello {
    color: #ffffff;
    margin-top: 10px;
}
.ct-hello a {
    color: #ffffff;
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .ct-fields .ct-field,
    .ct-filters .ct-field,
    .ct-item {
        float: none;
        width: 100%;
    }
    .ct-item {
        min-height: 0;
        text-align: center;
    }
    .ct-item .hr_left_small {
        margin-left: auto;
        margin-right: auto;
    }
    .ct-hash-head {
        justify-content: center;
    }
    .ct-hash-value {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

.ct-privacy {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto 20px;
  max-width: 640px;
  opacity: 0.8;
}

.ct-hash {
  display: block;
  margin-top: 8px;
}
.ct-hash-head {
  align-items: baseline;
  display: flex;
  font-size: 14px;
  gap: 12px;
}
.ct-hash-copy {
  font-size: 12px;
}
.ct-hash-value {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  box-sizing: content-box;
  display: block;
  font-family: Consolas, Menlo, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
  max-width: calc(100% - 16px);
  padding: 6px 8px;
  user-select: all;
  width: 32ch;
  word-break: break-all;
}

.ct-dialog {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  max-width: 640px;
  overflow: auto;
  padding: 24px 28px;
  text-align: left;
  width: calc(100% - 32px);
}
.ct-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
.ct-dialog h4 { font-size: 26px; margin: 0 0 12px; }
.ct-dialog code { overflow-wrap: anywhere; word-break: normal; }
.ct-dialog .ct-hash-value { margin-bottom: 16px; }
.ct-check-doc { color: #666666; }

.ct-note { color: #b00020; margin: .5rem 0 0; }
.ct-note:empty { display: none; }
