﻿/*************
RESET
*************/

html {
    scroll-behavior: smooth;
}

body {
    color: #111;
    font-family: 'Montserrat', Arial, sans-serif;
}

.bg-black {
    background: #090909 !important;
}


.row.display-flex {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

@media (min-width: 768px) {
    col-sm-3 {
        width: calc(25% - 20px); /* Subtract margin value */
        margin: 10px; /* Add the desired margin */
        box-sizing: border-box; /* Include padding and border in width */
    }

    .row.display-flex {
        row-gap: 20px;
    }
}

@media (max-width: 576px) {
    .row.display-flex > [class*='col-'] {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

#content-wrapper {
    max-width: 100%;
    padding-top: 0px;
    margin-top: 0px;
    padding-bottom: 0;
}

.container-fluid {
    padding: 0;
    margin: 0;
}

/***************
CONTENT SPECIFIC
***************/
h1, h2 {
    font-family: 'Raleway', cursive;
    margin: 0.5em;
    text-align: center;
    font-weight: normal;
    font-size: 3.75em;
}

h2 {
    font-size: 3em;
}

p, ul {
    font-size: 1.25em;
    color: #333;
    font-weight: 300;
}

a, a:hover, a:focus {
    font-family: inherit;
    color: #000;
}

/*************
LAYOUT
*************/

section {
    padding: 0;
}

    section .content {
        padding-top: 4rem;
        padding-bottom: 5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    section .text-intro {
        text-align: center;
    }

        section .text-intro p {
            line-height: 1.5;
        }

.anchor::before {
    display: block;
    content: "";
    height: 62px;
    margin: -62px 0 0;
}


/*************
NAV 
*************/

/*************
HEADER
*************/
#skin {
    padding-top: 0;
}


#container-awards {
    max-width: 80em;
    margin: 0 auto;
}

#awards-header {
    height: auto;
    width: 100%;
    background-image: url(../images/2024/TOTY-background-images.png);
    text-align: center;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

#awards-header img {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.container-awards-logo-link {
    width: 200px;
    display: block;
    margin-bottom: 1.75rem;
    padding-top: 80px;
    padding-bottom: 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container-awards-logo-link {
        width: 250px;
        padding-top: 50px;
    }
    .container-awards-logo-link {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .container-awards-logo-link{
        width: 260px;
    }

    .container-awards-logo-link {
        width: 330px;
    }
}

@media (min-width: 1120px) {
    .container-awards-logo-link {
        width: 440px;
    }
}

@media (min-width: 1360px) {
    .container-awards-logo-link {
        width: 480px;
    }
}

@media (max-width: 575px) {
    .container-awards-logo-link {
        width: 170px;
        margin-left: auto;
        margin-right: auto;
    }
}


#awards .section-banner img {
    margin-left: auto;
    margin-right: auto;
}

.awards-grid {
    font-weight: 300;
}

.awards-grid .product-container {
    border: 5px solid #603d93;
    border-radius: 20px;
    padding: 20px 10px;
    height: 100%;
}

.awards-grid .image {
    text-align: center;
    padding-bottom: 1em;
}

.awards-grid .name {
    font-size: 1.5em;
    color: #000;
    text-transform: uppercase;
    font-family: 'Raleway', cursive;
}

.categories > div {
    text-align: center;
    margin-bottom: 1em;
}

.categories a {
    height: 100%;
}

.categories .type,
.categories .ProductName {
    padding-top: 0.25em;
    text-align: center;
}

.product-heading {
    font-size: 18px;
}

