/** Start of Defining Custom Calss */
.d-flex {
    display: flex;
}
/** End of Defining Custom Calss */

@media only screen and (min-width: 768px) {

    /** Change Style of Header */
    .panel.wrapper, .nav-sections {
        background: #1d248c !important;
        margin-bottom: 0 !important;
    }

    .page-header.-sticky-header .logo {
        max-width: 200px !important;
    }

    .page-header.-sticky-header .nav-sections-item-content > .navigation {
        padding: 0 30px !important;
    }

    .page-header.-sticky-header .navigation li.level0 > a {
        padding: 20px 0 !important;
    }

    .navigation > ul {
        border-color: #1d248c !important;
    }

    .navigation .level-top > a, .amasty-jet-theme .navigation .ambrands-link {
        color: #ffffff !important;
    }

    .navigation li.level0.parent > a:before {
        background: url("/media/wysiwyg/firstpersonmedical/icons/arrow-bottom-xs_white.svg") no-repeat center / cover !important;
    }

    .amtheme-newsletter-block.amtheme-newsletter .amtheme-container {
        max-width: 100% !important;
    }

    /** Change Style of Footer */
    .page-footer .logo-image {
        max-width: 200px !important;
    }

    footer .footer.content {
        width: 100%;
    }

    .amtheme-custom-footer.-three-columns .footer-column:first-child {
        flex-basis: 25% !important;
        max-width: 25% !important;
    }

    .amtheme-custom-footer.-three-columns .footer-column:nth-child(2) {
        flex-basis: 50% !important;
        max-width: 50% !important;
    }
    
    .amtheme-custom-footer.-three-columns .footer-column:last-child {
        flex-basis: 25% !important;
        max-width: 25% !important;
        align-items: center;
    }

    /** Change Style of Header Sticky */
    .page-header.-desktop-navigation-toggle .amtheme-navigation-icon {
        display: none !important;
    }

    .page-header.-desktop-navigation-toggle .sections.nav-sections {
        display: block !important;
    }

    /** Change Style of Header Social List */
    .page-header.-sticky-header .amtheme-socials-list {
        display: flex;
        flex: none;
    }

    .page-header.-sticky-header .amtheme-socials-list .amtheme-item {
        margin-bottom: 0;
    }

    .page-header.-sticky-header .amtheme-socials-list .amtheme-action {
        background: #1d248c;
    }
}

@media only screen and (max-width: 767px) {
    .free-shipping-banner .content-three-columns .shipping-banner-column {
        font-size: 14px;
        line-height: 1.75;
    }

    .free-shipping-banner .content-three-columns .shipping-banner-column > .free-delivery:before,
    .free-shipping-banner .content-three-columns .shipping-banner-column > .call-us:before {
        display: block !important;
        margin: 0 auto !important;
    }

    .footer-custom-copyright {
        flex-direction: column;
    }

    .footer-custom-copyright > div {
        max-width: 100% !important;
        justify-content: center !important;
        padding: 20px;
    }

    .footer-custom-copyright .copyright-right {
        text-align: center !important;
    }

    .footer-custom-copyright .vertical-line {
        display: none;
    }

    .fpm-item-wrap {
        margin: 0 auto 2rem;
        width: 100% !important;
    }

    .fpm-item:after {
        display: none;
    }

    .fpm-item-inner {
        display: block !important;
    }

    .fpm-item-thumb {
        height: auto !important;
        position: relative !important;
    }

    .fpm-item-text {
        width: 100% !important;
        margin: 2rem 0;
    }
}

@media only screen and (max-width: 1440px) {
    .free-shipping-banner .content-three-columns {
        padding-inline-end: 0 !important;
        padding-inline-start: 0 !important;
    }
}

/** Start of Header Style */
.panel.header .first-person-contact-info {
    display: flex;
}

.panel.header .first-person-contact-info a {
    display: flex;
    margin-right: 20px;
}

.panel.header .first-person-contact-info a[title="Phone number"]:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/Header_CallIcon.svg") no-repeat center / cover;
}

.panel.header .first-person-contact-info a[title="Email"]:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/Header_EmailIcon.svg") no-repeat center / cover;
}

header .action.search .amtheme-icon {
    fill: #1d248c;
}

header .amtheme-icon.-hover-bg {
    display: none;
}

.page-header.-sticky-header .navigation,
.page-header.-sticky-header .amtheme-menu-block,
.amtheme-minifooter-block {
    background: #1d248c;
}

.minicart-wrapper .action.showcart:before {
    content: url("/media/wysiwyg/firstpersonmedical/icons/Basket_Icon.svg");
}

.page-wrapper .top-container {
    max-width: 100%;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    background: lightgrey;
}

.page-wrapper .top-container .free-shipping-banner {
    max-width: 1440px;
    margin: 0 auto;
}

