body {
    scroll-behavior: smooth;
}

.nav-link {
    display: block;
    /*padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);*/
    padding: 0.2rem var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    background: 0 0;
    border: 0;
}

.nav-item:hover {
    border-bottom: 5px solid #f7d901;
    margin-bottom: -5px;
}

h1.home-top{
    position: absolute;
    top: 70%;
    width: 50%;
    z-index: 10;
    text-align: end;
    left: 50%;
    padding-right: 5%;
}

h1.home-top > span{
    padding: 0px 1rem;
    background-color: #f7da01d9;
    line-height: 1.7;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-size: 36px;
    color: #000;
}

h1.home-top-mobile{
    margin-right: 5%;
    margin-left: 3%;
}

h1.home-top-mobile > span{
    padding: 0px 1rem 0px 0.5rem;
    background-color: #f7da01d9;
    line-height: 1.7;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-size: 30px;
    color: #000;
}

@media only screen and (min-width:768px) and (max-width: 991px) 
{
    h1.home-top{
        position: absolute;
        top: 55%;
        width: 50%;
        z-index: 10;
        text-align: end;
        left: 50%;
        padding-right: 5%;
    }

    h1.home-top > span{
        padding: 0px 1rem;
        background-color: #f7da01d9;
        line-height: 1;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        font-size: 24px;
        color: #000;
    }
} 

@media only screen and (min-width:992px) and (max-width: 1199px) 
{
    h1.home-top{
        position: absolute;
        top: 60%;
        width: 50%;
        z-index: 10;
        text-align: end;
        left: 50%;
        padding-right: 5%;
    }

    h1.home-top > span{
        padding: 0px 1rem;
        background-color: #f7da01d9;
        line-height: 1.5;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        font-size: 30px;
        color: #000;
    }
} 

@media only screen and (min-width:1400px) 
{
    h1.home-top{
        position: absolute;
        top: 90%;
        width: 50%;
        z-index: 10;
        text-align: end;
        left: 50%;
        padding-right: 5%;
    }

    h1.home-top > span{
        padding: 0px 1rem;
        background-color: #f7da01d9;
        line-height: 1.7;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        font-size: 40px;
        color: #000;
    }
} 

.video-home{
    position: relative;
}

#home-video-container {
    display: inline-block;
    position: relative;
}

@media (min-width:992px) {
    #home-video-container {
        display: inline-block;
        position: relative;
        height: 35rem;
    }
}

@media (min-width:768px) and (max-width:991px) {
    #home-video-container {
        display: inline-block;
        position: relative;
        height: 27rem;
    }
}


.mid-container{
    height: 850px;
    position: relative;
}

.mid-image-1{
    position: absolute;
    top: 5%;
    z-index: 10;
    left: 12%;
    width: 450px;
    height: 496px;
}

.mid-image-2{
    position: absolute;
    top: 53%;
    z-index: 1;
    left: 43%;
    width: 580px;
    height: 399px;
}

/* TEXT BOXES */

.top-textbox-1{
    position: absolute;
    top: 12.5%;
    z-index: 15;
    left: 50%;
    padding-right: 10%;
    line-height: 1.2rem;
}

.top-textbox-2{
    position: absolute;
    top: 21.9%;
    z-index: 15;
    left: 50%;
    padding-right: 10%;
    line-height: 1.2rem;
}

.top-textbox-3{
    position: absolute;
    top: 29.9%;
    z-index: 15;
    left: 50%;
    padding-right: 10%;
    line-height: 1.2rem;
}

.top-textbox-4{
    position: absolute;
    top: 74.8%;
    z-index: 15;
    left: 6%;
    padding-right: 58%;
    line-height: 1.1rem;
    text-align: end;
}

.top-textbox-5{
    position: absolute;
    top: 80.5%;
    z-index: 15;
    left: 6%;
    padding-right: 58%;
    line-height: 1.1rem;
    text-align: end;
}

.top-textbox-6{
    position: absolute;
    top: 87.4%;
    z-index: 15;
    left: 6%;
    padding-right: 58%;
    line-height: 1.1rem;
    text-align: end;
}

/* END TEXT BOXES */

#product-desktop {
    scroll-margin-top: 500px;
}

@media (min-width:576px) {
    #product-desktop {
        scroll-margin-top: 40px;
        /*height: 58rem;*/
    }
}

#how-to-desktop {
    scroll-margin-top: 100px;
}

