:root {
    --linkcolor: #516800;
    --linkhovercolor: #799B00;
}

html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
    margin: 0;
    padding: 0;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

address {
    margin-bottom: 1rem;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th, caption {
    font-weight: normal;
    text-align: left;
}

img {
    border: 0;
}

ol {
    padding-left: 1.2rem;
    list-style: decimal;
}

ul {
    padding-left: 1.2rem;
    list-style: square;
}

q:before, q:after {
    content: ''
}

label.error, span.error, span.success {
    display: block;
    font-weight: bold;
}

span.success {
    color: #626A21;
}

label.error, span.error {
    color: red;
}

span.error, span.success {
    margin-top: 1rem;
}

body {
    background-color: #A0AB40;
    font-family: arial, helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #626A21;
    font-family: "Trebuchet MS", arial, helvetica, sans-serif;
    font-weight: normal;
}

h1 {
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 0.5rem;
}

body > header {
    background-color: #626A21;
}

body > header a:link {
    color: white;
}

.w-logo {
    width: 50%;
}

@media screen and (max-width: 991px) {
    .w-logo {
        width: 70%;
    }
}

@media screen and (max-width: 767px) {
    .w-logo {
        width: 100%;
    }
}

nav {
    font-family: "Trebuchet MS", arial, helvetica, sans-serif;    
}

nav.menu .list-group-item {
    background-color: #7E9123;
    border-radius: 0.5rem;
    color: #FFF;
    margin: 0.25rem 0;
    padding: 0.2rem 0.75rem;
}

.list-group-item+.list-group-item.active { margin-top: 0.25rem; }

nav.menu .list-group-item:first-child {
    margin-top: 0;
}

nav.menu .list-group-item:hover {
    background-color: #A0AB40;
}

nav.menu .list-group-item.active {
    background-color: #626A21;
}

.modal.nav-modal {
    font-family: "Trebuchet MS", arial, helvetica, sans-serif;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.nav-modal .modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.nav-modal .modal-dialog {
    max-width: none;
}

.nav-modal .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.nav-modal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 50px;
    padding: 10px;
}

.nav-modal .modal-title {
    font-weight: 300;
    font-size: 2em;
    line-height: 30px;
}

.nav-modal .modal-body {
    position: absolute;
    top: 50px;
    bottom: 60px;
    width: 100%;
    font-weight: 300;
    overflow: auto;
}

.nav-modal .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    padding: 10px;
    background: #f1f3f5;
}

.nav-modal ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-modal ul li {
    padding: 2px 0;
}

.nav-modal.nav-sub ul li:first-child {
    border-bottom: 1px solid #DDD;
}

.nav-modal ul li a {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    font-weight: 400;
    color: #222;
    text-decoration: none;
}

.nav-modal ul li:hover {
    background-color: #F5F5F5;
}

#content {
    background-color: #FFF;
    border-radius: 1rem;
    margin: 2rem auto;
    min-height: 580px;
    padding: 2rem;
}

@media screen and (max-width: 575px) {
    #content {
        border-radius: 0;
        margin: 0;
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 575px) {
    #content.home {
        padding: 0 0 1rem 0;
    }
}

@media screen and (max-width: 575px) {
    #content h1 {
        font-size: 1.6rem;
    }
    #content h2 {
        font-size: 1.4rem;
    }
    #content h3 {
        font-size: 1.3rem;
    }
}

#content p {
    margin: 1rem 0;
}

.welcome {
    width: 72%;
}

.promotions {
    width: 28%;
}

@media screen and (max-width: 1399px) {
    .promotions {
        width: 27%;
    }
    .welcome {
        width: 71%;
    }
}

@media screen and (max-width: 1199px) {
    .promotions {
        width: 32%;
    }
    .welcome {
        width: 65%;
    }
}

@media screen and (max-width: 991px) {
    .welcome, .promotions {
        width: 100%;
    }
}

