/* Legacy Maroc Hebergement homepage blocks ported for the Nexus preview. */

.mh-homepage {
    margin-left: calc(50% - 50vw);
    width: 100vw;
}

.mh-homepage .container,
.mh-home-hero .container {
    max-width: 1110px;
}

.mh-homepage .padding {
    padding-bottom: 60px;
    padding-top: 60px;
}

.mh-homepage .section-title {
    color: #222;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 60px;
    padding-bottom: 30px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.mh-homepage .section-title::after {
    background-color: #999;
    border-radius: 3px;
    bottom: 0;
    content: "";
    height: 4px;
    left: 50%;
    margin-left: -40px;
    position: absolute;
    width: 80px;
}

.mh-homepage .main-btn,
.mh-home-hero .main-btn {
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.mh-home-hero {
    background-image: url("../img/marochebergement-slide.png");
    background-position: center 55%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.mh-home-hero::after {
    background: rgba(0, 0, 0, 0.42);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.mh-home-hero > * {
    position: relative;
    z-index: 3;
}

.mh-home-hero .header-content {
    align-items: center;
    display: flex;
    min-height: 500px;
}

.mh-home-hero .content-wrapper {
    text-align: center;
    width: 100%;
}

.mh-home-hero .main-headline {
    color: #fff;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.mh-home-hero h2 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
}

.mh-home-hero .search-domain-inner {
    margin-top: 40px;
}

.mh-home-hero .form-container {
    align-items: center;
    display: flex;
    margin: auto;
    max-width: 800px;
}

.mh-home-hero .search-text-container {
    flex: 0 0 calc(100% - 350px);
    max-width: calc(100% - 350px);
    position: relative;
}

.mh-home-hero .btn-container {
    flex: 0 0 350px;
    max-width: 350px;
    padding-left: 20px;
}

.mh-home-hero .form-control {
    background: #eee;
    border: 0;
    border-radius: 36px;
    color: #222;
    height: 70px;
    padding: 15px 24px;
}

.mh-home-hero .form-control::placeholder {
    color: #777;
}

.mh-home-hero .extentions {
    bottom: -32px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    left: 23px;
    margin: 0;
    position: absolute;
}

.mh-home-hero .extentions span {
    display: inline-block;
    margin: 0 3px;
    opacity: 0.35;
}

.mh-home-hero .btn-chercher,
.mh-home-hero .btn-transfer {
    border: 0;
    color: #fff;
    height: 70px;
    padding: 0 22px;
    width: calc(50% - 10px);
}

.mh-home-hero .btn-chercher {
    background: #db4040;
    margin-right: 15px;
}

.mh-home-hero .btn-chercher:hover,
.mh-home-hero .btn-chercher:focus {
    background: #c73535 !important;
    color: #fff !important;
}

.mh-home-hero .btn-transfer {
    background: #328ea4;
}

.mh-home-hero .btn-transfer:hover,
.mh-home-hero .btn-transfer:focus {
    background: #267c92 !important;
    color: #fff !important;
}

.mh-home-hero .btn i {
    margin-left: 8px;
}

.mh-home-hero .domainchecker-homepage-captcha {
    color: #fff;
    margin-top: 42px;
    text-align: center;
}

.mh-home-hero .default-captcha {
    color: #fff;
}

.mh-home-hero .default-captcha input {
    display: inline-block;
    margin-left: 12px;
    max-width: 110px;
    vertical-align: middle;
}

.mh-plans {
    background: #f8f8f8;
}

.mh-plans .plans-container {
    margin-top: 40px;
}

.mh-plans .plan {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.26);
    color: #fff;
    height: 100%;
    overflow: hidden;
    padding: 60px 10px 100px;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.mh-plans .plan > * {
    position: relative;
    z-index: 1;
}

.mh-plans .plan:hover {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.38);
    transform: translateY(-5px);
}

.mh-plans .plan-red {
    background-color: #d54949;
}

.mh-plans .plan-blue {
    background-color: #328ea4;
}

.mh-plans .plan-green {
    background-color: #449872;
}

.mh-plans .plan-black {
    background-color: #353535;
}

.mh-plans .pack-name {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 15px 15px 0;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: 30px;
    left: 0;
    line-height: 30px;
    position: absolute;
    text-align: center;
    text-transform: capitalize;
    top: 15px;
    width: 140px;
}

.mh-plans .plan-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 0;
    text-transform: uppercase;
}

.mh-plans .small-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.mh-plans .icon-container {
    background-color: rgba(0, 0, 0, 0.07);
    border-radius: 50%;
    height: 100px;
    line-height: 105px;
    margin: 20px auto;
    width: 100px;
}

.mh-plans .icon-container img {
    max-width: 50%;
}

.mh-plans .plan-offers {
    margin: 0;
    padding: 0;
}

.mh-plans .plan-offers li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    padding: 10px 0;
    text-align: center;
    text-transform: capitalize;
}

.mh-plans .plan-price {
    margin-top: 30px;
}

.mh-plans .txt-started {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-left: -45px;
    text-transform: uppercase;
}

.mh-plans .txt-price {
    font-size: 22px;
    font-weight: 800;
}

.mh-plans .txt-price span {
    display: inline-block;
    margin-right: -45px;
}

.mh-plans .txt-price em {
    font-size: 13px;
}

.mh-plans .plan-btn {
    bottom: 30px;
    left: 10px;
    position: absolute;
    right: 10px;
}

.mh-plans .btn-show-all-offers {
    border: 2px solid #fff;
    color: #fff;
    font-size: 13px;
    padding: 15px;
}

.mh-plans .btn-show-all-offers:hover,
.mh-plans .btn-show-all-offers:focus {
    background: #fff !important;
    color: #328ea4 !important;
}

.mh-plans .plan-btn-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 7px;
    top: 139px;
    width: 30px;
    z-index: 5;
}

