header{
    background: #2e3751;
}

header .navbar{
    padding: 0 !important;
}

/*header .navbar a.navbar-brand{*/
    /*!*line-height: 53px;*!*/
    /*padding: 3px 15px 3px 15px;*/
    /*color: #2e3751 !important;*/
/*}*/

header.app-header a.navbar-brand{
    /*line-height: 53px;*/
    /*padding: 3px 15px 3px 15px;*/
    color: #2e3751 !important;
}

header .navbar a.navbar-brand > .our-brand-text{
    vertical-align: super;
}

header .navbar a.navbar-brand:hover, header .navbar a.navbar-brand:hover *{
    background: #27ae61;
    color: white;
    cursor: pointer;
}

header .navbar .navbar-collapse{
    line-height: 66px;
}

header .navbar-nav .nav-item.tel{
    padding: 0 15px 0 15px;
    font-size: 14px;
    font-weight: bolder;
    color: #2e3751;
}

header .navbar-nav .nav-item.tel span.horaires{
    font-size: 10px;
    color: gray;
    font-weight: normal;
}

header .navbar-nav .nav-item.tel .fa-phone{
    color: #ffa506;
    margin-right: 10px;
    font-size: 16px;
}

header .navbar-nav .nav-item i.fa{
    font-size: 1.2em;
}

header .navbar-nav .nav-item.show > a, header .navbar-nav .nav-item > a.nav-link-success{
    color: #27ae61;
}

header .navbar-nav .nav-item > a{
    align-items: center;
    line-height: 1em;
}

header .navbar-nav .nav-item > a span.small{
    font-size: 9px;
}

header .navbar-nav .nav-item > a > i.icon{
    font-size: 1.6em;
}

/*header .navbar-nav li.shopping {*/
    /*display: inline-block;*/
    /*margin-left: 14px;*/
    /*position: relative;*/
/*}*/

header .navbar-nav li.shopping a{
    position: relative;
    width: 1.2em;
}

header .navbar-nav li.shopping span {
    width: 17px;
    height: 17px;
    position: absolute;
    top: 50%;
    right: -10px;
    line-height: 17px;
    text-align: center;
    border-radius: 50%;
    display: block;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 11px;
    background: #ffa506;
}

.jumbotron{
    background: #f5f5f5 !important;
}

ol.step-indicator > li a{
    color: #27ae61;
}

ol.step-indicator > li > .step:hover > a{
    color: white;
}

/***   BREADCRUMB ***/
@media (max-width: 576px) {
    ol.breadcrumb .breadcrumb-menu{
        margin-left: auto;
        margin-right: auto;
    }
}

/***   MENU BOX   ***/

#user-menu .card-body a:not(.text-dark) .text-muted{
    color: white !important;
}

#user-menu .card-body a:not(.text-dark) .text-muted{
    color: rgba(255,255,255,.6) !important;
}

#user-menu .card-body a{
    text-decoration: none;
}

#user-menu .card-body a:hover{
    color: initial;
}

#user-menu .bg-info .card-body:hover{
    background-color: rgb(46, 173, 211);
}

#user-menu .bg-primary .card-body:hover{
    background-color: #187da0;
}

#user-menu .bg-warning .card-body:hover{
    background-color: #c69500;
}

#user-menu .bg-white .card-body:hover{
    background-color: #f0f3f5;
}

#user-menu .bg-instagram .card-body:hover{
    background-color: #406582;
}

#user-menu .bg-spotify .card-body:hover{
    background-color: #588500;
}

.card.bg-white {
    border-color: #cad4dc;
}


#comment-custom .alert i.icon{
    color: #20a8d8;
    font-weight: bolder;
}

ul.requirements-counter{
    counter-reset: li;
    list-style-type: none;
    padding: 0 15px 0 15px;
}

ul.requirements-counter li {
    position: relative;
    padding: 5px 0 5px 0;
}

ul.requirements-counter li:before {
    content: counter(li);
    counter-increment: li;
    /*height: 20px;*/
    /*width: 20px;*/
    /*border: 1px solid blue;*/
    /*border-radius: 50%;*/
    /*color: red;*/
    /*text-align: center;*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 4px;*/

    position: relative;
    padding: 2px 5px 2px 5px;
    margin-right: 10px;

    height: 20px;
    width: 20px;
    background: white;
    border-radius: 50%;
    color: #856404;
    text-align: center;
    font-size: 12px;
    font-weight: bolder;
    border: dashed 1px #856404;
}

