
body {
    font-family: 'Product Sans';
    margin: 0;
}
p ,h1, h2, h3, h4, h5, h6{
    margin-bottom: 0;
    margin-top: 0;
}
a {
    color: black;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.line-separator {
    border: 0.2rem solid rgba(60, 53, 113, 1);
}
/* Forms */
.form-space {
    height: 3rem;
}
.form-input {
    margin-bottom: 2rem;
}
.form-input.horizontal {
    display: flex;
    flex-direction: row;
}
.form-input * {
    display: block;
}
.form-input.horizontal > label {
    width: 80%;
}
.form-input.horiziontal > div,input{
    width: 20%;
}
.form-input label {
    font-size: 1.5rem;
    font-weight: bold;
}
.form-input label.required::after {
    content: '*';
    color: red;
}
.form-input input[type=text],input[type=password],textarea {
    appearance: none;
    border: none;
    border-bottom: 1px solid black;
    width: 100%;
    font-family: "Product Sans";
    padding: 0.25rem 0.25rem;
    background-color: inherit;
}
.form-input input[type=file] {
    appearance: none; 
    width: 100%;
}
.form-input input[type=radio] {
    appearance: none;
    width: 1rem;
    border-radius: 50%;
    padding: 0 0.5rem;
    margin: 0 0.4rem;
    border: 1px solid black;
}
.form-input input[type=radio]:checked {
    appearance: none;
    width: 1rem;
    border-radius: 50%;
    padding: 0 0.5rem;
    margin: 0 0.4rem;
    border: 1px solid black;
    background: radial-gradient(black 0,black 35%, transparent 36%)
}
.form-input div {
    padding: 0.25rem 0.25rem;
}
.form-notice {
    margin-bottom: 2rem;
}
.button {
    appearance: none;
    background-color: rgba(60, 53, 113, 1);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: "Product Sans";
    margin: 0.5rem 0;
    cursor: pointer;
}
.button.plain {
    color: rgba(60, 53, 113, 1);
    background-color: transparent;
}
.button.large {
    padding: 1rem 0.5rem;
    font-size: 1.5rem;
}
.button.medium {
    padding: 1rem 0.5rem;
    font-size: 1.25rem;
}

header {
    font-family: 'Product Sans';
    font-size: 1.125rem;
    background-color: rgba(242, 242, 242, 1);
    height: 4rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0rem 3rem;
}
header .logo img{
    object-fit: contain;
    height: 4rem;
}
header .sublogo {
    margin-left: 0.25rem;
    margin-top: auto;
    margin-bottom: 1rem;
    margin-right: 1rem;
    font-size: 1rem;
}
header .nav {
    display: flex;
    flex-direction: row; 
}
header .nav-item {
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
header .nav-item .nav-link {
    text-decoration: none;
    color: black;
}
header .selectors {
    margin-left: auto;
    display: flex;
    flex-direction: row;

}
.bluefire-selector {
    appearance: none;
    border: none;
    font-family: 'Product Sans';
    font-size: 1.125rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;

    /* Custom arrow */
    background-image:
        linear-gradient(45deg, transparent 50%, #666666 50%),
        linear-gradient(135deg, #666666 50%, transparent 50%);
    background-position:
        calc(100% - 1rem) 0.4rem,
        calc(100% - 0.5rem) 0.4rem;
    background-size:
        0.5rem 0.5rem,
        0.5rem 0.5rem;
    background-repeat: no-repeat;
}
.bluefire-selector:focus {
    color: black;
    border: none;
}

header .search {
    position: relative;
    border-bottom: 0.125rem solid black;
    margin-right: 1rem;
}
header .search .header-search {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0.25rem;
    font-size: 0.875rem;
    font-family: "Product Sans";
}
header .search .button-search img{
    position: absolute;
    right: 0;
    height: 1.5rem;
}

header .account .nav-link {
    font-weight: bold;
}

.container {
    padding: 2rem 4%;
}

.index-banner {
    padding: 0em 8% 0 8%;
}
.index-banner h1{
    font-family: "Montserrat";
    font-weight: bold;
    font-size: 3.5rem;
    text-align: center;
    color: #333333;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.index-banner .index-image {
    width: 100%;
    border-radius: 20px;
    opacity: 0.78;

}
.index-banner .subheading {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    color: #333333;
    margin: 3rem auto;
}

.page-banner {
    height: 20rem;
    background: url('../images/1.jpg');
    background-size: cover;
}
.page-banner-inner {
    background-color: rgba(255,255,255,0.25);
    width: 100%;
    height: calc(100% - 4rem);
    padding: 2rem 8%;
    position: relative;
}
.page-banner-title {
    position: absolute;
    left: 6%;
    bottom: 0.5rem;
}
.page-banner-title h1 {
    font-size: 3.25rem;
}
.main-content {
    padding: 0 3%;
}
.section-heading {
    display: flex;
    flex-direction: row;
    border-bottom: 0.5rem solid #322b6b;
}
.section-heading h1 {
    font-size: 3rem;
    font-family: "Product Sans";
    margin-bottom: 0px;
    margin-left: 0.5rem;
}
.section-heading .right {
    margin-left: auto;
}
.section-content {
    padding: 0 1%;
    margin-bottom: 4rem;
}
footer {
    padding: 0 3rem;
    background-color: rgba(215, 215, 215, 1);
    margin-bottom: 0.5rem;
}
.main-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 8rem;
}

.main-footer .logo img{
    object-fit: contain;
    height: 4rem;
}
.main-footer .sublogo {
    margin-left: 0.25rem;
    margin-top: auto;
    margin-bottom: 3rem;
    margin-right: 1rem;
    font-size: 1rem;
}
.main-footer .contact {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: 3rem;
    align-items: right;
}
.main-footer .contact p {
    text-align: right;
    margin: 0.5rem 0;
    font-size: 1.125rem;
}
footer .copyright {
    font-size: 1.125rem;
    text-align: center;
    padding: 0.5rem 0;
}

/* Login page */
.login-container{
    background: url("../images/2.jpg");
    background-size: cover;
    position: relative;
}
.login-container .inner {
    background: rgba(255,255,255,0.63);
    padding: 4rem 4% 8rem 4%;
    padding-top: 8rem;
    padding-bottom: 6rem;
}
.login-banner {
    position: absolute;
    top: 10rem;
    right: 4%;
    float: right;
    text-align: right;
}
.login-banner p {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}
.login-banner .large {
    font-size: 5rem;
    color: #333;
}
.box-container {
    background-color: rgba(242, 242, 242, 1);
    padding-top: 2rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 0.5rem;
    border-radius: 20px;
    box-shadow: 5px 5px 18px rgba(167, 109, 109, 0.3);
    width: 25rem;
}
.login-box .admin-login {
    display: block;
    text-align: right;
    
}
.login-form {
    padding: 0 2.5rem;
}

.register-link a{
    color: rgba(60, 53, 113, 1);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Admin page */
.admin-container {
    padding: 0 1.5%;
}
.admin-heading {
    margin-bottom: 4rem;
}
.admin-heading h1 {
    font-size: 1.75rem;
}

/* Position page */
.position-container {
    margin-top: 1rem;
    padding: 0 8%;
}
.position {
    display: flex;
    flex-direction: row;
}
.position-overview {
    width: 30%;
}
.title-bar {
    width: 4rem;
    border-top: 0.75rem solid rgba(60, 53, 113, 1);
    height: 0.5rem;
}
.position-title {
    margin-bottom: 0.5rem;
}
.position-location div {
    margin-bottom: 0.5rem
}
.position-location .region {
    font-family: "Montserrat";
    font-weight: bold;
    font-size: 0.75rem;
}
.position-location .address {
    font-size: 0.875rem;
}
.detail-item h2 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}
.detail-item p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.position-description {
    padding-left: 6%;
    padding-top: 1.5rem;
    width: 75%;
    font-size: 1.125rem;
}
.position-description .description {
    margin-bottom: 2rem;
}
.position-status {
    margin-left: auto;
    padding: 2rem 2rem 2rem 2rem;
}
.position-status h2 {
    font-size: 1.5rem;
}
.position-status .applicant-amount {
    color: rgba(60, 53, 113, 1);
    font-size: 3.5rem;
    text-align: center;
    font-weight: bold;
}
/* List pages */
.list-container {
    margin-top: 2rem;
}

/* Job apply container */
.narrow-container {
    margin-top: 4rem;
    padding: 0 8%;
}
.normal-heading {
    font-size: 1.5rem;
    font-family: "Montserrat";
}
.normal-box {
    background-color: rgba(242, 242, 242, 1);
    padding: 2rem 2rem 2rem 1.5rem;
}
.normal-form {
    background-color: rgba(242, 242, 242, 1);
    padding: 2rem 8rem 2rem 1.5rem;
}
.apply-title {
    margin: 0 2rem;
    margin-bottom: 2rem;
}
.required-notice {
    color: red;
    font-weight: bold;
}
/* Applicant page */

.normal-box.applicant {
    box-shadow: 4px 4px 17px rgba(0, 0, 0, 0.349019607843137);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.applicant .applicant-no {
    font-weight: bold;
    font-size: 1.5rem;
    color: #322b6b;
    margin-right: 1rem;
}
.applicant .applicant-detail {
    flex-grow: 1;
}
.applicant-name {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.applicant-data {
    padding: 0.5rem;
}

.applicant-fate {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
/* About page */
.about-background {
    background: url('../images/about.jpg');
}
.about-container {
    background: rgba(255,255,255,0.9);
    padding: 2.5rem 12rem 2.5rem 12rem;
    font-family: "Montserrat";
}
.about-container h1 {
    font-size: 4rem;
    padding-bottom: 2.5rem;
    text-align: center;
}
.about-container p {
    text-align: center;
    font-size: 1.5rem;
}
.about-container .about-bottom-space {
    padding-bottom: 2.5rem;
}

/* Utility classes */

.w-25 {
    width: 25%;
}
.w-33 {
    width: 33.333333%;
}
.w-50 {
    width: 50%;
}
.w-67 {
    width: 66.6666666%;
}
.w-100 {
    width: 100%;
}
.text-center {
    text-align: center;
}
.uppercase {
    text-transform: uppercase;
}
.row {
    display: flex;
    flex-direction: row;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rounded {
    border-radius: 20px;
}
textarea.noresize {
    resize: none;
}

.font-heading {
    font-family: "Montserrat";
}
