
* {
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
    background: #FFF;
}

.content, .main {
    min-height: 100%;
    height: 100%;
}

.main {
    padding: 20px 0;
}

.container {
    width: 1340px;
}

a:hover, a:active, a:link {
    text-decoration: none;
}

#bids-filter {
	padding-bottom: 10px;
}

#bids-filter .checkbox-list {
    height: 202px;
    overflow-y: scroll;
}

#bids-filter .filter-input-group {
    padding-bottom: 20px;
}

.hidden-country-codes {
    display: none;
}

.country-selector-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.country-selector-count {
    color: #555;
}

.country-selector-preview {
    min-height: 34px;
    margin-bottom: 4px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    color: #333;
    font-size: 12px;
    line-height: 1.45;
}

.countries-modal .modal-dialog {
    width: 1120px;
    max-width: calc(100% - 30px);
}

.countries-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.country-selector-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.country-selector-toolbar .form-control {
    max-width: 360px;
}

.country-selector-table {
    table-layout: fixed;
    margin-bottom: 0;
}

.country-selector-table td {
    width: 16.666%;
    min-height: 56px;
    vertical-align: top;
}

.country-selector-option {
    display: block;
    min-height: 42px;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.country-selector-option input {
    margin-right: 5px;
}

.country-selector-code {
    display: inline-block;
    min-width: 24px;
    margin-right: 4px;
    color: #777;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 11px;
    text-transform: uppercase;
}

.country-selector-name {
    color: #222;
}

.country-selector-label {
    display: inline-block;
    margin-top: 4px;
}

.input-small {
    width: 200px;
}

.table.projects td {
    padding: 15px 8px;
}

.table.projects th {
    color: #A9A9A9;
}

.projects td.date {
    width: 80px;
    font-size: 0.8em;
}

.projects .title {
    width: 450px;
    font-size: 1.2em;
}

.projects .budget {
    width: 125px;
    font-size: 1.05em;
    line-height: 1.45;
    color: #2c3a49;
}

.projects .description {
    overflow: hidden;
    width: 450px;
    font-size: 0.8em;
    line-height: 1.48;
}

.project-review {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #d9e2ef;
    background: #f8fbff;
    border-radius: 4px;
}

.project-review-header {
    margin-bottom: 8px;
}

.project-review-meta {
    margin-bottom: 6px;
}

.project-review-updated {
    margin-left: 8px;
    color: #777;
    font-size: 12px;
}

.project-review-comment {
    font-size: 0.85em;
    line-height: 1.5;
    color: #333;
}

.project-review-empty {
    font-size: 0.85em;
    color: #777;
}

.project-review-decision-success {
    background-color: #3c763d;
}

.project-review-decision-warning {
    background-color: #8a6d3b;
}

.project-review-decision-danger {
    background-color: #a94442;
}

.projects .processed {
    opacity: 0.2;
}

.projects .project:hover {
    background-color: #f9f2f4;
}

.projects td.country {
    text-align: center;
    width: 80px;
    padding: 10px 8px;
}

.projects .country_name {
    font-size: 0.6em;
}

.projects td.action {
    width: 182px;
    vertical-align: top;
    padding-left: 0;
}

.project-actions {
    width: 166px;
    margin-left: auto;
}

.project-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.project-actions-row .project-button {
    flex: 1 1 0;
    min-width: 0;
}

.project-actions-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.project-button:hover,
.project-button:focus,
.project-button:active {
    text-decoration: none;
}

.project-button:visited {
    color: inherit;
}

.project-button-primary {
    background: #2d8a4a;
    border-color: #2d8a4a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(45, 138, 74, 0.2);
}

.project-button-primary:hover,
.project-button-primary:focus,
.project-button-primary:active {
    background: #236d3a;
    border-color: #236d3a;
    color: #fff;
}

.project-button-muted {
    background: #fff5f4;
    border-color: #e7c8c3;
    color: #8a4e47;
}

.project-button-muted:hover,
.project-button-muted:focus,
.project-button-muted:active {
    background: #fceae7;
    border-color: #ddb2aa;
    color: #7b4039;
}

.project-button-ai {
    background: #edf7ff;
    border-color: #bddcf5;
    color: #2b678f;
    text-transform: none;
    letter-spacing: 0;
}

.project-button-ai:hover,
.project-button-ai:focus,
.project-button-ai:active {
    background: #deeffd;
    border-color: #9dc8eb;
    color: #1f5375;
}

.project-button-link {
    background: #ffffff;
    border-color: #d8dee6;
    color: #526171;
    text-transform: none;
    letter-spacing: 0;
}

.project-button-link:hover,
.project-button-link:focus,
.project-button-link:active {
    background: #f6f8fb;
    border-color: #c4ced9;
    color: #334150;
}

.project-button-link:visited {
    color: #526171;
}

.project-button-secondary {
    background: #eef4ef;
    border-color: #c9d8ca;
    color: #355f43;
    text-transform: none;
    letter-spacing: 0;
}

.project-button-secondary:hover,
.project-button-secondary:focus,
.project-button-secondary:active {
    background: #e1ebe2;
    border-color: #b4c8b6;
    color: #274b34;
}

.project-button-icon {
    width: 36px;
    min-width: 36px;
    padding: 0;
    background: #f3f7fb;
    border-color: #d5e0eb;
    color: #5e748a;
}

.project-button-icon:hover,
.project-button-icon:focus,
.project-button-icon:active {
    background: #e6eef6;
    border-color: #c3d3e2;
    color: #476076;
}

.no-projects-for-bids {
    width: 500px;
    margin: 100px auto 0 auto;
    font-size: 2em;
    text-align: center;
}

.no-projects-for-bids img {
    position: relative;
    left: 23px;
}

.budget {

}

.table.projects .budget td {
    padding: 2px;
    text-align: right;
}

.main_menu {
    margin-top: 20px;
    float: right;
}
.main_menu ul {
    list-style: none;
}

.alert ul {
    list-style: none;
}

.col-centered {
    float: none;
    margin: 0 auto;
}


.project.important {
    background-color: rgba(162, 240, 173, 0.45);
}

.project .skill {
    font-size: 0.8em;
}

.skill.imp {
    background-color: #A2F0AD;
}

.project.important .important-button {
    visibility: hidden;
}

.projects .project.important:hover {
    background-color: #A2F0AD;
}

.messages {
    margin-top: 5px;
    font-size: 18px;
}

.success_bid {
    color: #008000;
}

.error_bid {
    color: #FF0000;
}

.project-bid-form {
    width: 1000px;
    margin: 10px auto;
}

.project-bid-form h2 {
    font-size: 1.5em;
}

.project-bid-form .country {
    padding-right: 40px;
    text-align: center;
}

.project-bid-form  .info {
    padding-right: 40px;
}

.project-bid-form  .project-status {
    padding-left: 40px;
    background-color: #e4b9c0;
    display: none;
}

.project-bid-form .buyerWrapper,
.description .buyerWrapper,
.project-bid-form .margin-b10,
.description .margin-b10 {
    display: none;
}

.description  h2,
.project-bid-form h2,
.description  h3,
.project-bid-form h3 {
    font-size: 1.5em;
}

.project-bid-form .templates {
}

.project-bid-form .templates a {
    margin: 0 5px 5px 0;
}

.project-bid-form .bid-text textarea {
    height: 400px;
}

.project-bid-form .message {
    padding: 5px 0;
    text-align: left;
}

.loader {
    display: none;
}

.select2 {
    width: 500px;
    display: block;
}

.partial_templates {
    padding-top: 5px;
    border-top: 1px #ccc solid;
}

.auto-bids-schedule label {
    font-weight: 400;
}

.auto-bids-schedule .schedule-day {
    float: left;
    border-right: 1px gray solid;
    padding-right: 10px;
    margin-right: 10px;
    text-align: center;
}

.word-list {
    list-style: none;
    height: 3000px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap
}
.word-list li {
    page-break-inside: avoid;
    break-inside: avoid;
}

textarea.low-textarea {
    height: 100px;
}

.response-note {
    margin-top: 30px;
    width: 380px;
    height: 160px;
}

.response-note_button {
    margin-top: 172px;
}

.response_filters {
    margin: 20px;
}

.response_filters input {
    margin-right: 20px;
}

.response_filters_buttons {
    display: inline-block;
    margin-left: 30px;
}

.response_reset_filters {
    margin-top: 20px;
}

.messages_statistics, .bids_statistics{
    padding: 20px 0 60px 0;
}

.projects-processing-per-user-stat th,
.projects-processing-per-user-stat td {
    padding: 0 5px;
}
.projects-processing-per-user-stat td{
    color: #a1a1a1;
}

.projects-processing-per-user-stat .important td {
    color: black;
}

.bids-details-page {
    padding-bottom: 40px;
    color: #263238;
}

.bids-details-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bids-details-filter .form-group {
    margin-bottom: 0;
}

.bids-details-filter .form-control {
    width: 128px;
}

.bids-details-server-time {
    margin-left: auto;
    color: #777;
}

.bids-details-header {
    margin-bottom: 14px;
    border-bottom: 1px solid #dfe5eb;
}

.bids-details-header h3 {
    margin: 0 0 12px;
    color: #334150;
    font-weight: 600;
}

.bids-details-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bids-stat-card {
    min-width: 140px;
    padding: 12px 14px;
    border: 1px solid #dfe5eb;
    border-radius: 6px;
    background: #fff;
}

.bids-stat-card span {
    display: block;
    color: #697887;
    font-size: 12px;
    text-transform: uppercase;
}

.bids-stat-card strong {
    display: block;
    margin-top: 4px;
    color: #263238;
    font-size: 24px;
    line-height: 1;
}

.bids-stat-card-success {
    border-left: 4px solid #3c763d;
}

.bids-stat-card-muted {
    border-left: 4px solid #a94442;
}

.bids-users-summary {
    max-width: 560px;
    margin-bottom: 24px;
}

.bids-users-summary .table {
    margin-bottom: 0;
    border: 1px solid #dfe5eb;
    background: #fff;
}

.bids-users-summary th {
    color: #697887;
    font-size: 12px;
    text-transform: uppercase;
}

.bids-users-summary th:not(:first-child),
.bids-users-summary td:not(:first-child) {
    text-align: right;
}

.bids-users-summary tr.important td {
    background: #fbfcfd;
}

.bids-user-section {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #dfe5eb;
}

.bids-user-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.bids-user-section-header h4 {
    margin: 0;
    color: #263238;
    font-size: 20px;
    font-weight: 600;
}

.bids-user-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #697887;
    font-size: 12px;
}

