colors {
    background-color: #5d5c61;
    background-color: #938e94;
    background-color: #7395ae;
    background-color: #557a95;
    background-color: #b0a295;
}

html {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #DDDDDD;
    font-family: 'Noto Sans', sans-serif;
    color: #557a95;
}

h1 {
    margin: 0;
}

.wrapper {
    max-width: 1000px;
    margin: auto;
    /*height: 100%;*/
}

.wrapper-m-groups {
    overflow: hidden;
    padding: 0 10px;
}

#register_song_verify_text {
    margin: 0;
}

.deleted {
    color: red;
}

a {
    text-decoration: none;
}

a {
    color: #ffffff;
}

a:visited {
    color: #ffffff;
}

a:hover {
    color: #ffffff;
}

a:active {
    color: #ffffff;
}

.asterisk {
    color: #ff0000;
}

.error {
    color: #ff0000;
    padding: 0px;
    margin: 0px;
}

select.error {
    padding: 6px;
    color: #000;
    margin-bottom: 10px;
}

label {
    color: #557a95;
}

#lang-switcher {
    width: 100px;
    height: 30px;
    background-color: #fff;
    color: #666;
    padding: 0 5px 0 5px;
    border: 1px solid #ccc;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin: 0;
}

#form_lang {
    float: right;
    margin: 25px;
    display: none;
}

table {
    margin: 50px auto;
    background-color: white;
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: #999999;
    color: #ffffff;
    padding: 10px;
}

td {
    padding: 7px;
    / / border: 1 px solid #ccc;
}

#publishers-table td:first-child {
    min-width: 180px;
}

.troddcolor tr:nth-child(odd) {
    background-color: #eee;
}

.trhovercolor tr:hover {
    background-color: #ffd
}

.btn-options {
    background-color: #999999;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    margin: 0 1px;
}

.btn-options:hover {
    background-color: #333333;
}

.btn-options:focus {
    outline: none;
}

.btns {
    clear: both;
    text-align: center;
}

.btns button {
    width: 120px;
    margin: 0 2px;
}

.button {
    height: 35px;
    display: inline-block;
    background-color: #999;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    padding: 0 15px 0 15px;
    outline: none;
    border: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin: 0 0 25px 0;
    cursor: pointer;
}

.add-btn {
    float: right;
    margin-top: 25px;
}

.statistics-btn {
    float: right;
    margin: 25px 10px;
}

.options-column {
    text-align: center;
    min-width: 108px;
}

.button:hover {
    background-color: #333;
}

.ui-datepicker-trigger2 {
    position: relative;
    top: -38px;
    left: 2px;
    border: none;
    background: none;
    font-size: 19px;
}

/* Style inputs, select elements and textareas */
input[type=text],
[type=number],
select,
textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    background-color: #ffffff;
}

/* Style the label to display next to the inputs */
label {
    padding: 10px 12px 4px 1px;
    display: inline-block;
}

/* Style the container */
.container {
    /*border-radius: 5px;*/
    /*background-color: #f2f2f2;*/
    padding: 20px;
}

/* other column patern start */
.grid4 .col:nth-of-type(4n+1),
.grid3 .col:nth-of-type(3n+1),
.grid2 .col:nth-of-type(2n+1) {
    margin-left: 0;
    clear: left;
}

/* col */
.col {
    float: left;
    /*margin-left: 3.2%;*/
    margin-left: 1.2%;
    /*margin-bottom: 30px;*/
}

/* grid4 col */
.grid4 .col {
    /*width: 22.6%;*/
    width: 24.1%;
}

/* grid3 col */
.grid3 .col {
    width: 31.2%;
}

/* grid2 col */
.grid2 .col {
    /*width: 48.4%;*/
    width: 49.4%;
}

/*other column patern end*/

/* Floating column for labels: 25% width */

.col-50 {
    float: left;
    width: 48%;
    margin-top: 6px;
    padding: 0 1%;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

#add-group-form .col-25 {
    margin-right: 10px;
    margin-left: 10px;
    width: 23%;
}

/* Floating column for inputs: 75% width */
.col-75 {
    float: left;
    width: 50%;
    margin-top: 6px;
}

#weekend-subject-form .col-75 {
    float: left;
    width: 73.8%;
    margin-left: 1.2%;
}

