body {
    background-color: #eee;
}


/* Customize the label (the container) */
.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}
.fafont {
    font-family: 'sans' !important;
}
.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.btn-primary {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-success {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
}

.btn-danger {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
}

td, th {
    padding: 3px;
    border: 1px solid black !important;
    text-align: center;
}

th {
    background-color: #e0edcc;
}
table {
    width: 100%;
    border-collapse: collapse;
}
::placeholder {
    opacity: 0.5;
}

.btn-group > .btn {
    border-radius: 0 !important;
}

select.form-control {
    padding: 3px !important;
}
.row {
    direction: rtl;
    text-align: right;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    text-align: center;
}
::-moz-placeholder { /* Firefox 19+ */
    text-align: center;
}
:-ms-input-placeholder { /* IE 10+ */
    text-align: center;
}
:-moz-placeholder { /* Firefox 18- */
    text-align: center;
}
.card {
    direction: rtl!important;
    text-align: right!important;
}
th{
    text-align: center!important;
}
.bg-gradient-primary {
    background-color: #2f6665 !important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #2f6665), to(#147567));
    background-image: linear-gradient(180deg, #2f6665 10%, #147567 100%);
    background-size: cover;
}
select {
    text-align: center!important;
}
optgroup {
    text-align: right!important;
}
td > input {
    text-align: center!important;
}
table {
    width: 100%;
    border-collapse: collapse;
}
.alert{
    direction: rtl;
    text-align: justify;
}
.alert-hr {
    margin-top: 0!important;
    margin-bottom: 10px!important;
}
.alert-time{
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    font-size: small;
}
.alert-Sign{
    position: absolute;
    bottom: 0.2rem;
    left: 1rem;
    font-size: small;
    text-align: center;
}
.table-borderless td {
    border: none!important;
}
.ltr {
    direction: ltr;
}
.pfont {
    font-size: 20px;
    line-height: 35px;
}
.decimal {
    direction: ltr;
    text-align: left;
}
.hr2 {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(68, 103, 195, 0), rgba(78, 115, 223, 0.75), rgba(68, 103, 195, 0));
    margin: 0 12px 5px 12px;
}
.OtherStopCodeDiv {
    display: none;
}
.form-control[readonly] {
    background-color: white!important;
}
.time {
    text-align: center;
}
.table-container {
    width: 100%;
    overflow-x: auto;
}

#hour, #minute {
    display: inline-block;
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.fa , .btn-time {
    font-size: xx-large!important;
}
.btn-group > .btn:first-child  {
    margin-right: 5px!important;

}
.btn-group > .btn:last-child  {
    margin-left: 5px!important;
}
.form-group > .btn-group:first-child > .btn:first-child {
    border-top-left-radius: 5px!important;
}
.form-group > .btn-group:first-child > .btn:last-child {
    border-top-right-radius: 5px!important;
}
.form-group > .btn-group:last-child > .btn:first-child {
    border-bottom-left-radius: 5px!important;
}
.form-group > .btn-group:last-child > .btn:last-child {
    border-bottom-right-radius: 5px!important;
}