div.caption > p {
    margin-bottom: 0.5em;
    line-height: normal;
}

div.caption-mobile {
    padding-bottom: 1em;
}

div.caption-mobile > span{
    font-weight: bold;
    color: #c00000;
}

div.caption-mobile p:first-of-type {
    line-height: normal;
    display: inline;
}

div.caption-mobile p:nth-of-type(2) {
    line-height: normal;
    display: block;
    margin-top: 1rem;
}

.mid-image-mobile{
    object-fit: contain;
}

.product-image {
    width: 100%;
    object-fit: contain;
}

.pdf-logo {
    width: 4rem;
    object-fit: contain;
    padding-left: 1rem;
}

.price-container-with-tag{
    position: relative;
    height: 180px;
}

.price-container{
    position: relative;
    height: 100px;
}

.price {
    position: absolute;
}

.price div {
    font-size: 60px !important;
}

sup.units{
    font-size: 0.27em;
    top: -1.8em;
    left: 0.3em;
}

.price-tag {
    width: 90px;
    position: absolute;
    top: 60px;
    left: 120px;
}

div.discount-div p:first-of-type {
    display: inline;
}

div.low-quantity-div p:first-of-type {
    margin: 0%;
    display: inline;
}

.info-logo {
     width: 2rem;
}

.buy-now {
    width: 230px;
    object-fit: contain;
}

.r-value-text {
    font-size: 20px;
}

.r-value-card-img {
    object-fit: cover;
}

.r-value-logo-img {
    object-fit: contain;
    height: 90px;
}

.g-6, .gx-6 {
    --bs-gutter-x: 5rem;
}

.g-6, .gy-6 {
    --bs-gutter-y: 5rem;
}

.text-free {
    color:#185c36;
}

a.inner-link{
    text-decoration: none;
}

a.inner-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.2rem;
    color: #f7da01d9;
}

.inner-links a{
    text-decoration: none;
    color: #000;
}

.inner-links a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.2rem;
    text-decoration-color: #f7da01d9;
    text-underline-offset: 0.25em !important;
    color: #000;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.form-check-input:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem #f7da01b3;
}

.form-control {
    border-radius: 0px;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    outline: 0;
    box-shadow: 0 0 0 .25rem #f7da01b3;
}

.info-modal .modal-header {
    border-bottom: 0px;
}

.info-modal .modal-footer {
    border-top: 0px;
}

footer {
    font-size: 14px;
    height: 10rem;
}

.nav-link:focus {
    color: #000;
}

a.dropdown-item:focus {
    background-color: #000;
    color: white;
}

.row.shoppingcart-main-row {
    background-color: #f7da01;
}

.photo-container {
    position: relative;
    /*width: 75%; /* The size you want */
    width: 100%;
    object-fit: contain;
}

.photo-container:after {
    content: "";
    display: block;
    padding-bottom: 100%; /* The padding depends on the width, not on the height, so with a padding-bottom of 100% you will get a square */
}

.photo-container img {
    position: absolute; /* Take your picture out of the flow */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; /* Make the picture taking the size of it's parent */
    width: 100%; /* This if for the object-fit */
    height: 100%; /* This if for the object-fit */
    object-fit: contain; /* Equivalent of the background-size: cover; of a background-image */
    object-position: center;
}

input[type=number].shoppingcart-form
{
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 25px;
    padding-right: 0px;
}

.mx-4_rem {
    margin-right: 4rem!important;
    margin-left: 4rem!important;
}

button.btn-buy{
    background-color: #f7da01;
    color: #000;
    font-weight: bold;
}

button.btn-buy:first-child:active{
    background-color: #000;
    color: #f7da01;
    font-weight: bold;
    border-style: solid;
    border-width: 1px;
    border-color: #f7da01 !important;
}

button.btn-buy:hover{
    background-color: #f7da01;
    color: #000;
    font-weight: bold;
}

button.btn-yellow{
    background-color: #f7da01;
}

button.btn-yellow:hover{
    background-color: #f7da01;
    color: #000;
    font-weight: bold;
}

button.btn-yellow:first-child:active{
    background-color: #000;
    color: #f7da01;
    font-weight: bold;
    border-style: solid;
    border-width: 1px;
    border-color: #f7da01 !important;
}

a.btn-yellow{
    background-color: #f7da01;
}

a.btn-yellow:hover{
    background-color: #f7da01;
    color: #000;
    font-weight: bold;
}
