html {
  font-size: 14px;
}

.rs-hidden {
    display: none;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

.bg {
    background-color: #900000;
}

.mini-nav-item:hover {
    font-family: futura-bold !important;
}

.logo {
    width: 8em;
}

.nav-section {
    position: relative;
    top: 0
}

.footer {
    position: relative;
    bottom: 0
}

.nav-link,
.nav-link:visited,
.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: white !important;
}

.nav-links-items,
.nav-links-items:visited,
.nav-links-items:hover,
.nav-links-items:focus,
.nav-links-items:active {
    color: #900000 !important;
    transition: none !important;
}

@media (max-width:630px) {
    .mini-nav {
        display: none;
    }
}

.nav-links-items,
.nav-links-items a {
    color: #900000;
    padding: 0.5em;
    margin: 0em 0.5em;
    font-weight: bolder;
}

.nav-links-items:hover,
.active {
    border-bottom: 0.2em solid #e6e6e6 !important;
    color: #900000 !important;
}

.nav-links-items {
    display: inline-block;
    vertical-align: middle;
}

.policy-input {
    border: 2px solid #900000;
    border-radius: 0.8em;
    padding: 0.8em;
    /*font-size: 1.2em;*/
    flex: 1;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
    border-color: rgba(223,225,229,0);
}

.policy-button {
    background-color: #900000;
    color: white;
    border: 2px solid #900000;
    padding: 0.8em 1.2em;
    font-size: 1.2em;
    /*cursor: pointer;*/
    transition: background-color 0.3s ease;
    display: block;
    margin-top: 15px;
}

.policy-button:hover {
    background-color: #750000;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.card-header {
    background-color: #900000;
    color: white;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 20px;
    text-align: center;
}

.card-title {
    font-weight: bold;
    color: white;
    margin: 0;
}

.card-body {
    padding: 30px;
    background-color: whitesmoke;
}

.banner-para {
    background-color: #ededed;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.banner-para h4 {
    color: #4d4d4d;
}

.banner-para img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    color: #4d4d4d;
    margin-bottom: 15px;
}

.benefits-list i {
    color: #900000;
    font-size: 2rem;
    margin-right: 15px;
}

.policy-form label,
.policy-form span {
    color: #4d4d4d;
}

.policy-input {
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.policy-button {
    background-color: #900000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 10px;
    float: right;
    cursor: pointer;
}

.form-sha {
    -webkit-box-shadow: -1px 1px 43px 1px rgba(219,216,219,1);
    -moz-box-shadow: -1px 1px 43px 1px rgba(219,216,219,1);
    box-shadow: -1px 1px 43px 1px rgba(219,216,219,1);
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
}

.info-value {
    color: #6f6f6f;
}

.btn-edit {
    background-color: #A50505;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    display: block;
    margin: 20px auto;
}

.renewal-form {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 30px;
}

.renewal-form label {
    font-weight: bold;
}

.renewal-form select,
.renewal-form input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.renewal-form .form-group {
    margin-bottom: 20px;
}

.renewal-form button,
.policy-details-button,
.payment-button {
    background-color: #A50505;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}

.renewal-summary {
    background-color: whitesmoke;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.renewal-summary h4 {
    color: #4d4d4d;
    margin-bottom: 20px;
}

.renewal-summary span {
    color: #4d4d4d;
}

.confirmation-details {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.confirmation-details h4 {
    color: #4d4d4d;
    margin-bottom: 20px;
}

.confirmation-details i {
    color: #17a2b8;
    font-size: 3rem;
}

.confirmation-details p {
    color: #4d4d4d;
    margin: 5px 0;
}

.receipt {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.receipt h4 {
    color: #4d4d4d;
    margin-bottom: 20px;
}

.receipt p {
    color: #4d4d4d;
    margin: 5px 0;
}

.back-button {
    background-color: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
}

.footer {
    background-color: #333333;
    color: white;
    font-size: 1.2em;
}

.footer h6 {
    background-color: #333333;
    color: white;
    font-size: 1.2em;
}

@media (max-width: 770px) {
    .footer-item {
        padding-top: 1.5em;
    }
}

@media (max-width: 445px) {
    .footer-last-item {
        display: none;
    }
}


form .button {
    margin-top: 25px;
    width: 100%;
    font-size: 1rem;
    border: none;
    padding: 9px 0;
    cursor: pointer;
    border-radius: 6px;
    background-color: #900000 !important;
    transition: all 0.2s ease;
    color: white !important;
    border: none;
}

form .button.active {
    background: #900000;
    pointer-events: auto
}

form .button:hover {
    background: #900000
}

.divider {
    border-bottom: 1px solid black;
}

.back-arrow {
    display: flex;
    align-items: center;
    padding: 10px;
    /*transition: background-color 0.3s, font-weight 0.3s;*/
    cursor: pointer;
}

.back-arrow:hover {
    background-color: gray;
    font-weight: 600;
}


.back-arrow span {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.flatpickr-calendar {
    width: 100% !important;
}

.flatpickr-calendar.open {
    max-width: 400px !important;
}

.flatpickr-wrapper {
    width: 100%;
}

input.flatpickr-input.active + .flatpickr-calendar {
    width: auto !important;
    max-width: 300px;
    left: 0;
    right: auto;
    position: absolute;
    z-index:9999;
}

.input-group {
    position: relative;
}

.input-group-text {
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cursor {
    cursor: pointer;
}

.calendar-icon {
    cursor: pointer;
}
