@font-face {
  font-family: 'tfonsus';
  src:  url("../fonts/onsus.eot");
  src:  url("../fonts/onsus.eot") format('embedded-opentype'),
    url('../fonts/tfonsus.ttf') format('truetype'),
    url('../fonts/tfonsus.woff') format('woff'),
    url('../fonts/tfonsus.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="tfonsus-icon-"],
[class*="tfonsus-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'tfonsus' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tfonsus-icon-right:before {
  font-family: 'tfonsus' !important;
  content: "\e90b";
  color: #73787d;
}

.tfonsus-icon-audio:before {
  font-family: 'tfonsus' !important;
  content: "\e900";
}
.tfonsus-icon-camera:before {
  font-family: 'tfonsus' !important;
  content: "\e901";
}
.tfonsus-icon-electronic:before {
  font-family: 'tfonsus' !important;
  content: "\e902";
}
.tfonsus-icon-furniture:before {
  font-family: 'tfonsus' !important;
  content: "\e903";
}
.tfonsus-icon-gaming:before {
  font-family: 'tfonsus' !important;
  content: "\e904";
}
.tfonsus-icon-headphone:before {
  font-family: 'tfonsus' !important;
  content: "\e905";
}
.tfonsus-icon-laptop:before {
  font-family: 'tfonsus' !important;
  content: "\e906";
}
.tfonsus-icon-server:before {
  font-family: 'tfonsus' !important;
  content: "\e907";
}
.tfonsus-icon-smartphone:before {
  font-family: 'tfonsus' !important;
  content: "\e908";
}
.tfonsus-icon-smartwatch:before {
  font-family: 'tfonsus' !important;
  content: "\e909";
}
.tfonsus-icon-tv:before {
  font-family: 'tfonsus' !important;
  content: "\e90a";
}

/* =========================================================
   SEMATIC PRODUCT CATALOG
   ========================================================= */

.sematic-pdf-viewer {
    width: 100%;
    margin-top: 25px;
}

.sematic-pdf-page {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.sematic-pdf-canvas {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
}

.sematic-pdf-loading {
    padding: 40px 20px;
    text-align: center;
}


/* Technical Information button */

.sematic-technical-button {
    display: inline-block;
    margin-top: 10px;
}


/* Mobile */

@media (max-width: 767px) {

    .sematic-pdf-page {
        margin-bottom: 20px;
    }

}

/* =========================================================
   SEMATIC SPECIFICATION / QUOTE SYSTEM
   ========================================================= */


/* -------------------------
   Specification table
   ------------------------- */

.sematic-spec-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sematic-spec-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.035);
}

.sematic-spec-table .sematic-quote-column {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.sematic-add-to-quote {
    white-space: nowrap;
}


/* -------------------------
   Modal
   ------------------------- */

.sematic-quote-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.sematic-quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sematic-quote-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.sematic-quote-modal-box {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 650px;
    max-height: 90vh;

    overflow-y: auto;

    background: #fff;

    padding: 35px;

    border-radius: 8px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.25);
}

.sematic-quote-modal-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.sematic-quote-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;

    border: 0;
    background: transparent;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

body.sematic-modal-open {
    overflow: hidden;
}


/* -------------------------
   Modal specifications
   ------------------------- */

.sematic-modal-specifications {
    margin-top: 20px;
}

.sematic-modal-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.sematic-modal-spec-table th,
.sematic-modal-spec-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.sematic-modal-spec-table th {
    width: 45%;
}


/* -------------------------
   Quantity
   ------------------------- */

.sematic-quote-quantity {
    margin-top: 25px;
}

.sematic-quote-quantity label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

#sematic-quote-quantity {
    width: 120px;
}


/* -------------------------
   Modal buttons
   ------------------------- */

.sematic-quote-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 30px;
}


/* =========================================================
   QUOTE LIST
   ========================================================= */

.sematic-quote-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sematic-quote-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;

    padding: 20px;
}

.sematic-quote-product-name {
    margin-bottom: 4px;
}

.sematic-quote-model {
    font-size: 18px;
}


/* Specifications */

.sematic-quote-specs {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(140px, 1fr)
        );

    gap: 12px;

    margin-top: 20px;
}

.sematic-quote-spec {
    display: flex;
    flex-direction: column;
}

.sematic-quote-spec span {
    font-size: 12px;
    opacity: 0.65;
}

.sematic-quote-spec strong {
    margin-top: 3px;
}


/* Actions */

.sematic-quote-item-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #eee;
}

.sematic-quote-item-actions label {
    display: flex;
    flex-direction: column;

    gap: 5px;

    font-weight: 600;
}

.sematic-quote-list-quantity {
    width: 100px;
}

.sematic-remove-quote-item {
    border: 0;
    background: transparent;

    text-decoration: underline;

    cursor: pointer;
}


/* Empty quote */

.sematic-empty-quote {
    padding: 30px;

    text-align: center;

    border: 1px dashed #ccc;

    border-radius: 8px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .sematic-quote-modal-box {
        padding: 25px 20px;
    }

    .sematic-quote-modal-actions {
        flex-direction: column;
    }

    .sematic-quote-modal-actions .button {
        width: 100%;
    }

    .sematic-quote-item-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sematic-quote-list-quantity {
        width: 100%;
    }

}

/* =========================================================
   SEMATIC QUOTE ENQUIRY
   ========================================================= */

.sematic-quote-enquiry {
    margin-top: 45px;
    padding-top: 35px;

    border-top: 1px solid #e5e5e5;
}

.sematic-quote-enquiry h3 {
    margin-bottom: 8px;
}

.sematic-quote-intro {
    margin-bottom: 25px;
}


/* Form grid */

.sematic-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.sematic-form-field {
    display: flex;
    flex-direction: column;
}

.sematic-form-full {
    grid-column: 1 / -1;
}


/* Labels */

.sematic-form-field label {
    margin-bottom: 7px;
    font-weight: 600;
}

.sematic-form-field label span {
    color: #d63638;
}


/* Inputs */

.sematic-form-field input,
.sematic-form-field textarea {
    width: 100%;

    padding: 11px 13px;

    border: 1px solid #d5d5d5;
    border-radius: 4px;

    background: #fff;
}

.sematic-form-field textarea {
    resize: vertical;
}


/* Submit */

.sematic-submit-quote {
    margin-top: 25px;
}

.sematic-submit-quote:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Response */

.sematic-quote-response {
    margin-top: 20px;
}

.sematic-quote-response.error {
    padding: 12px 15px;

    background: #fff2f2;

    border: 1px solid #f0c2c2;

    border-radius: 4px;
}

.sematic-quote-response.success {
    padding: 12px 15px;

    background: #f0f8f0;

    border: 1px solid #bcdcbc;

    border-radius: 4px;
}


/* Success screen */

.sematic-quote-success {
    padding: 35px;

    text-align: center;

    border: 1px solid #d9e8d9;
    border-radius: 8px;
}

.sematic-quote-success h3 {
    margin-top: 0;
}


/* Mobile */

@media (max-width: 767px) {

    .sematic-form-grid {
        grid-template-columns: 1fr;
    }

    .sematic-form-full {
        grid-column: auto;
    }

    .sematic-submit-quote {
        width: 100%;
    }

}