@media (min-width: 769px) {
    .sub-heading {
        margin: 1.5em .5em .875em;
    }

    .awards-entry-inner {
        width: 48em;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-details-summary .edit-details-link {
        right: 5.5rem;
    }

    .form-row {
        grid-column-gap: 30px;
    }

    .form-entry .section {
        padding: 3rem 3.5rem;
        border-radius: 5px;
    }

    .products-added input[type="submit"] {
        margin-top: 1rem;
    }

    .summary-table {
        margin-top: 2.5rem;
    }

    .section-heading, .section-heading strong {
        margin-bottom: 1.75rem !important;
        margin-top: 2rem !important;
    }

    .home-section-heading {
        font-size: 38px !important;
        margin-top: 2rem !important;
    }

    .product-details-heading {
        margin-top: 3.5rem !important;
    }
}

@media (min-width: 961px) {
    .error ul li, .error ul li strong {
        font-size: 1.5rem;
    }

    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .awards-2023 h2 {
        font-size: 2.75em;
        margin-bottom: 0.875em;
    }

    .sub-heading {
        font-size: 1.9875em;
    }

    .awards-entry p {
        font-size: 1.125em;
        margin-bottom: 2.5em;
    }

    .awards-entry-inner {
        width: 62em;
    }

    .entry-heading {
        font-size: 2.75em !important;
        margin: 1.25em 0 0.75em;
    }

    .entry-intro {
        margin-bottom: 1em;
    }

        .entry-intro p {
            font-size: 1.5em;
        }

    .entry-progress-bar li, .entry-progress-bar li strong {
        font-size: 19px;
        line-height: 1.25;
        font-weight: bold;
    }

    .edit-details-link {
        margin-top: 5px;
        top: 3rem;
        right: 3rem;
    }

    .section {
        font-size: 16px;
    }

    .section-heading {
        margin-bottom: 1.875rem !important;
        font-size: 19px !important;
    }

    .home-section-heading {
        margin-bottom: 1.875rem !important;
        font-size: 40px !important;
    }

    .product-heading {
        font-size: 21px;
    }

    .products-added-desc {
        width: calc(100% - 200px);
    }

    .product-details-heading {
        margin-top: 5.25rem !important;
    }

    [type="text"], [type="password"], [type="date"], [type="datetime"], [type="datetime-local"], [type="month"], [type="week"], [type="email"], [type="number"], [type="search"], [type="tel"], [type="time"], [type="url"], [type="color"] {
        height: 38px;
        margin-bottom: 1.5rem;
    }

    textarea {
        margin-bottom: 2.125rem;
    }

    .radio-button-list {
        margin-bottom: 2rem;
    }

    .finalists {
        margin-top: 2.75rem;
        margin-bottom: 2.75rem;
    }

    .awards-entry .sub-heading {
        font-size: 2.5em;
    }

    .awards-entry label {
        font-size: 1.025em;
        line-height: 1.25;
    }

    .important-note p {
        font-size: 1em !important;
    }

    input[type="checkbox"] {
        margin-top: 6px !important;
    }

    input[type="submit"]:not(.products-added input[type="submit"]), button, .button {
        font-size: 1em;
        padding: .25em 2.5em;
    }

    .braintree-large-button {
        font-size: 1em;
    }

    .awards-entry {
        padding: 1rem 1.5rem 5rem;
    }

    .summary-row {
        grid-template-columns: auto 240px 90px;
    }

    .thank-you .intro-line, .thank-you strong {
        font-size: 2rem !important;
    }

    .thank-you .intro-line {
        margin-bottom: 1em;
    }

    .thank-you p {
        font-size: 1.25em;
        margin-bottom: 2.5em;
    }
}

@media (min-width: 1120px) {
    .home-section-heading {
        font-size: 46px !important;
    }

    .intro-page {
        padding: 4em 0;
    }

        .intro-page p {
            line-height: 1.75;
            font-size: 1.4875em;
        }

            .intro-page p:first-of-type:not(.intro-page .awards-entry p:first-of-type) {
                font-size: 1.75em;
            }

    .awards-entry-intro p {
        margin-bottom: 1.5em !important;
        text-align: center;
    }

    #awards-header {
        background-position: center center;
    }

    .awards-header-inner {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .awards-2023 h2 {
        font-size: 3.25em;
        margin-bottom: 0.75em;
    }

    section {
        padding-top: 1.5rem;
        padding-bottom: 6.5rem;
    }

    .nav-cat-ul li a {
        font-size: 1.25em;
    }


    .awards-entry-inner {
        width: 66em;
    }

    .entry-progress-bar li, .entry-progress-bar li strong {
        font-size: 18px;
    }

    section .text-intro {
        padding-left: 2rem;
        padding-right: 2rem;
    }

        section .text-intro p {
            font-size: 1.35em;
            line-height: 1.5;
            margin-bottom: 1.375em;
        }
}

@media (min-width: 1360px) {
    #awards-header img {
        max-width: 460px;
    }

    .enter-now a {
        font-size: 20px;
    }
}

