@media(max-width: 1546px) {
    .q-form {
        position: relative;
        margin: auto;
    }
    .company_desc .modal-content
    {
    	max-width: 700px;
    }
}

@media only screen and (max-width:1030px){
    .wrapper{
        width: 750px
    }
    .header_wrap{
        position: static;
    }
    .page_container{
        margin-top: 0px;
    }
    /****************Index-page*********************/
    @-moz-document url-prefix(){
        /*        .searchbox input[type="text"]{
                    margin-top: 11px !important;
                }
                .searchbar{
                    padding: 10px 0 5px 0 !important;
                }
                .searchbtn{
                    top: 15px !important;
                }
                .searchbox input[type="submit"]{
                    top: 11px !important;
                }
                .angle{
                    top: 20px !important;
                }*/
    }
    .faq_que {
        display: inline-block !important;
        width: 100% !important;
    }
    .main-container {
        display: none !important;
    }
    #tab-container {
        display: none;
    }
    .middle_section1_left {
        width: 100%;
    }
    .listing-menu ul li {
        margin-right: 8px;
    }
    .century_menu {
        display: block;
    }
    .signup_form form p:last-child {
        margin-top: 50px;
    }
    #cssmenu {
        float: right !important;
        margin-top: -4px !important;
        margin-left: 0px !important;
    }
    #cssmenu > ul > li > a {
        padding: 6px !important;
        font-size: 14px !important;
        margin-right: 9px !important;
    }
    /*    .searchbar {
            margin-top: 89px;
        }
        .searchbox input[type="text"] {
            margin-top: 6px;
        }*/
    .searchbox input[type="submit"] {
        top: 6px;
    }
    .angle {
        top: 15px;
    }
    .searchbtn {
        top: 13px;
    }
    .middle_section1_right {
        width: 100%;
        margin-left: 0px;
    }
    .signup_form form input[type="text"] {
        width: 100% !important;
    }
    .media_icon_box1 {
        float: left;
        margin-right: 0;
    }
    .media_icon_box2 {
        float: left;
        margin-left: 10px;
        margin-top: 0;
    }
    .media_icon_box3 {
        float: left;
        margin-left: 10px;
        margin-top: 0;
        margin-right: 0;
    }
    .media_icon_box4 {
        float: left;
        margin-left: 8px;
        margin-top: 0;
    }
    .footer_copyright {
        left: -135px !important;
    }
    .footer_right {
        right: -130px !important;
    }
    /********************UserProfile****************/
    .user_review_section {
        margin-top: 0;
    }
    .user_testimonial_section h3 {
        margin-bottom: 0;
    }
    .user_testimonial_section .bx-wrapper{
        border: none;
    }
    .user_thumbnail_section .favourites{
        height: auto;
    }

    /*    .user_testimonial_section .bx-wrapper .bx-viewport {
            left: 38px !important;
        }*/
    /*    .user_thumbnail_section .bxslider {
            margin-left: 35px;
        }*/
    .user_testimonial_section {
        float: right;
        width: 400px;
    }
/*    .user_thumbnail_section {
        margin-top: 200px;
    }*/
