html {
    font-size: 17px;
    font-family: "Sofia Sans", sans-serif;
}

body {
    font-size: 17px;
    font-family: "Sofia Sans", sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

tr td {
    vertical-align: middle;
}
.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1280px;
    
}
.container-shrink {
    padding: 0px 1.85rem;
}

.nav-link{
    font-size:1.2em;
    font-weight:500;
}


/*
========================
HEADER
========================
*/

.header {
    background-image: url(../Images/toptile.gif);
    background-color: #002D58;
    background-repeat: repeat-x;
    background-size: auto 100%;
    height:107px;
}

.header-inner {
    max-width:1280px;
    margin:auto;
    position:relative;
    padding-left:33px;
}

.header-logo {
    background-image: url(../Images/logotopbanner.svg);
    background-size:1280px 107px;
    background-position: top right;
    background-repeat: no-repeat;
    height:107px;
}

.header-phone {
    position:absolute;
    top:22px;
    left:33px;
    width:356px;
            }

.header-email{
    position:absolute;
    top:78px;
    left:33px;
    a {
        color:white !important;
        text-decoration:none;
            }
        }

@media (max-width: 900px) {
    .header {
        height:195px;
        background-size: cover;
        min-width: 530px;
            }
    .header-inner {
        width:100%;
        padding:0;
        }
    .header-logo {
        position: static;
        margin-bottom:10px;
            }
    .header-phone, .header-email {
        position:static;
        padding:4px 33px;
        width:100%;
            }
    .header-phone {
        img {
            height:20px;
        }
}
}


.form-formatting .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.section-spacer {
    margin-top: 25px;
    /*margin-bottom: 25px;*/
    padding-bottom: 15px !important;
}
@media (max-width: 767px) {
    .row .col-12 {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}
@media (min-width: 767px) {
    .ird-width {
        max-width: 175px;
        text-align: center;
        font-size: 1.1em;
    }
}

.custom-primary-btn{
    min-width:100%;
    border-radius: 5px;
    font-size:1.2em;
}

.Signature-Box{
    border:solid 1px black;
    border-radius: 5px;
    padding:2px;
}

.btn-disabled{
    background-color:lightgray!important;
    border-color:lightgray!important;
}

/* Add this to your GoldBandPortal.styles.css */
.nav-link.active {
    text-decoration: underline;
}

.currency{
    text-align:right;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Light grey color */
}

.main-section-spacer{

    border-top:solid lightGray 1px;
    padding-top:25px!important;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    margin: 25px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
}

.callout i {
    font-size: 1.5em;
}

.callout-content p:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout-content p i {
    margin-right: 12px;
}

.callout-info {
    background-color: #eef4fb;
}

.callout-info i {
    color: #2f6fb5;
}

.callout-success {
    background-color: #eaf7ee;
}

.callout-content {
    text-align: center;
}

.callout-content p {
    margin-bottom: 8px;
}

.callout-content p:last-child {
    margin-bottom: 0;
}

.callout-confirmation {
    margin-top: 0;
    margin-bottom: 40px;
}

.callout-success i {
    color: #2e9e52;
}

.form-group label{
    margin-bottom:2px;
}

.person-block{
    margin-top:15px;
    margin-bottom:15px;
    padding:7px;
}

.group-spacing {
    margin-top: 20px;
    margin-bottom: 15px;
}


/* Yes/No Radio Buttons */
.yes-button-check {
    width: 100%;
}

.no-button-check {
    width: 100%;
}

@media (max-width: 575px) {
    .yes-button-check {
        width: 100%;
    }

    .no-button-check {
        width: 100%;
    }
}

.modern-red-x {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .modern-red-x:hover {
        background-color: rgba(255, 0, 0, 0.1); /* Light red background on hover */
        transform: scale(1.1); /* Slightly enlarge on hover */
    }

    .modern-red-x .icon {
        width: 20px;
        height: 20px;
        stroke: #ff0000; /* Red color for the "X" */
    }

    .modern-red-x:hover .icon {
        stroke: #e60000; /* Darker red on hover */
    }

.remove-joint-btn {
    background-color: #fff0f0;
    border: 1px solid #ff0000;
    color: #d40000;
    border-radius: 20px;
    padding: 4px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;

    span {
        padding-top:1px;
    }
}

.remove-joint-btn .icon {
    width: 16px;
    height: 16px;
    stroke: #d40000;
}

.remove-joint-btn:hover {
    background-color: #ffdddd;
}

    /*Button Overrides*/

.btn-primary {
    color: #fff;
    background-color: #002D58 !important;
    border-color: #002D58 !important;
    font-size:1.3em!important;
    line-height:40px;
    box-shadow:3px 3px lightgray;
}

.btn-secondary {
    font-size: 1.3em !important;
    line-height: 40px;
    box-shadow: 3px 3px lightgray;
}

.btn-success {
    font-size: 1.3em !important;
    line-height: 40px;
    box-shadow: 3px 3px lightgray;
}

.row-spacer {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
}

.small-primary{
    height:30px!important;
    line-height:17px!important;
}

.big-checkbox {
    transform: scale(1.4); /* Adjust size as needed */
    margin: 5px; /* Optional: Adjust spacing */
}

.big-checkbox-text{
    font-size:1.1em;
}

/*Amend Button Displays for Hidden Buttons*/

.btn-check:active + .btn-outline-primary, .btn-check:checked + .btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
    background-color: #002D58 !important;
    border-color: #002D58 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-outline-primary {
   color: #002D58;
   border-color: #002D58 !important;
   font-size: 1.1em;
}

.btn-outline-primary:hover {
    background-color: #002D58 !important;
    border-color: #002D58 !important;
}

.btn-outline-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}

.InfoTextSmall {
    font-size: 0.9em;
    color: gray;
    margin-top: 0px;
    font-style: italic;
}
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.transactions-table .col-date,
.transactions-table .col-currency {
    width: 12%;
}


.transactions-table .col-ref {
    width: 15%;
}

.transactions-table .col-desc {
    width: auto; /* or just leave it - auto is default */
}

.form-control{
    min-height: 38px;
}