
table thead tr {
    background: var(--main-color);
    color: #FFFFFF;
}
table thead tr th {
    border: 1px solid var(--main-color);
}
table .controls {
    text-align: center;
}

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%;
}
form input[type=submit] {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 0 2rem;
    height: 4rem;
}

.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;
}
.relation .actions img {
    display: block;
    margin: 0 auto;
}
.relation .actions strong {
    color: var(--main-color);
}
.relation .letter {
    font-size: 1.3em;
    color: #fec82f;
    font-weight: bold;
}

.directory-categories {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto 5rem auto;
}
.directory-categories > div {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: calc(100% / 6 - .5%);
    margin-right: .5%;
    margin-bottom: .5%;
    box-shadow: 0 3px 6px RGBA(0, 0, 0, 0.113);
}
.directory-categories a {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}
.directory-categories .title {
    font-weight: bold;
    display: block;
    text-align: center;
    color: #FFFFFF;
    margin: auto;
}
.directory-categories .view-all .title {
    color: var(--main-color);
    font-size: 2rem;
}
.directory-categories img {
    display: block;
    margin: 0 auto;
}


.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;
}

.side .directory h2:after {
    content: " + de 500 produits !";
}

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

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

.block-contact {
    width: 42rem;
    margin: 3rem auto;
    box-shadow: 0 0 12px #efefef;
    border-top: 13px solid var(--main-color);
    border-bottom: 13px solid var(--main-color);
    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 var(--main-color);
    padding: .7rem 1.4rem;
    color: var(--main-color);
}

.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: var(--main-color);
    border-color: var(--main-color);
    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: var(--main-color);
    line-height: 2;
    color: #FFFFFF;
    border-radius: 20px;
    font-style: italic;
    position: fixed;
    bottom: 30px;
    left: 60px;
    padding-left: 50px;
    padding-right: 10px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;

    animation-name: contactdirect;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}
.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: var(--main-color);
    font-size: 40px;
}
@keyframes contactdirect {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

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


.directory-items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.directory-items li {
    border-left: 2px solid #f8f8f8;
    width: 31.875%;
    margin: 0 1.875% 0 0;
    padding-left: 1.875%;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 1.3rem;
}
.directory-items li:first-child {
    border-left: none;
    padding-left: 0;
}
.directory-items li .picture {
    margin: 0;
    height: 10rem;
    display: flex;
}
.directory-items li .picture .fa {
    font-size: 8rem;
    display: block;
    margin: auto;
    color: #F5F5F5;
}
.directory-items li img {
    display: block;
    margin: auto;
    max-height: 100%;
}
.directory-items li .content {
    padding: 1rem;
    margin: 1rem 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.directory-items li p {
    margin: 0;
    color: #999999;
}
.directory-items li p a {
    color: #999999;
}
.directory-items li p.name {
    color: #000000;
}
.directory-items li p.address {
    font-size: .95em;
    line-height: 1.5;
    margin: 1rem 0;
    color: #000000;
}
.directory-items li p.address + p {
    margin-top: auto;
}
.directory-items li.premium .content {
    background: #FFD560;
}
.directory-items li.premium p,
.directory-items li.premium p a {
    color: #000000;
}
.directory-items li .footer {
    font-size: 1.6rem;
    display: flex;
    justify-content: space-between;
    margin-top: .5rem;
    width: 100%;
    padding: 0 1rem;
}
.directory-items li .footer .fa {
    font-size: 2.4rem;
    margin-left: 1rem;
}

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


.directory-search-form input[type=text],
.directory-search-form select {
    border: none;
    background: #EFEEEE;
    outline: none;
    height: 3.4rem;
    padding: 0 1rem;
    color: #000000;
}
.directory-search-form input[type=text],
.directory-search-form select {
    width: 100%;
}
.directory-search-form .geo {
    display: flex;
    justify-content: space-between;
}
.directory-search-form label[for=region],
.directory-search-form label[for=departement] {
    display: inline-block;
    width: 48%;
}
.directory-search-form .button-search {
    text-align: center;
    margin-top: 3rem;
}

.directory-list-search .directory-items {
    flex-wrap: wrap;
}
.directory-list-search .directory-items li {
    border: none;
    box-shadow: 3px 5px 8px RGBA(0, 0, 0, .11);
    width: 30%;
    margin: 2rem 3% 0 0;
    padding: 0;
}
.directory-list-search .directory-items li.premium {
    background: #FFD560;
}
.directory-list-search .directory-items .address + p {
    border-top: 1px solid #F5F5F5;
    padding-top: 1rem;
}

.form-directory dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-directory dl fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
.form-directory input[type=text] {
    border: none;
    border-bottom: 1px solid var(--main-color);
    height: 4rem;
    padding: 0;
    outline: none;
    width: 100%;
}
.form-directory select {
    border: 1px solid var(--main-color);
    height: 4rem;
    padding: 0 2rem;
    width: 100%;
}
.form-directory dd {
    width: 47%;
    margin-bottom: 3rem;
}
.form-directory dt {
    display: none;
}
.form-directory #previewLogo-element,
.form-directory #premium-element,
.form-directory #company_group-element,
.form-directory #address-element,
.form-directory #address2-element {
    width: 100%;
}
.form-directory #active_premium-element {
    width: 3rem;
    margin-left: auto;
    margin-top: 0;
}
.form-directory #active_premium-label {
    display: block;
    width: calc(47% - 3rem);
    max-width: inherit;
    margin-top: 0;
}
.form-directory #logo-label,
.form-directory #logo-element {
    display: block;
    width: 100%;
}
.form-directory #previewLogo-element {
    margin-bottom: 0;
}
.form-directory #deleteLogo-element {
    width: 3rem;
    margin-top: 0;
}
.form-directory #deleteLogo-label {
    display: block;
    width: calc(100% - 3rem);
    max-width: inherit;
    margin-top: 0;
}
.form-directory #register-element {
    margin-top: 0;
    width: 100%;
    text-align: center;
}