/*
####################################################
M E D I A  Q U E R I E S                           
####################################################
*/


/* X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {

    .nw-header-inside .logo {
        height: auto;
    }

    .nw-header__inside__title h1:after {
        content: '';
        position: absolute;
        top: 18px;
        background-color: white;
        max-width: 100px;
        height: 10px;
        display: none;
        margin: 0px 2rem;
    }


    .nw-header__inside__title h1 {
        margin: 50px;
    }

    .nw-header__bottom2 {
        height: 150px;
        margin-top: 125px;
        background: url(../images/top-back.png) no-repeat center #ffe200;
        background-blend-mode: color-burn;
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 50px auto;
        border-radius: 50px;
        line-height: 0px;
    }

    .inside-info-head-text:before {
        content: '';
        position: absolute;
        background: url(../images/pattern.png) repeat-y center;
        width: 100px;
        height: 200px;
        right: 50px;
        top: 10px;
        display: none;
    }

    .about__body {
        padding: 5px 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
    }

    .hero-header-middle-text {
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 70%;
        margin-right: 15%;
    }

    .hero-header-middle-title h2 {
        font-size: 1rem;
        font-family: var(--font-family-title-fat);
        font-weight: 900;
        color: var(--white);
        position: relative;
        z-index: 5;
        width: fit-content;
    }

    .nw-header__bottom {
        height: auto;
        margin-top: 125px;
        background: url('../images/top-back.png') no-repeat center #ffe200;
        background-blend-mode: color-burn;
        width: 95%;
        margin: 30px auto;
        border-radius: 50px;
        font-size: 10px;
        text-align: center;
        font-weight: bold;
        -webkit-box-shadow: 0px -12px 10px -10px #FFE200;
        box-shadow: 0px -12px 10px -10px #FFE200;
        position: relative;
        box-shadow: 0px -20px 0px -14px #ffe20047;
        line-height: 40px;
        padding: 20px 60px 0px 20px;
    }

    .nw-header__bottom:after {
        content: '';
        position: absolute;
        top: -20px;
        right: 20px;
        width: 31px;
        height: 95px;
        background-color: red;
        border-radius: 50px 0;
        background-image: linear-gradient(140deg, hsl(356deg 97% 46%) 0%, hsl(356deg 97% 45%) 9%, hsl(356deg 97% 43%) 18%, hsl(356deg 98% 42%) 27%, hsl(356deg 98% 40%) 36%, hsl(356deg 99% 39%) 45%, hsl(356deg 99% 37%) 55%, hsl(356deg 99% 36%) 64%, hsl(356deg 99% 34%) 73%, hsl(356deg 100% 33%) 82%, hsl(356deg 100% 31%) 91%, hsl(356deg 100% 30%) 100%);
        /* box-shadow: 0px 0px 20px 0px #e90412; */
        box-shadow: 0px 0px 75px -10px #e90412;
    }

    .footer-flex {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        position: relative;
    }

    .service-box {
        display: block;
        border-radius: 35px;
        height: auto;
        padding: 25px;
        box-shadow: 0px 10px 0px -3px #005321, 0px -5px 40px 0px rgb(190 190 190 / 10%);
        position: relative;
        text-align: center;
    }

    .service-box2:before {
        content: '';
        position: absolute;
        background: url(../images/pattern.png) no-repeat center;
        width: 100px;
        height: 165px;
        z-index: -9999;
        left: -50px;
        top: -30px;
        display: none;
    }

    .service-box-text {
        padding: 0 0 0 0px;
    }

    .primary-title h3 {
        font-size: 2rem;
        font-weight: 900;
        font-family: var(--font-family-title-fat);
        color: var(--primary);
        position: relative;
        z-index: 5;
        width: fit-content;
        margin: 20px auto 30px;
    }

    .search:focus {
        width: 230px;
        /* Bar width+1px */
        padding: 0 16px 0 0;
    }

    .footer-box span {
        font-size: 12px;
    }

    .footer-box-header span.phonenumber {
        font-size: 18px;
    }

    .footer-box-body img {
        width: 30px;
    }

    .namad-container img {
        width: 70px;

    }

    .social-item {
        width: 30px;
        height: 30px;

    }

    .social-box {
        margin-top: 15px;
        justify-content: space-evenly;
    }

    .social-item img {
        width: 20px;
    }

    .footer-box-header span:nth-child(4) {
        display: none;
    }

    .about-box-body h6 {}

    .about-box-body h4 {
        font-size: 1.2rem;
        margin: 10px 0;
        line-height: 35px;
    }

    .about-box-body p {
        color: var(--about-box-text);
        font-size: 13px;
        text-align: justify;
        line-height: 28px;
    }

    #wprmenu_bar .menu_title {
        font-size: 16px;
        font-weight: ;
    }

    .nw-header .logo {
        height: auto;
        line-height: 110px;
    }

    .about__body_title h5 {
        color: var(--primary);
        font-size: 30px;
        font-family: var(--font-family-title-fat);
    }

    .btn-primary {
        background: var(--yellow);
        font-size: 14px;
        font-weight: 400;
        width: 120px;
        border-radius: 25px;
        color: var(--header-btn-color);
        border: none;
        height: 50px;
    }

    .nishaweb-product {
        background: white;
        padding: 8px 24px;
        border-radius: 60px 0;
        height: auto;
        position: relative;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.07);
    }

    .nw-header__inside__title h1 {
        margin: 50px;
    }

    .about__body__cta {
        display: flex;
    }

    .nishaweb-brand__body {
        text-align: center;
        background: rgb(255, 255, 255);
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(248, 249, 251, 1) 100%);
        border-radius: 24px 24px 0 0;
        padding: 50px 30px 30px 30px;
    }

}






