* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Arial;
}

html {

}
body {
    margin: 0px;
    min-height: 100%;
    background-color: #aaaaaa;
    word-wrap: break-word;
    line-height: unset !important;
}

#pageContainer {
    margin: 0px;
    padding: 0px;
    position: relative;
    min-height: 100vh;
    height: 100vh;
}

main {
    width: 100%;
    background-color: #aaaaaa;
    min-height: 100vh;
}

main #main_content {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    padding: 30px 10px 10px 10px;



}


main #loading {

    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    padding: 30px 10px 10px 10px;




    z-index: 100;

    background-image: url("/_image/spinner.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.right {
    text-align: right;
}

.float_right {
    float: right;
}

.float_left {
    float: left;
}

.shuttle_block {
    height: 25px;
}

.z10 {
    z-index: 10;
}

.danger {
    background-color: #ffdddd;
    border-left: 6px solid #002E4C;
    padding: 6px 10px;
    margin-top: 16px;
    margin-bottom: 16px;
    width: 100%;
    font-weight: bold;
}

.

.checkbox_label {
    position: relative;
    top: 3px;
    left: 5px;
}

.error_msg {
    color: #ff0000;
    font-style: italic;
}

.success_msg {
    color: #00ff00;
    font-style: italic;
}


ul.topnav span {
    color: #f2f2f2;
}

.user_filter {
    width: 100%;
    clear: both;
    margin: 15px 0px;
}

.user_filter select, .user_filter input {
    height: 40px;
    width: 100%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 0px 0px 10px 0px;
}

