/* ------------------Отступы на других страницах------------------------ */

.all__holidays-graduation-main-link {
    z-index: 10; /* Пример значения, попробуйте увеличивать, если необходимо */
}

.top-menu__header {
  padding-top: 0 !important;
  box-sizing: border-box;
}

/* @media (max-width: 420px) {
  .first-screen {
    margin: 111px 0 50px !important;
  }
}

@media (min-width: 450px) and (max-width: 570px) {
  .first-screen {
    margin-top: 106px !important;
  }
}

@media (min-width: 571px) and (max-width: 800px) {
  .first-screen {
    margin-top: 127px !important;
  }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .first-screen {
    margin-top: 118px !important;
  }
} */

@media (max-width: 1000px) {
  .first-screen {
    margin-top: 116px;
  }
}

@media (max-width: 970px) {
  .first-screen {
    margin-top: 152px;
  }
}

@media (max-width: 730px) {
  .first-screen {
    margin-top: 107px;
  }
}

@media (max-width: 1000px) {
  .show-list-slide {
    top: 117px;
  }

  .breadcrumbs {
    padding-top: 201px;
  }

  .brd-all {
    padding-top: 151px !important;
  }
}

@media (max-width: 970px) {
  .show-list-slide {
    top: 153px;
  }

  .breadcrumbs {
    padding-top: 237px;
  }

  .brd-all {
    padding-top: 187px !important;
  }
}

@media (max-width: 730px) {
  .show-list-slide {
    top: 107px;
  }

  .breadcrumbs {
    padding-top: 191px;
  }

  .brd-all {
    padding-top: 141px !important;
  }
}

@media (max-width: 570px) {
  .show-list-slide {
    top: 106px;
  }

  .breadcrumbs {
    padding-top: 177px;
  }

  section.contacts.contacts-page > .wrap > .left {
    padding-top: 20px;
  }

  .brd-all {
    padding-top: 130px !important;
  }
}

@media (max-width: 1000px) {
  .breadcrumbs.brd-prgrm {
    padding-top: 170px;
  }
}
@media (max-width: 730px) {
  .breadcrumbs.brd-prgrm {
    padding-top: 120px;
  }
}

@media (min-width: 570px) and (max-width: 600px) {
  section.contacts.contacts-page > .wrap > .left {
    padding-top: 77px;
  }
}

@media (max-width: 500px) {
  .show-list-slide {
    top: 112px;
  }
}
/* --------------- Конец общих стилей --------------- */

.all__holidays-wrap {
  background-color: #FFF8ED;
  position: relative;
  width: 100%;
}

.gainful-summer {
  position: relative;
  display: grid;
  /* grid-template-columns: 1000fr 1000fr 1000fr 1000fr 92px; */
  grid-template-columns: 1600fr 1000fr 1000fr 1000fr;
  width: 100vw;
  /* gap: 32px; */
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.08);
}
.all__holidays-graduation-main-link {
	position: absolute;
	width: 100%;
	height: 100%;
}
.close-my-popup {
	opacity: 0;
}
.text-us {
	display: none !important;
}
/* .gainful-summer::before {
  position: absolute;
  content: '';
  left: 0;
  width: 92%;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./img/bg-main.png);
} */

@media (max-width: 1860px) {
  .all__holidays {
    height: 91px;
  }
  /* .gainful-summer::before {
    width: 100%;
    background-image: url(./img/bg-main-1300.png);
  } */
}

@media (max-width: 1295px) {
  .all__holidays {
    height: 88px;
  }
  /* .gainful-summer::before {
    background-image: url(./img/bg-main-1000.png);
  } */
}

@media (max-width: 970px) {
  .all__holidays {
    height: 106px;
  }
  /* .gainful-summer::before {
    background-image: url(./img/bg-main-500.png);
  } */
  .gainful-summer {
    grid-template-columns: 1300fr 98px !important;
  }
}

@media (max-width: 495px) {
  .all__holidays {
    height: 60px;
  }
  /* .gainful-summer::before {
    width: 100%;
    background-image: url(./img/bg-main-420.png);
  } */
  .gainful-summer {
    grid-template-columns: 1200fr 600fr 45px;
  }
}

