/*
DEMO STYLE
*/
@font-face {
    font-family: 'vyv';
    font-weight: normal;
    src: url('../fonts/WigrumRegular.eot');
    src: url('../fonts/WigrumRegular.eot') format('embedded-opentype'),
    url('../fonts/WigrumRegular.woff2') format('woff2'),
    url('../fonts/WigrumRegular.woff') format('woff'),
    url('../fonts/WigrumRegular.ttf') format('truetype'),
    url('../fonts/WigrumRegular.svg#WigrumRegular') format('svg');
}

@font-face {
    font-family: 'vyv';
    font-weight: bold;
    src: url('../fonts/WigrumBold.eot');
    src: url('../fonts/WigrumBold.eot') format('embedded-opentype'),
    url('../fonts/WigrumBold.woff2') format('woff2'),
    url('../fonts/WigrumBold.woff') format('woff'),
    url('../fonts/WigrumBold.ttf') format('truetype'),
    url('../fonts/WigrumBold.svg#WigrumBold') format('svg');
}

html, body {
    font-family: 'Wigrum', sans-serif;
    /*font-size: 15px;
    line-height: 1.5rem;*/
    /*-webkit-user-select: none;*/
    /*-moz-user-select: none;*/
    /*-ms-user-select: none;*/
    /*user-select: none;*/
    background: #F7F7F7;
}

p {
    font-family: 'Wigrum', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

strong {
    font-weight: bold;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none !important;
    transition: all 0.3s;
}

#sidebar ul li a:hover
h1.hello {
    font-size: 50px;
    line-height: 50px;
}

.real-content {
    padding: 50px 50px 0;
    width: 100%;
    border-radius: 5px 0 0 5px;
    background: #F7F7F7;
    background-size: cover;
    min-height: calc(100% - 130px);
}

.fa-circle {
    color: #2CBFDC;
}

.navbar {
    padding: 0 10px;
    position: relative;
    background: #2CBFDC;
    /*left: -20px;*/
    height: 130px;
    /*width: calc(100% + 20px);*/
    border: none;
    border-radius: 0;
    /*margin-bottom: 40px;*/
    /*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);*/
    transition: all 0.3s;
}

.remboursementRow {
    transition: .3s all ease-in-out;
}

#sidebar.active ~ .navbar {
    height: 98px !important;
}

.toggleNav {
    transition: .3s all ease-in-out;
    position: absolute;
    left: 5px;
    top: 55px;
}

.toggleNav.active {
    position: absolute;
    left: -70px;
}

#logo-top-profile {
    opacity: 1;
    transition: .3s all ease-in-out;
}

#logo-top-profile.active {
    opacity: 0;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #2CBFDC;
    color: #fff;
    transition: all 0.3s;
    /*border-radius: 0 0 5px 0;*/
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
    padding-top: 35px;
    font-size: 50px;
    padding-bottom: 12px;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2CBFDC;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    /*padding: 20px 0;*/
    padding: 25px 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #FFFFFF;
    background: #FF8C72;
}

#sidebar ul li a i {
    margin-right: 10px;
    width: 16px;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #FF8C72;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #F07155
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

.logo-yvon-profile {
    position: relative;
    left: 24px;
    top: 5px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    /*padding: 20px;*/
    min-height: 100vh;
    background: #2CBFDC;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    CARTE DIGITALE
----------------------------------------------------- */
.digicard {
    position: absolute;
    top: 1vh;
    left: 0;
    text-align: center;
    width: 100%;
}

.digicard > div {
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
    margin: auto
}

.digicard svg {
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
    margin: auto
}

.digicard > div img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    box-shadow: 0 0 5px black;
    border-radius: 25px;
    border: 1px solid white;
}

@media print {
    .digicard > div {
        max-width: 45%;
        max-height: 45vh;
        display: inline-block !important;
    }

    .digicard svg {
        max-width: 95%;
        max-height: 95vh;
        display: inline-block !important;
    }
}

.clickHelper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.clickHelper svg {
    position: absolute;
    top: calc(50vh - 16.5vw);
    left: 33vw;
    width: 33vw;
    height: 33vw;
    z-index: 100;
    opacity: .8;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    .navbar {
        height: 130px;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

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

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }

    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }

    #sidebar {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }

    #logo-top-profile {
        opacity: 1 !important;
    }


}


/* ---------------------------------------------------
Docs grisé avec motif
----------------------------------------------------- */
a.disabled {
    pointer-events: none;
    cursor: default;
    background-color: #95a5a6;
}

#popupMobile .modal-dialog {
    max-width: 30%;
    text-align: center;
}

#popupMobile .modal-body {
    height: auto;
}

#popupMobile .modal-title {
    color: #482683;
    font-weight: bold;
}

#popupMobile .modal-body p {
    color: #482683;
    font-weight: normal;
}

/* ---------------------------------------------------
Resiliations
----------------------------------------------------- */

input.champErreur,
select.champErreur,
textarea.champErreur {
    border-color: #FF0000 !important;
    box-shadow: 0 0 0 0.1rem #F07155 !important;
}

#fileAlert {
    color: red;
    font-weight: bold;
    font-size: 16px;

}


.btn_validation_avenant{
    padding: 10px 13px;
    background-color: #2CBFDC;
    margin: auto;
}

.header-renouvellement a:hover {
    background-color: var(--yvon-violet) !important;
    color: #ffc107 !important;
}
.formFileDecla .fileUpload {
    background-color: white;
    border-color: rgb(216, 216, 216) rgb(209, 209, 209) rgb(186, 186, 186);
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
    padding: 8px 4px;
}

.formFileDecla .fileUpload:hover {
    cursor: pointer;
    border-color: rgb(33, 37, 41);
}

.formFileDecla li,
.formFileDecla div > p {
    background: #eee;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    list-style-type: none;
    border: 1px solid black;
}

.formFileDecla img {
    height: 64px;
    order: 1;
}

.formFileDecla .inputFormFileValid{
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.formFileDecla label{
    display: block;
}

.formFileDecla .labelInputFile{
    height: 45px;
}

.formFileDecla .preview img{
    float: right;
}
.formFileDecla .preview:after{
    content:"";
    display: block;
    clear: both;
}
.formFileDecla .preview p{
    margin-bottom: 0;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .real-content {
        padding: 30px 10px 0px;
    }
}