/* 

Adjust Bootstrap theme values in main.scss

*/

html {
    font-size: 20px;
}

@media (max-width: 767px) {
    html {
        font-size: 16px;
    }
}

/* Typography */
body {
    font-family: "DM Sans", sans-serif;
    letter-spacing: -0.02rem;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.05rem;
    line-height: 1;
    font-weight: 600;
    color: #0c1d3a;
}


.display-1,
.display-2,
.display-3,
.display-4,
.display-6,
.display-6 {
    font-family: "Playfair Display", serif;
    letter-spacing: -0.10rem;
    font-weight: 500;
}


/* CSS for Generic Tables */
#generic {
    border-collapse: collapse;
    border: 0;
    width: 100%;
    background-color: #ffffff;
    text-align: left;
}

td {
    font-size: 13px;
    line-height: 20px;
    border:0;
    border-bottom: 2px solid #e0bfa0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 2%;
    padding-right: 2%;
}

th {
    font-size: 16px;
}

tr {
    background-color: inherit;
}

.centre{
    text-align: center;
}

tr:last-child td {
    border-bottom: 0;
}

tr:nth-child(2) td {
    padding-top: 10px;
}

td:nth-child(1) {
    font-weight: 700;
    background-color: inherit;
    color: inherit;
}

th {
    padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 2%;
	padding-right: 2%;
    background-color: #0c1d3a;
    color: #fff;
    border: 0;
}



/* Removes Bootstrap's annoying focus outlines */
:focus {
    outline: none;
}

/* Nav Menu Modal */
.modal.left .modal-dialog {
    position: fixed;
    left: 0;
    margin: auto;
    height: 100%;
    transform: translate3d(0, 0, 0);
}

.modal-header {
    border: 0;
}

.modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal-backdrop {
    background-color: transparent;
}

.modal-content {
    border-radius: 0px;
    border: solid 2px;
}

.modal-body a {
    font-weight: 400;
    color: white;
    padding: 0px;
    margin: 0px;
}

.modal-body a:hover {
    color: #e0bfa0;
}



/* Nav Menu Scroll Transparency */
.nav-scrolled {
    background-color: #0c1d3a;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.navbar {
    transition: 0.5s;
}



/* Carousels */


.carousel .carousel-indicators li::marker {
    font-size: 0px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
    /* To change the color, you must find a css filter solution */
}

.carousel {
    position: relative;
}

.carousel-indicators {
    position: absolute;
    bottom: -50px; /* Adjust to position the dots further down */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    z-index: 10; /* Ensure it's above other elements */
}

.carousel-indicators li {
    width: 5px !important;
    height: 5px !important;
    margin: 0 5px;
    background-color: #0c1d3a !important; /* Dot color */
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #d6e1e6; /* Active dot color */
}

.carousel-item {
    transition: transform 1.5s ease, opacity 1.5s ease; /* Adjust the 1.5s to your desired speed */
}



/* Accordion */

.accordion-button {
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}

.accordion {
    --bs-accordion-btn-color: #0c1d3a;
	--bs-accordion-active-color: #0c1d3a;
	--bs-accordion-active-bg: #d6e1e6;
}



.calc-container {
    display: flex;
    padding: 16px;
    border: 2px solid #d6e1e6;
    border-radius: 15px;
}

.calculator input[type=number] {
    margin: 4px;
    padding: 4px 8px;
    border: 2px solid #E0BFA0;
    border-radius: 8px;
}

.output {
    display: flex;
    flex-direction: column;
}

.output input {
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 4px;
    background-color: #fff;
    color: #000;
}

.calcSubSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#minAmountWarning {
    color: red;
}

/* YouTube videos */
.lite-youtube {
    width: 100%;
    height: auto;
}


.text-xs {
    font-size: 12px;
}