* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
    width: 100%;
    font-size: 14px;
}

body {
    margin: 0;
    padding: 0;
    width: inherit;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
    --nav-height: 6.5vh;
    --footer-height: 36px;
    --main-height: calc(100vh - var(--footer-height) - var(--nav-height));
}

.logo{
    max-width:170px;
    height:auto;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

header{
    height:var(--nav-height);

}

.root-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/*Content container*/
.main-container {
    background-color: #F0F0F0;
    flex-grow: 1;
}

footer {
    width: 100%;
    white-space: nowrap;
    display: grid;
    align-items: center;
    height: var(--footer-height);
}

.footer-container {
    padding-inline: 20px;
}

.role-container {
    margin-top: 1.5rem;
    margin-inline: 1rem;
    padding:1rem;
    background-color:#ffffff;
    border-radius:10px;
}

.required-asterisk {
    color: red;
    margin-left: 3px;
}

.search-container, .create-role-container, .edit-role-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: var(--main-height);
}

.bg-container {
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: inherit;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.search-container .card{
    min-width:300px;
    width:55%;
    max-width:600px;
    margin:.75rem;
}

.create-role-container .card, .edit-role-container .card {
    min-width: 300px;
    width: 55%;
    max-width: 400px;
}

.home-notify-container {
    position: absolute;
    width: 100%;
    padding-inline: 1rem;
    margin-top: .4rem;
}

.res-container {
    padding-top: .5%;
    padding-inline: 1.5%;
/*    background-color:#ffffff;*/
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    /*    white-space: nowrap;*/
}

.res-container::-webkit-scrollbar {
    /*display: none;  Hide scrollbar in webkit browsers */
}



.identity-name{
    margin-right:5px;
}

.list-group-flush > .subtitle-list-group-item {
    border-width: 0 0 var(--bs-list-group-border-width);
}

.subtitle-list-group-item {
    position: relative;
    display: block;
    padding: 0.25rem calc(var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x));
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: var(--bs-list-group-bg);
    font-size: 0.9rem;
}

.subtitle-list-group-container {
    padding-inline: calc(var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x));
    font-size: 0.95rem;
}

.list-group-flush > .sub-list-group-item {
    border-width: 0 0 var(--bs-list-group-border-width);
}

.sub-list-group-item {
    position: relative;
    display: block;
    padding: 0.25rem calc(var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x));
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: var(--bs-list-group-bg);
    font-size: 0.9rem;
}

.sub-list-group-container {
    padding-inline: calc(var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x) + var(--bs-list-group-item-padding-x));
    font-size: 0.9rem;
}

.list-group-underline {
    border-bottom: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}

.sub-list-group-item:hover, .list-group-item:hover, .subtitle-list-group-item:hover {
    background-color: #ddd;
    color: black;
}

.lic-detail-group {
    border-bottom: 1px solid #dee2e6;
    margin-bottom:.5rem;
}

#loaderContainer {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(240, 240, 240, 0.9);
    z-index: -1060;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.backLink{
    text-decoration:none;
}

.offcanvas.offcanvas-end {
    width:220px;
}

.cus-dropdown-menu{
    min-width:9.5rem;
}

.cus-fx-bw{
    padding-top:.5rem;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
}

.cus-alink a{
    font-size:1.25rem;
}

.unSelectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
/*    -html-user-select: none;*/
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-check-container {
/*    padding-inline: 0.5rem;*/
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    margin-bottom: 0.75rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-check-title {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

.denied-container {
    /* min-height: var(--main-height); */
    display: flex;
    justify-content: center;
    padding-top: 10vh;
}

.text-green-500 {
    --tw-text-opacity: 1;
    color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}

.success-container {
    display: flex;
    justify-content: center;
    padding-top: 10vh;
}

.error-container {
    min-height: var(--main-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

.denied-content, .error-content, .success-content {
    max-width: 600px;
    text-align: center;
    padding: .25rem;
}

.denied-title, .error-title {
    font-size:3.1rem;
    font-weight:700;
}

.success-title {
    font-size:2.8rem;
    font-weight:700;
    padding-top: 2rem;
}

.denied-content p, .error-content p, .success-content p {
    font-size: 1.25rem;
}

.stop-sign {
    width: 200px;
    height: auto;
}

.noquery-sign {
    min-width: 280px;
    width:57%;
    height: auto;
}

.empty-sign {
    min-width: 250px;
    width: 45%;
    height: auto;
}

.error-sign {
    width: 244px;
    height: auto;
}

.user-login {
    max-width: 160px;
    height: auto;
    padding-top:1rem;
}

.user-login-card {
    display: flex;
    align-items: center;
    padding:0.5rem;
    margin-inline:1rem;
}

.form-field {
    border: none;
    background-color: rgb(237, 237, 237, 1);
    min-height:36px;
}

#displayOpView {
    padding: .375rem .75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#displayOpView .opDisplayTitle {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.rampCheck-title{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
}

.rampCheck-title a{
    text-decoration:none;
    font-size:1.1rem;
}

.rampCheck-title a:hover {
    opacity:0.8;
}

.text-expired{
    color:red;
    font-weight:700;
}

.text-expired-padding-vertical{
    padding-top: calc(.375rem + var(--bs-border-width));
    padding-bottom: calc(.375rem + var(--bs-border-width));
}

.text-sign {
    color: green;
    font-weight: 700;
}

.btn-link-hov:hover {
    color: var(--bs-link-hover-color-rgb);
}

.icon-cursor-pointer{
    cursor: pointer;
}

.re-login-form {
    display: inline-flex;
}

.course-detail-field{
    background-color: lightgray;
    border-radius:4px;
    min-height: 38px;
    padding-inline:7px;
}

.course-inline{
    padding-top:14px;
}

.course-form-container{
    padding:15px;
}

.course-check-title-gp {
    display: flex;
    justify-content: space-between;
}

.text-subtitle{
    font-size: .9rem;
    font-weight: 650;
}

.showBoatLicImg{
    display: flex;
    justify-content: center;
}

.character-count-container {
    display: flex;
    justify-content: flex-end;
    color: #6c757d; /* Optional styling */
    margin-top: .08rem;
    font-size: .8rem;
}

.delete-btn {
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .75rem;
}

.verify-check-btn {
    --bs-btn-padding-y: .125rem;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .75rem;
}

.check-valid {
    color: limegreen;
    margin-left: 0.25rem;
}

.check-invalid {
    color: red;
    margin-left: 0.25rem;
}

.verify-title-gp {
    display: flex;
    justify-content: space-between;
    align-items:center;
}

.tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-wrapper span {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 10px;
}

.valid-sign {
    color: limegreen;
    font-size: 1.5rem;
}

.invalid-sign{
    color: red;
    font-size: 1.5rem;
}




/*Payment part*/
.section-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem 0 0.75rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #ccc;
    color: #333;
}

.section-title.bill-box{
    display: flex;
    justify-content: space-between;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.info-label {
    flex: 0 0 35%;
    font-weight: 600;
}

.info-value {
    flex: 1;
}

.bpay-group-box {
    padding: .5rem;
    background-color: #f9f9f9;
}

.bpay-logo {
    max-width: 40px;
    height: auto;
    flex-shrink: 0;
}

.bpay-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding-left: .5rem;
}

.bpay-item {
    margin-bottom: 0.15rem;
}

.bpay-label {
    font-weight: 600;
    color: #555;
    margin-right: 0.5rem;
}

.bpay-value {
    color: #222;
}

.payment-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 1rem;
    font-size:.9rem;
}

.payment-header, .payment-row {
    display: flex;
    width: 100%;
    padding: 0.25rem 1rem;
}

.payment-header {
    background-color: #f0f0f0;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
}

.payment-col {
    padding-right: .5rem;
    word-break: break-word;
}

.payment-col-33 {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
}

.payment-col-30 {
    flex-basis: 30%;
    max-width: 30%;
}

.payment-col-40 {
    flex-basis: 40%;
    max-width: 40%;
}

.payment-col-50 {
    flex-basis: 50%;
    max-width: 50%;
}

.payment-col.amount {
    text-align: right;
}

@media (max-width: 350px) {
    .payment-header, .payment-row {
        flex-direction: column;
    }

    .payment-col {
        max-width: 100%;
        flex-basis: 100%;
        padding: 0.25rem 0;
        text-align: left;
    }

    .payment-col.amount {
        text-align: left;
    }
}


.summary-container {
    width: 100%;
    margin-top: .5rem;
}

.summary-row {
    padding-bottom: .5rem;
    display: flex;
    width: 100%;
    padding: 0.25rem 1rem;
}

.summary-col-67 {
    padding-right: .5rem;
    word-break: break-word;
    flex-basis: 66.67%;
    max-width: 66.67%;
}

.summary-col-33 {
    padding-right: .5rem;
    word-break: break-word;
    flex-basis: 33.33%;
    max-width: 33.33%;
}

.summary-value {
    font-weight: 600;
    padding-left:.5rem;
}

.summary-row.balance-red {
    color: red;
}

.summary-row.balance-green {
    color: green;
}

.summary-row.balance-black {
    color: black;
}

.rampcheck-links-gp{
    display:flex;
    gap: 1.5rem;
}

.location-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
}

.location-container .card{
    width: 100%;
    max-width: 600px;
}

.location-title{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
}


