.layout-container { height: 100%; }

#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 6px 0px; }
#header .wrapper { position: relative; width: 100%; max-width: 1080px; margin: 0 auto;
    background-color: #ffffff; }

.header-main { overflow: hidden; padding: 0 15px; height: 55px; }

main { position: relative; width: 100%; height: 100%; }
main section#wrapper { position: relative; height: 100%; min-height: 100%;
    background: transparent; }

body.type-page main #wrapper,
body.contact main #wrapper,
body.faq main #wrapper,
body.nos-produits main #wrapper,
body.product main #wrapper,
body.cart main #wrapper,
body.checkout main #wrapper,
body.type-article main #wrapper,
body.user main #wrapper { margin-top: 100px; }

body.type-page.frontpage main #wrapper { margin-top: 0; }

#block-gencix-primary-local-tasks { margin: 0 0 40px 0; padding: 0 20px; text-align: center; }
#block-gencix-primary-local-tasks ul li { display: inline-block; list-style: none; margin: 0; padding: 0; }
#block-gencix-primary-local-tasks ul li a { display: inline-block; padding: 3px 8px; margin: 3px;color: #ffffff; text-decoration: none; font-family: 'ecdmed', sans-serif; font-size: 12px; border: 2px #7bb914 solid; border-radius: 15px;
    background-color: #7bb914; }
#block-gencix-primary-local-tasks ul li a:hover { color: #7bb914;
    background-color: #ffffff; }
#block-gencix-primary-local-tasks ul li a.is-active { pointer-events: none; opacity: 0.3; }

#petit-logo { position: absolute; top: 0; left: 0; height: 0; width: 55px; padding-top: 55px; overflow: hidden;
    background-color: transparent; background-image: url('../../images/gencix-G-green.png'); background-size: 24px; background-repeat: no-repeat; background-position: center; }

.block-gencix-site-branding { position: relative; float: left; top: 10px; }
.block-gencix-site-branding a { display: block; width: 148px; }
.block-gencix-site-branding a img { display: block; }

#block-gencix-main-menu { position: absolute; top: 0; left: 0; width: 100%; }
#block-gencix-main-menu h2 { display: none; position: absolute; right: 110px; margin: 0; width: 55px; height: 0; padding: 55px 0 0 0; overflow: hidden; cursor: pointer;
    background-color: transparent; background-image: url('../../images/menu.png'); background-repeat: no-repeat; background-size: 28px; background-position: top 15px center; }
#block-gencix-main-menu ul { position: absolute; right: 110px; top: 0; }
#block-gencix-main-menu ul li { display: inline-block; }

#block-gencix-main-menu a { display: inline-block; font-family: 'ecdmed', sans-serif; color: #222222; text-decoration: none; font-size: 13px; line-height: 53px; padding: 0 12px; border-bottom: 2px solid #ffffff;
    transition: all 0.3s; }
#block-gencix-main-menu a:hover { border-bottom: 2px solid #7bb914; }
#block-gencix-main-menu a.is-active { opacity: 0.1; pointer-events: none; }

#block-gencix-main-menu a.professionnels { color: #7bb914; padding-left: 35px;
    background-image: url('../../images/dent.png'); background-position: left 6px center; background-size: 24px; background-repeat: no-repeat; }

#block-user-menu { position: absolute; top: 0; right: 0; pointer-events: all; }
#block-user-menu h2 { display: none; position: absolute; top: 0; right: 0; height: 55px; width: 0; overflow: hidden; padding: 0 0 0 55px; margin: 0; cursor: pointer;
    background-color: transparent; background-image: url('../../images/user.png'); background-size: 26px; background-repeat: no-repeat; background-position: top 15px center; }
#block-user-menu h2:hover { background-position: bottom 14px center; }
body.user-logged-in #block-user-menu h2 { display: block; }
#block-user-menu ul li a { display: block; position: absolute; top: 0; right: 0; height: 55px; width: 0; overflow: hidden; padding: 0 0 0 60px; cursor: pointer;
    background-color: transparent; background-image: url('../../images/user.png'); background-size: 26px; background-repeat: no-repeat; background-position: top 14px center; }
#block-user-menu ul li a:hover { background-position: bottom 15px center; }

#block-gencix-cart { position: absolute; top: 0; right: 55px; }
.cart-block--summary a { display: block; position: relative; width: 55px; height: 0; padding-top: 55px; overflow: hidden;
    background-color: transparent; background-image: url('../../images/cart-hover.png'); background-size: 26px; background-repeat: no-repeat; background-position: top 15px center; }
