
body {
    overflow-y: inherit !important;
    padding-right: 0px !important;
}

@font-face {
    font-family: 'Palanquin';
    src:url('../fonts/palanquin-regular.ttf') format('truetype');
}

body {
    background-color: #ebedf4 !important;
    min-height: 100vh;
    font-family: Palanquin !important;
    font-size: 15px;
    margin: 0;
}

/* TODO: remove if unused */
.side-nav .part, .side-nav .drop-down {
    padding: 14px 5px 0 20px;
}

.selected-part {
    border-right: 5px solid #b40815;
    background-color: #01021d;
}



.dossier {
    width: 20px;
    height: 16px;
    object-fit: contain;
}



.switch {
    vertical-align: middle;
    padding-left: 39%;
}



.white {
    vertical-align: middle;
}


.menu-button {
    margin-left: 25%;
    width: 30px;
    height: 30px;
    display: block;
}

.wrapper {
    position: relative;
    top: 0;
    height: 100vh;
}

#sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 239px;
    display: block;
    z-index: 5;
    overflow-x: hidden;
    background-color: #25233b;
    transition: all 0.5s;
    color: #ffffff;
}

/*exp*/

.logo {
    margin: 30px 52px 30px 38px;
}

.user-info {
    padding: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.username {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-role {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .user-role .role {
        font-size: 13px;
    }

.sidebar-menu {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
    margin-top: 0px;
    min-height: calc(100vh - 400px);
}

.signing > div {
    width: 45% !important;
}

    .sidebar-menu > li {
        position: relative;
    }


    .sidebar-menu li > a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #fff;
    }

    .sidebar-menu .menu-title {
        margin-left: 25px;
    }

    .sidebar-menu li > a:hover {
        background-color: #141325;
    }

    .sidebar-menu li.active > a {
        background-color: #141325;
        font-size: 16px;
        font-weight: 600;
    }

    .sidebar-menu li.active::after {
        content: "";
        width: 4px;
        background-color: #d30d18;
        height: 100%;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }



.main-panel {
    float: right;
    width: calc(100% - 239px);
    height: 100%;
}
.dashboard-panel {
    float: right;
    width: calc(100% - 239px);
    height: 100%;
}

.sidebar-disconnect {
    xposition: absolute;
    bottom: 40px;
    text-align: center;
    width: 100%;
    display: block;
}

.app-version{
    margin-top: 5%;
    float: left;
    width: 100%;
    display: block;
    margin-left: 2%;
}

.text-version{
    font-size: 10px;
    color: darkgray;
}

.social-list {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.social-list__link {
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: .3s all linear;
    transition: .3s all linear;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-left: 8px;
}

.support-cnb{
    text-align: center;
    margin-top: -8%;
}

@media screen and (min-width: 1200px) and (max-width: 1300px) {
    .support-cnb{
        text-align: center;
        margin-top: -8%;
    }
}

.info-bar {
    position: absolute;
    text-align: center;
    bottom: 180px;
    width: 170px;
    height: 1px;
    opacity: 0.2;
    background-color: #cccccc;
    margin-left: 27px;
}

.button-text {
    display: block;
    color: white;
}

.button-text:hover{
    color:#D60406;
}

.button-aide {
    color: white;
}

.button-aide:hover{
    color:#D60406;
}

.info-buttom {
    position: absolute;
    text-align: center;
    bottom: 126px;
    width: 170px;
    height: 1px;
    opacity: 0.2;
    background-color: #cccccc;
    margin-left: 27px;
}


.disconnect-text {
    margin-left: 11px;
    color: white;
}
/*exp*/


#sidebar.active {
    margin-left: -239px;
}

.navbar-header {
    transition: all 0.6s;
    margin-left: 220px
}

.button-position {
    margin-left: -239px;
    transition: all 0.5s;
}


.clearfix {
    clear: both;
}





/*utility classes exist in bs4 but since we use bs3 let's define some */
.p-relative {
    position: relative !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mr-10 {
    margin-right: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.mr-30 {
    margin-right: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-10 {
    padding-left: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-5 {
    padding-right: 5px !important;
}

.pl-5 {
    padding-left: 5px !important;
}

.d-block {
    display: block !important;
}

.p-10 {
    padding: 10px;
}

.font-weight-normal {
    font-weight: 400;
}

.blue-border {
    border-color: #0279ff !important;
}

.btn-primary {
    color: #fff;
    background-color: #0279ff !important;
    border-color: #0279ff !important;
}

/*
.search-header {
    padding: 10px 55px;
    height: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: -7px;
}*/

.rectangle-welcome {
    width: 50px;
    height: 10px;
    background-color: #e21647;
}


.truncate-txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.save-button {
    background-color: transparent;
    color: #1c1e25;
    border: 1px solid #c3c3c3;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: 30px
}

.next-button {
    background-color: rgb(22,125,251);
    color: #ffffff;
    padding-right: 30px;
    padding-left: 30px;
}


.modal.custom-modal .modal-header {
    padding: 15px 15px 15px 35px;
}

.modal.custom-modal .modal-body {
    padding: 35px;
}

.modal.custom-modal .modal-footer {
    padding: 25px 35px;
}

.main-title {
    font-size: 18px;
    font-weight: bold
}

.secondary-title {
    font-size: 16px;
    font-weight: 600
}


.var-secondary-title {
    font-size: 16px;
    font-weight: 500;
}



.search-header {
    padding: 10px 55px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.search-input {
    position: relative;
}

    .search-input input {
        height: 50px;
        display: block;
        width: 100%;
        border: 1px solid #dadada;
        border-radius: 6px;
        padding-left: 60px;
        outline: none;
    }

        .search-input input::-webkit-input-placeholder {
            /* WebKit, Blink, Edge */
            color: #1c1e25;
        }

        .search-input input:-moz-placeholder {
            /* Mozilla Firefox 4 to 18 */
            color: #1c1e25;
        }

        .search-input input::-moz-placeholder {
            /* Mozilla Firefox 19+ */
            color: #1c1e25;
        }

        .search-input input:-ms-input-placeholder {
            /* Internet Explorer 10-11 */
            color: #1c1e25;
        }

    .search-input img {
        width: 20px;
        height: 20px;
        top: 14px;
        left: 20px;
        position: absolute;
    }

.main-content {
    padding-right: 55px;
    padding-left: 55px;
    padding-top: 20px;
}


.welcome-header {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 1.56px;
    color: #1c1e25;
    margin-top: 40px;
}

.welcome-text {
    font-size: 22px;
    width: 45%;
    letter-spacing: .61px;
    margin-top: 30px;
}

.welcome-link {
    color: #0279ff;
    font-weight: 600;
}

.bg-working-man {
    background-image: url(../logo/person.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 50%;
}

textarea {
    resize: none;
}



/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .side-nav {
        padding-top: 15px;
    }

        .side-nav a {
            font-size: 14px;
        }

    .side-nav {
        width: 180px;
    }

    .arrow-menu {
        padding-left: 44%;
        width: 8px;
        height: 5px;
    }

    /* TODO: remove if unused */
    .side-nav .part, .side-nav .drop-down {
        padding: 14px 5px 0 6px;
    }

    /* TODO: remove if unused */
    .drop-down-content {
        padding: 5px 0 6px 16px;
    }

    .menu-button {
        display: block;
    }

    .signing > div {
        width: 100% !important;
    }

}

.validation-modal-content {
    text-align: center;
    height: auto;
    width: 900px;
}

.sidebar-info-box {
    display: flex;
    text-align: center;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    width: 80%;
    margin: auto auto 18px;
    padding-top: 10px;
    padding-bottom: 10px;

}

.signature-page-container {
    margin-left: 250px;
}

.modal-politic .modal-dialog {
    width: auto;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    .main-panel {
        width: 100%;
        overflow-x: hidden;
    }
    .dashboard-panel {
        width: 100%;
        overflow-x: hidden;
    }

    .main-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-header {
        display: flex;
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-input {
        width: 100%;
    }

    .welcome-text {
        width: 100%;
    }

    .bg-working-man {
        background-size: 90%;
    }

    .welcome-section {
        margin: auto;
        width: 80%;
    }


    .validation-modal-content {
        width: 100%;
    }

    .signature-page-container {
        margin-left: 0;
    }

    .wrapper.menu-open:before {
        content: "";
        position: absolute;
        z-index: 4;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .7);
    }

    .wrapper.menu-open #sidebar {
        margin-left: 0;
    }

    .dropdown-menu {
        right: 0;
        left: initial;
    }


    .visible-xs-block {
        display: block!important;
    }
}

.switch-cookie {
    appearance: none;
    height: 2em;
    width: 4em;
    background-color: var(--secondary);
    cursor: pointer;
    border-radius: 1em;
    position: relative;
    transition: background-color 0.3s ease;
}

.switch-cookie::before {
    content: "";
    height: 100%;
    width: 50%;
    background-color: white;
    position: absolute;
    border-radius: 50%;
    border: var(--secondary) solid 0.2em;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.switch-cookie:checked {
    background-color: var(--primary);
}

.switch-cookie:checked::before {
    border-color: var(--primary);
    transform: translateX(100%);
}

a#CybotCookiebotDialogPoweredbyCybot {    display: none;}

#CybotCookiebotDialog *, #CybotCookiebotDialogBodyUnderlay * {

    font-size: 11px !important;
}



@media screen and (max-width: 500px) {
    .switch {
        outline: none;
    }
}



@media only screen and (device-width: 768px){
    .visible-xs-block{
        display: none  !important;
    }
}

@media (min-width: 768px) {
    .modal-politic .modal-dialog {
        width: 600px;
    }
}

@media (max-width: 557px) {


    .modal-politic .modal-dialog .modal-footer .next-button {
        margin-bottom: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .modal-politic .modal-dialog .modal-footer .next-button {
        margin-left: 2%;
        margin-right: 0 !important;
        padding-left: 12px;
        padding-right: 12px;
    }
}