/*
organisation des styles :
    en haut :   tout ce qui concerne en premier lieu une balises (ex div; div > .class; div:nth-child(); etc...)
    au milieu : tout ce qui concerne en premier lieu une classe (ex .class; .class > div ; .class:focus; etc...)
    en bas :    tout ce qui concerne en premier lieu un  id (ex #id; #id > .class > div ; #id:hover; etc...)
    en fin :    tout ce qui concerne en premier lieu les media queries (ex @keyframes; @media-print; etc...)
tout ceci sera classé ensuite par Ordre alphabétique
*/

/*region html tags*/

.buttonPop,
button {
    background-color: var(--white);
    border-width: 2px;
    border-radius: 10px;
    border: solid;
    transition: background-color ease 0.3s;
    /*
      background-color: #a5dbd4 !important;
      border-color: #a5dbd4 !important;
      border-width: thick;
      border-radius: 15px;
      color: var(--white) !important;*/
}

.buttonPop,
button:not([data-toggle="dropdown"]) {
    border-color: var(--neoleasy_old_green2);
    color: var(--neoleasy_old_green2);
}

button:disabled {
    background-color: #dadada !important;
}

button:hover:not([disabled]):not(.close):not([data-toggle="dropdown"]):not(.normal) {
    background-color: #1c3c76 !important;
}

button.dark {
    background-color: var(--use-main-color-2) !important;
    color: white !important;
}

details[open] summary:before {
    content: "-";
}

button.close {
    background: transparent !important;
}

button.close svg {
    width: 30px;
}

hr {
    display: block;
    width: 100%;
    background: #b4b4b4;
}

html {
    font-size: 0.9em;
}

/* SQUARED ONE */
input[type="checkbox"].checkboxSpecial {
    visibility: hidden;
}

.squaredOne {
    width: 28px;
    height: 28px;
    position: relative;
}

.squaredOne label {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    top: 4px;

    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px var(--white);

    background: -webkit-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -moz-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -o-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -ms-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    border-radius: 5px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222', endColorstr='#45484d', GradientType=0);
}

.checkboxSpecial:disabled+label {
    cursor: pointer;
    pointer-events: none;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px var(--white);

    background: #8f9092;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222', endColorstr='#45484d', GradientType=0);
}

.squaredOne label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: "";
    position: absolute;
    width: 14px;
    height: 9px;
    background: transparent;
    top: 3px;
    left: 3px;
    border: 3px solid #fcfff4;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.squaredOne label:hover::after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
}

.squaredOne input[type="checkbox"]:checked+label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

/*endregion squared one*/

/* SQUARED TWO , original*/
input[type="checkbox"].checkboxSpecial {
    visibility: hidden;
}

.squaredTwo {
    width: 28px;
    height: 28px;
    background: #fcfff4;

    background: -webkit-linear-gradient(top,
    #fcfff4 0%,
    #dfe5d7 40%,
    #b3bead 100%);
    background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfff4', endColorstr='#b3bead', GradientType=0);
    margin: 20px auto;

    -webkit-box-shadow: inset 0px 1px 1px var(--white),
    0px 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 1px 1px var(--white),
    0px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 1px 1px var(--white), 0px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
}

.squaredTwo label {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    top: 4px;

    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px var(--white);

    background: -webkit-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -moz-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -o-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: -ms-linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    background: linear-gradient(top, #2b75fb 0%, #a2b8de 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222', endColorstr='#45484d', GradientType=0);
}

.checkboxSpecial:disabled+label {
    cursor: pointer;
    pointer-events: none;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px var(--white);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px var(--white);

    background: #8f9092;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222', endColorstr='#45484d', GradientType=0);
}

.squaredTwo label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: "";
    position: absolute;
    width: 14px;
    height: 9px;
    background: transparent;
    top: 3px;
    left: 3px;
    border: 3px solid #fcfff4;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.squaredTwo label:hover::after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
}

.squaredTwo input[type="checkbox"]:checked+label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

/*endregion squared two*/

/*region radio input YES/NO*/
input[type="radio"].demo2+label {
    padding: 0.5rem;
    /*font-size: 1rem;*/
    line-height: 1;
}

/*endregion */
legend {
    font-size: 16px;
}

summary {
    background: var(--white);
    border: 2px solid var(--neoleasy_old_green2);
    margin: 2px;
    border-radius: 10px;
    font-weight: bolder;
    color: var(--neoleasy_old_green2);
    width: fit-content;
    list-style: none;
    padding-right: 10px;
}

summary::-webkit-details-marker {
    display: none;
}

summary:before {
    content: "+";
    color: var(--neoleasy_old_green2);
    /*color: #ADCA48;
      float: left;*/
    font-size: 1.2em;
    font-weight: bold;
    margin: -5px 5px 0 0;
    padding: 0 5px 0 10px;
    text-align: center;
    width: 20px;
}

svg.green {
    color: var(--neoleasy_old_green2);
}

.table-bordered td,
.table-bordered th {
    width: 0%;
}

table:not(.tableWithColgroup):not(.noColoredRow) tr:nth-of-type(even) {
    background: #deecea;
}

table .evenRow,
.trColored {
    background: #deecea !important;
}

table.greenHeader>thead {
    color: var(--use-main-color-2);
}

table.tableWithColgroup tr:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.6);
}