.card > .card-header span.counter {
    position: relative;
    padding: 3px 8px 3px 8px;

    height: 20px;
    width: 20px;
    background: #ffa506;
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 16px;
    margin-right: 5px;
}

#message-editor .card .card-body{
    background: #fafafa;
}

/***   OPTIONS DU MESSAGE   ***/

.illustrated-choice{
    width: 100%;
}

.illustrated-choice > label{
    background: white !important;
    height: 80px;
    color: #73818f;
}

.illustrated-choice.thin > label{
    border: none;
}

.illustrated-choice > label .form-check{
    padding-left: 0 !important;
}

#options-editor .illustrated-choice > label.disabled{
    opacity: .4;
}

.illustrated-choice > label:not(.disabled).active, .illustrated-choice > label:not(.disabled):hover{
    border-color: #27ae61 !important;
    color: #27ae61 !important;
}

.illustrated-choice.thin > label:not(.disabled).active, .illustrated-choice.thin > label:not(.disabled):hover{
    border-radius: 10px;
    box-shadow: 1px 1px 3px;
}

.illustrated-choice > label > i, .illustrated-choice > label > svg, .illustrated-choice > label > img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    height: 50px;
    font-size: 3em;
}

.illustrated-choice.big > label{
    height: 120px !important;
}

.illustrated-choice.big > label > i, .illustrated-choice.big > label > svg, .illustrated-choice.big > label > img{
    height: 90px !important;
    max-height: 90px !important;
    font-size: 4.5em !important;
}

.illustrated-choice > label input{
    display: none;
}


/***   CRITERES   ***/

#simulation-price:after{
    content: " €";
}

#criteres-accordion .tab-content, #criteres-accordion .nav-tabs{
    border: none !important;
}

#criteres-accordion .nav-tabs .nav-item{
    color: #1985ac;
    background-color: white;
    border-color: #187da0;
}

#criteres-accordion .nav-tabs .nav-item.active{
    color: #fff;
    background-color: #1985ac;
    border-color: #187da0;
}

#criteres-accordion > .card > .card-header .btn-link{
    font-size: 16px;
    padding: 0 12px;
}

#choix-types-production select+span.select2{
    display: block;
}

/***** AUTOCOMPLETE *****/
/************************/

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}
.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}
.autocomplete-suggestions strong {
    font-weight: normal;
    color: #27ae61;
}
.autocomplete-selected {
    background: #27ae61;
    color: white;
    cursor: pointer
}
.autocomplete-selected strong {
    color: white;
}
.autocomplete-group {
    padding: 2px 5px;
}
.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/***   VALIDATIONS   ***/


label.required:before, legend.required:before{
    content:'* ';
    color: #e71a1a;
}

label.form-check-label.required:before {
    content: ' ' !important;
}

input.error, input:required:invalid, select:required:invalid, input:focus:invalid, select:focus:invalid{
    border-left-color: red;
    color: red;
}
input:required:invalid:not([type="radio"]){
    background: url("../assets/images/icones/invalid.png") no-repeat 95% 50% white;
    background-size: 25px;
}
input:required:valid:not([type="radio"]){
    border-left-color: #27ae61;
    background: url("../assets/images/icones/valid.png") no-repeat 95% 50% white;
    background-size: 25px;
}
input.error::-webkit-input-placeholder { /* Chrome */
    color: red;
}
:focus::-webkit-input-placeholder {
    opacity: 0.5;
}
::-webkit-input-placeholder { /* Chrome */
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

input.error:-ms-input-placeholder { /* IE 10+ */
    color: red !important;
    transition: opacity 250ms ease-in-out;
}
:focus:-ms-input-placeholder {
    opacity: 0.5;
}
:-ms-input-placeholder { /* IE 10+ */
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

input.error::-moz-placeholder { /* Firefox 19+ */
    color: red !important;
}
:focus::-moz-placeholder {
    opacity: 0.5;
}
::-moz-placeholder {
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

input.error:-moz-placeholder { /* Firefox 4 - 18 */
    color: red !important;
}
:focus:-moz-placeholder {
    opacity: 0.5;
}
:-moz-placeholder {
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}

#mode-loc span.select2-selection{
    border: 1px solid #e4e7ea;
    border-left: solid 1px red;
    padding-left: 5px;
}

#mode-loc:not(.valid) span.select2-selection{
    border-left: solid 1px red;
}

#mode-loc.valid span.select2-selection{
    border-left: solid 1px #4dbd74;
}

