/*============================================================================
			RESPONSIVE CSS WITH MEDIA 
=============================================================================*/

/*=============  MEDIA 1400px   =============*/
@media(min-width:1200px) and (max-width:1400px) {
    .box-wide {
        width: 100% !important;
    }
}

/*=============  MEDIA 1200px   =============*/
@media(max-width:1200px) {
    .box-wide {
        width: 100% !important;
    }
}

/*=============  MEDIA 1024px   =============*/
@media(max-width:1024px) {
    .box-wide {
        width: 100% !important;
    }
}

/*=============  MEDIA 992px - 1199px   =============*/
@media(min-width:992px) and (max-width:1199px) {
    .box-wide {
        width: 100% !important;
    }

    .bnr-txt {
        width: 50%;
    }

    .bnr-txt.left-text {
        width: 50%;
    }

    .donatores li.become-donor .btn {
        width: 100%;
        padding: 10px 0;
    }

    .donatores li.become-donor .donor-details {
        padding: 20px 10px;
    }

    .testi h3 {
        margin-top: 90px;
    }

    .testi-slides {
        margin-bottom: 0px;
    }

    .countdown span {
        width: 45px;
    }
}

/*=============  MEDIA 768px - 991px   =============*/
@media(min-width:768px) and (max-width:991px) {
    .box-wide {
        width: 100% !important;
    }

    .bnr-txt {
        width: 65%;
    }

    .bnr-txt.left-text {
        width: 65%;
    }

    .no-padding-l {
        padding: 0px;
    }

    .amount {
        padding-bottom: 0px;
    }

    .donate-price {
        padding-bottom: 20px;
    }

    .help-fea {
        padding-top: 126px;
        padding-left: 25px;
    }

    .how-can-help .img-responsive {
        margin-top: 130px;

    }

    .donatores li .donor-details {
        margin-bottom: 30px;
    }

    .video-blog {
        margin-bottom: 30px;
    }

    .with-bg-drk:before {
        left: -30%;
    }

    footer .shadow {
        box-shadow: none;
    }

    footer .rights {
        margin-top: 0px;
    }

    footer h6 {
        margin-top: 85px;
    }

    .donate-price .tabii-price {
        text-align: center;
    }

    .help-fea:before {
        width: 288px;
    }

    .process {
        display: none;
        height: auto;
        margin-top: 0px;
    }

    .process li {
        margin-bottom: 30px;
    }

    .what-we .program {
        margin-top: 50px;
    }

    .shop li img {
        width: 100%;
    }
}

@media (min-width:768px) {
    .formobile {
        display: none;
    }
}