.free-shipping-banner .content-three-columns {
    display: flex;
    padding-inline-end: calc(30px * 2);
    padding-inline-start: calc(30px * 2);
}

.free-shipping-banner .content-three-columns .shipping-banner-column {
    flex-basis: calc(100% / 3);
    max-width: calc(100% / 3);
    text-align: center;
    border-left: 1px solid #1d248c;
    padding: 0 5px;
}

.free-shipping-banner .content-three-columns .shipping-banner-column:last-child {
    border-right: 1px solid #1d248c;
}

.free-shipping-banner .content-three-columns .shipping-banner-column > .free-delivery:before {
    content: "";
    background: url("/media/wysiwyg/firstpersonmedical/icons/Free_Delivery.svg") no-repeat center / cover;
    width: 36px;
    height: 24px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

.free-shipping-banner .content-three-columns .shipping-banner-column > .call-us:before {
    content: "";
    background: url("/media/wysiwyg/firstpersonmedical/icons/Call_Us.svg") no-repeat center / cover;
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

.page-wrapper .breadcrumbs {
    margin: 20px 0;
}

@media only screen and (max-width: 767px) {
    .nav-before-open.nav-open .sections.nav-sections,
    .nav-before-open.nav-open .sections.nav-sections .amtheme-menu-block,
    .nav-before-open.nav-open .section-item-title.amtheme-item.-bottom + .section-item-content {
        background: #ffffff;
    }

    .nav-before-open.nav-open .sections.nav-sections .amtheme-menu-block .ui-menu-item.level0 > a:hover,
    .nav-before-open.nav-open .sections.nav-sections .amtheme-menu-block .ui-menu-item.level0.parent > .submenu a:hover {
        color: #86af28;
    }
}
/** End of Header Style */

/** Hidden of Header Social List by default */
.page-header .amtheme-socials-list {
    display: none;
}

/** Start of Main Contents Style */
.cms-first-person-medical #amasty-shopby-product-list {
    text-align: center;
}
/** End of Main Contents Style */

/** Start of Footer Style */
footer .amtheme-contact-info a {
    display: flex;
}

footer .amtheme-contact-info a[title="Phone number"]:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 20px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/CallIcon.svg") no-repeat center / cover;
}

footer .amtheme-contact-info a[title="Email"]:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 20px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/EmailIcon.svg") no-repeat center / cover;
}

footer .amtheme-contact-info a[title="Address"]:before {
    content: '';
    display: inline-block;
    max-width: 20px;
    height: 20px;
    width: 100%;
    margin-right: 20px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/DropPinIcon.svg") no-repeat center / cover;
}

footer .amtheme-contact-info a[title="Company_Reg"]:before {
    content: '';
    display: inline-block;
    max-width: 20px;
    height: 20px;
    width: 100%;
    margin-right: 20px;
    background: url("/media/wysiwyg/firstpersonmedical/icons/CompanyBuildingIcon.svg") no-repeat center / cover;
}

/*footer .amtheme-contact-info a[title="FOLLOW US"] {
    padding-right: 60px;
}*/

footer .first-person-footer-links > div {
    display: flex;
    justify-content: space-around;
}

footer .first-person-footer-links ul {
    column-count: 1 !important;
}

footer .first-person-footer-links .footer.links .item:first-child > a {
    color: #6b26fd;
}

/*footer .amtheme-socials-list {
    padding-right: 60px;
}*/

footer .amtheme-socials-list .amtheme-action path {
    fill: #1d248c !important;
}

footer .amtheme-socials-list .amtheme-action {
    background: #ffffff !important;
}

.amtheme-payment-methods.footer-payments .amtheme-payments-list.-left {
    justify-content: center;
}

.footer-custom-copyright {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
}

.footer-custom-copyright > div {
    flex-basis: 33.33%;
    max-width: 33.33%;
    display: flex;
    align-items: center;
}

.footer-custom-copyright .copyright-left {
    justify-content: flex-start;
    text-align: left;
}

.footer-custom-copyright .copyright-center {
    justify-content: center;
    padding: 20px 0;
}

.footer-custom-copyright .copyright-center h3 {
    color: #ffffff;
    padding-right: 10px;
}

/* .footer-custom-copyright .copyright-center img {
    max-width: 50px;
    height: auto;
} */

.footer-custom-copyright .copyright-right {
    justify-content: flex-end;
    text-align: right;
}

.footer-custom-copyright small {
    color: #ffffff;
}

.footer-custom-copyright .vertical-line {
/*    border-right: 1px solid #ffffff;*/
    margin: 0 10px;
}

/*.amtheme-custom-footer .footer-column {
    justify-content: space-between;
}*/
/** End of Footer Style */

