.m-weather-header {
  display: flex;
  justify-content: space-between;
}
.m-download-pdf {
  display: table;
  text-align: center;
  width: 100%;
}
.m-weather-header-charts {
  display: flex;
  text-align: center;
  justify-content: space-between;
  width: 100%;
  max-width: 550px;
}
.m-weather-header-charts > * {
  max-width: 250px;
}
.m-todays-report {
  max-width: 465px;
}

.m-weather-alert {
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  min-width: 320px;
  justify-content: space-between;
}

.m-weather-alert-icon {
  width: 35px;
  height: auto;
}
.m-weather-alert-icon * {
  display: block;
  width: 35px;
  height: auto;
}
.m-weather-alert .m-alert-bright {
  line-height: 1em;
  margin-top: -5px;
}

.m-current-conditions-table {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.m-current-conditions-table > div {
  padding: 0px 80px 40px 80px;
  text-align: center;
  position: relative;
  flex-basis: 0;
}

.m-current-weather-top {
  height: 160px;
  position: relative;
  width: 140px;
  margin-left: auto;
  margin-right: auto;
}

.m-current-weather-top .m-cont {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}
.m-current-weather-top .m-cont img {
  width: 65%;
  height: auto;
}

.m-current-conditions-table > div .m-icon {
  position: absolute;
  top: 25%;
  right: 0px;
  transform: translateX(30%);
  width: 120px;
  height: auto;
}

.m-snow-totals-table {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}
.m-snow-totals-table > div {
  width: 30%;
  margin-top: 60px;
}

.m-snow-totals-table-header > div {
  width: auto;
  
  text-align: center;
}
@media (max-width: 900px) {
  .m-snow-totals-table > div {
    width: 47%;
  }
}

.wp-block-separator {
  border-top: 0px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.m-cam-item .wp-block-separator {
  margin: 0px !important;
}
.m-webcam-embed {
  padding-bottom: 56.3%;
}

.m-lifts-and-trails,
.m-lifts-and-trails ul {
  list-style: none;
  padding: 0px !important;
  margin-right: 0px;
  width: 100%;
  margin-bottom: 0px;
}
.m-lifts-and-trails .m-accordion {
  padding-bottom: 30px;
}
.m-lifts-and-trails ul > li {
  padding: 30px 0px;
  border-bottom: 1px solid currentColor;
}
.m-lifts-and-trails-header {
  display: flex;
  justify-content: space-between;
}
#m-tab-lifts .m-lifts-and-trails-header > *:nth-child(2) {
  max-width: 600px;
}
#m-tab-biking .m-lifts-and-trails>li:not(:last-child) {
  margin-bottom: 1em;
}

.m-lifts-and-trails-meta {
  display: flex;
  justify-content: flex-end;
  gap: 2em;
  align-items: center;
}
@media(max-width: 1200px){
  #m-tab-biking .m-lifts-and-trails-header {
    display: block;
  }
   #m-tab-biking .m-lifts-and-trails-meta {
     display: block;
  }
}
.m-status {
  padding-left: 2em;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 1.3em auto;
  position: relative;
}
.m-lifts-and-trails-status-biking .m-status {
  padding-left: 4em;
  background-size: 3em auto;
}

.m-lifts-and-trails-status-biking .m-status.m-status-easier,
.m-lifts-and-trails-status-biking .m-status.m-status-more-difficult,
.m-lifts-and-trails-status-biking .m-status.m-status-most-difficult,
.m-lifts-and-trails-status-biking .m-status.m-status-extremely-difficult {
  background-size: auto 0.85em;
  background-position: 1.1em center;
}

.m-status:before {
  position: absolute;
  content: "";
}

.m-trial-legend .m-status {
  padding-left: 4em;
  background-position: 2em center;
}

.m-trial-legend > div:first-child .m-status {
  padding-left: 2em;
  background-position: 0px center;
}

