/* eUCR Homepage */
:root {
    --color-dark-gray-emcs: #f4f5f7;
    --color-bg-primary-emcs: #006b89;
    --color-error-message: #eb2323;
}

.due-date-input {
    width: 465px;
    height: 60px;
    padding: 21.5px 21.5px 21.5px 23.5px;
    border-left: 0px;
}

.bg-dark-gray-emcs {
    background-color: var(--color-dark-gray-emcs);
}

.advertisment-banner-emcs {
    height: 227px;
    object-fit: cover;
}

.faq-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
    aspect-ratio: 16 / 9;
}

.image-container img {
    height: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.content-overlay {
    position: relative;
    z-index: 2;
}

.content-box {
    color: white;
}

.content-section {
    position: relative;
    overflow: hidden;
}

.what-box {
    background-color: #fff7f1;
    padding: 20px 30px;
    border-radius: 4px;
}

.main-title-heading-1 {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
}

.main-title {
    line-height: 1.6;
}

.steps-section-4 {
    padding-left: 0px;
}

.section-3-content{
    border-radius: 4px;
    background-color: #e7f6fa;
}

.steps-section-4 {
    padding-left: 0px;
    margin: 0;
    list-style: none;
}

.method-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.btn-right{
    margin-left: 85px;
}

.method-step:last-child {
    margin-bottom: 0;
}

.success-icon {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    z-index: 1;
}

/* Dotted connecting line */
.method-step:not(:last-child) .success-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 48px;
    width: 2px;
    height: 125px;
    background: repeating-linear-gradient(
        to bottom,
        #016b89 0px,
        #016b89 4px,
        transparent 4px,
        transparent 8px
    );
    z-index: 0;
}

/* Step content styling */
.method-step div:last-child {
    flex: 1;
    padding-top: 8px;
}

.method-step strong {
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.method-step span {
    font-size: 16px;
    line-height: 1.5;
}

.f-24-title{
    font-size: 24px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .method-step {
        margin-bottom: 15px;
    }

    .f-24-title{
        font-size: 18px;
    }

    .btn-right{
        margin-left: 0px;
    }

    .success-icon {
        width: 56px;
        height: 56px;
        margin-right: 16px;
    }

    .method-step:not(:last-child) .success-icon::after {
        top: 40px;
        height: 95px;
        width: 1.5px;
        background: repeating-linear-gradient(
            to bottom,
            #016b89 0px,
            #016b89 3px,
            transparent 3px,
            transparent 6px
        );
    }

    .section-6-icon{
        width: 84px;
        height: 84px;
    }

    .section-10-icon{
        width: 84px;
        height: 84px;
    }

    .method-step strong {
        font-size: 14px;
    }

    .method-step span {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .success-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .success-icon::before {
        width: 20px;
        height: 20px;
        background-size: contain;
    }

    .method-step:not(:last-child) .success-icon::after {
        top: 32px;
        height: 120px;
        width: 1.5px;
    }
}

.box-section-9 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.section-9-contact p{
    font-size: 18px;
}

.section-9-contact a{
    font-weight: 600;
    text-decoration: underline;
}

.box-title-section-9{
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}

.section-5-content{
    border-radius: 4px;
    background-color: #fff7f1;
}

.section-6-content{
    border-radius: 4px;
    background-color: #e4eef3;
}

.section-10-content{
    border-radius: 4px;
    background-color: #ffede6;
}

.usdot-group .input-group-text {
    padding-left: 26px !important;
    width: 20%;
    font-size: 16px;
    color: #000 !important;
    border: none;
}

input#eucr-usdot-number {
    border: none;
}

input#eucr-usdot-number:focus {
    border: none !important;
}

@media (min-width: 768px) {
    .section-1 .image-container {
        display: none !important;
    }
}

.gradient-column {
    border-radius: 6px;
    background-image: linear-gradient(179deg, #016b89 11%, rgba(0, 3, 4, 0.03) 85%, rgba(0, 0, 0, 0) 95%);
}

.text-white-d-only {
    color: #fff;
}

@media (max-width: 767px) {
    #home {
        background-image: none !important;
    }

    .gradient-column {
        background-image: none;
        color: var(--color-black);
    }

    .text-white-d-only {
        color: var(--color-black);
    }
}

@media (max-width: 768px) {
    .usdot-group .input-group-text {
        padding-left: 10px !important;
        width: auto !important;
    }
    .section-9-content {
        background-color: #f4f5f7;
    }
    .section-9-contact p{
        font-size: 14px;
    }
}

.custom-arrow-icon path {
    fill: #ec5928;
}

.btn-orange-primary-outline:hover .custom-arrow-icon path {
    fill: #fff;
}

span.input-group-text {
    font-weight: 400 !important;
}

.input-group-text {
    background-color: #ffffff;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    padding: 10px 10px;
}

input.form-control.due-date-input {
    border-left: 0px;
    height: 60px;
    font-size: 16px;
}

.eucr-homepage a {
    color: var(--color-bg-primary-emcs);
}

.eucr-homepage a:hover {
    color: var(--color-primary);
}

.font-w-600 {
    font-weight: bold;
}

.eucr-homepage a:hover {
    color: var(--color-primary);
}

.form-control {
    font-size: 14px;
}

.eucr-homepage .error-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 12px;
    color: var(--color-error-message) !important;
    display: inline-block;
    padding: 2px;
    background-color: #fff;
    border-radius: 4px;
    text-align: center;
    font-weight: var(--font-weight-regular);
}

form#usdot-form-eucr {
    width: 80%;
    
}