/** Start of Homepage Wrap Style */
.cms-index-index .page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cms-first-person-medical .page-bottom {
    max-width: 100% !important;
    width: 100% !important;
    background: linear-gradient(106deg, #ed1e24, #fcae17);
    padding: 9rem 0;
}

.fpm-wrap > .container {
    padding: 0 2rem;
}

.fpm-wrap > .container.fpm-main-title {
    text-align: center;
    color: white;
    font-size: 2.6rem;
    padding-bottom: 40px;
}

.fpm-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fpm-item-wrap {
    width: 48%;
}

a.fpm-item {
    display: block;
    position: relative;
    color: #fff;
    background: #000;
    border-radius: 1rem;
}

.fpm-item:after {
    background: url("/media/wysiwyg/firstpersonmedical/icons/BlueArrow.svg") no-repeat center / cover;
    content: "";
    width: 4rem;
    height: 4rem;
    transform: rotate(180deg);
    position: absolute;
    top: 50%;
    right: -2rem;
    margin-top: -2rem;
    z-index: 2;
}

.fpm-item-inner {
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 27rem;
    position: relative;
    overflow: hidden;
}

.fpm-item-thumb {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.3s ease;    
}

.fpm-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpm-item-text {
    width: calc(40%);
    text-align: center;
}

.fpm-item-subtitle {
    font-size: 1.4rem;
}

.fpm-item-title {
    font-size: 2.6rem;
    line-height: 1.23;
}

.fpm-item:hover .fpm-item-thumb {
    right: calc(40%);
}

.page-bottom .block-static-block.widget {
    margin-bottom: 0;
}
/** End of Homepage Wrap Style */

/** Start of Checkout Style */
@media only screen and (min-width: 1440px) {
    .checkout-index-index .page-main {
        padding-inline-end: calc(30px * 2) !important;
        padding-inline-start: calc(30px * 2) !important;
    }
}

.checkout-payment-method .amcheckout-payment-methods .payment-method .payment-method-logo {
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.checkout-payment-method .amcheckout-payment-methods .payment-method .payment-method-logo .mastercard-logo {
    background-image: url(../images/payment/Mastercard.png);
    content: '';
    width: 64px;
    height: 64px;
}

.checkout-payment-method .amcheckout-payment-methods .payment-method .payment-method-logo .visa-logo {
    background-image: url(../images/payment/Visa.png);
    content: '';
    width: 64px;
    height: 64px;
}

.am-checkout.-modern.-layout-3columns .amcheckout-shipping-address input[type="email"],
.am-checkout.-modern.-layout-3columns .amcheckout-shipping-address input[type="text"],
.am-checkout.-modern.-layout-3columns .amcheckout-shipping-address .amtheme-placeholder,
.am-checkout.-modern.-layout-3columns .amcheckout-shipping-address input[type="tel"] {
    border-color: #070605;
}

.am-checkout.-modern.-layout-3columns .-summary .block.items-in-cart.active,
.am-checkout.-modern.-layout-3columns .-summary .block.items-in-cart.active>.title {
    margin-bottom: 5px;
}

.am-checkout.-modern.-layout-3columns .-summary .block.items-in-cart.active .minicart-items .minicart-items-wrapper {
    padding-top: 5px;
}

.am-checkout.-modern.-layout-3columns .-summary .block.items-in-cart.active .product-item .product {
    padding-bottom: 5px;
}

.am-checkout.-modern.-layout-3columns .-summary .table-totals:after {
    margin-top: 5px;
}

@media only screen and (min-width: 1024px) {
    .am-checkout.-modern.-layout-3columns .-summary .product-item .product-item-inner {
        margin-bottom: 0;
    }

    .am-checkout.-modern.-layout-3columns .-summary .table-totals {
        margin-bottom: 0;
    }
}
/** End of Checkout Style */

/** Start of Product Page Style */
.price-including-tax:after {
    content: attr(data-label);
    line-height: 2.5rem;
    margin: 0 0 0 5px;
    white-space: nowrap;
}

.amtheme-product-info .product-info-price .price-including-tax+.price-excluding-tax {
    margin-top: 4px;
    width: 100%;
}

@media only screen and (min-width: 1024px) {
    .page-layout-1column .amtheme-product-wrap>.amtheme-product-info {
        max-width: 100% !important;
    }
}

@media only screen and (min-width: 768px) {
    .page-layout-1column .amtheme-product-wrap {
        margin-bottom: 0 !important;
    }
}

.amtheme-productinfo-wrap .block.related {
    margin-top: 0;
}

.amtheme-productinfo-wrap .block.related .slick-dots {
    width: 100%;
}
/** End of Product Page Style */

/** Style adjustment of Customer Account Create */
.customer-account-create .page-title {
    text-align: center;
    line-height: 1.5;
    margin: 30px 0 !important;
}

/** Style adjustment of Cookie Alert Dialog */
.message.global.cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: lightgrey;
    width: 100%;
    text-align: center;
    padding: 10px;
}