/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	
	.oxbox, .address:first-child, .description, .order_call, .footer_menu {
		display: none !important;
	}

    
	section.top ul, .logo, .searchform, .social ul, .address, .worktime {
		margin: 0px auto 15px !important;
		padding: 0;
		display: table !important;
		float: none !important;
		text-align: center;
	}
	
	header a.logo {
		margin: 0;
		float: none;
	}
	
	.sidebar_menu {
		float:none;
	}
	
	.social {
		display: table;
		float: none;
		margin: 15px auto;
	}
	
	.checkercont {
		background: none !important;
	}
	
	.com {
		display: none;
	}
	
	.inps, .usp-input, .inps-area, .usp-textarea {
		width: 100%;
		margin: 0;
	}
	
	.rr_review_form .form_table .rr_form_row .rr_form_heading {
		padding: 0 !important;
	}
	
	.inpbut, #submitReview, #user-submitted-post, .inpbut-1, .inpbut-2, .inpbut-3 {
		display: table;
		margin: 15px auto;
	}
	
	.rondo {
		text-align: center;
	}
	
	.nav-tabs > li {
		display: block;
		width: 100%;
	}
	
	.rr_small_input, .usp-input, div#user-submitted-posts fieldset label, .usp-textarea, #usp_form fieldset {
		display: block !important;
		width: 100% !important;
		clear: both !important;
	}
	
	.news_item {
		display: none !important;
	}
	
	.news_item:first-child {
		display: block !important;
		width: 100% !important;
	}
	
	.post_thumb img {
		width: 100% !important;
	}
	
	.sub-menu {
		/*display: none !important;*/
	}

	.sub-menu li {
		display: block !important;
		float: none;
	}
	
	#menu-main-menu .menu-item-has-children {
		border: none !important;
	}
    div#user-submitted-posts fieldset label{
        position: initial!important;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    #lcp_instance_1 h2
    {
    margin-left: 52%;
}
    .rr_review_form .form_table .rr_form_row .rr_form_input input[type="text"] {
        margin: 0 7% 2% 0;
    }
    .rr_review_form .form_table .rr_form_row .rr_form_heading {
        width: 317px;
    }
    textarea.rr_large_input {
        width: 250px!important;
    }
    .wpcf7-form-control-wrap{
        line-height: 2.2;
    }
    .wpcf7-textarea {
        line-height: 1;
    }
    .inps-area, .usp-textarea
    {
        padding: 10px 10px;
    }
    div#user-submitted-posts fieldset input.usp-input, div#user-submitted-posts fieldset label, div#user-submitted-posts textarea.usp-textarea
    {
        margin-top: 5px;
    }
    div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok
    {
        top: -28px;
        font-size: 12px;

    }
    body input[type=text].wpcf7-not-valid, body input[type=email].wpcf7-not-valid, body input[type=tel].wpcf7-not-valid, body textarea.wpcf7-not-valid
    {
        margin-bottom: 5px!important;
    }
    span.wpcf7-not-valid-tip {
        margin-left: 0px!important;
        display: block!important;
        font-size: 12px;
    }
    #tab1, #tab6
    {min-height: 600px}
    #tab3
    {
        min-height: 550px;
    }
    .sidebar_menu ul li:hover ul {
        display: block;
        position: absolute;
        left: 43%;}

    .parsley-errors-list {
        position:  initial!important;
    }
    .servise-cont #lcp_instance_1 h2
    {
        margin-right: 20%;
    }
    div#user-submitted-posts fieldset {
        margin: 0!important;
    }
    .mm-listview .mm-next:before
    {
        border-left:none!important;
    }
    em.mm-counter + a.mm-next {
        width: 35px!important;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .searchform
    {
        display: none!important;
    }
    input#user-submitted-post
    {
        padding: 12px 10px;
    }

    .wpcf7-form-control-wrap {
        line-height: 1;
    }
    span.wpcf7-not-valid-tip {
        margin-left: 0;
        font-size: 0.8em;
    }
    .rr_review_form .form_table .rr_form_row .rr_form_input textarea {
        margin: 1px 9% 2% 0;
    }
    textarea.rr_large_input {
        width: 290px!important;
    }
    .inps, .usp-input, .inps-area, .usp-textarea {
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .wpcf7-form.invalid .inpbut-1 {
        margin: 10px 62% 2% 0!important;
        position: absolute;
    }
    div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok {
        top: -33px!important;}
    .awesome form, .form_table {
        margin-top: 25px;
    }
    .checkermenu {
        margin-bottom: 20px;
    }
    .servise-cont .newstit, .newsbox h1
    {
        width: 100%;
    }
    div#user-submitted-posts fieldset:first-of-type
    {
        margin-top: 35px!important;
    }
    header .order_call  {
        display: table !important;
        margin: 0 auto;
        float: none;
        margin-left: 112px;
    }
    .panel-body p {
        margin: 2px 14px 2px;
    }
    .feed-back-form .wpcf7-submit {

        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 400px) {
    .rr_review_form .form_table .rr_form_row .rr_form_heading {
        width: 250px;

}
    .rr_review_form .form_table .rr_form_row .rr_form_input textarea {
        margin: 0px 9% 2% 0;
    }
    textarea.rr_large_input {
        width: 225px!important;
    }
    .green-text
    {
        line-height: 1.4;
        font-size: 18px;
        display: inline-block;
        font-style: normal;
        color: black;
        padding-top: 15px;
    }
    .green-text span:before
    {
        content: "▶";
        font-size: 18px;
        padding-right: 4px;
        color: #339966;;
    }
    .post-1772 img
    {
        float: none;
        margin: 0 auto;
        display: table;
        width: 100%;
        height: 100%;
    }
    #lcp_instance_1 li.current.my-news {
        overflow: hidden;
    }
}

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

    #lcp_instance_1 img.geo-img {
        display: none;
    }
    #lcp_instance_1 h2
    {
        margin-left: 0;
    }
    .sidebar_menu ul li:hover ul {
        display: block;
        position: absolute;
        left: 20%;
		}