.m-status-closed,
.m-status-closed-for-maintenance,
.m-status-special-event-closure {
  background-image: url("../../../_images/icon-closed.svg");
}

.m-status-open {
  background-image: url("../../../_images/icon-open.svg");
}
.m-status-standby {
  background-image: url("../../../_images/lift-standby.svg");
}
.m-status-open-as-needed {
  background-image: url("../../../_images/lift-standby.svg");
}

.m-status-delayed-opening,
.m-status-scheduled {
  background-image: url("../../../_images/lift-standby.svg");
}

.m-status-terrain-park {
  background-image: url("../../../_images/icon-orange-oval.svg");
}
.m-status-green,
.m-status-easier {
  background-image: url("../../../_images/icon-green-run.svg");
}
.m-status-double-green {
  background-image: url("../../../_images/icon-double-green-run.svg");
}
.m-status-blue,
.m-status-more-difficult {
  background-image: url("../../../_images/icon-blue-run.svg");
}
.m-status-double-blue {
  background-image: url("../../../_images/icon-double-blue-run.svg");
}
.m-status-black,
.m-status-most-difficult {
  background-image: url("../../../_images/icon-black-diamond.svg");
}

.m-status-double-black,
.m-status-extremely-difficult {
  background-image: url("../../../_images/icon-double-black-diamond.svg");
}

.m-status-double-black-extreme-terrain {
  background-image: url("../../../_images/icon-double-black-diamond-extreme.svg");
}

.m-status-freeride-easier {
  background-image: url("../../../_images/icon-freeride-easier.svg");
}
.m-status-freeride-more-difficult {
  background-image: url("../../../_images/icon-freeride-more-difficult.svg");
}
.m-status-freeride-most-difficult {
  background-image: url("../../../_images/icon-freeride-most-difficult.svg");
}
.m-status-freeride-extremely-difficult {
  background-image: url("../../../_images/icon-freeride-extremely-difficult.svg");
}

.svg-item {
  width: 100%;
  font-size: 16px;
  margin: 0 auto;
  animation: donutfade 1s;
}

@keyframes donutfade {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 992px) {
  .svg-item {
    width: 80%;
  }
}

.donut-ring {
  stroke: #d6dde2;
}
.donut-segment {
  transform-origin: center;
}

.donut-label {
  font-size: 0.28em;
  font-weight: 700;
  line-height: 1;
  fill: #000;
  transform: translateY(0.25em);
}

.donut-percent {
  font-size: 0.5em;
  line-height: 1;
  transform: translateY(0.5em);
  font-weight: bold;
}

.donut-data {
  font-size: 0.2em;
  line-height: 1;
  transform: translateY(0.5em);
  text-align: center;
  text-anchor: middle;
  font-style: italic;
}

.m-current-weather-last-updated {
  padding-top: 15px;
  font-style: italic;
  margin-top: -10px;
}

.m-trial-legend {
  display: flex;
}

.m-trial-legend .m-status {
  margin: 15px 0px;
}

.m-trial-legend > * {
  padding-right: 6%;
}
.m-trial-legend > *:first-child {
  margin-right: 6%;
  border-right: 1px solid #646768;
}

.m-level-filters {
  display: flex;
}
.m-level-filters > *:first-child {
  padding-right: 3em;
}
.m-trial-legend input {
  opacity: 0;
  position: absolute;
  z-index: 0;
}

.m-trial-legend label:after {
  content: " ";
  width: 1.3em;
  height: 1.3em;
  display: block;
  position: absolute;
  top: 50%;
  left: 0px;
  cursor: pointer;
  transform: translateY(-50%);
}

