﻿
#container {
    min-height: 400px;
    padding-bottom: 50px;
    position: relative;
}

#product-header h2, #mfr-model-header h2, #snap-media-title h2, #ultra-model-render h2, #trace-media-title h2 {
    font-size: 20px;
    padding-bottom: 0px;
}

.mfr-model-link {
    display: block;
    vertical-align: middle;
    padding: 0 7px;
    font-size: 14px;
}

.grid-container {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    padding: 10px 16px;
    gap: 2%;
    border-radius: 5px;
}

.grid-item {
    font-size: 30px;
}

.model-grid {
    display: grid;
    grid-template-rows: auto 400px auto;
    gap: 2px;
    border-radius: 5px;
}

.model-grid-item {
    background-color: #ffffff;
    font-size: 30px;
    text-align: center;
    padding: 10px 10px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
}

.dkdk .mfr-model-grid-item {
    background-color: var(--stone-grey) !important;
}

.dkdk .mfr-available-download-row {
    background: var(--white);
}

#mfr-grid-container .model-grid-item {
    border: none;
}

.model-grid-item span {
    margin: auto 0;
}

#snap-media-model .model-grid-item span,
#ultra-lib-model .model-grid-item span,
#trace-lib-model .model-grid-item span {
    color: black;
}

.model-container {
    display: inline;
}

.model-header h2 {
    font: bold;
    font-size: 20px;
}

.model-body svg {
    width: 100%;
    height: 100%;
}

.model-img {
    max-width: 100%;
    height: 100%;
    background-color: #ffffff;
    object-fit: contain;
}


.model-action {
    text-align: center;
    margin-top: 3px;
}


.survey-grid {
    align-self: center;
}

.product-grid-container {
    display: flex;
    justify-content: space-between;
}

.product-grid {
    display: grid;
    grid-template-columns: 80px auto;
    border-radius: 5px;
    gap: 20px;
    padding: 5px;
}

.product-photo > img {
    width: 100%;
}

.mfrPartNumber {
    font-size: 18px;
    font-weight: 600;
}

    .mfrPartNumber > a:link {
        text-decoration: none;
    }

    .mfrPartNumber > a:hover {
        text-decoration: underline;
    }

.mfrName {
    font-size: 14px;
    font-weight: 600;
}

.productCatalog {
    font-size: 14px;
}

#notfound-content {
    min-width: 200px;
    max-width: 1280px;
    padding: 25px;
    margin: auto;
    text-align: center;
}

    #notfound-content img {
        max-width: 400px;
        width: 100%;
    }

#error-content {
    min-width: 200px;
    max-width: 1280px;
    /* Padding should be implemented responsive */
    padding: 100px;
    margin: auto;
    text-align: center;
}

#threed-container {
    height: 100%;
    border: none;
    display: block;
    width: 100%;
}



.ldoff-navigateurl {
    font-size: 15px;
    font-weight: 600;
    margin: 5px;
}

    .ldoff-navigateurl > a {
        width: 100%;
    }

        .ldoff-navigateurl > a:link {
            text-decoration: none;
        }

        .ldoff-navigateurl > a:hover {
            text-decoration: underline;
        }

.dk-modal__content .download-group {
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
    border-radius: 0.5rem;
}

#ultra-lib-model .model-header h3,
#snap-media-model .model-header h3,
#trace-lib-model .model-header h3,
#mfr-model-body .model-header h3 {
    font-size: 20px;
}

#mfr-media-active .model-header h3,
#snap-media-active .model-header h3,
#ultra-media-active .model-header h3,
#traceparts-media-active .model-header h3 {
    font-size: 16px;
}

.model-header-title h3 {
    font-size: 16px;
}

    #ultra-media-title a, #snap-media-title a, #trace-media-title a {
        cursor: pointer;
        color: var(--link-blue);
        font-weight: bold;
        text-decoration: none;
    }

        #ultra-media-title a:hover, #snap-media-title a:hover, #trace-media-title a:hover {
            font-weight: bold;
            text-decoration: underline;
        }