.gainful-summer__first, .gainful-summer__second, .gainful-summer__third, .gainful-summer__fourth{
  position: relative;
  /* box-shadow: 5px 0 9px -5px #eed9e5; */
  /* border-radius: 0 0 34px 0; */
}

.left-head {
	width: 50%;
}

.left-head::before{
  position: absolute;
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  width: auto;
  background-image: url(./img/left-head.png);
}

.r-head {
	width: 50%;
}

.r-head::before{
  position: absolute;
  content: '';
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  height: auto;
  background-image: url(./img/r-head.png);
}

.head-title {
  position: absolute;
  top: 50%;
  left: 46.5%;
  transform: translate(-50%, -50%);
  font-family: 'Times New Roman', Times, serif;
  font-size: 64px;
  z-index: 1; /* Установите z-index меньше */
}

.ny__btn_hel {
  position: absolute;
  right: 0;
  top: 50%; 
  transform: translateY(-50%); 
  border-radius: 12px 0px 0px 12px;
  background-color: #2F2923;
  box-sizing: border-box;
  width: 62px;
  height: 100%;
  box-shadow: -2px 0px #FBBA4D;
}


.ny__btn_hel::before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    background-image: url(./img/Arrow-750.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width:1300px) {
	.head-title {
	  left: 48%;
	  font-size: 58px;
	}
	.ny__btn_hel {
	  width: 48px;
	}
}

@media (max-width:1000px) {
	.head-title {
	  font-size: 45px;
	}
	.ny__btn_hel {
	  width: 40px;
	}
	
	.ny__btn_hel::before {
		height: 15px;
		width: 15px;	
	}
}

@media (max-width:750px) {
	.head-title {
	  top: 55%;
	  font-size: 45px;
	}
	.ny__btn_hel {
	  width: 50px;
	}
	.left-head::before{
	  background-image: url(./img/left-mb.png);
	}

	.r-head::before{
	  background-image: url(./img/r-mb.png);
	}
}

@media (max-width:500px) {
	.head-title {
	  left: 45%;
	  font-size: 32px;
	}
	.ny__btn_hel {
	  width: 45px;
	}
	.left-head::before{
	  width: 40%;
	  background-image: url(./img/left-mb.png);
	}

	.r-head::before{
	  width: 40%;	
	  background-image: url(./img/r-mb.png);
	}
}

@media (max-width:420px) {
	.head-title {
	  left: 47%;
	  font-size: 26px;
	}
	.ny__btn_hel {
	  width: 45px;
	}
	.left-head::before{
	  width: 40%;
	  background-image: url(./img/left-mb.png);
	  background-size: cover;
	}

	.r-head::before{
	  width: 40%;	
	  background-image: url(./img/r-mb.png);
	}
}

@media (max-width:420px) {
	.head-title {
	  left: 49%;
	  font-size: 22px;
	}
}  

.gainful-summer {
	margin: 0 !important;
}

