html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

section {
    padding: 5px 0;

}

.custom-row-color {
    background-color: #5fd2fc !important;

}

.custom-row-text {
    color: #3A3F4C !important;
}

.custom-cursor {
    cursor: pointer;
}


.btn-outline-primary:hover {
    color: #fff;
}

.btn-primary {
    color: whitesmoke;
}

.btn-primary:hover {
    color: #fff;
}

/* ============================================================== floating tab */

.floatingtabEL {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 5s ease-out;
    background-color: #5fd2fc;
    color: #3A3F4C;
    padding: 10px;
    writing-mode: vertical-rl;
    transform-origin: right top;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 160px;
    /* Fixed height for the vertical mode */
    width: auto;
    /* Narrow width for the vertical text */
    white-space: normal;
    /* Allows text wrapping */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.2;
    /* Adjust line height for readability */
    text-align: center;
    font-size: 0.75em;
    font-weight: bolder;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    z-index: 525;
    /* Center text horizontally in horizontal mode */
}

.floatingtab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 5s ease-out;
    background-color: #ffc800;
    color: #3A3F4C;
    padding: 10px;
    writing-mode: vertical-rl;
    transform-origin: right top;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 120px;
    /* Fixed height for the vertical mode */
    width: auto;
    /* Narrow width for the vertical text */
    white-space: normal;
    /* Allows text wrapping */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.2;
    /* Adjust line height for readability */
    text-align: center;
    font-size: 0.9em;
    font-weight: bolder;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    z-index: 525;
    /* Center text horizontally in horizontal mode */
}

.floatingtabEL:hover {
    writing-mode: horizontal-tb;
    width: 160px;
    /* Wider width for horizontal mode */
    height: auto;
    /* Adjust height based on content */
    transform: translateY(-50%) rotate(0deg);
}

.floatingtab:hover {
    writing-mode: horizontal-tb;
    width: 120px;
    /* Wider width for horizontal mode */
    height: auto;
    /* Adjust height based on content */
    transform: translateY(-50%) rotate(0deg);
}

@media screen and (max-width: 600px) {
    .floatingtab {
        height: 90px;
        font-size: 0.7em;
        padding-right: 1em;

    }

    .floatingtabEL {
        height: 130px;
        font-size: 0.6em;
        padding-right: 1em;
    }
}

/* =====================================================================  Darker border color */
.custom-checkbox .form-check-input {
    border-color: #343a40;
}

/* =====================================================================  modal dialogues */
.custom-centered-modal .modal-dialog {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100vh - (1rem * 2));
    /* Adjust the subtracted value based on your modal's margin */
}

/* =====================================================================  hover over images to show button */
.hover-container {
    display: inline-block;
    position: relative;
    width: 100%;
}

.hover-container img {
    opacity: 1;
    display: block;
    width: 100%;
    transition: .5s ease;
    backface-visibility: hidden;
}

.hoverText {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 40%;
    text-align: center;
}

.hover-container:hover img {
    opacity: 0.4;
}

.hover-container:hover .hoverText {
    opacity: 1;
}

.hoverCaption {
    background-color: transparent;
    color: #3A3F4C;
    font-size: 30px;
    padding: 5px;
    font-weight: bolder;
}

.custom-blockquote {
    width: 33.333%;
    /* 1/3 of the container */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* subtle shadow */
    padding: 10px;
}

@media screen and (max-width: 600px) {
    .custom-blockquote {
        width: auto;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        /* subtle shadow */
        padding: 5px;
    }
}

@media (min-width: 992px) {
    .sidebar-border {
        border-left: 2px solid #059DD4;
        /* Adjust the border color and style as needed */
    }
}

.custom-blockquote {
    width: 33.333%;
    /* 1/3 of the container */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* subtle shadow */
    padding: 10px;
}

@media (max-width: 992px) {
    .custom-blockquote {
        width: 90% !important;
        /* Adjust the border color and style as needed */
    }
}