.salon .block{
    background-color: #f5f6fa;

}

.salon h2{
    color:#f19089;
    text-transform: uppercase;
    font-size: 50px;
    margin-left: 50px;
}

.salon .moteur, .salon .recherche{
    margin: 0 0 20px 0;
    -moz-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -o-box-shadow: 0px 0px 8px 1px #d9d9d9;
    box-shadow: 0px 0px 8px 1px #d9d9d9;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#d9d9d9, Direction=NaN, Strength=8);
    background-color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position:relative;
    padding: 10px 10px
}

.salon .recherche{
    width: 100%;
    display: inline-block;
}

.salon .selection{
    position:relative;
    -moz-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -o-box-shadow: 0px 0px 8px 1px #d9d9d9;
    box-shadow: 0px 0px 8px 1px #d9d9d9;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#d9d9d9, Direction=NaN, Strength=8);
    background-color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 30px 50px 30px 50px
}
.slick-slider {
    margin-bottom:30px;
}
.progression {
    position:relative;
    margin-top: 30px;
    -moz-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -o-box-shadow: 0px 0px 8px 1px #d9d9d9;
    box-shadow: 0px 0px 8px 1px #d9d9d9;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#d9d9d9, Direction=NaN, Strength=8);
    background-color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    height: 55px;

}
.progression .nombre {
    padding: 5px;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    font-size: 25px;
    background-color:#f19089;
    float: left;
    color:#fff;
    line-height:45px;
    width:78px;
    text-align: center;
}

.progression .phrase {
    padding: 5px;
    -moz-border-radius: 0 5px 5px 0 ;
    -webkit-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    font-size: 23px;
    background-color:#fff;
    float: right;
    line-height:45px;
    color:#f19089;
    width: calc(100% - 78px);
    text-align: center;
}
.progression-barre {
    margin-top: 20px;
    margin-bottom: 50px;
    background-color: #d17d7d;
    height: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.progression-barre > .inner{
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    width: 38%;
    height: 100%;
    background-color: #ffaba9;
}
.salon .selection .nav-left, .salon .selection .nav-right {
    position: absolute;
    top: calc( (100% - 150px) /2);
    padding: 30px 10px;
    font-size: 60px;
    color:#f19089;
}

.salon .selection .nav-left{
    left: 0;
}

.salon .selection .nav-right{
    right: 0;
}
.salon .selection h3 {
    color:#f19089;
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 500;
}

.salon .moteur select {
    color:#f19089;
    border: 1px solid #f19089;
    padding:5px 10px;
}

.bloc-intro-salon {
    text-align: right;
    color: #fff;
    padding-left:50%;
    padding-top: 5%;
}
.bloc-intro-salon>* {
    color:#fff !important;
    font-family: 'Montserrat',serif;
    float: right;
    text-shadow: 2px 2px 4px black;
}
.bloc-intro-salon p {
    padding-left:100px;
    line-height:19px;
    text-align: justify;
    float: right;
    font-weight: bolder;

}

.bloc-intro-salon hr {
    border: 4px solid #ffffff;
    width:90px;
    float: right;
}

.salon-stand {
    margin-bottom: 30px;
    -moz-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -webkit-box-shadow: 0px 0px 8px 1px #d9d9d9;
    -o-box-shadow: 0px 0px 8px 1px #d9d9d9;
    box-shadow: 0px 0px 8px 1px #d9d9d9;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#d9d9d9, Direction=NaN, Strength=8);

    background-color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position:relative;

    padding:0 0 5px 0;
}
.stand-poster {
    height: 270px;
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
}
.selection .stand-poster {
    height: 245px;
}
.stand-link {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index: 99;
}
.stand-name {
    position:absolute;
    bottom:0;
    left:0;
    background-color: rgba(255, 255, 255, 0.75);
    font-size:18px;
    line-height: 21px;
    text-align: center;
    width:100%;
    color:#f19089;
}
.stand-exposant {
    text-align: center;
    width: 100%;
    color: #52b2b8;
    line-height: 40px;
}
.stand-exposant span{
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
.stand-domaines {
    text-align: center;
    width: 100%;
    color: #929292;
    line-height: 30px;
    overflow: hidden;
    vertical-align: middle;
    padding: 0 5px;
}
.stand-domaines small {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
.stand-tags {
    text-align: center;
    width:100%;
    font-size: 15px;
}

 h3.titre-domaine {
    color:#f19089;
    font-size: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    font-weight: 500;
 }
.overlape .block {
    height: 410px;
}


/* common */
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #f19089;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #f19089;
    box-shadow: 0 5px 10px rgba(0,0,0,.3);
    color: #fff;
    font: 700 18px/1 'Varela Round', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
    text-transform: uppercase;
    text-align: center;
}

/* top right*/
.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

.tablepartenaires {
    width: 100%;
    max-width: 100%;
}

.tablepartenaires tr {
    text-align: center;
}
.btn.btn-outline-primary.support {
    color: #f19089;
    background-color: transparent;
    border-color: #f19089;
}

@media only screen and (max-width: 800px) {
    .grid-item {
        width: calc((100% - 20px)/2);
    }
    .grid-item--width2 {
        width: 100%;
    }
    .bloc-intro-salon {
        padding-left: 0;
    }
    .bloc-intro-salon hr {
        display:none;
    }
    .bloc-intro-salon p {
        padding-left: 5%;
    }
    .progression-row {
        display:none
    }
    .salon h2 {
        margin-left: 0px;
    }
    .salon .selection h3 {
        font-size: 25px;
    }
    .salon .selection h4 {
        font-size: 18px;
    }
    .btn.btn-outline-primary.support {
        margin-bottom:5px;
    }
}
@media only screen and (max-width: 450px) {
.grid-item, .grid-item--width2 {
    width: 100%;
}
}
.main-salon-bt {
    font-size: 15px;
    text-transform: uppercase;
}


.stand-block {
    border: none;
    padding-bottom: 10px;
}
.stand-block .banniere {
    position:relative;
    height: 150px;
    overflow: hidden;
    transition: all .5s;
    box-sizing: border-box;
}
.stand-block .banniere .bg {
    z-index: -1;
    position:absolute;
    top:0; left: 0;
    width:100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: all .5s;
    overflow: hidden;
    box-sizing: border-box;
}

.stand-block .banniere a {
    z-index: 999;
    position:absolute;
    top:0; left: 0;
    width:100%; height: 100%;
    transition: 500ms ease-in-out 0.5s;
}
.stand-block .banniere .gradient{
    z-index: 999;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0, 0, 0, 0.5) 100%); /* W3C */
}
.stand-block .content {
    position:relative;
    padding: 0 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height:160px;
    background-color: white;
}
.stand-block .content header {
    display: block !important;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    background-color: white;
    padding-top: 4.5rem;
}
.stand-block .content header .logo {
    position: absolute;
    background-color: white;
    top: -4.6rem;
    left: 0;
    width: 3rem;
    height: 3rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transition: 500ms ease-in-out 0.5s;
}
.stand-block .content header .logo img {
    object-fit: cover;
    width: 100%;
    border-radius: 50%;
    height: 100%;
    max-height: 7.2rem;
}

