#JobBoardCP {
    overflow: hidden;
    position: relative;
}

#job_postings {
    width: 100%;
    height: calc(100% - 4.8rem);
    box-sizing: border-box;
    background-color: #999595;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow: auto;
    overflow-x: hidden;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 4;
}

#job_postings h1 {
    display: block;
    text-align: center;
    color: white;
}

#job_postings > h2 {
    display: block;
    text-align: center;
}

/*Overules the above rule when it applies*/
#JobBoardCP .smaller {
    height: calc(100% - 12.8rem);
}

#jobboard_search {
    /*Hiding until the secondary styling is figured out*/
    display: none !important;
    height: 2.8rem;
    width: 100%;
    padding: 0.2rem;
    font-size: 1.3rem;
    box-sizing: border-box;
    display: block;
    text-align: left;
    position: relative;
    /* This is the default Firefox border, but if I don't manually set it here, it works differently */
    border: 2px outset rgb(222, 222, 222);
    z-index: 40;
}

#jobSearchButton {
    font-size: 1.3rem;
    box-sizing: border-box;
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 5pt;
}

#jobboard_search > span {
    position: relative;
    bottom: calc(0.5rem + 2px);
    padding-left: 0.2rem;

    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#jobboard_search:hover {
    background-color: rgb(246, 246, 246);
}

#jobboard_search img {
    display: inline-block;
    width: calc(2.4rem - 4px);
    height: calc(2.4rem - 4px);
    margin: 0;
    padding: 0;
}

#jobboard_searchterms {
    position: fixed;
    width: 100%;
    height: auto;
    top: 4.8rem;
    left: -1pt;
    background-color: white;
    border: 1pt solid black;
    z-index: 3;
}

#jobboard_searchterms * {
    z-index: inherit;
}

#jobboard_searchterms input {
    display: block;
    font-size: 1rem;
    padding: 0;
    margin: 1rem;
    margin-left: 5pt;
    margin-bottom: 0;
    margin-right: 1pt;
    min-width: 8rem;
}

#jobboard_searchterms label {
    padding-top: 0.65rem;
}


#jobboard_searchterms input {
    border: 1pt solid darkgrey;
    border-radius: 1pt;
    margin-top: 0.5rem;
    height: 1.8rem;
    width: 25.5rem;
}

#jobboard_searchterms .jobboard_field label {
    flex: 0 1 auto;
}

#jobboard_searchterms .jobboard_field label {
    padding-top: 1.4rem;
    padding-left: 5pt;
    padding-right: 5pt;
}

.jobboard_field {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    display: flex;
    max-height: 37%;
}

.jobboard_searchfield {
    box-sizing: border-box;
    display: flex;
    max-height: 37%;
    margin-left: 5pt;
}

.buttonLike {
    display: inline-block;
    border-radius: 2.5pt;
	border: 1pt solid #6e7e85;
	background-color: #e2e2e2;
    color: #1C0F13;
    text-decoration: none;
    padding: 0.36rem;
    padding-right: 2rem;
    padding-left: 2rem;
    margin: 0.3rem;
    max-width: 3.5rem;
}

.buttonLike:active {
    border: 1pt solid #c70032;
}

.buttonLike:hover {
    background-color: #f2f2f2;
}

#jobboard_searchterms .jobboard_searchfield label, #jobboard_searchterms .jobboard_searchfield input {
    display: inline-block;
}

#job_postings .jobposting > h2 {
    margin: 0px;
    padding: 1rem;
    padding-left: 0;
    padding-bottom: 0.5rem;
    font-size: 1.4em;
}

#job_postings .jobposting > h3 {
    margin: 0;
    padding: 1rem;
    padding-left: 0;
    padding-top: 0;
    display: inline-block;

    box-sizing: border-box;
    width: 60%;
}

#job_postings .jobposting > ul {
    padding-top: 0.2rem;
}

.jobdescription > h4 {
    padding-top: 0.5rem;
}

#job_postings .jobposting > button {
    padding: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-left: 0;

    box-sizing: border-box;
    max-width: 40%;

    font-size: 1rem;
    display: block;

    color: #1c0f13;
}

.jobposting {
    box-sizing: border-box;
    width: 90%;
    margin: auto;
    background-color: #f2f2f2;
    padding: 1rem;
    padding-top: 0;
    margin-bottom: 1rem;
    border-radius: 4px;
}

#hiddenJobs {
    background-color: #999595;
    text-align: center;
}

#hiddenJobs > h2 {
    color: white;
}

#job_postings #hiddenJobs > button {
    display: inline;
}

.jobdescription {
    height: 1rem;
    box-sizing: border-box;
    width: 100%;
    height: 1rem;
    background-color: white;

    overflow: auto;
    overflow-x: hidden;
    display: none;

    border: 1pt solid black;
    border-radius: 4px;
    margin-top: 1rem;
    padding: 1rem;
    padding-top: 0.5rem;
}

.jobdescription h3 {
    margin-top: 0;
}

#job_postings .jobdescription > button {
    padding: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;

    box-sizing: border-box;
    font-size: 1rem;

    display: block;
    margin: auto;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 5pt;

    background-color: #c70032;
}

#job_postings .jobdescription > button b {
    color: white;
}

#job_postings .jobdescription > button:hover {
    background-color: #a40631;
}

#jobboardHowHeardOf {
    /*Value written for reference. It is set programmatically.*/
    top: 30%;
}

#jobboardHowHeardOf label {
    display: block;
}

#jobboardHowHeardOf button {
    box-sizing: border-box;
    padding: 0.2rem;
    height: 1.8rem;
}

#jobboardHowHeardOf select {
    box-sizing: border-box;
    height: 1.8rem;
}

#jobboardNotification {
    display: none;
    position: absolute;
    top: 2;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    margin: auto;
    padding: 5px;
    background-color: black;
    opacity: 0.7;
    border-radius: 3px;
    width: 100%;
    max-width: 500px;
    min-height: 50px;
    color: white;
    z-index: 100;
}

#jobboardNotification button {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    outline: 0;
    background-color: inherit;
    color: white;
    font-size: 1rem;
    border-radius: inherit;
}

#jobboardNotification button:hover {
    cursor: pointer;
    background-color: white;
    color: red;
    opacity: 0.3;
}

#jobboardNotification span {
    color: white;
}

#jobboardNotification button::-moz-focus-inner {
    border: 0;
}

#jobboard_searchterms .altSelect {
    border: 1pt solid black;
    border-radius: 5px;
    font-size: 1rem;
}

#jobboard_searchterms .altSelect > select {
    padding: 0.3rem;
}

.jobboard_selector {
    margin: 0.5rem;
    margin-left: 5pt;
}
