.events-box-cart {
	max-height: unset;
}
.all-events .item-box {
	min-height:126px;
}
.all-events .item-box .title {
    flex: 1;
    padding: 10px 35px;
    font-size: 1.6rem;
    line-height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #47627F;
	font-family: unset !important;
}
.all-events .item-box .city {
	width: 240px;
	/* color:#fff; */
}
.events-home {
    padding-left: 0px;
    padding-right: 0px;
}
.events > .link {
	text-align:center;
	margin-bottom:30px;
}
.events > .link > a {
	/* background: #47627F; */
	background: #00B200;
	border-radius: 10px;
	transition: all 0.2s;
}
.events > .link > a:hover  {
	background: #009800;
	/* background:#8FADCC; */
	/* color:#47627F; */
}

.green-button > a {
	background: #00B200 !important;
}
.green-button > a:hover {
	background: #009800 !important;
}

.programs-box {
	padding-bottom: 80px;
}
.programs-box > p {
	text-align:center;
}
.programs-box > .link,.news-box > .main-box > .link {
	text-align:center;
	margin-top:30px;
}
.news-box > .main-box > .link {
	margin-top:50px;
}
.events .link > a , .programs-box > .link > a,.news-box > .main-box > .link > a {
	padding:25px 50px;
	font-size: 2.1rem;
	color:#fff;
	display:unset;
}
.news-box > .main-box > .link > a {
	background-color:#FF9E67;
	/* background-color:#00B200; */
	transition: all 0.2s;
}
.news-box > .main-box > .link > a:hover {
    background-color: #FF7F50;
	/* background: #009800; */
	color:#fff;
}
.programs > .item{
	/* min-height:630px; */
	min-height:540px;
}
.item-program:hover {
	background:#D3E8FF;
	color: #47627F;
}
.item-program > .info-box {
	overflow: visible;
}
.item-program:hover > .info-box {
	color: #47627F;
}
.item-program:hover > .autor > span {
	background: #47627F;
	color:#fff;
}	
.item-program > .title {
	text-align:center;
	height: 60px;
}
.item-program .info-box .structure li {
	list-style-type:none;
	line-height:1.8em;
}
.yes > .fa-check {
	color:green;
}
.no {
	color:#818181;
	text-decoration:line-through;
}

.item-program .info-box .structure span {
	display:block;
	margin-left:1.8em;
	margin-top:-1.8em;
}
.item-program > .link {
	color:#333;
	font-family: 'BebasNeue-Bold';
	font-size: 3.9rem;
	text-decoration: none;
	text-transform: uppercase;
}
.item-program > .link > span{
	font-family: 'Roboto-Regular';
}
.item-program > .link:hover {
	background: #FF9E67;
}
.programs-box > .link > a{
	background-color:#00B200;
}
.programs-box > .link > a:hover {
	background: #009800;
	color:#fff;
}

.team {
	margin-top:100px;
}
.team-bottom {
	padding-bottom:40px;
}

.team-box .team {
	overflow:unset;
}
.item-team {
    padding-bottom: 30px;
}
.item-team .fio {
	min-height: 3em;
}
.item-team .img {
	width: 200px;
	height: 200px;
	margin-top:-60px;
	border:5px solid #FF9E67;
	transition: all 0.2s;
}
.item-team:hover >.img {
	border:5px solid #47627f;
}

.news-box .news .item {
    max-width: 25%;
    min-width: 25%;
}

.sample-box {
	text-align:center;
}
.sample-box >.news >.item{
	max-width: 33%;
    min-width: 33%;
	display:inline-block;
}
.sample-box .item{
	padding: 0 10px 20px;
}
.sample-box .color-mask {
	height:150px;
}

.item-news .left,.item-news .left .title,.item-news .left .addtext {
	color:#47627f;
	text-shadow:none !important;
}
.color-mask {
	position:relative;
	height:100px;
	width:100%;
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
}

.map-box {
	background-size:60%;
	background-repeat:no-repeat;
	background-position:20%;
}

