:root {
    /*color rgb values*/
    --color-primary: 35, 55, 84;
    --color-orange: 255, 163, 0;
    --color-light-blue: 118, 203, 232;
    --color-darker-blue: 68, 180, 218;
    /*faq items box shadow*/
    --box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .2);
    /*general border*/
    --border-primary: 2px solid rgb(var(--color-primary));
}

/*general styles*/

body {
    font-family: 'Montserrat', sans-serif;
    color: rgb(var(--color-primary));
}

.container {
    width: 1390px;
    max-width: 90%;
    margin: 0 auto;
}

.text {
    line-height: 26px;
}

.text--bold {
    font-weight: 700;
}

.title--h3 {
    font-size: 25px;
    line-height: 35px;
    margin: 0;
}

.link {
    color: rgb(var(--color-darker-blue));
    font-weight: 700;
}

.nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding-left: 0;
}

.nav ul:nth-of-type(2) {
    margin-top: 30px;
}

.nav .nav__button,
.nav .nav__button:visited,
.nav .nav__button:focus,
.nav .nav__button:focus-visible {
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: 100px;
    padding: 10px 15px;
    display: inline-block;
    position: relative;

    transition: all .2s ease;
}

.nav .nav__button.nav__button--full,
.nav .nav__button.nav__button--full:visited,
.nav .nav__button.nav__button--full:focus,
.nav .nav__button.nav__button--full:focus-visible {
    background-color: rgba(var(--color-light-blue), .7);
    color: rgb(var(--color-primary));
}

.nav .nav__button.nav__button--full:hover {
    background-color: rgb(var(--color-orange));
    transform: translateY(-5px);
}

.nav .nav__button.nav__button--outline,
.nav .nav__button.nav__button--outline:visited,
.nav .nav__button.nav__button--outline:focus,
.nav .nav__button.nav__button--outline:focus-visible {
    background-color: white;
    color: rgb(var(--color-primary));
    border: 2px solid rgba(var(--color-primary));
}

.nav .nav__button.nav__button--outline:hover {
    background-color: rgba(var(--color-primary));
    color: white;
    transform: translateY(-5px);
}

/*header*/

.header {
    background-image: url('img/header-wave.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;

    height: calc(100vw / (1440 / 200));
    padding: 30px 0;
}

.header .container {
    display: flex;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.header a {
    z-index: 5;
}

.header .header__logo {
    width: 185px;
}

.header .header__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;

    text-align: center;
    margin: 0;
    font-size: 55px;
    font-weight: 700;
    color: white;
}

/*footer*/
.footer {
    background-image: url('img/footer-wave.svg');
    background-repeat: no-repeat;
    background-size: 120% auto;
    background-position: bottom left;
    height: calc(100vw / (1440 / 500));
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .footer__logo {
    width: 240px;
}

.footer .footer__address {
    color: white;
    line-height: 26px;
    text-align: center;
    margin-top: 20px;
}

.footer nav ul {
    justify-content: center;
}

.footer nav .link {
    color: rgb(var(--color-light-blue));
}

/*price list page*/
.price-list__section .price-list__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-list__total-products {
    font-weight: 600;
}

#totalProductsNumber {
    font-weight: 400 !important;
}

.price-list__download-btn {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.price-list__download-btn-icon {
    width: 20px;
}

.price-list__header #downloadBtnsContainer .dt-buttons {
    display:flex;
    justify-content: space-between;
}

.price-list__header #downloadBtnsContainer .price-list__total-products {
    color: rgb(var(--color-orange));
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.price-list__header #downloadBtnsContainer button {
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: 100px;
    padding: 10px 15px;
    display: inline-block;
    position: relative;
    background-color: white;
    color: rgb(var(--color-primary));
    border: 2px solid rgba(var(--color-primary));
    cursor: pointer;
    transition: all .2s ease;
}

.price-list__header #downloadBtnsContainer button:hover {
    background-color: rgba(var(--color-primary));
    color: white;
    transform: translateY(-5px);
}

/*price list filters*/
.price-list__filters {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.price-list__filters .price-list-filters__title {
    margin: 0;
    color: rgb(var(--color-orange));
}

.price-list__filters label {
    transition: all .2s ease;
}

.price-list__filters input[type="radio"]:checked + label {
    font-weight: 700;
}

/*dataTables*/
#price-list_wrapper {
    margin-top: 20px;
}

/*search and result number*/
.dt-layout-row:nth-of-type(2) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.dt-length label{
    margin-left: 10px;
}

.dt-search label {
    margin-right: 10px;
}

.dt-search .dt-input {
    border: var(--border-primary);
    border-radius: 3px;
}

/*table*/

#price-list {
    border-radius: 30px;
    border: var(--border-primary);
    border-spacing: 0;
    margin-top: 20px;

    overflow-x: scroll;
    table-layout: fixed;
}

#price-list thead th{
    background-color: rgba(var(--color-orange), .4);
    border-bottom: 1px solid rgba(var(--color-primary), .2);
    padding: 15px 0;
    cursor: pointer;
}

#price-list thead th:first-of-type {
    border-top-left-radius: 30px;
    padding-left: 40px;
}

#price-list thead th:last-of-type {
    border-top-right-radius: 30px;
    padding-right: 40px;
}

#price-list th .dt-column-title {
    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

