.schedule-container {
	min-height: 120px;
	width: 100%;
	float: left;
	margin: 10px 0;
	position: relative;
	background-color: transparent;
}
.schedule-container.sold-out {
	background: inherit;
}
.schedule-container.sold-out .one-schedule {
	/*opacity: 0.6;
	filter: alpha(opacity=60);*/
}
.schedule-container.sold-out .one-schedule:hover {
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;
}

.schedule-time-container {
	min-height: 1px;
	width: 62px;
	float: left;
	display: inline-block;
}

.schedule-time-and-duration {
	height: 82px;
	width: 60px;
	float: left;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
}
.schedule-time {
	width: 100%;
	font-size: 1.8em;
	float: left;
}
.schedule-duration, .schedule-ending-time {
	width: 100%;
	float: left;
}

.schedule-container:hover .schedule-omakava-add, .schedule-container:hover .schedule-omakava-remove {
	display: none;
}
.schedule-container.out-omakava:hover .schedule-omakava-add {
	display: block;
}
.schedule-container.in-omakava:hover .schedule-omakava-remove {
	display: block;
}
.schedule-omakava-add, .schedule-omakava-remove {
	height: 24px;
	width: 24px;
	padding: 0;
	position: absolute;
	bottom: -2px;
	left: calc((60px - 24px) / 2);
	z-index: 5;
	display: none;
	overflow: hidden;
}
.schedule-omakava-add.est:hover {
	width: 150px;
}
.schedule-omakava-remove.est:hover {
	width: 170px;
}
.schedule-omakava-add.eng:hover {
	width: 170px;
}
.schedule-omakava-remove.eng:hover {
	width: 215px;
}
.schedule-omakava-add.rus:hover {
	width: 240px;
}
.schedule-omakava-remove.rus:hover {
	width: 245px;
}
.schedule-omakava-add > div, .schedule-omakava-remove > div {
	height: 24px;
	width: 24px;
	float: left;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 5;
}
.schedule-omakava-add > span, .schedule-omakava-remove > span {
	height: 24px;
	line-height: 24px;
	float: left;
	padding-right: 5px;
	z-index: 4;
	color: white;
}

.schedule-code-next-to-time {
	display: none;
}

.one-schedule {
	min-height: 100px;
	height: calc(100% - 20px);
	width: calc(100% - 92px);
	float: left;
	display: inline-block;
	position: relative;
	margin-left: 10px;
	padding: 10px;
	color: black;
	overflow: visible;
	-webkit-transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
	transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
}

.schedule-info-container {
	height: 100%;
	width: calc(100% - (100px * 16 / 9));
	float: left;
	display: inline-block;
}

.schedule-photo {
	height: 110px;
	width: calc(100px * 16 / 9);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 2px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 5px;
}


.schedule-first-col {
	height: 100%;
	width: 35%;
	float: left;
}

.schedule-title {
	color: #f39133;
	text-decoration: none;
}
.schedule-title-original {
	text-decoration: none;
}
.schedule-premiere {
	color: #f39133;
	font-style: italic;
	text-decoration: none;
}
.schedule-programs {
	width: 100%;
	float: left;
	margin-top: 5px;
}
.schedule-program-flex-colors {
	display: none;
}
.schedule-first-col .schedule-additional-info {
	display: none;
}


.schedule-second-col {
	height: 100%;
	width: 35%;
	float: left;
	margin-left: 10px;
}

.schedule-venue-name, .schedule-venue-hall {
	font-weight: bold;
}
.schedule-venue-name-and-hall {
	display: none;
}
.schedule-country-and-year {
	width: 100%;
	float: left;
}
.schedule-languages {
	width: 100%;
	float: left;
}
.schedule-second-col .schedule-code {
	display: none;
}


.schedule-third-col {
	height: 100%;
	width: calc(30% - 20px);
	margin-left: 10px;
	padding-bottom: 40px;
	float: left;
}

