@CHARSET "utf-8";


/* Makeshift CSS Reset */
*{
    margin: 0 auto;
    padding: 0 auto;
}

/* Tell the browser to render HTML 5 elements as block */
header, footer, aside, nav, article, section{
    display: block;
}

header, nav, section.login, footer {
    background: #0f0f0f url('img/bg.png');
}

body {
    background: #f4f4f4;
    font-family: Verdana, sans-serif;
    font-size: 15px;

}

header {
    margin: 0px;
    padding: 30px 5px;
    text-align: center;
    font-family: "Arial Black", Gadget, sans-serif;
    color: white;
}

header img {
    vertical-align: middle;
}

header a.logo {
    margin: 0px;
    padding: 30px 5px;
    text-align: center;
    font-family: "Arial Black", Gadget, sans-serif;
    color: white;
    text-decoration: none;
}


nav {
    padding: 2px;
    text-align: center;
    font-size: 1em;
    color: white;
}

nav a:link {
    text-decoration: none;
    color: white;
}
nav a:visited {
    text-decoration: none;
    color: white;
}
nav a:hover {
    text-decoration: underline;
    color: gray;
}
nav a:active {
    text-decoration: underline;
    color: #404040;
}

span.login_name {
     float: left;
     color: #ffffff;
 }


nav a.login_out {
    float: right;
}

a:link {
    text-decoration: none;
    color: #580000;
}
a:visited {
    text-decoration: none;
    color: #580000;
}
a:hover {
    text-decoration: underline;
    color: #c50000;
}
a:active {
    text-decoration: underline;
    color: #ff0000;
}

a.bold:link {
    font-weight: bold;
    color: black;
}
a.bold:visited {
    font-weight: bold;
    color: black;
}
a.bold:hover {
    text-decoration: underline;
    color: #454545;
}
a.bold:active {
    text-decoration: underline;
    color: #ffffff;
}


a.white:link {
    text-decoration: none;
    color: white;
}
a.white:visited {
    text-decoration: none;
    color: white;
}
a.white:hover {
    text-decoration: underline;
    color: gray;
}
a.white:active {
    text-decoration: underline;
    color: #404040;
}

a.error:link {
    text-decoration: none;
    font-weight: bold;
    color: red;
}
a.error:visited {
    text-decoration: none;
    font-weight: bold;
    color: red;
}
a.error:hover {
    text-decoration: underline;
    color: #7d0001;
}
a.error:active {
    text-decoration: underline;
    color: #690001;
}


section {
    float:none;
    text-align: center;
    padding: 10px 20px 30px 20px;
    max-width: 960px;
    margin-bottom: 100px; /*Bottom margin for footer */
}

article {
    text-align: center;
    min-height: 50%;
    vertical-align: middle;
}

/*
section.login{
    line-height:30px;
    background-color:#0f0f0f;
    color: #f0f0f0;
    height:50%;
    width:170px;
    float:right;
    padding:5px;
}
*/

footer {
    font-size: 0.65em;
    color: white;
    clear: both;
    width: 100%;
    bottom: 0;
    position:fixed;
    padding: 3px;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #f0f0f0;
}




form.login {
    text-align: center;
}

table.login {
    text-align: center;
    margin: auto;
    padding: 30px 5px 10px;
}

p.error {
    text-align: center;
    color: red;
    font-weight: bold;
    padding: 10px;
}

p.success {
    text-align: center;
    color: green;
    font-weight: bold;
}



td.left {
    text-align: right;
}

td.right {
    text-align: left;
}

td.center {
    text-align: center;
}

td.table_error {
    text-align: center;
    color: red;
    font-weight: bold;
    font-size: 70%;
}


table#user_list {
    border-collapse: collapse;
    border-spacing: 0px;
    font-size: 14px;
}

table#user_list td {
    padding: 5px 15px 5px 15px;
}

table#user_list td.cent {
    text-align: center;
}

table#user_list th {
    background-color: black;
    color: white;
}

table#user_list tr:nth-child(even) {
     background-color: white;
     color: black;
 }

table#user_list tr.vspace {
    height: 30px;
}

table#user_list tr:nth-child(odd) {
    background-color: #dcdcdc;
    color: black;
}

table#create_new {
    border-collapse: collapse;
    border-spacing: 0px;
    font-size: 90%;
}
table#user_list td.left {
    text-align: right;
}


p.subsection_name {
    text-decoration: double;
    font-size: 20px;
    color: #515151;
}



div#control_panel {
    position: absolute;
    right: 0px;
    top: 30%;
    width: 200px;
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 10px 10px;
}


p.text {
    margin: 10px 5px 15px 0px;
}

p.note {
    font-size: 70%;
}


input.search[type="text"] {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}


table#gr_select {
    width: 400px;
    font-size: 16px;
}
#gr_select td:nth-child(1) {
    width: 180px;
    text-align: left;
}
#gr_select td:nth-child(3) {
    width: 180px;
    text-align: right;
}

td.error {
    text-align: center;
    color: red;
    font-size: 80%;
}


div#add_kid_space {
    min-height:100px;
    width:600px;
}


table#groups_table {
    width: 100%;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

#groups_table td {
    width: 33%;
}


div.card {
    padding: 25px;
    background-color: #e8e8e8;
    display: inline-block;
    margin:10px;
    text-align: left;
}


table#stats {
    padding: 10px;
    border-collapse: collapse;
    border-spacing: 0px;
}

table#stats td, th {
    padding: 10px;
    text-align: center;
    border: 1px solid black;
}