@media screen and (max-width: 1000px) {
    .main_wrapper, #container {
        width: 800px;
    }
    #menu, .footer-wrap {
        width: 100%;
    }
    .board-widget div {
        margin-right: 0;
    }
    .board-widget div:last-child {
        display: none;
    }
    .car_list li {
        margin: 6px 8px;
    }
    .box.social {
        display: flex;
        flex-direction: column;
        height: auto;
        padding-bottom: 20px;
    }
    .box-content-fb {
        margin: 0;
    }
    .cautare {
        padding-left: 20px;
        order: 2;
        position: relative;
    }
  }

  @media screen and (max-width: 800px) {
    .main_wrapper, #container {
        width: 550px;
    }
    .logo {
        width: 300px;
        height: 52px;
    }
    .menu-shadow .links li:nth-child(1), .menu-shadow .links li:nth-child(2), .menu-shadow .links li:nth-child(3){
        display: none;
    }
    li.open ul.dropdown-menu li {
    	display: block!important;
    }
    .board-widget div:nth-child(4) {
        display: none;
    }
    .board-widget {
        padding: 10px 2px;
    }
    .board-widget > div:first-child {
        margin-left: 0;
    }
    .board-widget > div {
        width: 182px;
    }
    .board-widget div.thumbnail {
        padding: 2px;
    }
    .board-widget div.thumbnail a {
        width: 100%;
    }
    .car_list li {
        width: 30%;
    }
        .show_table tr.bordertop {
    	display: flex;
    	flex-direction: column;
    }
  }
  @media screen and (max-width: 550px) {
    .main_wrapper, #container {
		 width: 100%;
    }
    #header {
    	min-height: 180px;
    }
    #header #logo {
	    top: 60px;
	    left: calc(50% - 150px);
    }
    #header .links {
    	    padding: 14px 6px 12px 8px;
    }
	.right-header {
	    max-width: 720px;
	    width: 100%;
	    top: auto;
	    bottom: 0;
	}
	#menu > ul > li {
		width: 49%;
	}
	.board-widget > div {
		width: 50%;
	}

    .board-widget div:nth-child(3) {
        display: none;
    }
    .car_list li {
    	width: 44%;
    }
    .car_list li div {
    	width: 100%;
    }
    .box.social {
    	display: none;
    }
    .dropdown-menu.main-menu-layer li a {
    	    padding: 8px 6px;
    }

}