.m-trial-legend input:checked + label:after {
  background-image: url("../../../_images/icon-check.svg");
  background-size: 0.8em auto;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1300px) {
  .m-tabs [role="tablist"] {
    margin-top: 40px;
    column-gap: normal;
    justify-content: space-between;
  }
  .m-tabs [role="tablist"] {
    /* flex-wrap: wrap; */
    overflow: auto;
    margin-left: -6%;
    margin-right: -6%;
    padding-left: 6%;
    padding-right: 6%;
  }

  .m-tabs [role="tablist"] button {
    padding: 45px 0px 20px 0px !important;
    flex-basis: 0;
    min-width: 28%;
  }
  .m-tabs [role="tablist"] button * {
    display: block;
    top: 0px;
    right: 50%;
    height: 40px;
    width: 40px;
    object-fit: contain;
    object-position: center;
    transform: translateX(50%);
  }
}

@media (max-width: 1200px) {
  .m-trial-legend .m-status.m-status-open,
  .m-trial-legend .m-status.m-status-closed {
    display: inline-block;
    margin-right: 10%;
  }
  .m-trial-legend > * {
    padding-right: 0%;
  }
  .m-trial-legend > *:first-child {
    margin-right: 0%;
    border-right: 0px;
    border-bottom: 1px solid #646768;
    padding-bottom: 25px;
    margin-bottom: 25px;
  }

  .m-trial-legend {
    display: block;
  }

  .m-level-filters {
    display: block;
  }
  .m-level-filters > *:first-child {
    padding-right: 0em;
  }
  .m-accordion:not(.m-accordion-no-hours) > .m-lifts-and-trails-header {
    display: block;
    padding-left: 40px;
  }
  #m-tab-lifts .m-accordion > *:first-child,
  .m-accordion-content {
    padding-left: 40px;
  }
  .m-accordion:not(.m-accordion-no-hours) .m-lifts-and-trails-meta {
    justify-content: flex-start;
    margin-bottom: 40px;
  }
  .m-lifts-and-trails-meta > * {
    margin-left: 0px;
  }
  .m-sliding-selected {
    height: 4px;
  }

  .m-current-conditions-table > div {
    padding: 0px 40px 40px 40px;
  }
  .m-current-weather-top {
    height: 140px;
    width: 120px;
  }
  .m-weather-header {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .m-weather-header>div:nth-child(2){
    margin-bottom: 40px;
  }
  .m-weather-header>div {
    width: 100%;
  }
  .wp-block-separator {
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .m-current-conditions-table > div .m-icon {
    width: 80px;
    right: 22px;
  }
}

@media (max-width: 500px) {
  .m-trial-legend > *:first-child {
    padding-right: 1.5em;
    margin-right: 1.5em;
  }
  .m-current-conditions-table {
    justify-content: space-between;
    padding-top: 50px;
  }
  .m-current-conditions-table > div {
    padding: 0px;
    min-width: 150px;
  }
  .m-current-weather-top {
    height: 100px;
    width: 110px;
  }

  .wp-block-separator {
    margin-top: 55px;
    margin-bottom: 55px;
  }
  .m-snow-totals-table {
    padding-top: 10px;
  }
  .m-snow-totals-table > div {
    width: 30%;
    margin: 40px 2% 0px 0%;
  }
  #m-snow-forecast.m-snow-totals-table > div {
    width: 46%;
  }
}

.m-safety-list {
  padding-left: 2.2em !important;
}

.m-safety-list > li {
  width: 33%;
  padding-right: 8%;
  margin-bottom: 60px;
  display: inline-block;
  vertical-align: top;
}

.m-safety-list > li:before {
  content: "";
  display: list-item;
  position: absolute;
}

@media (max-width: 1200px) {
  .m-safety-list > li {
    width: 48%;
    margin-bottom: 40px;
  }
}

@media (max-width: 800px) {
  .m-safety-list > li {
    width: 100%;
    padding-right: 0%;
    margin-bottom: 20px;
  }
}
.m-leaderboard-holder {
  overflow: auto;
}
.m-leaderboard {
  width: 100%;
  min-width: 500px;
  overflow: auto;
}
.m-leaderboard th {
  font-weight: bold;
  text-align: left;
  font-size: 1.1em;
}
.m-leaderboard th.m-sortable button {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 0px;
  text-align: left;
  padding-left: 0px;
}
.m-leaderboard th.m-sortable button:after {
  content: "";
  width: 1em;
  height: 1em;
  position: absolute;
  right: 5px;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
}
.m-leaderboard th.m-sortable.m-sort-highest-to-lowest button::after {
  background-image: url("../../../_images/icon-sort-down-solid.svg");
}
.m-leaderboard th.m-sortable.m-sort-lowest-to-highest button::after {
  background-image: url("../../../_images/icon-sort-up-solid.svg");
}
.m-leaderboard th.m-sortable.m-sort-none button::after {
  background-image: url("../../../_images/icon-sort-solid.svg");
}
.m-leaderboard td,
.m-leaderboard th {
  padding: 8px;
}
.m-leaderboard tr:nth-child(odd) {
  background-color: #f2f2f2;
}
.m-leaderboard tr:first-child {
  font-weight: 700;
}

.m-leaderboard-search input[type="search"] {
  padding: 5px;
  font-size: 18px;
  border: 1px solid #000;
  margin-bottom: 30px;
  margin-top: 8px;
  width: 100%;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

.m-trails-table {
  width: 100%;
  min-width: 800px;
}

.m-trails-table td,
.m-trails-table th {
  padding-right: 4%;
  padding-top: 28px;
  padding-bottom: 25px;
  text-align: left;
}

.m-trails-table td:nth-child(1) {
  width: 25%;
}
.m-trails-table td:nth-child(2) {
  width: 24%;
  text-align: left;
}
.m-trails-table td:nth-child(3) {
  width: 12%;
}
.m-trails-table td:nth-child(4) {
  width: 12%;
}
.m-trails-table td:nth-child(5) {
  padding-right: 0px;
}
.mcp-table-slider {
  width: 100%;
  overflow: auto;
}

.m-forecast-table {
  display: flex;
  gap: 3%;
  flex-wrap: wrap;
}

.m-forecast-table > * {
  width: 17%;
  margin-bottom: 6%;
}

@media (max-width: 1100px) {
  .m-forecast-table {
    gap: 6%;
  }
  .m-forecast-table > * {
    width: 28%;
    margin-bottom: 8%;
  }
}

@media (max-width: 750px) {
  .m-weather-section-w-tabs {
    padding-top: 60px;
  }
}

@media (max-width: 600px) {
  .m-forecast-table {
    display: block;
  }
  .m-forecast-table > * {
    width: auto;
  }
  .m-weather-section-w-tabs {
    padding-top: 40px;
  }
}

.m-weather-alert-text {
  display: inline-block;
  vertical-align: top;
  margin-top: -2px;
}

.m-open-snow-credit a {
  text-decoration: none;
  color: inherit;
}
.m-open-snow-credit a:hover {
  border-bottom: 1px solid #000;
}
.m-open-snow-credit img {
  height: 1em;
  width: auto;
  margin-left: 5px;
  margin-bottom: -0.1em;
}
@media (max-width: 1200px) {
  #m-tab-lifts .m-accordion > *:first-child {
    padding-bottom: 0px;
  }
  .m-lifts-and-trails ul > li {
    padding: 0px 0px 10px 0px;
  }
}

.m-snow-report-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4%;
}
@media(min-width: 900px){
  .m-snow-totals-table-header {
    justify-content: space-between;
  }
}
.mcp-filter-flex {
  display: flex;
  gap: 50px;
  width: 100%;
  flex-wrap: wrap;
}
.mcp-filter-flex>div {
  white-space: nowrap;
}

