/* button with loader style */
.btn-loader-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-loader-content .custom-preloader-wrapper {
    color: white;
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px;
}

.btn-flat {
    white-space: nowrap;
}

.custom-chip {
    display: inline-block;
    height: 32px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 0, 0, .6);
    line-height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    background-color: hsla(0, 0%, 100%, .5);
    margin-bottom: 5px;
    margin-right: 5px
}

.custom-chip>img {
    float: left;
    margin: 0 8px 0 -12px;
    height: 32px;
    width: 32px;
    border-radius: 50%
}

.custom-chip .close {
    cursor: pointer;
    float: right;
    font-size: 16px;
    line-height: 32px;
    padding-left: 8px
}

/* custom scrollbar */
/* width */
.custom::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.custom::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 5px grey;  */
}

/* Handle */
.custom::-webkit-scrollbar-thumb {
    background: #666666;
}

/* Handle on hover */
.custom::-webkit-scrollbar-thumb:hover {
    /* background: #b30000;  */
}

/* overwrite materialize table border */
table.tbl-bold-first-column td:nth-child(1) {
    font-weight: bold;
}

table.tbl-default-border {
    border: 1px solid black;
}

table.tbl-default-border tr {
    border: 1px solid black;
}

table.tbl-default-border th {
    border: 1px solid black;
    padding: 5px;
}

table.tbl-default-border td {
    border: 1px solid black;
    padding: 5px;
}

/* lighter border */
table.tbl-default-border-light {
    border: 1px solid #9e9e9e;
}

table.tbl-default-border-light tr {
    border: 1px solid #9e9e9e;
}

table.tbl-default-border-light th {
    border: 1px solid #9e9e9e;
    padding: 5px;
}

table.tbl-default-border-light td {
    border: 1px solid #9e9e9e;
    padding: 5px;
}


/* overwrite spacing between table */

table.tbl-compact th {
    padding: 5px;
}

table.tbl-compact td {
    padding: 5px;
}

/* Alerts */

.alert {
    padding: 20px;
    color: white;
    margin-bottom: 10px;
    border-radius: 10px;
}

.error {
    background-color: #FF4848;
}


.success {
    background-color: #3CB371;
}

.info {
    background-color: #3282b8;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

.margin-t-10 {
    margin-top: 10px;
}

.margin-t-20 {
    margin-top: 20px;
}

.shrink-icon {
    padding: 0;
    margin: 0;
}

.compact-row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.compact-col {
    padding-top: 10px;
    padding-bottom: 10px;
}

.input-compact {
    margin: 0px 0px 5px !important;
}

.custom-switch {
    padding: 0px 11.25px;
    margin: 0px 0px 10px;
}

input~span.help-text {
    font-size: 8pt;
    display: block;
}

.error {
    color: red;
}


/* Custom checkbox */

.checkbox-group {
    /* margin-left:10px; */
}

.checkbox-group span:first-of-type {
    display: block;
    color: #9e9e9e;
    font-size: 12px;
    margin-bottom: 5px;
}

.checkbox-group>p {
    display: inline-block;
    margin-right: 20px;
}


.checkbox-group>p input[type="checkbox"],
label {
    margin: 0px;
}

.checkbox-group>p label {
    padding-left: 25px;
}


/* complementary materialize css style*/
.card-section {
    /* border: 1px solid rgba(0, 0, 0, .1);
     */
    border: 1px solid #4d4d4d;
    box-sizing: border-box;
    padding: 10px;
}


.card-section span:first-child {
    padding: 0 0.75rem;
    display: block;
    font-size: 15pt;
}

.card-section-borderless {
    box-sizing: border-box;
    padding: 10px;
}

.card-section-borderless span:first-child {
    padding: 0 0.75rem;
    display: block;
    font-size: 15pt;
}