body[data-background-color=bg3] .modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    /* border-bottom: 1px solid #e9ecef; */
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background: #f1eeee;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    float: left;
    padding: .3em !important;
    text-decoration: none;
}

.raccourci {
    list-style: none;
}

.pagination li a:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}


.pagination li.active a {
    z-index: 1;
    color: #fff;
    background-color: #6861ce;
    border-color: #6861ce;
}

.pagination li a,
.pagination li span {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}




body[data-background-color=bg3] .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: rgb(255, 255, 255);
    background-clip: padding-box;
    border: 1px solid #5b9bd1ad !important;
    border-radius: .3rem;
    outline: 0;
}

body[data-background-color=bg3] .sidebar-content .dropdown-menu {
    background-color: #f1f1f1;
    width: 94%;
}

.sidebar-content .dropdown-menu {

    background-color: #6960ce;
    width: 94%;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0;
    vertical-align: 0;
    content: "";
    border-top: 0em solid;
    border-right: 0em solid transparent;
    border-bottom: 0;
    border-left: 0 solid transparent;
}

.glyphicon {
    font-family: "Font Awesome 5 Solid";
    font-weight: 900;
    font-size: 11px;
}

.glyphicon-eye-open:before {
    content: "\f06e";
    color: var(--success);
}

.glyphicon-pencil:before {
    content: "\f303";
    color: var(--primary);
}

.glyphicon-trash:before {
    content: "\f2ed";
    color: var(--danger);
}

body[data-background-color=dark] .modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    /* border-bottom: 1px solid #e9ecef; */
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background: #233d54;
}

.ui-widget-content {
    border: 1px solid #aaaaaa;
    background: #ffffffdb;
    color: #222222;
}

body[data-background-color=dark] .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: rgb(34, 42, 56);
    background-clip: padding-box;
    border: 1px solid #5b9bd1ad !important;
    border-radius: .3rem;
    outline: 0;
}

*,
::after,
::before {
    box-sizing: border-box;
}

.cerclevert {
    color: #28a745;
    border: 2px solid #28a745;
    margin: 3px;
    padding: 3px;
    border-radius: 50%;
    font-size: 10px;
}

.cerclerouge {
    color: #f25961;
    border: 2px solid #f25961;
    margin: 3px;
    padding: 3px;
    border-radius: 50%;
    font-size: 10px;
}

.table {
    font-size: 12px;
}

.person-view {
    background: none;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 0px solid #d3d3d3;
    background: #e6e6e6;
    font-weight: normal;
    color: #555555;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #ffffff;
    text-decoration: none;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 0px solid #aaaaaa;
    background: #f6f9fb;
    font-weight: normal;
    color: #ffffff !important;
    background: #6861ce;
    border: 1px solid #6861ce;
}

.ui-widget-header {
    border: 0px solid #aaaaaa;
    background: #ffffff;
    color: #222222;
    font-weight: bold;
}

.profile {}


.profile-sidebar {
    padding: 20px 0 10px 0;
    background: #ffffff0f;
    border-radius: 5px;
}

.profile-userpic img {
    float: none;
    margin: 0 auto;
    width: 50%;
    height: 50%;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.profile-usertitle {
    text-align: center;
    margin-top: 20px;
}

.profile-usertitle-name {
    color: #5a7391;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 7px;
}

.profile-usertitle-job {
    text-transform: uppercase;
    color: #5b9bd1;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.profile-userbuttons {
    text-align: center;
    margin-top: 10px;
}

.profile-userbuttons .btn {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 15px;
    margin-right: 5px;
}

.profile-userbuttons .btn:last-child {
    margin-right: 0px;
}

.profile-usermenu {
    margin-top: 0px;
}

.profile-usermenu ul li {}

.profile-usermenu ul li:last-child {
    border-bottom: none;
}

.profile-usermenuullia {
    color: #93a3b5;
    font-size: 14px;
    border: none;
    background: none;
    font-weight: 400;
    position: relative;

}

.modallink {
    color: #93a3b5;
    font-size: 14px;
    border: none;
    background: none;
    font-weight: 400;
    position: relative;
    display: block;
    padding: 10px 15px;
    width: 100%;
    text-align: left;
}

.modallink:hover {

    color: #6861ce;
    cursor: pointer;

}

.modallink:focus {

    color: #6861ce;
    cursor: pointer;

}

.profile-usermenuullia i {
    margin-right: 8px;
    font-size: 14px;
}

.profile-usermenuullia:hover {

    color: #6861ce;
    cursor: pointer;
    font-weight: bold;
}

.profile-usermenu ul>li>a {
    position: relative;
    display: inline-block;
    padding: 10px 12px;
}

.profile-usermenu ul li.active {
    border-bottom: none;
}

.profile-usermenu ul li.active button {
    color: #5b9bd1;
    background-color: #f6f9fb;
    border-left: 2px solid #5b9bd1;
    margin-left: -2px;
}

/* Profile Content */
.profile-sidebar {
    padding: 20px 0 10px 0;
    background: #ffffff0f;
    border-radius: 5px;
}

.custom-template {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: -325px;
    width: 325px;
    height: max-content;
    display: block;
    z-index: 1;
    background: #ffffff;
    transition: all .3s;
    z-index: 1003;
    box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: all .5s;
}

.custom-template.open {
    right: 0px;
}

.custom-template .custom-toggle {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgb(88, 103, 221);
    top: 50%;
    left: -45px;
    transform: translateY(-50%);
    display: none;
    /*flex*/
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: 1px solid #177dff;
    cursor: pointer;
    color: #ffffff;
    box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
}

.custom-template .custom-toggle i {
    font-size: 20px;
    animation: 1.3s spin linear infinite;
}

.custom-template .title {
    padding: 15px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    border-top-left-radius: 5px;
    border-bottom: 1px solid #ebedf2;
    background: #5867dd;
}

.custom-template .custom-content {
    padding: 20px 15px;
    max-height: calc(100vh - 90px);
    overflow: auto;
}

.custom-template .switcher {
    padding: 5px 0;
}

.custom-template .switch-block h4 {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    line-height: 1.3;
    margin-bottom: 0;
    text-transform: uppercase;
}

.custom-template .btnSwitch {
    margin-top: 20px;
    margin-bottom: 25px;
}

.custom-template .btnSwitch button {
    border: 0px;
    height: 20px;
    width: 20px;
    outline: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #eee;
    position: relative;
    transition: all .2s;
}

.grid-view tbody>tr:hover {
    background: #f9f5f717 !important;
}

.grid-view tbody>tr {
    cursor: pointer;
}

.row-demo-grid [class^="col"] .card-body {
    background: #dddddd08 !important;
}

.in {
    opacity: 100 !important;
    color: #f25960;
    color: #605556;
}

.alert-success .in {
    opacity: 100 !important;

}


.custom-template .btnSwitch button:hover {
    border-color: #0bf;
}

.custom-template .btnSwitch button.selected {
    border-color: #0bf;
}

.custom-template .img-pick {
    padding: 4px;
    min-height: 100px;
    border-radius: 5px;
    cursor: pointer;
}

.custom-template .img-pick img {
    height: 100%;
    height: 100px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid transparent;
}

.custom-template .img-pick:hover img,
.custom-template .img-pick.active img {
    border-color: #177dff;
}

.demo .btn,
.demo .progress {
    margin-bottom: 15px !important;
}

.demo .form-check-label,
.demo .form-radio-label {
    margin-right: 15px;
}

.demo .toggle,
.demo .btn-group {
    margin-right: 15px;
}

.demo #slider {
    margin-bottom: 15px;
}

