#myChecklist {
    font-family: sans-serif;
}

#myChecklist *,
#myChecklist ::after,
#myChecklist ::before {
    box-sizing: unset !important;
}

#myChecklist h4 {
    margin: 22px 0 8px 0;
}

div#contentDiv.heb {
    text-align: right;
}

h4#progressInMasechta,
div#masechtaProgress,
div#masechtaProgress ~ h4,
div#shasProgress {
    text-align: left;
}

#myChecklist .fade {
    /* display: none!important; */
    opacity: 0.6;
    filter: saturate(0.3);
}

/* masechta select*/
#myChecklist select#masechta,
#myChecklist input[type="text"] {
    border-radius: 4px;
    padding: 6px 6px;
    font-size: 15px;
    width: 148px !important;
    border: 1px solid #918b7d;
    direction: ltr;
}
#myChecklist .heb select#masechta {
    direction: rtl; /* hebrew */
}

/* all buttons */
#myChecklist input.saveButton {
    background: #016087;
    color: #fff;
    /* border: 1px solid #052735; */ /* blue */
    border-radius: 0;
    padding: 9px 14px;
    font-weight: bold;
    font-size: 16px;
    margin: 8px 2px;
    cursor: pointer;
}
/* clear progress button */
#myChecklist input#clearProgress {
    background: #dd1f1f; /* red */
    /* border: 1px solid #740000; */
}
/* hover */
#myChecklist input.saveButton:hover {
    background: #2196f3; /* lighter blue */
}
#myChecklist input#clearProgress:hover {
    background: #e54242; /* lighter red */
}

#myChecklist input#exportData,
#myChecklist input#importData {
    background: transparent;
    color: #4CAF50; /* green */
}

#myChecklist input#exportData:hover,
#myChecklist input#importData:hover {
    color: #66BB6A; /* lighter green */
}

#myChecklist p#savingText {
    display: inline-block;
    font-size: 14px;
    margin-left: 12px;
}

#myChecklist .heb p#savingText {
    /* float: right; */
    /* margin-right: 12px; */
    margin-left: 0px;
}

#myChecklist input#registerButton {
    margin-left: 5px;
}

#myChecklist #language {
    float: right;
    font-size: 14px;
    line-height: 22px;
    display: inline-table;
}
@media only screen and (max-width: 560px) {
    #myChecklist #language {
        float: none;
        /* display: block; */
    }
}

#myChecklist .cb {
    display: inline-block;
    width: 51px;
    border: 1px solid #f0eada;
    margin: 1px;
    padding: 2px;
    text-align: center;
    height: 30px;
    background: #016087;
    color: #fff;
    font-family: sans-serif;
    font-weight: bold;
    border-radius: 0px;
    padding-top: 5px;
}

#myChecklist div#checkboxes {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    direction: ltr;
}

#myChecklist .heb div#checkboxes {
    direction: rtl;
    text-align: right;
}

/* The container */
#myChecklist .container {
    display: inline-block;
    position: relative;
    padding-left: 0px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-bottom: 22px;
}

/* Hide the browser's default checkbox */
#myChecklist .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
#myChecklist .checkmark {
    position: absolute;
    bottom: 6px;
    left: 16px;
    height: 21px;
    width: 21px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
#myChecklist .container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
#myChecklist .container input:checked ~ .checkmark {
    background-color: #2196f3;
}

/* When the checkbox is checked and hovering, add a dark blue background */
#myChecklist .container:hover input:checked ~ .checkmark:not(.fade) {
    background-color: #0d78cc;
}

/* Create the checkmark/indicator (hidden when not checked) */
#myChecklist .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
#myChecklist .container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
#myChecklist .container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Mark All, Up-To-Date */
#myChecklist label.cb.container.select-all,
#myChecklist label.cb.container.up-to-date {
    display: inline-block;
    height: 13px;
    width: fit-content;
    text-align: right;
    min-width: 68px;
    padding: 11px 12px 18px 40px;
    width: auto;
}
#myChecklist label.cb.container.select-all span.checkmark,
#myChecklist label.cb.container.up-to-date span.checkmark {
    position: absolute;
    top: 10px;
    left: 10px;
}
/*label.cb.container.up-to-date input:checked ~ .checkmark {
    background-color: #016087;
}*/

/* Sweet Alert (swal) */
#myChecklist .swal-overlay--show-modal .swal-modal {
    position: absolute;
    top: 120px;
    left: 0px;
    right: 0px;
    margin: auto;
}

/* Progress bars */
#myChecklist .progressBar {
    background: #ffffff;
    width: 100%;
    height: 28px;
    border: 2px solid #016087;
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
}
#myChecklist .progressInner {
    background: #016087;
    height: 28px;
}
#myChecklist p.progressValue {
    z-index: 100;
    margin: 0;
    display: inline-block;
    line-height: 28px;
    font-size: 0.9em;
    font-weight: bold;
}
#myChecklist .progressBar.inside .progressInner {
    text-align: right;
}
#myChecklist .progressBar.inside p.progressValue {
    color: #eee;
    text-align: right;
    margin-right: 8px;
}
#myChecklist .progressBar.outside .progressInner {
    text-align: left;
    white-space: nowrap;
    overflow: visible;
}
#myChecklist .progressBar.outside p.progressValue {
    position: relative;
    color: #016087;
}

#myChecklist .progressInner {
    transition: 0.4s ease-out;
}

a#language {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

a#language:hover {
    color: #dd1f1f;
    transition: all 0.2s ease;
}

label {
    font-weight: 600;
}

#myChecklist input.saveButton {
    border: 0;
}
