/**
 * Overwrite semantic css html height.
 * Important: DO NOT REMOVE THIS, IS USED FOR iFrameResizer.
 */
html {
    height: inherit;
}

/**
 * Typography.
 */
h1.ui.header.jobs-total {
    font-size: 24px;
    color: #fff !important;
    padding-top: 16px;
}

h1.ui.header.jobs-total .total {
    font-size: 24px;
    display: inline-block;
    margin-right: 10px;
    line-height: 1;
}

/**
 * Grid overrides.
 */
.ui.grid > .row > .column {
    margin-bottom: 1em;
}

#filter .ui.grid > .row > .column {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .ui.grid > [class*='five column'].row > .column {
        width: 100% !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .ui.grid > [class*='five column'].row > .column {
        width: 50% !important;
    }
}

/**
 * Forms.
 */
#search {
    background: #7f7f7f;
    padding: 20px;
}

#search input {
    padding-left: 2.2em !important;
    height: 53px;
}

#filter {
    background: #fff;
    padding: 20px;
}

#filter-1,
#filter-2,
#filter-3,
#filter-4 {
    height: 40px;
}

#show-filter {
    display: none;
}

@media screen and (max-width: 767px) {
    #filter {
        display: none;
    }

    #filter.active {
        display: block;
    }

    #show-filter span.hide-filter {
        display: none;
    }

    #show-filter span.show-filter {
        display: block;
    }

    #show-filter.active span.hide-filter {
        display: block;
    }

    #show-filter.active span.show-filter {
        display: none;
    }

    #show-filter {
        display: block;
        text-align: right;
        font-weight: bold;
        margin-right: 1.3em;
        margin-top: 1em;
    }
}

/* Jobabo */
.jobaboContainer {
    margin: 20px;
}

#jobabo-subscribe-button {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    color: #7f7f7f !important;
    background-image: none;
    padding: 10px 15px;
    font-size: 100%;
    font-weight: 400;
    width: 230px;
    text-align: left;
    line-height: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#jobabo-subscribe-button:hover {
    background-color: #7f7f7f;
    color: #FFFFFF !important;
    border: 1px solid #7f7f7f;
}

#jobabo-subscribe-button:hover svg {
    fill: #FFFFFF;
}

/**
 * Buttons.
 */
#submit-button {
    float: right;
}

#submit-button .submit.button {
    background: #fff;
    color: #656565 !important;
    width: 100%;
}

#submit-button .submit.button:hover {
    background: #656565;
    color: #fff !important;
    width: 100%;
}

/**
 * Content.
 */
#content {
    padding-bottom: 120px;
}

/**
 * Jobs list.
 */
#jobs-list .job {
    background: #fff;
    padding: 20px 20px 10px;
    margin-bottom: 20px;
    position: relative;
    margin-left: 2px;
    margin-right: 2px;
    display: block;
    overflow: hidden;
    box-shadow: 1px 2px 4px #ddd;
}

#jobs-list .job:hover {
    box-shadow: 1px 3px 8px #ccc;
}

#jobs-list .job .job-title {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 6px;
    color: #000000 !important;
}

#jobs-list .job .company-name {
    font-size: 1.3rem;
    color: #000000;
}

#jobs-list .job .job-meta {
    font-size: 1.3rem;
    color: #535353;
}

#jobs-list .job .job-meta span::after {
    content: "\25A0";
    margin: 0 5px;
    font-size: 1rem;
    color: #535353;
    vertical-align: top;
}

#jobs-list .job .job-meta span:last-child::after {
    content: ""
}

#jobs-list .job .job-meta {
    font-size: 1.1rem;
}

#jobs-list .job .job-information {
    overflow: hidden;
    min-height: 100px;
}

#jobs-list .job .job-information .company-name {
    font-weight: 600;
    margin-bottom: 16px;
}

#jobs-list .job .job-image {
    float: right;
    margin-left: 20px;
}

@media screen and (max-width: 767px) {
    #jobs-list .job {
        flex-direction: column;
        display: flex;
        gap:20px;
    }
    #jobs-list .job .job-image {
        margin-left:0;
    }

    #jobs-list .job .job-meta {
        position: initial;
        bottom: initial;
    }
}

#jobs-list .job .job-image .logo img {
    height: auto;
    width: 200px;
}

#no-results {
    font-family: 'MuseoSans', sans-serif !important;
    font-weight: bold;
    font-size: 21px;
    color: #000;
    padding: 0 20px;
    margin-bottom: -30px;
}

/**
 * Pagination.
 */
#pagination {
    margin-right: 1.3em;
    margin-top: 15px;
    float: right;
}

@media screen and (max-width: 991px) {
    #pagination {
        margin-right: 20px;
    }
}

#pagination a.ui.button {
    padding: 0.35em 0.85em;
    margin-right: 0;
    margin-left: 7px;
    font-size: 16px;
}

#pagination a.disableClick,
#pagination a.disable-click {
    display: none;
}

/**
 * Footer.
 */
#footer {
    background: #fff;
    padding: 20px;
    margin-bottom: 40px;
}

#footer .jobabo-title {
    margin-bottom: 8px;
}

#footer .image {
    text-align: center;
}

#footer .image img {
    margin-top: 25px;
}