/* ===================================================================
                            xxl
======================================================================*/

@media only screen and (min-width: 1400px) {}


/*=====================================================================
                             xl
 ======================================================================*/

@media only screen and (min-width: 1200px) and (max-width:1399px) {
  p {
    font-size: 16px;
  }

  ul li {
    font-size: 16px;
  }

  .main-menu .main-menu__list>li>a {
    font-size: 15px;
  }

  .main-header-two__left {
    width: 23%;
  }

  nav.main-header__nav.main-menu.main-menu--two {
    width: 77%;
  }

  /* =section heading= */

  .section_main_heading h2 {
    font-size: 30px;
  }

  /* =slider= */
  .main-slider-two__bg::before {
    bottom: 8%;
    right: 3%;
  }

  .main-slider-two__bg {
    min-height: 550px;
  }

  .main-slider-two__carousel {
    min-height: 550px;
  }

  section.main_profile .row {
    width: 95%;
  }

  /* ==inner banner=== */
  .inner_bg_tint {
    padding: 75px 0;
  }

  /* =International inner pages= */
  .inter_sec_block_shape_img img {
    width: 18%;
  }

}

/*=================================================================
                         Tablet Landscape(lg)
=================================================================== */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  p {
    font-size: 16px;
  }

  /* =header= */
  .main-header-two__left {
    width: 35%;

  }

  .inner_banner h2 {
    font-size: 30px;
  }

  .main-header-two__logo2 img {
    width: 22%;
  }

  .main-header-two__logo2 h5 {
    font-size: 20px;
  }

  .main-header-two .main-header__right {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
  }

  .main-header__inner {
    padding: 0;
  }

  .mobile_nav i.fa.fa-angle-down {
    display: none !important;
  }

  .mobile_nav button i.fa.fa-angle-down {
    display: block !important;
  }

  .mobile-nav__content .main-menu__list li a button:first-child {
    display: none;
  }

  /* =slider= */
  .slider_textsection h3.slider_h3style {
    font-size: 36px;
  }

  .slider_textsection p.slider_pstyle {
    font-size: 20px;
  }

  /* =infographic section= */
  .infographic_main_indi {
    padding: 30px;
  }

  .global_causes_new .nav.nav-tabs {
    height: 530px;
    width: 530px;
  }

  /* =service year section= */
  .about-info__icon {
    width: 60px;
    height: 60px;
  }

  h3.about-info__counter__text.count-text {
    font-size: 20px;
  }

  h5.about-info__title {
    font-size: 16px;
  }

  /* =up coming event= */

  .upcoming_newevent_content .event_img {
    width: 100%;
    margin-left: 10px;
  }

  section.main_profile .row {
    width: 100%;
  }

  .section_main_heading h2 {
    font-size: 28px;
  }

  .section_main_heading h2::before {
    bottom: 18px;
  }

  .section_main_heading h2 span::before {
    bottom: 18px;
  }

  .donations-two__carousel .owl-nav {
    right: 5%;
  }

  .main-slider-two__bg {
    min-height: 460px;
  }

  .main-slider-two__carousel {
    min-height: 460px;
  }

  .main-slider-two__bg::before {
    width: 60%;
    top: -24%;
    left: -24%;
  }

  .main-slider-two__bg::after {
    top: -19%;
    left: -11%;
  }

  /* =tribute page= */
  .lion_team_card {
    width: 90% !important;
  }

  /* =inernational inner page= */
  .inter_sec_block_shape_img img {
    display: none;
  }
}