.col-33 {
    float: left;
    width: 31%;
    margin-top: 6px;
    padding: 0 1%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {

    .col-25,
    .col-50,
    .col-75,
    input[type=submit] {
        width: 100%;
        margin-top: 0;
    }

    #add-group-modal .button {
        width: 100%;
        margin-top: 0;
    }

    #cancel-btn {
        width: 100%;
        margin-top: 0 !important;
    }

    .txtarea {
        /* midweek */
        margin: 0 !important;
    }

    #weekend-subject-form .col-75 {
        width: 100%;
        margin-left: 0 !important;
    }
}

.modal {
    display: none;
    /*Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 800px;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

ul.ui-autocomplete {
    z-index: 1100;
}

.side-menu {
    display: none;
    padding: 20px;
    background: #333333;
    height: 100%;
    width: 250px;
    position: fixed;
    left: 0px;
    top: 0px;
    color: #ffffff;
}

.side-menu label {
    color: #ffffff;
    padding: 0;
}

.side-toggle-btn {
    float: right;
    margin: 25px 0 0 10px;
}

.side-menu input[type=checkbox] {
    display: none;
}

.side-menu input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
}

.side-menu input[type=checkbox]+label:before {
    content: "\f0c8";
    letter-spacing: 10px;
}

.side-menu input[type=checkbox]:checked+label:before {
    content: "\f14a";
    letter-spacing: 10px;
}

.side-menu input[type=radio] {
    display: none;
}

.side-menu input[type=radio]+label:before {
    font-family: "Font Awesome 5 Free";
}

.side-menu input[type=radio]+label:before {
    content: "\f111";
    letter-spacing: 10px;
}

.side-menu input[type=radio]:checked+label:before {
    content: "\f192";
    letter-spacing: 10px;
}

.side-container {
    margin: 10px 0 30px 15px;
}

.loading {
    display: none;
    position: fixed;
    z-index: 100;
    opacity: 0.4;
    background: #666 url("../img/loader.gif") no-repeat center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}

.ui-autocomplete-loading {
    background: url("../img/loader2.gif") no-repeat right center
}

/* MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU MENU */

.topnav {
    overflow: hidden;
    /*background-color: #333;*/
    background-color: #557a95;
    float: right;
    /* me */
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
    font-size: 17px;
}

.active {
    /*background-color: #ffffff;*/
    /*color: #557a95 !important;*/

}

.topnav .icon {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 10px 12px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME HOME*/
#home-group-title {
    text-align: center;
}

#app-download {
    margin-top: 20px;
    display: inline-block;
    background-color: #557a95;
    padding: 5px;
}

/* LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN  LOGIN */

.logo-header h1 {
    margin: 17px;
    color: white;
    float: left;
    text-shadow: 2px 2px 2px black;
}

#login-form label {
    display: inline-block;
    line-height: 32px;
}

input[type=text],
input[type=password],
input[type=email] {
    width: 100%;
    height: 32px;
    /*background-color: #f9f9f9;*/
    /*-webkit-box-shadow: 0 0 0px 1000px white inset; !* This is for chrome yellow background*!*/
    color: #666;
    padding: 0 0 0 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#form-container {
    padding: 20px;
    margin: auto;
    max-width: 400px;
}

.login-button {
    width: 100%;
    display: inline-block;
    background-color: #999;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    color: #fff;
    padding: 5px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border: 0;
    border-radius: 6px;
    margin: 10px 0 10px 0;
    float: right;
}

.login-button:hover {
    background-color: #333;
}

.register-link {
    text-align: center;
    display: block;
    clear: both;
    background: #999999;
    border-radius: 5px;
    padding: 5px;
    font-weight: 700;

}

.register-link:hover {
    background-color: #333;
}

.logo-header {
    background-color: #557a95;
    min-height: 80px;
}

#login-error {
    margin-top: 20px;
    color: red;
    display: inline-block;
}

#forgot-psw-link {
    color: #557a95;
    display: block;
    padding-top: 10px;
    text-align: center;
}

#software {
    color: #557a95;
    display: block;
    padding-top: 10px;
    text-align: center;
    font-size: 20px;
}

#home-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* REGISTER REGISTER REGISTER REGISTER REGISTER REGISTER REGISTER REGISTER */

.error-messages {
    padding: 10px 0px;
    color: red;
}

/* FORGOT FORGOT FORGOT FORGOT FORGOT FORGOT FORGOT FORGOT FORGOT FORGOT */
#forgot-psw {
    max-width: 300px;
    margin: 30px auto;
}

