/*
    Farines du Litou - Pelican Theme
    Based on Solarize by TEMPLATED (templated.co)
    Creative Commons Attribution 3.0 license
*/

@import url('https://fonts.googleapis.com/css?family=Handlee');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

/* Reset */
html,body,div,span,h1,h2,h3,h4,h5,h6,p,blockquote,a,abbr,address,big,cite,code,
del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,
dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,
output,ruby,section,summary,time,mark,audio,video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; }
ol,ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

*, *:before, *:after {
    box-sizing: border-box;
}

/* Basic */
body {
    background: #222222;
    color: #555555;
    font-family: 'Handlee', cursive;
    font-size: 12pt;
    font-weight: 300;
    line-height: 1.65em;
}

a {
    color: #82b440;
    text-decoration: underline;
}

a:hover {
    color: #a0d060;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

p, ul, ol, dl, table, blockquote {
    margin: 20px 0 2em 0;
}

p {
    line-height: 1.8em;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-weight: 700;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
}

hr {
    border: 0;
    border-top: solid 1px #82b440;
    margin-bottom: 1.5em;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    max-width: 90%;
}

.container.small {
    width: 900px;
}

/* Header */
#header {
    color: white;
    height: 4em;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#header .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5em;
}

#nav ul li {
    border-radius: 4px;
    display: inline-block;
    padding: 0 0.5em;
}

#nav ul li a {
    color: inherit;
    line-height: 4em;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1em;
    transition: all 0.35s ease-in-out;
}

#nav ul li a:hover,
#nav ul li.active a {
    color: white;
}

/* Wrapper */
.wrapper {
    padding: 6em 0em 4em 0em;
}

.wrapper.style1 {
    height: 12em;
    padding: 0em;
    background: #222222 url('../images/farinesdulitou-bg.png') no-repeat;
    background-size: cover;
    background-position-y: 46%;
}

.wrapper.style1 #logo {
    background: url('../images/logo.png') no-repeat;
    background-size: auto auto;
    width: 457px;
    height: 100px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: inherit;
    z-index: 100;
    position: relative;
    background-size: 457px 100px;
    transform: translateY(135%);
      -webkit-transform: translateY(135%);
      -ms-transform: translateY(135%);
      -moz-transform: translateY(135%);
}

.wrapper.style2 {
    background: #f2f2f2;
}

.wrapper.style2 .major {
    text-align: left !important;
}

.wrapper.style2 .major h2 {
    display: block;
    margin-bottom: 0.70em;
    letter-spacing: 1px;
    line-height: 1.4em;
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 400;
}

.wrapper.style2 .major .byline {
    letter-spacing: normal;
    line-height: 1.6em;
    text-transform: capitalize;
    font-size: 1.4em;
}

.wrapper.style2 h3 {
    display: block;
    margin-bottom: 1em;
    letter-spacing: 1px;
    line-height: 1.4em;
    text-transform: uppercase;
    font-size: 1.6em;
    font-weight: 400;
}

.wrapper.style3 {
    padding-bottom: 0.5em;
    background: #82b440;
    text-align: center;
    color: white;
    padding-top 0.5em !important;
}
.wrapper.style3 .container {
    padding-left: 6em;
    padding-right: 6em;
}

.wrapper.style3 p {
    font-size: 1.6em;
    margin: 1px 0 1em 0;
}

.wrapper.style4 {
    background: white;
}

.wrapper.style5 {
    background: #82b440;
    text-align: center;
    color: white;
}

.wrapper.style5 .cert-logos {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    margin-top: 2em;
}

.wrapper.style5 .cert-logos .image {
    display: inline-block;
}

.wrapper.style5 .cert-logos .image img {
    border-radius: 50%;
    border: 10px solid white;
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: white;
}

/* Section headers */
header.major {
    text-align: center;
    text-transform: uppercase;
}

header.major h2 {
    font-size: 2.6em;
    font-weight: 700;
}

header.major .byline {
    display: block;
    letter-spacing: 1px;
    font-size: 1.4em;
}

/* Map section */
#map-section {
    position: relative;
    height: 400px;
    background: #333;
}

#map-section #map {
    width: 100%;
    height: 100%;
}

/* Tables */
table.default {
    width: 100%;
}

table.default tbody tr {
    border-bottom: solid 1px #82b440;
}

table.default td {
    padding: 0.5em 1em;
}

table.default th {
    font-weight: 700;
    padding: 0.5em 1em;
    text-align: left;
}

table.default thead {
    background: #555555;
    color: #fff;
}

table.price {
    width: 60%;
    margin: 1em auto;
}

/* Buttons */
.button {
    background: none;
    border: 2px solid #82b440;
    border-radius: 0;
    color: #82b440;
    cursor: pointer;
    display: inline-block;
    padding: 0.90em 1.2em;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.4em;
    transition: all 0.35s ease-in-out;
}