/*=================================================================
                        Tablet Portrait (md)
=================================================================== */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  p {
    font-size: 16px;
  }

  /* =header= */

  nav.main-header__nav.main-menu.main-menu--two {
    width: 30%;
  }

  .main-header-two__logo2 img {
    width: 20%;
  }

  .main-header-two::before {
    left: -6%;
    width: 70%;
  }

  .main-header-two__left {
    width: 40%;
  }

  .main-slider-two__bg {
    min-height: 400px;
  }

  .main-slider-two__carousel {
    min-height: 400px;
  }

  .slider_textsection h3.slider_h3style {
    font-size: 36px;
  }

  .slider_textsection p.slider_pstyle {
    font-size: 18px;
  }

  .main-slider-two__bg::before {
    width: 60%;
    top: -24%;
    left: -41%;
  }

  .main-slider-two__bg::after {
    top: -19%;
    left: -29%;
  }

  .up_comeevent img:first-child {
    width: 100%;

  }

  /* =district event= */

  .calender-event-block {
    margin-bottom: 30px;
  }

  .special_part_nw {
    margin-bottom: 30px;
  }

  /* =footer logos= */
  .logo-band img {
    width: 100%;
  }

  /* =service section= */

  .serviceyear_bg .col-xl-3.col-lg-4.col-md-6.col-6.wow.fadeInUp.newtyle {
    width: 30%;
    margin-bottom: 30px;
  }

  .section_space {
    padding: 50px 0;
  }

  .infographic_main_indi {
    margin-bottom: 30px;
  }

  /* =upcoimg event section= */

  .upcoming_newevent_content .event_img {
    margin: 0;
    width: 100%;
  }

  .upcoming_newevent_content {
    padding: 20px;
  }

  .upcoming_newevent_content h4 {
    margin-top: 30px;
  }

  section.main_profile .row {
    width: 100%;
    border-radius: 5%;
    padding: 40px 30px;
  }

  .donations-two__carousel .owl-nav {
    right: 4%;
    top: -28%;
  }

  .section_main_heading h2 span::after {
    bottom: 9px;
  }

  .section_main_heading h2 span::before {
    bottom: 18px;
  }

  .section_main_heading h2::after {
    bottom: 9px;
  }

  .section_main_heading h2::before {
    bottom: 18px;
  }

  .section_main_heading h2 {
    font-size: 26px;
  }

  /* =inner page= */

  .inner_sub_content {
    display: none;
  }

  .inner_banner h2 {
    font-size: 26px;
  }

  .dg_team_main {
    margin-bottom: 30px;
  }

  /* =international inner pages= */
  .inter_sec_block img {
    width: auto !important;
    margin-bottom: 20px;
  }

  .inter_sec_block_shape_img img {
    display: none;
  }

  /* =nav bar= */
  .mobile_nav i.fa.fa-angle-down {
    display: none !important;
  }

  .mobile_nav button i.fa.fa-angle-down {
    display: block !important;
  }

  .mobile-nav__content .main-menu__list li a button:first-child {
    display: none;
  }

  .main-header-two .main-header__right {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
  }

  /* =pdg tribute page = */

  .lion_team .row {
    margin: 0;
  }

  .tribute_page .lion_team_card {
    width: 85%;
    margin-bottom: 30px;
  }

  .lion_team_card {
    width: 100%;
    margin-bottom: 30px;
  }




}




/*===================================================================
                         All Mobile Sizes 
 ==================================================================== */