.bids-user-metrics span {
    padding: 5px 8px;
    border: 1px solid #dfe5eb;
    border-radius: 4px;
    background: #fff;
}

.bids-user-metrics strong {
    color: #263238;
}

.bids-user-layout {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.bids-user-bids {
    flex: 1 1 auto;
    min-width: 0;
}

.bids-user-tabs {
    margin-bottom: 0;
}

.bids-user-tabs > li > a {
    color: #526171;
    font-weight: 700;
}

.bids-user-tabs > li.active > a,
.bids-user-tabs > li.active > a:hover,
.bids-user-tabs > li.active > a:focus {
    color: #263238;
}

.bids-user-tabs .badge {
    margin-left: 5px;
    background: #697887;
}

.bids-tab-content {
    padding: 14px;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    background: #fff;
}

.bids-list-heading {
    margin-bottom: 8px;
    color: #697887;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.bids-date-divider {
    margin: 14px 0 8px;
    border-top: 1px solid #dfe5eb;
}

.bids-date-divider span {
    position: relative;
    top: -10px;
    padding-right: 10px;
    background: #fff;
    color: #697887;
    font-size: 12px;
    font-weight: 700;
}

.bid-detail-card {
    display: block;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #dfe5eb;
    border-radius: 6px;
    background: #fff;
}

.bid-detail-main {
    flex: 1 1 auto;
    min-width: 0;
}

.bid-detail-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e6ebef;
}

