load data spinner
.spinner {
    font-size: 20px;
}

.spinner:hover {
    cursor: pointer;
    filter: brightness(85%);
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    height: 100%;
    width: 100%;
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Style Scrollbar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #212121 !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #FF7032 !important;
}

/* Checkbox */
.container1 {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

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

/* When the checkbox is checked, add a blue background */
.container1 input:checked ~ .checkmark {
    background-color: #2196F3;
    border-radius: 5px;
}

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

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

/* Style the checkmark/indicator */
.container1 .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* measurement_header */
.measurement_header {
    background-color: #f7f7f7;
    color: black;
    -webkit-box-shadow: 0 0 2px black;
    -moz-box-shadow: 0 0 2px black;
    box-shadow: 0 0 2px black;
    padding-top: 10px;
}

/* Sticky */
.sticky {
    background: #f7f7f7;
    color: black;
}

/* Tags Input */
.bootstrap-tagsinput {
    width: 100% !important;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    box-shadow: 1px 1px 0px 0px #00000045;
}

.bootstrap-tagsinput .tag {
    background: #4285F4;
    color: white;
    border-radius: 5px;
    padding: 3px 3px 1px 3px;
    font-size: 10px;
}

/* Select2 */
.select2-container .select2-selection--multiple {
    max-height: 34px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #4285F4;
    border: 1px solid #4285F4;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
    color: white;
}

/* Table HyperLink */
table.table a {
    font-size: 15px;
    color: #FF7032;
}

table.table a:hover {
    /*font-size: 15px;*/
    color: #c3622c;
}

table td, table th {
    font-weight: 400;
    color: black;
}

table.table a:active {
    font-size: 15px;
    color: #817c44;
}

button.btn.dropdown-toggle.btn-light {
    width: 100% !important;
    color: black;
    background-color: #00aced;
}

.btn-black_bal {
    background-color: #212529 !important;
    color: #df833e !important;
}

/* Card */
.card {
    margin-top: 10px !important;
    margin-bottom: 10px !important;;
}

/* Diet Table */
.diet_table, .diet_table tr {
    border: 1px solid #d6d6d6;
    width: 100%
}

.diet_table thead {
    background: #e9ecef;
}

.diet_table tfoot td {
    height: 40px;
}

.diet_table th {
    height: 40px;
}

/*Modal Design*/
.modal-header {
    background-color: #212121 !important;

}

.modal-header button {
    color: #ff8d58;
!important;

}

.modal-header button:hover {
    color: #ff9777;
!important;

}

.modal-title {
    color: #ff8b4c;
!important;
    font-weight: bold;
}

.modal-content {
    border-radius: 20px !important;
    border-right: 3px solid #212121 !important;
    border-bottom: 3px solid #212121 !important;
    border-left: 3px solid #212121 !important;
}

button.close {
    color: white;
}

.fixed-table-pagination button {
    padding: 10px !important;
}

.form-control {
    border-radius: 5px;
    border-right: 2px solid grey;
    color: black !important;
}

.btn, .btn-sm, .btn-xs {
    border-radius: 5px;
    outline: none !important;
}


.table .thead-dark th {
    color: #ffffff;
    background-color: #212121;
    border-bottom-color: #ff7043;
}

ul.dropdown-menu-box {
    background: #f7f7f7;
    /*border: 2px solid grey;*/
    border: 0;
    border-left: 5px solid #565454;
    border-right: 5px solid #565454;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px grey;
}

/*Slider*/
.w3-sidebar {
    background-color: white;
    display: none;
    right: 0;
    border: 1px solid black;
}

/*slider Background*/
.slider-header {
    background-color: #212121 !important;
}

/*.slider-header button{*/
/*color: #ff8d58 !important;*/
/*}*/
.slider-title {
    color: #ff8b4c !important;
}

/*Swal*/
/*.sweet-alert.showSweetAlert.visible {*/
/*border: 2px solid black !important;*/
/*border-radius: 20px !important;*/
/*box-shadow: 5px 5px 20px 0px black !important;*/
/*}*/

.page-break {
    page-break-after: always;
}

.sk-chase {
    top: 45%;
    left: 45%;
    width: 100px;
    height: 100px;
    position: absolute;
    animation: sk-chase 5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-chase-dot-before 1.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
    animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3) {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
    animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
    animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {
    80%, 100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.2);
    }
    100%, 0% {
        transform: scale(1.0);
    }
}

.bootstrap-select > .dropdown-toggle {
    z-index: 0 !important;
}

table.table-sm td, table.table-sm th, table.table td, table.table th {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

/* Fonts taken from Nandly */
html, body, button, input, select, textarea, td, th, a, button, h1, h2, h3, h4, h5, h6, span, code, div, label, b, li, input, textarea {
    font-family: Open Sans, Segoe UI, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html body .font-10 {
    font-size: 10px !important;
}

html body .font-12 {
    font-size: 12px !important;
}

html body .font-14 {
    font-size: 14px !important;
}

html body .font-16 {
    font-size: 16px !important;
}

html body .font-18 {
    font-size: 18px !important;
}

html body .font-20 {
    font-size: 20px !important;
}

html body .font-25 {
    font-size: 25px !important;
}

html body .font-50 {
    font-size: 50px !important;
}