/*=============  MEDIA 767px   =============*/
@media(max-width:767px) {
    .fordesktop {
        display: none;
    }

    .bnr-txt.left-text {
        width: 70%;
        left: 15%;
        top: 30% !important;
    }

    .bnr-txt.right-text {
        width: 70%;
        right: 15%;
        top: 30%;
    }

    .what-we .program {
        margin-top: 50px;
    }

    .what-we {
        padding-bottom: 0px;
    }

    .process {
        display: none;
    }

    .no-padding-l {
        padding: 0px;
    }

    .shop li img {
        width: 100%;
    }

    .box-wide {
        width: 100% !important;
    }

    .amount {
        padding: 10px 20px;
    }

    .cases li {
        margin-bottom: 30px;
    }

    footer .subcribe {
        margin-bottom: 10px;
    }

    footer .rights {
        margin-top: 0px;
    }

    footer h3 {
        margin-top: 10px;
    }

    .donate-price {
        padding-bottom: 20px;
    }

    .process {
        height: auto;
        margin-top: 0px;
    }

    .video-blog {
        margin-bottom: 30px;
    }

    footer h6 {
        margin-top: 30px;
    }

    footer .padding-l-60 {
        padding-left: 15px;
    }

    footer .social_icons {
        position: relative;
        margin-bottom: 10px;
    }

    .ownmenu>li>a {
        margin: 0px;
    }

    .help-fea {
        padding-top: 20px;
    }

    .help-fea:before {
        top: 20px;
    }

    .ownmenu>li.showhide span.icon {
        color: #fff;
        padding: 0px;
        margin: 0px;
        width: 100%;
        text-align: center;
        font-size: 25px;
    }

    .ownmenu>li.showhide {
        height: auto;
        margin: 0px;
        padding: 0px;
        line-height: 60px;
        height: 60px;
    }

    header nav li a {
        display: inline-block;
        width: 100%;
        float: none;
    }

    header .nav-img {
        display: none !important;
    }

    .ownmenu>li.showhide span {
        line-height: 60px;
        display: inline-block;
        width: 100%;
    }

    .ownmenu>li.showhide span.title {
        margin: 0px;
    }

    .ownmenu>li>a {
        padding: 10px 0;
    }

    .ownmenu .indicator {
        display: block;
    }

    header .ownmenu ul.dropdown {
        background: none;
    }

    #banner {
        height: 400px;
    }

    #banner .bnr-txt {
        width: 100%;
        left: 0px;
        padding: 0 30px;
        right: inherit;
    }

    .flex-direction-nav a {
        display: none;
    }

    .bnr-txt h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .bnr-txt h1 span {
        color: #fff;
        font-weight: normal;
    }

    .bnr-txt hr {
        display: none;
    }

    .bnr-txt p {
        padding-bottom: 20px;
    }

    .donatores li .donor-details {
        margin-bottom: 30px;
    }

    .top-bar {
        height: auto;
    }

    .top-bar .right-bar-side {
        float: left;
    }

    .donation-pop {
        width: 100%;
    }

    .fea-service li a {
        margin-bottom: 20px;
        display: inline-block;
        width: 100%;
    }

    #banner img {
        width: 200%;
    }

    .bnr-txt.left-text {
        top: 10%;
    }

    .event-filter h6 {
        width: 100%;
        text-align: center;
    }

    .filter-type .col-sm-4 {
        width: 100%;
    }

    .bootstrap-select {
        width: 100%;
    }

    .filter-type {
        width: 100%;
    }

    .event-pages .events li {
        padding-right: 0px;
        padding: 15px 0;
    }

    .proud {
        padding: 60px 20px;
    }

    .total-cart {
        margin-top: 30px;
    }

    .gallery-pages .item {}

    .gallery-item {
        text-align: center;
    }

    .gallery-item li {
        width: 50%;

    }

    .blog-pages .pagination {
        margin-top: -100px;
    }

    .blog-pages .side-bar {
        margin-top: 50px;
    }

    .error-page {
        text-align: center;
    }

    .error-text h2 {
        margin-top: 30px;
    }

    .error-text .search {
        padding: 0px;
    }
}

/*=============  MEDIA 600px   =============*/
@media (max-width:640px) {
    .event-in .up-com-event .col-xs-5 {
        width: 100%;
    }

    .event-in .up-com-event .col-xs-5 img {
        width: 100%;
        margin-bottom: 10px;
    }

    .event-in .up-com-event .col-xs-7 {
        width: 100%;
    }

    #banner img {
        width: 200%;
    }

    #banner .bnr-txt {
        top: 10%;
    }

    .cases-pages .filter {
        width: 100%;
        text-align: center;
    }

    .cases .list-grid li {
        margin-bottom: 0px;
    }

    .cases-pages .filter li a {
        padding-left: 0px;
        padding-right: 0px;
    }

    .gallery-item li {
        width: 100%;

    }

    .gallery-item li img {
        width: 100%;

    }
}

/*=============  MEDIA 540px   =============*/
@media(max-width:540px) {
    header .logo {
        width: 100%;
        text-align: center;
    }

    header .btn-right {
        float: none;
        width: 100%;
        text-align: center;
    }

    header .btn-right .btn {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    #banner img {
        width: 300%;
    }
}

/*=============  MEDIA 400px   =============*/
@media(max-width:440px) {}

/*=============  MEDIA 320px   =============*/
@media(max-width:320px) {}

/* ========================================================
   CUSTOM RESPONSIVENESS AND LAYOUT POLISH
   ======================================================== */