.sub-menu {
position: absolute;
left: 0;
right: 0;
	}
}




@media only screen and (max-width: 360px) {
    .rr_review_form .form_table .rr_form_row .rr_form_heading {
        padding: 0 !important;
        display: block;
    }

    .rr_review_form .form_table .rr_form_row .rr_form_input {
        vertical-align: top;
        padding-bottom: 0px;
        position: relative;
        display: block;
        margin-left: 20px;
    }

    #submitReview {
        margin: 15px auto;
        float: left;
        right: 240px;
        position: relative;
    }

    textarea.rr_large_input {
        width: 200px !important;
    }

    .form-err {
        position: relative;
        left: -30px;
        top: 0;
        width: 215px !important;
        display: inline-block;
    }

    .rr_review_form .form_table .rr_form_row .rr_form_input .form-err {
        font-size: 0.8em;
    }
    textarea.rr_large_input {
        width: 232px!important;
    }
    .rr_review_form .form_table .rr_form_row .rr_form_input textarea
    {
    margin: 1px 7% 2% 0;
}
    header .order_call  {
        display: table !important;
        margin: 0 auto;
        float: none;
        margin-left: 82px;
    }
    .description {
        width: 100% !important;
        display: table !important;
        text-align: center;
        margin-right: 20%;
        float: none;
        margin-bottom: 20px;
        
    }



}
/* Custom, iPhone Retina */
@media only screen and (max-width : 340px) {
    .rr_review_form .form_table .rr_form_row .rr_form_input textarea {
        margin: 0px 11% 2% 0;
    }
    textarea.rr_large_input {
        width: 220px!important;
    }
}
@media (min-width: 481px) and (max-width: 1980px) {
#container{
	max-width: 1170px!important;
	width: 100%;
	display:block;
}
#container2{
	max-width: 1170px!important;
	width: 100%;
	display:none;
}
}
@media (min-width: 250px) and (max-width: 480px) {
#container{
	max-width: 1170px!important;
	width: 100%;
	display:none;
}
#container2{
	max-width: 1170px!important;
	width: 100%;
	display:block;
}
}
