.header-link a {
  color:#000;
  text-decoration: none;
}

.header-link a:hover {
  color:#69C;
  -webkit-transition:0.25s linear border-color;
  -o-transition:0.25s linear border-color;
  transition:0.25s linear border-color;
}

.index-content-container,
.gallery, 
.wrapper-news,
.wrapper-films,
.wrapper-lectures,
.contacts,
.contacts-grid {  
	display: inline-block;
	margin: 2% 0 2% 0;
}

.index-content-container div,
.item-news,
.gallery div,
.item-films,
.item-lectures,
.contact-item {
	display: inline-block;
	vertical-align: top;
}

.index-content-container {
	margin: 1% 0 1% 0;
}

.index-content-container div {
	height: 130px;
	width: 360px;
	margin-right: 20px;
	text-align: left;
}
 
.index-left-text,
.index-center-text {
	font-size: 24pt;
 	opacity: .9;
 	align-self: center;
 	line-height: 1em;
}

.index-center-text {
	padding-left: 100px;
}

.index-right-text {
	font-size: 24pt;
	line-height: 1em;
	margin-right: 97px;
}

.index-right-text-augmented {
    font-size: 24pt;
	line-height: 1em;
	margin-right: 97px;
}

.index-news {
	display: inline-block;
}

.index-news,
.manifest {
	margin-bottom: 2%;
}

.index-partners {
	display: block;
	margin: 2% 0 2% 0;
	width: 1150px;
}

.index-partners,
.more-news {
	text-align: center;
}

.index-partners div {
	min-width: 150px;
	min-height: 114px;
	text-align: center;
	display: inline-block;
	vertical-align: bottom;
	margin: 0 40px 10px 0;
}

/*contacts.php*/
.contacts {
	width: 100%;
	text-align: center;
	font-size: 16pt;
}
.contact-item {
	width: 360px;
	min-height: 380px;
	margin: 0 20px 5px 0;
	text-align: left;
	font-size: 13pt;
}

.map {
	margin-bottom: 1%;
}


/*news.php*/
.item-news,
.item-films {
	min-height: 340px;
	width: 358px;
	margin-right: 25px;
	text-align: left;
}

.more-news {
    margin: auto;
    width: 230px;
	margin-bottom: 20px;
}

.more-news p{
	font-size: 22pt;
	text-decoration: underline;
    color: #333333;
}

.more-news p:hover{
	color:#69C;
	cursor: pointer;
}

.zag-news {
	font-size: 20pt;
	text-decoration: none;
	text-transform: uppercase;
    color: #333333;
    width: 730px;
    height: 75px;
    float: left;
}

time {
	font-size: 11pt;
	width: 745px;
	height: 17px;
	margin-bottom: 20px;
}

.time-float {
	float: left;
}

.picture-news {
	width: 360px;
	float: right;
}

.text-news,
.manifest-text {
	float: left;
	width: 745px;
	margin-right: 30px;
}

.ya-share2 {
	margin-bottom: 3%;
} 

.news-id {
	margin: 3% 0 3% 0;
	font-size: 13pt;
}

.add-news {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-top: 1%; 
}

.add-news a {
	color: #cc0000;	
	font-size: 14pt;
	font-weight: bold;
}


.item-news a {
	text-decoration: none;
	border-bottom: 1px solid black;
	color: #333;
}

.item-news a:hover {
	color:#69C;
	text-decoration: none;
	border-bottom: 1px solid #69C;
}


.item-news div{
	font-size: 15pt;
	padding: 10px 0;
	text-transform: uppercase;
}

.item-news time {
	color:#888;
	font-size:11pt;
}

.news-container {
	justify-content: center;
}

.section-header-news {
	width: 1135px;
	height: 70px;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
		display: inline-flex;
	-webkit-box-pack: justify;
	  -ms-flex-pack: justify;
		 justify-content: space-between;
	-webkit-box-align: center;
	  -ms-flex-align: center;
	      align-items: center;
	font-size: 18pt;
	opacity: 1;
}

