html:has(body.page-port-security-training-course-form) {
    scroll-behavior: smooth;
}
.page-port-security-training-course-form {
    .site-content {
        padding-top: 0;
    }
    #course-purpose {
        scroll-margin-top: 120px;
    }
    .breadcrumb,
    .entry-header {
        display: none;
    }
    .wp-block-columns {
        padding-top: 30px;

        @media screen and (max-width: 1023px) {
            padding-top: 0;
        }
        @media screen and (min-width: 1440px) {
            padding-top: 50px;
        }
    }
    @media screen and (min-width: 1301px) {
        .site-header #secondary-nav {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
        }
    }
    .contain {
        .contain {
            padding: 0;

            @media screen and (min-width: 1024px) {
                padding-left: 30px;
                padding-right: 30px;
            }
        }
    }
}
#gform_wrapper_45 {
    scroll-margin-top: 120px;

    @media screen and (min-width: 1024px) {
        scroll-margin-top: 100px;
    }
    @media screen and (min-width: 1440px) {
        scroll-margin-top: 120px;
    }
    .gform_required_legend {
        display: none;
    }
    .gf_progressbar_wrapper {
        margin-bottom: 30px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;

        @media screen and (min-width: 1024px) {
            flex-direction: row;
            margin-bottom: 45px;
        }
        @media screen and (min-width: 1440px) {
            gap: 50px;
            margin-bottom: 70px;
        }
        &:before {
            content: 'Progress';
            font-size: 15px;
            font-weight: bold;
            color: #707070;
            width: 57px;

            @media screen and (min-width: 1024px) {
                font-size: 16px;
                width: 61px;
            }
            @media screen and (min-width: 1440px) {
                font-size: 21px;
                width: 84px;
            }
            @media screen and (min-width: 1920px) {
                font-size: 28px;
                width: 113px;
            }
        }
    }
    .gf_progressbar_blue {
        background-color: #E8F5FF !important;
        height: 15px;
        border-radius: 100px;        
        width: 100%;
        margin-bottom: 0;

        @media screen and (min-width: 1024px) {
            width: calc(100% - 86px);
            height: 25px;
        }
        @media screen and (min-width: 1440px) {
            width: calc(100% - 134px);
            height: 34px;
        }
        @media screen and (min-width: 1920px) {
            width: calc(100% - 163px);
        }
    }
    .gf_progressbar_percentage.percentbar_blue {
        background-color: #34B6E4 !important;
        height: 15px;
        border-radius: 100px;
        min-width: 5%;

        @media screen and (min-width: 601px) {
            min-width: 3%;
        }
        @media screen and (min-width: 1024px) {
            height: 25px;
        }
        @media screen and (min-width: 1440px) {
            height: 34px;
        }
    }
    .gf_progressbar_percentage span {
        float: none !important;
        text-align: center;
        margin: 0 !important;
        font-size: 15px;
        font-weight: bold;
        line-height: 1 !important;
        color: #002E5F;
        min-width: 1.5em !important;
        position: relative;
        top: -20px;

        @media screen and (min-width: 1024px) {
            font-size: 16px;
        }
        @media screen and (min-width: 1440px) {
            font-size: 21px;
            top: -25px;
        }
        @media screen and (min-width: 1920px) {
            font-size: 28px;
            top: -35px;
        }
    }
    .gf_progressbar_title {
        display: none;
    }
    .gform_page_fields {
        background-color: #F2F5F8;
        padding: 35px;

        @media screen and (min-width: 1024px) {
            padding: 50px;
        }
        @media screen and (min-width: 1440px) {
            padding: 80px 100px;
        }
        @media screen and (min-width: 1920px) {
            padding: 120px 140px;
        }
        * {
            &:last-of-type {
                margin-bottom: 0;
            }
        }
        h3 {
            margin-bottom: 1rem !important;
        }
        ul, ol {
            padding-left: 30px;

            @media screen and (min-width: 1024px) {
                padding-left: 35px;
            }
            @media screen and (min-width: 1440px) {
                padding-left: 50px;
            }
        }
        ul {
            li {
                &:last-of-type {
                    + ul {
                        margin-top: .5em;
                    }
                }
            }
            ul {
                margin-bottom: 0;

                li {
                    &:last-of-type {
                        margin-bottom: .5em;
                    }
                }
            }
        }
    }
    .gfield--type-html {
        .safety-video {
            aspect-ratio: 16 / 9;
            margin: 25px 0 -1.6em;

            @media screen and (min-width: 1024px) {
                margin: 30px 0 -1.6em;
            }
            @media screen and (min-width: 1440px) {
                margin: 40px 0 -1.6em;
            }
            @media screen and (min-width: 1920px) {
                margin: 50px 0 -1.6em;
            }
            iframe {
                width: 100% !important;
                height: 100% !important;
            }
        }
    }
    .gquiz-field, .gfield--type-radio {
        .gfield_label {
            text-transform: none;
            color: #707070 !important;
            font-size: 15px !important;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #BFBFBF;
            width: 100%;

            @media screen and (min-width: 1024px) {
                font-size: 16px !important;
                margin-bottom: 40px;
                padding-bottom: 30px;
            }
            @media screen and (min-width: 1440px) {
                font-size: 21px !important;
                margin-bottom: 50px;
                padding-bottom: 40px;
            }
            @media screen and (min-width: 1920px) {
                font-size: 28px !important;
            }
            .gform-field-label__text {
                padding: 0;
            }
        }
        .question-number {
            display: block;
            font-size: 23px;
            font-weight: normal;
            margin-bottom: 15px;

            @media screen and (min-width: 1024px) {
                font-size: 24px;
                margin-bottom: 20px;
            }
            @media screen and (min-width: 1440px) {
                font-size: 26px;
                margin-bottom: 30px;
            }
            @media screen and (min-width: 1920px) {
                font-size: 33px;
            }
        }
        .gfield_required_asterisk {
            display: none;
        }
        .gchoice {
            display: block;
            margin-bottom: 10px;

            &:last-of-type {
                margin-bottom: 0;
            }
        }
        .gfield-choice-input {
            display: none;
        }
        .gchoice > .gform-field-label {
            text-transform: none;
            color: #707070 !important;
            font-size: 15px !important;
            width: 100%;
            border: 1px solid #707070;
            padding: 12px 60px 13px 30px;
            position: relative;
            transition: .2s ease-in-out;

            @media screen and (min-width: 1024px) {
                font-size: 16px !important;
                padding: 15px 60px 16px 30px;
            }
            @media screen and (min-width: 1440px) {
                font-size: 21px !important;
                padding: 20px 90px 23px 50px;
            }
            @media screen and (min-width: 1920px) {
                font-size: 28px !important;
            }
            &:after {
                content: '';
                display: block;
                width: 20px;
                height: 20px;
                outline: 2px solid #707070;
                border-radius: 50%;
                position: absolute;
                right: 20px;
                top: 50%;
                transform: translateY(-50%);

                @media screen and (min-width: 1440px) {
                    width: 30px;
                    height: 30px;
                    outline: 3px solid #707070;
                    right: 30px;
                }
            }
            .gquiz-field:not(.gquiz-instant-feedback-validated) &, .gfield--type-radio:not(.gquiz-instant-feedback-validated) & {
                &:hover, &:focus-visible {
                    background-color: rgba(255, 255, 255, .5);
                    box-shadow: 0px 1px 10px rgba(0, 0, 0, .16);
                }
            }
            .gfield--type-radio .gchoice:nth-of-type(1):has(.gfield-choice-input:checked) > & {
                background-color: white;
                box-shadow: 0px 1px 10px rgba(0, 0, 0, .16);

                &:before {
                    content: '';
                    display: block;
                    width: 10px;
                    height: 100%;
                    background-color: #13B5EA;
                    position: absolute;
                    top: 0;
                    left: 0;

                    @media screen and (min-width: 1440px) {
                        width: 20px;
                    }
                }
                &:after {
                    border: 3px solid white;
                    background-color: #13B5EA;

                    @media screen and (min-width: 1440px) {
                        border: 4px solid white;
                    }
                }
            }
            .gfield--type-radio .gchoice:nth-of-type(2):has(.gfield-choice-input:checked) > & {
                background-color: white;
                box-shadow: 0px 1px 10px rgba(0, 0, 0, .16);

                &:before {
                    content: '';
                    display: block;
                    width: 10px;
                    height: 100%;
                    background-color: #c02b0a;
                    position: absolute;
                    top: 0;
                    left: 0;

                    @media screen and (min-width: 1440px) {
                        width: 20px;
                    }
                }
                &:after {
                    border: 3px solid white;
                    background-color: #c02b0a;

                    @media screen and (min-width: 1440px) {
                        border: 4px solid white;
                    }
                }
            }
            &.gquiz-correct-choice {
                background-color: white;
                box-shadow: 0px 1px 10px rgba(0, 0, 0, .16);

                &:before {
                    content: '';
                    display: block;
                    width: 10px;
                    height: 100%;
                    background-color: #13B5EA;
                    position: absolute;
                    top: 0;
                    left: 0;

                    @media screen and (min-width: 1440px) {
                        width: 20px;
                    }
                }
                &:after {
                    border: 3px solid white;
                    background-color: #13B5EA;

                    @media screen and (min-width: 1440px) {
                        border: 4px solid white;
                    }
                }
            }
            &.gquiz-incorrect-choice {
                background-color: white;
                box-shadow: 0px 1px 10px rgba(0, 0, 0, .16);

                &:before {
                    content: '';
                    display: block;
                    width: 10px;
                    height: 100%;
                    background-color: #c02b0a;
                    position: absolute;
                    top: 0;
                    left: 0;

                    @media screen and (min-width: 1440px) {
                        width: 20px;
                    }
                }
                &:after {
                    border: 3px solid white;
                    background-color: #c02b0a;

                    @media screen and (min-width: 1440px) {
                        border: 4px solid white;
                    }
                }
            }
            .gquiz-indicator {
                display: none;
            }
        }
    }
    .gquiz-field:has(.gquiz-incorrect-choice) .gchoice > .gform-field-label.gquiz-correct-choice {
        background-color: transparent !important;
        box-shadow: none !important;

        &:before {
            display: none !important;
        }
        &:after {
            border: none !important;
            background-color: transparent !important;
        }
    }
    textarea, input[type=text], input[type=password], input[type=date], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=search], input[type=tel], input[type=time], input[type=url], input[type=week], select, option {
        background-color: white;
    }
    .gform_page_footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        margin: 0 !important;
        padding: 0 !important;

        @media screen and (min-width: 501px) {
            flex-direction: row;
            gap: 20px;
        }
        @media screen and (min-width: 1024px) {
            gap: 30px;
        }
        @media screen and (min-width: 1440px) {
            gap: 40px;
        }
    }
    .gform_previous_button, .gform_next_button, #gform_submit_button_45 {
        background-color: #00447C;
        color: #fff;
        border: none;
        padding: 10px 20px 12px !important;
        border-radius: 100px;
        width: 100% !important;
        font-size: 15px !important;
        font-weight: bold !important;
        margin-top: 20px !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;

        @media screen and (min-width: 501px) {
            width: 150px !important;
            margin-top: 20px !important;
        }
        @media screen and (min-width: 1024px) {
            font-size: 18px !important;
            margin-top: 30px !important;
        }
        @media screen and (min-width: 1440px) {
            padding: 12px 20px 15px !important;
            width: 200px !important;
            font-size: 23px !important;
            margin-top: 40px !important;
        }
        &:hover, &:focus-visible {
            background-color: #13B5EA !important;
        }
    }
}
#gform_confirmation_wrapper_45 {
    background-color: #F2F5F8;
    padding: 35px;

    @media screen and (min-width: 1024px) {
        padding: 50px;
    }
    @media screen and (min-width: 1440px) {
        padding: 80px 100px;
    }
    @media screen and (min-width: 1920px) {
        padding: 120px 140px;
    }
    * {
        &:last-of-type {
            margin-bottom: 0;
        }
    }
}