/* FONTS */

@font-face {
	font-family: 'review-regular';
	src: url('/review-regular-web.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'review-bold';
	src: url('/review-bold-web.woff') format('woff');
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: 'pp-formula-condensed-italic';
	src: url('/ppformula-ade500-condensed-black-italic.woff') format('woff');
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: 'pp-formula-condensed';
	src: url('/ppformula-ade500-condensed-black.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'pp-formula-condensed-bold'; /* This text isn't actually condensed, but the body text is extended, so comparatively, it is. */
	src: url('/ppformula-ade500-bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}


/* Regular */
@font-face {
	font-family: 'pp-formula-bold'; /* This text is actually extended, but the designated body text is too, thus it's bold variation must be too */
	src: url('/ppformula-ade500-extended-extra-bold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
}


@font-face {
	font-family: 'pp-formula'; /* This text is actually extended, but it's the designated body text */
	src: url('/ppformula-ade500-extended-medium.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'pp-formula-light';
	src: url('/ppformula-ade500-5-light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

@font-face {
    font-family: 'Code-39';
    src: url('/code39_XL.woff') format('woff');
}

/* HEADER */
.header {
    display: block;
}

.header-print {
    display: none;
}

.header_logo_img {
    display: block;
    height: 70px;
}

.header_logo {
    flex: 0 0 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.header_dates {
    font-size: 2.4rem;
    line-height: 1.2;
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    text-align: right;
}

.header_title {
    font-size: 2.7rem;
    line-height: 1.2;
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    text-align: right;
}

.header_left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    width: 40%;
    height: 100%;
}

.header_right {
    display: flex;
    justify-content: center;   /* Horizontal alignment to start */
    align-items: flex-end;         /* Vertical alignment to end/bottom */
    flex-flow: column;                /* Children arranged in a row */
    width: 60%;
    height: 100%;
}

.header_top {
    display: flex;
    flex-flow: row;
    overflow: hidden;
    height: 120px;
    width: 95%;
    max-width: 800px
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding: 0;
    position: fixed;
    left: 0;
    right: 0;
    background-color: #0a0203;
    min-height: 120px;
    flex-wrap: wrap;
}

.section-header-print {
    display: none;
}

.navbar {
    position: relative;
    min-height: 10px;
    margin-bottom: 20px;
}

.navbar-static-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure the header stays on top of other content */
}

.navbar-static-top.navbar-inverse {
    background-color: #fff;
}

.navbar-static-top.navbar-inverse {
    background-color: #fff;
}


/* STATE SUITE HEADER */

.section-header-statesuite {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background-color: #BABEC2;
    display: flex;
    flex-direction: column;
}

.header_top_statesuite {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 800px;
    margin: 0 auto;   /* centers the content */
    min-height: 100px;
}


.header_title_statesuite {
    font-size: 2.7rem;
    line-height: 1.2;
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #000000;
    text-align: right;
}

.header_dates_statesuite {
    font-size: 2.4rem;
    line-height: 1.2;
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #000000;
    text-align: right;
}

.header_lines {
    display: flex;
    flex-direction: column;
    width: 100%;  /* naturally full width since parent is full width */
    margin-bottom: 5px;
}

.line {
    height: 3px; /* thickness of each line */
    margin-top: 2px;
    width: 100%;
}

.line.nitrogreen { background-color: #CCFF00; }
.line.velocityindigo  { background-color: #3C00A0; }

/* BODY */
.container {
    max-width: 800px;    
}

.body {
    font-family: pp-formula,Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-weight: 400;
    color: #0a0203;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 150px;
    padding-bottom: 50px;
    height: 100%;
}

.ticket {
    font-family: pp-formula-bold,Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    color: #353535;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ticketBlock {
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    max-width: 800px;
    word-break: break-word;
    align-items: center;
}

.facility {
    display: flex;
    justify-content: flex-start;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-flow: column;
    padding-bottom: 20px;
}

.facilityname {
    font-family: review-bold,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 700;
    text-transform: uppercase;
    color: #353535;
    font-size: 3.9rem;
    letter-spacing: -2px;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.facility-details {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    padding-top: 10px;
    flex-flow: column;
}

.facilitynumber {
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #353535;
    font-size: 2rem;
    width: 50%;
    display: flex;
    justify-content: flex-start;
    margin-left: 2rem;
}

.facilitylocation {
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #353535;
    font-size: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.redzone {    
    font-family: review-boldd,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 700;
    text-transform: uppercase;
    color: #e1251b;
    font-size: 2.8rem;  
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.eventday {
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    font-size: 2.3rem;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.ticketname {
    font-family: review-regular,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    color: #353535;
    display: flex;
    align-items: center;
    flex-flow: column;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ticketname-line1 {    
    font-size: 2.8rem;    
    display: flex;
    justify-content: center;    
}

.ticketname-line2 {    
    font-size: 2.5rem;
    display: flex;
    justify-content: center;    
}

.barcode {
    font-family: Code-39;
    font-size: 8rem;
    color: #0a0203;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    background: #fff;
}

.serial {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    letter-spacing: 2px;
    padding-bottom: 20px;
    font-family: pp-formula,Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
}

.entrydate {
    font-family: pp-formula-condensed-bold,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 400;
    color: #353535;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

.entrytime {
    font-family: Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    color: #353535;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    flex-flow: column;
    align-items: center;
    text-align: center;
}

.keyinformation {
    font-family: Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-size: 1.2rem;
    display: flex;
    flex-flow: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
}

.samsb-a {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: underline !important;
}

.samsb-a:hover {
    text-decoration: none !important;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.wrapper-body {
    min-height: calc(100% - 300px);
    margin-bottom: 0px;
}

.termsandconditions {
    display: none;
    font-size: 1.2rem;
    font-family: Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    max-width: 500px;
    max-height: 800px;
}

.termsandconditions-body {
    width: 100%;
    height: 100%;
    align-content: center;
    justify-content: center;
    min-height: 1000px;
    display: none;
    flex-wrap: wrap;
}

.termsandconditions-header {
    font-size: 2.7rem;
    line-height: 1.2;
    font-family: pp-formula-condensed-bold,Helvetica,Arial,sans-serif,Iowan Old Style,Apple Garamond,Baskerville,Times New Roman,Droid Serif,Times,Source Serif Pro,serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a0203;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}

.boldred {
    font-weight: bold;
    color: #e1251b;
}

.invalidticket {
    width: 100%;
    height: 100%;
    align-content: center;
    justify-content: center;
    padding-top: 200px;
    display: block;
    flex-wrap: wrap;
    text-align: center;
    flex-flow: column;
}

/* FOOTER */
.footer {
    background-color: #0a0203;
}

.footer-ticket {
    max-width: 800px;
}

.footer-flag-wrap {
    position: relative;
}

.importantinformation {
    background-color: #0a0203;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-size: 1.5rem;
    display: flex;
    flex-flow: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    color: #fff;
    max-width: 600px;
    padding-left: 5px;
    padding-right: 5px;
}

.section--sponsors {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #0a0203;
}

.section--footer {
    position: static;
    padding-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #939191;
    font-family: pp-formula,Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-weight: 400;
    display: flex;
    justify-content: center;
}

.major-partners {
    position: relative;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    align-items: center;
    z-index: 1;
    gap: 0 40px;
}

.major-partners__item img {
    max-height: unset;
    max-width: 100px;
}

.major-partners__item_narrow img {
    max-height: 50px;
    max-width: unset;
}


.footer-print {
    display: none;
}

/* STATE SUITE FOOTER */
.footer_statesuite {
    background-color: #BABEC2;
}

.importantinformation_statesuite {
    background-color: #BABEC2;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-size: 1.5rem;
    display: flex;
    flex-flow: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    color: #000000;
    max-width: 600px;
    padding-left: 5px;
    padding-right: 5px;
}

.section--sponsors_statesuite {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #BABEC2;
}

.section--footer_statesuite {
    position: static;
    padding-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #939191;
    font-family: pp-formula,Helvetica,Arial,sans-serif,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Ubuntu,roboto,noto,arial;
    font-weight: 400;
    display: flex;
    justify-content: center;
}

/* MOBILE VIEW */
@media (max-width: 730px) { 
    /* HEADER */
    .header_title, .header_title_statesuite {
        font-size: 1.7rem;
    }

    .header_dates, .header_dates_statesuite {
        font-size: 1.6rem;
    }

    .header_logo_img {
        height: auto;
        max-width: 100%;
    }

    .header_right {
        width: 50%;
    }

    .header_left {
        width: 50%;
    }

    /* BODY */
    .eventday {
        font-size: 2rem;
    }

    .barcode {
        font-size: 7rem;
    }

    .facilityname {
        font-size: 3.4rem;
    }

    .facilitylocation {
        font-size: 1.6rem;
    }

    /* FOOTER */
    .major-partners__item img {
        max-height: unset;
        max-width: 70px;
    }

    .major-partners__item_narrow img {
        max-height: 37px;
        max-width: unset;
    }

    .major-partners {
        gap: 0 20px;
    }
    
}

/* PRINTING */
@media print {


    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    .header,
    .footer {
        display: none;
    }

    .header-print {
        display: block;
        page-break-after: avoid;
        background: #0a0203 !important;
    }

    .body {
        padding-top: 0px;
    }

    .ticketBlock {
        width: 100%;
        max-width: 100%;
        padding-top: 150px;
    }

    .container {
        width: 100%;
    }    

    .pagebreak {
        page-break-after: always;
    }
      
    .footer-print {
        display: flex;
        width: 100%;
        justify-content: center;
        background: #0a0203 !important;
    }

    .termsandconditions {
        display: block;
    }

    .termsandconditions-body {
        display: flex;
    }

    .section--footer{
        display: none;
    }

    @page :first {

        @top-center {
            content: element(header-print)
         }
    }

}