table.tableWithColgroup tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.2);
}

table.aligningTable {
    border: 1px rgba(100, 100, 100, 0.5) solid;
}

table.aligningTable * {
    border: none;
    background-color: var(--white);
    text-align: left;
}

table.aligningTable td,
table.aligningTable th {
    border-left: 1px rgba(100, 100, 100, 0.1) solid;
    border-right: 1px rgba(100, 100, 100, 0.1) solid;
}

table.aligningTable td:last-child,
table.aligningTable th:last-child {
    border-right: 1px rgba(100, 100, 100, 0.5) solid;
}

table.aligningTable td:first-child,
table.aligningTable th:first-child {
    border-left: 1px rgba(100, 100, 100, 0.5) solid;
}

.newTableOverflowApp thead {
    position: sticky;
    top: -1px;
    z-index: 2;
}

.newTableOverflowApp tbody {
    overflow: auto;
    z-index: 2;
}

tr.lilRow>td {
    padding: 0px;
}

/*endregion*/

/*##########################################################################################################################################
##############################################    fin balise : debut classe   ##############################################################
############################################################################################################################################*/
/*region classes*/
.badge {
    white-space: break-spaces;
    word-break: break-word;
}

.bloc1 {
    width: 100%;
    overflow: hidden auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.bloc1>.blockContent {
    height: 100%;
    overflow-y: overlay;
    min-width: 95%;
    padding-top: 30px;
    padding-bottom: 1%;
    display: flex;
    flex-direction: column;
}

.blockHeader {
    /*max-width: 80%;*/
    min-width: 95%;
    overflow: auto hidden;
}

@media all and (max-height: 700px),
(max-width: 700px) {
    .blockHeader>* {
        width: max-content;
    }
}

.block_container {
    display: flex;
    /*height : 33em;*/
    /*flex-direction: row-reverse;*/
}

.block_container>.bloc1 {
    flex-basis: 55vw;
}

.boutonNav {
    background: var(--use-main-color-2);
}

.boutonActionColored {
    background: #c6fff9 !important;
}

.actionButton {
    background: var(--use-main-color-2);
}

.checkboxBig {
    width: 20px;
    height: 20px;
}

.DataForm label {
    display: inline-block;
    margin-left: 5px;
    width: 100%;
    min-width: 60px;
}

.disabledActionButton {
    background: #000077;
    color: var(--white);
}

.disabledActionButton:hover {
    color: var(--white);
    background: #333399;
}

.dropdown-toggle {
    background: #eaf9ed;
    color: black;
    width: 100%;
    text-align: inherit;
    border: 2px #d8f3dd solid;
}

.dropdown-toggle:hover {
    background: #d2f5da;
    border: 2px #acf5bd solid;
    color: black;
}

.dropdown-toggle:active {
    background: red;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    background: #acf5bd;
    color: black;
    border: 2px #acf5bd solid;
}

.dropdown-item {
    padding: 0.5rem 1.5em;
}

.espacement {
    margin-bottom: 30px;
}

.form-control {
    display: inline;
}

.textarea {
    border-radius: 10px;
    outline: none;
    border-color: #cecece;
    border-style: solid;
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
}

.inputNeoRound {
    border-radius: 10px;
    border-color: #cecece;
    border-style: solid;
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
}

.inputRound:not(.dark) {
    border-radius: 10px;
    outline: none;
    border-color: #cecece;
    border-style: solid;
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
    height: var(--sizeH_input);
    background: var(--white);
}

.logo {
    max-width: 100%;
    width: auto;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 30px;
    height: 100%;
    object-fit: contain;
}

/*region loading*/
.shy.display {
    visibility: visible;
}

.shy:not(.display) {
    visibility: hidden;
    display: none;
}

/*endregion*/

.listDemandeTable {
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
}

.minWidth95 {
    min-width: 95%;
}

/* Nav bar vertical */
.navAside {
    background-color: #2f3739;
}

.navAside a,
.navAside .fakeLink {
    display: block;
    padding: 8px 16px;
}

.navAside a:hover,
.navAside .fakeLink:hover {
    background: var(--neoleasy_old_green2);
    opacity: 30%;
}

nav.navbar {
    background-color: #179b8c;
}

.navbar-nav {
    justify-content: center;
    overflow: auto hidden;
}

.nav-item>a {
    transition: background, filter ease 0.3s;
    color: var(--white);
}

.nav-item>a:hover {
    background: var(--neoleasy_old_green2);
    color: var(--white);
    opacity: 30%;
}

.navMoSection {
    max-width: 230px;
    border-top: 1px black groove;
    padding-top: 1em;
    padding-left: 15px;
    color: var(--white);
    background: var(--neoleasy_old_green2);
}

.histoPart>a {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn:hover .svgWhite {
    opacity: 0;
}

/*#region navbar */
.navSelected {
    background: var(--neoleasy_old_green2);
    border-left-width: 5px;
}

.navSelectedCRM {
    /*background: var(--neoleasy_old_green2);*/
    border-bottom: solid;
    border-bottom-width: 5px;
    border-color: #00c5ab;
}

.subnavbar .dropdown-item {
    color: var(--use-main-gray);
    background-color: transparent;
}

/*#endregion*/

.pdfButton {
    transition: box-shadow 1s;
}

.required {
    color: red;
}

.required:after {
    content: " *";
    color: red;
}

.row:not(.auto) {
    width: 100%;
}

.siretTable {
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
    table-layout: auto;
}

.siretTable tr:hover td {
    background-color: rgba(50, 50, 50, 0.1) !important;
}

.svg2 {
    color: var(--white);
}

/* .tabletitle{}
.table {border-radius:3px; border-collapse: collapse;
    height: 100%;width:100%;
    animation: float 5s infinite; overflow: scroll; text-align: center;
}
.table th, .table td{width: 50px !important;}
.table{width: 100%; height:100%; display:flex; flex-direction:column;}
.table thead th{ position: sticky; top: 0;}

.table tbody{overflow:scroll; flex:4;} */

.tableContact {
    width: 100%;
    overflow: auto;
    text-align: center;
    border-radius: 10px;
    outline: none;
    border: 1px #cecece solid;
    box-shadow: 1px 2px 5px 2px rgba(187, 195, 197, 0.6);
    table-layout: auto;
}

.titreDossier {
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 300;
    margin-top: 30px;
    padding: 10px;
    text-align: center;
}

.titreDossier,
.title,
.titreCRM {
    background: var(--use-main-color-2);
}

/*##########################################################################################################################################
##############################################    fin class : debut id   ##############################################################
############################################################################################################################################
*/
#NavToCloseParent::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.8);
}

#style-1::-webkit-scrollbar-track {
    box-shadow: initial;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

#style-1::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
}

