section#legacy body {
  font-family: 'hn';
}
section#legacy p {
    font-size: 22px;
    line-height: 34px;
}
section#legacy a {
    color: #666;
    text-decoration: none;
}
section#legacy ul li, section#legacy ol li {
    font-size: 22px;
    font-family: hn-light;
}
section#legacy a:hover {
  color: #808080;
}
section#legacy .error {
    color: red;
}

section#legacy .dropdown-menu:before {
    content: " ";
    display: block;
    position: absolute;
    height: 5px;
    top: -5px;
    left: 0;
    right: 0;
}

section#legacy .btn-loading {
    display: none;
}

section#legacy .catalog-page-title .title-text {
    font-size: 42px;
    line-height: 42px;
    margin-top: 25px;
}

section#legacy .catalog-page-title .subtitle-text {
    font-size: 32px;
    line-height: 32px;
    margin-top: 25px;
}

section#legacy .catalog-page-title hr {
    color: #dadada;
    height: 2px;
    width: 80vw;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 25px;
}

section#legacy ul.hierarchy > li {
    display: inline-block
}

section#legacy .card-body {
    padding: 10px;
}

section#legacy .card-header {
    padding: 5px;
}

section#legacy .page-item.active .page-link {
    color: #666;
    text-decoration: none;
    border: 1px solid #dee2e6;
}

section#legacy .page-link {
    color: #666;
    text-decoration: none;
    border: 1px solid #dee2e6;
}

section#legacy .accordion-button {
    padding: 20px 10px 20px 10px;
    font-weight: bold;
}

section#legacy .accordion-header {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

section#legacy .accordion-button:not(.collapsed) {
    color: #666;
    background-color: rgba(0,0,0,.03);
    box-shadow: none;
}

section#legacy .text-small {
    font-size: 14px;
    line-height: 17px;
}

section#legacy .text-extra-small {
    font-size: 13px;
    line-height: 16px;
}

section#legacy .fullwidth {
  width: 100%;
}

section#legacy .black-text {
  color: #000;
}

section#legacy .red-text {
  color: #ff0000;
}

section#legacy .white-text {
  color: #ffffff;
}

section#legacy .imperial-blue-text {
  color: #407ec9;
}

section#legacy .imperial-text {
  color: #808080;
}

section#legacy .imperial-gray-text,
section#legacy .imperial-grey-text {
  color: #4d4d4d;
}

section#legacy .imperial-soft-gray-bg-color,
section#legacy .imperial-soft-grey-bg-color {
  background-color: #f8f6f2;
}

section#legacy .imperial-soft-blue-bg-color {
  background-color: #f4f7fa;
}

section#legacy .imperial-white-bg-color {
  background-color: #ffffff;
}

section#legacy .imperial-box-border {
  border: 1px solid #e2e2e2;
}

section#legacy .bold-text {
  font-weight: bold;
}

section#legacy body {
  padding: 0;
  margin: 0;
  margin-top: 80px !important;
}

section#legacy .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

section#legacy .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

section#legacy .imperial-btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.5;
  color: #407EC9;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: #ffffff;
  border: 1px solid #D8D8D8;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

section#legacy .imperial-btn--lg {
  padding: 1rem 0.75rem;
  font-size: 1.375rem;
}

section#legacy .imperial-btn--text-left {
  text-align: left;
}
/*
section#legacy .btn-outline-primary {
  color: #fff;
  border-color: #fff;
}
*/
section#legacy .btn .btn-primary, section#legacy .btn .imperial-btn-blue {
  background-color: #407EC9;
  color: #fff;
  border: 1px solid #000;
}

section#legacy .imperial-btn.imperial-btn-blue:hover {
  color: #212529;
}

section#legacy .imperial-btn-black {
  font-family: 'hn-bold';
  background-color: #000 !important;
  color: #fff;
  border: 2px solid #808080;
}

section#legacy .imperial-btn-grey, section#legacy .imperial-btn-gray {
  font-family: 'hn-bold';
  background-color: #f8f6f2 !important;
  color: #407ec9;
  border: 2px solid #808080;
}

section#legacy .imperial-btn-white {
  background-color: #fff;
  color: #4d4d4d;
  font-family: 'hn-bold';
  border: 1px solid #7a7a7a;

}

section#legacy .imperial-btn-white i {
  color: #808080;
}

section#legacy .imperial-btn:hover {
  color: #808080;
}

section#legacy .text-blue {
  color: #407ec9;
}

section#legacy .bg-blue {
  background-color: #407ec9;
}

section#legacy .has-search .form-control {
  padding-left: 30px;
}

section#legacy .has-search .form-control-feedback {
  position: absolute;
  padding-left: 5px;
  z-index: 2;
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}

/* carousel */

section#legacy #carousel video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

section#legacy .box-content {
  position: relative;
  text-align: center;
}

section#legacy .box {
  min-height: 350px;
}

section#legacy .carousel-overlay {
  position: absolute;
  top: 100px;
  color: #fff;
  text-align: center;
  font-size: 20px;
  background-color: rgba(51, 103, 153, 0.6);
  padding: 20px;
}

section#legacy .carousel-item {
  height: 400px;
  color: #fff;
}

section#legacy header + .content-page-title {
  margin-top: 125px;
}

section#legacy .content-page-title {
    margin-top: 125px;
}

@media (min-width: 576px) {
    section#legacy .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 768px) {
    section#legacy .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 992px) {
    section#legacy .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    section#legacy .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (min-width: 1400px) {
    section#legacy .card-columns {
        -webkit-column-count: 5;
        -moz-column-count: 5;
        column-count: 5;
    }
}