.button:hover {
    background: #82b440;
    color: white;
}

.button.alt {
    border-color: inherit;
    color: inherit;
}

.button.alt:hover {
    background: white;
    color: #82b440;
}

/* Icons lists */
ul.icons {
    cursor: default;
    padding-bottom: 2em;
}

ul.icons li {
    display: inline-block;
    line-height: 1em;
    padding: 0.5em 1em;
}

ul.icons li a {
    text-decoration: none;
    font-size: 2em;
    color: inherit;
    opacity: 0.2;
    transition: all 0.35s ease-in-out;
}

ul.icons li a:hover {
    opacity: 1;
}

/* Special icons */
ul.special-icons {
    margin: 0;
    padding: 0;
}

ul.special-icons > li {
    position: relative;
    padding: 0.50em 0;
}

ul.special-icons h3 {
    margin-bottom: 0.80em;
    line-height: 2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2em;
}

ul.special-icons .fa {
    float: left;
    display: inline-block;
    padding-right: 1em;
    font-size: 1.4em;
    color: #82b440;
}

ul.special-icons p {
    padding-left: 2.7em;
}

/* Content section within white/light bg */
.content-section {
    padding: 4em 0;
}

.content-section h2 {
    margin-bottom: 0.70em;
    letter-spacing: 1px;
    line-height: 1.4em;
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 400;
}

.content-section h3 {
    margin-bottom: 1em;
    letter-spacing: 1px;
    line-height: 1.4em;
    text-transform: uppercase;
    font-size: 1.6em;
    font-weight: 400;
}

/* Product sections */
.product-block {
    margin-bottom: 2.5em;
}

.product-block h3 {
    color: #82b440;
    margin-bottom: 0.5em;
}

.product-block p {
    line-height: 1.8em;
}

.product-block .varieties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 0.8em 0;
}

.product-block .variety-tag {
    background: rgba(130, 180, 64, 0.15);
    color: #82b440;
    padding: 0.2em 0.7em;
    border-radius: 3px;
    font-size: 0.95em;
}

/* Image feature */
.image.fit {
    display: block;
}

.image.fit img {
    display: block;
    width: 100%;
}

/* Footer */
#footer {
    padding: 6em 0 2em 0;
    text-align: center;
    color: white;
}

#footer hr {
    border: 0;
    border-bottom: 1px solid;
    border-color: inherit;
    opacity: .05;
}

#footer .footer-info p {
    margin: 0.3em 0;
    line-height: 1.8em;
}

#footer .footer-info a {
    color: #82b440;
}

#footer .copyright {
    margin-top: 3em;
    text-align: center;
}

/* Copyright */
#copyright {
    position: relative;
    text-transform: uppercase;
    text-align: center;
    padding: 1em 0em 2em 0em;
    color: inherit;
    opacity: .40;
}

#copyright a {
    text-decoration: none;
    color: inherit;
}

/* Banner strip - thin black bar under header */
#banner {
    background-color: #222222;
    height: 12px;
    position: absolute;
    top: 12em;
    left: 0;
    right: 0;
    z-index: 100;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
}

.contact-info h3 {
    margin-bottom: 1em;
}

.contact-info .contact-item {
    margin-bottom: 1em;
    line-height: 1.8em;
}

.contact-info .contact-item .label {
    font-weight: 700;
    display: inline;
}

.contact-info .contact-item a {
    color: #82b440;
}

.contact-map {
    min-height: 350px;
    background: #333;
}

.contact-map #map-contact {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* Responsive */
@media (max-width: 1280px) {
    body {
        font-size: 11pt;
    }
    .container {
        width: 960px;
    }
}

@media (max-width: 980px) {
    .wrapper.style1 #logo {
        width: 80%;
        background-size: 100% 100px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    table.price {
        width: 90%;
    }
}

@media (max-width: 840px) {
    .wrapper {
        padding: 4em 0 2em 0;
    }
    header.major h2 {
        font-size: 1.6em;
    }
    header.major .byline {
        font-size: 1.1em;
    }
}

@media (max-width: 640px) {
    #header {
        height: auto;
        padding: 0.5em 0;
    }
    #nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    #nav ul li a {
        line-height: 2.5em;
        font-size: 0.9em;
    }
    .wrapper.style1 {
        min-height: 300px;
        padding-top: 10em;
    }
    .wrapper.style1 #logo {
        width: 90%;
        height: 83px;
        background-size: 100% 60px;
    }
    #banner {
        top: calc(12em + 8em);
    }
    .wrapper {
        padding: 3em 0 2em 0;
    }
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1.2em;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    table.price {
        width: 100%;
    }
    #map-section {
        height: 280px;
    }
}