/* TEMPLATE TEMPLATE TEMPLATE TEMPLATE TEMPLATE TEMPLATE TEMPLATE TEMPLATE */

header {
    width: 100%;
    /*min-height: 60px;*/
    background-color: #557a95;
    overflow: hidden;
}

.wrapper {
    max-width: 1000px;
}

.title {
    color: white;
    float: left;
    font-size: 20px;
    padding: 8px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #557a95;
    color: #ffffff;
    padding: 20px;
    text-align: center;

}

/* PUBLISHER DETAILS PUBLISHER DETAILS PUBLISHER DETAILS PUBLISHER DETAILS PUBLISHER DETAILS */
#publisher-details {
    margin-top: 40px;
}

#publishers-table-container {
    max-width: 600px;
    margin: auto;
}

.format1 {
    width: 50%;
    float: left;
}

.gen-pass-input {
    /*width: 87% !important;*/
    width: calc(100% - 50px) !important;
}

#psw-error {
    position: relative;
}

#gen-pass-btn {
    position: absolute;
    top: 0;
    right: 0;
}

#reset-psw {
    width: 100%;
}

/* MANAGE-GROUPS MANAGE-GROUPS MANAGE-GROUPS MANAGE-GROUPS MANAGE-GROUPS */

#gmembers-btn-save {
    float: right;
    margin-top: 30px;
    clear: both;
    margin-bottom: -10px;
}

#add-group-form .btns {
    text-align: right;
    padding: 0 10px;
}

#add-group-view-table {
    max-width: 330px;
}

#add-group-view-table td {
    padding: 4px;
    !important;
}

#group-members-container {
    max-width: 600px;
    margin: auto;
}

#groups-container {
    max-width: 400px;
    margin: 20px auto;
}

#group-members-container td:last-child {
    width: 40%;
}

/* GROUP-MEMBERS GROUP-MEMBERS GROUP-MEMBERS GROUP-MEMBERS GROUP-MEMBERS */
.group-info {
    margin-bottom: -45px;
    font-size: 18px;
    font-weight: bold;
    clear: both;
}

#group-data-table input[type=checkbox] {
    display: none;
}

/* to hide the checkbox itself */
#group-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#group-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 6px;
    margin-top: 8px;
}

#group-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 6px;
    margin-top: 8px;
}

#group-data-table td:last-child {
    white-space: nowrap;
}

/* STAND STAND STAND STAND STAND STAND STAND STAND STAND STAND STAND */
#eos {
    width: 4%;
    text-align: center;
    display: inline-block;
}

.time-size {
    width: 23.5%;
    float: left;
    padding: 6px 1px;
}

#stand-form {
    margin-top: 50px;
}

#add-stand-btn {
    margin-top: 25px;
    float: right;
}

/* same for ministry */
#locations {
    padding-left: 0;
}

#locations li {
    list-style: none;
    padding: 1px 0px;
}

#locations span {
    width: calc(100% - 25px);
    display: inline-block;
}

#locations li:hover {
    cursor: pointer
}

.remove-loc:hover {
    cursor: pointer
}

#locations button {
    float: right;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 19px;
    padding: 0;
}

#add-location-btn {
    float: right;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 19px;
    margin-top: 7px;
    padding: 0 6px 0 5px;
}

#add-location-btn:hover {
    cursor: pointer
}

#cancel-edit-btn:hover {
    cursor: pointer
}

#cancel-edit-btn {
    display: none;
    float: right;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 19px;
    margin-top: 7px;
    padding: 0;
}

#location-input {
    width: 200px;
}

#stand-data-table input[type=checkbox] {
    display: none;
}

/* to hide the checkbox itself */
#stand-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#stand-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#stand-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

/* grid3 col */
#stand-form .grid3 .col {
    width: 32.5%;
}

#stand-data-table td:nth-child(1),
#stand-data-table td:nth-child(7) {
    white-space: nowrap;
}

#stand-data-table th:nth-child(4),
#stand-data-table th:nth-child(5),
#stand-data-table th:nth-child(6) {
    white-space: nowrap;
}

#stand-data-table.bt tfoot th::before,
#stand-data-table.bt tfoot td::before,
#stand-data-table.bt tbody td::before {
    width: 130px;
}

/* MIDWEEK MIDWEEK MIDWEEK MIDWEEK MIDWEEK MIDWEEK MIDWEEK MIDWEEK */

