/* New Module Stylesheet for MUFG LPs */
h5 {
    font-size: 1.125em;
    font-weight: 500;
}

.text-18 {
    font-size: 18px !important;
}

.rounded-5 {
    border-radius: 5px !important;
}

.pad-30 {
    padding: 30px !important;
}

.fitted-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fitted-img div.mktoImg,
.gallery-item div.mktoImg{
    height: 100%;
}

.icon-features-content>div:first-child {
    flex: 0 0 80px;
}

.hero-form>.container {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-form .logo-img {
    position: absolute;
    top: 25px;
}

.hero-form--content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.drop-shadow{
    box-shadow: 0 0 10px rgb(0, 0, 0, 16%);
}
/* Mansory Image Gallery */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    padding: 0.5rem;
}

/* layout */
.gallery-item-1 {
    flex: 0 0 66.666%;
    /* 2/3 width */
}

.gallery-item-2 {
    flex: 0 0 33.333%;
    /* 1/3 width */
}

.gallery-item-3 {
    flex: 0 0 100%;
    /* full width */
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

/* Marketo Forms Overrides */
.hero-form--form .mktoForm {
    position: relative;
    max-width: 500px;
    display: flex;
    gap: 10px;
}

.hero-form--form form.mktoForm .mktoFormRow:first-of-type {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 70%;
    padding: 0 !important;
}

.hero-form--form form.mktoForm .mktoButtonRow {
    width: 100%;
    flex: 0 0 30%;
}

@media only screen and (max-width: 400px) {
    .hero-form--form .mktoForm {
        flex-wrap: wrap;
    }

    .hero-form--form form.mktoForm .mktoFormRow:first-of-type {
        flex: 0 0 100%;
    }

    .hero-form--form form.mktoForm .mktoButtonRow {
        flex: 0 0 100%;
    }
}

.hero-form--form .mktoForm .mktoFormRow label {
    display: none !important;
}

.hero-form--form .mktoForm .mktoFormRow input {
    background: #fff !important;
    border-color: #fff !important;
    margin: 0 !important;
}

.hero-form--form .mktoForm .mktoFormRow ::placeholder {
    opacity: 0.6 !important;
}

.hero-form--form .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
    margin-top: 0 !important;
    min-height: 45px;
    border-radius: 5px !important;
    width: 100% !important;
    padding: 10px 25px !important;
}

.hero-form--form form.mktoForm input.mktoInvalid {
    border-bottom: 2px solid #FF0000 !important;
}

.hero-form--form .mktoForm .mktoError {
    position: absolute !important;
    left: 0 !important;
    bottom: auto !important;
    top: 50px !important;
}

.hero-form--form .mktoForm .mktoError .mktoErrorMsg {
    border: none !important;
    background: none !important;
    color: #FF0000 !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-size: 1rem !important;
    outline: none !important;
    max-width: 100% !important;
}

.hero-form--form .mktoForm .mktoError .mktoErrorMsg:focus {
    border: none !important;
}

.hero-form--form .mktoForm .mktoError .mktoErrorMsg .mktoErrorDetail {
    color: #FF0000 !important;
    display: inline-block !important;
}

.hero-form--form .mktoForm .mktoError .mktoErrorArrowWrap {
    display: none !important;
}