body {
    color: #3f4144;
    background-color: #F6F6F6;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
}

.bg-gray {
    background-color: #F6F6F6;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    border-radius: 50%;
}

.logo {
    max-width: 152px;
    max-height: 152px;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.transform-zoom {
    transition: transform .4s; /* Animation */
}

.transform-zoom:hover {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.home-page-image-engine-parts {
    background-image: url('../engine_homepage.png');
    background-color: #ffffff;
    height: 200px;
    width: 100%;
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: right -90px bottom 50%;
}

.home-page-image-transmission {
    background-image: url('../transmissions_homepage.png');
    background-color: #ffffff;
    height: 250px;
    width: 100%;
    background-size: 52%;
    background-repeat: no-repeat;
    background-position: right -30px bottom 50%;
}

.home-page-image-parts {
    background-image: url('../parts_homepage.png');
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: right 100% bottom 50%;
    animation: fade-in-right ease 0.3s forwards;
}

.landing-page-image-small {
    height:238px;
    width:100%;
    clear:both;
}

.landing-page-image-big {
    height:500px;
    width:100%;
    clear:both;
}

.product-image {
    object-fit: contain;
    width: 250px;
    height: 250px;
}

.logo-brands {
    padding: 5px;
    width: auto;
    max-width: 124px;
    height: auto;
    margin: 0 auto;
    opacity: 50%;
    filter: grayscale(100%);
}

.bg-red {
    background-color: #CD212A;
}

.bg-black {
    background-color: #363945;
}

.bg-white {
    background-color: white;
}

.font-primary {
    color: #3f4144;
}

.font-primary:hover {
    color: #3f4144;
}

.list-item-dropdown {
    transition: transform .4s;
}

.text-danger {
    color: #CD212A !important;
}

.btn-danger {
    background-color: #CD212A !important;
}

.line-height-control {
    line-height: 1 !important;
}

.list-item-dropdown:hover {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    color: #CD212A;
}

.list-item-dropdown:hover > a {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    color: #CD212A;
}

.text-red {
    color: #CD212A;
}

.hover-card-effect > img {
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    transition: transform .4s; /* Animation */
}

.hover-card-effect:hover > img {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    z-index: -1;
    transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.menu-button {
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.menu-button:hover {
    background-color: #CD212A;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.menu-button-active {
    background-color: #3f4144;
}

.menu-button-active:hover {
    background-color: #3f4144;
}

.hover-underline-animation {
    cursor: pointer;
    display: inline-block;
    position: relative;
    color: #3f4144;
    opacity: 50%;
}

.disable-focus:focus {
    outline: none !important;
    box-shadow: none !important;
}

.hover-underline-animation-active {
    opacity: 100%;
    transition: transform 0.25s ease-out;
    text-decoration: underline;
    text-decoration-color: #CD212A;
    text-underline-position: under
}

.hover-underline-animation:hover {
    opacity: 100%;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    opacity: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #CD212A;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* FADE IN EFFECT FOR HOME PAGE TEXT */
@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translatex(100%);
    }
    to {
        opacity: 1
    }
}

@keyframes fade-in-bottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1
    }
}

.appear-bottom {
    opacity: 0;
    animation: fade-in-bottom ease 0.3s forwards;
}

.appear-bottom {
    animation-delay: 0.8s;
}

.appear-right {
    opacity: 0;
    animation: fade-in-right ease 0.3s forwards;
}

.appear-right {
    animation-delay: 0.2s;
}

.agent-1, .agent-2, .agent-3 {
    opacity: 0;
    animation: fade-in-left ease 0.3s forwards;
}

.agent-2 {
    animation-delay: 0.2s;
}

.agent-3 {
    animation-delay: 0.4s;
}

.hover-category:hover {
    background-color: #CD212A;
    color: white;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.hover-carousel-button {
    transition: transform .4s; /* Animation */
}

.hover-carousel-button:hover {
    transition: transform .4s;
    transform: scale(1.4);
}

.badge-new {
    position: absolute;
    top: 0px;
    right: 0px;
}

.form-check-label {
    transition: transform 200ms; /* Animation */
}

.form-check-label:hover {
    transition: transform 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
    color: #CD212A;
}

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

.moving-right {
    position: relative;
    transition: transform 0.3s ease;
    transform: translateX(0px);
}

.moving-right:hover {
    color: white;
    transform: translateX(10px);
}

.text-hover {
    -webkit-transition: color 0.3s; /* For Safari 3.0 to 6.0 */
    transition: color 0.3s; /* For modern browsers */
}

.text-hover:hover {
    color: #CD212A;
}

.image-upload > input {
    display: none;
}

.error-border {
    border:2px solid red !important;
}

.focused-red:focus {
    outline: none !important;
    border:1px solid red !important;
    box-shadow: 0 0 2px red !important;
}

.regular-border {
    border:2px solid #F6F6F6 !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #3f4144;
    border-radius: 0px;
}

.circle-icon {
    background: Gainsboro;
    color: white;
    width: 180px;
    height: 180px;
    text-align: center;
    line-height: 100px;
    vertical-align: middle;
    padding: 50px;
}

.circle-icon:hover {
    cursor: pointer;
    background: Silver;
}

.image-upload {
    border-style: dashed;
    border-color: #636b6f;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    background: #F6F6F6;
    padding: .5rem 0.4rem;
}

.quantity-btn {
    background: transparent;
    border: none;
    outline: none;
    margin: 0;
    padding: 0px 8px;
    cursor: pointer;
}
.quantity-btn svg {
    width: 15px;
    height: 15px;
}
.quantity-input {
    outline: none;
    user-select: none;
    text-align: center;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.corner-ribbon {
    font-weight: bold;
    width: 300px;
    background: #CD212A;
    position: absolute;
    top: 5px;
    right: -130px;
    text-align: center;
    line-height: 30px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.remove-dropdown-arrow::-ms-expand {
    display: none;
}

td, th {
    vertical-align: middle;
}

.table-image {
    object-fit: cover;
    width: 100px;
    height: 100px;
}

.slide-catalog {
    visibility: hidden;
    height: 0px;
    overflow: hidden;
    transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
}

.catalog-button-hover {
    opacity: 0.4;
    color: #3f4144;
    transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
}

.catalog-button-hover:hover {
    opacity: 1;
    color: #3f4144;
    transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
}

.js-card {
    height: 450px;
    width: 300px;
}

.js-card:hover > .js-card.card-title {
    background: #CD212A;
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
}

.nav-buttons {
    transition: transform .4s;
    opacity: .5;
    filter: grayscale(1);
}

.nav-buttons-active {
    opacity: 1;
    filter: grayscale(0);
}

.nav-buttons:hover {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    filter: grayscale(0);
    color: #3f4144;
    opacity: 1;
    border-radius: 0px;
}

.list-item-dropdown:hover {
    transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    color: #CD212A;
}

.page-item.active .page-link {
    background-color: #3f4144;
    border-color: #3f4144;
}

.rotate {
    -moz-transition: all .1s linear;
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}
.rotate.down {
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}

@media only screen and (max-width: 1399px) {
    body {
        font-size: 14px;
    }

    .logo-brands {
        padding: 5px;
        width: auto;
        max-width: 110px !important;
        height: auto;
        margin: 0 auto;
        opacity: 50%;
        filter: grayscale(100%);
    }

    .css-hide {
        display: none;
    }

    .js-card {
        height: 400px;
        min-width: 250px;
        margin-bottom: 1em !important;
    }

    .product-image {
        object-fit: contain;
        width: 220px;
        height: 220px;
    }

    .logo-brands {
        padding: 5px;
        width: auto;
        max-width: 124px;
        height: auto;
        margin: 0 auto;
        opacity: 50%;
        filter: grayscale(100%);
    }
}

@media only screen and (max-width: 1024px) {
    body {
        font-size: 13px;
    }

    .logo-brands {
        padding: 5px;
        width: auto;
        max-width: 90px !important;
        height: auto;
        margin: 0 auto;
        opacity: 50%;
        filter: grayscale(100%);
    }

    .js-card {
        height: 400px;
        min-width: 290px;
        margin-bottom: 1.5em !important;
    }

    .product-image {
        object-fit: contain;
        width: 220px;
        height: 220px;
    }

    .logo-brands {
        padding: 5px;
        width: auto;
        max-width: 124px;
        height: auto;
        margin: 0 auto;
        opacity: 50%;
        filter: grayscale(100%);
    }
}

@media only screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }

    .logo-brands {
        padding: 5px;
        width: auto;
        max-width: 100px;
        height: auto;
        margin: 0 auto;
        opacity: 50%;
        filter: grayscale(100%);
    }

    .js-card {
        height: 400px;
    }

    .product-image {
        object-fit: contain;
        width: 220px;
        height: 220px;
    }

    .css-hide {
        display: block;
    }

    .logo {
        max-width: 104px;
        max-height: 104px;
        cursor: pointer;
    }

    .bi-telephone-fill {
        height: 16px;
        width: 16px;
        display: none;
    }

    .header-text-phone {
        font-size: 18px !important;
    }

    .landing-page-image-big {
        height:260px;
        width:100%;
        clear:both;
    }

    .fs-5 {
        font-size: 16px !important;
    }

    .fs-2 {
        font-size: 19px !important;
    }

    .quantity-btn {
        padding: 0px 0px;
    }

    .agent-1 {
        font-size: 20px !important;
    }

    .agent-2 {
        font-size: 32px !important
    }

    .fs-1 {
        font-size: 22px !important;
    }

    h5 {
        font-size: 18px !important;
    }

    .card-title {
        font-size: 15px !important;
    }

    small {
        font-size: 12px !important;
    }
}

.page-link, li.page-item.disabled {
    border-style: none;
    color: #3f4144;
    border-radius: 0;
}

.page-link:hover {
    background-color: #d9d9d9;
    border-style: none;
    color: black;
}

.force-bg-gray {
    background-color: #F6F6F6 !important;
}

.js-card:hover .card-title {
    color: #CD212A;
    -webkit-transition: color 0.5s; /* For Safari 3.0 to 6.0 */
    transition: color 0.5s; /* For modern browsers */
}
