
@font-face {
    font-family: "Lanenar";
    src: url("../fonts/LANENAR_.ttf") format("truetype");
}

@font-face {
    font-family: "Laneposh";
    src: url("../fonts/LANEPOSH.ttf") format("truetype");
}

@font-face {
    font-family: Poppins-Regular;
    src: url('../fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
    font-family: Poppins-Medium;
    src: url('../fonts/poppins/Poppins-Medium.ttf');
}

@font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url('../fonts/poppins/Poppins-SemiBold.ttf');
}

/*.breadcrumb a{
    color: #73818f !important;
}*/

/* ALL */
a, button{
    outline: 0;
}

.breadcrumb-item.active{
    font-weight: bold !important;
}

.navbar-nav .nav-link {
    color: white;
}

.sidebar{
    background: #484747;
}

.sidebar .nav-link .nav-icon {
    color: white;
}

.sidebar .sidebar-nav .nav-item:hover{
    background-color: rgba(56,56,56,0.5) !important;
}

.sidebar .nav-link.active .nav-icon {
    color: rgba(56,56,56,0.5) !important;
}

.sidebar-minimized .sidebar .nav-item:hover > .nav-link {
    background: rgba(56,56,56,0.5) !important;
}

.sidebar .nav-link:hover {
    background: rgba(56,56,56,0.5) !important;
}

.sidebar .nav-link.nav-link-info:hover {
    background: rgba(56,56,56,0.5) !important;
}

.sidebar-minimized .sidebar .nav-link:hover {
    background: rgba(56,56,56,0.5) !important;
}

.sidebar-minimized .sidebar .nav > .nav-dropdown:hover {
    background: rgba(56,56,56,0.5) !important;
}

.sidebar .nav-link.active{
    background: rgba(56,56,56,0.6) !important;
}

.connecté{
    font-size: 13px;
    margin:0 0;
}
.display_flex {
    display: flex;
}

#loader{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: #555;
    opacity: 0.95;
}
#loader .loader_content{
    margin-top: calc(25% - 55px);
    margin-left: calc(50% - 55px);
    position: fixed;
    border: 16px solid #fff;
    border-radius: 50%;
    border-top: 16px solid #d0d812;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* pour tinymce inline */
.inlinetinymce {
    min-width: 200px;
    min-height: 40px;
    /* temporaire: pour le voir */
    background-clip: padding-box;
    border: 1px solid #e4e7ea;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* essai placeholder sur tinymce editable https://stackoverflow.com/a/20300212/2375207 */
.inlinetinymce:empty:not(:focus):before{
    content:attr(data-placeholder);
    opacity: 0.7;
}

/* input ne peut avoir de :after */
input.alert_content {
    border: 2px solid red;
}

/* afin que les boutons d'actions ne s'empilent pas si la datatable est compressée*/
.nowrap {
    white-space: nowrap!important;
}

/* jquery valdiate */
input.error {
    border: 1px solid red;
}
label.error {
    font-weight: normal;
    color: red;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* fix contre semantic */
html,body {
    font-size:16px;
}
/* décision 24/09/2018: ne plus utiliser cette font font-family: 'Jaldi', serif!important;*/
body {
    font-size: 0.875rem;
    font-family: Poppins-Regular, serif;
}

h1{
    font-size:1.4em;
}
h2{
    font-size:1.3em;
}
h3{
    font-size:1.2em;
}
h4, h5, h6{
    font-size:1em;
}


/* scrollbar du menu ressemblant à ce qu'il y a sur la doc coreui */
.sidebar .sidebar-nav::-webkit-scrollbar {
    position: absolute;
    width: 10px;
    margin-left: -10px;
    -webkit-appearance: none;
}
.sidebar .sidebar-nav::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #151b1f;
    background-clip: content-box;
    border-color: transparent;
    border-style: solid;
    border-width: 1px 2px;
}
.sidebar .sidebar-nav::-webkit-scrollbar-track {
    background-color: #33444c;
    border-right: 1px solid #1f292e;
    border-left: 1px solid #1f292e;
}

/* menu burger */
.navbar-ns-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")!important;
}
.navbar-ns-white .navbar-toggler-icon:hover {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(247,178,57, 1)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")!important;
}