.mh-plans .plan-btn-toggle::after {
    content: "\f104";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", "FontAwesome";
    font-size: 1.1rem;
    font-weight: 900;
}

.mh-plans .plan-back {
    bottom: 0;
    left: 0;
    padding: 60px 15px 30px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.15s ease-in-out;
    z-index: 3;
}

.mh-plans .plan-red .plan-back {
    background: rgba(213, 73, 73, 0.92);
}

.mh-plans .plan-blue .plan-back {
    background: rgba(50, 142, 164, 0.92);
}

.mh-plans .plan-green .plan-back {
    background: rgba(68, 152, 114, 0.92);
}

.mh-plans .plan-black .plan-back {
    background: rgba(53, 53, 53, 0.92);
}

.mh-plans .plan.show-descr .plan-back {
    transform: translateX(0);
}

.mh-plans .plan.show-descr .plan-btn-toggle::after {
    content: "\f105";
}

.mh-plans .plan-short-description {
    background: rgba(0, 0, 0, 0.09);
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 25px;
    color: #f6fdff;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 5px;
}

.mh-plans .short-description-inner {
    display: block;
    padding: 15px;
}

.mh-features {
    background: #edf1f2;
}

.mh-features .row-2 {
    margin-top: 50px;
}

.mh-features .feature {
    background: linear-gradient(to right, #eee, #f0f0f0, #f8f8f8);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.09);
    color: #333;
    height: 220px;
    padding: 25px 15px;
    position: relative;
    transition: all 0.15s ease-in-out;
}

.mh-features .feature::after {
    background-color: #888;
    border-radius: 2px;
    bottom: 30px;
    content: "";
    height: 3px;
    left: calc(50% - 20px);
    position: absolute;
    width: 40px;
}

.mh-features .feature:hover {
    background: linear-gradient(to right, #222, #333, #252525);
    color: #fff;
}

.mh-features .feature .img-container {
    height: 50px;
    line-height: 50px;
}

.mh-features .feature img {
    width: 50px;
}

.mh-features .feature img.black-icon {
    display: inline-block;
}

.mh-features .feature img.white-icon,
.mh-features .feature:hover img.black-icon {
    display: none;
}

.mh-features .feature:hover img.white-icon {
    display: inline-block;
}

.mh-features .feature h4 {
    font-size: 1rem;
    font-weight: 800;
    margin: 10px 0;
}

.mh-features .feature-decription p {
    color: #555;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.mh-features .feature:hover .feature-decription p {
    color: #ccc;
}

.mh-partners {
    background: #f8f8f8;
}

.mh-partners .clients-container {
    position: relative;
}

.mh-partners .bars {
    height: 0;
    position: relative;
    width: 100%;
}

.mh-partners .carousel-bar {
    background-color: rgba(217, 215, 215, 0.75);
    height: 120px;
    position: absolute;
    top: 36px;
    width: 1px;
}

.mh-partners .carousel-bar:first-of-type {
    left: 25%;
}

.mh-partners .carousel-bar:nth-of-type(2) {
    left: 50%;
}

.mh-partners .carousel-bar:last-of-type {
    left: 75%;
}

.mh-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mh-partners .mh-client {
    align-items: center;
    display: flex;
    height: 150px;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.mh-partners .mh-client img {
    display: inline-block;
    max-height: 80px;
    max-width: 100%;
    width: auto;
}

.mh-blogs {
    background: #edf1f2;
}

.mh-blogs .blog-container {
    margin-bottom: 30px;
}

.mh-blogs .blog {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.mh-blogs .blog::before {
    background: #db4040;
    bottom: 0;
    content: "";
    height: 2px;
    left: 40px;
    position: absolute;
    transform: scaleX(0.4);
    transform-origin: left center;
    transition: all 0.2s ease-in-out;
    width: calc(100% - 80px);
}

.mh-blogs .blog:hover {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.38);
}

.mh-blogs .blog:hover::before {
    transform: scaleX(1);
}

.mh-blogs .img-container {
    background: #e9ecef;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.mh-blogs .img-container img {
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.mh-blogs .blog:hover img {
    transform: scale(1.03);
}

.mh-blogs .overlay-image {
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
}

.mh-blogs .blog:hover .overlay-image {
    opacity: 1;
    visibility: visible;
}

.mh-blogs .overlay-image .btn {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #555;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.mh-blogs .blog-info {
    color: #333;
    padding: 20px 30px 30px;
}

.mh-blogs .date {
    color: #777;
    font-size: 14px;
}

.mh-blogs .blog-title {
    color: #222;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    margin: 10px 0 20px;
    min-height: 48px;
    position: relative;
}

.mh-blogs .description {
    color: #444;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
}

.mh-blogs .text-link {
    color: #00b894;
    font-size: 14px;
    font-weight: 700;
}

.mh-blogs .btn-show-all-container {
    margin-top: 30px;
}

.mh-blogs .btn-show-all-container .btn {
    border: 2px solid #db4040;
    color: #db4040;
    font-size: 14px;
    padding: 13px 35px;
}

.mh-blogs .btn-show-all-container .btn:hover,
.mh-blogs .btn-show-all-container .btn:focus {
    background: #db4040 !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .mh-home-hero,
    .mh-home-hero .header-content {
        min-height: 460px;
    }

    .mh-home-hero .main-headline {
        font-size: 34px;
    }

    .mh-home-hero .form-container {
        display: block;
        max-width: 520px;
    }

    .mh-home-hero .search-text-container,
    .mh-home-hero .btn-container {
        max-width: 100%;
        padding-left: 0;
    }

    .mh-home-hero .btn-container {
        display: flex;
        gap: 12px;
        margin-top: 18px;
    }

    .mh-home-hero .btn-chercher,
    .mh-home-hero .btn-transfer {
        margin: 0;
        width: 50%;
    }

    .mh-home-hero .extentions {
        position: static;
        margin-top: 8px;
        text-align: left;
    }

    .mh-features .row-2 {
        margin-top: 0;
    }

    .mh-features .feature,
    .mh-plans .plan {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .mh-homepage .padding {
        padding-bottom: 45px;
        padding-top: 45px;
    }

    .mh-homepage .section-title {
        font-size: 21px;
        margin-bottom: 40px;
    }

    .mh-home-hero,
    .mh-home-hero .header-content {
        min-height: 500px;
    }

    .mh-home-hero .main-headline {
        font-size: 28px;
    }

    .mh-home-hero h2 {
        font-size: 16px;
    }

    .mh-home-hero .form-control {
        height: 58px;
    }

    .mh-home-hero .btn-container {
        display: block;
    }

    .mh-home-hero .btn-chercher,
    .mh-home-hero .btn-transfer {
        height: 54px;
        margin: 0 0 12px;
        width: 100%;
    }

    .mh-clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mh-partners .carousel-bar {
        display: none;
    }
}