.promotions .card {
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.promotions .card:hover img { opacity: 0.7; }

@media screen and (max-width: 991px) {
    .promotions {
        margin-top: 1.25rem;
    }
    .promotions .card {
        margin: 0 1rem 1.5rem 1rem;
    }
}

.features {
    margin-top: 1rem;
}

@media screen and (max-width: 991px) {
    .features {
        background: #EEE;
        margin: 0 -2rem -2rem -2rem;
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 575px) {
    .features {
        margin: 0;
        margin-bottom: -1rem;
    }
}

.features .card {
    border-radius: 0;
    margin: 0.75rem 1.5rem 0.75rem 0;
    width: 150px;
}

@media screen and (max-width: 991px) {
    .features .card {
        margin: 0.75rem;
    }
}

.features .card:hover { opacity: 0.7; }

.features a {
    font-family: "Trebuchet MS", arial, helvetica, sans-serif;
    line-height: 1.25rem;
}

.features a:hover { text-decoration: none; }

.form-regular {
    background-color: #EEE;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.form-regular .form-group:last-child {
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.form-label {
    font-size: 80%;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hint {
    color: #666;
    font-size: 90%;
}

.required {
    color: red;
    padding-right: 0.25em;
}

input.fullname {
    width: 100%;
}

input[type=email] {
    width: 100%;
}

input[type=tel] {
    width: 100%;
}


@media(min-width:768px) {
    input[type=date], input[type=time], input[type=tel] {
        width: 12rem;
    }
    
    input[type=file], textarea.form-control {
        width: 35rem;
    }
    
    input.fullname, textarea.address, input[type=email], input[type=password], input[type=tel], select.form-control {
        width: 24rem;
    }

    .form-regular {
        display: inline-block;
    }
}

.mt-4-5 {
    margin-top: 2.6rem;
}

.multiline-list {
    margin-bottom: 1rem;
}

.multiline-list li {
    padding-bottom: 0.75rem;
}

.img-content-sm-25 {
        float: right;
        height: auto;
        margin: 0 0 0.5rem 0.5rem;
        width: 48%;
}

.img-content-sm-25, .img-content-sm-50 {
    margin-bottom: 1.5rem;
}

@media(min-width:768px) {
    .img-content-sm-25 {
        float: right;
        height: auto;
        margin: 0 0 1rem 1rem;
        width: 25%;
    }
    .img-content-sm-50 {
        float: right;
        height: auto;
        margin: 0 0 1rem 1rem;
        width: 50%;
    }
}

#map {
    max-width: 600px;
}

#map iframe {
    border: none;
}

.phone-label {
    display: inline-block;
    width: 3rem;
}

figcaption {
    font-size: 80%;
    margin-top: 0.5rem;
}

.products {
    margin-bottom: 1rem;
    overflow: auto;
}

.products .card {
    font-family: "Trebuchet MS", arial, helvetica, sans-serif;    
    margin: 1rem;
    padding: 0;
}

@media screen and (max-width: 1199px) {
    .products .card {
        margin: 0.75rem;
    }
}

@media screen and (max-width: 991px) {
    .products .card {
        margin: 0.5rem;
    }
}

.products .card:last-of-type {
    margin-right: 0;
}

#content .products .card p {
    color: #444;
    margin: 0.25rem 0 0 0;
    text-align: center;
}

#content .products .card p:first-of-type {
    font-size: 90%;
}

.products .card p .price {
    color: #000;
    font-weight: bold;
}

.clear-right {
    clear: right;
}

#logs-gallery {
    float: right;
    margin-left: 1rem;
    width: 250px
}

@media screen and (max-width: 767px) {
    #logs-gallery {
        float: none;
        margin: 0 auto;
        margin-top: 1rem;
    }
}

body #footer1 {
    background-color: #7E9123;
    padding: 1rem 0;
}

body #footer2 {
    background-color: #626A21;
    color: white;
    padding: 1rem 0;
}

body > footer .social-media {
    font-weight: bold;
}

/* Alerts */

.alert {
    margin-bottom: 1rem;
    padding: 0;
}

.alert a.btn { text-decoration: none; }

.alert p {
    margin-bottom: 5px;
    margin-left: 50px;
    margin-top: 5px;
}

.alert.alert-dismissible { padding-right: 4em; }

.alert > div { padding: 1rem; }

.alert .alert-icon .fa-solid { font-size: 200%; }

.alert .alert-description p {
    margin-left: 0;
    margin-top: 0;
}

.alert .alert-description p:last-child { margin-bottom: 0; }

/* Font Awesome */

.fa-ul { margin-left: 1.75rem; }

i.fa-brands, i.fa-solid { margin-right: 0.15rem; }

i.fa-solid.fa-square-up-right {
    margin-left: 0.25rem;
    margin-right: 0;
}

/* Accordion */

.accordion-header:hover img { opacity: 0.7; }

.accordion-button { color: var(--linkcolor); }

.accordion-button, .accordion-button:not(.collapsed) {
    background-color: #F4F4F4;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    text-transform: none;
}

@media screen and (min-width: 576px) /* SM */ {
    .accordion-button, .accordion-button:not(.collapsed) {
        padding: 0.75rem 1.25rem;
    }
}

@media screen and (min-width: 992px) /* LG */ {
    .accordion-button, .accordion-button:not(.collapsed) {
        font-size: 1.5rem;
    }
}

.accordion-button:focus { box-shadow: none; }

.accordion-button:hover {
    background-color: white;
    color: var(--linkhovercolor);
}

.accordion-button h2 { font-size: 1.3rem; }

.accordion-button h3 { font-size: 1rem; }

.accordion-button .title { color: var(--linkcolor); font-weight: 700; margin-bottom: 0; }

.accordion-button:hover .title { color: var(--linkhovercolor); }

.accordion-body  { padding: 0.75rem 0.5rem; }

@media screen and (min-width: 576px) /* SM */ {
    .accordion-body { padding: 0.75rem 1.25rem; }
}

.accordion-body *:last-child { margin-bottom: 0; }

.accordion-footer { background-color: #F4F4F4; padding: 1.25rem; }

