﻿.activenav {
    background-color: #0f457a;
    color: white;
    border-radius: 0;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px rgb(0, 174, 141) solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.error-messages {
    color: red;
    font-size: 16px;
}

.error {
    color: red;
    font-weight: normal !important;
}

.right-inner-addon {
    position: relative;
    width: 100%;
}

    .right-inner-addon input {
        padding-right: 30px;
    }

    .right-inner-addon i {
        position: absolute;
        right: 0px;
        padding: 10px 12px;
    }

.login-logo {
    text-align: center;
}

.mb-4 {
    margin-bottom: 0px !important;
}

.outermargin {
    margin: 20px !important;
}

.btn-primary:hover, .btn.bg-gradient-primary:hover {
    background-color: #002e6d;
    border-color: #002e6d;
    white-space: normal !important;
    word-wrap: initial !important;
}

.btn-primary, .btn.bg-gradient-primary {
    background-image: none;
    background: rgb(0, 174, 141);
    white-space: normal !important;
    word-wrap: initial !important;
}

.card .card-header {
    font-size: 0.9rem !important;
    padding: 0 !important;
}

.logoimage {
    height: 100px !important;
}

.form-switch .form-check-input:checked {
    border-color: rgb(0, 174, 141);
    background-color: rgb(0, 174, 141);
}

.messageColor {
    color: rgb(0, 174, 141);
}

.textaligncenter {
    text-align: -webkit-center !important;
    text-align: center;
    text-align: -moz-center !important;
}
h2 {
    font-size: 1.25em;
}

.img-topleft {
    border-top-left-radius: 20px
}

.img-topright {
    border-top-right-radius: 20px
}

.img-bottomleft {
    border-bottom-left-radius: 20px
}

.img-bottomright {
    border-bottom-right-radius: 20px
}

.content {
    margin: 0 auto;
    max-width: 1000px;
}

.grid {
    position: relative;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

    /* Common style */
    .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        /*margin: 10px 1%;*/
        margin: 0px;
        min-width: 320px;
        max-width: 480px;
        max-height: 300px;
        width: 48%;
        background: #3085a3;
        text-align: center;
        cursor: pointer;
    }

        .grid figure img {
            position: relative;
            display: block;
            min-height: 100%;
            max-width: 100%;
            opacity: 0.8;
        }

        .grid figure figcaption {
            padding: 2em;
            color: #fff;
            font-size: 1.25em !important;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            box-sizing: border-box;
        }

            .grid figure figcaption::before,
            .grid figure figcaption::after {
                pointer-events: none;
            }

            .grid figure figcaption,
            .grid figure figcaption > a {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

                /* Anchor will cover the whole item by default */
                /* For some effects it will show as a button */
                .grid figure figcaption > a {
                    z-index: 1000;
                    text-indent: 200%;
                    white-space: nowrap;
                    font-size: 0;
                    opacity: 0;
                }

        .grid figure h2 {
            word-spacing: -0.15em;
            font-weight: normal;
        }

            .grid figure h2 span {
                font-weight: normal;
            }

        .grid figure h2,
        .grid figure p {
            margin: 0;
        }

        .grid figure p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }

figure.effect-sarah {
    background: #000000;
}

    figure.effect-sarah img {
        max-width: none;
        width: -webkit-calc(100% + 20px);
        width: calc(100% + 20px);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(-10px,0,0);
        transform: translate3d(-10px,0,0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        filter: brightness(0.7);
    }

    figure.effect-sarah:hover img {
        opacity: 0.4;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah figcaption {
        text-align: left;
    }

    figure.effect-sarah h2 {
        position: relative;
        overflow: hidden;
        padding: 0.5em 0;
        color: white;
    }

        figure.effect-sarah h2::after {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #fff;
            content: '';
            -webkit-transition: -webkit-transform 0.35s;
            transition: transform 0.35s;
            -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0);
        }

    figure.effect-sarah:hover h2::after {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah p {
        padding: 1em 0;
        opacity: 100;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah:hover p {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

.footer {
    padding-top: 0px !important;
}

.full-height-container {
    height: 80vh; /* Make the container full viewport height */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
}

    .full-height-container div.card {
        height: 100%; /* Make the card take full container height */
        display: flex;
        flex-direction: column; /* Ensure content stacks vertically */
    }

    .full-height-container div .card-body {
        flex-grow: 1; /* Allow the body to take up available space */
        background-image: url("../assets/img/Fp1.jpeg");
        background-size: cover; /* or contain, depending on your needs */
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Distribute content vertically */
        padding: 2rem;
        color: white; /* Example text color for visibility */
        border-radius: 0;
    }

        .full-height-container div .card-body p {
            margin-bottom: 0px;
        }

.overlappingtext {
    border-radius: 10px;
    background-color: #00000082;
    padding: 1rem;
    width: 100%;
}