.table-typo tbody>tr>td {
    border-color: #fafafa;
}

.table-typo tbody>tr>td:first-child {
    min-width: 200px;
    vertical-align: bottom;
}

.table-typo tbody>tr>td:first-child p {
    font-size: 14px;
    color: #333;
}

.demo-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    transition: all .2s;
}

.demo-icon:hover {
    background-color: #f4f5f8;
    border-radius: 3px;
}

.demo-icon .icon-preview {
    font-size: 1.8rem;
    margin-right: 10px;
    line-height: 1;
    color: #333439;
}

body[data-background-color="dark"] .demo-icon .icon-preview {
    color: #969696;
}

.demo-icon .icon-class {
    font-weight: 300;
    font-size: 13px;
    color: #777;
}

body[data-background-color="dark"] .demo-icon .icon-class {
    color: #a9a8a8;
}

.form-show-notify .form-control {
    margin-bottom: 15px;
}

.form-show-notify label {
    padding-top: 0.65rem;
}

.map-demo {
    height: 300px;
}

#instructions li {
    padding: 5px 0;
}

.row-demo-grid {
    margin-bottom: 15px;
}

.row-demo-grid [class^="colZZZZ"] {
    text-align: center;
}

.row-demo-grid [class^="col"] .card-body {
    background: #ddd;
}

.btnSwitch button[data-color="white"] {
    background-color: #fff;
}

.btnSwitch button[data-color="grey"] {
    background-color: #f1f1f1;
}

.btnSwitch button[data-color="black"] {
    background-color: #191919;
}

.btnSwitch button[data-color="dark"] {
    background-color: #1a2035;
}

.btnSwitch button[data-color="blue"] {
    background-color: #1572E8;
}

.btnSwitch button[data-color="purple"] {
    background-color: #6861CE;
}

.btnSwitch button[data-color="light-blue"] {
    background-color: #48ABF7;
}

.btnSwitch button[data-color="green"] {
    background-color: #31CE36;
}

.btnSwitch button[data-color="orange"] {
    background-color: #FFAD46;
}

.btnSwitch button[data-color="red"] {
    background-color: #F25961;
}

.btnSwitch button[data-color="dark2"] {
    background-color: #1f283e;
}

.btnSwitch button[data-color="blue2"] {
    background-color: #1269DB;
}

.btnSwitch button[data-color="purple2"] {
    background-color: #5C55BF;
}

.btnSwitch button[data-color="light-blue2"] {
    background-color: #3697E1;
}

.btnSwitch button[data-color="green2"] {
    background-color: #2BB930;
}

.btnSwitch button[data-color="orange2"] {
    background-color: #FF9E27;
}

.btnSwitch button[data-color="red2"] {
    background-color: #EA4d56;
}

.btnSwitch button[data-color="bg1"] {
    background-color: #fafafa;
}

.btnSwitch button[data-color="bg2"] {
    background-color: #fff;
}

.btnSwitch button[data-color="bg3"] {
    background-color: #f1f1f1;
}

.quick-actions .quick-actions-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #1572e8;
    color: #fff;
    padding: 2px;
    border-radius: 3px 3px 0 0;
}

.quick-actions .quick-actions-items {
    padding: 0;
}

.quick-actions {
    width: 20px;
    padding: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;

    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.quick-actions.quick-actions-info:after {
    border-bottom-color: #fefefe !important;
}

@media screen and (max-width: 550px) {
    .table-typo tr td {
        display: flex;
        align-items: center;
        word-break: break-word;
    }

    .table-typo tr td:first-child p {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 576px) {
    .custom-template .custom-content {
        overflow: auto;
    }

    .form-show-notify>.text-right,
    .form-show-validation>.text-right {
        text-align: left !important;
    }
}

@media screen and (max-width: 400px) {
    .custom-template {
        width: 85% !important;
        right: -85%;
    }
}