html {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

* {
    box-sizing: inherit;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-style: normal;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

a:focus,
.button:focus,
button:focus {
    text-decoration: none;
    outline: none;
}

a:focus {
    text-decoration: none;
}

a:focus,
a:hover {
    text-decoration: none !important;
}

a {
    text-decoration: none !important;
}

a.white {
    color: white !important;
}

a.black {
    color: black !important;
}

a.primary {
    color: #002244 !important;
}

.background {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    background-image: linear-gradient(
            to right,
            rgba(128, 128, 128, 0.6), /* 灰色半透明 */ rgba(128, 128, 128, 0.6)
    ),
    url('../assets/seoul-tower.webp');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.main_div {
    color: white;
    display: flex;
    justify-content: space-between;
}

.logo_left {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-left: 30px;
    margin-top: 1.8rem;
}

.logo_com {
    margin-left: 5px;
    padding: 5px;
    border-radius: 0.45rem;
    color: #F5F5F5;
    background-color: #E9C46A; /* 淡黃色 */
}

.logo_right {
    padding-top: 1.8rem;
    display: flex;
    font-size: 1.35em;
    color: #F5F5F5;
    margin-right: 30px;
}

.logo_right .Candidate_login_btn {
    padding: 10px;
    border-radius: 0.45rem;
    background-color: #E5989B;
    margin-right: 1rem;
}

.logo_right .Recruiter_login_btn {
    padding: 10px;
    border-radius: 0.45rem;
    background-color: #6D6875;
}

label > a {
    text-decoration: none;
    color: #F5F5F5;
}

/* a:hover不可以寫成 a : hover或是 a: hover或是 a :hover !!!! 有空格會導致樣式套用不到哦!!!*/
label > a:hover {
    text-decoration: none;
    color: white;
}

.searchBox {
    position: absolute;
    top: calc(50% - 30px);
    left: 10%;
    height: 60px;
    width: 80%;
}

.inner {
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
}

.inner input {
    margin: 0;
    padding: 10px;
    font-size: 1rem;
    width: 49%;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-right: none;
}

.primary-title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 40px;
    line-height: 49px;
    padding: 12px;
    margin: 0;
    color: #2F3E46
}

.radius-left {
    border-radius: 10px 0 0 10px;
}

.radius-right {
    border-radius: 0 10px 10px 0;
}

.inner input:focus {
    outline: none;
}

.inner button {
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-left: none;
    background-color: #E9C46A;
}

.filter-recruiter button {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-left: none;
    border-radius: 5px;
    background-color: #E9C46A;
    width: 25px;
}

.inner button > i {
    width: 50px;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    background: none;
}

.filter-recruiter button > i {
    width: 20px;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    background: none;
}

/* Navbar */
header.navbar {
    height: 80px;
    background-color: #7D8F69;
}

header .navbar-nav {
    padding: 9px;
}

header.navbar > label {
    margin-left: 3%;
}

label.nav-item {
    color: #F5F5F5;
    box-sizing: border-box;
    display: inline-block;
    margin-bottom: 0;
}

label.nav-item:hover {
    color: #F6BD60;
}

ul.navbar-nav li.nav-item a {
    color: #F5F5F5 !important;
    font-size: 20px;
}

ul.navbar-nav li.nav-item a:hover {
    transition: all 200ms ease-in-out;
    transform: scale(1.15);
    opacity: 1;
}

ul.navbar-nav li.nav-item.active a {
    color: #F6BD60 !important;
}

div.navbar-collapse label.nav-item {
    font-size: 22px;
}

.navbar button.myBtn-light {
    margin: 0 1.25rem;
}

a.nav-link > i {
    margin-right: 8px;
    margin-left: 15px;
}

section.section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: calc(100% - 80px);
}

.sidenav {
    overflow: auto;
    background-color: #7D8F69;
    padding-top: 20px;
    color: #F5F5F5;
    width: 300px;
    flex: 0 0 auto;
}

label.color-dull {
    color: #FAF3DD;
}

div.sidenav form .form-check {
    margin: 5px;
    font-weight: 300;
}

article {
    padding: 10px;
    background-color: #f5f5f5;
    flex: 1 1 auto;
    overflow-y: auto;
}

div.box {
    border-radius: 25px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

.box .job-row:hover {
    transition: all 200ms ease-in-out;
    transform: scale(1.03);
    opacity: 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

label.large-label {
    font-size: 24px;
    line-height: 29px;
    font-weight: 500;
    color: #2F3E46;
}

.job-title {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #2F3E46;
}

.job-title-apply-list {
    font-style: normal;
    font-size: 22px;
    line-height: 30px;
    color: #2F3E46;
    background: linear-gradient(to top, #b7e4c7 40%, transparent 40%);
    font-weight: 600;
    display: inline;
}

.job-row {
    align-items: center;
    justify-content: space-around;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 8px;
    margin: 20px 10px;
    background-color: #F5F3EF;
}

.job-row div label {
    display: block;
    margin: 0;
    padding: 5px;
}

.form-group select.form-control {
    height: 54px !important;
}

/*有夠難調整!*/
.coffee_mug_background {
    min-height: 100vh; /* 高度至少等於螢幕 */
    overflow: hidden;
    background-image: linear-gradient(rgba(128, 128, 128, 0.6), rgba(128, 128, 128, 0.6)),
    url('../assets/office.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: right;
}

.myForm {
    display: flex;
    padding: 24px 0;
    overflow-y: auto;
    justify-content: center;
}

.myForm > form {
    width: 80%;
    height: 50%;
}

.myForm > form input,
.myForm > form select {
    padding: 15px 10px;
    margin: 4px 0;
    line-height: 140%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.basic_select {
    padding: 15px 10px;
    line-height: 140%;
}

.job_Spec_box {
    padding: 5px;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.top-margin {
    margin-top: 25%;
}

.heading_font {
    font-family: 'Montserrat';
}

.font_sub_heading_color {
    color: #002244;
    text-transform: uppercase;
}

.base_button {
    background-color: #fb4f14;
    border: none;
}

.myBtn {
    background-color: #E9C46A;
    border: none;
    border-radius: 5px;
    color: white;
    width: 100%;
    padding: 2%;
    font-weight: bolder;
    font-size: large;
    height: 100%;
}

.myBtn-light {
    box-sizing: border-box;
    background-color: #E9C46A;
    border: none;
    border-radius: 5px;
    color: white;
    padding: 5px 10px;
    display: inline;
    font-weight: bold;
}

a.color-text,
a.color-text:hover {
    color: #E9C46A;
}

.btn-sec {
    display: inline-block;
    padding: 13px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid transparent;
    text-align: center;
    color: #fff !important;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    text-transform: capitalize;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

.btn-sec.btn-red {
    background: #F4A261;
}

.btn-sec.btn-black {
    background: #E63946;
}

.btn-sec.btn-grey {
    background: #6C757D;
}

span.title-span {
    font-size: 14px;
    font-weight: 400;
}

div.centerCandidate {
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidatesApplied {
    font-family: 'Montserrat';
    font-style: normal;
    padding: 15px;
    background-color: #002244;
    color: white;
    border-radius: 10px;
    line-height: 0.75;
}

.candidatesApplied > label {
    margin-bottom: 20px;
    font-weight: 700;
}

.custom-modal-header {
    background-color: #E9C46A;
}

.error-message {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.error-message.show {
    opacity: 1;
}

.main-logo{
    width: 45px;
    height: 45px;
}

.main-logo-text {
    display: inline;
    margin-bottom: 0;
}

