﻿:root {
    --spacing: 3.75rem;
    --gutter: 1.25rem;
    --grey: rgb(118, 118, 130);
    --bgGrey: rgb(232, 232, 234);
}

html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

@font-face {
    font-family: 'BBBPoppinsTN-TextSemiBold';
    src: url('../fonts/BBBPoppinsTN-TextSemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BBBPoppinsTN-Text';
    src: url('../fonts/BBBPoppinsTN-TextRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BBBPoppinsTN-DisplaySemiBold';
    src: url('../fonts/BBBPoppinsTN-DisplaySemiBold.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BBBPoppinsTN-Display';
    src: url('../fonts/BBBPoppinsTN-DisplayRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



a {
    text-decoration: none;
    color: inherit;
}

    a[href]:hover {
        color: #782cde;
    }

h1, h2, h3, h4, h5, p {
    margin: 0;
    line-height: 1em;
}

body {
    font-family: BBBPoppinsTN-Text,Tahoma,Helvetica,Arial,sans-serif;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 400;
    font-style: normal;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures,contextual;
    font-variant-numeric: oldstyle-nums,proportional-nums;
    font-feature-settings: "kern","liga" 1,"clig","calt","onum","pnum";
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
    width: 100%;
    box-sizing: border-box;
    color: rgb(26, 26, 47)
}

header {
    height: 8rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    box-sizing: border-box;
    background-color: white;
    padding: 0 var(--spacing);
    position: fixed;
    top: 0;
    z-index: 100;
    overflow: visible;
}

#headerLogo {
    width: 12rem;
}

#headerRight {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

#headerSearchContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

#headerSearchTB {
    display: none;
    border-color: #782cde;
    border-style: solid;
    border-width: 1px;
}

.SearchMode #headerSearchTB {
    display: inline !important;
}

#headerSearchIcon {
    height: 1.5rem;
    width: 1.5rem;
    color: inherit;
    cursor: pointer;
    margin-left: 0.5rem;
}

    #headerSearchIcon:hover, .SearchMode #headerSearchIcon {
        color: #782cde;
    }

#headerMenu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-right: 2rem;
}

    #headerMenu li {
        padding: 1rem;
        min-width: 4rem;
        list-style: none;
    }

.menuItemIsActive {
    color: #782cde;
}

content {
    padding: 0 var(--spacing);
    margin-top: 8rem;
    width: 100vw;
    display: block;
    box-sizing: border-box;
}

h1, h3 {
    font-family: BBBPoppinsTN-DisplaySemiBold;
    font-weight: 400;
}

h5, h4 {
    font-family: BBBPoppinsTN-Display;
    font-weight: 400;
}

#headerTnTitle {
    font-size: 1.4rem;
}

footer {
    margin-top: 5rem;
    background-color: black;
    width: 100%;
    box-sizing: border-box;
    color: white;
    padding: 1rem var(--spacing);
    font-size: 14px;
}

    footer .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    footer a {
        font-weight: bold;
    }

@media (orientation:portrait) {
    header, content, footer {
        padding: 0 1rem;
    }

    html {
        font-size: 2.7vh;
    }

    #headerRight {
        display: none;
    }
}
