﻿footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #f5f5f5;
    z-index: 11;
}

/*Element*/
.footer__flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    margin: auto;
}

    .footer__flex > * {
        padding: 5px 0px;
        flex: 1;
        vertical-align: middle;
    }

    .footer__flex a {
        color: #023969;
        font-weight: 600;
    }

    .footer__flex > .arise-version {
        text-align: left;
    }

    .footer__flex > .powered-by {
        text-align: right;
    }

        .footer__flex > .powered-by > img {
            width: 45%;
        }


/*Modifier*/
footer.cms {
    border-bottom: 5px solid var(--CMS-COLOR);
}

footer.provider {
    border-bottom: 5px solid var(--PROVIDER-COLOR);
}

footer.family {
    border-bottom: 5px solid var(--FAMILY-COLOR);
}

/**************************************Media Queries START***********************************************/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .footer__flex {
        width: 98%;
        font-size: 11px;
        gap: 0.3rem;
    }

        .footer__flex > .powered-by > img {
            width: 45%;
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
    .footer__flex {
        width: 98%;
        font-size: 11px;
        gap: 0.3rem;
    }

        .footer__flex > .powered-by > img {
            width: 45%;
        }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer__flex {
        width: 80%;
        font-size: 12px;
    }

        .footer__flex > .powered-by > img {
            width: 24%;
        }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .footer__flex {
        width: 80%;
        font-size: 12px;
    }

        .footer__flex > .powered-by > img {
            width: 17%;
        }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 2559px) {
    .footer__flex {
        width: 80%;
        font-size: 14px;
    }

        .footer__flex > .powered-by > img {
            width: 17%;
        }
}

/* Extra Extra Large screens */
@media only screen and (min-width: 2560px) {
    .footer__flex {
        width: 80%;
        font-size: 21px;
    }

        .footer__flex > .powered-by > img {
            width: 17%;
        }
}
/**************************************Media Queries END*************************************************/