.midweek-separator {
    color: #ffffff;
    padding: 1px 5px;
    margin: 0 1%;
}

.txtarea {
    margin: 40px 2% 0 0%;
}

.midweek-data-table input[type=checkbox] {
    display: none;
}

/* to hide the checkbox itself */
.midweek-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

.midweek-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 2px;
    margin-top: 7px;
}

.midweek-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 2px;
    margin-top: 7px;
}

.midweek-data-table {
    table-layout: fixed;
}

.midweek-data-table .left-col {
    width: 65%;
}

.midweek-data-table .right-col {
    width: 35%;
}

.midweek-data-table th {
    padding: 10px 0;
}

#midweek-form-edit {
    margin-top: 40px;
}

.midweek-data-table-view td:first-child {
    width: 65%;
}

/* WEEKEND WEEKEND WEEKEND WEEKEND WEEKEND WEEKEND WEEKEND WEEKEND  */

#weekend-data-table input[type=checkbox] {
    display: none;
}

/* to hide the checkbox itself */
#weekend-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#weekend-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 7px;
}

#weekend-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 7px;
}

#weekend-data-table td {
    padding: 2px 4px;
}

#weekend-data-table td:last-child {
    white-space: nowrap;
}

#weekend-select {
    float: left;
    width: 190px;
    margin-top: 25px;
}

#weekend-speakers-table {}


/* SOUND SOUND SOUND SOUND SOUND SOUND SOUND SOUND SOUND SOUND SOUND */

#sound-data-table input[type=checkbox] {
    display: none;
}

#sound-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#sound-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#sound-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#sound-data-table td:last-child {
    white-space: nowrap;
}

#sound-data-table.bt tfoot th::before,
#sound-data-table.bt tfoot td::before,
#sound-data-table.bt tbody td::before {
    width: 120px;
}

.nowrap {
    white-space: nowrap;
}

/* ATTENDANCE ATTENDANCE ATTENDANCE ATTENDANCE ATTENDANCE ATTENDANCE */
#attendance-wrapper {
    max-width: 630px;
    margin: auto;
}

#attendance-data-table input[type=checkbox] {
    display: none;
}

#attendance-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#attendance-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#attendance-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#attendance-data-table.bt tfoot th::before,
#attendance-data-table.bt tfoot td::before,
#attendance-data-table.bt tbody td::before {
    width: 120px;
}

/* CLEANING CLEANING CLEANING CLEANING CLEANING CLEANING CLEANING */
#cleaning-data-table input[type=checkbox] {
    display: none;
}

#cleaning-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#cleaning-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#cleaning-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#cleaning-wrapper {
    max-width: 550px;
    margin: auto;
}

#cleaning-modal .modal-content {
    max-width: 500px;
}

/* MINISTRY MINISTRY MINISTRY MINISTRY MINISTRY MINISTRY MINISTRY MINISTRY */
.mtime-size {
    width: 48%;
    float: left;
    padding: 6px 1px;
    margin: 0 1%;
}

#ministry-data-table input[type=checkbox] {
    display: none;
}

#ministry-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#ministry-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#ministry-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#ministry-data-table td {
    /*padding: 2px 4px;*/
}

#ministry-data-table.bt tfoot th::before,
#ministry-data-table.bt tfoot td::before,
#ministry-data-table.bt tbody td::before {
    width: 115px;
}

/* MESSAGES MESSAGES MESSAGES MESSAGES MESSAGES MESSAGES MESSAGES */

#messages-data-table input[type=checkbox] {
    display: none;
}

#messages-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#messages-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#messages-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

/* PARKING  PARKING  PARKING  PARKING  PARKING  PARKING  PARKING  PARKING */
#parking-wrapper {
    max-width: 630px;
    margin: auto;
}

#parking-data-table input[type=checkbox] {
    display: none;
}

#parking-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#parking-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#parking-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#parking-data-table.bt tfoot th::before,
#parking-data-table.bt tfoot td::before,
#parking-data-table.bt tbody td::before {
    width: 120px;
}

/* CHART CHART CHART CHART CHART CHART CHART CHART */
#chart-wrapper {
    max-width: 630px;
    margin: auto;
}

#chart-data-table input[type=checkbox] {
    display: none;
}

#chart-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#chart-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#chart-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#chart-data-table.bt tfoot th::before,
#chart-data-table.bt tfoot td::before,
#chart-data-table.bt tbody td::before {
    width: 120px;
}