/*************
MOBILE
*************/
@media (max-width: 960px) {
    #awards-header .subheading {
        font-size: 1.875em;
        margin-top: 0.625em;
        margin-bottom: 0.75em;
        line-height: 1.5;
    }

    .advertise .stamp {
        float: none;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .advertise .header .logo {
        position: relative;
        text-align: center;
        top: -15px;
    }

    .advertise .header .copy {
        margin: 0 auto;
        text-align: center;
        top: -45px;
    }
}

@media (max-width: 640px) {
    .awards-2023 h1, .awards-2023 h2 {
        font-size: 2.5em;
        margin-bottom: .75em;
    }

    #awards-header .subheading {
        font-size: 1.75em;
        margin-top: 0.25em;
        margin-bottom: 0.5em;
        line-height: 1.375;
    }


    .cell-mob {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        margin-bottom: 0.5rem;
    }

    .summary-product {
        margin-bottom: 0.5rem;
    }

    .summary-heading, .summary-empty {
        display: none;
    }
}

@media (max-width: 400px) {
    .advertise .header .copy {
        font-size: 0.75em;
    }

    .awards-2023 .enter-now a {
        font-size: 17px;
        line-height: 1;
    }

    .awards-2023 .enter-now a span {
        font-size: 21px;
    }
}

.categories .type {
    font-family: Avant-Garde,Arial,sans-serif;
    line-height: 1.3;
    color: #000;
    margin-top: .3125rem;
    text-transform: none;
    font-weight: 700;
    background-color: #fcd029;
}

.categories .company {
    color: #787878;
    font-weight: 700;
    margin-bottom: .6em;
}

.categories .price {
    color: #787878;
    margin-bottom: .6em;
}


/*************
Hard coded css
*************/

#awards-header {
    padding: 0px;
    border-top: 15px solid #fcd029;
}

#awards-header .header-no-home .caption {
    display: flex;
    justify-content: center;
}

#awards-header .header-no-home .caption b {
    background-color: #e5f2f6;
    border-radius: 75px;
    border-radius: 20px;
    font-size: 1.375em;
    font-weight: 800;
    font-family: "Raleway", sans-serif;
    line-height: 1.25;
    margin: 5px 10px 20px;
    padding: 15px 10px;
    width: 90%;
}

@media screen and (min-width: 576px) {
    #awards-header .header-no-home .caption b {
        max-width: 400px;
    } 
}

@media screen and (min-width: 768px) {
    #awards-header .header-no-home .caption b {
        max-width: 650px;
        padding: 15px 20px;
        font-size: 1.625em;
        line-height: 1.375;
    }
}

@media screen and (min-width: 1120px) {
    #awards-header .header-no-home .caption {
        margin: 20px auto 30px;
    }

    #awards-header .header-no-home .caption b {
        border-radius: 75px;
        font-size: 2.375em;
        font-weight: 800;
        line-height: 1.375;
        padding: 30px 40px;
        max-width: 940px;
    }
    
    .winners-intro {
        padding: 25px 25px 0px 25px;
    }

    .winners-intro p {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.categories .type {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding: 10px;
}

.categories .type,
.categories .ProductName {
  
    text-align: center;
    font-size: 17px;
    border-radius: 0px 25px 25px 25px;
    font-weight: 800;
    font-family:Raleway;
}
.categories .ProductName {
    font-size: 18px;
    line-height: 1.25;
    padding-top: 0.25em;
}
.CompanyName {
    font-size: 17px;
    font-family: Montserrat;
    padding-top: 0.25em;
}

/* MENU */
#mainMenu {
    box-sizing: border-box;
    max-width: 100%;
    display: flex;
    justify-content: center;
    background-color: #fcd029; /* Updated background color */
    transition: all 0.3s ease; /* Smooth transition when becoming fixed */
}

#mainMenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#mainMenu li {
    display: inline-block;
}

#mainMenu li a {
    display: block;
    color: black; /* Updated text color */
    text-align: center;
    padding: 14px 10px;
    text-decoration: none; /* Remove underline */
    background-color: #fcd029; /* Ensure links match menu background */
    font-weight: 800;
    font-size: 17px;
    border-bottom: 1px solid #e6b824;
    font-family:Raleway;
    
}

#mainMenu li a:hover {
    background-color: #f2c533; /* Slightly darker shade for hover effect */
}

@media screen and (min-width: 768px) {
    #mainMenu.sticky {
        position: fixed;
        top: 0;
        left: 0; /* Ensures it sticks to the left side of the screen */
        right: 0; /* Ensures it sticks to the right side of the screen */
        width: 100%; /* Ensures full width */
        z-index: 1000; /* Ensure it stays above other content */
    }

    #mainMenu li a {
        border-bottom: 2px solid 2px solid #fcd029
    }

    #mainMenu li a:hover {
        background-color: #f2c533; /* Slightly darker shade for hover effect */
        border-bottom: 2px solid #613e93
    }
}

@media screen and (min-width: 1120px) {
    #mainMenu li a {
        font-size: 18px;
        padding: 14px 10px;
    }
}

@media screen and (min-width: 1440px) {
    #mainMenu li a {
        font-size: 20px;
    }
}

@media screen and (min-width: 1640px) {
    #mainMenu li a {
        font-size: 22px;
    }
}

    @media screen and (max-width: 767px) {


        #mainMenu ul {
            flex-direction: column;
            align-items: center;
        }

        #mainMenu li {
            flex: 1 auto;
            width: 100%;
        }

            #mainMenu li a {
                text-align: left;
                padding: 10px;
            }

        .categories .type,
        .categories .ProductName {
            padding: 5px;
        }

        /*.col-xs-6,
    .col-sm-3 {
        padding-right: 1px; 
        padding-left:1px;
    }*/
    }

    #awards .section-banner {
        background-color: #6b3b97;
        padding: 10px 0px;
    }

    #awards .section-banner .description {
        text-align: center;
        font-size: 1.25em;
        padding-top: 35px;
    }

    @media screen and (min-width: 576px) {
        #awards .section-banner {
            padding: 0;
        }

        #awards .section-banner img {
            margin-left: auto;
            margin-right: auto;
            max-width: 80%;
        }
    }

    @media screen and (min-width: 992px) {
        #awards .section-banner {
            padding: 0;
        }

            #awards .section-banner img {
                margin-left: auto;
                margin-right: auto;
                max-width: 720px;
            }
    }


    /************
NAV MOBILE
*************/
    nav.mobile-nav .title-area {
        display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox; /* TWEENER - IE 10 */
        display: -webkit-flex; /* NEW - Chrome */
        display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
        height: 52px;
        border-bottom: none;
        background: #fcd029; /* For browsers that do not support gradients */
        /* Safari 5.1 to 6.0 */
    }

    nav.mobile-nav a {
        float: none;
        display: block;
        background-color: transparent;
        padding: 0;
    }

    button.c-hamburger a:hover, button.c-hamburger a:hover:after {
        background-color: transparent;
        background-color: #171717;
        padding: 0;
        margin: 0;
    }

    nav.mobile-nav button:hover,
    nav.mobile-nav button:active,
    nav.mobile-nav button:focus {
        background: #fcd029;
    }

    nav.mobile-nav .user-icon, nav.mobile-nav .user-icon:hover {
        display: block;
        width: 60px;
        height: 52px;
        line-height: normal;
        background: transparent;
        text-align: center;
        padding-top: 16px;
        -webkit-transition: background 0.3s ease;
        transition: background 0.3s ease;
        outline: none;
    }

    nav.mobile-nav .is-active {
        background: #fcd029 !important;
    }

    #icon {
        position: relative;
        height: 20px;
        width: 24px;
        margin: auto;
        background-image: url(../images/user-icon-mobile.png);
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: 24px 20px;
        opacity: 0.5;
        -webkit-transition: opacity 0.4s ease;
        transition: opacity 0.4s ease;
    }

    .is-active #icon {
        opacity: 1;
        -webkit-transition: opacity 0.4s ease;
        transition: opacity 0.4s ease;
    }