@media only screen and (max-width: 767px) {
  p {
    font-size: 16px;
  }

  ul li {
    font-size: 16px;
  }

  ol li {
    font-size: 16px;
  }


  /* =nav bar= */
  .main-header-two__left .main-header-two__logo2:first-child {
    display: none;
  }

  .main-header-two__logo2 {
    width: 100%;
    margin: 0 !important;
  }

  .main-header-two__logo {
    display: none !important;
  }

  .main-header-two__logo2 img {
    display: none;
  }

  .main-header-two__left {
    width: 100%;
  }

  .main-header__inner {
    padding: 0 !important;
  }

  .main-header-two::before {
    width: 73% !important;
    left: -10% !important;
  }

  /* ==============SLIDER========== */
  .main-slider-two__bg {
    min-height: 200PX;
  }

  .main-slider-two__carousel {
    min-height: 200PX;
  }

  .main-slider-two__bg::before {
    top: -70%;
    left: -80%;
  }

  .main-slider-two__bg::after {
    display: none;
  }

  .slider_textsection h3.slider_h3style {
    font-size: 18px;
  }

  .slider_textsection p.slider_pstyle {
    font-size: 14px;
  }

  /* ======2nd section======- */

  section.main_profile .container-fluid {
    width: 100%;
  }

  section.main_profile .row {
    width: 100%;
  }

  .section_main_heading h2 {
    font-size: 24px;
  }

  .main_profile .section_main_heading h2::before {
    display: none;
  }

  .main_profile .section_main_heading h2::after {
    display: none;
  }

  .main_profile .section_main_heading h2 span::before {
    display: none;
  }

  .main_profile .section_main_heading h2 span::after {
    display: none;
  }

  section.main_profile .row {
    padding: 20px;
    border-radius: 5%;
  }

  .list-unstyled {
    margin-bottom: 0;
  }

  .main_profile {
    padding: 40px 0;
  }

  .main-slider-two .hero_bottom img {
    bottom: 9%;
  }

  .section_space {
    padding: 40px 0;
  }

  .section_main_heading h2::after {
    width: 50px;
    left: -55px;
  }

  .section_main_heading h2::before {
    bottom: 17px;
    left: -30px;
    width: 25px;
  }

  .section_main_heading h2 span::after {
    width: 50px;
    right: -55px;
  }

  .section_main_heading h2 span::before {
    right: -30px;
    width: 25px;
    bottom: 17px;
  }

  .about-info__item {
    margin-bottom: 30px;
  }

  .row.upevent_main {
    padding: 0;
  }

  .up_event_text_content {
    padding: 0;
    padding-top: 30px;
  }

  .up_event_text_content h3 {
    margin-bottom: 10px;
  }

  .about-info .section_main_heading {
    margin-bottom: 35px;
  }

  .row.upevent_main {
    background: none;
  }

  .footer-two {
    padding-top: 40px;
  }

  .upcoming_events {
    background-size: cover;
  }

  .up_comeevent img:first-child {
    width: 75%;
  }

  .upcoming_events .bg_shape {
    display: none;
  }

  .up_comeevent::before {
    width: 150px;
    height: 150px;
    right: 10%;
    border: 25px solid #f7a400;
  }

  .infographic_main_indi {
    min-height: auto;
    width: 100%;
    margin: auto;
    margin-bottom: 30px;
    padding: 20px;
    border-width: 5px;
  }

  .infographic_main_indi i {
    font-size: 20px;
    padding: 15px 10px;

  }

  .home_infographic {
    padding-bottom: 10px;
  }

  .infographic_main_indi p:first-child {
    margin-right: 10px;
  }

  .section_main_heading {
    margin-bottom: 30px;
  }

  .footer-widget__title {
    margin-top: 34px;
    margin-bottom: 10px;
  }

  /* = */
  .mobile-nav__content .main-menu__list li a button:first-child {
    display: none;
  }

  .mobile_nav i.fa.fa-angle-down {
    display: none !important;
  }

  .mobile_nav button i.fa.fa-angle-down {
    display: block !important;
  }

  .main-header-two .main-header__right {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
  }

  .serviceyear_bg .col-xl-3.col-lg-4.col-md-6.col-6.wow.fadeInUp.newtyle {
    width: 50%;
  }

  .row.upevent_main {
    box-shadow: none;
  }

  .about-info__icon i {
    font-size: 20px;
  }

  .about-info__icon {
    width: 50px;
    height: 50px;
  }

  h5.about-info__title {
    font-size: 16px;

  }

  h3.about-info__counter__text.count-text {
    font-size: 20px;
  }

  .donations-two__carousel .owl-nav {
    right: 0;
    top: -19%;
  }

  .donations-two__carousel .owl-nav .owl-next i,
  .donations-two__carousel .owl-nav .owl-prev i {
    width: 30px;
    height: 30px;
  }

  .upcoming_newevent_content {
    padding: 15px;
  }

  .upcoming_newevent_content p {
    padding: 0;
  }

  .upcoming_newevent_main_content {
    padding-left: 0;
  }

  .upcoming_newevent_content .event_img {
    margin-bottom: 15px;
  }

  .upcoming_newevent_content .event_img {
    width: 100%;
    margin-left: 0;
  }

  .donations-two {
    padding: 50px 0 40px;
  }

  .inner_bg_tint {
    text-align: center;
  }

  .inner_bg_tint h2 {
    margin-bottom: 0px;
    font-size: 24px;
  }

  .inner_sub_content {
    display: none;
    text-align: center;
  }

  .lion_team_card {
    margin-bottom: 30px;
  }

  .lion_team .row {
    margin-bottom: 0;
  }

  /* =inner page dg msg= */

  .dg_msg_text_content img {
    width: 100%;
  }

  .dg_msg_text_content {
    padding: 10px;
  }

  .dg_msg_content {
    padding: 10px;
  }

  /* ======= */

  .abt_dist_317G_content {
    padding: 15px;
  }

  .section_accordian h2 button span {
    font-size: 16px;
  }

  .main-footer__bottom p {
    float: left !important;
  }

  .dg_team_main {
    margin-bottom: 30px;
  }

  .reso_main {
    margin-bottom: 20px;
  }

  .modal-dialog.modal-dialog-centered {
    max-width: 100% !important;
  }

  /* =International inner pages= */
  .inter_sec_block_shape_img {
    display: none;
  }

  .inter_sec_block {
    padding: 15px;
  }

  .inter_sec_block_text_content {
    padding-top: 20px;
  }

  .inter_sec_block img {
    width: 100% !important;
    margin: 0;
    float: none !important;
  }

  .inter_sec_block_text_content h3 small {
    display: block;
  }

  /* =tribute page= */

  .tribute_page .lion_team_card {
    width: 90%;
  }

  img.tribute_img {
    display: none;
  }

  /* =dg core team page= */
  .our_proud_past_content {
    margin-top: 20px;
  }

  /* =global causes= */

  .global_causes_new .nav.nav-tabs button {
    position: initial;
    margin: 15px;
  }

  .global_causes_new .nav.nav-tabs {
    width: 100%;
    height: auto;
    border: none;
  }

  .global_causes_new .global_international_logo {
    display: none;
  }


  /* =district event= */

  .calender-event-block {
    margin-bottom: 30px;
  }

  .special_part_nw {
    margin-bottom: 30px;
  }

  /* =footer logo= */
  .logo-band img {
    width: 70%;
    margin-bottom: 30px;
  }

  /* =theme page= */
  .theme_img {
    float: none !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
  }

  .dg_team_main img {
    height: auto !important;
  }
}

/* ==============================================================
                    Mobile Landscape Size(sm)
================================================================= */

@media only screen and (min-width: 576px) and (max-width: 767px) {
  /* =header= */
  .main-header-two__left{
    width: 50%;
  }
  .main-header-two__logo2 img {
    display: block;
    width: 17%;
  }

  .main-header-two__left .main-header-two__logo2:first-child {
    display: block;
  }

  nav.main-header__nav.main-menu.main-menu--two {
    width: 0;
  }

  /* =dg vision projects= */
  .home_infographic .container {
    max-width: 100%;
  }

  .infographic_main_indi_content h4 {
    font-size: 18px;
  }
}