@media(max-width:767px) {

    /* Top Bar adjustments */
    .top-bar {
        background: #222 !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #333 !important;
        height: auto !important;
    }

    .top-bar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        padding: 0 15px !important;
    }

    .top-bar .left-bar-side,
    .top-bar .right-bar-side {
        float: none !important;
        display: inline-block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: normal !important;
    }

    .top-bar p {
        font-size: 11px !important;
        color: #aaa !important;
        margin: 0 !important;
        line-height: normal !important;
    }

    /* Header layout - fixed height absolute container */
    header {
        height: 70px !important;
        background: #303030 !important;
    }

    header .container.logoarea {
        position: relative !important;
        height: 70px !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Logo - left aligned & vertically centered */
    header .logo {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        float: none !important;
        display: block !important;
    }

    header .logo img {
        max-width: 85px !important;
        height: auto !important;
        display: block !important;
    }

    /* Enquiry Button - right aligned (with gap for hamburger) & vertically centered */
    header .btn-right {
        position: absolute !important;
        right: 65px !important;
        /* Hamburger is at right: 15px, width: 40px, so it ends at 55px. 10px gap. */
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        float: none !important;
        display: block !important;
    }

    header .btn-right .btn {
        margin: 0 !important;
        height: 36px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        border-radius: 4px !important;
        background: #F22800 !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
        line-height: 36px !important;
    }

    /* Hamburger Menu Button - right aligned & vertically centered inside the header */
    .ownmenu>li.showhide {
        position: absolute !important;
        top: -53px !important;
        /* Float up by 53px relative to .ownmenu (which is at top: 70px) to sit at top: 17px inside the header */
        right: 15px !important;
        transform: none !important;
        width: 40px !important;
        height: 36px !important;
        line-height: 36px !important;
        background: #F22800 !important;
        /* Match Enquiry button color */
        border-radius: 4px !important;
        text-align: center !important;
        cursor: pointer !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    }

    .ownmenu>li.showhide span.icon {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 36px !important;
    }

    .ownmenu>li.showhide:hover {
        background: #d82400 !important;
    }

    /* Navigation containers - keep static to inherit coordinates from logoarea container */
    header nav,
    header nav .container {
        position: static !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    .ownmenu {
        position: absolute !important;
        top: 70px !important;
        /* dropdown list starts right below the 70px header */
        left: 0 !important;
        width: 100% !important;
        background: #303030 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
        border-top: 1px solid #444 !important;
        z-index: 9999 !important;
    }

    .ownmenu>li:not(.showhide) {
        border-bottom: 1px solid #444 !important;
        background: #383838 !important;
        width: 100% !important;
        display: none;
        text-align: left !important;
        float: none !important;
    }

    .ownmenu>li:not(.showhide)>a {
        padding: 12px 20px !important;
        color: #fff !important;
        border: none !important;
        font-size: 14px !important;
        display: block !important;
        line-height: normal !important;
    }

    /* Dropdown inside Mobile Menu */
    .ownmenu ul.dropdown {
        position: static !important;
        width: 100% !important;
        background: #2b2b2b !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        display: none;
    }

    .ownmenu ul.dropdown li a {
        color: #ccc !important;
        border-bottom: 1px solid #3a3a3a !important;
        padding: 10px 15px !important;
        display: block !important;
    }
    .ownmenu ul.dropdown li a:hover,
    .ownmenu ul.dropdown li a:focus,
    .ownmenu ul.dropdown li a:active,
    .ownmenu ul.dropdown li:hover > a {
        color: #ffdd00 !important;
    }

    /* Banner/Slider adjustments */
    .myBanner,
    .myBanner .swiper-wrapper,
    .myBanner .swiper-slide,
    .banner-slide {
        height: 350px !important;
    }

    .bnr-txt {
        width: 80% !important;
        left: 10% !important;
        right: auto !important;
        top: 15% !important;
        text-align: center !important;
    }

    .bnr-txt h1 {
        font-size: 22px !important;
        line-height: 30px !important;
    }

    .bnr-txt p {
        font-size: 13px !important;
        line-height: 18px !important;
        margin-top: 10px !important;
    }

    .bnr-txt .btn {
        margin-top: 15px !important;
        padding: 8px 20px !important;
        font-size: 11px !important;
    }

    /* Program Box buttons */
    .what-we .program .btn {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 12px !important;
        padding: 0 20px !important;
        font-size: 12px !important;
    }

    /* Product Card Image */
    .featured-products-section .product-slider-container,
    .category-products-section .product-slider-container {
        height: 280px !important;
    }

    .featured-product-card .products-details {
        padding: 15px !important;
    }

    /* Blog List vertical spacing */
    .blog ul.row li.col-xs-12 {
        text-align: center;
    }

    .blog ul.row li.col-xs-12:last-child {
        margin-top: 15px;
        margin-bottom: 30px;
    }
}

@media(max-width:480px) {

    /* Newsletter box side-by-side mobile layout */
    .subscribe-box form {
        flex-direction: row !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .subscribe-box input {
        height: 42px !important;
        padding: 0 15px !important;
        font-size: 13px !important;
        border-radius: 50px !important;
        border: 1px solid #ccc !important;
        box-sizing: border-box !important;
        flex: 1 !important;
        width: auto !important;
        max-width: 280px !important;
    }

    .subscribe-box button {
        height: 42px !important;
        width: 42px !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        background: #F22800 !important;
        color: #fff !important;
        border: none !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }
}