@media (max-width:1000px){
	.orange-circle{
		top:50px;
	}
	.team-bottom {
		padding-bottom: 0px;
	}
	.all-events .item-box {
		/* min-height:400px; */
	}
	.all-events .item {
		max-width: 100%;
		width: 90%;
	}
		
	
	.all-events .item-box .city {
		margin-bottom: 20px;
	}
	.all-events .item-box .title {
		height: unset;
		text-align:left;
	}
	.sample-box > .news > .item {
		min-width: 48%;
	}
	.team-box .team .item {
		margin-bottom:55px;
	}
	.news-box .news .item {
		min-width: 100%;
	}
	.news-box {
		padding-bottom:60px;
	}
	.item-program .info-box {
		height: unset;
		text-align:left;
	}
	.programs-box > .link {
		margin-top:60px;
	}
	.programs-box > .link > a{
		padding:15px 25px;
	}
	.contact-box .contact {
		max-width: none;
		padding: 0 0 220px;
	}
	.map-box {
		background-position:right;
		background-size:contain;
	}
}

@media (min-width:1000px){
	.item-program:hover .info-box > .shadow {
		display:none;
	}
	.item-program .info-box .shadow {
		display:none;
	}
	.item-program .info-box {
		height:unset;
	}
}



/* ===Modal==== */

/* свойства модального окна по умолчанию */
.modal {
  position: fixed;
  /* фиксированное положение */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  /* цвет фона */
  z-index: 1050;
  opacity: 0;
  /* по умолчанию модальное окно прозрачно */
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  /* анимация перехода */
  pointer-events: none;
  /* элемент невидим для событий мыши */
}

/* при отображении модального окно */
.modal:target {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

/* ширина модального окна и его отступы от экрана */
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}

@media (min-width: 576px) {
  .modal-dialog {
	max-width: 80%;
	margin: 30px auto;
  }
}

/* свойства для блока, содержащего контент модального окна */
.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: .3rem;
  outline: 0;
}

@media (min-width: 768px) {
  .modal-content {
	-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
}

/* свойства для заголовка модального окна */
.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eceeef;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}

/* свойства для кнопки "Закрыть" */
.close {
  float: right;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  text-decoration: none;
}

/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus,
.close:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: .75;
}

/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
  overflow: auto;
}

.programs2 .item {
	min-width: calc(100% / 2);
	max-width: calc(100% / 2);
}

.tab-box {
	text-align:center;
	display:inline-block;
	margin:5px auto 30px;
	cursor: pointer;
}

input, .content {
    display: none;
}

#one:checked ~ .one,
#two:checked ~ .two {display: block;}

label {
    cursor: pointer;
	padding:10px 20px;
	border-radius:10px;
	border:2px solid #eee;
	/* font-weight:bold; */
	background: #eee;
}

.tab-box label:hover, input:checked + .tab-box label {
	background: #ff9e67;
	color:#fff;
	border:2px solid #ff9e67;
}

@media (max-width: 800px) {
  .programs2 .item {
	min-width: 0px;
	max-width: 300px;
  }
}

.news-box .payment-box h2 {
    font-size: 4.2rem;
    line-height: 4.2rem;
    text-decoration: none;
    color: #47627F;
    text-transform: uppercase;
	text-align: center;
	height: 60px;
	color:;
}
.programs-box > p,.news-box .payment-box p {
    /* color: #47627F; */
	font-size: 1.6rem;
	line-height: 2.2rem;
	margin: 15px;
	margin-bottom: 25px;
}
.pay-info {
	font-size: 1.6rem;
	margin:0px auto;
	width:50%;
}
.pay-info ul{
	list-style:none;
}
/* .pay-info b{ */
	/* color: #47627F;  */
/* } */
.payment-screen {
	background:#eee;
	padding:20px;
	border-radius:20px;
	font-size: 1.6rem;
	margin-bottom:40px !important;
}
.payment-screen ol{
	padding:20px 30px 0px 30px;
}
.payment-screen a{
	color: #47627F;
	font-weight:bold;
	text-decoration:underline;
}
.payment-screen .item-news{
	border-radius:unset;
	background-color:transparent;
}
.item-payment {
	height:450px;
	background-size:contain;
}

@media (max-width: 500px) {
	.payment-screen ol {
		padding:unset;
	}
}