.gainful-summer__first::before, .gainful-summer__second::before, .gainful-summer__third::before, .gainful-summer__fourth::before{
  position: absolute;
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.gainful-summer__first::before {
  right: -50px;
  background-image: url(./img/1-1925-min.jpg);
  z-index: 4;
  background-size: cover;
}



.gainful-summer__second::before {
	background-size: cover;
  border-radius: 10.5882px 0px 50px 10.5882px;
  box-shadow: 12px 0px 15px rgba(0, 0, 0, 0.07);
  background-position: right center;
  background-image: url(./img/2-1920-min.png);
  z-index: 6;
}

.gainful-summer__third::before {
	background-size: cover;
	background-position: right center;
  border-radius: 0px 0px 50px 0px;
  background-image: url(./img/3-1928-min.jpg);
  box-shadow: 10px 0px 33.1px rgba(0, 0, 0, 0.1);
  z-index: 5;
      left: -50px;
}

.gainful-summer__fourth::before {
	background-size: cover;
	background-position: right center;
  left: -50px;

  background-image: url(./img/4-1927-min.jpg);
  z-index: 2;
}

@media (max-width:1860px) {
	.gainful-summer {
		grid-template-columns: 1800fr 1000fr 1000fr 1000fr;
	}
	
  .gainful-summer__first::before {
    background-image: url(./img/1-1925-min.jpg);
    /*left: -40px;*/
  }
  
  .gainful-summer__second::before {
    background-position: right center;
    background-image: url(./img/2-1920-min.png);
    border-radius: 10.5882px 0px 33.8542px 10.5882px;
  }
  
  .gainful-summer__third::before {
    background-image: url(./img/3-1928-min.jpg);
    border-radius: 0px 0px 33.8542px 0px;
  }
  
  .gainful-summer__fourth::before {
    background-image: url(./img/4-1927-min.jpg);
  }
}
@media (max-width: 1065px) and (min-width: 971px) {
  .gainful-summer__first::before {
    left: -40px;
  }
}

@media (max-width:1295px) {
  .gainful-summer__first::before {
	  background-position: left  center;
    background-image: url(./img/1-1300-min.jpg);
  }
  
  .gainful-summer__second::before {
    right: 0;
    background-size: cover;
    background-position: -10px center;
    background-image: url(./img/2-1300-min.jpg);
  }
  
  .gainful-summer__third::before {
	  background-position: left  center;
    background-image: url(./img/3-1300-min.jpg);
    left: -65px;
  }
  
  .gainful-summer__fourth::before {
	  background-position: left  center;
    background-image: url(./img/4-1300-cut-min.jpg);
  }
}

@media (max-width:970px) {
  .gainful-summer__first::before {
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-position: left center;
    background-image: url(./img/750-min.jpg);
    
  }
  
  .gainful-summer__second::before {
    left: 0px;
    right: 0px;
    background-size: contain;
    background-position: center center;
    background-image: url(./img/2-750.png);
  }

  .gainful-summer__third {
    display: none;
  }

  .gainful-summer__fourth {
    display: none;
  }
  .gainful-summer__second {
    display: none;
  }
  
  .gainful-summer__third::before {
    background-image: none;
  }
  
  .gainful-summer__fourth::before {
    background-image: none;
  }
}

@media (max-width:700px) {
  
.gainful-summer__first::before { 
	background-image: url(./img/750-min.jpg);
    position: absolute; 
    top: 0; 
    width: 100%;
    min-height: auto;
    background-position: left top;  
    background-size: cover; 
    background-repeat: repeat-x; 
}

}

@media (max-width:542px) {
  .gainful-summer__first::before {
  		left: -50px;
  		right: -50px;
  		width: auto;
  }
}

@media (max-width:495px) {
  .gainful-summer__first::before {
    top: -7px;
    left: 0px;
    background-image: url(./img/750-min.jpg);
  }
	.gainful-summer {
	    grid-template-columns: 1300fr 55px !important;
	}
  
  .gainful-summer__second::before {
    left: 7px;
    background-image: url(./img/2-420.png);
  }
}

@media (max-width:430px) {
  .gainful-summer__first::before {
    top: -5px;
  }
}

@media (max-width:370px) {
  .gainful-summer__first::before {
    top: -10px;
  }
}

@media (max-width:370px) {
  .gainful-summer__first::before {
    top: 0px;
    background-image: url(./img/360px-min.jpg);
  }
  .all__holidays {
        height: 50px;
    }
    .gainful-summer {
	            grid-template-columns: 1300fr 47px !important;
    }
    .ny__btn::before {
	    width: 26.57px !important;
	    height:  26.57px !important;
    }
}

.all__holidays-graduation-main-link {
  z-index: 10;
}

.ny__btn {
  position: relative;
  display: none;
  border-radius: 12px 0px 0px 12px;
  /* border-left: 2px solid #fff; */
  /* box-shadow: 0px 0px 20.869px 0px #fff; */
  background: linear-gradient(39.47deg, #FF6B46 0%, #FFA515 100%);
  box-sizing: border-box;
  z-index: 10;
}



.ny__btn-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
}

.ny__btn::before {
  position: absolute;
  content: '';
  top: 25%;
  left: 50%;
  width: 32px;
  height: 40px;
  transform: translate(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  /* background-image: url(./img/Arrow.png); */
}

/* @media (max-width:1860px) {
  .ny__btn::before {
    width: 22px;
    background-image: url(./img/Arrow1300.png);
  }
} */

/* @media (max-width:1295px) {
  .ny__btn::before {
    width: 17px;
    background-image: url(./img/Arrow1000.png);
  }
} */

@media (max-width:970px) {
  .ny__btn {
    border-left: none;
    display: block;
  }
  .ny__btn::before {
    width: 55px;
    height: 55px;
    background-image: url(./img/Chevron_Right.svg);
  }
}

@media (max-width:495px) {
  .ny__btn {
    border-radius: 7px 0px 0px 7px;
    /* box-shadow: 0px 0px 9.709px 0px #FFF; */
  }
  .ny__btn::before {
    width: 31px;
    height: 31px;
  }
}

/* СТИЛИ ПОПАПА */
.popup__body {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  transition: all 0.8s ease 0s;
}

.popup-ny__content {
  width: 692px;
  height: 1230px;
  background-image: url(./img/popup-au-min.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}

.popup-ny__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: -5px;
  top: -15px;
  width: 80px;
  height: 80px;
  font-size: 30px;
  color: #000000;
  text-decoration: none;
}

@media (max-width: 730px) {
  .popup-ny__content {
    width: 414px;
    height: 736px;
    background-image: url(./img/popup-au-min.jpg);
  }

  .popup-ny__close {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 410px) {
  .popup-ny__content {
    width: 100%;
    max-width: 414px;
    height: 736px;
    /* background-image: url(./img/popup-hq-412.jpg); */
  }
}

.popup-ny__btn {
  position: absolute;
  bottom: 39px;
  left: 50%;
  transform: translateX(-50%);
  padding: 19px 59px;
  background: #12bd82;
  border-radius: 178.811px;
  box-shadow: 0px 3px 14px 0px rgba(168, 132, 80, 0.4);
  font-family: 'Montserrat';
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 730px) {
  .popup-ny__btn {
    bottom: auto;
    top: 670px;
    padding: 15px 37px;
    border-radius: 34px;
    box-shadow: 0px 0px 15.56249px 0px #fff;
    font-size: 15px;
  }
}

@media (max-width:410px) {
  .popup-ny__btn {
    top: 163.41vw;
  }
}

.my-popup.open .popup__content {
  border-radius: 34px;
}

/* КОНЕЦ СТИЛЕЙ ПОПАПА */


/* Ссылки на презентации на плашке */
.gainful-summer__link {
  position: absolute;
  content: '';
  bottom: 13px;
  height: 30px;
  width: 232px;
  z-index: 12;
}

.gainful-summer__second-link {
  left: 50px;
}

.gainful-summer__third-link {
  left: -25px;
}

.gainful-summer__fourth-link {
  left: 25px;
}

@media (max-width:1860px) {
  .gainful-summer__link {
    bottom: 8px;
    height: 24px;
    width: 170px;
  }
  
  .gainful-summer__second-link {
    left: 50px;
  }
  
  .gainful-summer__third-link {
    left: 4px;
  }
  
  .gainful-summer__fourth-link {
    left: 30px;
  }
}

@media (max-width:1295px) {
  .gainful-summer__link {
    bottom: 7px;
    height: 17px;
    width: 125px;
  }
  
  .gainful-summer__second-link {
    left: 20px;
  }
  
  .gainful-summer__third-link {
    left: -8px;
  }
  
  .gainful-summer__fourth-link {
    left: 10px;
  }
}

.text-us {
  display: flex;
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-us-header {
  color: #4D4D4D;
  font-size: 28.22px;
  font-weight: 600;
  text-align: center;
}

@media (max-width:970px) {
  .gainful-summer__link {
    display: none;
  }
}

/* Ссылки на презентации на попапе */
.my-popup__link {
  position: absolute;
  content: '';
  left: 48px;
  height: 170px;
  width: 590px;
  z-index: 13;
}

.my-popup__first-link {
  top: 510px;
}

.my-popup__second-link {
  top: 730px;
}

.my-popup__third-link {
  top: 950px;
}

@media (max-width:730px) {
  .my-popup__link {
    left: 30px;
    height: 100px;
    width: 350px;
  }
  
  .my-popup__first-link {
    top: 310px;
  }
  
  .my-popup__second-link {
    top: 435px;
  }
  
  .my-popup__third-link {
    top: 565px;
  }
}

@media (max-width:413px) {
  .my-popup__link {
    left: 23px;
    height: 25vw;
    width: 88vw;
    z-index: 13;
  }
  
  .my-popup__first-link {
    top: 73.75vw;
  }
  
  .my-popup__second-link {
    top: 105.19vw;
  }
  
  .my-popup__third-link {
    top: 136.94vw;
  }
}