.schedule-additional-info {
	width: 100%;
	float: left;
	color: #f39133;
}
.schedule-extra-buttons {
	position: absolute;
	right: 190px;
	bottom: 5px;
	z-index: 2;
}
.schedule-piletilevi-link, .schedule-sold-out {
	margin-left: 7px;
}
.schedule-piletilevi-link.code {
	display: none;
}
.schedule-qa {
	line-height: 30px;
}
.schedule-qa-names-container {
	z-index: 6;
}



/* NEXT SCREENING */

.next-screening-container {
	min-height: 110px !important;
	width: calc(100% - 20px);
	float: left;
	margin-left: 0;
	line-height: normal;
}

.next-screening-name {
	min-width: calc(100% - 190px);
	max-width: 100%;
	float: left;
	display: inline-block;
	color: #F39133;
}

.next-screening-name strong {
	padding-top: 0;
}

.next-screening-photo {
	height: 110px;
  width: calc(100px * 16 / 9);
	margin-left: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
	float: right;
	display: inline-block;
}

.next-screening-info {
	width: calc(100% - (100px * 16 / 9) - 10px);
	float: left;
	display: inline-block;
}

.next-screening-time-and-duration {
	width: 100%;
	float: left;
	display: inline-block;
}

.next-screening-time {
	font-size: 1.5em;
}

.next-screening-date {
	width: 100%;
	margin-top: 4px;
	float: left;
	display: inline-block;
}

.next-screening-venue {
	width: 100%;
	margin-top: 5px;
	float: right;
	display: inline-block;
}

.next-screening-venue * {
	width: 100%;
	display: inline-block !important;
	font-weight: normal;
}


@media (max-width: 915px) {
	.one-schedule {
		min-height: 146px;
	}
	.schedule-photo {
		top: 5px;
		bottom: auto;
	}

	.schedule-extra-buttons {
		right: 5px;
	}

	.schedule-first-col {
		width: 50%;
	}
	.schedule-second-col {
		width: calc(50% - 10px);
	}
	.schedule-third-col {
		padding-bottom: 0px;
	}

	.schedule-first-col .schedule-additional-info {
		display: inline-block;
	}
	.schedule-third-col .schedule-additional-info {
		display: none;
	}
	.schedule-second-col .schedule-code {
		display: inline-block;
	}
	.schedule-third-col .schedule-code {
		display: none;
	}
}

@media (max-width: 600px) {
	.one-schedule {
		min-height: 170px;
	}
	.schedule-info-container {
		width: 100%;
	}
	.schedule-first-col {
		width: calc(100% - (100px * 16 / 9));
	}
	.schedule-second-col {
		width: calc(100% - (100px * 16 / 9));
		margin-left: 0;
	}
	.schedule-third-col {
		height: auto;
		width: calc(100px * 16 / 9);
		margin: 10px 0 35px 0;
		float: right;
	}

	.schedule-first-col .schedule-additional-info {
		display: none;
	}
	.schedule-third-col .schedule-additional-info {
		display: inline-block;
	}
	.schedule-second-col .schedule-code {
		display: none;
	}
	.schedule-third-col .schedule-code {
		display: inline-block;
	}
}

@media (max-width: 470px) {
	.schedule-time-and-duration {
		height: auto;
		width: 185px;
		position: inherit;
		text-align: left;
	}
	.schedule-time {
		width: auto;
		float: left;
	}
	.schedule-duration {
		width: auto;
		margin-top: 10px;
		margin-left: 10px;
		float: left;
	}
	.schedule-ending-time {
		width:auto;
		margin-top: 10px;
		margin-left: 10px;
	}

	.schedule-code-next-to-time {
		width: calc(100% - 185px);
		display: inline-block;
		margin-top: 10px;
		margin-right: 10px;
		float: right;
		text-align: right;
	}
	.schedule-code-next-to-time.logged-in {
		width: calc(100% - 185px - 30px);
	}

	.schedule-container.out-omakava .schedule-omakava-add {
		display: block;
	}
	.schedule-container.in-omakava .schedule-omakava-remove {
		display: block;
	}
	.schedule-omakava-add, .schedule-omakava-remove {
		top: 8px;
		left: 0px;
		position: inherit;
		float: right;
	}
	.schedule-omakava-add:hover, .schedule-omakava-remove:hover {
		width: 24px !important;
	}

	.one-schedule {
		min-height: 140px;
		width: calc(100% - 20px);
		margin-left: 0;
	}
	.schedule-photo {
		height: 100px;
		width: calc(100px * 16 / 9);
	}

	.schedule-info-container {
		width: calc(100% - 180px);
	}
	.schedule-first-col {
		width: 100%;
	}
	.schedule-second-col {
		width: 100%;
		margin-left: 0;
	}

	.schedule-venue-name, .schedule-venue-hall {
		display: none;
	}
	.schedule-venue-name-and-hall {
		display: inline-block;
	}

	.schedule-programs {
		display: none;
	}
	.schedule-program-flex-colors {
		display: inline-flex;
	}

	.schedule-third-col {
	    width: 100%;
	    margin: 0;
	}
	.schedule-third-col .schedule-code {
		display: none;
	}

	.schedule-extra-buttons {
		right: 5px;
		bottom: 8px;
		margin:auto;
	}
}

