/*********************************************
*
* master.css
*
* primary styles for KidStrider Dashboard
*
*********************************************/


html{
    margin: 0;
    font-family: arial, helvetica, sans-serif;
    font-size: 24px;
    background-color: #fff;
    background-image: url(/images/logo_bg.png?);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
}

.login-form .input-label{
    display: none;
}

banner{
    display: block;
    background: #a3d558;
    padding-left: 35px;
    background-image: url(/images/logo.png);
    background-repeat: no-repeat;
    background-position: left center;
    border-bottom: 2px solid #000;
    position: fixed;
    top: 0;
    width: 100%;
    top: 0;
    z-index: 1000000000;
}

banner h1{
    font-size: 22px;
    padding: 5px;
    margin: 0;
}

nav{
    display: block;
    padding-left: 41px;
    background-image: url(/images/sprite.png?);
    background-repeat: no-repeat;
    background-position: -108px -72px;
    position: fixed;
    height: 36px;
    width: 200px;
    top: 0;
    right: -200px;
    overflow: hidden;
    transition: right .25s;
    z-index: 1000000000;
}

.nav-active > div{
    border-left: 2px solid #000;
    background: #ffd443;
    padding: 5px;
    height: 100%;
}

.nav-active{
    right: 0;
    height: 100%;
}

nav ul{
    list-style: none;
    padding: 0;
}

nav ul a{
    padding: 5px 0;
    display: block;
    text-decoration: none;
    color: #000;
}

content{
    display: block;
    margin-top: 40px;
}

.col{
    padding: 5px;
    margin: 15px 0;
}

.clear_all{
    clear: both;
}

.col h2{
    margin: 0;
}

.credits{
    font-size: 75%;
    color: #666;
}

#map{
    height: 400px;
}

#activity_details{
    height: 200px;
}

input, button{
    font-size: 24px;
    padding: 5px;
    margin: 2px;
}

table{
    width: 100%;
}

thead{
    background: #ddd;
}

tr:nth-child(even) td{
    background: #eee;
}

td{
    padding: 2px;
}

.button{
    display: inline-block;
    width: 0;
    height: 36px;
    overflow: hidden;
    padding-left: 36px;
    background-image: url(/images/sprite.png);
    background-repeat: no-repeat;
    margin-left: 12px;
    position: relative;
    cursor:pointer;
}

.input-incomplete{
    border: 2px solid #f00;
}

.button-add{
    background-position: -36px 0;
}

.button-del{
    background-position: -72px 0;
}

.result > td:first-child{
    padding-left: 48px;
    margin: 50px 0 50px 12px;
    background-image: url(/images/sprite.png);
    background-repeat: no-repeat;
}

.result-closed > td:first-child{
    background-position: -180px 0;
}

.result-closed table{
    display: none;
}

.result-open > td:first-child{
    background-position: -144px -36px;
}

.result h3{
    margin: 0;
    padding: 0;
}

.button-signup{
    background-position: 0 -36px;
}

.button-generator_clear, .button-inactive.button-generator_add{
    background-position: -72px -36px;;
}

.button-generator_add{
    background-position: -36px -36px;
}

.button-generate_cards{
    background-position: 0 -72px;
}

.button-inactive{
    opacity: .3;
}

.button-inactive.button-generator_add{
    opacity: 1;
}

.card_tally{
    position: absolute;
    left: 0px;
    top: 0px;
    background: #c00;
    color: #fff;
    font-size: 14px;
    padding: 4px;
}

.toggle{
    position: relative;
    /* right: 100px; */
    /* top: 0; */
    height: 36px;
    padding-right: 80px;
    margin-top: 100px;
}

.toggle .switch_body{
    position: absolute;
    top: 0;
    right: 0;
    height: 36px;
    width: 72px;
    background: #ddd;
}

.toggle input{
    display: none;
}

.toggle_switch{
    position: absolute;
    left: 4px;
    top: 4px;
    height: 28px;
    width: 28px;
    background: #c00;
    transition: .25s;
}

input:checked + .switch_body .toggle_switch{
    transform: translateX(36px);
    background: #0c0; /*#a3d558;*/
}

table.search_form tr{
    display: none;
}

table.search_form tr:first-child, table.search_form tr:last-child, .search_form-open table.search_form tr{
    display: table-row;
}

.search_control_menu{
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
}

button.button{
    border: 0;
    background-color: transparent;
    padding: 0 0 0 36px;
    margin: 0 0 0 12px;
}

.button-checkall-off{
    background-position: -36px -72px;
}

.button-checkall-on{
    background-position: -72px -72px;
}

.button-multisave{
    background-position: -108px 0;
}
