﻿html, body, div, a, button, ul, li, p {
    /*color: #026E82;*/
    color: #000000;
    font-family: Arial;
}

    a, a:link, a:visited, a:hover, a:active {
        text-decoration: none;
    }

.account-panel {
    background-color: #faf7f0;
    border: 1px solid #E0E0E0;
    border-radius: 15px;
    box-shadow: 0 5px 10px #dcdcdc;
}

.btn-custom {
    background-color: #04656b;
    border: 2px solid #04656b;
    color: #FFFFFF;
}

    .btn-custom:hover {
        background-color: #1d747a;
        border: 2px solid #04656b;
        color: #FFFFFF;
    }

.btn-custom-transparent {
    border: 2px solid #04656b;
    color: #04656b;
}

    .btn-custom-transparent:hover {
        background-color: #fcfcfc;
        border: 2px solid #04656b;
        color: #04656b;
    }

div.header {
    /*background-color: #04656b;*/
    border-radius: 15px 15px 0px 0px;
}

div.toggle-container {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
}

.input-validation-error {
    border-color: #FF7E70;
    /*border-color: #eb445a;*/
    /*background-color: #faa0a0;*/
}

label.red {
    color: #04656b;
}

.link-custom {
    color: #04656b;
}

    .link-custom:hover {
        color: #04656b;
    }

p.header {
    color: #214c66;
    padding: 0;
    margin: 0;
}

img {
    height: 56px;
}

    img.mailchimp {
        max-width: 100%;
        height: auto;
    }   

/*checkbox toggle*/
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 26px;
    margin-left: 10px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d9d9d9;
    transition: .3s;
}

    .slider:before {
        position: absolute;
        border-radius: 50%;
        content: "";
        height: 22px;
        width: 22px;
        left: 2px;
        bottom: 2px;
        background-color: #ffffff;
        transition: .3s;
    }

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

input:checked + .slider {
    background-color: #04656b;
}

input:checked + .slider:before {
    transform: translateX(14px);
}


@media only screen and (max-width: 575px) {
    .account-panel {
        max-width: 96%;
        margin-top: 20px;
        box-shadow: 0 4px 6px #dcdcdc;
        /* border: none;
        box-shadow: none;
        border-radius: 0;*/
    }

    div.header {
       /* border-radius: 0;*/
    }
}

/*.account-panel-heading {
    border-bottom: 1px solid #e0e0e0;
    background-color: #f2f2f2;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}*/

@media (prefers-color-scheme: dark) {
    html, body, div {
        background-color: #000000;
    }

    html, body, div, a, button, /*ul, li,*/ p, label { /*ul displayed in an alert and text should remain dark*/
        color: #ffffff;
    }

    .account-panel {
        background-color: #000000;
        border-color: #727272;
        box-shadow: none;
        padding: 1px;
    }

    .btn-custom-transparent:hover {
        background-color: #141414;
    }

    .form-control:valid {
        color: white;
        border-color: #727272;
        border-radius: 0;
        background-color: #000000;
    }

    .form-control {
        color: white;
        border-color: #727272;
        border-radius: 0;
        background-color: #000000;
    }

    /*Removing input background color for autocomplete*/
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px #000000 inset !important;
    }

    input:-webkit-autofill {
        -webkit-text-fill-color: #ffffff !important;
    }

    ::-ms-reveal {
        filter: invert(100%);
    }

    p.header {
        color: #ffffff;
    }

    .slider {
        background-color: #454545;
    }

        .slider:before {
            background-color: #000000;
        }
}