@media only screen and (max-width: 1024px) {
    .slider_element{
        right: auto !important;
        left: 42px !important;
    }

    .slider_element_right{
        left: auto !important;
        right: 42px !important;
    }

    .upcoming_event_element .title_block{
        width: 250px;
    }

    .upcoming_event_element .countdown .counter{
        width: 70px;
        margin: 0 5px;
        padding: 0;
    }
    
    .upcoming_event_element .countdown .counter:first-child{
	    margin: 0 5px;
    }

    .upcoming_event_element .action .button:first-child{
        margin: 0;
    }

    .upcoming_event_element .action .button{
        margin: 0 0 0 20px;
    }

    .donation-grid .donation-content{
        padding-left: 19px;
        padding-right: 19px;
    }

    .donation-grid .donation-content .donation-stat span{
        margin: 0 8px;
    }

    .events_list .event-content{
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog_list li{
        border: 1px solid #d2d2d2;
    }

    .blog_list .post-content{
        border: none;
    }

    .donation-stat{
        float: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .donation-list .donate_now{
        float: none;
    }

    .donation-info-block .donate_now{
        float: none;
    }

    .donation-info-block .progress_bar{
        margin: 0 0 20px;
    }

}

@media only screen and (max-width: 768px) {
	
	.slide_2_caption{
        width: 250px !important;
    } 

    .slider_element{
        right: auto !important;
        left: 24px !important;
    }

    .slider_element_right{
        left: auto !important;
        right: 24px !important;
    }

    .top_donate_link{
        display: none;
    }
    .top_panel{
        display: none;
    }
    #menu_toggle{
        display: inline-block;
        vertical-align: middle;
    }
    .main_menu .search_button{
        font-size: 16px;
    }
    .main_menu .cart_button {
        font-size: 18px;
    }

    .main_menu_nav_wrapper .main_menu_nav{
        display: none;
    }

    .main_mobile_menu{
        position: fixed;
        right: -270px;
        top: 0;
        bottom: 0;
        width: 270px;
        background: #29292a;
        z-index: 100;
        padding: 70px 0 0;
        -webkit-transition: right 0.3s cubic-bezier(0.86, 0, 0.07, 1);
        -moz-transition: right 0.3s cubic-bezier(0.86, 0, 0.07, 1);
        -o-transition: right 0.3s cubic-bezier(0.86, 0, 0.07, 1);
        transition: right 0.3s cubic-bezier(0.86, 0, 0.07, 1);
        display: block;
        height: 100%;
        overflow: auto;
    }

    html.show_mobile_menu #wrapper{
        height: 100%;
    }

    html.show_mobile_menu .main_mobile_menu{
        right: 0;
    }

    html.show_mobile_menu, html.show_mobile_menu body{
        overflow: hidden;
    }

    .main_mobile_menu ul{
        list-style: none;
        padding: 0;
        margin: 0;
        height: 100%;
        overflow: auto;
    }

    .main_mobile_menu li{
        position: relative;
        font-size: 16px;
    }

    .main_mobile_menu li:before{
        display: none;
    }

    .main_mobile_menu li a{
        position: relative;
        border-bottom: 1px solid #353535;
        display: block;
        color:#848484;
        padding: 10px 50px 10px 33px;
        text-decoration: none !important;
    }

    .main_mobile_menu > ul > li:first-child > a{
        border-top: 1px solid #353535;
    }

    .main_mobile_menu .sub-menu{
        display: none;
    }

    .main_mobile_menu li.menu-item-has-children > a:after{
        content:"\f054";
        position: absolute;
        right: 26px;
        top: 50%;
        margin: -7px 0 0;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: 14px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transform: translate(0, 0);
        -webkit-transition: 0.3s linear;
        -moz-transition: 0.3s linear;
        -o-transition: 0.3s linear;
        transition: 0.3s linear;
    }

    .main_mobile_menu li.menu-item-has-children.active > a:after{
        -webkit-transform: rotate3d(0,0,1,90deg);
        -moz-transform: rotate3d(0,0,1,90deg);
        -o-transform: rotate3d(0,0,1,90deg);
        transform: rotate3d(0,0,1,90deg);
    }

    .main_mobile_menu > li > a:hover, .main_mobile_menu > li > a:focus, .main_mobile_menu > li.menu-item-has-children:hover > a, .main_mobile_menu .current_page_item > a, .main_mobile_menu .current-menu-parent > a{
        color: #c8c8c8;
        background: none;
        text-decoration: none;
    }

    .main_mobile_menu ul.sub-menu{
        margin: 0 0 0 25px;
    }

    .main_mobile_menu ul.sub-menu a{
        padding-left: 15px;
    }
    
    body .vc_separator.vc_separator_align_center.type_2 h2{
	    padding-left: 205px;
	    padding-right: 205px;
    }

    .upcoming_event_element .title_block{
        float: none;
        width: 100%;
        margin: 0 0 30px;
        text-align: center;
    }

    .upcoming_event_element .countdown{
        display: block;
        padding: 0;
        text-align: center;
        margin: 0 0 37px;
    }

    .upcoming_event_element .countdown .counter{
        float: none;
        display: inline-block;
        vertical-align: top;
        width: 77px;
        background: #fff;
        margin: 0 10px;
    }

    .upcoming_event_element .countdown .counter:first-child{
        margin: 0 10px;
    }

    .upcoming_event_element .action{
        display: none;
    }

    .upcoming_event_element .action.mobile{
        display: block;
        float: none;
        padding: 0;
    }

    body .upcoming_event_element{
        margin-top: 0 !important;
    }

    .upcoming_event_element{
        background: none;
    }

    .upcoming_event_element .title_block .event_date{
        font-size: 14px;
        font-weight: bold;
        margin: 0 0 20px;
    }

    .upcoming_event_element .title_block .event_date span{
        color: #838383;
        margin: 0 2px 0 0;
    }

    .upcoming_event_element .title_block .event_date span:after{
        content: '/';
        display: inline-block;
        vertical-align: baseline;
        margin: 0 0 0 5px;
    }

    .upcoming_event_element .title_block h4{
        color: #e85555;
        font-size: 28px;
        line-height: 30px;
        font-family: Georgia, Arial, sans-serif;
    }

    .donation-grid li{
        width: 50%;
        margin: 0 0 40px;
    }

    .donation-grid .donation-content{
        padding-left: 30px;
        padding-right: 30px;
    }

    .donation-grid .donation-content .donation-stat span{
        margin: 0 12px;
    }

    .donation-grid{
        padding-top: 0;
        margin-bottom: 30px;
        border: none;
    }

    .donation-grid:before, .donation-grid:after{
        display: none;
    }

    .events_list li{
        width: 50%;
    }

    .blog_grid li{
        width: 50%;
    }

    .blog_grid .post-thumbnail{
        height: auto;
    }

    .footer_widgets_wrapper .widgets.cols_4 aside{
        width: 50%;
    }

    .ls-noskin .ls-nav-next, .ls-noskin .ls-nav-prev{
        top: 50%;
    }

    .slide_2_caption{
        width: 250px;
    }

    .slide_2_caption h2{
        font-size: 22px;
        padding: 0 0 5px;
        margin: 0 0 10px;
    }

    .slide_2_caption p{
        font-size: 12px;
    }

    .blog_list .post-thumbnail{
        float: none;
        text-align: center;
    }

    .donation-stat{
        float: none;
        margin: 0 0 20px;
    }

    .donation-info-block .donate_now{
        float: none;
    }

    .progress_bar{
        margin: 0 0 20px;
    }

    .event-info-block .event-info{
        float: none;
        margin: 0 0 20px;
    }

    .event-info-block .join_now{
        float: none;
    }

    .ls-noskin .ls-nav-next, .ls-noskin .ls-nav-prev{
        display: none !important;
    }

    .post_tags{
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    .share_this{
        float: none;
    }

    .event_list_module .events_list li:hover{
        margin-top: inherit;
    }

    .gallery_module img{
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        transform: scale(1) !important;
    }
    
    .buy_theme_popup{
        opacity: 1;
    }

}

@media only screen and (max-width: 667px) {

    #frontend_customizer{
        display: none !important;
    }

    .blog_grid.cols_3 li{
        width: 50%;
    }

    .slide_2_caption p{
        display: none;
    }

    .post_tags{
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }

    .share_this{
        float: none;
    }

    .content-area .row .entry-content, .content-area .row .entry-footer, .content-area .row .comments-area{
        margin-right: auto;
    }

    .donation-stat{
        margin: 0 0 20px;
    }

    .donation-list .donate_now{
        float: none;
    }

    .donation-grid li{
        margin: 0 0 20px;
    }

    .donation-grid .donation-content .donation-stat span{
        margin: 0 10px;
    }

    .popup_block_wrapper{
        z-index: 99999999;
    }

    .popup_block{
        width: 100%;
        margin-left: 0;
        left: 0;
        top: 0;
        height: 100%;
        overflow: auto;
    }

    .popup_block .close_popup{
        width: 50px;
        height: 50px;
        padding-top: 8px;
        font-size: 22px;
    }

    .masonry_gallery_wrapper .item{
        width: 50%;
    }

    .main_slider .ls-container{
        margin-top: -40px !important;
    }

    body .main_menu{
        background: #fff !important;
		
		right: 0;
		left: 0;
    }

    .main_menu .search_button{
        color: #767676 !important;
    }

    body .vc_separator.vc_separator_align_center.type_2 h2:before, body .vc_separator.vc_separator_align_center.type_2 h2:after,
    body .vc_separator.vc_separator_align_center.type_3 h2:before, body .vc_separator.vc_separator_align_center.type_3 h2:after
    {
        display: none;
    }

    body .vc_separator.vc_separator_align_center h2{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .buy_theme_popup{
        display: none !important;
    }

}

@media only screen and (max-width: 480px) {
    .top_panel .f-left, .top_panel .f-right{
        float: none;
    }
    .top_panel .f-left{
        margin: 0 0 5px;
    }
    .top_panel .top_info p{
        display: block;
        margin: 0 0 10px;
        padding: 0;
    }
    .top_panel .top_info p.phone:after{
        display: none;
    }
    .upcoming_event_element .countdown .counter{
        margin-bottom: 20px;
    }

    .upcoming_event_element .action .button:first-child{
        margin: 0 0 20px;
    }

    .upcoming_event_element .action .button{
        margin: 0;
    }

    .upcoming_event_element .countdown{
        margin: 0 0 20px;
    }

    body .vc_separator.vc_separator_align_center.type_2 h2,
    body .vc_separator.vc_separator_align_center.type_3 h2,
    body .vc_separator.vc_separator_align_center.type_4 h2
    {
        padding: 0;
        min-height: inherit;
        line-height: inherit;
        text-align: center;
        white-space: normal;
    }

    body .vc_separator.vc_separator_align_center.type_2,
    body .vc_separator.vc_separator_align_center.type_3
    {
        min-height: inherit;
    }

    .wpb_wrapper .donation-grid li{
        width: 100%;
        margin: 0 0 30px;
    }

    .volunteer_carousel{
        margin: 0 0 30px;
    }

    body .vc_separator .vc_sep_holder{
        display: none;
    }

    .event_list_module .events_list li{
        width: 100%;
    }

    .blog_grid li{
        width: 100%;
    }

    .footer_widgets_wrapper .widgets aside{
        width: 100% !important;
        padding: 0 15px;
    }

    .footer_widgets_wrapper .widgets aside:before{
        display: none;
    }

    .footer .copyright{
        float: none;
        margin: 0 0 20px;
    }

    .footer .footer_socials{
        float: none;
    }

    .donation-list .donate_now{
        float: none;
    }

    .donation-grid li{
        width:100%;
        margin: 0 0 20px;
    }

    .donation-list .donation-thumbnail{
        float: none;
        text-align: center;
        margin: 0 auto 20px;
    }

    .donation-stat{
        margin: 0 0 20px;
    }

    .events_list li{
        width: 100%;
        margin: 0 0 20px;
    }

    .blog_grid.cols_3 li{
        width: 100%;
    }

    .donation_popup_form .amount_wrapper .form-control,
    .site_donation_popup_form .amount_wrapper .form-control
    {
        margin-top: 20px;
    }
    
    .slide_2_caption{
        width: 150px !important;
    } 
    
    .slide_2_caption h2{
	    font-size: 12px;
	    border: none;
	    padding-bottom: 0;
    }
    
    .slide_2_caption .button{
	    padding: 3px 12px;
	    font-size: 8px;
    }


}

@media only screen and (max-width: 320px) {

    .slide_2_caption{
        padding: 0;
        background: none;
    }

}

