
hr {
    border: none;
    padding: 0;
    margin: 3rem 0;
    height: 1px;
    font-size: 1px;
    background: #d6d6d6;
}

.button .fa {
    margin-left: 1rem;
    font-size: 1.3em;
}

form dt {
    margin: 0;
}
form dd {
    margin: 0 0 1rem 0;
}
form.column input[type=text],
form.column textarea {
    width: 100%;
}

main > .side .video iframe {
    height: 180px;
}

.datepicker_custom {
    font-size: 1.3rem;
}

.topmenu li {
    position: relative;
}
.topmenu ul {
    background: #FFFFFF;
    margin-top: .9rem;
    box-shadow: 0 0 10px RGBA(66, 66, 66, .3);
    padding: 1rem;
    display: none;
    position: absolute;
}
header .topmenu > li:hover {
    height: 50px;
}
.topmenu li:hover ul {
    display: block;
}
.topmenu ul li {
    margin: 0;
}
.topmenu ul li a:link,
.topmenu ul li a:visited,
.topmenu ul li a:hover,
.topmenu ul li a:active {
    border: none;
    border-bottom: 1px solid #f2f2f2;
    line-height: 1;
    padding: 1rem 0;
}
.topmenu ul li:last-child a:link,
.topmenu ul li:last-child a:visited,
.topmenu ul li:last-child a:hover,
.topmenu ul li:last-child a:active {
    border: none;
}
.topmenu ul .active > a,
.topmenu ul .active > span {
    font-weight: bold;
}

.relation .actions {
    display: flex;
    justify-content: space-between;
}
.relation .actions p {
    width: 32%;
    text-align: center;
    font-size: 1.9rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}
.relation .actions img {
    display: block;
    margin: 0 auto;
}
.relation .actions span {
    display: block;
}
.relation .actions strong {
    color: #004A99;
}


.category-products-focus {
    border-top: 2px solid #f8f8f8;
    padding: 3rem 0;
    position: relative;
}
.category-products-focus .header {
    display: flex;
    margin: 0 0 3rem 0;
}
.category-products-focus h2 {
    margin: 0;
    flex: 1;
}
.category-products-focus .category-link {
    display: block;
    margin: auto 0;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: lighter;
}

