/* Ogólne klasy ------------------------------------------------------------ */

body {
    padding-top: 50px;
}

.basic-template {
    padding: 40px 15px;
}

.hidden {
    display: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.text-right {
    text-align: right;
}

.width-quater {
    width: 25%;
}

.width-half {
    width: 50%;
}

.width-half-more {
    width: 70%;
}

.width-full {
    width: 100%;
}

.margin-right {
    margin-right: 10px;
}

.margin-left {
    margin-left: 10px;
}

.margin-bottom {
    margin-bottom: 10px;
}

.margin-top {
    margin-top: 10px;
}

.spacer-top {
    margin-top: 15px;
    border-top: #ddd dashed 1px;
    padding-top: 10px;
}

.inline {
    display: inline;
}

.left-half-panel {
    width: 560px;
}

.right-half-panel {
    width: 560px;
    float: right;
}

.center {
    text-align: center;
}

.basic-template .btn.btn-wrap {
    white-space: normal;
}

/* Layout ------------------------------------------------------------------ */

body.search-results .ui-datatable {
    font-size: 0.5em;
}


@media (min-width: 680px) {
    body.search-results .ui-datatable {
        font-size: 0.6em;
    }
}

@media (min-width: 800px) {
    body.search-results .ui-datatable {
        font-size: 0.7em;
    }
}

@media (min-width: 1080px) {
    body.search-results .ui-datatable {
        font-size: 1em;
    }
}

@media (min-width: 1400px) {
    body.search-results .ui-datatable {
        font-size: inherit;
    }
}

body.search-results .container {
    width: 95%;
}

span.environment-info {
    color: #999;
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 12px;
}

.navbar.navbar-inverse .container {
    color: #DDD;
}

.navbar.navbar-inverse .container h4 {
    margin-top: 15px;
}

body {
    /* Margin bottom by footer height */
    padding-bottom: 60px;
}

html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}

footer .text-muted img {
    vertical-align: top;
}

.container .text-muted {
    margin: 20px 0 0 0;
}

.container .text-muted img {
    heigth: 40px;
    margin: -10px 0px 0px 0px;
}

div#globalAjaxStatus {
    position: fixed;
    right: 50px;
    bottom: 100px;
}

div#globalAjaxStatus img {
    width: 50px;
}

/* Logowanie --------------------------------------------------------------- */

div.login-panel {
    width: 350px;
    text-align: center;
    margin: auto;
}

.login-panel input {
    display: block;
    margin: 3px auto;
    width: 70%;
}

.login-panel fieldset {
    margin-bottom: 15px;
}

/* Formularze -------------------------------------------------------------- */

.field-standalone {
    margin: 10px 10px 0px 0px;
}

.field {
    padding: 4px 0px;
}

.field-label {
    margin-bottom: 3px;
}

.field-readonly-value {
    margin-left: 5px;
    font-size: 1.1em;
}

.form-actions {
    margin-top: 20px;
}

.form-actions .btn {
    margin-bottom: 20px;
    margin-right: 10px;
}

.help-inline {
    margin: 0 0 0 10px;
    vertical-align: top;
}

table a:hover {
    text-decoration: none;
}

.field .label {
    margin-left: 5px;
    vertical-align: middle;
}

.score-slider {
    width: 200px;
    display: inline-block;
    margin: 0px 10px 0px 0px;
    vertical-align: -2px;
}

.progress.score-progress {
    width: 200px;
    display: inline-block;
    margin: 0px 10px 0px 0px;
    vertical-align: -5px;
}

.ui-fileupload.simple {
    display: inline-block;
}

.inline-input .controls,
.inline-input .field-controls {
    display: inline-block;
}

.read-only-field {
    display: block;
    background: #ddd;
    border-radius: 5px;
    padding: 5px;
}