div a.browse{
	display:block;
	width:9px;
	height:15px;
    background: url(../images/sprite.png) -30px 0 no-repeat;
    position: relative;
	/*top:0;
	left:0;*/
	opacity:0.5;
}

div a.browse:hover {
	opacity:1;
}

div a.browse.prev {
	
}

div a.browse.next {
	background-position: -45px 0;
	
}

.header-news {
	text-transform: uppercase;
	text-decoration: underline;
	font-size: 12pt;
	color: black;
}

.header-news:hover {
	color:#69C;
	-webkit-transition:0.25s linear border-color;
	-o-transition:0.25s linear border-color;
	transition:0.25s linear border-color;
}

/*festival.php*/
.manifest {
	margin-top: 3%;
	font-size: 13pt;
}

.manifest-picture {
	float: right;
	width: 358px;
}

.signature {
	width: 360px;
	text-align: center;
	font-style: italic;
	float: right;
	margin: 1% 0 2% 0;
}

.regulations {
	margin: 2% auto 2% auto;
	font-size: 13pt;
}

.gallery div {
	width: 358px;
	height: 240px;
	margin-right: 25px;
	margin-bottom: 25px;
	text-align: left;
}

.gallery > div > a > img {
    width: 100%;
    height: 100%;
}

.partners {
	display: block;
	margin: 2% 0 2% 0;
	width: 1150px;
	text-align: center;
}


.partners div {
	display: inline-block;
	width: 261px;
	height: 125px;
	margin-right: 10px;
	text-align: center;
	vertical-align: baseline;
	color: black;
}

.partners > div > a {
	color: black;
	text-decoration: underline;
	font-size: 13pt;
}

img.tiny{
	width:60px;
}

img.medium {
  /* width: 260px; */
  width: 358px;
  /*max-height: 100%;*/
  object-fit: contain;
  max-width: 100%;
  height: 240px;
}
img.pic_filmpage {
    max-width: 746px;
}

/* style.css | https://futuredoc.ru/css/style.css */

img.img-schedule {
  width: 300px;
  height: 200px;
  object-fit: contain;
}

/*фильмы сетка*/
/*.item-films {
  width: 360px;
  height: auto;
  margin-right: 23px;
  margin-bottom: 23px;
  text-align: left;
}*/

.item-lectures {
	min-height: 240px;
	width: 260px;
	margin: 0 25px 25px 0;
	text-align: left;
}

.item-films a,
.item-lectures a {
	text-decoration: none;
	border-bottom: 1px solid black !important;
	color: #333;
}

.item-lectures-img img{
	text-decoration: none;
	color: #333;
}

.item-films a:hover,
.item-lectures a:hover {
	color:#69C;
	text-decoration: none;
	border-bottom: 1px solid #69C;
}

.item-films div,
.item-lectures div{
	font-size: 12pt;
	padding: 5px 0;
	text-transform: uppercase;
}

/*фильм*/
.left{
	float:left;
}
.right{
	float:right;
}

i {
	font-style: italic;
}

