/** Switcher Image **/
.detail-content img {
    max-width: 100%;
}

.switcher-image {
    position: relative;
}

.switcher-image .caption {
    color: white;
    background: rgba(155, 155, 155, 0.5);
    background: black;
    padding: 4px 8px;
    border-bottom-left-radius: 8px;
    position: absolute;
    top: 0;
    right: 0;
}

.images-box {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.images-box .responsive-image {
    width: 100%;
}



@media (min-width: 1024px) {
    .images-box {
        flex-direction: column;
        gap: 8px;
    }
    .images-box .responsive-image {
        width: 100%;
    }
}

@media(max-width: 650px) {
    .images-box {
        flex-direction: column;
        gap: 8px;
    }
    .images-box .responsive-image {
        width: 100%;
    }
}


/** End Switcher Image **/

/** Dots **/

.detail-dot {
    position: absolute;
    border-radius: 15px;
    background: var(--green);
    color: white;
    z-index: 2;
    cursor: pointer;
    border: 1px solid var(--green);
    width: 1vw;
    height: 1vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-dot.active {
    background: black;
    opacity: 1;
    border-color: white;
}

.detail-dot:before {
    position: absolute;
    display: block;
    left: -0.4vw;
    white-space: nowrap;
    padding-left: 1.6vw;
    padding-right: 0.8vw;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.25vw;
    border-radius: 2vw;
    cursor: pointer;
    background: rgba(155, 155, 155, 0.5);
    z-index: -1;
}

.detail-dot.detail-dot-left:before {
    left: initial;
    right: -0.4vw;
    padding-left: 0.8vw;
    padding-right: 1.6vw;
}

.detail-dot.active:before {
    background: var(--green);
}

@media all and (max-width: 1023px) {
    .detail-dot {
        width: 2vw;
        height: 2vw;
    }
    .detail-dot:before {
        left: -1vw;
        padding-left: 4vw;
        padding-right: 2vw;
        font-size: 2.5vw;
    }
    .detail-dot.detail-dot-left:before {
        left: initial;
        right: -1vw;
        padding-left: 2vw;
        padding-right: 4vw;
    }
}

/** End Dots **/

/*#nozzles {*/
/*    top: 33%;*/
/*    left: 18%;*/
/*}*/
/*#nozzles:before {*/
/*    content: "Nozzles";*/
/*}*/
/*#pumps {*/
/*    top: 36%;*/
/*    left: 41%;*/
/*}*/
/*#pumps:before {*/
/*    content: "Pumps";*/
/*}*/
/*#camera {*/
/*    top: 30.5%;*/
/*    left: 49%;*/
/*}*/
/*#camera:before {*/
/*    content: "Camera";*/
/*}*/
/*#sensor {*/
/*    top:  23.5%;*/
/*    left: 56%;*/
/*}*/
/*#sensor:before {*/
/*    content: "Sensor";*/
/*}*/
/*#arms {*/
/*    top: 25%;*/
/*    left: 78%;*/
/*}*/
/*#arms:before {*/
/*    content: "Arms";*/
/*}*/
/*#batteries {*/
/*    top: 73.5%;*/
/*    left: 56%;*/
/*}*/
/*#batteries:before {*/
/*    content: "Batteries";*/
/*}*/
#brackets {
    top: 54.5%;
    left: 57%;
}
#brackets:before {
    content: "Quick Attach Brackets";
}

/** Dot Positions and text **/
#nozzles {
    top: 42%;
    left: 22%;
}
#nozzles:before {
    content: "Nozzles";
}
#pumps {
    top: 63%;
    left: 39%;
}
#pumps:before {
    content: "Pumps";
}
#camera {
    top: 37.5%;
    left: 55%;
}
#camera:before {
    content: "Camera";
}
#sensor {
    top: 31%;
    left: 55%;
}
#sensor:before {
    content: "Sensor";
}
#arms {
    top: 34%;
    left: 73%;
}
#arms:before {
    content: "Arms";
}
#batteries {
    top: 55%;
    left: 36%;
}
#batteries:before {
    content: "Batteries";
}
#spread {
    top: 55%;
    left: 71%;
}
#spread:before {
    content: "Spread";
}
#awning {
    top: 14%;
    left: 30%;
}
#awning:before {
    content: "20ft Awning";
}
#roof {
    top: 42.5%;
    left: 59%;
}
#roof:before {
    content: "Walk On Roof with Ladder";
}
#roof2 {
    top: 42.5%;
    left: 19%;
}
#roof2:before {
    content: "Walk On Roof with Ladder";
}
#mount {
    top: 70%;
    left: 80%;
}
#mount:before {
    content: "Extend Tongue\000AGenerator Mount";

}
#doorTank {
    top: 56%;
    left: 67%;
}
#doorTank:before {
    content: "Door Tank";

}
#tanks {
    top: 44%;
    left: 69%;
}
#tanks:before {
    content: "60 Gal Tanks";

}

