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

.news .col-md-4 img {
	max-width: 100%;
	height   : auto;
}

.copy {
	margin-top: 60px;
}

.copy img {
	width: 130px;
}

/* Large Devices, Wide Screens */

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

	.table-wrapp #cources-table tr td:nth-child(3) img,
	.table-wrapp #cources-table tr td:nth-child(4) img {
		position: static;
	}

	.table-wrapp #cources-table tr td:nth-child(3),
	.table-wrapp #cources-table tr td:nth-child(4) {
		padding-left: 0;
		text-align  : center;
	}

	.logo img {
		max-width: 100%;
		height   : auto
	}

	#cources-table th {
		min-width: 100px;
	}

	.search input[type="search"] {
		max-width: 300px;
	}

	.adress ul li i {
		display: none;
	}

	.catalog.isotop .catalog-elem,
	.main-catalog .catalog-elem {
		max-width: 45%;
	}

	.advantegis .row .col-md-6 {
		min-height: 185px;
	}

	.bread-advan ul li {
		width: 16%
	}

	.ship-nav {
		float     : none;
		margin    : 20px 0 0 0;
		text-align: right;
	}

	.table-wrapp:before,
	.table-wrapp:after {
		content: none;
	}

	.mobile li:not(:last-child):after {
		content: none;
	}

	.services-text,
	.services-text+figure {
		width: 100%;
	}

	.services-item {
		flex-wrap      : wrap;
		justify-content: center;
	}

	.copy {
		margin-top: 45px;
	}

	.copy img {
		width: 130px;
	}
}

/* Medium Devices, Desktops */

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

	.localion-item a img {
		width: auto;
	}

	.security .row.flex.wrapp .col-md-12 {
		width: 100%;
	}

	.rewards .rewards-item {
		margin-bottom: 30px;
	}

	.exc-reverse {
		display       : flex;
		flex-direction: column-reverse;
	}

	.socials.flex.flex-item div:last-child {
		border: none;
	}

	.socials.flex.flex-item div:last-child {
		width: auto;
	}

	.socials p {
		display: none;
	}

	.second-line .col-md-4 {
		display        : flex;
		justify-content: space-between;
		align-items    : center;
		align-content  : center;
	}

	.bookmarks ul {
		height: auto
	}

	.tel-box {
		margin: 0 auto 31px;
	}

	header.nw {
		margin-top: 0px
	}

	nav ul li {
		position: relative
	}

	.menu {
		padding: 0;
	}

	nav {
		position: relative;
		z-index : 3;
	}

	.menu ul li ul {
		display : block;
		position: static
	}

	.menu ul li a img {
		max-width: 100%;
		height   : auto
	}

	header {
		text-align : center;
		padding-top: 0;
	}

	nav ul {
		display: block;
		width  : 100%;
		display: none;
	}

	nav ul li {
		display: block;
	}

	.burger {
		display: block
	}

	nav ul li i {
		display   : inline-block;
		width     : 20px;
		height    : 20px;
		background: #fff;
	}

	.sub-menu {
		position: static
	}

	nav ul li:hover .sub-menu {
		display: none
	}

	.main {
		padding-right: 15px;
	}

	.menu ul {
		flex-direction: column;
	}

	.menu ul {
		display    : none;
		padding-top: 0;
	}

	footer .col-md-2 {
		text-align: left
	}

	.wrapp-foot {
		padding-left: 0;
		text-align  : center
	}

	.bottom-call-back {
		margin: 30px 0;
	}

	.bottom-call-back .call-back-wrapp {
		display: block;
	}

	.filter-wrapper {
		padding-left: 15px;
	}

	nav ul li a {
		padding: 10px 0;
	}

	.filter-button {
		display: block
	}

	#filter {
		display: none;
	}

	.bread-advan {
		display: none;
	}

	.bookmarks ul li {
		width        : 33%;
		margin-bottom: 5px;
	}

	.display-params .pull-right {
		float : left !important;
		margin: 30px 0
	}

	.gallery-elem {
		float         : none !important;
		display       : inline-block;
		vertical-align: top
	}

	.gallery-catalog.catalog {
		text-align: center
	}

	.gallery-catalog .gallery-elem,
	.gallery-catalog .gallery-elem:nth-child(3n) {
		margin: 10px
	}

	.reviews-form {
		padding: 30px 0 20px
	}

	nav .mobile {
		display : none;
		width   : 100%;
		height  : 100%;
		overflow: auto;
		left    : 0;
	}

	.menu ul li {
		flex-direction: column;
	}

	.menu ul li a {
		text-align: center
	}

	.menu ul li a img {
		display: none;
	}

	.menu ul li a:before,
	.menu ul li ul:before {
		content: none;
	}

	.table-wrapp {
		overflow-x: auto;
	}

	footer {
		text-align: center;
	}

	.footer-soc {
		margin: 20px auto;
	}

	footer .logo {

		justify-content: center;
	}

}


