@media (max-width: 1440px) {
    .carousel-caption {
        bottom: calc(50% - 140px);
    }

    .banner-content.style-two h2 {
        font-size: 35px;
    }

    .banner-content.style-two h3 {
        font-size: 23px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .help-block h5 {
        font-size: 21px;
    }

    .banner-title h1 {
        font-size: 40px;
    }
}



@media (max-width: 1024px) {
  .sidebar-image .widget-timer ul li {
        padding: 0 12px;
        font-size: 10px;
    }

    .sidebar-image .widget-timer ul li span {
        font-size: 20px;
    }

    .banner-intro .media .media-body h5 {
        font-size: 20px;
    }
    .navbar.sm-navbar ul.navbar-nav>li>a{
            padding: 34px 9px;
    }
}

@media (max-width: 991px) {
    .page-title{
            background-position: 20% 0%;
    background-size: cover;
    }
    .navbar.sm-navbar ul.navbar-nav>li>a{
            padding: 0;
    }
  .what-we-do-content-header .text-center{
      text-align: left !important;
    }
  .single-blog .blog-content h3 {
        font-size: 20px;
    }

    .blog-details .blockquote:after {
        left: 24px;
    }

  .widget-about {
        margin-bottom: 50px;
    }

    .widget-contact {
        margin-bottom: 50px;
        display: flex;
        align-items: center;
    }
    .widget-contact>div{
      width: 50%;
    }
    .widget-contact>div:nth-of-type(1)>p{
          padding-right: 40px;
    }


    .sidebar-area {
        margin-bottom: 60px;
    }

  .bottombar .bottombar-text p {
        text-align: center;
    }

    .bottombar .bottombar-menu ul {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        padding: 0;
    }

    .bottombar .bottombar-menu {
        float: none;
        text-align: center;
    }

    .bottombar .bottombar-text p {
        margin-bottom: 12px;
    }
  .navbar-krupa {
        padding: 13px 0 13px 0 !important;
    }

    .navbar.sm-navbar .navbar-toggler {
        background: transparent;
    }

    .navbar.sm-navbar .navbar-toggler .line {
        background: #593b83;
    }

    .logo-one {
        display: none;
    }

    .logo-two {
        display: block !important;
    }

    .navbar-krupa-2 {
        padding: 10px 0 13px 0 !important;
    }

    .navbar.sm-navbar .navbar-toggler {
        padding-top: 1px;
    }

    .navbar-krupa.style-two {
        padding: 0px 0 7px 0 !important;
    }

    .navbar-krupa.style-two .sm-navbar {
        padding-top: 14px;
    }

    #navbarSupportedContent i.fa.fa-angle-down {
        display: none;
    }

    .about-section .row:nth-of-type(odd) {
        display: flex;
    }

    .about-section .row:nth-of-type(odd) .col-lg-6.col-md-12:nth-of-type(1) {
        order: 2;
    }

    .about-section .row:nth-of-type(odd) .col-lg-6.col-md-12:nth-of-type(2) {
        order: 1;
    }

    .about-section .row .col-lg-6.col-md-12 {
        padding: 40px 40px 0px 40px;
    }



    .about-section .about-section-details p {
        /*margin-bottom: 0;*/
    }

    .people-we-serve-section .about-image-popup {
        margin: 0px 0px 80px 0px;
    }

    .contact-secton {
        padding: 82px 0 82px 0;
    }

    .contact-secton .section-title {
        padding: 0px 0px 0px 0px;
    }

    .row.class-content {
        /*justify-content: center;*/
    }

    .navbar-krupa {
        top: 0px;
    }

    .navbar.sm-navbar ul.navbar-nav li.has-menu-item-submenu>a.slicknav .icon:before {
        width: 16px;
        margin-bottom: -9px;
    }

    .navbar.sm-navbar ul.navbar-nav li.has-menu-item-submenu>a.slicknav .icon:after {
        margin-left: 7px;
        height: 16px;
    }

    .navbar.sm-navbar ul.navbar-nav li a i {
        padding-left: 3px;
    }

    .nav-right-area {
        display: inline-block;
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .nav-right-area .btn-donate-small {
        /*background: #593b83;*/
    }

    .navbar-krupa.style-three .collapse .navbar-nav .nav-item a {
        color: #252525;
        padding: 0;
    }

    .navbar.sm-navbar ul.navbar-nav li.has-menu-item-submenu ul.sub-menu a {
        font-size: 14px;
    }

    .navbar-krupa {
        background-color: rgb(255, 255, 255);
    }

    #intro .col-lg-4.col-md-6.no-padding:hover .bg-boxes {
        display: none;
    }

    .banner-intro {
        margin-bottom: 15px;
        display: none;
    }

    .banner-intro .media .icon img {
        margin-top: 8px !important;
    }

    .banner-content p br {
        display: none;
    }

    .banner-section {
        padding: 120px 0 90px 0;
    }

    .banner-section.style-two {
        text-align: center;
    }

    .banner-section.style-two .helping-area {
        display: none;
    }

    .banner-section.style-five .banner-content h1 {
        font-size: 50px;
    }

    .banner-section.style-three {
        padding: 180px 0px;
    }

    .banner-section.style-three .intro-select {
        bottom: -145px;
    }

    .banner-section.style-four {
        text-align: center;
    }

    .banner-section.style-four {
        padding: 245px 0 50px 0px;
    }

    .banner-section.style-four .banner-content h1 {
        font-size: 35px;
        line-height: 45px;
    }

    .banner-section.style-four .banner-content {
        margin-bottom: 40px;
    }

    .about-section .row:nth-of-type(even) .col-lg-6.col-md-12:nth-of-type(1) {
        padding-bottom: 0px;
        padding-top: 40px;
    }

    .about-section .row:nth-of-type(even) .col-lg-6.col-md-12:nth-of-type(2) {
        padding-bottom: 40px;
        padding-top: 20px;
    }

    .about-section .row .col-lg-6.col-md-12:nth-of-type(1) {
        padding-bottom: 40px;
        padding-top: 20px;
    }
    /*.about-section .row:nth-of-type(even) .col-lg-6.col-md-12:nth-of-type(1){
      padding-bottom: 0px;
    }*/

    .people-we-serve-section .about-image-popup {
        margin: 0px 0px 0px 0px;
    }
    .widget.widget-contact .telephone:hover, .widget.widget-contact .email:hover,.widget.widget-post ul li a:hover,.widget.widget-about ul li a:hover {
        color: #ddd;
        margin-left: 0px;
    }
    .btn-donate-big.btn-transparent:hover {
        color: #fff;
        background: transparent;
        border-color: #fff;
    }
    .btn-donate-big.btn-transparent.btn-active:hover,.contact-form-area .contact-form .btn-yellow:hover{
        color: #fff;
        background: #593b83;
        border-color: #593b83;
    }
    .contact-area .social-contact .media:hover i {
        color: initial;
        background: #ffffff;
    }
    .bottombar-menu a:hover{
            color: #ddd;
    }
    
}