#mode-loc .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #4dbd74;
    color: white;
    border: 1px solid green;
}

#mode-loc .select2-container--default .select2-selection--multiple .select2-selection__choice > .select2-selection__choice__remove {
    color: white;
}

.select2-container--default .select2-results__option--highlighted{
    background-color: #4dbd74 !important;
}

/*****   TIMELINE   ******/
/*************************/

.timeline{
    --uiTimelineMainColor: black; /*#20a8d8;*/
    --uiTimelineSecondaryColor: var(--timelineSecondaryColor, #fff);

    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.timeline:before{
    content: "";
    width: 2px; /*4px*/
    height: 100%;
    background-color: var(--uiTimelineMainColor);

    position: absolute;
    top: 0;
}

.timeline__group{
    position: relative;
}

.timeline__group:not(:first-of-type){
    margin-top: 4rem;
}

.timeline__year{
    padding: 5px 15px;
    color: var(--uiTimelineMainColor);
    background-color: var(--uiTimelineSecondaryColor);
    border: solid 1px var(--uiTimelineMainColor);

    position: absolute;
    left: 0;
    top: 0;
}

.timeline__box{
    position: relative;
}

.timeline__box:not(:last-of-type){
    margin-bottom: 30px;
}

.timeline__box:before{
    content: "";
    width: 100%;
    height: 1px;/*4px*/
    background-color: var(--uiTimelineMainColor);

    position: absolute;
    left: 0;
    z-index: -1;
}

/** TODO : Transformer PX en REM **/
.timeline__date{
    min-width: 65px;
    position: absolute;
    left: 0;

    box-sizing: border-box;
    padding: 5px 15px;
    text-align: center;

    color: var(--uiTimelineMainColor);
    background-color: var(--uiTimelineSecondaryColor);
    border: solid 1px var(--uiTimelineMainColor);
}

.timeline__day{
    font-size: 20px;
    font-weight: 700;
    display: block;
}

.timeline__month{
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

@media screen and (min-width: 641px){

    .timeline:before{
        left: 30px;
    }

    .timeline__group{
        padding-top: 55px;
    }

    .timeline__box{
        padding-left: 80px;
    }

    .timeline__box:before{
        top: 50%;
        transform: translateY(-50%);
    }

    .timeline__date{
        top: 50%;
        margin-top: -27px;
    }
}

@media screen and (max-width: 640px){

    .timeline:before{
        left: 0;
    }

    .timeline__group{
        padding-top: 40px;
    }

    .timeline__box{
        padding-left: 20px;
        padding-top: 70px;
    }

    .timeline__box:before{
        top: 90px;
    }

    .timeline__date{
        top: 0;
    }
}

.timeline{
    --timelineMainColor: #4557bb;
    font-size: 16px;
}

.timeline__post > .timeline__content > .row .bs-callout{
    background: white;
}

.timeline__post > .timeline__content > .row > .order-container{
    margin-left: 5% !important;

    -ms-flex: 0 0 95% !important;
    flex: 0 0 95% !important;
    max-width: 95% !important;
}

input.form-control.edit-inline{
    border: none;
    padding-left: 0;
    outline: none;
    border-radius: 0;
}

input.form-control.edit-inline[readonly]{
    background: white;
    color: black;
}

input.form-control.edit-inline.active{
    border-bottom: dashed 1px;
}

.svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.svg.small{
    width: 14px;
    height: 14px;
}

.nav-icon.svg {
    background: #73818f;
    height: 1.09375rem;
}

a:hover > .nav-icon.svg, a.active > .nav-icon.svg{
    background: white;
    cursor: pointer;
}

.icon-farm{
    -webkit-mask-size: cover;
    -webkit-mask: url(../assets/images/icones/farm.svg);
    display: inline-block;
}

.icon-polygon{
    -webkit-mask-size: cover;
    -webkit-mask: url(../assets/images/icones/polygon.svg);
    display: inline-block;
}

.ui.dimmer.modals{
    z-index: 99999 !important;
}