/* Bootstrap 5 compatibility rules that preserve the existing public shell. */
.container {
    max-width: 1030px;
    padding: 5px;
}

.row {
    --bs-gutter-x: 30px;
}

body {
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

a {
    color: #337ab7;
}

a:hover,
a:focus {
    color: #23527c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1,
h2,
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

small,
.small {
    font-size: 85%;
}

ul,
ol {
    padding-left: 40px;
    margin-bottom: 10px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
    opacity: 1;
}

.btn {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
}

.btn-primary {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #286090;
    border-color: #204d74;
}

.btn-success {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #449d44;
    border-color: #398439;
}

.btn-info {
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #31b0d5;
    border-color: #269abc;
}

.btn-warning {
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #ec971f;
    border-color: #d58512;
}

.btn-danger {
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #c9302c;
    border-color: #ac2925;
}

.form-control {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #eee;
    opacity: 1;
}

textarea.form-control {
    height: auto;
}

.input-group-text {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1;
    color: #555;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.mb-3 {
    margin-bottom: 15px !important;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.table {
    --bs-table-color: #333;
    --bs-table-bg: transparent;
    --bs-table-striped-color: #333;
    --bs-table-striped-bg: transparent;
    margin-bottom: 20px;
}

.table > :not(caption) > * > * {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    border-bottom: 0;
    box-shadow: none;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
        max-width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1030px;
        max-width: 1030px;
    }
}

.navbar-inverse {
    min-height: 50px;
    padding: 0;
    border-radius: 0;
}

.navbar-inverse .container-fluid {
    min-height: 50px;
    padding-right: 15px;
    padding-left: 15px;
}

.navbar-inverse .navbar-brand {
    width: auto;
    height: 50px;
    margin-right: 0;
    padding: 0;
}

.navbar-inverse .navbar-brand img {
    width: auto;
    max-height: 50px;
}

.navbar-inverse .navbar-toggler {
    margin: 8px 0 8px auto;
    border-color: #272727;
    background-color: #616161;
}

.navbar-inverse .navbar-nav .nav-link {
    padding: 15px;
    color: var(--hs-nav-fg, #fff);
    line-height: 20px;
}

.navbar-inverse .dropdown-menu {
    margin: 0;
    padding: 5px 0;
    border-radius: 0;
    background-color: var(--hs-primary);
}

.navbar-inverse .dropdown-item {
    padding: 3px 20px;
    color: var(--hs-nav-fg, #fff);
}

.navbar-inverse .dropdown-item:hover,
.navbar-inverse .dropdown-item:focus,
.navbar-inverse .dropdown-item.active,
.navbar-inverse .dropdown-item:active {
    color: #fff;
    background-color: var(--hs-accent);
}

.navbar-inverse .dropdown-divider {
    border-top-color: #fff;
}

.hs-navbar-search {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    box-shadow: none;
}

.hs-navbar-search input[type="text"] {
    width: 180px;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hs-btn-default {
    border-color: #ccc;
    background-color: #fff;
    color: #333;
}

.hs-btn-default:hover,
.hs-btn-default:focus {
    border-color: #adadad;
    background-color: #e6e6e6;
    color: #333;
}

.hs-panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hs-panel-heading {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.hs-panel-heading > :last-child {
    margin-bottom: 0;
}

.hs-panel-body {
    padding: 15px;
}

.hs-well {
    min-height: 20px;
    padding: 19px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

.hs-jumbotron {
    margin-bottom: 30px;
    padding: 30px 15px;
    color: inherit;
    background-color: #eee;
    border-radius: 6px;
}

.hs-jumbotron h1 {
    color: inherit;
}

.hs-jumbotron p {
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 200;
}

.hs-jumbotron > :last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .hs-jumbotron {
        padding: 48px 60px;
    }
}

.hs-forum-login-nav {
    min-height: 50px;
    padding: 0;
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
}

.hs-forum-login-nav .container-loginMenu {
    width: 100%;
}

.hs-forum-login-form {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.hs-forum-login-form .input-group {
    width: auto;
    margin-bottom: 0;
}

.hs-forum-login-form .form-control {
    min-width: 140px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hs-hide-sm-only {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-inverse .navbar-collapse {
        border-top: 1px solid #007516;
    }

    .navbar-inverse .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .navbar-inverse .dropdown-menu {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .row {
        --bs-gutter-x: 10px;
    }
}

@media (max-width: 767.98px) {
    .hs-forum-login-nav .navbar-toggler {
        margin: 8px 0;
    }

    .hs-forum-login-form {
        align-items: stretch;
        flex-direction: column;
    }

    .hs-forum-login-form .input-group {
        width: 100%;
    }
}