.bid-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bid-detail-title {
    min-width: 0;
}

.bid-detail-id {
    display: inline-block;
    margin-right: 8px;
    color: #526171;
    font-size: 12px;
    font-weight: 700;
}

.bid-detail-name {
    color: #1f5f8b;
    font-size: 16px;
    font-weight: 700;
    word-break: break-word;
}

.bid-detail-meta {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 330px;
}

.bid-detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 7px;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    background: #f8fafc;
    color: #526171;
    font-size: 12px;
    white-space: nowrap;
}

.bid-detail-budget {
    border-color: #c8e1cc !important;
    background: #f3fbf5 !important;
    color: #2d6f3d !important;
    font-weight: 700;
}

.bid-detail-country .country_image {
    height: 14px;
    margin-right: 5px;
}

.bid-detail-description,
.bid-detail-description-short {
    margin-top: 10px;
    color: #3f4d5a;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.bid-detail-description {
    border-top: 1px solid #eef2f5;
    padding-top: 8px;
}

.bid-detail-description summary {
    cursor: pointer;
    color: #526171;
}

.bid-detail-description summary:hover {
    color: #1f5f8b;
}

.bid-detail-description div {
    margin-top: 8px;
    color: #263238;
}

.bid-detail-description[open] div {
    max-height: 260px;
    overflow: auto;
    padding-right: 6px;
}

