﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    /*    background-color: lightcyan;*/
    background-color: rgba(255, 254, 252, 1);
    height: 100%;
    overflow-y: auto;
    margin: auto;
    width: 100%;
    max-width: 1000px;
    padding: 20px 50px;
}

input, textarea {
    width: 100%;
    padding: 5px;
    border-radius: 3px;
    font: inherit;
}

.btn-primary {
    background-color: #1f4e85;
    color: white;
}

.btn {
    display: inline-flex;
    padding: 8px 12px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

/* Header */
.mlr-header {
    margin: 2rem 1rem 0px 1rem;
    padding-bottom: 8px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-bottom: 1px solid #ccc;
    align-items: center;
}

#header-main-div {
    padding: 0 20px;
    text-align: center;
}

#header-left-placeholder {
    display: none;
}

/*.mlr-header {
    background-color: #333333;
    width: 100%;
}
*/
/*.mlr-header-inner {
    max-width: 1200px;
    min-height: 110px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
}*/
.mlr-header-logo {
    display: block;
    width: 270px;
    min-width: 270px;
/*    max-width: 100%;*/
    height: auto;
}

/* Footer */
.mlr-footer {
    background-color: #CECFC7;
    width: 100%;
    padding: 0 2rem;
    /*    margin-top: auto;*/

    font-size: 12px;
    font-family: Poppins, Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    border-top: 30px solid #333;
}

/*.mlr-footer-main {
    background-color: #333333;
}
*/

.mlr-footer-bottom {
    /*    color: #ffffff;*/
}

/*.mlr-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 30px;
}
*/
.mlr-footer-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.mlr-footer-bottom .mlr-footer-inner {
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* 📟 TABLET BREAKPOINT (Screens 1024px and narrower) */
/* Targets landscape tablets, standard portrait tablets, and smaller laptops */
@media (max-width: 1024px) {
    h1 {
        font-size: calc(1.375rem + 1.5vw);
    }

    main {
        max-width: 90%;
        padding: 10px 20px;
    }
}

/* 📱 PHONE BREAKPOINT (Screens 767px and narrower) */
/* Targets portrait smartphones and landscape phones */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    main {
        max-width: 95%;
        padding: 10px;
    }

    .mlr-header {
        margin: 1rem 0.5rem 0 0.5rem;
/*        display: grid;*/
        grid-template-columns: auto 1fr auto;
/*        border-bottom: 1px solid #ccc;*/
    }

    #header-logo-div {
        display: flex;
        justify-content:center;
    }

    #header-left-placeholder {
        display: block;
    }

    #header-main-div {
        display: none;
    }
}


/* Small screens */

@media (max-width: 600px) {
    .mlr-header-inner {
        min-height: 85px;
        padding: 15px 20px;
    }

    .mlr-header-logo {
        width: 190px;
    }

    .mlr-footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}