.stand-block .content header .nom {
    position: absolute;
    font-weight: bold;
    color: white;
    font-size: 19px;
    bottom: 6.7rem;
    left: 3.6rem;
    transition: 500ms ease-in-out 0.5s;
}

.stand-block .content header .meta {
    position: absolute;
    color: black;
    font-size: 14px;
    top: 0.5rem;
}

.stand-block .content header .meta {
    font-size: 16px;
}


.stand-block .content .description {
    overflow: hidden;
    max-height: 3.5rem;
    font-size: 13px;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    margin-top: -2rem;
    z-index: 4;
}

.stand-block .date_day  {
    font-weight: bold;
}

.stand-block .date_day,.stand-block .date_a,.stand-block .date_heure_debut,.stand-block .date_heure_fin  {
    font-size: 18px;
    font-weight: bold;
}
.stand-block footer {
    background-color: white;
}
.stand-block footer .date_salon {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    max-width: 255px;
    max-height: 20px;
    white-space: nowrap;
}
.stand-block footer .type {
    position: absolute;
    bottom: 0.8rem;
    right: 8.5rem;
}
.stand-block .class {
    position: absolute;
    font-size: 13px;
    background-color: white;
    color: red;
    padding: 2px 10px;
    top:0.5rem;
    border-radius: 20px;
    right:0.5rem;
    width: auto;
}
.stand-block .class.dispo {
    background-color: white;
    color: #7dd655 !important;
}
.stand-block .class .fa {
    background-color: red;
    color: white;
    border-radius: 20px;
    height: 16px;
    line-height: 17px;
}
.stand-block .class.dispo .fa {
    background-color: #7dd655 !important;
    color: white;
}
.stand-block .apply-thisjob {
    font-size: 13px;
    background-color: red;
    color: white;
    padding: 3px 22px;
    position: absolute;
    bottom: 0.5rem;
    border-radius: 20px;
    right: 0.5rem;
    width: auto;
    font-weight: normal;
}
/** OVER EFFECT **/
.stand-block:hover .banniere .bg {
    transform: scale(1.2);
}

/** OLD **/
.stand-block.status-old .bg, .stand-block.status-old .logo,
.stand-block.status-old i, .stand-block.status-old .date_salon,
.stand-block.status-old .type, .stand-block.status-old .apply-thisjob,
.stand-block.status-old .class  {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
/** SPECIAL PAGES ECOLE **/
.stand-block.page-ecole .meta {
    max-width: 17rem;
}
.stand-block.page-ecole footer .intro {
    position: absolute;
    bottom:2.5rem;
}

.stand-block.page-ecole .note {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
}
.stand-block.page-ecole .note .stars {
    color: #fdc400;
    font-size: 14px;
    letter-spacing: -1px;
}
.stand-block.page-ecole .note .avis {
    text-align: center;
    color: #525252;
}
.stand-block.page-ecole .note .moyenne {
    position: absolute;
    bottom: 0rem;
    right: 5rem;
    padding: 10px;
    color: white;
    border-radius: 6px;
    font-weight: bold;
}

.stand-block.page-ecole .apply-thisjob {
    padding: 5px 20px;
}