/* STATISTICS STATISTICS STATISTICS STATISTICS STATISTICS */
#statistics-wrapper {
    max-width: 630px;
    margin: auto;
}

#statistics-data-table input[type=checkbox] {
    display: none;
}

#statistics-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

#statistics-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

#statistics-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}

#statistics-data-table.bt tfoot th::before,
#statistics-data-table.bt tfoot td::before,
#statistics-data-table.bt tbody td::before {
    width: 120px;

}

/* TERRITORY TERRITORY TERRITORY TERRITORY TERRITORY TERRITORY */

.indicator {
    width: 25px;
    height: 25px;
}

#territory-wrapper {
    max-width: 800px;
    margin: auto;
}

/* SETTINGS SETTINGS SETTINGS SETTINGS SETTINGS SETTINGS SETTINGS */

#settings-wrapper {
    max-width: 600px;
    margin: auto;
}

#settings-table {
    margin: auto;
    background-color: #dddddd;
}

.settings-input {
    max-width: 200px;
}

#settings-save-btn {
    float: right;
    margin: 20px 0px;
}

/* OVERSEERVISIT OVERSEERVISIT OVERSEERVISIT OVERSEERVISIT OVERSEERVISIT */
.overseervisit-wrapper {
    max-width: 800px;
    margin: auto;
}

.fixposition {
    position: relative;
    bottom: 64px;
    left: 330px;
}

.ordernum {
    width: 12% !important;
    /*position: relative;*/
    /*left: 84px;*/
    /*bottom: 42px;*/
}

.overseervisit-data-table input[type=checkbox] {
    display: none;
}

/* to hide the checkbox itself */
.overseervisit-data-table input[type=checkbox]+label:before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
}

.overseervisit-data-table input[type=checkbox]+label:before {
    content: "\f070";
    margin-left: 7px;
    margin-top: 8px;
}

.overseervisit-data-table input[type=checkbox]:checked+label:before {
    content: "\f06e";
    margin-left: 7px;
    margin-top: 8px;
}


/* PROFILE PROFILE PROFILE PROFILE PROFILE PROFILE PROFILE */

#profile-table {
    background-color: #dddddd;
    max-width: 350px;
}


/* MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA MEDIA */

@media only screen and (max-width: 967px) {

    #weekend-data-table td {
        padding: 0px;
    }

    #weekend-data-table.bt tfoot th::before,
    #weekend-data-table.bt tfoot td::before,
    #weekend-data-table.bt tbody td::before {
        width: 115px;
    }

    #weekend-data-table .btn-options {
        width: 24px;
        height: 24px;
    }

    #weekend-data-table input[type=checkbox]+label:before {
        margin-left: 5px;
        margin-top: 5px;
    }

    #weekend-data-table input[type=checkbox]:checked+label:before {
        margin-left: 5px;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 887px) {

    /*header h1 {*/
    /*font-size: 20px;*/
    /*padding: 8px;*/
    /*}*/
    #stand-data-table .btn-options {
        width: 24px;
        height: 24px;
    }

    #stand-data-table input[type=checkbox]+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }

    #stand-data-table input[type=checkbox]:checked+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }

    #btnCancel {
        margin-top: 0px !important;
        width: 100%;
    }
}

@media only screen and (max-width: 585px) {

    /*header h1 {*/
    /*font-size: 20px;*/
    /*padding: 8px;*/
    /*}*/
    #group-data-table .btn-options {
        width: 26px;
        height: 26px;
    }

    #group-data-table input[type=checkbox]+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }

    #group-data-table input[type=checkbox]:checked+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }
}

@media only screen and (max-width: 917px) {

    #ministry-data-table .btn-options {
        width: 24px;
        height: 24px;
    }

    #ministry-data-table input[type=checkbox]+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }

    #ministry-data-table input[type=checkbox]:checked+label:before {
        margin-left: 5px;
        margin-top: 6px;
    }
}