.cart-block--summary a:hover { background-position: bottom 14px center; }
.cart-block--summary a span { position: absolute; color: #ffffff; height: 20px; line-height: 20px; padding: 0 8px; right: 5px; top: 5px; border-radius: 20px; font-family: 'ecdmed', sans-serif; font-size: 14px; letter-spacing: 0; pointer-events: none;
    background-color: #7bb914; }

#block-gencix-breadcrumbs { position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px; z-index: 1; }
#block-gencix-breadcrumbs nav ol { list-style: none; margin: 20px 0; padding: 0; }
#block-gencix-breadcrumbs nav ol li { display: inline-block; position: relative; padding: 0 10px; }
#block-gencix-breadcrumbs nav ol li::after { content: '>'; display: block; position: absolute; right: -5px; bottom: -1px; color: #7bb914; }
#block-gencix-breadcrumbs nav a { font-family: 'ecdmed', sans-serif; color: #222222; text-decoration: none; font-size: 13px; padding: 10px 0; }
#block-gencix-breadcrumbs nav a:hover { border-bottom: 1px solid #222222; }

#block-title,
#block-gencix-titredelapage { width: 100%; text-align: center; padding: 0 20px; }
#block-title h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
#block-title h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }

body.type-page article { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

#first-content { padding-bottom: 20px; }
body.frontpage #first-content { padding-bottom: 0; }

#first-content .wrapper { width: 100%; margin: 0 auto; }

#first-content .wrapper .content h2 { text-align: center; }

#second-content { clear: both; }
#second-content .wrapper {  }

/** Page Specific Content **/

section#histoire { padding: 50px 50px 0; }
section#histoire img#cotedivory { width: 100%; max-width: 460px; float: left; margin: -50px 50px 30px -50px; }

#block-team-members { text-align: center; }
#block-team-members h2::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }
#block-team-members #team-head { width: 100%; max-width: 600px; margin: 0 auto; }
#block-team-members #team-head p { text-align: center; }
#block-team-members #team-points { overflow: hidden; max-width: 760px; margin: 0 auto 60px; }
#block-team-members #team-points ul { margin: 0; padding: 0; }
#block-team-members #team-points ul li { float: left; width: 20%; padding: 30px 0 0; list-style: none; }
#block-team-members #team-points ul li span.figure { display: block; font-family: 'ecdmed', sans-serif; font-size: 30px; color: #7bb914; margin-bottom: 10px; }

#block-team-members .view-content { overflow: hidden; width: 100%; max-width: 780px; margin: 0 auto; }
#block-team-members .view-content .views-row { float: left; width: 33%; width: calc(100% / 3); padding: 20px; min-height: 360px; }

#block-team-members .view-content .views-row .views-field-field-photo-profil { margin-bottom: 25px; }
#block-team-members .view-content .views-row .views-field-field-photo-profil img { border-radius: 50%; }

#block-team-members .view-content .views-row .views-field-title { margin-bottom: 10px; }
#block-team-members .view-content .views-row .views-field-title h4 { font-size: 20px; }

#block-team-members .view-content .views-row .views-field-field-titre-demploi { font-size: 14px; line-height: 18px; }

/** Article Blog Pages **/

body.type-article #first-content { margin-bottom: 80px; }
body.type-article article { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 20px; }
body.type-article article .field_image_principale { width: 100%; max-width: 560px; float: left; margin: 0 30px 30px -50px; }
body.type-article article .tags { display: table; margin: 0 0 15px -15px; }
body.type-article article .tags div { display: table; list-style: none; margin: 0 10px 10px 0; color: #ffffff; padding: 5px 15px; font-size: 12px; border-radius: 25px; font-family: 'ecdmed', sans-serif; text-decoration: none;
    background-color: #7bb914; }

#block-blog-source { display: block; padding: 0 20px; margin: 50px auto 0; width: 100%; max-width: 780px; }
#block-blog-source .views-field-views-conditional-field em { font-size: 13px; color: #7bb914; }
#block-blog-source .views-field-field-source-1 { font-family: 'ecdmed', sans-serif; font-size: 15px; }
#block-blog-source .views-field-field-source-1 a {  }
#block-blog-source .views-field-field-source-auteur {  }
#block-blog-source .views-field-field-source-date { font-size: 13px; }

/** Product listing Page **/

body.nos-produits h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
body.nos-produits h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }

.product-list-page { width: 100%; max-width: 1080px; margin: 0 auto; overflow: hidden; }
.product-list-page .view-content { overflow: hidden; }
.product-list-page .view-content .views-row { position: relative; width: 33%; width: calc(100% / 3); float: left; padding: 0 40px; text-align: left; margin-bottom: 60px; }

.product-list-page .views-row span { display: block; }
.product-list-page .views-row a { display: block; }
.product-list-page .item-list { clear: both; }
.product-list-page .views-row .views-field-views-conditional-1 { float: none; margin-top: 40px; }

.product-list-page .views-row .prod-info { position: relative; padding-top: 10px; height: 180px; }
.product-list-page .views-row a { text-decoration: none; color: #222222; }
.product-list-page .views-row a img { width: 100%; height: auto; }
.product-list-page .views-row a span.prod-title { font-family: 'ptsbold', sans-serif; font-size: 19px; margin: 10px 0; padding: 0 50px 0 0; }
.product-list-page .views-row a span.prod-desc { margin-bottom: 10px; padding: 0 50px 0 0; font-size: 14px; line-height: 19px; }
.product-list-page .views-row a .prod-wrap { height: 145px; margin-bottom: 10px; overflow: hidden; }
.product-list-page .views-row a span.prod-price { font-family: 'ecdmed', sans-serif; color: #7bb914; font-size: 21px; }
.product-list-page .views-row a span.prod-price .prix-small { display: inline; font-size: 13px; }
.product-list-page .views-row a span.prod-price .par-mois { font-size: 13px; }

.product-list-page .views-field-views-conditional-field-1 { margin-top: 30px; }
.product-list-page .views-field-views-conditional-field-1 form { padding: 0; }
.product-list-page .views-field-views-conditional-field-1 .field--widget-commerce-product-variation-attributes { display: none; }

.product-list-page .option-btn { text-align: center; margin-top: 15px; }
.product-list-page .option-btn a { display: block; float: none; margin: 0; padding: 15px 55px 15px 25px; font-family: 'ecdmed', sans-serif; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; border: 2px solid #222222;
    background-color: #ffffff; background-image: url('../../images/arrow-black.svg'); background-repeat: no-repeat; background-size: 22px; background-position: right 20px center; }

/** Cart Setup **/

body.cart h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
body.cart h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }

/** Checkout Setup **/

body.checkout h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
body.checkout h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }

/** Contact Page **/

body.contact h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
body.contact h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }
body.contact #block-gencix-content { margin-bottom: 80px; }
body.contact #edit-actions input { display: inline-block; width: auto; }

/** User pages **/

body.user #first-content { margin-bottom: 80px; }

body.user h1 { display: inline-block; position: relative; font-size: 42px; letter-spacing: -0.02em; line-height: 45px; padding-bottom: 40px; margin-bottom: 40px; }
body.user h1::after { content: ' '; position: absolute; display: block; bottom: 0; left: 0; width: 40px; height: 3px;
    background-color: #7bb914; }

/** Responsiveness **/

@media only screen and (max-width: 980px) {
    #block-gencix-main-menu h2 { display: block; }
    #block-gencix-main-menu h2:hover { background-position: bottom 12px center; }
    #block-gencix-main-menu ul { display: none; width: 100%; right: 0; top: 55px; }
    #block-gencix-main-menu ul li { display: block; width: 100%; text-align: center;
        background: rgba(255, 255, 255, 0.95); }
    #block-gencix-main-menu ul li a {  }
}

@media only screen and (min-width: 981px) {
    #block-gencix-main-menu ul { display: block !important; }
}
    
@media only screen and (max-width: 720px) {
    body.cart h1,
    body.checkout h1 { font-size: 32px; line-height: 33px; padding-bottom: 35px; margin-bottom: 40px; }
    
    section#histoire { padding: 0; }
    section#histoire img#cotedivory { margin: -50px 30px 20px -50px; }
    #block-team-members h2 { font-size: 32px; line-height: 33px; padding-bottom: 35px; margin-bottom: 40px; }
}

@media only screen and (max-width: 690px) {
    #block-team-members .view-content .views-row { width: 50%; }
    #block-team-members #team-points ul li { width: 50%; min-height: 100px; }
    
    .product-list-page .view-content .views-row { width: 50%; padding: 0 20px; }
}

@media only screen and (max-width: 660px) {
    section#histoire img#cotedivory { float: none; }
}

@media only screen and (max-width: 460px) {
    body.cart h1,
    body.checkout h1 { font-size: 30px; line-height: 32px; }
    
    #block-team-members h2 { font-size: 30px; line-height: 32px; }
    #block-team-members .view-content .views-row { width: 100%; }
    
    .product-list-page .view-content .views-row { width: 100%; }
}