.dk-modal #dk-modal-content {
    display: inline;
    line-height: 1.3;
}

#suggest-feedback-content {
    display: inline;
    line-height: 2.5;
}

.dk-modal #unable-export-navigate, #updated-unable-export-navigate, #feedback-navigate {
    text-decoration: underline;
}

.dk-modal__content.dk-modal__content-extra {
    padding-top: 2px;
    padding-bottom: 2px;
}

#message-no-model {
    max-width: 1280px;
    padding: 16px;
    margin: auto;
}

    #message-no-model span {
        font-size: 14px;
        font-weight: 500;
    }

#enlargeimage-container {
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 10px 5px rgba(20,20,20,0.4);
    transform: translate(-50%, -50%);
}

#enlarge-image {
    display: block;
    width: 70vh;
    height: 70vh;
    margin: 0 auto;
}

.product-photo:hover {
    cursor: pointer;
}

@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-template-rows: repeat(2, 1fr);
        padding: 0px 16px;
    }

    .grid-container-return-url {
        grid-template-columns: repeat(1, minmax(200px, 1fr)) !important;
        grid-template-rows: repeat(1, 1fr);
    }

    .grid-model-item {
        padding: 16px 15px !important;
    }

    .grid-container-row-gap {
        row-gap: 65px;
    }

    .model-grid {
        height: 100%;
        grid-template-rows: auto 230px;
    }

    iframe#threed-container {
        width: 100%
    }

    .overflow-wrap-anywhere {
        overflow-wrap: anywhere !important;
    }

    #enlarge-image {
        width: 40vh;
        height: 40vh;
    }

    #ultra-selector {
        min-width: 205px;
        max-width: 300px;
    }
}

@media (max-width: 767px), (max-height: 575px) {
    #enlargeimage-container {
        display: none;
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        grid-template-rows: repeat(3, minmax(230px, 1fr));
    }
    .grid-container-return-url {
        grid-template-columns: repeat(1, minmax(200px, 1fr)) !important;
        grid-template-rows: repeat(1, 1fr);
    }

    .grid-model-item {
        padding: 16px 15px !important;
    }

    .model-grid {
        grid-template-rows: auto 1fr;
    }

    #snap-3d-model-grid-item, .model-render-container, #message-no-model {
        padding: 0;
    }

    .customer-survey-button {
        width: -webkit-fill-available;
        margin: auto;
    }

    .product-grid-container {
        display: block;
    }

    #ultra-selector {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 300px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .product-photo > img {
        width: 64%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    #snap-3d-model-grid-item, .model-render-container, #message-no-model {
        padding: 0;
    }
}

.bold_text {
    font-weight: bold;
}

.dynamic_logo {
    content: url(../images/dynamic_logo.gif);
}

.static_logo {
    content: url(../images/static_logo.png);
}

.custom_modal_mask {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,.3);
    z-index: 101;
}

.progress_loading_img {
    width: 240px;
    height: 140px;
    margin-top: -35px;
}

.progress_loading_img_container {
    width: 100%;
    height: 85px;
    overflow: hidden;
}

.available-download {
    background-image: url(../images/3d_model_preview.jpg);
    width: 100%;
    display: flex;
    justify-content: center;
}

.mfr-available-download-item {
    background-image: url(../images/3d_model_preview.jpg);
    display: flex;
    justify-content: center;
    height: 100%;
}

.mfr-available-download-item span {
    width: 80%;
}

.mfr-available-download-container {
    height: 400px;
    margin-top: 35px;
}

.dkdk .mfr-available-download-item span {
    color: black;
}

.mfr-available-download-row {
    border: 1px solid #ddd;
    padding: 10px 10px;
    width: 307.2px;
}

.model-grid-item .available-download span {
    width: 80%;
}

.wrap-words {
    overflow-wrap: anywhere;
}

