@font-face {
  font-family: 'CentraNo2';
  src: url('../fonts/CentraNo2.ttf') format('truetype');
}
@font-face {
  font-family: 'CentraNo2';
  src: url('../fonts/CentraNo2-Bold.ttf') format('truetype');
  font-weight: bold;
}

html, body, p { 
  margin: 0;
  padding: 0;
}

body {
  color: #2C2F29;
  font-family: 'CentraNo2', sans-serif;
  overflow-y: auto;
}

a, a:visited, a:hover {
  text-decoration: none;
  color: #2C2F29;
}

header.selection {
  background-color: #2C2F29;
  padding: 16px 0;
  display: flex;
  flex-direction: row;
}

header.selection h1 {
  color: #ffffff;
  flex: 1;
  padding: 0;
  margin: 0 8px;
  font-weight: normal;
  font-size: 32px;
  text-transform: uppercase;
  text-align: center;
}

header.selection h1::before {
  content: url('../images/icon_favorites.svg');
  display: inline-block;
  margin: 0 8px;
  vertical-align: middle;
}

.selection-container {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 5px 5px 0 0;
  position: relative;
}

.empty {
  margin: 32px;
  background-image: url('../images/icon_empty.svg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: 80px;
  padding-top: 90px;
  color: #A38248;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}

.bookmark {
  padding: 8px;
  color: #A38248;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
}

.activities {
  padding: 16px 8px;
}

.activities div:last-child {
  border-bottom: none;
}

.activity-item {
  position: relative;
  border-bottom: 1px dashed #707070;
}

.activity-item-content {
  display: flex;
  flex-direction: row;
  padding: 16px 8px;
}

.activity-item-left {
  flex-basis: 104px;
  flex-grow: 0;
  flex-shrink: 0;
  align-self: center;
  height: 104px;
  background-color: #C8C4BF;
  border-radius: 20px;
  overflow: hidden;
}

.activity-item-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-item-center {
  margin: 0 8px;
  flex: 1;
  align-self: center;
}

.activity-item-center p {
  padding: 0;
}

.activity-item-title {
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  margin: 0 32px 4px 0;
}

.activity-item-description {
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.activity-item-icons {
  display: flex;
  flex-direction: row;
}

.activity-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px 4px 0 4px;
}

.activity-icon img {
  display: inline-block;
  width:32px;
  height:32px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.level img {
  background-color: #CED6DD;
}

.public-type img {
  background-color: #FBD0AF;
}

.duration img {
  background-color: #C8CCA7;
}

.price img {
  background-color: #FEE5BA;
}

.activity-icon span {
  display: inline-block;
  font-size: 7px;
  text-transform: uppercase;
}

header.activity {
  position: relative;
  min-height: 175px;
  background-color: #C8C4BF;
  overflow: hidden;
}

header.activity #image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

header.activity h1 {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0 16px 0 0;
  padding: 8px 16px 8px 16px;
  display: inline-block;
  border-left: 5px solid #C8CCA7;
  background-color: #ffffff;
  background-image: url('../images/arrow_right.png');
  background-position: left;
  background-size: 16px 35px;
  background-repeat: no-repeat;
  color: #AF9B5C;
  font-size: 18px;
  line-height: 24px;
}

header.activity .back, header.activity .map{
  position: absolute;
  top: 8px;
  width:40px;
  height:40px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  border: none;
  box-shadow: -1px 2px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

header.activity .back {
  left: 8px;
  background-image: url('../images/arrow_left.svg');
}

header.activity .map {
  right: 8px;
  background-image: url('../images/icon_map.png');
  background-size: 25px;
}

.activity-container {
  flex: 1;
  position: relative;
  font-size: 14px;
  line-height: 18px;
  border-left: 5px solid #C8CCA7;
  padding: 0 16px;
}

.activity-container section {
  border-bottom: 1px dashed #707070;
  padding: 16px 0 24px 0;
}

.activity-container section:last-child {
  border-bottom: none;
}

.activity-container section h2 {
  margin: 8px 0;
  padding: 0 0 0 16px;
  background-image: url('../images/arrow_right_small.svg');
  background-position: left;
  background-size: 12px 10px;
  background-repeat: no-repeat;
  color: #AF9A5C;
  font-size: 12px;
  line-height: 12px;
  font-weight: normal;
  text-transform: uppercase;
}

.activity-container section p {
  padding: 0 24px;
}

section.activity-description {
  padding: 16px 0 0 0;
  border-bottom: none;
}

section.activity-description p {
  padding: 0 0 8px 0;
  border-bottom: none;
}

.activity-icons {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
}

.activity-icons > div {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 110px;
  margin-top: 8px;
  padding: 0 8px;
  border-right: 1px solid #AF9A5C;
  text-align: center;
}

.activity-icons > div:last-child {
  border: none;
}

.activity-icons span.icon-name {
  display: inline-block;
  color: #AF9A5C;
  font-size: 12px;
  text-transform: uppercase;
}

.activity-icons img {
  width: 50px;
  height: 50px;
}

.activity-icons span {
  font-size: 9px;
}

.activity-extras, .ski-run {
  display: flex;
  justify-content: center;
}

.activity-extras > div {
  flex-direction: column;
}

.activity-extras span.name {
  display: inline-block;
  color: #AF9A5C;
  font-size: 12px;
  text-transform: uppercase;
}

.activity-extras .value {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.activity-extras > div, .ski-run > div {
  display: flex;
  justify-content: center;
  margin: 16px 16px 0;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
}

.activity-extras > div {
  flex-grow: 0;
  flex-shrink: 1;
}

.ski-run > div {
  align-items: center;
  flex: 0 0 60px;
  height: 60px;
  margin: 16px 8px;
}

.ski-run .green {
  border: 5px solid #377d22;
}

.ski-run .blue {
  border: 5px solid #001185;
}

.ski-run .red {
  border: 5px solid #ea3223;
}

.ski-run .black {
  border: 5px solid #000000;
}

.contacts p {
  margin-bottom: 8px;
}
.contacts a {
  text-decoration: underline;
}