#usdot-form-eucr .input-group{
    border: solid 1px #b9b9b9;
    border-radius: 5px;
}

@media (max-width: 992px) {
    form#usdot-form-eucr {
        width: 100%;
    }

    .eucr-homepage .error-message {
       font-size: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1240px) {
    .button-area {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.section-content a {
    text-decoration: underline;
}

.section-content a:hover {
    color: var(--color-primary);
}

/* Remove Overlay Cut for Mobile */
@media (max-width: 767px) {
    .video-container {
        clip-path: none;
        position: relative;
        height: auto;
        width: 100%;
    }

    .step-circle {
        font-size: 18px;
    }

    .step-content strong {
        font-size: 16px;
    }

    .mcs-card-title {
        font-size: 14px;
    }

    .step-content p {
        font-size: 14px;
    }

    .image-container {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .image-container img {
        height: 100%;
        overflow: hidden;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }

    .main-title {
        font-size: 16px;
    }

    .main-title-mobile {
        font-size: 18px;
        line-height: 1.6;
    }

    .main-title-heading-1 {
        font-size: 18px;
    }

    .ready-to-file strong {
        font-size: 14px;
    }

    .ready-to-file-box-bottom {
        font-size: 14px;
    }

    .mobile-img {
        padding-left: 0px;
        padding-right: 0px;
    }

    .button-area {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .what-box {
        text-align: center;
        padding: 20px 10px;
    }

    .btn-orange-outline {
        width: 100%;
    }

    .content-section-m {
        padding-top: 0px !important;
    }

    .image-container {
        position: relative;
        height: auto;
    }

    .content-box {
        clip-path: none;
        margin-top: 20px;
    }

    .ready-to-file {
        margin-left: 0px;
    }

    .main-title-heading {
        font-size: 18px;
    }

    .youtube-video iframe {
        height: 180px;
    }

    .pr80 {
        padding-right: 0px;
    }

    .content-container {
        position: relative;
        z-index: 2;
        padding-top: 20px;
        padding-bottom: 100px;
    }
}

.section-gradient {
    padding: 25px 16px;
    border-radius: 6px;
    background: linear-gradient(359deg, #fff 1%, #e4eef3 95%);
}

@media only screen and (max-width: 1200px) {
    .due-date-input {
        width: 100%;
    }
}

.due-date-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: none;
}

.subsection-content ul {
    padding-left: 10px;
}

.subsection-content a {
    text-decoration: underline;
}

.subsection-content a:hover {
    color: var(--color-primary);
}

.subsection-content ul li {
    list-style-position: outside;
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
    list-style: none;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: left;
}

.subsection-content ul li::before {
    position: absolute;
    left: -7px;
    content: "●";
    font-size: 12px;
    line-height: 26px;
    top: 1px;
}

.line-h-48 {
    line-height: 48px;
}

.section-8-box {
    padding: 37px 26px 36.1px 27px;
    border: solid 1px #006b88;
    background-color: #fff;
    height: 100%;
    text-align: center;
    margin-bottom: 5px;
}

.section-8-box h3 {
    font-size: 18px;
    line-height: 28px;
}

.bg-light-orange {
    background-color: #fff7f1;
    padding: 24px 16px 23px;
}

.bg-section-6 {
    padding: 16px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #e4eef3;
}

.faq-number {
    display: inline;
    margin-right: 2px;
    font-weight: bold;
    font-size: 18px;
}

.faq-title {
    display: inline;
}

.faq-top-area {
    margin-bottom: 20px;
}

.faq-box {
    border-bottom: 1px solid #9fa6af;
    margin-bottom: 30px;
}

.faq-box a {
    text-decoration: underline;
}

.faq-box a:hover {
    color: var(--color-primary);
}

.faq-box:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.bg-faq {
    background-color: var(--color-dark-gray-emcs);
}

.bg-blue-right-area {
    background-color: var(--color-bg-primary-emcs);
    color: #fff;
    padding: 10px;
    text-align: center;
    height: 227px;
    min-height: 200px;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.adv-banner-title {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.adv-banner-subtext p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
    .due-date-input {
        width: 100%;
        height: 60px;
        padding: 21.5px 21.5px 21.5px 23.5px;
    }

    input.form-control.due-date-input {
        height: 48px;
    }

    .faq-number {
        font-size: 14px;
    }

    .faq-title {
        font-size: 14px;
    }

    .bg-blue-right-area {
        height: 260px;
    }

    .section-9-icon {
        height: 64px;
        width: 64px;
    }

    .box-title-section-9{
        font-size: 14px;
        margin-top: 8px;
    }

    .box-section-9{
        margin-bottom: 20px;
    }

    .adv-banner-title {
        font-size: 18px;
        color: #fff;
    }

    .adv-banner-subtext p {
        color: #fff;
        font-size: 14px;
    }

    .subssecion2 img {
        width: 100px;
        height: 100px;
    }

    .line-h-48 {
        line-height: 26px;
    }

    .subsection-content ul li::before {
        position: absolute;
        left: -10px;
        content: "●";
        font-size: 12px;
        line-height: 26px;
        top: -1px;
    }
}

@media (width >=991px) {
    .full-container {
        width: calc(100% - calc(calc(100% - 960px) / 2));
        margin-right: 0;
        margin-left: auto;
        max-width: unset;
    }
}

@media (width >=1200px) {
    .full-container {
        width: calc(100% - calc(calc(100% - 1140px) / 2));
    }
}

@media (width >=1400px) {
    .full-container {
        width: calc(100% - calc(calc(100% - 1320px) / 2));
    }
}