.user_filter select:focus, .user_filter input:focus {
    outline: 0;
    color: #333;
    border-color: rgba(41, 92, 161, 0.4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, 0 0 8px rgba(41, 92, 161, 0.6);
    outline: 0 none;
}

.user_stat {
    display: flex;
    flex-direction: column;
    border: 2px solid #5E5555;
    padding: 5px 10px;
    margin: 10px 0px 15px 0px;
}

.list .list_item .size20 {
    font-size: 20px;
}

a:link {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
td.create {
    padding: 15px 0px;
}
td.create a {
    line-height: 18px;
    font-size: 18px;
}

.list.noti {
    display: flex;
}

a.addbutton.noti {
    margin-left: 10px;
}

.list_item table.money {
    width: 100%;
    padding: 0px;
    text-align: left;
}

.list_item table.money.expired {
    color: #7d6d6d;
    font-weight: normal;
    cursor: not-allowed;
}

.list_item table.money td.icon {
    width: 25px;
    padding: 0px;
}

.list_item table.money td.icon img{
    width: 25px;
    height: 25px;
}

.list_item table.money td.sum {
    width: 1%;
    text-align: right;
    white-space: nowrap;
    min-width: 90px;
}

.list_item table.money td.date {
    text-align: right;
    padding-right: 25px;
}


.list_item table.money td.no_mobile_show {
    display: none;
}

.list .name_tag {

    text-align: left;
    padding: 10px 0px 10px 10px;
    margin: 5px 5px 5px 0px;
    background-color: #e2edff;
    cursor: pointer;

    vertical-align: middle;
    width: 100%;
    font-size: 18px;
    font-family: Arial;
    border-left: 2px solid #000;


}
.name_tag_checked {
    width: 100%;
    text-align: left;
    padding: 10px 0px 10px 10px;
    margin: 5px 5px 5px 0px;
    background-color: #1eea0b;
    cursor: pointer;
    border-left: 2px solid #000;
    font-size: 18px;
    font-family: Arial;
}

.list .name_tag.credit-warning {
    background-color: rgb(255, 190, 120);
}

.list .name_tag.restricted, .list .name_tag.credit-restricted {
    background-color: #fd4d4d;
    cursor: not-allowed;
}

.user_mod_form {
    width: 20px;
    float: right;
}

.list {
    clear: both;
}

.list .list_item {
    margin: 4px 0px;
    vertical-align: middle;
    width: 100%;
    padding: 10px 5px;
    background-color: #e6e6e6;
    font-size: 18px;
    font-family: Arial;
    border-left: 2px solid #aaa;
    min-height: 40px;
}

.list .list_item:hover {
    background-color: #B7B7B7;
    border-left: 2px solid #000;
}

.side_block:hover {
    background-color: #B7B7B7;
}

.list .list_item img, .list .name_tag img, .list .name_tag_checked img, .active_kid img, .active_coach img{
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 5px;
}

.list .add_deposit {
    position: relative;
    top: -30px;
    right: 3px;
    cursor: pointer;
    padding: 0px !important;
    margin: 0px !important;
}

.list .add_deposit img {
    width: 22px;
}



.list a {
    color: #473C3C;
    font-family: Arial;
    font-weight: bold;
}

.list a:hover {
    text-decoration: none;
}

.list .date_separator {
    font-size: 20px;
    width: 100%;
    display: inline-block;
    font-weight: bold;
    background-color: #333;
    color: #f2f2f2;
    padding: 3px 0px 2px 5px;
    margin-bottom: 5px;
}

.list.news .date_separator {
    color: black;
    background-color: #19f40c;
}

.list.news .date_separator:hover {
    background-color: #24991e;
}

.list_item label {
    font-weight: bold;
}

.bigger_space {
    margin: 10px 0px !important;
}

.balance {
    clear: both;
    text-align: center;
    margin: 10px 0px 15px 0px;
    font-size: 20px;
    font-weight: bold;
    padding: 0px 5px;
    border-bottom: 2px solid;
    width: 100%;
}

.transp {
    opacity: 0.5;
}

.line_height14 {
    line-height: 1.4;
}

.list .width70 {
    width: 70%;
}

table.log {
    width: 100%;
    border-collapse: collapse;
}

table.log td, table.log th {
    padding: 4px;
}

table.log img {
    width: 15px;
    height: 15px;
}

table.log tr.login {
    background-color: #e4d7d7;
}

table.log tr.lock, table.log tr.edit {
    background-color: #fbff68;
}

table.log tr.tick {
    background-color: #91ff68;
}

table.log tr.delete {
    background-color: #ff9797;
}

table.log tr.login:hover {
    background-color: #aaa;
}

table.log tr.lock:hover, table.log tr.edit:hover {
    background-color: #ff0;
}

table.log tr.tick:hover {
    background-color: #36ae09;
}

table.log tr.delete:hover {
    background-color: #f02a2a;
}

table.email.log tr:hover {
    cursor: pointer;
}

.date_separator img {
    width: 20px;
    float: right;
    margin-top: 4px;
    margin-right: 10px;
    border: 0;
    cursor: pointer;
}

.list .date_separator:hover {
    background-color: #120909;
}

#main_content {
    display: none;
}

.clickable {
    cursor: pointer;
}

.diary_header .balance_text {
    display: none;
}


.diary_header {
    display: inline-block;
    float: right;
}


.kid_menu, .coach_menu {
    display: none;
    background-color: #B7B7B7;
    border-left: 2px solid #000;
    position: relative;
    top: -4px;
}

.active_kid, .active_coach {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    border-left: 2px solid #000;
    vertical-align: middle;
    font-size: 18px;
    font-family: Arial;
    margin: 4px 0px;
    padding: 10px 5px;

}

.kid_menu .kid_submenu, .coach_menu .coach_submenu {
    text-align: center;
    cursor: pointer;
    border-bottom: 1px dotted black;
    padding: 6px 0px;
}

.kid_menu .kid_submenu:hover, .coach_menu .coach_submenu:hover {
    background-color: #7b7575;
}

.kid_menu .kid_submenu:hover span, .coach_menu .coach_submenu:hover span {
    color: #e9e2e1;
}

.kid_menu .add_money_deposit, .coach_menu .add_money_deposit {
    width: 46%;
    text-align: center;
    display: inline-block;
    position: relative;
}

.kid_menu .view_parent_view, .coach_menu .view_parent_view {
    width: 48%;
    text-align: center;
    display: inline-block;
    position: relative;
    border-left: 1px solid;
}

.kid_menu img, .coach_menu img {
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

.kid_menu span, .coach_menu span {
    position: relative;
    top: -1px;
    color: #473C3C;
    font-family: Arial;
    font-weight: bold;
}

.kid_menu a:link, .coach_menu a:link {
    color: #000;
}

.kid_menu span:hover, .coach_menu span:hover {
    text-decoration: underline;
}

.kid_menu:hover, .coach_menu:hover {
    cursor: pointer;
}

span.no-lease {
    font-style: italic;
}

img.no-lease {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.navigator {
    display: block;
    text-align: center;
    margin: 10px 0px;
}

.navigator img {
    width: 40px;
}

.navigator div {
    width: 100px;
    display: inline-block;
}

.navigator .previous img {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.grayscale {
    opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
}

.apply_table, .user_export {
    width: 100%;
    text-align: center;
    min-width: 800px;
    border-collapse: collapse;
    margin: 0px 0px 20px 0px;
    white-space: nowrap;
}

.user_export, .user_export td {
    border: 1px solid black;
}

.smaller {
    min-width: 588px;
    width: 50%;
}

.apply_table th {
    background-color: #000;
    color: #fff;
    padding: 5px;
}

.apply_table td, .user_export td {
    padding: 5px;
}

.apply_table tr:hover td{
    background: #eeeeee;
}

.apply_table img {
    width: 25px;
}

.pending {
    float: right;
}

h1.apply {
    text-align: center;
}

.outer {
    overflow-x: scroll;
    display: block;
    margin: 30px auto 50px auto;
}

.outer.export {
    height: calc(100vh - 200px);
    width: 95%;
    display: block;
    margin: 10px auto;
}

#footer_control {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    background: #3d3d3d;
    display: block;
    width: 100%;
    overflow: auto;
}

.list .member {
    background-color: #20b495;
    border-left: 3px solid black;
}

.list .member:hover {
    background-color: #93e9ac;
    border-left: 3px solid black;
}

.info-wall {
    border-top: 2px solid #0a4404;
    border-left: none;
    margin-top: 20px;
}

.toggle {
    width: 50px;
    height: 120px;
    position: relative;
    right: -5px;
    top: -10px;
    background-color: #edfc5a;
    float: right;
    border-right: 3px solid;
    cursor: pointer;
}

.list .list_item .toggle img {
    position: relative;
    left: 12px;
    top: 45px;
    width: 25px;
    height: 25px;
}

.nested {
    position: relative;
    right: 25px;
    height: 28px;
    border-radius: 0px 10px 7px 0px;
    top: 1px;
    width: 35px;
}

#footer_toggle {
    width: 60px;
    height: 50px;
    background: #e0e0e0;
    float: right;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    right: 0;
}

#footer_toggle img {
    width: 50px;
}

.category_list {
    width: 70%;
    display: block;
    margin: 5px 2% 5px 8%;
}

.add_category {
    width: 50%;
    margin: 5px 2% 0px 15%;
}

.name_span {
    margin: 5px auto;
    display: block;
    text-align: center;
}

.bigger_padding {
    padding: 20px 0px 50px 0px;
}

form#auto_filters > div > label {
    padding-top: 0px;
}

