

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-120px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ========================================
LOGIN PAGE
=========================================*/

.login-body {
    background-color: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-box {
    margin-top: 100px;
    padding-left: 5px;
    padding-right: 5px;
    width: 510px;
}

@media screen and (max-height: 470px) {
    .login-box {
        margin-top: 15px;
    }
}

@media screen and (max-width: 510px) {
    .login-box {
        width: 100%;
    }
}


/* +---------------------------------+
 * |     Gestion bouton de table     |
 * +---------------------------------+
 */

.table-btn {
    position: relative;
    display: flex;
    width: 50px;
    height: 50px;
    background-color: #96bac9;
    border: 2px solid black;
    border-radius: 90px;
    text-align: center;
    margin-right: 10px;
    margin-top: 10px;
	filter : drop-shadow(1px 1px 4px #cdcdcd)
}

.table-btn b {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
}

.table-delete {
    position: absolute;
    width: 25px;
    height: 25px;
	line-height:22px;
    background-color: #ddc8c0;
    border-radius: 50%;
    text-align: center;
    top: -8px;
    right: -8px;
	font-size:0.85rem;
	padding:0;
    visibility: hidden;

}

.table-btn:hover > .table-delete {
    visibility: visible;
}



#logo .dropify-wrapper {
    width: 150px;
    height: 150px;
    max-width: 150px;
}

tr {
    position: relative;
}

.widget-user-tools {
    position: absolute;
    right: 10px;
    top: 10px;
}


.sidebar .nav-item p {
    margin-left: 5px!important;
    font-size: 14px;
}
.sidebar .nav-item i {
    width: 15px;
	 font-size: 14px;
}



/* +---------------------------------+
 * |    LICENCES				     |
 * +---------------------------------+
 */
 
.licence_circle {
	position: absolute;
	right: 6%;
    top: -31%;
    width: 12%;
	aspect-ratio: 1;
	border-radius: 50%;
}
.bigcircle {width: 80px; right:18% }
.licence-free , .licence-free .licence_circle { background-color: #5b4156; }
.licence-lite , .licence-lite .licence_circle { background-color: #30ac62; }
.licence-full, .licence-full .licence_circle { background-color: #2ea2c1; }

.licence { position:relative; color: #dbdbdb; background-color:#646f7e }
.licence h6 { color: rgba(251,251,251,0.3);  font-size: 0.9rem}	




	
	

/*******************************************************************/
/****************************** BOUTONS ****************************/
/*******************************************************************/

/* +---------------------------------+
 * |    Couleur des boutons		     |
 * +---------------------------------+
 */	
 
 
.primary-shade {
    background-color: #3D5A80;
}

.primary-blue {
    background-color: #3c8dbc;
}

.card-success i { color: #00A65A; font-size:1.4rem;}


 
.bg-primary {
    background-color: #2c6a8b !important;
}

.bg-green {
    background-color: #3c9377 !important;
}

.bg-gold {
    background-color: #f8ab47 !important;
}

.bg-warning {
    background-color: #f39c12 !important;
}

.bg-danger {
    background-color: #dd4b39 !important;
}



.btn {  
    width: auto;
    height: 30px;
    padding: 0.2rem 0.5rem;
	margin: auto;
	font-size: 0.95rem;
	font-weight:bold;
	transition : all 0.2s;
}
.btn-text {
    border-radius: 45px;
}

.btn-icon {
    line-height: 24px;
}

.btn-warning {
    color: #fff;
    background-color: #f39c12;
    border-color: #f39c12;
}
.btn-warning:hover {
    color: #fff;
    background-color: #be7a0e;
    border-color: #be7a0e;
}

.btn-primary {
    color: #fff;
    background-color: #3c8dbc;
    border-color: #3c8dbc;
}
.btn-primary:hover {
    color: #fff;
    background-color: #58a9d9;
    border-color: #58a9d9;
}

.btn-primary:disabled {
    color: #fff;
    background-color: #306583;
    border-color: #336886;
}
.btn-primary:focus, .btn-primary.focus {
    background-color: #126ea5;
    border-color: #27363f;
}

.btn-danger {
    color: #fff;
   /* background-color: #dd4b39;*/
	background-color: #e35959;
    border-color: #dd4b39;
}
.btn-danger:hover {
    color: #fff;
    background-color: #ab3c2f;
    border-color: #ab3c2f;
}

.btn-secondary {
    color: #fff;
    background-color: #999999;
    border-color: #999999;
	font-weight:normal;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #7e7e7e;
    border-color: #7e7e7e;
}

/*******  btn action (carré)  *********/
.btn-action {
	width: 30px;
	line-height: 30px;
	padding : 0;
	margin-left:10px;
	font-size: 0.85rem;
	font-weight:normal;
}

.btn-app { 
	width:100%;
	height:auto;
	}

/*******  btn ronds  *********/
.btn-round {
	border-radius:50%;
	width:30px;
}



/*******************************************************************/
/********************** CARDS *************************************/
/*******************************************************************/

.card-header {
	padding: 0.3rem 1.25rem;
}

.card-info:not(.card-outline)  .card-header {
    background-color: #364d6c;
	color: #dfdfdf;
}
.card-warning:not(.card-outline)  .card-header {
    background-color: #b96140;
	color: #dfdfdf;
}
.card-secondary:not(.card-outline)  .card-header {
    background-color: #67768b;
}
.card-secondary .card-secondary:not(.card-outline)  .card-header {
    background-color: #848ea1;
	color: #e7e7e7;
}

.card-secondary  .card-body { background-color: #f5f5f5 }
.card-secondary  .card-secondary > .card-body { background-color: white }


.card-body { padding : 0.6rem 1.25rem}

.card-tools { text-align: right}

.card-footer:not('.licence') {
    background-color: #e3e6eb;
}



/************************************************************************/
/********************** MODALS *************************************/
/**********************************************************************/

.modal-body {     padding-top: 0.5rem; padding-bottom: 0;}
.modal-dialog {    border-radius: 1rem;    overflow: hidden;}
.modal-header { background-color: #364d6c;    color: white; }
.modal-header .close { color: white; opacity: 0.7 }
.modal-header .close:not(:disabled):not(.disabled):hover { color: white; opacity:1 }
.modal-body .mbody {background-color: #f3f3f3; margin-top: 15px;  padding-bottom: 20px;}
.modal-footer { background-color: #e3e3e3; }
.modal-footer>:not(:last-child) {  margin-right: auto }
.modal-footer>:not(:first-child) {  margin-left: auto }

.swal2-actions.confirm-modal-actions { display: flex; justify-content: space-between; align-items: center; width: 100%; }


/**********************************************************************/
/********************** DROPIFY *************************************/
/************************************************************************/
    .dropify-wrapper {
        height: 150px;
        transition: all 0.1s;
    }
    .dropify-wrapper:hover {
        outline: 4px dashed #b0c2c7 !important;
        background-size: 30px 30px;
        background-image: linear-gradient(0deg,transparent 20%,  #F6F6F6 30%, #F6F6F6 70%, transparent 80% );
        animation: stripes 2s linear infinite;
    }
    
    .dropify-message p {
        font-size: 1.2rem;
        line-height: 2rem;
    }
    .dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-infos-message {font-size: 1.2rem; }
    .dropify-infos-message::before { display:none }


/**********************************************************************/
/**********************************************************************/

.badge-primary {
    color: #fff;
    background-color: #3c8dbc;
}

.overlay-deleted {
    background-image: linear-gradient(to right, rgba(44, 106, 139, 0.4), rgba(0, 0, 0, 0.8));
    position: absolute;
    display: flex;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    align-items: center;
    justify-content: center;
    cursor: initial;
}

.overlay-deleted h4 {
    color: white;
}

.overlay-deleted .btn-restore {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 50px;
    width: auto;
}

.overlay-premium {
    background-color: #2d2c2cb5;
    position: absolute;
    display: flex;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.content-wrapper > .content {
    padding: 0 20px;
}

.container-lg {
    max-width: 960px;
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

.crop-canva {
    border: 1px solid grey;
    width: 100%;
}

.sidebar .nav-item {
    transition: width 0.2s cubic-bezier(0.35, 0, 0.25, 1);
}

.sidebar .nav-item > a {
    opacity: 0;
    animation: fadeInLeft 1s forwards;
}

.card > .list-group .list-group-item {
    border: 0;
}

.list-group {
    line-height: 1.3;
}

.list-group .list-group-item {
    padding: 10px;
}

.list-group-item.active {
    background: transparent linear-gradient(270deg, #6458FF 0%, #27CAFF 100%) 0 0 no-repeat padding-box;
}

.list-group-item-action {
    border-top: 0;
    border-bottom: 0;
}

/* ========================================
LOCALE MENU
=========================================*/

.locale_menu a {
    opacity: .3;
    margin-right: 5px;
	cursor: pointer;
	transition: all 0.2s; 
}
.locale_menu a:hover {
    opacity: .6;
}

.locale_menu i {
    margin: 0;
    padding: 0;
    border-radius: 4px;
}

.svg-box svg {
    width: 100%;
    height: 100%;
    display: block;
}

.locale_menu .active {
    opacity: 1;
	cursor: default;
}
.locale_menu .active:hover { opacity: 1; }

.locale_menu .active i {
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.19) !important;
}







/* ========================================
	Pages
=========================================*/
.small-text { font-size: 0.85rem}

.table-striped tbody tr { transition: all 0.2s; }
.table-striped thead { background-color: #dfdfdf }
.table-striped-fixed tbody tr { transition: none }
.table-striped tbody tr:hover { background-color : #dde2e9}

.discret {
    color: #c1bfbf;
    font-size: 0.7rem;
}
.dishrow a { color: inherit; }
.dishrow a:hover, .dishrow a:hover i {  color: #80a4c5}

/* ========================================
	FORMS
=========================================*/

.input-group > input[type=number].form-control { padding-right: 0; text-align: center; }

[class*=icheck-]>input:first-child+label::before {   background-color: white; }
td [class*=icheck-]>label { padding-left : 0!important }
td  [class*=icheck-]>input:first-child+label::before { position: relative; margin-left:0}