.rows-3-unordered-list .ui-datalist-content {
    height: 65px;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Kryteria wyszukiwania --------------------------------------------------- */
.search-criteria-field .box-label label {
    background-color: #E6E6FA;
    border: 1px solid #E6E6FA;
    width: 100%;
    border-radius: 5px;
    padding: 5px;
}

.search-criteria-field {
    margin-bottom: 10px;
}

/* Sekcje ------------------------------------------------------------------ */

.panel-body section {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    padding-top: 5px;
}

.section-header {
    font-weight: bold;
    margin-bottom: 15px;
}

.panel-body section.last-section {
    border-bottom: none;
    border-top: 1px solid #ddd;
}

.panel-body section.col-md-6 {
    border-bottom: none;
}

section.col-md-6.last-section {
    border-top: none;
    border-left: 1px solid #ddd;
}

/* Tabele ------------------------------------------------------------------ */

.column-id {
    text-align: right;
    width: 80px;
}

.column-medium {
    text-align: center;
    width: 200px;
}

.column-actions {
    text-align: center;
    width: 200px;
}

.column-actions .btn {
    margin: 0px 2px;
}

.column-short {
    text-align: center;
    width: 80px;
}

.ui-datatable tbody td.column-short-actions {
    padding: 0px;
}

.column-medium-ellipsis {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hide-column-names table thead tr {
    display: none;
}

.column-skill-action {
    width: 320px;
}

.candidatesRanking td.ui-state-active {
    background: #def;
    border: inherit;
    outline: inherit;
    box-shadow: inherit;
}

.checkbox-list .ui-chkbox .ui-chkbox-label {
    margin: 0px 0px 0px 3px;
}

/* Ogłoszenie -------------------------------------------------------------- */

div.job-advertisement {
    width: 800px;
    margin-bottom: 80px;
}

h3.advertisement-company {
    text-align: right;
    margin-top: 0px;
}

h3.advertisement-start-date {
    text-align: right;
    margin-bottom: 5px;
}

.jobAdvertisementPanel {
    width: 850px;
}

/* Rekrutacja -------------------------------------------------------------- */

.recrutations-combo .ui-datagrid-content {
    border: none;
}

.recrutation-combo > div {
    border: 1px solid;
    border-radius: 4px;
    background-color: #ECECEC;
    border-color: #D8D8D8;
    padding: 5px;
}

.recrutations-combo a:hover {
    text-decoration: none;
}

.recrutation-combo .recrutation-ref-id {
    font-weight: bold;
    margin-right: 5px;
}

.recrutation-combo .recrutation-name {
    margin-right: 15px;
}

.recrutation-combo div.progress {
    display: inline-flex;
    width: 500px;
    margin: 0px 5px;
}

.recrutation-combo > div:hover {
    background-color: #F8F8F8;
    border-color: #D8D8D8;
}

a.recrutation-combo:hover {
    color: inherit;
}

.recrutation-navigation {
    margin-top: 20px;
}

/* Kalendarz -------------------------------------------------------------- */

.fc-event.recrutation-end-event {
    border: 1px solid #CA3E3E;
    background-color: #CA3E3E;
}

.fc-event.recrutation-event {
    border: #3AAD3F;
    background-color: #3AAD3F;
}

.fc-event.meeting-not-accepted-event {
    border: #EBA000;
    background-color: #EBA000;
}

/* --------------------------------------------------------------------------
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    background-color: #fff;
    border-radius: 3px;
}

/* Variations */
.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    background-color: #fcf8f2;
    border-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

/* Prime Faces ------------------------------------------------------------- */

.basic-template span.ui-icon.ui-icon-calendar {
    background: url("/javax.faces.resource/interface/calendar_icon.png.xhtml");
    text-indent: inherit;
    left: 0;
    margin-left: 2px;
    top: 0px;
    margin-top: 2px;
    width: 32px;
    height: 32px;
}

.basic-template .ui-messages-info-icon,
.basic-template .ui-messages-fatal-icon,
.basic-template .ui-messages-warn-icon,
.basic-template .ui-messages-error-icon {
    display: none;
}

.basic-template .ui-messages-info-summary,
.basic-template .ui-messages-warn-summary,
.basic-template .ui-messages-error-summary,
.basic-template .ui-messages-fatal-summary,
.basic-template .ui-message-info-summary,
.basic-template .ui-message-warn-summary,
.basic-template .ui-message-error-summary,
.basic-template .ui-message-fatal-summary {
    margin-left: 0px;
    font-weight: bold;
}

.basic-template .ui-outputlabel-rfi {
    color: red;
}

.ui-widget-content a .glyphicon {
    color: #fff;
}

.ui-widget-content a.btn-default .glyphicon {
    color: #000;
}

.basic-template .ui-chkbox .ui-chkbox-box {
    width: 18px;
    height: 18px;
}

.basic-template .ui-selectmanycheckbox label {
    font-weight: normal;
    margin-left: 10px;
    margin-bottom: 5px;
}

.basic-template div.ui-chkbox {
    margin-top: 4px;
}

.basic-template .ui-selectmanycheckbox {
    margin-left: 40px;
}

.basic-template .ui-messages ul {
    margin: 0px;
}

.basic-template .ui-messages-info,
.basic-template .ui-messages-warn,
.basic-template .ui-messages-error,
.basic-template .ui-messages-fatal {
    padding: 15px;
}

.basic-template .ui-message-info,
.basic-template .ui-message-warn,
.basic-template .ui-message-error,
.basic-template .ui-message-fatal {
    margin: 5px;
}

.basic-template .ui-selectonemenu .ui-selectonemenu-trigger {
    width: auto;
}

.basic-template .badge-primary {
    background-color: #428bca;
}

.basic-template .badge-score-0 { background-color: #E00E00; }
.basic-template .badge-score-1 { background-color: #E01E00; }
.basic-template .badge-score-2 { background-color: #E74900; }
.basic-template .badge-score-3 { background-color: #EF7500; }
.basic-template .badge-score-4 { background-color: #F7A000; }
.basic-template .badge-score-5 { background-color: #FFCC00; }
.basic-template .badge-score-6 { background-color: #CCC403; }
.basic-template .badge-score-7 { background-color: #99BC07; }
.basic-template .badge-score-8 { background-color: #66B50B; }
.basic-template .badge-score-9 { background-color: #33AD0F; }
.basic-template .badge-score-10 { background-color: #00A613; }

.basic-template .color-red { color: #E00E00; }
.basic-template .color-green { color: #00A613; }
.basic-template .color-gray { color: #999; }

.basic-template .ui-overlaypanel .ui-datepicker thead th,
.basic-template .ui-overlaypanel .ui-datepicker tbody td,
.basic-template .ui-overlaypanel .ui-datepicker tfoot td {
    padding: inherit;
    text-align: inherit;
    border: inherit;
}

.basic-template .ui-state-highlight .ui-icon {
    background-image: url("/javax.faces.resource/interface/ui-icons_333333_256x240.png.xhtml");
}

.basic-template .ui-selectlistbox-item .ui-chkbox {
    margin-right: 10px;
}

.basic-template .ui-datatable table {
    table-layout: auto;
}

.basic-template .ui-datatable thead th,
.basic-template .ui-datatable tbody td,
.basic-template .ui-datatable tfoot td {
    padding: 0.4em 0.6em;
}

.checkbox-covid.ui-chkbox .ui-chkbox-box {
    min-width: 18px;
}

.checkbox-covid {
    display: flex;
}

#cookieDialog {
    background: white;
    position: fixed;
    bottom: 60px;
    right: 0;
    max-width: 600px;
    z-index: 1050;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    text-align: center;
    font-size: 16px;
    padding: 20px;
    border: 3px solid #5BC0DE;
}

@media (max-width: 768px) {
    #cookieDialog {
        right: 0;
        left: 0;
        margin: 0 auto;
        max-width: 100%;
        border-radius: 0;
        text-align: center;
    }
}