.m-filter-header {
  font-size: 18px;
  line-height: 22px;
  font-style: italic;
}
@media(max-width: 500px){
  #m-tab-lifts .mcp-filter-flex>div {
    min-width: 32%;
  }
  .m-filter-header {
    margin-bottom: 30px;
  }
}
.m-form-radio label,
.m-btn-reset {
  position: relative;
  font-style: italic;
  font-size: 18px;
  line-height: 22px;
  padding-top: 4px;
}
.m-form-radio label {
  padding-left: 35px;
}
.m-form-radio input {
  width: 0px;
  height: 0px;
  overflow: hidden;
  position: absolute;
  opacity: 0;
}
.m-form-radio label:before {
  text-align: center;
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  top: 0px;
  left: 0px;
  position: absolute;
}
.m-form-radio label:after {
  content: "";
  top: 8px;
  left: 8px;
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: none;
}
.m-form-radio input:checked + label:after {
  display: block;
}
.m-btn-reset {
  padding-right: 40px;
}
.m-btn-reset:after {
  content: '';
  position: absolute;
  right: 0px;
  top: 0px;
  width: 34px;
  height: 28px;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='28' viewBox='0 0 34 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.31337 9.31625L4.22045 12.7622L1 7.21875' stroke='%23000000' stroke-width='0.934231' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.44629 12.012C5.19525 5.79434 10.1384 1 16.8041 1C22.7209 1 27.664 4.82048 29.2368 9.98937' stroke='%23000000' stroke-width='0.934231' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M24.4443 18.9029L29.5373 15.457L32.6829 21.0005' stroke='%23000000' stroke-width='0.934231' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M29.2377 16.207C28.4888 22.4247 23.5457 27.219 16.8799 27.219C10.9632 27.219 6.02008 23.3985 4.44727 18.2296' stroke='%23000000' stroke-width='0.934231' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
#m-tab-lifts .wp-block-separator {
  margin-top: 50px;
  margin-bottom: 50px;
}
ul.m-lifts-list {
  list-style: none;
  padding-left: 0px;
}
.m-lifts-list li {
  display: flex;
  align-items: center;
  padding: 45px 0px;
  width: 100%;
    justify-content: space-between;
}
.m-lifts-list li>div:nth-child(1){
  width: 5%;
}
.m-lifts-list li>div:nth-child(1) * {
  width: 80px;
  height: 50px;
  object-fit: contain;
}
.m-lifts-list li>div:nth-child(2){
  width: 45%;
}
.m-lifts-list li>div:nth-child(3){
  width: 22%;
  text-align: right;
}
.m-lifts-list li>div:nth-child(4){
  width: 18%;
}
.mcp-filter-flex-flex {
  display: flex;
  gap: 20px;
  
}
.mcp-filter-flex-alt {
  gap: 20px;
}
.mcp-filter-flex-flex>div {
  width: 160px;
}
  
@media(max-width: 1000px){
  .m-lifts-list li {
     flex-wrap: wrap;
    align-items: flex-start;
    padding: 30px 0px;
  }
  .m-lifts-list li>div:nth-child(1){
    width: 50px;
  }
  .m-lifts-list li>div:nth-child(2){
    width: calc(100% - 70px);
  }
  .m-lifts-list li>div:nth-child(3){
    text-align: left;
    padding-left: 70px;
    width: 65%;
    padding-top: 20px;
  }
  .m-lifts-list li>div:nth-child(4){
    padding-top: 20px;
    width: 33%;
    align-self: center;
  }
}
#m-tab-trails .m-lifts-and-trails-header {
  width: 100%;
}
@media(max-width: 800px){
  
  #m-tab-trails .m-lifts-and-trails-header {
    align-items: center;
  }
  #m-tab-trails .m-lifts-and-trails-meta {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 5px;
  }
  #m-tab-trails .m-lifts-and-trails-meta>div {
    width: 100%;
}
}

.m-terrain-level {
  width: 88px;
  font-size: 28px;
  line-height: 42px;
  text-align: center;
  height: 42px !important;
  border-radius: 32px;
  max-width: 100%;
  
}
