/* Подключение шрифтов */
@font-face {
  font-family: 'Futura Round';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/a_FuturaRound.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Round';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/a_FuturaRound Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Round';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/a_FuturaRound Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Round';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/a_FuturaRoundDemi Italic.Ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Alboroto';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/alboroto.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blackberry';
  src: url('/local/components/diana/iblock.section/templates/karnaval26/fonts/blackberry-normal_version.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
          text-size-adjust: none;
}

footer, header, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

a.calendar__logo_link {
  display: inline-block;
}
.calendar {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.calendar ~ .calendar {
  /*display: none;*/
}
.calendar__header {
  height: 67px;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: transparent;
  position: relative;
}
.calendar__main {
  flex: 1 1 auto;
  width: 100%;
  min-height: 69.1875rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.calendar footer {
  flex: 1 1 auto;
  margin-top: auto;
}
.calendar__container {
  width: 100%;
  max-width: 76rem;
  padding: 0 1rem;
  background-color: transparent;
  margin: 0 auto;
}
.calendar__logo {
  flex-shrink: 0;
}

.calendar__table {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}
.calendar__glass {
  width: 100%;
  min-height: 839.37px;	
  max-width: 958.38px;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.calendar__glass > .calendar__table_bg,
.calendar__glass > .calendar__table_mobile_bg
{
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    max-width: 100%;    
    width: 100%;
    opacity: 0.5;
    display:none!important;
}

.calendar__glass > .calendar__table_mobile_bg{
	opacity: 0;
	height:0;
}
.calendar__glass > .calendar__table_bg{
	top: 140px;
}

h1.calendar__title {
  color: white;
  letter-spacing: 7px;
  text-shadow: 0 0 10px white,
	0 0 20px rgba(255, 255, 255, 0.2);
  font-family: "Alboroto", Helvetica, sans-serif;
  font-size: 56px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 4px;
	text-align: center;
  z-index: 7;
  position: relative;
}
h2.calendar__subtitle {
  color: white;
  text-align: center;
  font-family: "Blackberry", Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 38px;
  line-height: normal;
  position: relative;
  z-index: 4;
  padding: 0 2rem;
  margin-top:10px;
}
.calendar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 30px;
  padding: 0 30px;
  position: relative;
  z-index: 4;
  margin-top: 3em;
  background: rgb(190 231 241 / 51%);
  border-radius:30px;
  padding:1em;
}
.calendar__item {
  width: 80px;
  height: 80px;
  flex-basis: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}
.calendar__item.active {
  background: radial-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)), radial-gradient(rgba(182, 235, 251, 0.15), rgba(185, 239, 255, 0));
  border-radius: 50%;
}
.calendar__ico {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.calendar__ico.active {
  cursor: pointer;
}
.calendar__ico.open {
  display: none;
}
.calendar__day {
  position: absolute;
  z-index: 4;
  bottom: -5px;
  right: -5px;
  color: rgb(255,255,255);
  text-align: center;
  font-family: "Inter", Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
	letter-spacing: 5%;
  text-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.4);
}
.calendar__day.active {
  color: rgb(255,255,255);
}
.calendar__day.disable {
  color: rgb(139, 112, 121);
}
.calendar__footer {
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-bottom: 3rem;
}

.hero_img {
  position: absolute;
}
.hero_img__right_left {
    right: 4%;
    top: 10%;
    max-width: 188px;
    max-height: 133px;
    z-index: 10;
}
.hero_img__right_right {
    right: 14%;
    top: 8%;
    max-width: 207px;
    max-height: 104px;
    z-index: 10;
}
.hero_img__bottom{ /* man */
  max-width:955px;
  max-height:586px;
  right: -3%;
  bottom: 0px;
  z-index: 3;
}
.hero_img__left{ /*dolphin*/
    top: 62%;
    right: 6%;
	max-width: 152px;
    max-height: 159px;
    z-index: 2;
}
.hero_img__right{ /*ship*/
    bottom: 28%;
    right: -5px;
	max-width: 774px;
    max-height: 305px;
    z-index: 1;
}
.hero_img__back { /*rocks*/
	bottom: 33%;
    left: 50%;
	transform:translateX(-50%);
	max-width: 703px;
    max-height: 116px;
    z-index: 1;
}
.calendar__bird{ /*bird*/
  position: absolute;
    max-width: 1539px;
    max-height: 353px;
	left: 12%;
    bottom: 76%;
    z-index: 1;
}

.calendar__girl_jump{ /*girl jump*/
  position: absolute;
	max-width: 174px;
	max-height: 224px;
  right: -25%;
  bottom: 35%;
  z-index: 2;
}

@media (width <= 94rem) {
  .calendar {
    background-position: left bottom;
    background-size: auto 80%;
    background-color: #2a7eff;
  }
	.calendar__footer{
		height:500px;
	}
	.hero_img__right{
    bottom: 25%;
    right: -5px;
    max-width: 388px;
    max-height: 171px;
    z-index: 1;
    aspect-ratio: 774 / 305;
	}
	.hero_img__right_right {
		right: 14%;
		top: 4%;
		max-width: 148px;
		max-height: 67px;
	}
	.hero_img__right_left {
		right: 1%;
		top: 6%;
		max-width: 152px;
		max-height: 96px;
	}
	.hero_img__bottom{
    right: -24%;
    bottom: 0;
    scale: .5;
	}
	.hero_img__left{ /*dolphin*/
		right: -50px;
    bottom: 280px;
    top: unset;
	}
  .hero_img__back {
    bottom: 24%;
        scale: .5;
        left: 40%;
  }
}
.calendar__table_bg_mob {
  display: none;
}
.calendar__title.mob {
  display:none;
}
.hero_img__right.mobile {
  display:none;
}
@media (width <= 62.5rem) {
  .calendar__bird {
    max-width: 779px;
    max-height: 135px;
    left: 6%;
    bottom: 91%;
  }
  .calendar {
    background-size: auto 59%;
  }
  .hero_img__bottom {
    right: -29%;
    bottom: -80px;
    scale: .5;
  }
  .hero_img__left {
    right: -50px;
    bottom: 190px;
    scale: .5;
  }
  .hero_img__back {
    bottom: 17%;
    scale: .3;
    left: 24%;
  }
  .hero_img__right {
    bottom: 16.5%;
    right: -85px;
    scale: .6;
  }
}

@media (width <= 53.3rem) {
  .calendar {
    background-size: auto 59%;
    background-position: bottom;
  }
	.calendar__glass > .calendar__table_mobile_bg{
		opacity:.5;
    width:90vw!important;
		margin: auto;
	}
	.calendar__glass > .calendar__table_bg{
		opacity:0;
		height: 0;
	}
}
@media (width <= 52rem) {

 .calendar__container{
	 padding: 0;
 }
  .calendar__subtitle {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 125% */
  }
    .calendar__bird {
        display: none;
  }
    .hero_img__right_left {
        right: 1%;
        top: 0%;
        max-width: 94px;
        max-height: 63px;
    }
    .hero_img__right_right {
        right: 23%;
        top: 1%;
        max-width: 102px;
        max-height: 45px;
    }
    .hero_img__right {
        max-width: 262px;
        max-height: 126px;
    }
	.hero_img__left {
		left: 194px;
        bottom: 10%;
	}

}
@media (width <= 44rem) {
	h1.calendar__title {
		font-size: 35px;		
		line-height: 60px;
		padding-top: 20px;
	}	
  .calendar__list {
    gap: 0.7rem;
  }
	.hero_img__left {
		display:none;
	}
}
@media (width <= 40.5rem) {

  .calendar__item {
    width: 5rem;
    height: 5rem;
    -ms-flex-preferred-size: 5rem;
        flex-basis: 5rem;
  }
  .calendar__subtitle {
    padding: 0 4rem;
  }
}
@media (width <= 32rem) {
  .hero_img__right.desktop {
    display:none;
  }
  .calendar__bird {
    left: 63%;
    bottom: 99%;
  }
  .calendar__subtitle img {
    width:100%;
    height:auto;
  }
  .calendar__title {
    display:none;
  }
  .calendar__table_bg {
    display: none;
  }
  .calendar__table_bg_mob {
    display: block;
  }
  .calendar__glass > .calendar__table_mobile_bg {
    top: 19%;
    opacity: 0.5;
  }
  .calendar__title.mob {
    display:block;
  }
	h1.calendar__title {
    font-size: 30px;
    line-height: 45px;
    padding-top: 20px;
  }
	.calendar__day {
		font-size:20px;
	}
	.calendar__glass-lamps{
	  display:none;
  }
  img.calendar__girl_jump {
    display: none;
  }
	.hero_img__left {
    left: -12px;
    bottom: 3%;
    width: 226px;
    height: auto;
  }
  .hero_img__bottom {
    right: -402px;
  }
  .hero_img__back {
    left: -31%;
  }
  .hero_img__right_left {
    top: 2%;
  }
  .hero_img__right_right {
    top: 3%;
  }
  h2.calendar__subtitle {
    line-height: 1;
  }
  .hero_img__right.mobile {
    display:block;
    max-width: 367px;
    max-height: max-content;
    right: -40%;
    bottom: -44%;
    z-index: 1;
    display: block;
  }
}
	

@media (width <= 29.075rem) {
 	
  .calendar__list {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .calendar__glass {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .calendar__glass > .calendar__table_mobile_bg {
    width: 90vw !important;
    top: 10%;
    height: 100%;
    opacity: 0.5;
  }
}
@media (width <= 24.6rem) {
  .calendar__glass {
    padding: 1rem;
  }
  .calendar__subtitle {
    padding: 0 3.3rem;
  }
  .calendar__list {
    gap: 0.7rem;
    justify-content: space-around;
    padding:10px;	
  }
  .calendar__item {
    width: 4.5rem;
    height: 4.5rem;
    flex-basis: 4.5rem;
  }


}

/*=============SCROLLBAR==================*/
/*---------Для mozila firefox-------------
html, body {
  scrollbar-color: #458245 #714826;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #143861;
}


::-webkit-scrollbar-thumb {
  background-color: #843465;
  border-radius: 9em;
  -webkit-box-shadow: inset 1px 1px 10px #f3faf7;
          box-shadow: inset 1px 1px 10px #f3faf7;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #253861;
}

::-webkit-scrollbar-button:vertical:start:decrement {
  background: linear-gradient(120deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(240deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(0deg, #02141a 30%, rgba(0, 0, 0, 0) 31%);
  background-color: #f6f8f4;
}

::-webkit-scrollbar-button:vertical:end:increment {
  background: linear-gradient(300deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(60deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(180deg, #02141a 30%, rgba(0, 0, 0, 0) 31%);
  background-color: #f6f8f4;
}

::-webkit-scrollbar-button:horizontal:start:decrement {
  background: linear-gradient(30deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(150deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(270deg, #02141a 30%, rgba(0, 0, 0, 0) 31%);
  background-color: #f6f8f4;
}

::-webkit-scrollbar-button:horizontal:end:increment {
  background: linear-gradient(210deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(330deg, #02141a 40%, rgba(0, 0, 0, 0) 41%), linear-gradient(90deg, #02141a 30%, rgba(0, 0, 0, 0) 31%);
  background-color: #f6f8f4;
}

/*===========//SCROLLBAR===================*/

.popup .preview_text {
  color: #eee;
}

@media (width <= 52rem) {

	.no_mobil{
		display:none;
	}
}	