@media only screen and (max-width: 641px) {

    header h1 {
        font-size: 20px;
        padding: 8px;
        /*text-align: center;*/
        width: auto;
    }

    .topnav {
        width: 100%;
        overflow: visible;
        clear: both;
    }

    /*
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    */
    .topnav a,
    .dropdown .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        padding: 12px 14px;
    }

    .topnav.responsive {
        /*position: relative;*/
    }

    a.icon {
        background-color: #333;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        padding: 12px 14px;
        font-size: 14px !important;
    }

    header .wrapper {
        overflow: hidden;
        position: relative;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }

    .logo-header h1 {
        color: white;
        text-align: center;
        width: 100%;
        margin: 15px 0 5px 0;
        font-size: 12px;
    }

    .logo-header {
        min-height: 80px;
        overflow: hidden;
    }

    #form_lang {
        float: right;
        margin: 10px;
        display: none;
    }

    #form-container {}

    .title {}

    #btable .options-column {
        text-align: left;
    }

    #btable .btn-options {
        width: 24px;
        height: 24px;
    }

    #btable {
        background-color: #dddddd;
    }

    #btable tr:nth-child(odd) {
        background-color: #eee;
    }

    #btable tr:nth-child(even) {
        background-color: #ffffff;
    }
}

/*@media screen and (max-width: 740px) {*/
/*.grid4 .col {*/
/*width: 31.2%;*/
/*}*/

/*.grid4 .col:nth-of-type(4n+1) {*/
/*margin-left: 3.2%;*/
/*clear: none;*/
/*}*/

/*.grid4 .col:nth-of-type(3n+1) {*/
/*margin-left: 0;*/
/*clear: left;*/
/*}*/
/*}*/

@media screen and (max-width: 600px) {

    /* change grid4 to 2-column */
    .grid4 .col {
        width: 48.4%;
    }

    .grid4 .col:nth-of-type(3n+1) {
        /*margin-left: 3.2%;*/
        margin-left: 1.2%;
        clear: none;
    }

    .grid4 .col:nth-of-type(2n+1) {
        margin-left: 0;
        clear: left;
    }

    /* change grid3 to 2-column */
    .grid3 .col {
        width: 48.4%;
    }

    #stand-form .grid3 .col {
        width: 49.4%;
    }

    .grid3 .col:nth-of-type(3n+1) {
        /*margin-left: 3.2%;*/
        margin-left: 1.2%;
        clear: none;
    }

    .grid3 .col:nth-of-type(2n+1) {
        margin-left: 0;
        clear: left;
    }
}

@media screen and (max-width: 747px) {
    #sound-data-table input[type=checkbox]+label:before {
        content: "\f070";
        margin-left: 5px;
        margin-top: 5px;
    }

    #sound-data-table input[type=checkbox]:checked+label:before {
        content: "\f06e";
        margin-left: 5px;
        margin-top: 5px;
    }

    #messages-data-table input[type=checkbox]+label:before {
        content: "\f070";
        margin-left: 4px;
        margin-top: 5px;
    }

    #messages-data-table input[type=checkbox]:checked+label:before {
        content: "\f06e";
        margin-left: 4px;
        margin-top: 5px;
    }
}

@media screen and (max-width: 532px) {
    #attendance-data-table input[type=checkbox]+label:before {
        content: "\f070";
        margin-left: 5px;
        margin-top: 5px;
    }

    #attendance-data-table input[type=checkbox]:checked+label:before {
        content: "\f06e";
        margin-left: 5px;
        margin-top: 5px;
    }

    #cleaning-data-table .btn-options {
        width: 24px;
        height: 24px;
    }

    #cleaning-data-table input[type=checkbox]+label:before {
        content: "\f070";
        margin-left: 4px;
        margin-top: 6px;
    }

    #cleaning-data-table input[type=checkbox]:checked+label:before {
        content: "\f06e";
        margin-left: 4px;
        margin-top: 6px;
    }
}

@media screen and (max-width: 400px) {
    .col {
        width: 100% !important;
        margin-left: 0 !important;
        clear: none !important;
    }
}

@media screen and (max-width: 380px) {
    .midweek-data-table td {
        padding: 7px 4px;
    }

    .midweek-data-table .btn-options {
        width: 24px;
        height: 24px;
    }

    .midweek-data-table input[type=checkbox]+label:before {
        content: "\f070";
        margin-left: 2px;
        margin-top: 4px;
    }

    .midweek-data-table input[type=checkbox]:checked+label:before {
        content: "\f06e";
        margin-left: 2px;
        margin-top: 4px;
    }

    .midweek-data-table td:last-child {
        padding: 7px 4px 7px 2px;
    }

    .midweek-data-table td:first-child {
        padding: 7px 2px 7px 4px;
    }
}