body {
   background-color: #1e2334 !important;

}

.sidebar .nav-item .nav-link[data-toggle=collapse]::after {
    font-family: 'Font Awesome\ 5 Pro' !important;

}

.sidebar #sidebarToggle::after {
    font-family: 'Font Awesome\ 5 Pro' !important;

}

.bg-gradient-primary {
    background-color: #1e2334 !important;
    background-image: none !important;
}

.container-fluid {
    background-color: #1e2334 !important;

}

.navbar {
    /*background-color: #2c3049 !important;*/
 /*  border-bottom: 1px solid rgb(161, 0, 255);*/
    width: 100%;
    margin-bottom: 10px;
}

.animatehr{
    opacity: 100% !important;
    height: 1px;
    background: linear-gradient(90deg, rgb(161, 0, 255),#1e2334, rgb(161, 0, 255),#1e2334);
    background-size: 200% 200%;
    animation: gradient 20s linear  infinite  ;

}

@keyframes gradient {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}
#content-wrapper {
    background-color: #1e2334 !important;
    padding-bottom: 15px;

}

h1 {
    color: #a100ff;
}
h2 {
    color: #a100ff;
}
h3 {
    color: #93aae3;
}

.table {
    color: white;
}

.text-orange {
    color: #ff7600;
}

.text-rouge {
    color: #ff7600;
}

.btn-primary {
    background-color: transparent !important;
}

.btn-success {
    color: #fff;
    background-color: transparent !important;
    border-color: #0ae61d;
}

.btn-success:hover {
    color: #fff;
    background-color: #17a673;
    border-color: #00ff00;
}

.btn-success:focus, .btn-success.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 0, 1);
}

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

.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #169b6b;
    border-color: #97ff00;
}

.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 0, 1);
}


.btn-warning {
    color: #fff;
    background-color: transparent !important;
    border-color: #f6c23e;
}

.btn-warning:hover {
    color: #fff;
    background-color: transparent !important;
    border-color: #ffff00;
}

.btn-warning:focus, .btn-warning.focus {
    box-shadow: 0 0 0 0.2rem rgb(247, 175, 0);
}

.btn-warning.disabled, .btn-warning:disabled {
    color: #fff;
    background-color: #f6c23e;
    border-color: #ff7600;
}

.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #f4b30d;
    border-color: #ff7600;
}

.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(247, 175, 0);
}

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

.btn-danger:hover {
    color: #fff;
    background-color: #e02d1b;
    border-color: #d52a1a;
}

.btn-danger:focus, .btn-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
}

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

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #d52a1a;
    border-color: #ca2819;
}

.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.switch-round:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

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


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

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

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

input.default:checked + .switch-round {
    background-color: #444;
}

input.primary:checked + .switch-round {
    background-color: #2196F3;
}

input.success:checked + .switch-round {
    background-color: #8bc34a;
}

input.info:checked + .switch-round {
    background-color: #3de0f5;
}

input.warning:checked + .switch-round {
    background-color: #FFC107;
}

input.danger:checked + .switch-round {
    background-color: #f44336;
}

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

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


.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    color: white;
    font-size: 1em;
    background-color: transparent !important;
    border-bottom: none !important;
}

.card {

    background-color: transparent !important;
    margin-bottom: 10px;

}

/***********************Input range*/

.slider-track {
    background-color: grey;
    background-image: none !important;
    height: 7px !important;
}

.slider-handle.lampe::before {
    content: "\f672" !important; /* this is your text. You can also use UTF-8 character codes as I do here */
    font-family: 'Font Awesome\ 5 Pro';
    font-weight: bold;
    color: grey !important;
    outline: none;
    font-size: 30px !important;
}

.slider-handle.lampe:hover::before {
    color: #ff7600 !important;
    font-size: 35px !important;
}

.slider-handle.voletHandle::before {
    content: "\f039" !important; /* this is your text. You can also use UTF-8 character codes as I do here */
    font-family: 'Font Awesome\ 5 Pro';
    font-weight: bold;
    color: grey !important;
    outline: none;
    font-size: 30px !important;
}

.slider-handle.voletHandle:hover::before {
    color: #ff7600 !important;
    font-size: 35px !important;
}

.slider-selection {
    background-color: #ff7600 !important;
    background-image: none !important;
}

/************Lampe*************/
.lampeToogleWidget:hover {
    color: #ff7600 !important;
    font-size: 70px !important;
}

.lampeToogleWidget:active {
    color: white !important;
    font-size: 75px !important;
}

/********Prise************/
.priseToggle:hover {
    color: #ff7600 !important;
    font-size: 70px !important;
}

.priseToggle:active {
    color: white !important;
    font-size: 75px !important;
}


/************volet******/
.voletUp:hover {
    color: #ff7600 !important;
    font-size: 70px !important;
}

.voletUp:active {
    color: white !important;
    font-size: 75px !important;
}

.voletDown:hover {
    color: #ff7600 !important;
    font-size: 70px !important;
}

.voletdown:active {
    color: white !important;
    font-size: 75px !important;
}



.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100px;
    height: 100px;
    margin: auto;
}

.loader .circle {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
    transform: rotate(225deg);
    animation-iteration-count: infinite;
    animation-name: orbit;
    animation-duration: 5.5s;
}

.loader .circle:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 9px rgba(255, 255, 255, .7);
}

.loader .circle:nth-child(2) {
    animation-delay: 240ms;
}

.loader .circle:nth-child(3) {
    animation-delay: 480ms;
}

.loader .circle:nth-child(4) {
    animation-delay: 720ms;
}

.loader .circle:nth-child(5) {
    animation-delay: 960ms;
}

.loader .bg {
    position: absolute;
    width: 70px;
    height: 70px;
    margin-left: -16px;
    margin-top: -16px;
    border-radius: 13px;
    /*background-color: rgba(0, 153, 255, 0.69);*/
    /*animation: bgg 16087ms ease-in alternate infinite;*/
}

@keyframes orbit {
    0% {
        transform: rotate(225deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    7% {
        transform: rotate(345deg);
        animation-timing-function: linear;
    }
    30% {
        transform: rotate(455deg);
        animation-timing-function: ease-in-out;
    }
    39% {
        transform: rotate(690deg);
        animation-timing-function: linear;
    }
    70% {
        transform: rotate(815deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }
    75% {
        transform: rotate(945deg);
        animation-timing-function: ease-out;
    }
    76% {
        transform: rotate(945deg);
        opacity: 0;
    }
    100% {
        transform: rotate(945deg);
        opacity: 0;
    }
}

.lds-container {
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.6);
}

.form-switch-lg{
    height: 2rem !important;
    width: calc(3rem + 0.75rem)!important;
    border-radius: 4rem !important;
    margin-left: -15px !important;
    margin-top: 33px !important;
}

.form-check-input:checked {
    background-color:  #a100ff !important;
    border-color:  #a100ff !important;
}