/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
	.content-images {
		flex-wrap      : wrap;
		justify-content: center;
	}

	.services-item figure img {
		max-width: 100%;
		height   : auto;
	}

	.contacts-wrapper {
		flex-wrap: wrap;
	}

	.contacts-all-wrapper {
		flex-wrap      : wrap;
		width          : 100%;
		justify-content: center;
		padding-bottom : 40px;
	}

	.services-item iframe {
		width : 100%;
		height: 100%;
	}

	.cources-row,
	.location-wrapper {
		flex-direction: column;
	}

	#cources-table td {
		white-space: nowrap;
	}

	.cash-table {
		margin-bottom: 50px;
	}

	.calc-block {
		height    : auto;
		background: #0067a2;
		width     : 100%;
		margin    : 0;
		padding   : 20px 0;
	}

	.calc-headline {

		font-size: 21px;

	}

	.location {
		height          : auto;
		background-image: none;
	}

	.localion-item {
		width    : 100%;
		max-width: 540px;
		margin   : 0 auto 20px;
	}

	.col-md-5_5 {
		width : 95%;
		margin: auto;
	}

	.news-list {
		column-count: 1;
	}

	#cources-table td:first-child,
	#cources-table th:first-child {
		display: none;
	}

	#cources-table td:last-child,
	#cources-table th:last-child {
		display: none;
	}
}

@media only screen and (max-width: 700px) {
	.phones {
		flex-basis: 100%;
	}

	.firs-line.flex {
		flex-wrap: wrap;
	}

	.firs-line.flex>br {
		display: none;
	}

	.socials,
	.licensed {
		margin: 10px auto;
	}

	.phones a {
		font-size: 15px;
	}

	.lang {
		margin: 0 auto;
	}
}

@media only screen and (max-width: 500px) {
	.nav-buttons {

		width : 47%;
		height: 39px;

		font-size: 12px;
		padding  : 0 8px;
		color    : #fff;
	}

	.contacts-item {
		width          : 100%;
		justify-content: end;
		margin-bottom  : 20px;
	}

	.calc-headline {
		white-space: nowrap;
		font-size  : 17px;

	}

	.calc-block {
		flex-direction: column;
	}

	.calc-button {
		margin: 20px 0 0;
	}

	.localion-item figcaption p {

		font-size: 14px;
	}

	.contacts-wrapper {
		height: auto;
	}

	.firs-line {
		flex-direction: column;
		/* flex-wrap  : wrap; */
	}
}

@media only screen and (max-width: 400px) {
	.news-socials {
		justify-content: center;
		flex-wrap      : wrap;
	}

	.soc-area {
		margin-bottom: 20px;
	}

	.firs-line {
		flex-direction: row;
		flex-wrap     : wrap;
	}

	/* .lang>div a {

		margin-left : 12px;
		margin-right: 5px;
	} */

	.socials.flex.flex-item {
		margin-left: auto;
	}

	body .table-wrapp #cources-table tr th:nth-child(2),
	body .table-wrapp #cources-table tr td:nth-child(2) {
		width    : 90px;
		min-width: auto;
	}

	#cources-table td {
		white-space: normal;
	}

	.socials.flex-item>div p {
		display: block;
		color  : #FF6347;
	}

	.lang {
		flex-direction: column;
		position      : relative;
		padding       : 5px;
		cursor        : pointer;
		height        : 35px;
		z-index       : 100;
	}

	.lang::after {
		position      : absolute;
		right         : -15px;
		top           : 21px;
		content       : "";
		width         : 0;
		height        : 0;
		border-left   : 5px solid transparent;
		border-right  : 5px solid transparent;
		border-top    : 5px solid #01579a;
		pointer-events: none;
	}

	.lang>div {
		margin-bottom      : 5px;
		display            : none;
		transition-duration: .2s;
		border-radius      : 50%;
		background-color   : #fff;
	}

	.lang>.active {
		display: block;
	}

	.lang.active div {
		display: block;
	}

	.lang>div.active {
		order: -1;
	}

	.lang>div a:hover {
		border: 1px solid #01579a;
		color : #01579a;
	}

	.lang>div a {
		margin-left: 0;
	}
}


/* Custom, iPhone Retina */

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