﻿/* Core Container Adjustments */
.gearbox-border {
    box-sizing: border-box;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5) !important;
}

.btn-powermate {
    color: white;
    background-color: #D3A12F !important;
    border-color: white !important;
    width: 118px;
    height: 27px;
    background-color: #ffc107;
    border: none;
    box-shadow: none;
    text-shadow: none;
    outline: none;
    margin: 0 auto;
}

.btn-configure {
    color: white;
    background-color: #D3A12F !important;
    border-color: white !important;
    width: 107px;
    height: 27px;
    background-color: #ffc107;
    border: none;
    box-shadow: none;
    text-shadow: none;
    outline: none;
}
.btn-powermate:focus,
.btn-powermate:active {
    outline: none;
    box-shadow: none;
    border-color: #d3a12f; 
}
.btn-configure:focus,
.btn-configure:active {
    outline: none;
    box-shadow: none;
    border-color: #d3a12f;
}
.btn-border {
    border-top: 2px solid #d3a12f;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.imgclass {
    width: 55px;
}

.right-panel-img {
    width: 80px;
    max-width: 100%;
    height: auto;
}

/* Grid Flex Helpers */
.row.flex-equal {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5rem;
}

.row.flex-equal > div[class*="col-"],
.gx-responsive > div[class*="col-"] {
    padding: 0.5rem;
}

.gx-responsive {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.gx-responsive > div {
    flex: 1 1 250px;
}

/* Medium to Large Devices */
@media (min-width: 1201px) and (max-width: 1336px) {
    .gearbox-border,
    .planetarywidth {
        width: 100% !important;
    }

    .slewalign {
        margin-left: -10px;
    }
}

/* Tablets and smaller desktops */
@media (max-width: 1200px) {
    .col-lg-7,
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gearbox-border,
    .planetarywidth {
        width: 100% !important;
    }

    .harmonicwidth {
        margin-top: 10px;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .d-flex {
        flex-direction: column !important;
    }

    .d-flex > div {
        width: 100% !important;
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }

    .gearbox-border,
    .planetarywidth {
        width: 100% !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .harmonicwidth {
        margin-top: 10px !important;
    }

    .headContainer {
        padding: 0 10px;
    }
}
.no-margin-bottom {
    margin-bottom: 4px !important;
}


/* Extra mobile tweaks */
@media (max-width: 576px) {
    .imgclass {
        width: 32%;
    }

    .btn-powermate,
    .btn-configure {
        width: 100%;
        height: auto;
        padding: 6px;
        font-size: 14px;
    }
}
.custom-modal-width {
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.competitor-btn {
    background-color: #d3a12f;
    color: white;
    font-weight: bold;
    padding: 10px 0;
    font-size: 16px;
    min-width: 200px;
    border: none;
}

.modal-title {
    text-transform: uppercase;
    font-size: 20px;
}

.fixed-position {
    position: absolute;
    top: -32px;
    right: 0;
    left: 0;
    z-index: 1030;
}
