﻿body {
    margin: 0;
    padding: 0;
    background: #fcfcfc;
    /*font-family: Calibri;*/
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    color: #222;
    font-size: 18px;
}

div, input, button, textarea, select {
    box-sizing: border-box;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
}

textarea {
    resize: vertical;
}

#form1 {
    height: 100vh;
}

#pageHeader {
    position: sticky;
    top: 0;
    height: 100px;
}

.pageWidth {
    width: 100vw;
    max-width: 1100px;
    margin: auto;
}

.linkButton {
    border: none;
    background: transparent;
    text-decoration: underline;
    cursor: pointer;
}

.tableOdd tr:nth-child(odd), .tableEven tr:nth-child(even) {
    background: #f9f9f9;
}

.defaultButton {
    border: 1px solid transparent;
    cursor: pointer;
    background: white;
    padding: 5px 10px;
}

    .defaultButton:hover {
        border: 1px solid #ccc;
    }

    .defaultButton[disabled] {
        background: #e5e5e5;
        color: #818181;
        font-style: italic;
        cursor: default;
        border: 1px solid #ccc;
    }

.defaultTextBox {
    width: 100%;
    border: 1px solid #b1b1b1;
    padding: 5px;
}

.miniBold {
    font-size: smaller;
    font-weight: bold;
    display: block;
}

.noSpaceH h1, .noSpaceH h2, .noSpaceH h3, .noSpaceH h4, .noSpaceH h5 {
    padding-bottom: 0;
    margin-bottom: 0;
}

.navParent {
}

    .navParent[borderbottom] {
        border-bottom: 1px solid #f1f1f1;
    }

.nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 50px;
    background: white;
}

.menuToggleButton {
    display: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    background: inherit;
}

    .menuToggleButton:hover {
        text-decoration: underline;
    }

.headerMenuButton {
    cursor: pointer;
    text-align: center;
    height: 100%;
    width: 100%;
    border: none;
    background: inherit;
    font-family: inherit;
    font-size: inherit;
}

    .headerMenuButton[selected=true] {
        color: #FD487B;
        text-decoration: underline;
        font-weight: bold;
    }

    .headerMenuButton:hover {
        color: #FD487B;
    }

    .headerMenuButton[disabled=true] {
        color: #b1b1b1;
        cursor: default;
        font-style: italic;
    }

.headerLoginButton {
    border: none;
    max-width: 180px;
    cursor: pointer;
}

    .headerLoginButton:hover {
        text-decoration:underline;
        /*background: #ffcfdd;
        color: black;*/
    }

.editHolder {
    background-color: #e7e7e7;
    border-top: 1px solid #ccc;
}

.iconCell {
    min-width: 40px;
    max-width: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 5px solid transparent;
    box-sizing: border-box;
}

.inline {
    display: inline-block;
    vertical-align: top;
}

.w40 {
    width: 40%;
}

.w50 {
    width: 50%;
}

.w60 {
    width: 60%;
}


@media only screen and (max-width: 700px) {
    #pageHeader {
        height: 50px;
        border-bottom: 1px solid #ccc;
    }

    .pageWidth {
        max-width: unset;
    }

    .w40, .w50, .w60 {
        width: 100%;
    }

    .inline {
        display: block;
    }

    .navParent {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,.5);
        display: none;
        border: none;
        z-index: 100;
    }

        .navParent[show] {
            display: block;
        }

    .nav {
        height: unset;
        flex-direction: column;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        width: 90%;
        border-radius: 25px;
        overflow: auto;
    }

    .menuToggleButton {
        display: block;
    }

    .headerLoginButton {
        max-width: unset;
    }

    .headerMenuButton {
        padding: 20px;
    }

    .pageTitle {
        font-size: medium !important;
    }

    .hideMob {
        display: none !important;
    }

    .dashboardMainCtrl {
        float: none !important;
        width: 100%;
    }
}
