.machine-card-category,
.machine-title,
.contact-title,
.machine-category,
.machine-details-options tr td:first-child,
.nav-tabs .nav-link,
.machine-details-contact-forms h2,
.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.machine-container {
    display: flex;
    gap: 3rem;
}

.machine-list {
    width: 66.666%;
}

.category-cards,
.machine-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-card {
    width: calc(20% - 1rem);
}

.category-card-image {
    height: 300px;
}

.machine-form {
    width: 33.333%;
    border: 1px solid #cbcec8;
    padding: 1rem;
}

.new-machine-form {
    width: 100%;
}

.new-machine-container {
    flex-direction: column;
}

.new-machine-container .machine-list {
    width: 100%;
}

.machine-form input,
.machine-form select {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
}

.form-range {
    display: flex;
    gap: 1rem;
}


.machine-form button,
.machine-form .clear-filters-btn {
    background-color: #212529;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .75rem .75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 100%;
    cursor: pointer;
}

.machine-form .clear-filters-btn {
    background-color: #68685d;
    color: #fff;
}

.machine-form button {
    margin-top: 1rem;
}


.machine-details-contact-forms {
    margin-top: 1.5rem;
}

.machine-details-contact-forms input {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
}

.machine-details-contact-forms form,
.machine-details-contact-forms .btn {
    margin-top: 1rem;
}

.machine-form button:hover {
    background-color: #68685d;
}

.machine-details-contact-forms h2 {
    text-align: center;
}

.machine-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: calc(33.333% - 1rem);
    overflow: hidden;
    min-height: 400px;
    position: relative;
}

.machine-card-info {
    padding: .5rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, .65);
    width: 100%;
    border-left: #fcb615 10px solid;
    transition: .2s;
}

.machine-card:hover .machine-card-info {
    background-color: rgba(0, 0, 0, .85);
    padding-bottom: 3rem;
}

.machine-card-info * {
    color: #fff;
}

.machine-card-category {
    font-size: .8rem;
    margin: auto 0;
    font-weight: 100;
}

.machine-card-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 900;
    flex-grow: 1;
}

.machine-card-subtitle {
    display: flex;
}

.machine-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: auto;
}

.sub-category-card-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sub-category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: calc(20% - 1rem);
    overflow: hidden;
}

.sub-category-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.sub-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.sub-category-card h3 {
    flex-grow: 1;
}

/* Details Page */

.machine-details {
    display: flex;
    gap: 3rem;
}

.machine-details-image.slick-current {
    height: 600px;
    background-position: center;
    background-size: contain;
}

.machine-details-image-nav-image {
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

.machine-details-image-nav {
    outline: 0 !important;
}

.machine-details-info {
    flex-grow: 1;
}

.machine-category a {
    color: #000;
}

.machine-title,
.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: .25rem 0;
}

.machine-details-images-nav .slick-track {
    display: flex;
    gap: 1rem;
}

.table-listings table {
    border-collapse: collapse;
    width: 100%;
}

.table-listings th {
    background: #fcb615;
    color: #fff;
    font-weight: 900;
    padding: .5rem;
    text-align: left;
}

.table-listings td {
    padding: .5rem;
}

.machine-details-image-container {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.machine-details-image-nav {
    margin: 0 .25rem;
}

.machine-details-image-nav img {
    width: 100%;
    cursor: pointer;
}

.machine-details-options {
    margin-top: 1rem;
}

.machine-details-price {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 1rem 0;
}

.machine-details-options table {
    width: 100%;
    border-radius: .5rem;
}

.machine-details-options td {
    padding: .5rem;
}

.machine-details-options td {
    border-bottom: 1px solid #68685d;
}

.machine-details-options tr:last-child td {
    border-bottom: none;
}

.contact-title {
    text-align: center;
    margin-bottom: 2rem;
}

.machine-details-options tr td:first-child {
    min-width: 250px;
    background-color: #cbcec8;
}

.machine-details-options tr td:last-child {
    text-align: right;
    font-weight: 700;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form {
    border: 3px solid #cbcec8;
    margin-top: 3rem;
    padding: 1.5rem 3rem;
    border-radius: .25rem;
}

.form-control {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color: #495057;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    height: calc(1.5em + .75rem + 2px);
    line-height: 1.5;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
}

.nav-tabs {
    border-bottom: 0;
}

.nav-item:focus {
    outline: 0 !important;
}

.nav-tabs .nav-link {
    border: 0;
    color: #212529;

}

.nav-tabs .nav-link.active {
    border: 0;
    border-bottom: 4px solid #212529;
}

.btn {
    background-color: #212529;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .75rem .75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 50%;
    margin: 0 auto;
    cursor: pointer;
}

.btn:hover {
    background-color: #68685d;
}

.machine-features h6 {
    margin: 1rem 0;
}


@media screen and (max-width: 768px) {
    .machine-details {
        flex-direction: column;
    }

    .machine-details-image-container {
        width: 100%;
    }

    .machine-card {
        width: 100%;
    }

    .machine-container {
        flex-direction: column;
    }

    .machine-form,
    .machine-list {
        width: 100%;
    }

}