@media screen and (max-width: 1300px) {
	.container{
		width: 960px;
	}
	.content-spacing {
		padding: 50px 0;
	}
	.content-plus-sidebar {
		grid-template-columns: 4fr 2fr;
	}
	.news-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
	.news-wrapper .item {
		grid-template-columns: 1fr;
		grid-template-rows: min-content auto;
	}
	.news-wrapper .item__content{
		padding: 12px;
	}
	.slider22__item-title{
		font-size: 3vw;
	}
  .slider22__item-link:after {
    font-size: 3vw;
  }
	.gallery-album {
		grid-template-columns: repeat(3, 1fr);
	}

	#logo img{
		width: 260px;
	}

	#main-page-boxes__content > * {
		width: 32%;
	}
	#main-menu__list {
		width: 800px;
	}
	#main-menu__list > li > a {
		padding: 18px 8px;
	}

	#mp-gallery{
		grid-template-columns: repeat(3, 1fr);
	}
	#mp-gallery .item:last-child {
		display: block;
	}

	#footer .three-col {
		gap: 15px;
	}
}

@media screen and (max-width: 1080px) {
	.container{
		width: 620px;
		padding: 0 10px;
	}
	.content-spacing {
		padding: 40px 0;
	}
	.side-menu li {
		width: 50%;
		text-align: center;
		border: 1px solid #fff;
		display: inline-block;
	}
	.content-plus-sidebar {
		grid-template-columns: 1fr;
	}
	.sidebar {
		grid-template-columns: 1fr 1fr;
	}
  #sidebar {
    display: none;
  }

  #top-boxes #buy-skipass-desktop {
    display: none;
  }

  #top-boxes #buy-skipass-mobile {
    display: flex;
  }

  #main-content.container.contact-container #sidebar {
    display: block;
  }
	#mp-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	#mp-gallery .item:last-child {
		display: none;
	}

	#top {
    padding-top: 16px;
    padding-bottom: 16px;
	}
	#top-info .contact-data {
		display: none;
	}

  #top-info {
    column-gap: 10px;
    grid-template-columns: repeat(2, auto);
  }
  #top-info .additional-switches .menu-miscs__item,
  #top-boxes .top-boxes__item {
    margin: 0 2px;
  }
  #top-boxes .top-boxes__item-icon {
    width: 34px;
    height: 34px;
  }
  #top-info .misc {
    display: none;
  }
  #top-info .additional-switches .menu-miscs__item {
    height: 34px;
  }
  #top-info .additional-switches .menu-miscs__item .misc__link {
    padding: 5px;
  }
  #top__additional-bar {
    display: none;
  }
  #top__additional-menu {
    justify-content: space-between;
  }
  #top__additional-menu a {
    padding: 6px;
  }

	#main-page-boxes__content > * {
		width: 48%;
	}

	#main-page-boxes__content .item:first-child {
		display: none;
	}

	.side-menu li.active a:after {
		display: none;
	}

	#mp-cams {
		grid-template-columns: 1fr;
	}
	#mp-cams .cam-list {
		display:none;
	}
	#sidebar,
	#content,
	#sidebar + #content{
		width: 100%;
		margin: 0 0 14px 0;
	}
	#content .accordion-wrapper {
		width: 100%;
	}

  #main-menu_button {
    padding: 20px 25px;
  }
  #main-menu__content {
    right: 0;
    top: 100%;
    flex-direction: column;
  }
  #main-menu__list{
    width: 300px;
    padding: 0;
    max-height: 400px;
    overflow: auto;
  }
  #main-menu__list > li {
    width: 100%;
    border-bottom: 1px solid #333;
  }
  #main-menu__list > li > a {
    padding: 15px 14px;
    text-align: left;
    font-weight: bold;
  }
  #main-menu__list > li:last-child > a {
    border-bottom: none;
  }
  #main-menu__list .sub-menu {
    position: relative;
    top: 0;
    max-height: initial;
    box-shadow: none;
  }
  #main-menu__list .sub-menu a {
    background: transparent;
    color: #fff;
  }
  #main-menu__list .sub-menu a:before {
    line-height: 0.75em;
    color: #0c9eda;
    font-size: 20px;
    font-weight: bold;
    padding-right: 10px;
    content: "\00BB";
  }

  #menu-miscs {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 50px;
    border-left: none;
    border: 1px solid #444;
  }
  #language {
    border-bottom: none;
    border-right: 1px solid #555;
  }

  #footer {
    font-size: 1em;
  }
  #footer .three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  #footer .three-col .item:last-child {
    display: none;
  }

	#footer .go-up {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.container{
		width: 100%;
    padding-left: 16px;
    padding-right: 16px;
	}
  .slider22__item-title {
    font-size: 4.5vw;
  }
  .slider22__item-link:after {
    font-size: 4.5vw;
  }
  #logo img {
    width: auto;
  }

  #top {
    justify-content: center;
  }
  #top-info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100001;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    justify-content: center;
    box-shadow: 0 0 9px 2px rgb(0 0 0 / 20%);
    gap: 0px;
  }
  #top-boxes .top-boxes__item-icon {
    width: 40px;
    height: 40px;
  }
  #top-info .additional-switches .menu-miscs__item {
    height: 40px;
  }
  #top-boxes .top-boxes__item.top-boxes__item--expand-bottom:first-child .top-boxes__item-content {
    transform: translateX(0%) scaleY(0);
    left: -15%;
  }
  #top-boxes .top-boxes__item.top-boxes__item--expand-bottom:first-child:hover .top-boxes__item-content {
    transform: translateX(0%) scaleY(1);
  }

  #top-info .additional-switches .menu-miscs__item .misc__link {
    padding: 10px;
  }
  #top-boxes .top-boxes__item.top-boxes__item--expand-bottom .top-boxes__item-content {
    top: auto;
    bottom: 100%;
    box-shadow: 0 -5px 10px rgb(0 0 0 / 30%);
    transform-origin: 50% 100%;
  }
  #top-boxes .top-boxes__item.top-boxes__item--expand-bottom:hover {
    margin-bottom: 0px;
  }
  #top-boxes .top-boxes__item.top-boxes__item--expand-bottom:hover .top-boxes__item-icon {
    border-radius: 0 0 5px 5px;
  }
  #top-info .additional-switches .menu-miscs__item .language__list {
    top: auto;
    bottom: 100%;
  }
  #top-info .additional-switches .menu-miscs__item .language:hover .language__current.misc__link {
    border-radius: 0 0 5px 5px;
  }
  #top__additional-bar {
    display: none;
  }

  #main-page-boxes__content {
    justify-content: space-between;
  }
  #main-page-boxes__content > * {
    width: 48%;
  }
  #main-menu_button {
    padding: 10px;
    height: 50px;
  }
  #main-menu__button-burger {
    width: 30px;
    margin-left: 0;
  }
  #main-menu__button-burger:before,
  #main-menu__button-burger:after {
    width: 30px;
  }
  #main-menu__button-burger:before {
    top: -8px;
  }
  #main-menu__button-burger:after {
    top: 8px;
  }
  #main-menu__button-text {
    display: none;
  }
  #alert {
    padding: 8px 26px;
    font-size: 14px;
  }

  #alert__close {
    top: 0;
    right: 16px;
  }
  #alert__close:after {
    font-size: 36px;
  }

  #main-page-boxes__wrapper {
    text-align: center;
    padding: 15px 0;
  }
  #main-page-boxes__content .weather .temperture {
    display: block;
    margin: 0;
  }
  #main-page-boxes__content .weather .weather-ico {
    display: none;
  }
  #main-page-boxes__content .title {
    display: none;
  }
  #main-page-boxes__content .weather .station {
    margin-bottom: 10px;
  }

  .sidebar,
  #footer .three-col {
    grid-template-columns: 1fr;
  }

  #footer {
    text-align: center;
  }
  #footer .main-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .news-wrapper {
    grid-template-columns: 1fr;
  }
  .news-wrapper .item__img-wrapper img {
    max-width: 100%;
  }
}