.trailer {
	display: -webkit-flex; 
	-webkit-justify-content: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.twocol > .left{
	width:745px;
	
}
.twocol > .right{
	width:358px;
}

.film {
	margin-top: 30px;
}

.film h3 {
	padding:0;
	margin: 0px 0 20px 0;
	text-transform: uppercase;
}

.film .info{
	margin:10px 0 0 0;
}

.film .afisha{
	margin:10px 0 0 0;
}
.film .afisha time{
	display:block;
	font-style: italic;
}

.film > .twocol > .right > h4{
	font-weight:normal;
	margin:20px 0 0 0;
	padding:0;
}
.film .about{
	font-size: 16px;
	margin:5px 0 0 0;
}

.subtwocol{
	margin-top:60px;
}
.subtwocol.second{
	margin-top:20px;
}
.subtwocol h4{
	font-size:18px;
}
.subtwocol > .left{
	width:358px;
}
.subtwocol > .right{
	width:358px;
}
.subtwocol img.portrait{
	margin:0 0 20px 0;
}
.subtwocol h4{
	text-transform: uppercase;
	font-weight:normal;
	margin:0 0 0 0;
	padding:0;
}
.subtwocol h4:first-child{
	margin:-7px 0 0 0;
}

.film .award{
	background:#5B8BCD;
	color:#fff;
	padding:16px 16px 16px 59px;
	font-size:18px;
	font-weight:bold;
	position:relative;
	margin-bottom:36px;
}

/*редактирование и удаление*/
.controls a {
	text-decoration: none;
	border-bottom: none;
}

.controls a:hover {
	text-decoration: none;
	border-bottom: none;
}

/*для наградного значка*/
/*.film .award:before{
	display:block;
	content:'';
	position:absolute;
	width:24px;
	height:24px;
	left:17px;
	top:15px;
	background: url(../images/winnerw.png) 0 0 no-repeat;
}
*/

.events {
	margin-top: 30px;
}

.events h3 {
	padding:0;
	margin: 0px 0 20px 0;
	text-transform: uppercase;
	font-size: 20pt;
}

.events .afisha{
	margin:10px 0 0 0;
}
.events .afisha time{
	display:block;
	font-style: italic;
}
.events .about{
	font-size: 16pt;
}
.events > .twocol > .left{
	width:843px;
}
.events > .twocol > .left.full{
	width:100%;
}
.events > .twocol > .right{
	width:261px;
	margin-right: 15px;
}
.events > .twocol > .right > h4{
	font-weight:normal;
	margin: 20px 0 0 0;
	padding:0;
}

.speakers_list .item{
	margin:0 0 20px 0;	
}
.speakers_list > div {
	font-size: 12pt;
}
.speakers_list .sname{
	text-transform: uppercase;
	margin: 10px 0 0;
	font-size: 12pt;
}

.speakers_list .sname a {
	text-decoration: none;
	border-bottom: 1px solid black;
	color: #333;
}

.speakers_list .sname a:hover  {
	color:#69C;
	text-decoration: none;
	border-bottom: 1px solid #69C;
}
/*спикер*/
.article.jury {
	margin-top: 30px;
}
.jury .item>a>img{
	width: 358px;
}
.article.jury .left, .article.jury .right{
	width: 553px;
}
.article.jury h4{
	font-size: 18pt;
	padding:0 0 20px 0;
}
.article.jury h3{
	text-transform: uppercase;
	font-size: 26pt;
	padding:0 0 20px 0;
}
.article.jury .right img{
	width:100%;
}
.article.jury .left{
	font-size: 12pt;
}
.event-menu a.circle {
	position:relative;
	padding-left:38px;
	margin-left:10px;
	max-width:170px;
	white-space: normal;
}

.event-menu a.circle:after {
	content: " "; 
    display: block; 
    width: 32px; 
    height: 32px; 
    background-color:#dddddd;
    clear: both; 
    font-size:1px;
	border-radius: 16px;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	-o-border-radius: 16px;
    position:absolute;
    left: 0;
    top: -5px;
}
.event-menu a.circle.bg_cinema:after {
	background-color:#1197a7;
}
.event-menu a.circle.bg_lectures:after {
	background-color:#ffaf60;
}

.event-menu a.circle.bg_forum:after {
	background-color:#9287ba;
}

.partner-logo{
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 200px;
    height: 100px;
}

.schedule {
	width: 800px;
	margin: auto;
}
.schedule-item {
	display: flex;
	position: relative;
	min-height: 100px;
	white-space: normal;
	margin-top: 15px;
	margin-bottom: 15px;
}
.schedule-item div:first-child {
	padding-left: 30px; 
}
.schedule-item:after {
	content: " "; 
    display: block; 
    width: 20px; 
    min-height: 100%; 
    background-color:#dddddd;
    clear: both; 
    font-size:1px;
    position:absolute;
    left: 0;
    top: 0;
}
.schedule-item.cinema:after {
	background-color:#1197a7;
}
.schedule-item.lectures:after {
	background-color:#ffaf60;
}

.schedule-item.forum:after {
	background-color:#9287ba;
}

@supports (display: grid) {

	/*index.php*/
	.index-content-container {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: 130px;
		grid-template-rows: 130px;
		-ms-grid-columns: (360px)[3];
		grid-template-columns: repeat(3, 360px);
		grid-column-gap: 30px;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-ms-flex-line-pack: center;
		align-content: center; 
		-webkit-box-pack: center; 
		-ms-flex-pack: center; 
		justify-content: center;    
		line-height: 2em;
	}

	.index-center-text {
		justify-self: center;
	}

	.index-right-text {
		margin-left: 10px;
	}

	.index-news {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: auto;
		    grid-template-rows: auto;
		-ms-grid-columns: (360px)[3];
		    grid-template-columns: repeat(3, 360px);
		grid-row-gap: 18px;
	    grid-column-gap: 30px;
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;  
	    justify-content: space-between;  
	}

	/*новости news.php*/
	.wrapper-news {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: repeat(3, 358px);
		    grid-template-columns: repeat(3, 358px);
	    -ms-grid-rows: (auto)[2];
	        grid-template-rows: repeat(2, auto);
	    grid-row-gap: 15px;
	    grid-column-gap: 30px;
	    -webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center; 
		align-content: center;  
	}

	.picture-news {
		-ms-grid-row: 1;
		-ms-grid-row-span: 2;
		grid-row: 1 / 3;
	    -ms-grid-column: 2;
	    -ms-grid-column-span: 1;
	    grid-column: 2 / 3;
	}

	.news-id {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: 100px 1fr;
		    grid-template-rows: 100px 1fr;
		-ms-grid-columns: 745px 358px;
		    grid-template-columns: 745px 358px;
		grid-column-gap: 20px;
		grid-row-gap: 20px;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center; 
	}

	/*festival.php*/
	.manifest {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: 1fr;
		    grid-template-rows: 1fr;
		-ms-grid-columns: 755px 358px;
		    grid-template-columns: 755px 358px;
		grid-column-gap: 30px;
	}

	.regulations {
		display: -ms-grid;
		display: grid;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;  
		-ms-grid-rows: 1fr;  
		    grid-template-rows: 1fr;
		-ms-grid-columns: 1134px;
		    grid-template-columns: 1134px;
	}

	.gallery {
		display: -ms-grid;
		display: grid;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		grid-gap: 30px;
	    -ms-grid-columns: (358px)[3];  
	        grid-template-columns: repeat(3, 358px);
	    -ms-grid-rows: 240px;
	        grid-template-rows: 240px;
	}

	.gallery > div > a > img {
	    object-fit: cover;
	}

	.wrapper-films {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: repeat(3, 360px);
		    grid-template-columns: repeat(3, 360px);
	    -ms-grid-rows: (auto)[2];
	        grid-template-rows: repeat(2, auto);
	    grid-gap: 15px;
	    -webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center; 
		align-content: center; 
		margin-bottom: 2%;
	}

	/*contacts*/
	.contacts-grid {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: auto;
		    grid-template-rows: auto;
		-ms-grid-columns: (360px)[3];
		    grid-template-columns: repeat(3, 360px);
		grid-gap: 15px;
		-webkit-box-align: center;
      	-ms-flex-align: center;
          align-items: center;
          justify-items: center;
        -webkit-box-pack: justify;
      	-ms-flex-pack: justify;
          justify-content: space-between; 
	}

	.wrapper-lectures {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: repeat(4, 260px);
		    grid-template-columns: repeat(4, 260px);
	    -ms-grid-rows: (auto)[3];
	        grid-template-rows: repeat(3, auto);
	    grid-row-gap: 15px;
	    grid-column-gap: 30px;
	    -webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center; 
		align-content: center;
		margin: 2% 0 10% 0; 
	}

}