/*    .user_message_section {
        margin-top: 200px;
    }*/
    .user_testimonial_section .bx-wrapper .bx-prev{
        top: -18px !important; 
    }
    .user_testimonial_section .bx-wrapper .bx-next {
        top: 485px !important;
    }
    .reset {
        float: left;
        margin-top: 10px;
    }
    .user_testimonial_section .bx-viewport {
        height: 480px !important;
    }
    .user_publicprofile .user_testimonial_section{
        width: 480px;
    }
    .user_publicprofile .review-slide{
        width: 480px;
    }
    .user_publicprofile .review-slide .right{
        width: 245px;
    }
    .about h3 {
        margin-top: 30px;
    }
    .user_review_innerbox {
        width: 430px;
    }
    .user_info_box {
        margin-right: 0px;
    }
    /********************writeReview****************/
    .write_review {
        margin-bottom: 0px;
    }
    .write_review_left_section {
        width: 100%;
        border-right: none;
    }
    .write_review_left_section form input[type="text"] {
        width: 625px;
    }
    .write_review_left_section form textarea {
        width: 625px;
    }
    .write_review_left_section form input[type="submit"] {
        margin-right: 0;
    }
    .write_review_left_section form p a {
        margin-right: 0;
    }
    .write_review_left_section h6 {
        margin-right: 0;
    }
    .bx-wrapper .bx-viewport {
        left: 0px !important;
    }
    .write_review_right_section {
        float: left;
        width: 100%;
        margin-top: 20px;
    }
    .write_review_left_section form p {
        float:right;
        padding: 5px;
    }
    .cancel {
        padding-left: 550px;
    }
    /*******************Companyprofile*******************/
    .button_section {
        margin-left: 0px;
    }
    .user_rating_section{
        width: 100%;
        margin-left: 0px;
        margin-top: 15px;
    }
    .photo_gallery li:nth-child(1) {
        width: 30% !important;
    }
    .photo_gallery li:nth-child(2) {
        width: 30% !important;
        left: 165px !important;
        position: absolute;
    }
    .photo_gallery li:nth-child(3) {
        width: 30% !important;
        right:186px !important;
        position: absolute;
    }
    .photo_gallery li:nth-child(4) {
        width: 30% !important;
        position: absolute;
    }
    /*****************Review****************/
    .review_left_section {
        width: 400px;
    }
    .write_review_right_section h4 {
        margin-left: 0;
    }
    .bxslider{
        padding: 0;
    }
    .writeon_section {
        width: 335px;
        box-sizing: border-box;
        padding-left: 10px;
    }
    .writeon_section .bx-wrapper .bx-prev {
        display: none !important;
    }
    .writeon_section .bx-wrapper .bx-next {
        right: 26% !important;
        top: 770px !important;
    }
    /**************Welcome*****************/
    .user-ad {
        width: 338px;
    }
    /****************Accordion**************/
    .advertisment {
        float: left !important;
        width: 100% !important;
    }
    .top{
        width: 50% !important;
    }
    .bottom{
        margin-top: 0 !important;
        width: 50% !important;
    }
    .tab_section {
        width: 525px !important;
    }
    /********************add-a-provider start*****************/
    .add-a-provider .line span{
        width: 100%;
    }
    /********************add-a-provider end*****************/

    /********************product-listing start*****************/
    .middel-line span{width: 100%;}
    .fiber-text > .text{ width: 692px;}
    /********************product-listing end*****************/
    /********************gallery start*****************/
    .gallery ul li .gallery-box{
        width: 227px;
    }
    .gallery-inner ul li{
        margin: 0 2px 17px;
    }
    .footer_menu ul li {
        width: 165px;
        display: inline-block;
        padding-right: 20px;
        vertical-align: top;
    }
    .anchor-group{
        width: 60%;
    }
    .anchor-group .fiber-text > .text{
        width: 100%;
    }
}
/*@media only screen and (max-width:1024px){
.filter-wrapper ul li:hover ul {
    opacity: 1;
    display: none;
}
}*/
@media only screen and (max-width:768px){
    .wrapper{
        width: 630px;
    }
    .user_testimonial_section .bx-wrapper .bx-prev{
        top: -18px !important;
    }
    .user_publicprofile .user_testimonial_section{
        width: 360px;
    }
    .reviews_slider{
        padding: 0px;
    }


    @-moz-document url-prefix(){
        .searchbox input[type="text"]{
            margin-top: 0px !important;
        }
        .searchbar{
            padding: 5px 0 4px 0!important;
        }
        .searchbtn{
            top: 5px !important;
        }
        .searchbox input[type="submit"]{
            top: 0px !important;
        }
        .angle{
            top: 10px !important;
        }
    }
    .logo {
        display: table;
        margin: 0 auto;
    }
    .header{
        position: inherit;
        padding-bottom: 10px;
    }
    .header_search {
        width: 55%;
    }
    .searchbox {
        margin-top: 0px;
    }
    .searchbox input[type="submit"] {
        top: 0px;
    }
    .angle{
        top: 10px;
    }
    .searchbtn{
        top:7px !important;
    }
    .header_search form input[type="text"] {
        width: 100%;
    }
    .header_search form input[type="password"]{
        width: 100%;
        margin-top: 5px;
    }
    .header_search form button[type="submit"]{
        margin-top: 5px;
    }
    .searchbox button[type="submit"]{
        top: 0px;
    }
    .header_search a#forgotpass {
        display: inline-block;
        margin-left: 10px;
        margin-top: 10px;
        vertical-align: middle;
    }
    .signup_form form button[type="submit"] {
        float: left;
        margin-top: 5px !important;
        margin-left: 0px;
    }
    .header_search p {
        padding-left: 0px;
    }
    #cssmenu > ul > li > a {
        font-size: 14px !important;
        padding: 10px !important;
    }
    #cssmenu {
        margin-left: 0px !important;
    }
    .searchbtn {
        top: 11px;
    }
    .searchbar {
        margin-top: -4px !important;
    }
    .search input {
        margin-top: 7px;
    }
    .searchbox input[type="text"] {
        margin-top: 0px;
    }
    .searchdown {
        top:9px;
    }
    .middle_section2 .faq_que #cssmenu{
        display: inline-block !important;
    }
    .media_icon_box2{
        margin-left: 42px !important;
    }
    .media_icon_box3{
        margin-left: 42px !important;
    }
    .media_icon_box4{
        float: left;
        margin-left: 0px;
    }
    .middle_section1_text p {
        margin: 0;
    }
    .footer_copyright {
        left: -66px !important;
        font-size: 12px;
    }
    .footer_right {
        right: -65px !important;
        font-size: 12px;
    }
    .footer_right a{
        font-size: 12px;
    }
    .listing-menu ul li {
        margin-right: 4px !important;
    }
    /*****************Middle_section_left*********************/
    .middle_section1_left {
        width: 100%;
    }
    .middle_section1_left h2 {
        font-size: 26px;
    }
    /*****************Middle_section_right*********************/
    .middle_section1_right {
        width: 100%;
        margin-left: 0;
    }
    .signup_form form input[type="text"] {
        width: 100%;
    }
    .media_icon_box1 {
        float: left;
        margin-right: 0px;
    }
    .media_icon_box2 {
        float: left;
        margin-left: 20px;
    }
    .media_icon_box3 {
        float: left;
        margin-top: 0px;
        margin-left: 20px;
    }
    .media_icon_box4 {
        float: left;
        margin-top: 15px;
    }
    /*********************Footer**********************/
    .footer_menu {
        margin-left: 50px;
    }
    .footer_menu ul li {
        width: 110px;
        display: inline-block;
        padding-right: 20px;
        vertical-align: top;
    }
    .footer_menu ul li a {
        font-size: 15px;
    }
    .listing-menu ul li a {
        line-height: 26px;
    }
    .footer-bottom p {
        margin-top: 20px !important;
    }
    /*********************About********************/
    .about-bg {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    /********************Contact*******************/
    .claim_form {
        width: 100%;
    }
    .claim_form form input[type="search"] {
        width: 100%;
        margin-left: 0px;
    }
    .search_product {
        top: 275px;
    }
    .sbHolder {
        width: 75% !important;
    }
    /*******************Review*********************/
    .review_left_section{
        width: 100%;
    }
    .writeon_section {
        float: left;
        width: 100%;
        border-left: none;
    }
    .writeon_section h3 {
        text-align: left;
    }
    .writeon_section .bx-wrapper .bx-next {
        left: 30%;
        top: 1395px !important;
    }
    /*******************Welcome********************/
    .welcome{
        padding-bottom: 30px;
    }
    .user-account {
        width: 100%;
    }
    .user_icon {
        display: inline-block;
    }
    .user-account form {
        vertical-align: top;
        width: 225px;
        padding-left: 20px;
        display: inline-block;
    }
    .user-ad{
        float: left;
        margin-top: 15px;
        margin-bottom: 15px;
        width: 98%;
    }
    .welcome p {
        text-align: center;
    }
    /*******************WriteReview*******************/
    .write_review {
        margin-bottom: 0;
    }
    .write_review_left_section form{
        margin-top: 15px;
    }
    .write_review_left_section form label {
        margin-bottom: 5px;
    }
    .write_review_left_section {
        width: 100%;
    }
    .review_right_section1 {
        float: left;
        width: 100%;
    }
    .review_right_section1 h3 {
        text-align: left;
    }
    .review_right_section1 .bx-wrapper {
        width: 100%;
    }
    .review_right_section1 .bxslider ul{
        padding-left: 0;
    }
    .review_right_section1 .bxslider {
        padding: 0;
    }
/*    .brain_icon {
        top: 38px;
        left: 10px;
    }*/
    .write_review_left_section form .row {
        margin-bottom: 15px;
    }
    .write_review_left_section form input[type="submit"] {
        margin-top: -10px;
    }
    .write_review_left_section h6 {
        margin-top: 10px;
    }
    .cancel {
        padding-left: 450px;
        padding-top: 0px;
    }
    /*******************Company_Profile_page1**********************/
    .user_rating_section {
        width: 100%;
        margin-left: 0px;
        margin-top: 15px;
    }
    .share_review {
        margin-left: 30px;
    }
    .flag{
        margin-top: 0px;
    }
    .button_section {
        margin-left: 0px;
    }
    .photo_gallery {
        width: 100%;
    }
    .photo_gallery li{
        width: 30% !important;
    }
    .photo_gallery li:nth-child(1) {
        width: 30% !important;
    }
    .photo_gallery li:nth-child(2) {
        width: 30% !important;
        left: 153px !important;
        position: absolute;
    }
    .photo_gallery li:nth-child(3) {
        width: 30% !important;
        right:140px !important;
        position: absolute;
    }
    .photo_gallery li:nth-child(4) {
        width: 30% !important;
        position: absolute;
    }
    .user_rating_section p {
        margin-bottom: 0px;
    }
    .review_question h5 {
        margin-bottom: 0px;;
    }
    .share_review h5 {
        margin-bottom: 0px;
    }
    .flag h5 {
        margin-bottom: 0px;
    }
    .user_review_box {
        padding: 15px 0;
    }
    .ad_section img {
        padding: 10px 0;
    }
    /********************UserHome********************/
    .user_info_box {
        float: left;
    }
    .leftreview_section {
        width: 100%;
    }
/*    .leftreview_section .bx-wrapper .bx-viewport {
        left: -35px !important;
    }*/
    .leftreview_section .bx-wrapper .bx-prev {
        right: 55px !important;
    }
    .leftreview_section .bx-wrapper .bx-next {
        right: 38px !important;
    }
    /********************UserProfile****************/
    .user_testimonial_section {
        float: right;
        width: 365px;
        height: 528px !important;
    }
    .user_testimonial_section .bx-wrapper .bx-viewport {
        left: 25px !important;
    }
/*    .user_thumbnail_section {
        margin-top: 130px;
    }*/
/*    .user_message_section {
        margin-top: 130px;
    }*/
    .user_testimonial_section .bx-wrapper {
        height: 490px !important;
    }
    .user_testimonial_section .bx-wrapper .bx-next {
        top: 470px !important;
    }
    .reset {
        float: left;
        margin-top: 10px;
    }
    .user_testimonial_section h3 {
        margin-top:20px;
    }
    .user_testimonial_section .bx-viewport {
        height: 454px !important;
        left: 20px !important;
    }
    .user_testimonial_section .review-slide {
        width: 100%;
        padding-bottom: 7px !important;
        margin-top: -7px !important;
    }
    /*    .user_testimonial_section .bxslider li{
            margin-bottom: 0px !important;
        }*/
    .review-slide h5 {
        width: 93% !important;
    }
    .user_review_button {
        margin-top: 40px;
    }
    /****************Accordion**************/
    .tab_section {
        width: 410px !important;
    }
    #tab-container ul li {
        height: 55.2px !important;
    }
    .faq_que #cssmenu1 > ul > li {
        margin-bottom: 10px !important;
    }
    .faq_que .tab_section {
        width: 100% !important;
    }
    /********************write-a-msg-popup start*****************/
    .write-a-msg-popup{
        width:auto !important;
    }
    /********************write-a-msg-popup end*****************/

    /********************product-listing start*****************/
    .product-listing .add img{width: 100%;display: inline-block;}
    .fiber-text > .text{ width: 572px;}
    .product-listing .pager{padding: 0px;}
    /********************product-listing end*****************/
    .footer_menu ul li {
        width: 110px;
        display: inline-block;
        padding-right: 20px;
        vertical-align: top;
    }
    .request_quote_popup{
        width: 100%;
    }
    .update-your-profile-popup{
        width: 100%;
    }
    @media only screen and (max-width:767px){
.filter-wrapper {
         width: 100%;
        padding: 0 0 15px 0;
    }
    
    .anchor-group {
        margin-left: 0;
        width: 100%;
    }
    .filter-wrapper ul > li {
        margin-top: 20px;
        position: relative;
    }
    .filter-wrapper ul {
        margin: 30px 0 0 0;
    }
    .filter-wrapper ul > li a::after {
        content: none;
    }
    .filter-wrapper ul li ul {
       position: static;
       opacity: 1;
       display: none;
       background: transparent;
       min-width: 100%;
        margin: 0;
        box-shadow: none;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
        padding-bottom:0;

        -moz-transition: all 0.4s ease 0s;
        -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
    }
    .fa.fa-caret-down.visible-xs{
        display: inline-block;
position: absolute;
right: 27px;
top: 0;
vertical-align: top;
color: #666666;
cursor: pointer;

    }
    .filter-wrapper ul li:hover ul {
     display: none;
    }
}
@media only screen and (max-width:640px){
    .footer_right{
        right: 0px !important;
    }
    .footer_copyright {
        left: 0px !important;
    }
    /********************write-a-msg-popup start*****************/
    .write-a-msg-popup .line span{
        width:100%;
    }
    .write-a-msg_form{
        padding: 0px;
    }
    .leftreview_section a span{
        right: 60px;
    }
    /********************write-a-msg-popup end*****************/
    .megamenu .products{
      -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;  
    }
    .megamenu .providers_all{
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }

}
@media only screen and (max-width:639px){
    .wrapper{
        width: 465px;
    }
    .header{
        padding-bottom: 10px;
    }
    .header_search{
        float: none;
        width: 100%;
    }
    .header_search form {
        width: 100%;
    }
    .header_search form input[type="text"] {
        width: 100%;
        margin-bottom: 5px;
    }
    .header_search p {
        padding-left: 0;
        padding-top: 0;
        display: inline-block;
        float: left;
    }
    .header_search form input[type="password"]{
        width: 100%;
        margin-bottom: 5px;
    }
    /*    button[type="submit"] {
            margin-top: 20px;
            margin-left: -132px;
        }*/
    .searchbox button[type="submit"]{
        margin-top: 0px;
        top:0px;
    }
    @-moz-document url-prefix(){
        /*        button[type="submit"] {
                    margin-left: -138px;
                }*/
    }
    #cssmenu.small-screen {
        margin-top: 8px !important;
    }
    .searchbox {
        width: 100%;
    }
    .searchbar {
        margin-top: 0px !important;
    }
    #tab-container{
        display: none !important;
    }
    .media_icon_box1{
        width: 220px;
        margin-right: 10px;
    }
    .media_icon_box2{
        width: 220px;
        float: right;
        margin-left: 0px !important;
    }
    .media_icon_box3{
        float: left;
        width: 220px;
        margin-right: 10px;
        margin-left: 0px