@media (max-width: 380px) {
	.schedule-code-next-to-time > span {
		display: none;
	}
}

@media (max-width: 365px) {
	.schedule-info-container {
		width: calc(100% - 160px);
	}
	.schedule-photo {
		height: 100px;
		width: calc(90px * 16 / 9);
	}
	.schedule-qa {
		padding: 5px 0 5px 5px;
	}
	.schedule-qa > span {
		margin-right: -2px;
	}

	.next-screening-photo {
		height: 100px;
	  width: calc(90px * 16 / 9);
	}
	.next-screening-info {
		width: calc(100% - (90px * 16 / 9) - 10px);
	}
}

@media (max-width: 350px) {
	.schedule-photo {
		left: 5px;
	}

	.schedule-info-container {
		width: 100%;
		margin-top: 115px;
		padding-bottom: 40px;
		text-align: center;
	}
	.schedule-first-col {
		width: 100%;
	}
	.schedule-second-col {
		width: 100%;
		margin-left: 0;
	}
	.schedule-third-col {
		width: 100%;
		margin: 0;
	}

	.schedule-code {
		position: inherit;
	}

	.schedule-extra-buttons {
		left: 5px;
	}
}

@media (max-width: 345px) {
	.next-screening-photo {
		height: 90px;
	  width: calc(80px * 16 / 9);
	}
	.next-screening-info {
		width: calc(100% - (80px * 16 / 9) - 10px);
	}
}

@media (max-width: 325px) {
	.next-screening-name {
		width: 100%;
	}
	.next-screening-photo {
		height: 80px;
	  width: calc(70px * 16 / 9);
	}
	.next-screening-info {
		width: calc(100% - (70px * 16 / 9) - 10px);
	}
}

@media (max-width: 305px) {
	.next-screening-photo {
		height: 70px;
	  width: calc(60px * 16 / 9);
		margin-left: 5px;
	}
	.next-screening-info {
		width: calc(100% - (60px * 16 / 9) - 5px);
	}
}

@media (max-width: 300px) {
	.schedule-omakava-add-text {
		padding: 0 3px;
	}

	.schedule-time-and-duration {
		width: 110px;
	}
	.schedule-duration {
		display: none;
	}
	.schedule-code-next-to-time {
		width: calc(100% - 110px);
	}
	.schedule-code-next-to-time.logged-in {
		width: calc(100% - 110px - 30px);
	}

	.schedule-photo {
		width: calc(100% - 20px);
	}
}

@media (max-width: 285px) {
	.next-screening-photo {
		height: 60px;
	  width: calc(50px * 16 / 9);
	}
	.next-screening-info {
		width: calc(100% - (50px * 16 / 9) - 5px);
	}
}

@media (max-width: 265px) {
	.next-screening-photo {
		height: 50px;
	  width: calc(40px * 16 / 9);
	}
	.next-screening-info {
		width: calc(100% - (40px * 16 / 9) - 5px);
	}
}

@media (max-width: 245px) {
	.next-screening-name {
		text-align: center;
	}
	.next-screening-photo {
		display: none;
	}
	.next-screening-info {
		width: 100%;
		text-align: center;
	}
}