.category-products {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-products li {
    border-left: 2px solid #f8f8f8;
    width: 33%;
    text-align: center;
    display: flex;
}
.category-products li:first-child {
    border-left: none;
}
.category-products li img {
    vertical-align: middle;
}
.category-products li a {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
.category-products li span {
    display: block;
    color: #000000;
}
.category-products li span.picture {
    margin: auto 0;
}
.category-products li span.name,
.category-products li span.brand {
    padding: 0 4rem;
}
.category-products li span.name {
    margin-top: 2rem;
}
.category-products li span.brand {
    font-weight: bold;
}

.mce-content-body h3,
.block-item h3 {
    margin-bottom: 0;
}





/* Légende villages (page accueil) */
.villages-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.villages-legends li {
    margin: 1rem 0;
}
.villages-legends a.villages-parent {
    display: block;
    padding: 3px;
    border-radius: 26px;
    background: #424242;
    color: #FFFFFF;
    font-weight: bold;
}
.villages-legends a.villages-parent span {
    display: inline-block;
    text-align: center;
    width: 26px;
    height: 26px;
    line-height: 26px;
    margin: 0 4px 0 0;
    border-radius: 26px;
    font-weight: bold;
    background: #FFFFFF;
    color: #000000;
}

/* Couleur par catégorie principale */
.villages-legends .color-category-1 a.villages-parent {
    background-color: RGBA(227, 36, 20);
}
.color-category-1 .product-spec-1 {
    background-color: RGBA(227, 36, 20);
    background-color: RGBA(227, 36, 20, .4);
}

.villages-legends .color-category-2 a.villages-parent {
    background-color: RGB(173, 30, 128);
}
.color-category-2 .product-spec-1 {
    background-color: RGB(173, 30, 128);
    background-color: RGBA(173, 30, 128, .4);
}

.villages-legends .color-category-3 a.villages-parent {
    background-color: RGB(0, 159, 227);
}
.color-category-3 .product-spec-1 {
    background-color: RGB(0, 159, 227);
    background-color: RGBA(0, 159, 227, .4);
}

.villages-legends .color-category-4 a.villages-parent {
    background-color: RGB(135, 96, 161);
}
.color-category-4 .product-spec-1 {
    background-color: RGB(135, 96, 161);
    background-color: RGBA(135, 96, 161, .4);
}

.villages-legends .color-category-5 a.villages-parent {
    background-color: RGB(85, 69, 150);
}
.color-category-5 .product-spec-1 {
    background-color: RGB(85, 69, 150);
    background-color: RGBA(85, 69, 150, .4);
}

.villages-legends .color-category-6 a.villages-parent {
    background-color: RGB(85, 69, 150);
}
.color-category-6 .product-spec-1 {
    background-color: RGB(85, 69, 150);
    background-color: RGBA(85, 69, 150, .4);
}

.villages-legends .color-category-7 a.villages-parent {
    background-color: RGB(57, 172, 90);
}
.color-category-7 .product-spec-1 {
    background-color: RGB(57, 172, 90);
    background-color: RGBA(57, 172, 90, .4);
}

.villages-legends .color-category-8 a.villages-parent {
    background-color: RGB(232, 77, 14);
}
.color-category-8 .product-spec-1 {
    background-color: RGB(232, 77, 14);
    background-color: RGBA(232, 77, 14, .4);
}

.villages-legends .color-category-9 a.villages-parent {
    background-color: RGB(238, 120, 160);
}
.color-category-9 .product-spec-1 {
    background-color: RGB(238, 120, 160);
    background-color: RGBA(238, 120, 160, .4);
}

.villages-legends .color-category-10 a.villages-parent {
    background-color: RGB(173, 201, 37);
}
.color-category-10 .product-spec-1 {
    background-color: RGB(173, 201, 37);
    background-color: RGBA(173, 201, 37, .4);
}

.villages-legends .color-category-126 a.villages-parent {
    background-color: RGB(192, 32, 118);
}
.color-category-126 .product-spec-1 {
    background-color: RGB(192, 32, 118);
    background-color: RGBA(192, 32, 118, .4);
}

.villages-legends .color-category-72 a.villages-parent {

}
.color-category-72 .product-spec-1 {

}

.villages-legends .color-category-91 a.villages-parent {
    background-color: RGB(227, 129, 21);
}
.color-category-91 .product-spec-1 {
    background-color: RGB(227, 129, 21);
    background-color: RGBA(227, 129, 21, .4);
}

.villages-legends .color-category-94 a.villages-parent {
    background-color: RGB(227, 129, 21);
}
.color-category-94 .product-spec-1 {
    background-color: RGB(227, 129, 21);
    background-color: RGBA(227, 129, 21, .4);
}

.villages-legends .color-category-96 a.villages-parent {
    background-color: RGB(227, 129, 21);
}
.color-category-96 .product-spec-1 {
    background-color: RGB(227, 129, 21);
    background-color: RGBA(227, 129, 21, .4);
}

.villages-legends .color-category-104 a.villages-parent {
    background-color: RGB(111, 192, 221);
}
.color-category-104 .product-spec-1 {
    background-color: RGB(111, 192, 221);
    background-color: RGBA(111, 192, 221, .4);
}

.villages-legends .color-category-115 a.villages-parent {
    background-color: RGB(249, 174, 31);
}
.color-category-115 .product-spec-1 {
    background-color: RGB(249, 174, 31);
    background-color: RGBA(249, 174, 31, .4);
}

.villages-legends .color-category-138 a.villages-parent {
    background-color: RGB(220, 219, 34);
}
.color-category-138 .product-spec-1 {
    background-color: RGB(220, 219, 34);
    background-color: RGBA(220, 219, 34, .4);
}

/* Formulaire recherche de produits */
.form-search-products {
    display: flex;
    flex-wrap: wrap;
    background: #f2f2f2;
    padding: 2rem;
}
.form-search-products h3 {
    width: 100%;
    font-size: 2rem;
    margin: 0;
}
.form-search-products h4 {
    font-size: 1.8rem;
    margin: 1rem 0;
}
.form-search-products > div {
    margin-right: 1.5rem;
    flex: 1;
}
.form-search-products > p {
    width: 100%;
    margin: 2rem 0 0 0;
}
.form-search-products ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 30rem;
    max-height: 10rem;
    overflow: auto;
}
.form-search-products ul li {
    margin: .5rem 0;
}

.results-count {
    font-size: 1.7rem;
}

/* Affichage d'une fiche */
.product-back a {
    color: #000000;
}
.product .product-photo img {
    display: block;
    max-height: 40rem;
    margin: 1rem auto;
}
.product-photos {
    margin: 3rem 0;
}
.product-photos img {
    margin-right: 2rem;
}
.product-market {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.product-market li {
    margin: 0 3rem 1rem 0;
}
.product-market .checkbox {
    display: inline-block;
    border: 2px solid #000000;
    margin-right: .5rem;
    color: #FFFFFF;
    width: 2.2rem;
    line-height: 2rem;
    height: 2.2rem;
    text-align: center;
    border-radius: .2rem;
}
.product-market .checkbox:before {
    content: "\f00c";
    font-family: FontAwesome;
}
.product-market .checkbox.checked {
    background: #000000;
}
.product-specs {
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-spec {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.product-spec-0 {
    background: #E5EFF6;
}
.product-thebest {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}
.product-moreinfos ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}
.product-moreinfos li {
    padding: 0;
    margin: .5rem 3rem .5rem 0;
}
.product-moreinfos li > span,
.product-moreinfos a:link,
.product-moreinfos a:visited,
.product-moreinfos a:active {
    display: block;
    color: #004A99;
}
.product-moreinfos .fa {
    font-size: 2.6rem;
    vertical-align: middle;
}
.product-moreinfos .button-product-active {
    position: relative;
}
.product-moreinfos li.product-moreinfos-disabled > span,
.product-moreinfos-disabled {
    color: #c0c3c6;
}
.product-moreinfos-disabled a {
    cursor: default;
}
.product-footer {
    border-top: 1px solid #d6d6d6;
    margin: 3rem 0;
    padding: 3rem 0;
    display: flex;
}
.product-footer .product-footer-container {
    display: flex;
    flex-direction: column;
}
.product-footer .logo {
    border: 1px solid #d6d6d6;
    min-width: 20rem;
    margin-right: 2rem;
    padding: 1rem;
    display: flex;
}
.product-footer .logo img {
    display: block;
    margin: auto;
}
.product-footer .contact-infos {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.product-footer .contact-infos p {
    margin: 0 3rem 1rem 0;
}
.product-footer .contact-infos .label {
    font-weight: bold;
}
.product-footer .product-moreinfos {
    margin-top: auto;
}
.product-moreinfos-enabled:hover {
    cursor: pointer;
}
.product-contact {
    display: flex;
    justify-content: space-between;
}
.product-contact.hide {
    display: none;
}
.product-contact > div {
    width: 45%;
    overflow: hidden;
}


/* Affichage infos supplémentaires */
.product-mask {
    border: 1px solid #d6d6d6;
    padding: 2rem;
}
.product-mask-close {
    width: 100%;
    text-transform: uppercase;
    font-size: 1.5em;
    cursor: pointer;
}
.product-mask-close .fa {
    margin-right: 1rem;
}

.exponents-items {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.exponents-items li {
    display: flex;
    width: 30%;
    border: 1px solid #f8f8f8;
    margin: 1rem 3% 1rem 0;
    min-height: 15rem;
}
.exponents-items a {
    display: flex;
    margin: 0;
    padding: 2rem;
}
.exponents-items img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.block-contact {
    width: 42rem;
    margin: 3rem auto;
    box-shadow: 0 0 12px #efefef;
    border-top: 13px solid #004A99;
    border-bottom: 13px solid #004A99;
    padding: 2.8rem 4rem;
}
.block-contact p {
    color: #707070;
    font-size: 1.6rem;
}
.block-contact p .fa {
    font-size: 26px;
    margin-right: 16px;
}

.form-login {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}
.form-login dt#login_email-label,
.form-login dt#login_password-label {
    display: none;
}
.form-login dd {
    margin-bottom: 2rem;
}
.form-login input[type=text],
.form-login input[type=password] {
    border-top: none;
    border-right: none;
    border-left: none;
    height: 3rem;
    padding: 0;
    outline: none;
    border-radius: 0;
    width: 100%;
}
.form-login #submit-element {
    margin-bottom: 1rem;
}
.auth-lostpassword {
    text-align: center;
}
.message-registration {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.tags li {
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    margin: .5rem;
}
.tags li a:link,
.tags li a:visited,
.tags li a:active,
.tags li a:hover {
    display: block;
    border: 1px solid #004A99;
    padding: .7rem 1.4rem;
    color: #004A99;
}

.menu-profile {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-profile li a {
    border: 1px solid #f0f0f0;
    padding: 0 3rem;
    display: block;
    line-height: 2;
}
.menu-profile li.active a {
    background: #004A99;
    border-color: #004A99;
    color: #FFFFFF;
    font-weight: bold;
}

.profile-container {
    display: flex;
    border: 1px solid #f0f0f0;
    padding: 2rem;
}
.profile-container > div {
    width: 50%;
    padding: 0 2rem;
}
.profile-container > div + div {
    border-left: 1px solid #f0f0f0;
}
.profile-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.profile-container ul li {
    margin: 1rem 0;
}

.relation-directe {
    background: #004A99;
    line-height: 2;
    color: #FFFFFF;
    border-radius: 20px;
    font-style: italic;
    position: fixed;
    bottom: 30px;
    left: 60px;
    padding: 5px 20px 5px 50px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;

    transition: 500ms linear left;

    animation-name: contactdirect;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}
.relation-directe.hide {
    left: -500px;
}
.relation-directe span {
    background: #FFFFFF;
    box-shadow: 0 0 10px #DDDDDD;
    display: inline-block;
    width: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -40px;
    margin-left: -40px;
    color: #004A99;
    font-size: 40px;
}
@keyframes contactdirect {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.form-product input[type=text] {
    width: 100%;
    outline: none;
    height: 3.6rem;
}
.form-product textarea {
    border: 1px solid #DDDDDD;
    width: 100%;
    padding: 1rem;
    line-height: 1.4;
    font-size: 1.5rem;
    outline: none;
}
.form-product fieldset {
    margin: 0;
    padding: 1rem;
    border: 1px solid #DDDDDD;
}
.form-product fieldset legend {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 1rem;
    margin: 0 auto;
}
.form-product .description {
    margin: 0;
}
.form-product dt.form-before-label + dt {
    clear: left;
}
.form-product #validate-label {
    display: none;
}
.form-product #register-element,
.form-product #validate-element {
    display: inline-block;
    margin: 2rem 0 0 0;
}
.form-product fieldset#fieldset-group_esalon {
    border-color: #EF0000;
    border-width: 2px;
}
.form-product fieldset#fieldset-group_esalon legend {
    color: #EF0000;
}