#style-1::-webkit-scrollbar-thumb {
    box-shadow: initial;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #555;
}

/*endregion*/

#sig-info tr>td:nth-of-type(2),
#cash-flow tr>td:nth-of-type(2),
#comptes-tables-page>*:not(#sig-info):not(#cash-flow) tr>td:first-child {
    text-align: left !important;
}

#comptes-tables-page td>svg {
    height: 15px;
}

/*#region confirm/notif popup*/
@keyframes displayConfirmExtended {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    5% {
        -webkit-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    10% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    90% {
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes displayNotifExtended {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    5% {
        -webkit-transform: translateX(-30px);
        -ms-transform: translateX(-30px);
        transform: translateX(-30px);
    }

    10% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    90% {
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

/*endregion*/

/*region media queries*/
@media all and (max-width: 700px) {
    .displayMobile {
        display: block;
        right: 0;
        top: 0;
    }

    .navAside {
        height: 100%;
    }

    .navSelected {
        width: 100%;
    }

    .navToClose {
        width: 100%;
    }

    .block_container {
        margin: 0;
    }

    .input-group-text {
        font-size: 1em !important;
    }

    .navToClose {
        height: fit-content;
    }

    .bloc1 {
        overflow-y: scroll;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 90%;
    }
}

@media all and (max-height: 700px),
(max-width: 700px) {
    .navToClose>* {
        font-size: 3vh;
    }

    .navAside>img {
        font-size: 3vh;
    }

    .navAside>img {
        font-size: 3vh;
    }

    .navToClose>nav {
        height: 60%;
    }

    .navToClose>nav>* {
        padding: 0 0 0 15px;
    }

    .navToClose>section {
        height: 40%;
    }
}

/*endregion*/