* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Roboto', sans-serif; }

/*
body{
  height: 100vh;
  font-weight: 400;
  background: #f2f2f2;
}
*/
.container {
  display: flex;
/*   max-width: 1240px; */
  width: 100%;
/*   padding: 80px 0px; */
  margin: auto;
  align-items: center;
}
.map-block {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 50vh;
  overflow: hidden;
}
.map-block__left{
  width: 50%;
}
.week-switcher{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e3e3e3;
}
.week-switcher button.week-control{
  border: unset;
  background: unset;
  padding: 20px 30px;
  font-weight: 600;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.week-control.disabled svg path{
  stroke: rgba(16, 16, 16, 0.3);
}
.map-block__points-list{
  height: 100%;
  overflow: auto;
}
.map-block__points-list .points-empty{
	font-size: 16px;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px;
    align-items: center;
    text-wrap: balance;
}
.map-block__map{
  width: 50%;
  height: auto;
}
.map-block__left{
  display: flex;
  flex-direction: column;
  background: white;
}

/* Sidebar */
#sidebar {
  width: 320px;
  min-width: 240px;
  max-width: 40%;
  background: #f7f9fc;
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  overflow: auto;
}

#sidebar h1 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Points list */
#pointsList {
  list-style: none;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.point-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  cursor: pointer;
  transition: background .12s, transform .08s;
  background: #fff;

  border-bottom: 1px solid #E9E9E9;
}
.point-item:last-child{
  border-bottom: none;
}

.point-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.point-sub {
  font-size: 13px;
  color: #555;
}
.point-item svg.arrow{
  display: none;
}

.point-item.active {
  background: #DA821A;
  color: #fff;
}

.point-item.active button.point-map-btn {
  background: #fff;
}
.point-item.active svg.arrow{
  display: block;
}
.point-item.active svg.point{
  display: none;
}
.point-item.active .point-time{
  color: #fff;
}
.point-item.active .point-address{
  color: #fff;
}

.point-column.left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.point-column.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.point-weekday{
  font-size: 20px;
  font-weight: 600;
}

.point-time {
  font-weight: 600;
  color: #DA821A;
}

.point-address {
  color: #797979;
}

.point-map-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  background: #DA821A;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .map-block { 
    flex-direction: column-reverse; 
    max-height: 100%;
  }
  .map-block__left{
    width: 100%;
  }
  .map-block__map{
    position: relative;
    max-height: 350px;
    height: 100%;
    width: 100%;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
	.week-switcher button {
		span { display: none}
	}
	.week-switcher button svg{
		width: 24px;
		height: 24px;
	}
}
@media (max-width:380px) {
	.point-time {
		font-size:14px;
	}
	.point-address {
		font-size:14px;
	}
	#current-week {
		font-size: 16px;
		padding: 15px;
	}
}
