* {
  -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;
    font-size: 16px !important;
}

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

main {
    width: 100%;
    background-color: #aaaaaa;
    min-height: calc(100vh - 50px);
    padding-top: 50px;
}

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

body.archive main #main_content {
    background-color: #cac1cc;
}



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;
}

body.archive main #loading {
    background-color: #cac1cc;
}

.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;
}

.passive {
    background: #fce9e9 !important;
    font-weight: normal;
}

.passive span {
    font-weight: bold;
}

.passive img {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.parent_kids {
    font-size: 13px;
    font-style: italic;
}

.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 input {

}

.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;
}

.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 td.icon, .list_item table.money_transfer td.icon {
    width: 25px;
    padding: 0px;
}

.list_item table.money_transfer td.date {
    max-width: 230px;
    min-width: 200px;
}

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

.list_item table.money td.sum, .list_item table.money_transfer 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, .list_item table.money_transfer td.no_mobile_show {
    display: none;
}

.presenceInProgress {
    background-color: rgb(244, 224, 56) !important;
}

.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;
}

.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:not(.match):not(.mot):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_item label {
    font-weight: bold;
}

.list_item.trn-in-progress {
    background-color: #57f056;
    border-left: 2px solid #000;
}

.list_item.trn-in-progress:hover {
    background-color: #19d018 !important;
    border-left: 2px solid #000;
    color: #000;
}

.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 {
    font-size: 18px;
    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;
}

.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 {
    width: 100%;
    text-align: center;
    min-width: 800px;
    border-collapse: collapse;
    margin: 0px 0px 20px 0px;
}

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

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

.apply_table 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;
    width: 80%;
    display: block;
    margin: 30px auto 50px 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;
}

.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;
}

#filters {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

#filters > div {
    flex: 1;
    margin-bottom: 10px;
    margin-right: 0;
}

#filters input, #filters select {
    width: 100%;
}

#myModal .modal-dialog {
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 98%;
    justify-content: center;
    margin-top: 10px;
}

#myModal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#myModal .modal-body {
    position: relative;
    flex: 1 1 auto;
}

#myModal .modal-footer {
    height: 69px;
    display: block;
}

.modal-body{overflow-y: auto;overflow-x: hidden;}

.player.added, .list_item.player.added:hover {
    background-color: #888080;
    color: black;
    font-weight: bold;
    border-left: 3px solid black;
}

.player.disabled, .list_item.player.disabled:hover {
    background: #f2f2f2;
    color: #c89393;
    border-left: 1px solid #babace;
    cursor: not-allowed;
}

.half_width.mobile {
    width: 75% !important;
}

.list .list_item.match {
    display: flex;
    justify-content: space-around;
    border-left: 2px solid black;
    color: black;
    margin-bottom: 0px;
}

.match > .separator {
    margin: 0px 3vw;
}

.match > .p1, .match > .p2 {
    flex: 0 1 200px;
    text-align: center;
    font-weight: bold;
}

.match.level1, .match-buttons.level1 {
    background-color: #9dec9d;
}

.match.level2, .match-buttons.level2 {
    background-color: #5cc85c;
}

.match.level3, .match-buttons.level3 {
    background-color: #12b012;
}

.match.level4, .match-buttons.level4 {
    background-color: #037b03;
}

.match.level5, .match-buttons.level5 {
    background-color: #f7f7a1;
}

.match.level6, .match-buttons.level6 {
    background-color: #e6e61a;
}

.match.level7, .match-buttons.level7 {
    background-color: #e6a522;
}

.match.level8, .match-buttons.level8 {
    background-color: #f05d43;
}

.match.level9, .match-buttons.level9 {
    background-color: #d92100;
}

.match-buttons-container {
    display: none;
}

.match-buttons-container {
    padding: 15px 0px;
    border-left: 2px solid black;
}

.match-buttons {
    display: flex;
    justify-content: space-around;
}

.list.matches {
    max-width: 560px;
}

#resultModal input {
    width: 60px;
}

#resultModal table {
    margin: 0px auto;
}

#resultModal table tr td {
    padding: 0px 10px;
    font-size: 20px;
}

.reason-select {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reason-select > span {
    flex: 0 1 95px;
    font-weight: bold;
}

.reason-select select {
    width: 45%;
    height: 40px;
    min-width: 200px;
}

.winLose {
    font-size: 13px;
}

.match .separator {
    flex: 1 0 auto;
    text-align: center;
}

.matches.finished .p {
    font-weight: normal;
}

.matches.finished .p.winner {
    font-weight: bold;
}

.training_coaches .checkCol {
    width: 30px;
    text-align: center;
}

.list_item.mot {
    border-left-color: #000;
}

.list_item.mot.type1 {
    background-color: #bab9ff;
}

.list_item.mot.type2 {
    background-color: #ecff9a;
}

.list_item.credit {
    display: flex;
    justify-content: space-between;
}

.list_item.credit > div {
    flex: 1 1;
}

.list_item.credit > div.money {
    text-align: right;
}

.ui-widget-header .ui-icon {
    background-image: url("/_image/ui-icons_222222_256x240.png") !important;
}

.monogram {
    color: #417ad5;
}

.uktpw-item-highlighted {
    font-weight: bold;
}

.new-uktpw {
    display: inline-block;
}

.new-uktpw.first {
    width: 30%;
    min-width: 180px;
}

.ui-datepicker.uktpw_from .ui-datepicker-calendar,
.ui-datepicker.dpe_date .ui-datepicker-calendar
{
    display: none;
}

#error {
    width: 80%;
    margin: 0px auto;
    text-align: center;
    background: #992929;
    padding: 10px 0px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

@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, .list_item table.money_transfer td.no_mobile_show {
        display: table-cell;
    }

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

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

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

    #filters {
        flex-direction: row;
    }

    #filters > div {
        margin-bottom: 0px;
        margin-right: 0px;
    }

    #filters > div#training-filter {
        margin: 0px 10px;
    }

}

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

    .full_width {
        width: 90% !important;
    }

    .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;
    }

    .diary_header {
        width: 35%;
    }

    .diary_header .balance_text {

    }


}
