:root {
    --primary: #E17806;
    --primary2: #9c560b;
    --secondary: #663500;
    --secondary2: #492805;
    --secondary-transparent: #4928058f;
    --light: #f6e1c5;
    --white: #FFFFFF;
    --black: #000;
    --text-font: 'Raleway', serif;
    --heading-font: 'Raleway', cursive;
    /* --heading-font: 'Lora', cursive; */
}

body {
    font-family: var(--text-font);
    /* background: var(--bs-gray-200); */
    background: url('banner.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

body > * {
    position: relative;
    z-index: 9;
}

body::before {
    content: '';
    display: block;
    position: absolute;
    min-height: 100vh;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.666);
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGUlEQVQ4y2NgoBJwoJAedcGoC0ZdMOAuAABF0hABJ/8lyQAAAABJRU5ErkJggg==);
}

.text-primary {
    color: var(--primary) !important;
}

.text-light {
    color: var(--light) !important;
}

.bg-faded {
    background-color: var(--light);
}

.card {
    color: var(--black);
}

.card .card-body .alert:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5,
.navbar li a,
.btn {
    font-family: var(--heading-font);
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary2);
}

.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:disabled, .btn-primary.disabled, .btn-primary.like-disabled {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #FFF;
}

.btn-primary.like-disabled {
    cursor: default;
    opacity: .65;
}

.btn-primary:hover {
	background: var(--primary2);
}

.navbar-dark {
    background-color: var(--primary);
}

.main-banner {
    /* background: url('banner.jpg') center center no-repeat;
    background-size: cover; */
    position: relative;
    text-shadow: 0 0 .5rem rgba(0,0,0,.5);
}

.navbar-light {
    background: #FFF;
    box-shadow: 0 0 1rem rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 900;
}

.navbar-nav .nav-item .nav-link {
    font-weight: 600;
}

@media (min-width: 992px) {

    .navbar {
        --bs-navbar-nav-link-padding-x: .666rem;
        --bs-nav-link-font-size: .9rem;
        --bs-navbar-padding-y: .75rem;
    }

    .navbar .navbar-text {
        font-size: .8em;
    }

}

img {
    object-fit: scale-down;
}

.img-with-shadow {
    box-shadow: 1rem 1rem 0 var(--secondary-transparent);
}

@media (max-width: 991.98px) {

    .img-with-shadow {
        box-shadow: .25rem .25rem 0 var(--secondary-transparent);
    }

}

.page {
    color: var(--white);
    min-height: calc(100vh - 21rem);
}

.page h2 {
    color: var(--primary);
}

.page hr {
    border-color: var(--primary2);
}

textarea.form-control {
    max-height: 5rem;
}

.form-control:focus {
    border-color: var(--secondary2);
    outline: 0;
    box-shadow: 0 0 0 .05rem var(--primary);
}

.checkboxes-outer label,
.radios-outer label {
	/* margin-right: .75rem; */
	display: block;
	white-space: nowrap;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination {
    --bs-pagination-color: var(--secondary);
    --bs-pagination-active-bg: var(--secondary);
    --bs-pagination-active-border-color: var(--secondary);
    --bs-pagination-hover-color: var(--secondary);
}

.site-footer {
    background: var(--secondary-transparent);
}

table .item-outer,
table .item-img {
    width: 8rem;
}

table .item-img {
    max-height: 8rem;
}

/* copy from old version */

.intro {
    position: relative;
}

.section-heading-upper p:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {

    .section-heading {
        /* line-height: .8; */
    }

    .intro .intro-img {
        width: 75%;
        float: right;
    }

    .intro .intro-text {
        left: 0;
        width: 60%;
        margin-top: 3rem;
        position: absolute;
        /* font-size: 0.7rem; */
        font-size: .8rem;
    }

    .section-heading-upper {
        /* font-size: 0.7rem; */
        font-size: 1rem;
    }

    .intro .intro-text .intro-button {
        width: 100%;
        left: 0;
        position: absolute;
        /* bottom: -2rem; */
        bottom: -1rem;
    }
}

@media (min-width: 1200px) {
    .intro .intro-text {
        width: 45%;
    }
}

@media (min-width: 992px) {
    .product-item .product-item-title {
        position: relative;
        z-index: 1;
        margin-bottom: -3rem;
    }

    .product-item .product-item-img {
        position: relative;
        z-index: 0;
        max-width: 60vw;
    }

    .product-item .product-item-description {
        position: relative;
        z-index: 1;
        margin-top: -3rem;
        max-width: 50vw;
    }
}

/** addedd **/

.intro .intro-text,
.product-item-description {
    color: var(--black);
}

.intro ~ .intro {
    margin-top: 1rem;
}

.intro-text ul {
    text-align: left;
}




/* modals */

.page .modal {
    color: var(--black);
}