@media only screen and (min-width: 769px){
    .mob {
        display: none !important;
    }
    .testimonials {
        height: 820px;
        overflow-y: scroll;
    }
    #testimonials_popup {
        left: 50%;
        top: 100px;
        max-width: 420px;
        margin-left: -210px;
    }
	.menu-top-container li.menu-item-has-children {
	  margin-left: 38px;
	  margin-right: 10px;
	}
	#top-nav .menu-item-has-children::before {
	  content: "\25BC";
	  position: absolute;
	  right: -20px;
	  top: 1px;
	}
	.time_block {
	  position: absolute;
	  top: 0;
	  background: #fff;
	}
	.time_act .time_block {
	  display: table;
	  padding-left: 5px;
	  border: 1px solid #0A5BE2;
	  border-top: 0;
	  width: 100%;
	}
	.list_item h3 {
	  display: table;
	  height: 70px;
	}
	.list_item_bottom table td {
	  height: 40px;
	}
	img.alignleft {
		float: left;
		margin-right: 35px;
	}
	img.alignright {
		float: right;
		margin-left: 15px;
	}
	#filter {
		width: calc(100% - 40px);
	}
	.properties_container {
		display: flex;
		justify-content: space-between;
	}
	.properties_block {
		width: 75%;
	}
	.button_company {
		width: 25%;
	}
}
@media only screen and (min-width: 361px) and (max-width: 768px){
    #home_banner {
        background-position-x: 90%;
    }
}
@media only screen and (max-width: 991px){
	.blog-list article {
		width: 45%;
	}
}
@media only screen and (max-width: 768px){
    .desctop {
        display: none !important;
    }
    body {
        padding-top: 28px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    p, a {
        font-size: 14px;
    }
    #wprmenu_bar .menu_title {
        font-size: 0px !important;
        position: absolute !important;
        left: 50% !important;
        margin-left: -63px !important;
        top: 18px !important;
    }
    #wprmenu_bar.active {
        background-color: #eaecf2 !important;
    }
    #wprmenu_menu_ul {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #mg-wprm-wrap ul li {
        background: #FFFFFF !important;
        box-shadow: 0px 13px 30px rgba(23, 58, 110, 0.07) !important;
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
    #mg-wprm-wrap ul li a {
        font-family: 'Poppins' !important;
        font-weight: 500 !important;
        font-size: 16px !important;
    }
    #mg-wprm-wrap li.menu-item-has-children ul.sub-menu li {
        background: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    #mg-wprm-wrap li.menu-item-has-children ul.sub-menu li a {
        padding-top: 0 !important;
    }
    #home_banner {
       height: 694px;
       padding-top: 45px;
       border-bottom: 5px solid #0A5BE2;
    }
    #filter {
        flex-direction: column;
        margin-top: 48px;
        width: calc(100% - 40px);
    }
    #home_banner h1 {
        font-size: 36px;
    }
    #filter input {
        width: calc(100% - 48px);
        margin-bottom: 12px;
    }
    input#filter_button {
        width: 216px;
        margin-top: 8px;
        margin-bottom: 0;
        display: table;
        height: 50px;
    }
    #top5 {
        padding: 30px 0 0;
    }
    p.subtitle {
        font-size: 14px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    #mg-wprm-wrap {
        padding-top: 12px !important;
    }
    #catalog_list .list_item {
        width: 47%;
        margin: 0 0 48px;
    }
    
	#top5 .list_item {
        width: 47%;
        margin-bottom: 48px;
    }
    #catalog_list .list_item_top {
        height: 157px;
    }
    #catalog_list .list_item_bottom {
        padding: 16px 9px;
    }
    .home .list_item, .page-template-types-page #catalog_list .list_item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 12px;
        flex-wrap: wrap;
    }
    .home .list_item_top, .page-template-types-page #catalog_list .list_item_top {
        width: 135px;
        height: 135px;
    }
    .home .list_item .lists_rating, .page-template-types-page #catalog_list .list_item .lists_rating {
        right: 12px;
        bottom: 12px;
        font-size: 12px;
    }
    .home .list_item_bottom, .page-template-types-page #catalog_list .list_item_bottom {
        padding: 0 0 0 16px;
        width: calc(100% - 135px);
    }
    .list_item h3 {
        font-size: 18px;
    }
    .more_mob {
        width: 100%;
    }
    .lists_rating img {
        margin-top: 3px;
    }
    #how_it_works, .home_about_block {
        padding: 29px 0;
    }
    .how_block {
        flex-wrap: wrap;
        margin-top: 40px;
    }
    .how_item {
        width: 50%;
    }
    .how_item p {
        font-size: 15px;
    }
    .how_item img {
        width: 80px;
    }
    span.how_number {
        font-size: 12px;
        width: 26px;
        height: 26px;
        left: 50%;
        margin-left: -40px;
    }
    .owl-nav button.owl-prev {
        left: 0px;
    }
    .owl-nav button.owl-next {
        right: 0px;
    }
    .testimonials_item {
        width: 75%;
        margin: 0 auto;
    }
    .owl-nav button {
        width: 32px;
        height: 32px;
    }
    td.table-icon {
        width: 12px;
    }
    td.table-icon img {
        width: 12px;
        height: auto;
    }
    #testimonials .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .home_about_block, .footer_bottom {
        flex-wrap: wrap-reverse;
    }
    .home_about_img, .home_about_text, .footer_bottom_left, .menu-top-container {
        width: 100%;
    }
    .footer_top {
        flex-direction: column;
    }
    .footer_top_left {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .footer_logo {
        width: 130px;
        height: auto;
    }
    .share {
        margin-top: 0;
    }
    .share img {
        width: 25px;
        height: auto;
        margin-top: 5px;
    }
    footer {
        padding: 48px 0 24px;
    }
    .footer_top_right {
        width: 100%;
        margin-top: 30px;
    }
    ul#bottom-nav li {
        width: 33%;
    }
    ul#bottom-nav li a {
        font-size: 13px;
        line-height: 120%;
    }
    .footer_bottom {
        margin-top: 32px;
        padding-top: 32px;
    }
    .top-bottom-menu {
        justify-content: space-between;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .menu-top-container li {
        margin-left: 0;
        margin-bottom: 20px;
        float: none;
        padding: 0 2%;
    }
    .footer_bottom p {
        text-align: center;
        margin: 0;
    }
    a.back {
        font-size: 14px;
    }
    html body div#wprmenu_bar {
        box-shadow: 0px 2px 48px rgba(0, 0, 0, 0.2);
    }
    .company_top_block {
        flex-direction: column;
    }
    .company_top_left, .company_top_right {
        width: 100%;
        flex-direction: column;
    }
      .company_top_image, .prem_item, .testimonials-left, .testimonials-right {
          width: 100%;
    }
      .company_top_images {
        width: 100%;
        flex-direction: row;
        margin-top: 8px;
        margin-bottom: 40px;
    }
    .company_top_images img {
        max-width: 48%;
    }
    .company_top_images img:first-child {
        margin-bottom: 0;
    }
    .company_contact_left, .company_contact_right {
        width: 100%;
        padding-left: 0;
        border: 0 none;
    }
    .company_contact_right {
        margin-top: 48px;
    }
    .properties_item {
        width: 100%;
        margin-bottom: 12px;
        font-size: 14px;
    }
    .prem_block {
        flex-wrap: wrap;
        height: 100%;
    }
    .prem_item:nth-child(2n) {
        border: 0 none;
    }
    .prem_line {
        width: 95px;
        height: 1px;
        background: #fff;
        margin: 20px auto;
    }
    #prem, #about, #advantages, #team, #testimonial {
        margin-top: 48px;
    }
    .advantages_item {
        width: 47%;
        height: 222px;
        padding: 16px;
        margin-bottom: 16px;
    }
    .testimonials-block {
        flex-direction: column;
    }
    .testimonials-form, .testimonials {
        width: 100%;
        max-width: 100%;
    }
	.testimonials-form {
        margin-top: 30px;
    }
    .testimonials-item {
        flex-direction: column;
    }
    .testimonials-left {
        display: table;
    }
    .testimonials-left img {
        float: left;
    }
    .testimonials-right {
        margin-top: 16px;
    }
    .prem_item {
        border: 0 none;
    }
    .testimonials {
        height: 100%;
        max-height: 820px;
        overflow-y: hidden;
    }
    .testimonials.testimonials_act {
        max-height: 100%;
    }
      .list_item_bottom table td {
          font-size: 12px;
    }
      .list_item_bottom table td:nth-child(2n) {
        padding-left: 8px;
    }
    #contact {
        padding: 30px 0 20px;
    }
    .contact_img img {
        margin-bottom: 20px;
    }
    #contact .testimonials-form input.wpcf7-submit {
        width: 100%;
        margin: 48px auto;
        font-size: 14px;
    }
	.contact_img {
	  width: 100%;
	}
	.list_item h3 {
	  display: table;
	  height: 80px;
	}
	a.more {
		width: 130px;
		margin: 0 auto 10px;
	}
	.list_item_top img {;
	  margin: 0 auto;
	  display: table;
	}
	#catalog_list .list_block {
	  justify-content: space-between;
	}
	.testimonials-form input.wpcf7-submit {
		width: 100%;
	}
	.blog-list article {
		width: 100%;
	}
	.menu-bottom2-container li {
		width: 45%;
		margin-left: 0;
		margin-bottom: 10px;
	}
	#testimonial {
		margin-bottom: 50px;
	}
}
@media only screen and (max-width: 375px){
    .how_item:nth-child(3) {
        padding: 0 25px;
    }
    .advantages_item p, #top-nav-bottom li a {
        font-size: 14px;
    }
	.list_item_top {
		height: 150px;
	}
	.list_item_bottom {
	  padding: 0px 14px 10px;
	}
}
@media only screen and (max-width: 360px){
    #home_banner {
        background: url(https://carpetoz.com/wp-content/themes/carpetoz/img/home-banner-mob.jpg) no-repeat;
        height: 544px;
    }
    
}