.navbar-toggler{
    outline: 1px none !important;
}

/* logo en haut à gauche */
.link_to_homepage {
    font-family: 'Lanenar', cursive;
    font-size: 2.7em;
    text-decoration: none !important;
    color: white!important; /*shunte définition pour :hover*/
}

@media screen and (max-width: 768px) {
    body {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 576px) {
    body {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 974px) {
    .navbar .show {
        display: none;
    }
}

@media screen and (max-width: 974px) {
    .profilMenu {
        display: initial !important;
    }
}

.main .container-fluid {
    padding: 0 15px !important;
}

/* CUSTOM FRAMEWORK */
.mwidth-20{
    min-width: 20%;
}

.rounded1{
    border-radius: 1rem !important;
}

/* SURCHARGE CORE UI */

.main{
    background-color: #f1f2f2;
}

.app-header{
    height: 70px;
}

.app-body{
    margin-top: 70px !important;
}

.sidebar{
    transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0), margin-left 0.5s cubic-bezier(0.77,0.2,0.05,1.0), margin-right 0.5s cubic-bezier(0.77,0.2,0.05,1.0), width 0.5s cubic-bezier(0.77,0.2,0.05,1.0), flex 0.5s cubic-bezier(0.77,0.2,0.05,1.0), -ms-flex 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.sidebar .nav-title {
    font-size: 100%;
    font-weight: unset;
    text-transform: none;
}

.sidebar .nav-dropdown-items .nav-link{
    font-size: 90%;
    margin-left: 10px;
}

html:not([dir="rtl"]) .sidebar{
    opacity: 0;
}

html:not([dir="rtl"]) .sidebar-lg-show .sidebar{
    opacity: 1;
}

/* FORMS */
form {
    color: #808080;
}

.my-breadcrumb {
    overflow: hidden;
    border-radius: 5px;
    counter-reset: flag;
    padding: 0 0 !important;
    margin: 5px 5px 25px 5px !important;
    border-bottom: none !important;
    background: transparent;
}

.my-breadcrumb a {
    text-decoration: none;
    outline: none;
    display: block;
    float: left;
    font-size: 12px;
    line-height: 36px;
    color: white;
    padding: 0 10px 0 40px;
    background: #666;
    background: linear-gradient(#666, #333);
    position: relative;
}

.my-breadcrumb a:first-child {
    padding-left: 20px;
    border-radius: 5px 0 0 5px;
}

.my-breadcrumb a:last-child {
    border-radius: 0 5px 5px 0;
    padding-right: 20px;
}

/*hover/active styles*/
.my-breadcrumb a.active, .breadcrumb a:hover{
    background: #333;
    background: linear-gradient(#333, #000);
}
.my-breadcrumb a.active:after, .breadcrumb a:hover:after {
    background: #333;
    background: linear-gradient(135deg, #333, #000);
}

.my-breadcrumb a:after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;
    width: 36px;
    height: 36px;
    transform: scale(0.707) rotate(45deg);
    z-index: 1;
    background: #666;
    background: linear-gradient(135deg, #666, #333);
    box-shadow:
            2px -2px 0 2px #f1f2f2,
            3px -3px 0 2px rgba(255, 255, 255, 0.1);
    border-radius: 0 5px 0 50px;
}
.my-breadcrumb a:last-child:after {
    content: none;
}

.flat a, .flat a:after {
    background: white;
    color: #484747;
    transition: all 0.5s;
}
.flat a:hover, .flat a.active,
.flat a:hover:after, .flat a.active:after{
    background: #d0d812;
    color: white;
}

/* HEADER */

.main-header{
    font-size: 1.2em;
}

.main-header::after{
    bottom: -5px;
    box-shadow: inset 0px 4px 8px -3px rgba(17, 17, 17, .2);
    content: "";
    height: 5px;
    left: 0px;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    right: 0px;
    width: 100%;
    z-index: 10;
}

.main-header .logoHeader{
    height: 55px;
    margin-top: -8px;
}

.smallHeader .main-header{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 55px !important;
    font-size: 1em;
}

.smallHeader .main-header .logoHeader{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    transform: scale(0.7);
}

.largeHeader .main-header{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    height: 70px !important;
    font-size: 1.2em;
}

.largeHeader .main-header .logoHeader{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    transform: scale(1);
}

.smallHeader .app-body{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-top: 55px !important;
}

.largeHeader .app-body{
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-top: 70px !important;
}

/* SURCHARGE DATATABLES */
.dataTables_wrapper .tri_line{
    /*background-color: #484747;*/
    color: #fff;
}

.dataTables_wrapper .tri_line th{
    background-color: #484747;
}

.dataTables_wrapper table.dataTable{
    border-collapse: collapse !important;
}

.dataTables_wrapper tr.odd{
    background-color: #f2f2f2;
}

.dataTables_wrapper tr.even, .dataTables_wrapper .filtre_line{
    background-color: white;
}

.dataTables_wrapper tr{
    transition: all 0.3s;
}

.dataTables_wrapper tr.odd:hover, .dataTables_wrapper tr.even:hover{
    background-color: rgba(208,216,18,0.5);
}


.dataTables_wrapper .table th, .table td{
    border-top: none;
}

.dataTables_wrapper .table thead th{
    border-bottom: none;
}

table.dataTable tr.selected td.select-checkbox::after, table.dataTable tr.selected th.select-checkbox::after{
    margin-top: -7px !important;
    margin-left: 6px !important;
    text-align: unset !important;
    text-shadow: none !important;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox::before{
    margin-top: 0 !important;
    margin-left: 5px !important;
}

.odd td, .even td, .filtre_line td{
    text-align: left;
}

td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}

.odd.shown.details, .even.shown.details{
    background-color: rgba(208,216,18,0.5);
    color: #474747;
}

.odd.details + tr{
    background-color: rgba(208,216,18,0.2);
}

.even.details + tr {
    background-color: rgba(208,216,18,0.2);
}

/*.dataTables_wrapper .buttons-page-length,
.dataTables_wrapper .button-page-length,
.dataTables_wrapper .buttons-copy,
.dataTables_wrapper .buttons-excel,
.dataTables_wrapper .buttons-pdf,
.dataTables_wrapper .buttons-colvis,*/
.dataTables_wrapper .dt-button,
.dataTables_wrapper a.paginate_button,
.dom_wrapper .dt-button,
.dom_wrapper a.paginate_button,
.dt-button-collection .dt-button{
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

    /*color: #d0d812;
    background-color: transparent;
    background-image: none;
    border-color: #d0d812;*/

    color: #484747;
    margin:0 5px;
    cursor:pointer;
    background: rgba(208,216,18,0.7);
}

/*.dataTables_wrapper .buttons-page-length:hover,
.dataTables_wrapper .button-page-length:hover,
.dataTables_wrapper .buttons-copy:hover,
.dataTables_wrapper .buttons-excel:hover,
.dataTables_wrapper .buttons-pdf:hover,
.dataTables_wrapper .buttons-colvis:hover,*/
.dataTables_wrapper .dt-button:hover,
.dataTables_wrapper a.paginate_button:hover,
.dom_wrapper .dt-button:hover,
.dom_wrapper a.paginate_button:hover,
.dt-button-collection .dt-button:hover{
    color: white;
    background: rgba(208,216,18,1);
    border-color: rgba(208,216,18,1);
}

.dataTables_wrapper a.paginate_button.current,
.dom_wrapper a.paginate_button.current{
    background-color: white;
    color: black;
    border: solid 2px rgba(208,216,18,0.7);
}

.dataTables_wrapper .button-page-length{
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #c7c7c7;
    background-color: transparent;
    background-image: none;
    border-color: #c7c7c7;
}

.dataTables_wrapper .button-page-length:hover{
    color: white;
    background-color: #c7c7c7;
    border-color: #c7c7c7;
}

.dataTables_wrapper .dt-button-collection{
    display: inline;
}

.dataTables_wrapper .dt-button-background{
    margin-top:15px;
}

.dataTables_wrapper .buttons-columnVisibility{
    font-weight: 300;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: .2rem .6rem;
    font-size: .7rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    /*color: #63c2de;*/
    /*background-color: transparent;*/
    background-image: none;
    /*border-color: #63c2de;*/
    margin-bottom: 10px;
    color: rgba(208,216,18,1);
    background-color: white;
    border-color: rgba(208,216,18,1);
}

.dataTables_wrapper .buttons-columnVisibility.active{

    color: #484747;
    background: rgba(208,216,18,0.7);
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

/* SURCHARGE TABLE */
.table th, .table td{
    border: none;
}

.table th{
    min-width: 40%;
}

/* My STYLE LIST */
.myStyleList{
    list-style-type: none;
}

.myStyleList li{
    list-style-type: none;
    background-color: #f1f1f1;
    margin: 15px 0;
    padding: 0.5em 1em;
    font-size: 1.3em;
    border-top-right-radius: 1em;
    border-bottom-left-radius: 1em;
    cursor: pointer;
    transition: all 0.3s;
    outline: 0;
    -webkit-box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
    -moz-box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
    box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
}

.myStyleList li:hover{
    background-color: rgba(208,216,18,0.8);
    color:white;
}

.myStyleList .date{
    color: #adadad;
    font-size: 0.8em;
}

.myStyleList2{
    list-style-type: none;
}

.myStyleList2 .mainBox, .myStyleList2 .infosBox, .myStyleList2 .removeBox, .myStyleList2 .removeUserBox{
    list-style-type: none;
    background-color: #f1f1f1;
    margin: 15px 0;
    padding: 0.5em 1em;
    font-size: 1.3em;
    border-top-right-radius: 1em;
    border-bottom-left-radius: 1em;
    cursor: pointer;
    transition: all 0.3s;
    outline: 0;
    -webkit-box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
    -moz-box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
    box-shadow: 2px 5px 7px -6px rgba(0,0,0,0.6);
}

.myStyleList2 .mainBox:hover{
    background-color: rgba(208,216,18,0.8);
    color:white;
}

.myStyleList2 .infosBox{
    background-color: #f1f1f1;
    color: rgba(32,168,216,0.8);
    border: solid 1px rgba(32,168,216,0.8);
}

.myStyleList2 .infosBox:hover{
    background-color: rgba(32,168,216,0.8);
    color: white;
}

.myStyleList2 .removeBox, .myStyleList2 .removeUserBox{
    background-color: rgba(191,75,75,0.8);
    color: white;
    /*border: solid 1px rgba(32,168,216,0.8);*/
    width: 100%;
}

.myStyleList2 .removeBox:hover, .myStyleList2 .removeUserBox:hover{
    background-color: rgba(238,65,65,0.8);
    color: white;
}

.Famille h1{
    font-size: 1.5em;
}

/* SURCHARGE SELECT2 */
span.select2-selection.select2-selection--single {
    outline: none;
}

/* ========== SURCHARGE PAGINATION DATATABLES ========== */
.pagination>div {
    display: flex;
    margin: 0 5px;
    background: rgba(208, 216, 18, 0.7);
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.pagination>div>span {
    padding: 0.375rem 0.75rem;
}

.pagination>div>.paginate_input {
    width: 40px !important;
}

@media (max-width: 1500px) {
    #myModal .modal-dialog{
        width: 95% !important;
        height: 95% !important;
    }
    #myModal .modal-dialog .modal-content{
        max-height: 100%;
        min-height: 100%;
        height: 100%;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

/* DOUBLE SCROOL */
.doubleScroll-scroll-wrapper{
    width: 100% !important;
    overflow-x: scroll !important;
}