@media all and (min-width:421px) and (max-width:767px) and (orientation : landscape){


    .carousel-caption {
        bottom: calc(10%);
    }
    body>div,
    .navbar,
    #scrollUp {
        display: none !important;
    }

    .mobile-rotation {
        position: fixed;
        display: block;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        text-align: center;
        z-index: 150;
        overflow: hidden;
    }

    .mobile-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        color: #333;
    }

    .mobile-content img {
        width: 150px;
        margin-bottom: 20px;
    }
}

@media all and (max-width: 767px) {
  .widget-contact {
        display: block;
    }
    .widget-contact>div{
      width: 100%;
    }
    .widget-contact>div:nth-of-type(1)>p{
          padding-right: 0px;
    }

  .post-share-tag .blog-post-share {
        float: none;
        display: block;
    }

    .single-blog .blog-content {
        padding: 25px 15px 30px 15px;
    }
    .comments-form .contact-form .form-group .entry-form {
        margin-bottom: 25px;
    }

    .pagination-category .pagination {
        float: left;
        width: 100%;
    }

    .post-share-category .blog-post-share {
        float: left;
        width: 100%;
        margin-bottom: 18px;
    }

    .post-share-category .category {
        display: block;
        margin-bottom: 18px;
    }

    .pagination-category .tag {
        display: block;
        margin-bottom: 18px;
    }

    .pagination-category .pagination {
        float: left;
        width: 100%;
        margin-bottom: 50px;
        overflow: hidden;
    }

    .author-area {
        padding: 16px 15px 4px 15px;
    }

    .author-area .media-left img {
        margin-bottom: 20px;
    }

    .comments-area .media {
        display: block;
    }

    .comments-area .media .media-left {
        margin-bottom: 8px;
    }

    .previusnext-page-link {
        float: left;
        margin-bottom: 30px;
    }

    .event-details-section .event-details-content .event-info {
        padding: 30px 15px;
        border: 1px solid #eaf0f2;
    }

    .single-event .cause-details {
        padding: 20px 15px 0px 15px;
    }

    .single-event .cause-details h4 a {
        font-size: 20px;
    }

  .sidebar-area {
        padding: 25px 15px 20px 15px !important;
    }

    .upcomming-event .media h5 {
        font-size: 16px;
        line-height: 22px;
    }

    .upcoming-event-category .upcoming-event-category-table ul li {
        font-size: 15px;
    }

    .widget-donation {
        margin-top: 30px;
    }

  .bottombar .bottombar-menu ul li {
        padding: 5px 14px;
    }

  .navbar-krupa {
        top: 0px;
    }

    .navbar.sm-navbar ul.navbar-nav li.has-menu-item-submenu ul.sub-menu a {
        font-size: 14px;
    }

    .banner-content h3 {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .banner-content.style-two h2 {
        font-size: 35px;
        line-height: 45px;
    }

    .banner-content.style-two h2 span {
        background: none;
    }

    .banner-content .btn {
        margin: 5px 15px;
    }

    .banner-section.style-three .banner-content h1 {
        font-size: 40px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .banner-section.style-five .banner-content h1 {
        font-size: 35px;
        line-height: 50px;
        margin: 12px 0;
    }

    .banner-section .padding {
        padding: 0 15px;
    }

    .banner-section.style-five {
        padding: 260px 0 50px 0px;
    }

    .banner-section.style-five .banner-content {
        margin-bottom: 40px;
    }
       .carousel-caption {
        bottom: 160px;
        left: 10%;
        right: 10%;
        width: 80%;
    }

    .banner-section.style-three .banner-content h1 {
        font-size: 34px;
        line-height: 50px;
    }

    .banner-section.style-five .banner-content h1 {
        font-size: 33px;
        line-height: 43px;
    }

    .banner-content.style-two h3 {
        font-size: 16px;
    }

    .banner-content.style-two h2 {
        font-size: 22px;
        line-height: 25px;
    }

    .btn-donate-big {
        min-width: 100px;
        font-size: 13px;
        padding: 12px 8px 12px 8px;
    }

    .banner-content .btn {
        margin: 5px 5px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 16px;
    }

    .single-intro.style-two {
        padding: 60px 10px 55px 10px;
        height: 280px;
    }

    .about-section .row .col-lg-6.col-md-12 {
        padding: 20px 5px 0px 5px;
    }

    .about-section .row .col-lg-6.col-md-12:nth-of-type(1) {
        padding-bottom: 30px;
        padding-top: 10px;
    }

    .people-we-serve-section .about-image-popup {
        margin: 0px 0px 20px 0px;
    }

    .about-section .about-section-details h4 {
        font-size: 18px;
    }
    .about-section .about-section-details h6{
      font-size: 16px;
    }

    .about-section {
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .gallery-section {
        padding: 50px 0;
    }

    .causes-page,
    .event-details-section {
        padding: 50px 0;
    }

    .causes-page .col-md-6.col-lg-4:last-of-type .single-causes {
        margin-bottom: 0px;
    }

    .footer-section {
        padding: 70px 10px;
    }

    .what-we-do-content-header {
        padding: 0px 10px;
        margin: auto;
    }

    .about-section .row:nth-of-type(odd) {
        background: #ffffff;
    }
    .widget.widget-contact img {
        width: 110px;
    }
}

@media all and (max-width: 480px) {
    .author-area {
        margin: 50px 0 50px 0;
    }

    .author-area .media {
        display: block;
    }

    .author-area .media-left img {
        margin-bottom: 35px;
    }

    .author-area .media-body .author-name {
        margin: 0 50px 10px 0;
    }

    .author-area .media-body .author-social {
        float: none;
        padding-left: 0;
        margin: 5px 0 3px 0;
    }
    }

@media all and (max-width: 424px) {
    .bottombar .bottombar-menu ul li {
        padding: 5px 8px;
    }

    .bottombar .bottombar-menu ul li a {
        font-size: 18px;
    }
}
@media all and (max-width: 374px) {
  .btn--reset {
        padding: 8px 8px;
    }

    .event-section .sidebar-area .upcomming-event h5 {
        font-size: 14px;
    }

    .event-section .sidebar-area .upcomming-event p {
        font-size: 13px;
    }

    .single-event .cause-details h4 {
        font-size: 18px;
        line-height: 26px;
    }

  .widget-contact-icon {
        margin-bottom: 50px;
    }
    .bottombar .bottombar-menu ul li {
        padding: 5px 10px;
    }

    .bottombar .bottombar-menu ul li a {
        font-size: 15px;
    }
    .banner-title h1{
          line-height: 40px;
    }
}

@media all and (max-width: 320px) {
    .sidebar-image .event-details-time {
        padding-top: 85px;
    }

    .sidebar-image .cause-count {
        margin-top: -70px;
    }
}
@media (min-width: 320px) {
    .d-md-block {
        display: block !important;
    }
}


@media all and (max-width: 320px) {
    .btn-donate-big {
        min-width: 80px;
    }
    .carousel-caption {
        bottom: 70px;
    }
}