/* template by Elixir.ee */

html {
  position: relative;
  min-height: 100%;
}
body {
}

/* fix c5 admin colors */
.cke span {color:#000 !important;}


h1, h2, h3, h4 {font-family: 'NewberlinOT-Bold', sans-serif; text-transform:uppercase; margin-bottom:1.5rem;}
body, span, p, li {font-family: 'Apercu-Regular', sans-serif;}
.thin {font-family: 'NewberlinOT', sans-serif; font-weight:300;}
p {margin-bottom:1.5rem;}

.bg-blue { background-color:#1e1482 !important;}
.bg-white{ background-color:#ffffff !important;}

.yellow {color:#e6eb1e !important;}

h2 {font-size:30px;}
.bg-blue h1, .bg-blue h2, .bg-blue h3 {color:#e6eb1e }
.bg-blue p, .bg-blue span, .bg-blue table, body.bg-blue {color:#fff;}
.bg-blue a {color:#e6eb1e;}
.bg-white p a, .bg-white li a {text-decoration:underline;}

.bg-white h1, .bg-white h2, .bg-white h3 {color:#1e1482 }
.bg-white p, .bg-white span, .bg-white table, body.bg-white {color:#1e1482;}
.bg-white a {color:#1e1482;}

/* footer*/
.footer {
	background: #e6eb1e;
	color:#1e1482;
}
.footer span, .footer p {color:#1e1482;}
.footer-logo {height:45px; width:auto; padding:5px;}

/* navbar */
.navbar-maff .nav-link {padding-left:0 !important; padding-right:0 !important; text-decoration:none;}
.logo-text {font-size:90px;}
.bg-blue .navbar-maff {background:#1e1482;}
.navbar-maff .navbar-nav a {text-transform:uppercase; font-family: 'NewberlinOT-Bold', sans-serif; font-size:22px; margin-left:20px; padding-bottom:0;}
.bg-blue .navbar-maff .navbar-nav a{color:#ffffff !important; border-bottom:6px solid #1e1482;}
.bg-blue .navbar-maff .navbar-nav a:hover, .bg-blue .navbar-maff .navbar-nav .active a {border-bottom:6px solid #e6eb1e; }
.bg-blue .logo-text {color:#e6eb1e;}

.bg-white .navbar-maff {background:#ffffff;}
.bg-white .navbar-maff .navbar-nav a{color:#1e1482 !important; border-bottom:6px solid #ffffff;}
.bg-white .navbar-maff .navbar-nav a:hover, .bg-blue .navbar-maff .navbar-nav .active a {border-bottom:6px solid #e6eb1e; }
.bg-white .logo-text {color:#1e1482;}

.navbar-maff .dropdown-item:focus, .navbar-maff .dropdown-item:hover, .navbar-maff .dropdown-item {margin-left:0 !important; background:#1e1482;}
.bg-blue .dropdown-menu {background:#1e1482;}

.navbar-toggler {
	padding: .5rem;
	font-size: 1.25rem;
	line-height: 1;
	border: 1px solid #e6eb1e;
	border-radius: 2rem;
	background-color: #e6eb1e;
	color:#1e1482;
}

.navbar-maff .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(30,20,130, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
button:focus {outline:none}

/* single film page */
.single_film .table td {text-align:right; font-size:14px;  }
.single_film .table td + td {text-align:left;}
.agelimit {width:60px; margin-top:-20px; margin-bottom:15px;}

.printonly {display:none;}

/* films and sorting */
.element-item a {text-decoration:none !important}
.element-item {min-height:400px;}
.list-title {border-bottom:10px solid #1e1482; }
.film-date {font-size:30px; color:#e6eb1e; text-transform:uppercase; font-family: 'NewberlinOT-Bold', sans-serif; }
.film-time {color:#fff;}
.finalist {position:absolute; bottom:0; background: #e6eb1e;	color:#1e1482 !important; width:100%; padding:8px; padding-bottom:4px;}

	.element-item:nth-of-type(odd) {padding-right:30px;}
	.element-item:nth-of-type(even) {padding-left:30px;}

.bg-blue .dropdown-menu {border-radius:0; border:none;}
.bg-blue .dropdown-item {color:#fff;}
.bg-blue .dropdown-item:focus, .bg-blue .dropdown-item:hover, .bg-blue .dropdown-item.is-checked {background: #e6eb1e;	color:#1e1482;}
.bg-blue .btn-maff {border:2px solid #fff; color:#fff; border-radius:0; }
.bg-white .btn-maff {border:2px solid #1e1482; color:#1e1482; border-radius:0; }
.bg-blue .btn-maff-secondary {border:2px solid #fff; background:#fff; color:#1e1482; border-radius:0;}
.filter-button {padding:20px;}
#sorts span {cursor:pointer}


.quicksearch::-webkit-input-placeholder { /* Edge */
  color: #fff;
}

.quicksearch:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
}

.quicksearch::placeholder {
  color: #fff;
}


/* single film */
.table-timetable td {padding:0;}
.single-film-details td {width:50%;}
.recommended:nth-of-type(odd) {padding-right:30px;}
.recommended:nth-of-type(even) {padding-left:30px;}

/* partners */
.partners {background:#fff; color:#1e1482;}
.partner {padding:1em; width:14%; text-align:center;}
.bg-blue .partners h1 {color:#1e1482;}
.partner-text {text-transform:uppercase; font-size:20px;}

/* Doris */
.modal-content, .modal-header {border-radius:0 !important; border:0;}
.modal-backdrop {background-color:#1e1482; opacity:1 !important; }
.close, .mfp-image-holder .mfp-close {text-shadow:none; opacity:1; color:#e6eb1e !important; font-size:30px;}
.doris {font-size:22px;}

/* gallery */
.mfp-bg {background-color:#1e1482; opacity:1 !important;}
.mfp-arrow {color:#e6eb1e !important; opacity:1 !important;}
.mfp-arrow-right:before, .mfp-arrow-left:before {border:0; }
.mfp-arrow-right:after {border-left-color:#e6eb1e;}
.mfp-arrow-left:after {border-right-color:#e6eb1e;}
.sg-item:hover .sg-item-overlay {background:rgba(30, 20, 130, 0.7);}

/* fix c5 */


/* mobile first */	
@media (min-width: 1200px) { 
	/* twinkling stars */
 	body.bg-blue {background: transparent url(../images/tahed_bg3.png) repeat;}
	.blink-bg{
		animation: blinkingBackground 16s infinite;
		z-index:-10000;
		height:100%; 
		width:100%;
		position:absolute;
		background: transparent url(../images/twinkling2.png) repeat;
	}
	.blink-bg2{
		animation: blinkingBackground2 17s infinite;
		z-index:-1000;
		height:100%; 
		width:100%;
		position:absolute;
		background: transparent url(../images/twinkling3.png) repeat;
	}
	@keyframes blinkingBackground{
		0%		{ opacity:0}
		50%		{ opacity:1}
		100%	{ opacity:0}
	}
	@keyframes blinkingBackground2{
		0%		{ opacity:1}
		50%		{ opacity:0}
		100%	{ opacity:1}
	}
}

@media (max-width: 1199.98px) {
	.logo-text {font-size:45px;}
	.navbar-brand {padding-bottom:0; padding-top:1rem;}
	.nav-link {display:inline-block; margin-top:2px; margin-bottom:0px;}
}

@media (max-width: 991.98px) {
	.element-item {min-height:auto;}
	.single_film .table td {text-align:left; }
	.single_film .table td + td {text-align:left;}
	.btn {font-size:14px;}
	h1, h2 {font-size:28px;}
	.finalist-mobile {position:absolute; bottom:0; left:0; width:auto;}
	.navbar-maff .navbar-nav a {margin-left:0; font-size:22px;}
	
	.filter-button{width:50%; padding:10px; padding-left:15px; padding-right:15px;}
	.filter-button .btn-maff {width:100%;}
	.filter-button .dropdown-menu {width:100%;}
	
	.recommended:nth-of-type(odd) {padding-right:15px;}
	.recommended:nth-of-type(even) {padding-left:15px;}
	
	.partner {width:20%}
}

@media (max-width: 767.98px) { 
	.footer-logo {padding-left:0;}
	.partner {padding:1em; width:24%}
}

@media (max-width: 575.98px) {
	.footer-festival-logo {max-width:30%; margin-bottom:1rem;}
	.filter-button{width:100%; padding:5px; padding-left:15px; padding-right:15px;}
	
	.partner {padding:1em; width:30%}
}