.c-hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 60px;
    height: 52px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    position: absolute;
    top: 4px;
    right: 0;
    outline: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}

.c-hamburger:focus {
    outline: none;
}

.c-hamburger span {
    display: block;
    position: absolute;
    top: 24px;
    left: 15px;
    right: 15px;
    height: 4px;
    background: #020202;
}

.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #020202;
    content: "";
}

.c-hamburger span::before {
    top: -9px;
}

.c-hamburger span::after {
    bottom: -9px;
}

.c-hamburger--htx {
    background-color: transparent;
}

.c-hamburger--htx span {
    transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
    transition-property: top, transform;
}

.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}

        /* active state, i.e. menu open */
        .c-hamburger--htx.is-active {
            background-color: #fcd029;
        }

        .c-hamburger--htx.is-active span {
            background: none;
        }

        .c-hamburger--htx.is-active span::before {
            top: 0;
            transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            background-color: #000000;
        }

        .c-hamburger--htx.is-active span::after {
            bottom: 0;
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            background-color: #000000;
        }

        .c-hamburger--htx.is-active span::before,
        .c-hamburger--htx.is-active span::after {
            transition-delay: 0s, 0.3s;
        }

    nav.mobile-nav .logo {
        -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
        -moz-box-flex: 1; /* OLD - Firefox 19- */
        width: auto; /* For old syntax, otherwise collapses. */
        -webkit-flex: 1; /* Chrome */
        -ms-flex: 1; /* IE 10 */
        flex: 99 auto; /* NEW, Spec - Opera 12.1, Firefox 20+ */
        padding: 0;
    }

        nav.mobile-nav .logo a, nav.mobile-nav .logo a:hover {
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 0;
        }

        nav.mobile-nav .logo img {
            max-height: 52px;
            height: 52px;
        }

    .user-icon img {
        max-height: 22px;
        height: 22px;
    }

    .top-bar-user {
        padding: 1em;
        color: #222;
        background: #FFF;
    }

        .top-bar-user .form-input {
            margin-bottom: 1em !important;
        }

        .top-bar-user .form-label {
            font-size: 0.938rem;
        }


    #hamburgerButton {
        display: none;
    }


    .mobile-nav {
        display: none;
    }

    .mobile-nav-text {
        font-size: 19px;
        font-weight: 800;
        font-family: "Raleway", sans-serif;
        margin-left: 7px;
    }

    /* Show the hamburger button on screens smaller than 768px */
    @media (max-width: 768px) {
        #hamburgerButton {
            display: block;
        }

        .mobile-nav {
            display: block;
        }


        #mainMenu {
            display: none;
        }

            #mainMenu.active {
                display: block;
            }
    }

/* Make the mobile nav sticky */
.mobile-nav.sticky {
    position: sticky;
    top: 0;
    background-color: #fff; /* Optional: adjust background color */
    z-index: 1000;
}

.top-bar-nav {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

@media (min-width: 768px) {
    .top-bar-nav {
        display: block;
        position: relative;
        top: 0;
        left: 0;
        height: auto;
    }
}

/* Make the mobile navbar sticky */
.hide-for-large-up {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    background-color: #fcd029; /* Optional: Add a background color for visibility */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better appearance */
    padding: 5px 10px;
}

/* Sticky hamburger button styles */
.menu-primary {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
}


/* Footer */
footer {
    text-align: center;
    padding: 30px 15px 15px;
}

footer p, footer a, footer a:hover {
    color: white;
    font-size: 16px;
}

#footer-terms, #footer-privacy, #footer-event, #footer-contact {
    padding: 0 .25rem;
}

.terms {
    padding: 0px 0 15px;
}