﻿/*
--breakpoint-xs: 0;
--breakpoint-sm: 576px;
--breakpoint-md: 768px;
--breakpoint-lg: 992px;
--breakpoint-xl: 1200px;
*/


body
{
    background-color: #e4f8e4;
    padding-top: 0px;
    border: 2px solid green dashed;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

img {
    width: fit-content;
    width: -moz-fit-content;
}

.btn {
    margin-left: .25em;
    margin-right: .25em;
}

.btn-fix {
    width: 5rem;
}

.btn-md {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.5rem;
}

.hide-small {
    display: inline;
}

@Media only screen (min-device-width:200) and (max-device-width:740) {
    .hide-small {
        display: none;
    }
}

#WarningBox {
    border-radius: 1em;
    padding: 1em;
    margin-left: 5em;
    margin-right: 5em;
    background-color: darkorange;
    color: white;
    font-weight: bold;
    font-family: Courier New, Courier, monospace;
    text-align: center;
}

input, select, textarea {
}

    input:invalid {
        border: 1px solid red;
    }

/*
    --- add this on the html
    also, default cols: 40
    .autocapitalize = "none",
    .autocomplete = "off",
    .autocorrect = "off",
    .spellcheck = "false"

*/
textarea {
    border-radius: 0.75rem;
    font-family: 'Lucida Console',Courier New, Courier, monospace;
    font-size: 1rem;
    white-space: pre;
    display: inline-block;
    max-width: initial;
    height: 40rem;
    scroll-behavior: auto;
    padding: 0.5rem;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

#Content, .editor {
    background-color: black;
    color: yellow;
    height: 30rem;
}

#Message {
    height: 10rem;
}

.fullwidth {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=tel], input[type=text] {
    border: none;
    border-bottom-style: groove;
    background-color: initial;
}

    input[type=tel]:focus, input[type=text]:focus {
        outline: none;
        border: none;
        border-bottom: groove 2px green;
        font-size: larger;
        font-weight: bold;
    }

td {
    vertical-align: text-top;
    padding-right: .2em;
}

.tds {
    font-weight: bold;
    white-space: nowrap;
}

.cookieconsent-optin, .cookieconsent-optin-preferences, .cookieconsent-optin-statistics, .cookieconsent-optin-marketing {
    display: block;
    display: initial
}

.cookieconsent-optout-preferences, .cookieconsent-optout-statistics, .cookieconsent-optout-marketing, .cookieconsent-optout {
    display: none;
}

.statementPara {
    margin-top: .3em;
    padding-left: .5em;
}

    .statementPara::first-letter {
        font-size: larger; 
    }

.statementHeadline {
    font-weight: bold;
}

.profile .small-img {
    float: left;
    width: 40%;
    padding-right: 1em;
}

.profile ul {
    list-style: none
}

.profile li::before {
    color: darkgrey;
    /*content: "≈";*/
    content: "\2727";
    display: inline-block;
    padding-left: 0em;
    margin-left: -1.5em;
    width: 1em;
}
/*
        .profile ul li {
            list-style-type:square;
        }
        .profile li {
            list-style-image: url(myImage.gif);
        }
        */
.profile .tb {
    border: solid dashed 3px #ff0000;
}

.profile .noTabs {
    margin-bottom: 25px;
}

.note {
    border-radius: 0.5rem;
    background-color: lightgoldenrodyellow;
    padding:0 1rem;
    font-size: 80%;
    font-weight: 400;
    color:darkslategrey;
}

.kids {
    width: 30%;
}
/* top-container holding the image and the text */
.top-container {
    position: relative;
    text-align: center;
    padding: 0;
    margin-bottom: 1em;
}

    /* Bottom left text */
    .top-container .bottom-left {
        position: absolute;
        bottom: 8px;
        left: 16px;
    }

    /* Top left text */
    .top-container .top-left {
        position: absolute;
        top: 8px;
        left: 16px;
    }

    .top-container .top-right {
        position: absolute;
        top: 8px;
        right: 16px;
    }

    .top-container .bottom-right {
        position: absolute;
        bottom: 8px;
        right: 16px;
    }

    .top-container .top-center {
        position: absolute;
        top: 3rem;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .top-container .bottom-center {
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .top-container .centered {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


@font-face {
    font-family: 'MyKidsHandwritten';
    src: url('~/content/webfonts/MyKidsHandwritten.otf') format('opentype'), url('~/content/webfonts/MyKidsHandwrittenRegular.ttf') format('truetype'), url('~/content/webfonts/MyKidsHandwrittenRegular.woff') format('woff');
}


@media (min-width: var(--breakpoint-sm)) {
    .test {
        max-width: var(--breakpoint-sm);
        background-color: var(--blue);
    }
}

@media (min-width: var(--breakpoint-md)) {
    .test {
        max-width: var(--breakpoint-md);
        background-color: var(--indigo);
    }
}

@media (min-width: var(--breakpoint-lg)) {
    .test {
        max-width: var(--breakpoint-lg);
        background-color: var(--purple);
    }
}

@media (min-width: var(--breakpoint-xl)) {
    .test {
        max-width: var(--breakpoint-xl);
        background-color: var(--orange);
    }
}

/* content: "\2727\2003\2003\2727\2003\2003\2727";
*/
:not(.head) > hr::before {
    content: "\2727";
}
:root {
    --pp-width-android-l: 915;
    --pp-width-android-p: 412;
    /* 361/722  small android*/
}
/* https://www.w3schools.com/cssref/css3_pr_mediaquery.asp */

@media screen and (min-width: var(--pp-width-android-p)) {
    .body-content {
        background-color:green;
        color:white;
    }
}
@media screen and (min-width: var(--pp-width-android-l)) {
    .body-content {
        background-color: darkblue;
        color: white;
    }
}


@media screen and (min-width: 400px) {
    body {
        background-color: lightgreen;
    }
}

@media screen and (min-width: 800px) {
    body {
        background-color: lavender;
    }
}



