/**
 * green: #00AF94
 * light-green: #e5fcf8
 * grey: #BBB, #444;
 */

@import url("colors.css");

* { margin: 0px; padding: 0px; }

html, body {
    height: 100%;
	font-family: 'Open sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
	color: var(--darkgrey);
}

div { box-sizing: border-box; }

h1 {
    /*float: left; clear: left;*/
    margin-bottom: 10px; padding: 10px 15px;
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    background: var(--maincolor);
    /*display: inline-block;*/
}

h2 { padding: 20px; color: var(--maincolor); background: var(--lightgrey); }

p { padding: 10px 0px; /*background: white;*/ }

a { color: var(--darkgrey); }
    a:hover { color: var(--maincolor) /*#1070B4;*/ }

    a.linkButton, input.submitButton {
        display: inline-block;
        /*margin-top: 10px;*/ padding: 10px;
        background: var(--maincolor); color: white;
        font-weight: bold; font-size: 1.2em; text-decoration: none;
    }
    a.linkButton:hover, { background: var(--lightblue); color: var(--maincolor); }
    a.linkButtonLight { background: white; display: inline-block; padding: 10px; text-decoration: none; font-weight: bold; }

input, textarea, select{ font-family:inherit; }
input, textarea {
    padding: 7px 4px;
    color: #444;
    background: #F9F9F9;
    border: 1px solid #CCC;
}
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}
fieldset { display: inline-block; border: none; }

ul { margin-top: 4px; padding-bottom: 20px; list-style-type: none; }
    ul li { color: var(--maincolor); font-weight: bold; margin-bottom: 2px; padding: 14px 30px; background: var(--lightgrey); }
    ul a { text-decoration: none; color: var(--darkgrey); font-weight: bold; }
/**/
    ul li:hover { background: var(--maincolor); }
    ul li:hover a { color: white; }

table { margin-left: 20px; }
th { padding: 10px; color: white; background: var(--maincolor); }
td { padding: 10px; background: var(--lightgrey); }


/* ----------------------*/
/* ----------------------*/
div#header {
    height: 60px;
    /*border-bottom: 5px solid #00AF94;*/
    color: white;
    background: var(--maincolor);
    /*background: linear-gradient(to right, #4b82e6, var(--maincolor));*/
    /*border-bottom: 5px solid var(--lightblue);*/
    /*margin-bottom: 20px;*/
}
    div#headerinner {
        /*width: 1000px;*/
        margin: auto;
        font-size: 0.75em;
        overflow: auto;
        /*border-left: 1px dashed #CCC; border-right: 1px dashed #CCC;*/
    }
        @media only screen and (max-width: 600px) {
            #headerinner {
                display: none;
            }
        }
        /* LOGO */
        div#headerBoxLeft {
            width: 150px; height: 100%;
            margin-left: 10px; /*padding: 10px 0px;*/
            float: left;
            font-size: 1.3em;
            /*line-height: 20px;*/
            text-align: center;
        }
            div#headerBoxLeft a { color: white; text-decoration: none; }
            div.logoTop { padding-top: 15px; }
            div.logoSubclaim { font-size: 0.8em; }

        ul#headerBoxMenu {
            margin: 0px; padding: 0px;
            float: left;
            text-align: right;
            line-height: 60px;
            list-style-type: none;
            margin-left: 50px;
        }
            ul#headerBoxMenu li {
                vertical-align: center;
                float: left;
                font-size: 1em; font-weight: bold;
                margin: 0px; padding: 0px;
                margin-right: 6px;
                padding-left: 25px; padding-right: 25px;
                background: none;

            }
            ul#headerBoxMenu li:hover, ul#headerBoxMenu li.active { background: var(--lightblue); color: var(--maincolor); }
            ul#headerBoxMenu li a { color: white; text-decoration: none; font-size: 1.4em; }
                ul#headerBoxMenu li:hover a, ul#headerBoxMenu li.active a { color: var(--maincolor); }
                /*ul#headerBoxMenu li.active { color: var(--darkgrey); }
                    ul#headerBoxMenu li.active a { color: var(--darkgrey); }*/

        div#headerBoxRgt {
            float: right;
            height: 60px;
            margin-right: 10px;
            line-height: 60px;
            /*padding-right: 20px;*/
        }
            div#headerBoxRgt a { color: white; text-decoration: none; font-weight: bold; }
                div#headerBoxRgt a:hover { color: var(--lightblue); }


/*************/
/*************/

div#content {
    /*margin: 20px 20px;*/ /*padding: 10px;*/ margin-top: 20px;
    padding-bottom: 10px;
    font-size: 0.7em;
    text-align: left;
    overflow: auto;
    background: /*var(--lightgrey)*/ white; /*#00AF94*/
}


/******************/
/******************/


div#footer {
    position: absolute; bottom: 0px;
    display: none;
    width: 100%;
    /*padding: 20px 5px;*/
    /*clear: both;*/
    text-align: center;
    font-size: 0.7em;
    color: #BBB;
    background: var(--darkgrey);
}
    div#footer a { color: #BBB; }

div#debuggerBox {
    /*position: fixed;
    height: 20px;
    bottom: 0px; left: 0px; right: 0px;*/
    /*margin-bottom:0px;*/ padding-left: 20px;
    border-top: 2px solid #666;
    background: white;
    overflow: auto;
    text-align: left;
}
a#toggleDebugBox { float: right; margin-top: 2px; margin-right: 3px; border: 1px solid #AAA; background: #EEEEEE; clear: both; }

div#debuggerBox td, div#debuggerBox th {
    /*width: 4rem;*/ height: 2rem;
    font-size: 0.8em;
    border: 1px solid #ccc;
}
div#debuggerBox th {
    font-weight: bold;
    background: lightblue;
    border-color: lightblue;
    text-align: center;
}