.login-bar_body {
    text-align: center;
}

.limit_mask {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 50%;
    width: 105%;
    background: rgba(0,0,0,.3);
    z-index: 101;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.dkdk .limit_mask {
    background: var(--cloud-grey);
    opacity: 0.3;
}

.rtl .limit_mask {
    right: 50%;
    left: 0;
    transform: translateX(50%);
}

#model-3drender-container {
    position: relative
}

.text_lowercase {
    text-transform: lowercase
}

#add-list-form {
    position: relative
}

.line_height_0 {
    line-height: 0
}

.progress_color {
    background-color: var(--red);
    -webkit-animation: progressBar 3s ease-in-out infinite;
    -webkit-animation-fill-mode: both;
    -moz-animation: progressBar 3s ease-in-out infinite;
    -moz-animation-fill-mode: both;
    height: 3px;
    width: 70%;
}

@-webkit-keyframes progressBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(150%);
    }
}

@-moz-keyframes progressBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(150%);
    }
}

#mfr-model-body .p-expand {
    padding-bottom: 50px !important;
}

.progress-line-container {
    background-color: var(--light-red);
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .limit_mask {
        width: 100%; /* Full width on smaller screens */
    }

    .model-action {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    #mfr-model-body .p-expand {
        padding-bottom: 65px !important;
    }
}

.dk-skeleton {
    /*border-radius: 6px;*/
    min-height: 0;
    height: fit-content;
}

    .dk-skeleton::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--outline-grey)
    }

.mfr-model-3dviewer .model-3d-viewer #dk3dViewer {
    min-height: 350px;
    border: none;
    display: block;
    width: 100%;
}


.symbol-dropdown {
    display: flex;
    justify-content: center;
    margin-top: 4%;
}

#ultra-selector {
    min-width: 205px;
    max-width: 350px;
}

.active {
    background: white;
}

.dkdk .active {
    background: var(--bg-color--card);
}

.icon-active {
    color: var(--red);
}

.image-container {
    position: relative;
    display: inline-block;
    display: flex;
    justify-content: center;
    margin-bottom: 2%
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.left-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
}
.dk-layout {
    max-width: 80%;
}
.load-content {
    border-bottom: 1px solid #ddd;
}
#mfr-media-active {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-flex {
    display: flex;
}

    .d-flex .justify-between-icon {
        align-items: center;
        gap: 8px;
    }

.left-bar-container {
    min-width: 20%;
    display: block;
    background: #f5f5f5;
    border-radius: 0.5rem 0 0 0.5rem;
    border: none;
}

.dkdk .left-bar-container {
    background: var(--body-background-color);
}

.submenu {
    background-color: var(--white);
}

.dkdk .submenu {
    background: var(--bg-color--card);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .left-bar-container {
        width:20%
    }

    .model-action {
        margin-top: 10px;
    }
}

.content-container {
    flex-grow: 1;
}

.model-3d-viewer-item {
    margin-top: 40px;
}

.model-action-item {
    margin-top: 70px;
}


.model-container-card {
    min-height: 587px;
}

.left-bar-angle-icon {
    display: inline-block;
    font-size: 25px;
    padding-top: 0.5rem;
}

.text-justify {
    text-align: justify;
}

@media (min-width: 1024px) {
    #download-agreement {
        width: auto;
    }
    .submenu {
        display: none;
    }
}

@media (max-width: 1023px){
    #container-content{
        display: none;
    }

    .left-bar-container {
        width: 100%;
    }

    .icon-active {
        transition: transform 0.3s ease;
    }

        .icon-active.rotate {
            transform: rotate(90deg);
            transform-origin: 40% 50%;
        }

    .rtl .icon-active.rotate {
        transform: rotate(-90deg);
        transform-origin: 50% 40%;
    }
}

.angle-pdd-8 {
    padding-right: 8px !important;
}

.rtl .angle-pdd-8 {
    padding-left: 8px !important;
}
