/*
Theme Name: Riverview Job Board
Author: SIC ICT
Author URI: http://www.riverview.nsw.edu.au
Description: Riverview Job Board API theme
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

body {
    position: relative;
}

.container-fluid {
    padding: 0;
    position: relative;
}

.main-wrapper {
    background: none;
    min-height: calc(100vh - 2rem);
    padding: 7.5rem 0 2.5rem 0;
}
.page-template-page-job-info .main-wrapper {
    display: table;
    margin: 3.5rem 0 4rem 0;
}
.page-template-page-job-info #adminInfo {
    display: none;
}

.home .main-wrapper, .page-template-page-dashboard .main-wrapper {
    background: url(images/Riverview_Crest_White.svg) bottom 54px left 36px no-repeat, repeating-linear-gradient(135deg, #205295, #205295 120px, #1f4e92 120px, #1f4e92 240px);
    background-size: 128px, auto;
    background-attachment: fixed;    
}

header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: #094e93;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 1.25rem 0 0.25rem 0;
}
.page-template-page-dashboard header, .page-template-page-job-info header {
    flex-flow: column wrap;
}
.page-template-page-dashboard header p, .page-template-page-job-info header p {
    margin: 0.125rem auto 0.5rem;
    font-size: 89%;
}
.page-template-page-dashboard header h2, .page-template-page-job-info header h2 {
    margin-bottom: 0;
}

header h2 {
    font-family: 'Vollkorn', Times, sans-serif;
    font-size: 2.275rem;
    font-weight: 700;
}

footer {
    /* position: absolute; */
    /* bottom: 0; */
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: -3.5rem;
}
footer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1rem;
    line-height: 2;
    background: url(images/footerBg.png) repeat-x center top;
}

.container-main-content {
    color: #182A3D;
}

.home header, .page-template-page-dashboard header {
    background: rgb(255, 255, 255);
    color: #094e93;
}

.home .container-main-content, .page-template-page-dashboard .container-main-content {
    color: white;
}
.home footer::before, .page-template-page-dashboard footer::before {
    display: none;
}

.copyright {
    margin: 1.25rem 0 0.25rem 0;
    text-transform: uppercase;
    color: #a9a09c;
}

#job-search h3 {
    font-family: 'Playfair Display', 'Vollkorn', 'Lyon Display Web', 'Lyon-Display-Web', 'LyonDisplay-Medium', 'Lyon Display', 'Lyon-Display', 'Times New Roman', Serif;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .82);
}

.job-ad-grid-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    gap: 1.75rem;    
}

.job-ad-grid-wrapper .item {
    position: relative;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #7c7c9c;
    padding: 1.25rem 1.75rem;
    min-height: 14.75rem;
    transition-duration: .35s;
    transition-timing-function: ease-in-out;
}

.job-ad-grid-wrapper .item:hover {
    background-color: #f9f9f9;
    top: -3px;
}

.job-ad-grid-wrapper .item p {
    color: #182A3D;
}

#job-search .job-ad-grid-wrapper .item h4 a {
    display: block;
    font-family: 'Playfair Display', 'Vollkorn', 'Lyon Display Web', 'Lyon-Display-Web', 'LyonDisplay-Medium', 'Lyon Display', 'Lyon-Display', 'Times New Roman', Serif;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    word-spacing: 6px;
    margin-bottom: 1rem;
    color: #094e93;
}

.current-job-box-apply-btn {
    display: flex;
    justify-content: flex-end;
}

#job-search .current-job-box-apply-btn .applybtn {
    position: relative;
    display: inline-block;
    margin-right: 1.15rem;
    padding: 0.5rem;
    min-width: 202px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: .875rem;
    color: white;
    background: #094e93;
    background: linear-gradient(135deg, transparent 6px, #094e93 0) top left, linear-gradient(-45deg, transparent 6px, #094e93 0) bottom right;
    background-size: 50.1% 100%;
    background-repeat: no-repeat;
    font-family: Interstate, Arial, sans-serif !important;
    text-align: center;
}

#job-search .current-job-box-apply-btn .applybtn:hover {
    color: white;
    text-decoration: none;
}

#adminError {
    color: white;
}

.block {
    margin: 2rem 0;
}

h3 .sub-heading {
    font-size: 58%;
    font-weight: 300;
    font-style: italic;
}

.hint {
    color: rgba(255, 255, 255, .82);
}

.job-ad-grid-wrapper .item .expire {
    color: #a9a09c;
    font-weight: 300;
    font-style: italic;
}

@media (min-width:768px) {
    .job-ad-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1200px) {
    #jobDetailsInfo {
        width: 92%;
    }

    #jobTemplateParentContainerId {
        width: 100%;
        float: left;
    }

    #jobTemplateButtonsBoxId {
        margin-top: 0;
    }
}