﻿.form-control, .btn {
    border-radius: 0 !important;
}


:root {
    --primary-color: #337ab7;
    --primary-border-color: #2e6da4;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-border-color) !important;
}

.form-control, .btn {
    border-radius: 0 !important;
}

:root {
    --primary-color: #337ab7;
    --primary-border-color: #2e6da4;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-border-color) !important;
}
.hidden {
    display: none;
}
.question-card {
    /* border: 1px solid #dee2e6;*/
    /*border-radius: 0.25rem;*/
    /*padding: 1rem;*/
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    background-color: #ffffff;
    position: relative; /* Needed to position the vertical line */
    padding-right: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

    .question-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px; /* Adjust the width of the vertical line */
        /*background-color: #007bff;*/ /* Adjust the color of the vertical line */
        background-color: #00338D;
        /* border-radius: 0.25rem 0 0 0.25rem;*/ /* Optional: round the corners of the line */
    }


.h5, h5 {
    font-size: 1.00rem;
}

.maincolor {
    /*    background-color: #f8f9fa;*/
    background-color: #fff;
    width: 100%;
}

.nomarginbot {
    margin-bottom: 0;
}

.nomargin {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.nopadding
{
    padding-left:0px!important;
    padding-right:0px!important;
}

.hMarginBottomSmall {
    margin-bottom: 0.1rem!important;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
}

/* Custom styling for selected checkboxes */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Increase spacing between checkbox options */
.form-check {
    margin-bottom: 1rem; /* Adjust this value to increase/decrease spacing */
    display: flex;
    align-items: center;
}

.form-check-label {
    margin-left: 0.5em; /* Adjust this value to increase/decrease spacing between checkbox and label */
    margin-top: 5px;
}

.textarea-style {
    height: auto; /* Allow height to grow with content */
    min-height: 150px; /* Set a minimum height to match typical textarea */
    resize: both; /* Allow resizing both horizontally and vertically */
    white-space: pre-wrap; /* Preserve whitespace */
    overflow: auto; /* Show scrollbars when needed */
    padding: 10px; /* Add padding for textarea-like appearance */
}

.table th {
    border-top: none!important; 
}

@media (max-width: 768px) {
    .table-responsive-mobile {
        display: block;
    }

    .table-responsive-mobile table {
        display: block;
    }

    .table-responsive-mobile thead {
        display: none;
    }

    .table-responsive-mobile tbody, .table-responsive-mobile tr, .table-responsive-mobile td {
        display: block;
        width: 100%;
    }

    .table-responsive-mobile tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1rem;
    }

    .table-responsive-mobile td {
        padding: 0.5rem 1rem;
        position: relative;
    }

    .table-responsive-mobile td:first-child {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .table td, .table th {
        padding: .75rem;
        vertical-align: top;
        border-top: none;
    }

    .table-responsive-mobile td::before {
        content: attr(data-label);
        /*  font-weight: bold; */
        font-weight: normal; /* Set the label to normal font weight */
/*        position: absolute;*/
        left: 0;
        top: 0;
        padding-left: 0.5rem;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .table-responsive-mobile td:first-child::before {
        content: none;
    }

    .table-responsive-mobile td:not(:first-child) {
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        padding-left: 1rem; /* Increase padding to separate text and radio buttons */
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .table-responsive-ipad {
        overflow-x: auto;
    }
}

.footerText {
    font-size: 0.8rem!important;
    line-height: 1rem;
}
.form-group {
    position: relative!important;
}

.clear-button {
    /*    position: absolute;*/
    top: 10px; /* Adjust positioning */
    right: 10px; /* Adjust positioning */
    color: #fff;
    /*    background-color: #007bff;*/
    background-color: #00338D;
    /*    border-color: #007bff;*/
    border-color: #00338D;
    /*border-top: none;*/ /* Removes the top border */
    border-radius: 0; /* Sharp corners */
    z-index: 1;
    font-size: 0.75rem; /* Smaller text */
    padding: 0.25rem 0.5rem; /* Smaller padding for height */
    margin-top:1rem;

}

    .clear-button:hover {
        /*background-color: #0056b3;*/ /* Darker blue for hover effect */
        /*border-color: #004085;*/ /* Darker border color for hover effect */
        background-color: white;
        border-color: #00338D;
        color: #00338D;
    }

    .clear-button:focus {
        /*background-color: #0056b3;*/ /* Darker blue for hover effect */
        /*border-color: #004085;*/ /* Darker border color for hover effect */
/*        background-color: white;
        border-color: #00338D;
        color: #00338D;*/
        box-shadow: 0 0 0 .2rem #00338d57;
    }

.custom-button-right {
    text-align: right;
    margin-top: 10px;
}

header {
    /*    border-bottom: 2px solid #007bff;*/
    border-bottom: 2px solid #00338D;
}

.h1_color {
    color: #007bff; /* Change this color as needed */
}

.hiddenQuestion {
    display: none;
}

.alert {
    position: relative;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0rem!important; 
    border: none!important;
    border-radius: 0rem!important;
}

.form-group {
     margin-bottom: 0rem!important;
}


.modal.show {
    display: block; /* Instead of inline style */
    background-color: rgba(0 0 0 / 37%);
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: translateY(0);
    opacity: 1;
}


.button-left-bot {
    justify-content: left;
    padding-bottom: 10px;
}

.text-right {
    font-size: 0.8rem;
}

.nav-btn {
    color: #fff;
    /*    background-color: #007bff;*/
    background-color: #00338D;
    /*    border-color: #007bff;*/
    border-color: #00338D;
}


    .nav-btn:hover {
        color: #00338D;
        /*    background-color: #007bff;*/
        background-color: #ffffff;
        /*    border-color: #007bff;*/
        border-color: #00338D;
    }

    .nav-btn:focus {
        box-shadow: 0 0 0 .2rem #00338d57;
    }

.text-danger {
    font-size: 0.85rem;
    padding-right: 4px;
}

.footer-divider {
    height: 2px;
    background-color: #00338D;
    padding-top: 2px;
}

.title-section-text {
    background-color: #00338D;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    color: white;
    border-radius: 5px;
}

/*Percentage*/
/* Allow the paragraph (p) element to take full width */
.decPer {
    width: 100%; /* Make the message take the full width */
    /*margin-top: 8px;*/ /* Add some spacing between input and the message */
    font-size: 14px; /* Adjust font size as needed */
    color: #666; /* Adjust color if needed */
    text-align: left; /* Align text to the left */
    padding-left:10px;
    margin-bottom: 0px;
}


/* No padding class for token input in starting page */
.no-col {
    display: block;
    width: 100%; 
}

.custom-header {
    background: linear-gradient(97deg, rgba(114, 19, 234, 1) 0%, rgba(30, 73, 226, 1) 100%);
    color: white;
    padding: 1rem;
    border-radius: 5px;
   
}

.custom-under-title {
    text-decoration-style: solid;
    padding: 1rem;
}
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    --bs-gutter-x: 0;
}

.container-sm {
    flex: 1;
/*    --bs-gutter-x: 0;*/
}


.kpmg-logo {
    margin-right: 10px;
}

.company-logo {
    margin-right: 10px;
}

.input-group-append {
    display: flex;
    align-items: center;
    margin-left: -1px; /* Ensures it visually aligns like in Bootstrap 4 */
}

    .input-group-append .input-group-text {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }


    /* Radio buttons & check buttons margin inside */
.form-check .form-check-input {
    float: left;
    margin-left: -1em;
    border: 2px solid;
    border-color: #00338D;
}

/* Radio buttons & check buttons color */
.form-check-input:checked {
    background-color: #00338D; /* Change checked color */
    border-color: #00338D;
}

.form-check-input[type="radio"] {
    border: 2px solid #00338D;
}