#price-list thead th:nth-last-of-type(2) .dt-column-title {
    justify-content: center;
}

#price-list th:last-of-type .dt-column-title {
    justify-content: flex-end;
}

/* #price-list th:nth-of-type(4) .dt-column-title {
    justify-content: center;
}

#price-list th:last-of-type .dt-column-title {
    justify-content: flex-end;
} */

#price-list th .dt-column-title img {
    width: 6px;
}

/*table row hover effect*/
#price-list tbody tr:hover td {
    background-color: rgba(var(--color-light-blue), .14);
    font-weight: 500;
}

#price-list tbody tr td {
    padding: 15px 0;
    transition: all .2s ease;
}

#price-list tbody tr:not(:last-of-type) td {
    border-bottom: 1px solid rgba(var(--color-primary), .2);
}

#price-list tbody tr td:first-of-type {
    padding-left: 40px;
}

#price-list tbody tr td:last-of-type {
    padding-right: 40px;
    text-align: right;
}

#price-list tbody tr td:nth-of-type(4) {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    width: fit-content;
    white-space: nowrap;
}

#price-list tbody tr td:nth-last-of-type(2) {
    text-align: center;
}

/* #price-list tbody tr td:nth-of-type(5) {
    text-align: center;
} */

/*table pagination*/
.dt-layout-row:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    row-gap: 10px;
}

.dt-paging.paging_full_numbers {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.dt-paging.paging_full_numbers button {
    background-color: rgba(var(--color-light-blue), .14);
    border: var(--border-primary);
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;

    transition: background-color .2s ease;
}

.dt-paging.paging_full_numbers button:hover {
    background-color: rgba(var(--color-light-blue), .5);
}

/*faq page*/
.faq__container {
    margin-top: 50px;
}

.faq__container .faq__item {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 30px 35px;
    border-radius: 20px;
    max-width: 100%;
}

.faq__container .faq__item:not(:first-of-type) {
    margin-top: 50px;
}

.faq__container .faq__item .nav {
    margin-top: 30px;
}

.faq__item .title--h3 {
    color: rgb(var(--color-orange));
}

.faq__item ol li:not(:first-of-type) {
    margin-top: 16px;
}

.vendor-contact-info__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.vendor-contact-info__item .text {
    background-color: rgba(var(--color-light-blue), .5);
    border: var(--border-primary);
    font-weight: 700;
    border-radius: 10px;
    padding: 13px 0;
    margin: 0;
    text-align: center;
}

.vendor-contact-info__item .vendor-contact-info__list {
    margin-bottom: 0;
}

.vendor-contact-info__item .vendor-contact-info__list li {
    line-height: 26px;
}

/*terms/text page*/
.text__container {
    margin-top: 50px;
}

.text__container .title--h3 {
    margin-top: 35px;
}

/*index*/
.links__container {
    display: flex;
    gap: 30px;
    margin-top: 16px;
}

/*Product expiration chart page*/
.product-expiration-chart__section #price-list {
    width: 100%;
    margin-top: 40px;
}

.product-expiration-chart__section #price-list thead th {
    text-align: left;
    cursor:default;
}

.product-expiration-chart__section #price-list thead th:last-of-type {
    padding-left: 40px;
}

.product-expiration-chart__section #price-list tbody tr td:first-of-type,
.product-expiration-chart__section #price-list tbody tr td:last-of-type {
    text-align: left;
    padding-left: 40px;
}

.product-expiration-chart__section #price-list tbody tr td:first-of-type,
.product-expiration-chart__section #price-list thead th:first-of-type {
    border-right: var(--border-primary);
}

.product-expiration-chart__section #price-list tfoot td {
    padding-left: 40px;
    border-top: var(--border-primary);
}

.product-expiration-chart__section .faq__container .faq__item {
    padding: 40px 50px;
}

.product-expiration-chart__section .faq__container:not(:first-of-type) {
    margin-top: 80px;
}

/*page loader animation*/
#pageLoader {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader__text {
    color: white;
}

.loader {
    width: 65px;
    aspect-ratio: 1;
    position: relative;
}
.loader:before,
.loader:after {
    content: "";
    position: absolute;
    border-radius: 50px;
    box-shadow: 0 0 0 3px inset #fff;
    animation: l4 2.5s infinite;
}

.loader:after {
    animation-delay: -1.25s;
}
  
@keyframes l4 {
    0% {
      inset: 0 35px 35px 0;
    }
    12.5% {
      inset: 0 35px 0 0;
    }
    25% {
      inset: 35px 35px 0 0;
    }
    37.5% {
      inset: 35px 0 0 0;
    }
    50% {
      inset: 35px 0 0 35px;
    }
    62.5% {
      inset: 0 0 0 35px;
    }
    75% {
      inset: 0 0 35px 35px;
    }
    87.5% {
      inset: 0 0 35px 0;
    }
    100% {
      inset: 0 35px 35px 0;
    }
}

/*media queries*/
@media screen and (min-width: 2000px) {
    .footer {
        background-position: unset;
        margin-top: -200px;
    }
}

@media screen and (max-width: 1439px) {
    .header {
        padding: 20px 0;
    }

    .header .header__title {
        font-size: 50px;
    }
}

@media screen and (max-width: 1350px) {
    .dt-layout-table .dt-layout-cell {
        overflow-x: scroll;
    }
}