:root {
    --pwidth: 1600px;
    --lrpad: 0 50px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: url('NimbusSanL-Reg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: url('NimbusSanL-Bol-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html {
    /* font-family: 'Open Sans', Arial, Helvetica, sans-serif; */
    /* font-family: system-ui, sans-serif; */
    font-family: Arial, Helvetica, sans-serif;
    color: #2b2b2b;
}

p, li {
    line-height: 1.4em;
}

.page-banner {
    width: 100%;
    background-color: #007ec6;
    color: white;
    text-align: center;
    padding: .5em;
}

.page-banner a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.page-banner svg {
    position: relative;
    fill: currentColor;
    width: 32px;
    height: 32px;
}

.page-banner a:hover svg {
    left: 5px;
}

.page-intro {
    background-color: #e9e9e9;
    padding: 1em 0;
}

.page-intro-content {
    max-width: var(--pwidth);
    margin: auto;
    padding: var(--lrpad);
}

.content-text-with-image {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.section-menu {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    justify-content: center;
    align-items: center;
    padding: 1em;
    text-underline-position: under;
}

.attention {
    text-align: center;
}

.icon-item {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 5px;
    place-items: center;
}

.component-image {
    max-width: 500px;
    max-height: 500px;
}

body {
    margin: 0;
    padding: 0;
}

.ns {
    user-select: none;
}

.thin-border {
    border-bottom: 1px solid #cacaca;
}

.highlight {
    background-image: radial-gradient(#1c2683, #000000);
    mask-image: radial-gradient(rgba(0, 0, 0, .45), transparent 50%);
}

.border-fade {
    background-color: #9b9b9b;
    height: 1px;
}

header {
    padding: 10px 0;
    background-color: white;
    /* border-bottom: 1px solid #9b9b9b; */
}

header>div {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin: auto;
    max-width: var(--pwidth);
    padding: var(--lrpad);
}

header .logo {
    height: 100px;
    padding-right: 10px;
}

header a,
footer a {
    text-decoration: none;
    color: #2b2b2b;
}

header ul a:hover,
footer a:hover {
    text-decoration: underline;
}

header .main-menu ul {
    font-size: 90%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5em;
}

header .menu-popup-wrapper {
    position: relative;
}

header .menu-popup-wrapper {
    position: relative;
}

header .menu-button {
    background: 0;
    display: none;
    height: 56px;
    width: 56px;
    border: 1px solid transparent;
}

header .menu-button:hover {
    background-color: rgb(240, 240, 240);
    border: 1px solid rgb(228, 228, 228);
}

header .menu-burger {
    background-image: url("/assets/menu.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

header .menu-close {
    background-image: url("/assets/close.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

header .submenu {
    display: none;
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 126px;
    left: 0;
    background: #e9e9e9ee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #9b9b9b;
    box-shadow: black 0px 6px 6px -6px;
}

header .submenu ul {
    font-size: 1.2em;
    padding: 0;
    margin: 0;
    list-style: none;
}

header .submenu li {
    border-bottom: 1px solid #cacaca;
}

header .submenu a, header .submenu li:first-of-type {
    display: inline-block;
    width: 100%;
    padding: 1em;
    text-align: center;
}

header .submenu li:first-of-type {
    padding: 5px;
}

header .submenu li:last-of-type {
    border: 0;
}

.info-popup {
    display: none;
    position: absolute;
    /* width: 250px; */
    background-color: #f1f1f1;
    border: 1px solid black;
    z-index: 1;
    padding: .5em;
    margin: 10px 0;
    line-height: 1.5em;
}

header .menu:hover .submenu,
.component-card-popup:hover .info-popup {
    display: block;
}

footer {
    padding: 10px 0;
    font-size: 90%;
    /* border-top: 1px solid #9b9b9b; */
    text-align: center;
}

header .flex {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    flex: 0 100%;
}

header .flex-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header .company-name {
    font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 20pt;
    line-height: 1;
    min-width: 360px;
    font-variant-caps: small-caps;
}

header .company-name span:first-of-type {
    text-transform: lowercase;
}

header .company-name span:nth-of-type(2) {
    font-size: .56em;
}

.content-wrapper {
    padding: 1em 0;
}

.content {
    max-width: var(--pwidth);
    margin: auto;
    padding: var(--lrpad);
}

.discover-wrapper {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.discover-wrapper>a {
    background: center / cover no-repeat;
    text-decoration: none;
    color: currentColor;
    height: 350px;
    min-width: 350px;
    max-width: calc(var(--pwidth) / 4);
    display: flex;
    justify-content: end;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.discover-wrapper>a div {
    background-color: #eeeeeeee;
    width: 100%;
    text-align: center;
}

.discover-wrapper>a div:first-of-type {
    font-size: 1.25em;
    padding-top: .5rem
}

.discover-wrapper>a div:last-of-type {
    color: maroon;
    padding-bottom: .5rem;
}

.components2 {
    /* display: flex;
    justify-content: center; */
    margin: auto;
    width: fit-content;
}

.components2 .component-card:not(:last-of-type) {
    border-bottom: 1px solid #cacaca;
}

.components2 .component-card {
    padding: 2em 0;
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.components2 .component-card-text,
.slide-text {
    display: flex;
    flex-direction: column;
    gap: 1em;
    flex: 1 1 0;
    min-width: 300px;
    max-width: 600px;
}

.slide-text {
    height: 175px;
}

.components2 .component-card-text ul {
    margin: 0;
    padding: 0 0 0 1em;
}

.components2 .component-card-title,
.slide-title {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.1;
}

.components2 .component-card-title-big,
.slide-title-big {
    font-size: 2.2em;
    font-weight: bold;
    line-height: 1;
}

.components2 .component-card-link,
.slide-link {
    padding: 5px 0px;
}

.components2 .component-card-link a,
.slide-link a {
    background-color: #006BC6;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 25px;
}

.components2 .component-card-link a:hover,
.slide-link a:hover {
    background-color: #006ac6b6;
}

.components2 .component-card-image {
    flex: 0;
    display: flex;
    width: 250px;
    align-items: center;
}

.slide-image {
    display: flex;
    width: 450px;
    height: 400px;
    align-items: center;
    justify-content: center;
}

.slide-image a {
    text-align: center;
}

.slide-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    max-height: 350px;
    transition: all 0.5s ease-out;
}

.components2 .component-card-image:hover {
    transform: scale(1.1);
}

.components2 .component-card-image img {
    width: 250px;
}

.news-logo-default {
    filter: grayscale(.2);
}

#parts,
.parts {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
}

#parts th,
.parts th {
    font-size: 1.1em;
    color: white;
    font-weight: normal;
    padding: 10px 10px;
    background-color: slateblue;
}

#parts .lastrow,
.parts .lastrow {
    background-color: slateblue;
    height: 5px;
    padding: 0;
}

#parts td,
.parts td {
    padding-top: 5px;
    padding-bottom: 5px;
}

#parts tr>td:first-child,
.parts tr>td:first-child {
    text-align: left;
    padding-left: .5em;
    width: 225px;
}

.content-wrapper:nth-of-type(odd) {
    background-color: #e9e9e9;
}

.datasheet-card {
    display: flex;
    gap: 1em;
}

.datasheet-card ul {
    margin-top: 5px;
}

.title {
    font-size: 2em;
    line-height: 1.1;
}

.sTitle {
    font-size: 1.5em;
}

.bTitle a {
    font-size: 1.5em;
    text-decoration: none;
    color: #2b2b2b;
}

.bTitle a:hover {
    text-decoration: underline;
}

.bDate {
    color: maroon;
}

#cats {
    min-width: 175px;
    text-align: center;
    border: 1px solid #cecece;
    padding: 4px 8px;
    border-radius: 2px;
}

#blogshort>div {
    margin-bottom: .5em;
}

.blog-post {
    padding: 10px 0;
    width: 100%;
}

.blog-post:last-of-type {
    padding: 10px 0 0 0;
}

.blog-post:not(:last-of-type) {
    border-bottom: 1px solid #cacaca;
}

.blog-post:only-of-type {
    padding: 0;
    margin: 0;
}

.blog-post-header {
    margin-bottom: 1em;
}

.blog-post table {
    width: 100%;
    text-align: center;
    border-spacing: 0;
}

.blog-post table th {
    background-color: slateblue;
    color: white;
    padding: .5em;
    font-weight: normal;
}

.blog-post table tr:nth-of-type(odd) {
    background-color: rgb(229, 228, 226)
}

.blog-post-header>div:nth-child(2) {
    display: flex;
    margin: .5em 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.blog-post img {
    max-width: 60%;
    display: inline-block;
    margin: auto;
}

.blog-post p:has(img) {
    text-align: center;
}

.fancylist {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: .5em;
}

.fancylist li {
    flex: 0 0 350px;
    padding: 1.5em;
    /* background-color: #e9e9e9; */
}

.fancylist li>* {
    /* height: 100%; */
    text-decoration: none;
    color: #2b2b2b;
    gap: .5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.fancylist-bg li {
    background-color: hsl(0, 0%, 85%);
}

.fancylist img {
    width: 100px;
}

.fancylist .thin-border {
    width: 50%;
    max-width: 250px;
}

.fancylist li:hover a {
    transform: scale(1.1);
}

.thin-menu {
    font-size: 125%;
    font-weight: 200;
}

/* ------ SLIDESHOW ------ */

#comp-slideshow {
    height: 350px;
    width: 450px;
}

/* Wrapper */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the images by default */
.slideshow-slide {
    display: none;
}

.slide-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-content img:hover {
    transform: scale(1.1);
}

/* ------ Slideshow navigation ------ */

.slideshow-nav {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.slideshow-nav2 {
    display: flex;
    flex-direction: row;
    gap: 3px;
    margin: 0 5px;
}

.slideshow-circle {
    border: 2px solid #3f3f3f;
    height: 15px;
    width: 15px;
    border-radius: 50%;
}

.slideshow-circle:hover {
    border-color: #000000;
    background-color: rgba(185, 185, 185, 0.5);
}

.slideshow-circle-filled {
    background-color: #3f3f3f
}

.slideshow-circle-filled:hover {
    background-color: #000000;
}

.slideshow-nav button:hover {
    border: 1px solid #5f5f5f;
}

.slideshow-nav button {
    background-color: transparent;
    border: 1px solid #acacac;
}

.slide-inactive {
    display: none;
}

.slide-active {
    display: block;
}

/* Fade animation */

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

header .submenu-wrapper {
    display: none;
}


/* ------ ------ */

.parts tr:nth-of-type(even) {
    background-color: rgb(229, 228, 226);
}

#parts tr th:last-child:not(:only-child),
#parts tr td:last-child:not(:only-child) {
    display: none;
}

@media screen and (min-width:2000px) {
    .page-intro {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 233, 233, 1) 10%, rgba(233, 233, 233, 1) 80%, rgba(255, 255, 255, 0.9) 100%);
    }

    .content-wrapper:nth-of-type(2n+1) {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 233, 233, 1) 10%, rgba(233, 233, 233, 1) 80%, rgba(255, 255, 255, 0.9) 100%);
    }

    .border-fade {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(155, 155, 155, 1) 10%, rgba(155, 155, 155, 1) 90%, rgba(255, 255, 255, 0.9) 100%);
    }
}

@media screen and (max-width:850px) {
    :root {
        --pwidth: 850px;
        --lrpad: 0 25px;
    }

    #comp-slideshow {
        height: 250px;
        width: inherit;
    }

    .components2 .component-card {
        gap: 10px;
    }

    .page-intro-content>div {
        flex-wrap: wrap;
    }

    .page-intro-content>div>div {
        flex-basis: 100%;
    }

    .page-intro-content-image {
        display: flex;
        justify-content: center;
    }

    header .g-search {
        display: none;
    }

    header .thin-border {
        display: none;
    }

    header .main-menu {
        display: none;
    }

    header .submenu-wrapper {
        display: block;
    }

    header .menu-button {
        display: block;
    }

    header .company-name {
        font-size: 18pt;
        min-width: 330px;
    }

    header .flex {
        width: 80%;
    }

    .page-intro .menu>a {
        display: grid;
        grid-template-columns: 24px 200px;
        gap: 5px;
    }

    .content-text-with-image {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    #parts tr td:nth-child(2),
    #parts tr td:nth-child(6),
    #parts tr td:nth-child(7),
    #parts tr td:nth-child(8),
    #parts tr th:nth-child(2),
    #parts tr th:nth-child(6),
    #parts tr th:nth-child(7),
    #parts tr th:nth-child(8) {
        display: none;
    }

    #parts tr th:last-child:not(:only-child),
    #parts tr td:last-child:not(:only-child) {
        display: table-cell;
    }

    header .flex-between {
        align-items: center;
    }

    .slideshow-container {
        width: 300px;
        height: 250px;
    }

    .blog-post img {
        max-width: 100%;
        display: block;
        margin: auto;
    }

    .discover-wrapper>a {
        max-width: unset;
    }
}

@media screen and (max-width:750px) {
    :root {
        --pwidth: 750px;
        --lrpad: 0 25px;
    }

    header .company-name {
        font-size: 11pt;
        min-width: 100px;
    }

    header .logo {
        height: 56px;
        padding-right: 5px;
    }

    header .submenu {
        top: 82px;
        left: 0;
    }
}

.grid-with-icon {
    display: grid;
    grid-template-columns: 45px auto;
    align-items: center;
    gap: 1em;
    justify-content: center;
}

.eq-order-info {
    font-size: 16pt;
}

.startFreq {
    color: rgb(128, 0, 0);
    font-weight: bold;
    font-family: monospace;
}

.stopFreq {
    color: rgb(0, 0, 128);
    font-weight: bold;
    font-family: monospace;
}

.fbs {
    color: rgb(0, 128, 0);
    font-weight: bold;
    font-family: monospace;
}

.fancylist .icon,
.icon {
    width: 100px;
    height: 100px;
    fill: #555555;
}

.icon-small {
    width: 24px;
    height: 24px;
    fill: #555555;
}

.icon-mid {
    width: 56px;
    height: 56px;
    fill: #555555;
}

svg.greencheck {
    width: 45px;
    height: 45px;
    background-color: rgb(0, 128, 0);
    fill: white;
    border-radius: 50%;
}

.more {
    position: relative;
}

.moremenu {
    display: none;
    position: absolute;
    width: 300px;
    background-color: #f1f1f1;
    border: 1px solid black;
    z-index: 1;
    right: 0px;
}

.more:hover .moremenu {
    display: block;
}

.moremenu>div {
    box-shadow: 2px 2px 4px;
    display: grid;
    grid-template-columns: repeat(2, 150px);
}

.moremenu .moremenu-title {
    background-color: slateblue;
    color: white;
    line-height: 1.75;
}

.moremenu .moremenu-data {
    line-height: 1.75;
}

.more-chevron {
    width: 24px;
    height: 24px;
}

header .form-wrapper {
    display: flex;
    gap: 10px;
    margin: .5em auto;
    width: 50%;
}

header .form-wrapper input[type="text"] {
    flex: 1;
}

header .form-wrapper input[type="submit"] {
    flex: 0;
}

.tagsList {
    font-size: .8em;
}

.tagsList span {
    margin-right: .5em;
    white-space: nowrap;
    display: inline-block;
}

.tagsList span a,
.singletag {
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid #cecece;
    border-radius: 2px;
    color: #2b2b2b;
}

.tagsList span a:hover {
    text-decoration: underline;
}

.blog-post:first-of-type {
    padding: 0 0 10px 0;
}

.blog-post:only-of-type {
    padding: 0;
}

.software-logo {
    margin: 1rem auto;
    text-align: center;
}

.software-logo2 {
    padding: 24px;
    background: white;
    border: 1px solid currentColor;
}

.software-box {
    padding: 10px 20px;
    margin-bottom: 1em;
    background-color: #e9e9e9;
}

.software-box img {
    height: 100px;
    box-shadow: 2px 2px 4px #555555;
}

.download-card, .sec {
    margin: 1em 0;
}

.download-card:first-of-type {
    margin: 0 0 1em 0;
}

.download-card:last-of-type {
    margin: 1em 0 0 0;
}

.download-card>div:first-of-type {
    font-weight: bold;
    margin-bottom: .5em;
}

.download-card>div:nth-of-type(2) {
    font-weight: bold;
    font-size: .8em;
    text-decoration: underline;
}

.download-card-table {
    display: flex;
    justify-content: space-between;
}

.download-card-table div:first-of-type {
    flex: 3 1;
}

.download-card-table div {
    flex: 1 1;
}

.quote-link {
    color: currentColor;
    text-align: center;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid currentColor;
    border-radius: 30px;
}
.quote-link:hover {
    background: #ffffff;
}

.big-border {
    font-size: 1.5em;
    padding: 24px;
    border: 3px solid #007ec6;
    border-radius: 5px;
}

.detail-same > div {
    margin: 0;
}

.detail-same > div + div {
    margin: 1em 0;
    border-bottom: 1px solid #cacaca;
}

.detail-same > div:last-of-type {
    border: none;
    margin: 0;
}

.detail-same > div:last-of-type > ul:last-of-type {
    margin-bottom: 0;
}

.content > :first-child, .page-intro-content > :first-child {
    margin-top: 0;
    padding-top: 0;
}

.content > :last-child, .page-intro-content > :last-child:not(.big-border)  {
    margin-bottom: 0;
    padding-bottom: 0;
}

input[name="q"] {
    border: 1px solid #cacaca;
}

input[name="sa"] {
    background-color: #e9e9e9;
    border: 1px solid #9e9e9e;
    color: #2b2b2b;
}