
@font-face {
    font-family: 'BallmerArchiTypeRegular'; /* Choose a custom name for your font */
    src: url('fonts/BallmerArchiTypeRegular.otf') format('opentype');
    /* You may need to adjust the path based on the location of your font file */
    }
.custom-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #f8d7da;
    color: #721c24;
    position: relative;
}  

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    color: inherit;
    cursor: pointer;
}
body {
    display: flex;
    flex-direction: column;
    left: 20px;
    /*padding-top: 95px;*/
    font-family: Roboto, Arial;
    background-color: rgb(245, 245, 245);
    min-height: 100vh;

    }
.container {
    flex-grow: 1;
}
.logo{
    width: 300px;
    height: 60 px;
    padding: 0;
    }
.heading-temp {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #222b34;
    }
.navbar {
    display: flex;
    margin-right: 20px;
    margin-left: auto;
    }
.navbarbutton {
    color: #222b34;
    width: calc(100% - 8px); 
    height: cal(100% - 16px);
    font-size: medium;
    font-weight: 400;
    background-color: rgb(245, 245, 245);
    border-radius: 20px;
    border: 0.5px solid rgb(245, 245, 245);
    margin: 1px 10px 1px 10px;
    padding: 2px 4px 2px 4px;
    cursor: pointer;  
    }
h1 {
    text-align: center;
    color: #222b34;
    font-weight: 400;
    margin: 15px 0 15px 0;
    }   
form {
    max-width: 850px;
   
    left: 5px;
    margin: auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
.form-group {
    margin-top: 10px;
}

.auth-form {
    max-width: 450px;
    left: 5px;
    margin: auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
label {
    grid-column: span 1; /* Each label spans one column */
    margin-bottom: 2px;
    color: #222b34;
    font-weight: 500;
    }
input {
    grid-column: span 3; /* Each input spans two columns */
    width: calc(100% - 16px); /* Adjust width as needed */
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 2px;
    box-sizing: border-box;
    border: 1px solid #222b34;
    border-radius: 4px;
    }
select {
    grid-column: span 3; /* Each input spans two columns */
    width: calc(100% - 16px); 
    padding: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    box-sizing: border-box;
    border: 1px solid #222b34;
    border-radius: 4px;
    }
input#submit {
    margin-top: 15px;
    cursor: pointer;
    width: calc(70% - 16px); 
}
.submit-button-block {
    display: flex;
    justify-content: center; /* Center the button horizontally */
    align-items: center; /* Center the button vertically */
    text-align: center; /* Align text content in the center, optional */
    }
.submit-button-add-form {
    text-align: center;
}
button {  
    color:rgb(255, 255, 255);
    max-width: 300px;
    font-size: medium;
    font-weight: 400;
    background-color: #222b34   ;
    border-radius: 20px;
    margin: 1px 10px 1px 10px;
    padding: 2px 4px 2px 4px;
    cursor: pointer;
    white-space: nowrap; 
    }
.anchor-button-text {
    text-decoration: none;
    color: #222b34;
    font-weight: 400;
    }
button:hover {
    border: 0.5px solid #222b34;
    }
.emergency-contact, .address-details, .other-detail, .contact-details, .name-details, .postal-address {
    grid-column: span 3;
    padding: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr); /* Two columns */
    border-radius: 10px;
    background-color: rgb(245, 245, 245);
    }
.SameAsPhysical {
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(245, 245, 245);
    display: inline-block;
    width: auto;
    margin-bottom: 15px;
    }
input#SameAsPhysicalCheckbox.form-control {
    margin: 15px 0 0 30px;
    width: auto;
    transform: scale(2); /* Increase the size of the checkbox */
    }
input#ForeignNationalCheckbox.form-control {
    margin: 20px 0 0 15px;
    width: auto;
    transform: scale(2); /* Increase the size of the checkbox */
    }
input#self_importCheckbox.form-control {
    margin: 15px 0 15px 30px;
    width: auto;
    transform: scale(2); /* Increase the size of the checkbox */
    }
input#init_onb_processCheckbox.form-control {
    margin: 15px 0 15px 30px;
    width: auto;
    transform: scale(2); /* Increase the size of the checkbox */
    }
    

.h2{
    padding: 2px;
    grid-column: span 3;
    margin: 15 0 15 0;
    text-align: left;
    color: #222b34;
    text-align: left;
    }
.red-placeholder::placeholder {
    color: rgb(161, 22, 22);
    }
footer {
    text-align: center;
    padding-top: 20px;
    color: #222b34;
    font-weight: 500;
    }
.reset_register_anchor_container {
    display: flex;
    padding-top: 15px;
    justify-content: space-between; /* Align items with space between */
}
.register-reset-anchor {
    text-decoration: none;
    color: #222b34;
    font-weight: 300;
    margin-right: 15px;
    }

/* Drowdown menu on Base HTML */

.dropdown {
    position: relative;
    display: inline-block;
    margin: 1px 15px 1px 15px;
    padding: 2.5px 5px 2.5px 5px;
   }
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
}
.dropdown-content a {
    display: block;
    text-align: left;
    font-weight: 400;
    font-size: medium;
  }
.dropdown:hover .dropdown-content {
    display: block;
}
/* Onboarding Image - Home Background */
.onboarding-img {
    max-width: 100%;
    opacity: 1;
    height: auto; /* Ensures aspect ratio is maintained */
    display: block;
    margin: auto; /* Centers the image */
    padding-top: 30px;
    position: relative; /* Position the image */
}

/* Flash Message for home screen */
.close-button {
    color:#222b34;
    background-color: rgb(250, 250, 250);
    width: auto; 
    height: auto;
    border: none;
    font-size: large;
    font-weight: 700;
    margin: 2px 15px 2px 15px;
    padding: 2px 15px 2px 15px;
    cursor: pointer;  
    }
.flash-success {
    display: inline-block;
    color:#3c65b0;
    width: auto; 
    height: auto;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);  
    padding-left: 5px;
    }

/* Auto Import flash messages */
.auto-import-message {
    padding: 3px;
}
.flash-error {
    display: inline-block;
    text-align: center;
    padding: 5px;
    color: rgb(206, 0, 0);
    /* border: 1px solid ##222b34; */
    border-radius: 5px;
    background-color: rgb(245, 245, 245);
}
.flash-info {
    display: inline-block;
    text-align: center;
    padding: 5px;
    color: rgb(79, 148, 79);
    /* border: 1px solid ##222b34; */
    border-radius: 5px;
    background-color: rgb(245, 245, 245);
}
.flash-warning {
    display: inline-block;
    text-align: center;
    padding: 5px;
    color: rgb(133, 100, 4);
    /* border: 1px solid ##222b34; */
    border-radius: 5px;
    background-color: rgb(245, 245, 245);
}

/* ######################### */
/* TOOLTIP FOR CHECKBOXES */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above the text */
    left: 50%;
    margin-left: -110px; /* Use half of the width (220/2 = 110), to center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
/* Probably not neccessary because the javascript listens on document load. */
.WorkPermitID, .PermitIssueDate, .PermitExpiryDate  { 
    display: none;
}

.subscription-details {
    max-width: 450px;
   
    left: 5px;
    margin: auto;
    margin-bottom: 15px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

input#pause {

    cursor: pointer;
    width: calc(30% - 16px);
}
input#cancel {

    cursor: pointer;
    width: calc(30% - 16px); 
}
input#change_card {
    cursor: pointer;
    width: calc(40% - 16px); 
}