.category_tab {
    padding: 3px;
    border: 1px solid;
    border-radius: 3px;
    margin-right: 5px;
}

.categories {
    display: inline-block;
    padding: 10px 45px 10px 45px;
    margin: 0;
    width: 100%;
    text-align: center;
}

#categories {
    display: inline;
}

.notification-text {
    margin: -3px 0px 0px 20px;
    padding: 3px 3px;
    background-color: cadetblue;
}

.notification-text.in-progress {
    background-color: #f5ea16;
}

.notification-text.success {
    background-color: #26f329;
}

.notification-text.fail {
    background-color: #f6625c;
}

.mod_sum {
    float: right;
    margin-right: 4vw;
}

@media (min-width: 680px) {

    .categories {
        width: unset;
        text-align: left;
        margin: 0px 0px 0px 45px;
        padding: 0;
    }

    .toggle {
        width: 50px;
        height: 50px;
        position: relative;
        right: -5px;
        top: -10px;
        background-color: #edfc5a;
        float: right;
        border-right: 3px solid;
        cursor: pointer;
    }

    .list .list_item .toggle img {
        position: relative;
        left: 12px;
        top: 10px;
        width: 25px;
        height: 25px;
    }

    .name_span {
        min-width: 200px;
        display: inline-block;
        margin: 0;
    }

    .category_list {
        width: 25%;
        margin: 0;
        display: inline;
    }

    .add_category {
        width: 25%;
        margin: 0;
    }


    .list .date_separator {
        width: 100%;
    }

    .balance {
        clear: both;
        text-align: left;
        margin: 10px 0px 15px 0px;
        font-size: 20px;
        font-weight: bold;
        padding-left: 5px;
        border-bottom: 2px solid;
        width: 30%;
    }

    .list_item table.money td.no_mobile_show {
        display: table-cell;
    }

    .list_item table.money td.sum {
        width: 1%;
        white-space: nowrap;
    }

    .list_item table.money td.quarter_width {
        width: 25%;
        min-width: 100px;
        text-align: left;
    }

    .credit-text {
        float: right;
        margin-right: 15px;
    }
}

@media (min-width: 1250px) {
    .half_width {
        width: 50% !important;
    }

    .full_width {
        width: 90% !important;
    }

    .user_stat {
        width: 40%;
        min-width: 400px;
    }

    .list_item label {
        float: left;
        padding-right: 5px;
        text-align: right;

    }

    .danger {
        width: 90%;
    }

    .wide {
        width: 80% !important;
    }

    .user_filter {
        width: 90%;
    }

    .user_filter select {
        width: 40%;
        max-width: 200px;
    }

    .user_filter input {
        width: 40%;
        float: left;
        margin: 0px 10px 0px 0px;
    }

    main #main_content, main #loading {
        width: 100%;
        margin: 0px auto;
    }

    .list {
        width: 40%;
        min-width: 400px;
    }

    .list .list_item, .list .name_tag, .list .name_tag_checked {
        width: 100%;
    }

    .info {
        margin: 20px;
    }

    .info-wall {
        border-left: 2px solid #0a4404;
        border-top: none;
        margin-top: 0;
    }

    .diary_header {
        width: 35%;
    }

    .diary_header .balance_text {

    }
}
