/*Main media queries*/

@media screen and (max-width: 575px) {
  .phone-link:not(.no-media) {
    font-size: 18px;
  }
  .container {
    padding: 0 10px 0 15px;
  }
}

/* Flex box wrapper*/
.main-contacts {
  display: flex;
  flex-direction: row;
  margin-top: 60px;
  justify-content: space-between;
}

@media only screen and (max-width: 1124px) {
  .main-contacts {
    display: flex;
    flex-direction: column;
    align-items:  flex-start;
  }
}

.main-contacts__column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 57px;
  flex-direction: column;
  align-items: flex-start;
}

.main-contacts__column:last-child {
  margin-right: 0;
}

.row__item {
  display: flex;
  align-items: center;
  align-content: center;
}

.row__item:first-child {
  margin-bottom: 42px;
}

@media only screen and (max-width: 575px) {
  .main-contacts__column {
    margin-bottom: 28px;
  }
  .main-contacts__column:last-child {
    margin-bottom: 0;
  }
  .row__item:first-child {
    margin-bottom: 28px;
  }
}

/*Work withs icons*/
.item__block-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
  box-shadow: 0px 3px 6px 0px rgba(34, 87, 142, 0.09);
}

/*Work withs contacts content*/
.item__content {
  margin-left: 21px;
}

.content-text {
  font-size: 12px;
}

.work-time {
  font-size: 14px;
  color:#0e3f60;
}

@media only screen and (max-width: 575px) {
  .work-time {
    font-size: 12px;
  }
}

@media only screen and (max-width: 375px) {
  .work-time {
    font-size: 10px;
  }
  .content-text {
    font-size: 10px;
  }
}

.p-top-15 {
  padding-top: 15px;
}

.upper {
  text-transform: uppercase;
}

.text-tranform-none {
  text-transform: none;
}

.content-text-mail {
  font-size: 18px;
  text-decoration: none;
  color: #0e3f60;
  font-weight: normal;
  text-transform: none;
}

.mail-link {
  font-size: 18px;
  font-weight: normal;
  text-transform: none;
  display: flex;
}

@media only screen and (max-width: 575px) {
  .content-text-mail {
    font-size: 15px!important;
  }
  .mail-link {
    font-size: 15px!important;
  }
}


/*Work with button*/

.lead-btn {
  display: flex;
  align-content: center;
  justify-content: center;
  margin-bottom: 45px;
}

@media only screen and (max-width: 575px) {
  .lead-btn {
    margin-top: 36px;
  }
}

.btn-size {
  width: 227px;
  height: 56px;
}

.about-section .btn {
  margin-top: 0;
}

.btn.btn-small-paddings {
  border-radius: 60px;
}

/*Work with cards switcher*/

.section-header  {
  justify-content: center;
}

/*Work with maps*/

.mb-20 {
  margin-bottom: 20px;
}

@media(min-width: 577px) and (max-width: 1124px) {
	.main-contacts__column {
		flex-direction: row;
		width: 100%;
	}
	
	.row__item {
		width: 50%;
		align-items: flex-start;
	}
	
	.row__item:first-child {
		margin-bottom: 15px;
	}
	
	.item__content {
		margin-left: 0;
		width: calc(100% - 40px);
		padding-left: 21px;
	}
}