.bid-detail-bid {
    padding: 10px 12px;
    border-left: 4px solid #67b168;
    border-radius: 4px;
    background: #fbfcfd;
}

.bid-detail-bid-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.bid-detail-time {
    color: #777;
    font-size: 12px;
}

.bid-detail-amount {
    padding: 3px 7px;
    border-radius: 4px;
    background: #3c763d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.bid-detail-bid-text {
    color: #263238;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}

.bid-detail-review {
    margin-top: 0;
}

.bid-detail-side-title {
    margin-bottom: 6px;
    color: #697887;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.bids-details-page .project-review {
    margin-top: 0;
}

.bids-details-page .project-review-comment {
    max-height: 180px;
    overflow: auto;
    word-break: break-word;
}

.bids-wont-bid {
    flex: 0 0 270px;
    padding: 12px;
    border: 1px solid #dfe5eb;
    border-radius: 6px;
    background: #fbfcfd;
}

.bids-wont-bid ol {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    line-height: 1.45;
}

.bids-wont-bid li {
    margin-bottom: 6px;
}

.bids-wont-bid a {
    word-break: break-word;
}

.bids-empty-list {
    color: #777;
    font-size: 12px;
}

.wont-bid-detail-list {
    display: grid;
    gap: 10px;
}

.wont-bid-detail-card {
    padding: 12px 14px;
    border: 1px solid #e4e9ee;
    border-radius: 6px;
    background: #fbfcfd;
}

.wont-bid-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.wont-bid-detail-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.wont-bid-number {
    display: inline-block;
    min-width: 24px;
    margin-right: 8px;
    color: #697887;
    font-size: 12px;
}

.wont-bid-detail-meta {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.wont-bid-detail-meta > span:not(.label) {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 7px;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    background: #fff;
    color: #526171;
    font-size: 12px;
    white-space: nowrap;
}

.wont-bid-reason {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e6ebef;
    color: #263238;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}

.wont-bid-reason-label {
    margin-bottom: 4px;
    color: #697887;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wont-bid-reason-empty {
    color: #777;
    font-style: italic;
}

@media (max-width: 1100px) {
    .bids-details-filter,
    .bids-details-stats,
    .bids-user-section-header,
    .bids-user-layout,
    .bid-detail-card,
    .bid-detail-header {
        display: block;
    }

    .bids-details-filter .form-group,
    .bids-details-filter .btn {
        margin-bottom: 8px;
    }

    .bids-details-server-time {
        display: block;
        margin-left: 0;
    }

    .bids-stat-card,
    .bids-user-metrics,
    .bid-detail-meta,
    .bids-wont-bid {
        margin-top: 8px;
    }

    .bid-detail-side {
        display: block;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e6ebef;
    }

    .bid-detail-review {
        margin-top: 12px;
    }

    .wont-bid-detail-header,
    .wont-bid-detail-meta {
        display: block;
    }

    .wont-bid-detail-meta > span {
        margin-top: 6px;
    }
}