/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
    .nw-header__slideshow__img {
        width: 75%;
    }

    .hero-header-middle-text {
        height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 70%;
        margin-right: 15%;
    }

    .hero-header-middle-title h2 {
        font-size: 2rem;
        font-family: var(--font-family-title-fat);
        font-weight: 900;
        color: var(--white);
        position: relative;
        z-index: 5;
        width: fit-content;
    }

    .nw-header__bottom {
        /* height: auto; */
        /* background: url('../images/top-back.png') no-repeat center #ffe200; */
        /* background-blend-mode: color-burn; */
        /* width: 85%; */
        /* margin: 30px auto; */
        /* border-radius: 50px; */
        /* font-size: 10px; */
        /* text-align: center; */
        /* font-weight: bold; */
        /* -webkit-box-shadow: 0px -12px 10px -10px #FFE200; */
        /* box-shadow: 0px -12px 10px -10px #FFE200; */
        /* position: relative; */
        /* box-shadow: 0px -20px 0px -14px #ffe20047; */
        /* line-height: 40px; */
        /* padding: 20px 60px 0px 20px; */
    }

    .services .primary-title h2 {
        margin-top: 15%;
        font-size: 2rem;
    }

    .service-box {
        display: block;
        border-radius: 35px;
        height: auto;
        padding: 25px;
        box-shadow: 0px 10px 0px -3px #005321, 0px -5px 40px 0px rgb(190 190 190 / 10%);
        position: relative;
    }
}

/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {


    .primary-title h3 {
        font-size: 1rem;
        font-weight: 900;
        font-family: var(--font-family-title-fat);
        color: var(--primary);
        position: relative;
        z-index: 5;
        width: fit-content;
        margin: 20px auto 30px;
    }

    .service-box {
        border-radius: 35px;
        height: auto;
        padding: 10px;
        box-shadow: 0px 10px 0px -3px #005321, 0px -5px 40px 0px rgb(190 190 190 / 10%);
        position: relative;
        text-align: center;
    }

    .service-box-text {
        padding: 0 0 0 0px;
    }

    .service-box-text p {
        font-size: 12px;
    }

    .primary-title h3 {
        font-size: 1.5rem;
        font-weight: 900;
        font-family: var(--font-family-title-fat);
        color: var(--primary);
        position: relative;
        z-index: 5;
        width: fit-content;

    }

    .service-box-img::before {
        content: '';
        position: absolute;
        width: 100px;
        height: 100px;
        background-color: #ffffff00;
        border: 25px solid var(--primary);
        border-radius: 50%;
        z-index: -2;
        top: 20px;
        transition: all 0.5s;
    }

    .service-box:hover .service-box-img::before {
        content: '';
        position: absolute;
        width: 120px;
        height: 120px;
        background-color: #ffffff00;
        border: 25px solid #E90412;
        border-radius: 50%;
        z-index: -2;
        top: 20px;
    }

    .search:focus {
        width: 230px;
        /* Bar width+1px */
        padding: 0 16px 0 0;
    }

    .footer-box span {
        font-size: 12px;
    }

    .footer-box-header span.phonenumber {
        font-size: 18px;
    }

    .footer-box-body img {
        width: 30px;
    }

    .namad-container img {
        width: 70px;

    }

    .social-item {
        width: 30px;
        height: 30px;

    }

    .social-box {
        margin-top: 15px;
    }

    .social-item img {
        width: 20px;
    }

    .footer-box-header span:nth-child(4) {
        display: none;
    }

    .hero-header-middle-btn {
        margin: 0 auto;
    }

    .about-box-body h6 {}

    .about-box-body h4 {
        font-size: 1.2rem;
        margin: 15px 0;
    }


}

/* Large devices (desktops, less than 1200px)*/
@media (min-width: 1199.98px) {


    .service-box {
        display: flex;
        border-radius: 35px;
        height: 260px;
        padding: 15px;
        box-shadow: 0px 10px 0px -3px #005321, 0px -5px 40px 0px rgb(190 190 190 / 10%);
        position: relative;
        /* z-index: 5; */
        background: white;
        /* background: url('../images/services-back.png') no-repeat; */
    }
}

/* X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {
    ...
}

/* XX-Large devices (larger desktops)*/
/* No media query since the xxl breakpoint has no upper bound on its width*/