/** END Dot Positions and text **/

/** Button Nav **/
.details-nav {
    overflow: hidden;
    overflow-x: auto;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: none;
    scrollbar-color: black var(--green);
    scrollbar-width: thin;
}

.details-nav > div {
    display: flex;
    min-width: 100%;
    width: fit-content;
    padding: 15px 0 0;
}

.details-nav button {
    background: none;
    color: white;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 15px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    white-space: nowrap;
}

.details-nav button.active {
    background: var(--green);
    color: white;
    border: 1px solid var(--green);
}

.details-nav button:first-of-type {
    border-top-left-radius: 15px;
}

@media (max-width: 1024px) {
    .details-nav {
        display: flex;
    }
}

/** END Button Nav **/

/** Details Area **/
.detail-area {
    position: relative;
    transition: 0.2s all ease;
    color: white;
    overflow:hidden;
    background: var(--green);
}

.detail-content {
    opacity: 0;
    position: absolute;
    top: 20px;
    left: 0;
    transform: translateX(-200%);
    width: 100%;
    padding: 0 15px 25px;
    transition: all 0.4s ease-out, opacity 0.2s;
    overflow: auto;
    scrollbar-color: black var(--green);
    scrollbar-width: thin;
}

.detail-content h3 {
    color: white;
}

.detail-content.active {
    opacity: 1;
    left: 0;
    transform: translateX(0%);
    display: block!important;
}

.switcher-details {
    flex: 0 1 320px;
    color: white;
    background: black;
    border-radius: 8px;
    padding: 20px 15px;
}

.switcher-details h3 {
    color: white;

}
@media (min-width: 1024px) {
    .detail-area {
        height: calc(100% - 55px)!important

    }
    .detail-content {
        height: 100%;
        height: calc( 100% - 75px );
    }
    .switcher-details {

    }
    .switcher-details {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .trailer-flex:not(:first-of-type) .switcher-details {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}
@media (max-width: 1024px) {
    .switcher-details {
        flex: 1 1;
        padding-bottom: 15px;
    }
    .detail-content {
        min-height: 200px;
    }
    .detail-content.active {
        position: absolute;
    }
    .detail-area {
    }
    .trailer-flex:not(:first-of-type) {
        margin-top: 60px;
    }
}

/** END Details Area **/

/** Switcher Grid **/
.trailer-flex {
    margin: 0px auto;
    overflow: hidden;
    gap: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(358px, auto) minmax(220px, 285px);
    padding-right: 0;
}

.trailer-flex h3 {
    color: white;
    font-size: 24px;
}

.trailer {
    flex: 1 0 60%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 55px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .trailer-flex {
        grid-template-columns: 100%;
        gap: 0;
    }

    .trailer {
        margin-top: 0;
        margin-bottom: 0;
    }

    .trailer-flex h3 {

    }
}



/** Sidebar **/
.featured_section_inside .container-fluid > .row .col-sm-3:last-of-type {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

/** Page Layout **/
.featured_section_inside .container-fluid > .row {
    /*grid-template-columns: minmax(255px, 430px) minmax(380px, auto);*/
    grid-template-columns: minmax(255px, 430px) minmax(380px, auto) minmax(220px, 285px);
    grid-template-rows: min-content 1fr;
    grid-row-gap: 0px;
}

.info-area {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    width: 100%;
}

.main-area {
    grid-column: 2 / span 2;
    grid-row: 1 / span 1;
    width: 100%;
    padding-right: 0;
}

.content-area {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
    width: 100%;
}

.sidebar-area {
    grid-row: 2 / span 1;
    grid-column: 3 / span 1;
    width: 100%;
}

@media (max-width: 1024px) {
    .featured_section_inside .container-fluid > .row {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
    }

    .info-area {
        grid-column: 1 / span 1;
        grid-row: 1 / span 1;
    }
    .main-area {
        grid-column: 1 / span 1;
        grid-row: 2 / span 1;
        padding-left: 0;
    }
    .content-area {
        grid-column: 1 / span 1;
        grid-row: 3 / span 1;
    }
    .sidebar-area {
        grid-column: 1 / span 1;
        grid-row: 4 / span 1;
    }
}
