body {
    overflow-x: hidden;
}
strong {font-weight: 600;}
h1 strong,
h2 strong,
h3 strong,
h4 strong {
    color: #15236b;
}
.round-border{border:1px solid #f2f2f2; border-radius: 4px;}
.round-border-success{border-color: #158e2f;}
.border-selected {border-color: #3a61ca !important; border-width: 2px !important;}
.stat {background: #fff3db !important; }
.stat svg {color: #de930c !important;}

/* Cards */
.card-title {
    color: #6f757a;
    font-weight: normal;
    font-size: 1rem;
    color: rgb(22, 22, 22);
    margin-bottom: .5rem !important;
}


/* Content */
.content {
    padding: 2rem 2rem 1.5rem;
}

/* Bgs. */
.bg-light-success {
    background: rgb(232, 255, 232);
}
.bg-success {
    background: #299344 !important;
}
.bg-primary-light {
    background: #fff2dd;
}
.bg-primary {
    background: #de930c !important;
}
.text-primary {
    color: #de930c !important;
}
.text-success {
    color: #299344 !important;
}

.stat {
    background: #ebf3ff;
}
.stat-mini {
    height: 30px;
    width: 30px;
}
.stat-success {
    background: #158e2f;
}
.stat-success svg {
    color: white !important;
}

label {
    font-size: .7rem;
    color: grey;
}

.dp-mini {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dp-md {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dp-large {
    height: 200px;
    width: 200px;
    border-radius: 5px;
}
.dp-mini, .dp-large {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Breadcrumbs styles. */
.crumbs {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: .8rem;
}

.crumbs .home {
    border-radius: 5px;
    padding: .5rem .7rem;
    color: #be621c;
}

.crumbs .divider {
    margin: 0 1rem;
    color: #8484d4;
}

.crumbs a {
    color: #5050a1;
}
.crumbs a.active {
    color: #111155;
}

/* Badges */
.badge {
    padding: .4rem;
    font-size: .7rem;
    font-weight: normal;
}
.rounded-border {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: .4rem .6rem;
}
.rounded-border:hover {
    background: #f2f2f2;
}


/* Custom toast. */
.toast.shown {
    transform: translate(0px);
    opacity: 1;
}
.toast {
    position: fixed;
    z-index: 10;
    right: 2rem;
    bottom: 2rem;
    padding: .9rem 1.2rem;
    color: white;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translate(50px);
    opacity: 0;
    transition: all .4s ease-in-out;
}


.toast .close {
    background: none;
    border: none;
    margin-left: 5rem;
    color: white;
}
.toast.success {
    background: #079c27;
}
.toast.error {
    background: #bd0f0f;
}
.toast.error {

}



/* Table styles. */
table th {
    background: #f8f9fa;
}
.table>:not(caption)>*>* {
    padding: .3rem .75rem;
    font-size: .8rem;
}

.form-control {
    border-radius: 3px !important;
}
.form-control:focus {
    box-shadow: 2px 2px 10px -7px #14439e;
    outline: 1px solid #14439e;
}
.form-control {
    font-size: .85rem;
}



.btn-primary {
    background: #de930c;
    border: #de930c;
    color: #4f3d07;
    color: white;
    box-shadow: 2px 2px 10px -7px #de930c;
}
.btn-primary:hover {
    background: #c88508;
    border: #de930c;
}


.main {
    background: #f9f9f9;
}
.sidebar, .sidebar-link, a.sidebar-link {
    background: #1c1705 !important;
}
.sidebar, .sidebar-content {
    background: #1c1705;
}


.custom-option {
    height: 20px;
    width: 20px;
    border: 2px solid #3a61ca;
    border-radius: 50%;
}
.custom-option.selected { background: #3a61ca;}

.flex-entry {
    display: flex;
    align-items: center;
    padding: .7rem 1rem;
    width: 100%;
}
.flex-entry:hover {
    background: #fffcf1;
}
.flex-entry .serial {
    margin-right: 1rem;
}
.flex-entry .fields {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.flex-entry .field {
    margin-left: 4rem;
    min-width: 200px;
}
.flex-entry .dropdown-center {
    min-width: 0px;
}





@media(max-width: 600px) {
    .content {
        padding: .5rem .7rem;
    }
    .flex-entry .serial {
        display: none;
    }
    .flex-entry {
        flex-direction: column;
        align-items: flex-start;
    }
    .flex-entry .fields {
        width: 100%;
        margin-top: 2rem;
        margin-left: 0px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .flex-entry .field {
        margin-left: 0;
        margin-right: 1.5rem;
        min-width: 0px;
    }
    .flex-entry .dropdown-center {
        margin-left: auto;
        margin-right: 0;
    }
}



.form-panel {
    border: 1px solid #ededed;
    padding: .5rem 1rem;
    position: relative;
    padding-top: 50px;
    margin-bottom: 1rem;
}
.form-panel .title {
    position: absolute;
    left: 0px;
    top: 0px;
    padding: .5rem 1rem;
    background:  #f6f6f6;
    color: #956023;
    font-size: .8rem;
    width: 100%;
}
.form-panel .title i {
    margin-right: 1rem !important;
}