/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
    - Preloader -
	- Header -
    - home section -
    - About section -
    - screenings section -
    - castcrew section -
    - press section -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';
@import url("Averta/stylesheet.css");

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Averta'
*/


/* typography
==================================================*/

h1 {
	font-family: 'Averta',;
	font-size: 40px;
	line-height: 30px;
	color: #FFF;
}

h2{
	font-family: Averta;
	font-size: 22px;
	line-height: 10px;
	color: #FFF;
	text-align: center;
	padding-top: 20px;
}

h3{
	font-family: Averta;
	font-size: 14px;
	font-style: normal;
	line-height: 8px;
	color: #FFF;
	text-align: left;
	margin-left: 22%;
	margin-right: 22%;
}

h6{
	font-family: Averta;
	font-size: 14px;
	font-style: normal;
	line-height: 8px;
	color: #FFF;
	text-align: left;
	margin-left: ;
	margin-right: ;
}

h4 {
	font-family: 'Averta' ;
	text-transform: capitalize;
	letter-spacing: 2px;
	position: relative;
	color: #FFFFFF;
	margin-left: 0px;
	font-weight: 700;
}

h5 {
    font-family: 'Averta Light';
	font-size: 20px;
	line-height: 20px;
	color: #FFF;
	text-align:left
    
}

h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
      display: block;
    height: 2px;
    background: #425BB5;
    top: 9px;
}

}

h5 {
    font-family: Averta Light;
	font-size: 18px;
	line-height: 9px;
	color: #FFF;
	text-align:left
    
}



/* General
==================================================*/

body {
	
    font-family: Averta;
    font-size: 14px;
    line-height: 24px;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}

.wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.wrapper > div {
	border: none;
	border-radius: 0px;
	background-color: #413e3b;
	padding: 10px;
	color: #413e3b;
	text-align: center;
}.wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
	grid-auto-rows: minmax(100px, auto);
	padding-bottom: 50px;
}
.one {
  grid-column: 1 ;
  grid-row: 1/4;
}
.two { 
  grid-column: 2;
  grid-row: 1;
}
.three {
  grid-column: 2;
  grid-row: 2;
}
.four {
  grid-column: 2;
  grid-row: 3;
}

a {
    white-space: nowrap;
    display: inline;
}



/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}

#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}

#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}

.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}

.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #425BB5;
    border-top: 2px solid transparent;
    border-radius: 100%
}

.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}

@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}

@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@-webkit-keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


/* Header
==================================================*/

header {
text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
	display: inline-block;
	padding-left: 0;
	list-style: none;
	padding: 20px;
	margin-bottom: 0;
	-webkit-transition: all .5s;
	transition: all .5s;
	color: #999;
	font-size: 13px;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-size: 13px;
    font-weight: bold;
}

.bg-nav {
    background: #413e3b;
    border-bottom: 0px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #FFF;
    text-decoration: none;
}

a:hover {
	color: #FFF;
	text-decoration: none;
}

a.active {
	color: #FFF;
}


/* home section
==================================================*/

#home 

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}


/* about section
==================================================*/

#about {
	color: 413e3b;
	background-color: #413e3b;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
	margin-right: 0px;
	margin-left: 0px;
}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border:0px solid #425BB5;
    width: 0px;
    height: 0px;
    top: 0px;
    left: 0px;
    z-index: 1
}

.videoWrapper {
position: relative;
height: 100%;
width: auto;
}

.videoWrapper iframe,
.videoWrapper embed,
.videoWrapper object {
position: absolute;
width: 100%;
height: XXXXpx;
margin-top: -XXpx;
left: 0;
top: 50%;
}

/* screenings section
==================================================*/

#screenings {
	padding: 10px 0;
	background: #000;
	text-align: center;
}

.screenings-row {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.screenings-row h3 {
    font-family: 'Averta Light', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #425BB5;
    font-size: 16px;
    font-weight: bold
}

.screenings-row p {
    color: #fff;
    margin-top: 20px;
    font-size: 15px;
}

.screenings-row .date {
    color: #000;
    font-size: 17px;
}

.timeline {
	padding-left: 0;
	list-style: none;
	position: relative;
	margin-left: 0px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-left-style: none;
	border-style: none;
}

.timeline:before {
    background-color: black;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 0em;
    width: 0px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #425BB5;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #425BB5;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
}

.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
}

.timeline-event-copy strong {
    font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #425BB5;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #425BB5;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}


/* castcrew section
==================================================*/

#castcrew {
	padding: 0;
	background: #413e3b;
	text-align: center;
	display: inline-block;
	padding-right: 0px;
	padding-bottom: 10px;
	overflow: auto;
	float: left;
	width: 100%;
	min-width: 98%;
	height: auto	
}

.cast-crew {text-align:center;}
.cast-crew img {margin-left:20px;margin-right:20px;}
.cast-crew img.first {}
.cast-crew img.last {}
.cast-crew ul {}
.cast-crew ul li {display: inline; list style;}


.container-bio{
width:100%;
height:300px;
background-color:413e3b;
}
.content{
float:left;
height:300px;
}
.content-photo{
	background-color: 413e3b;
	width: 220px;
	height: 220px;
}
.content-bio{
	width: 500px;
	background-color: 413e3b;
	float: right;
	margin-left: 20px;
	margin-right: 30px;
	margin-top: 20px;
	margin-bottom: 20px;
}



.modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
    border: none;
}

.popup-modal {
    background: #fff;
}

.close-popup-modal {
    float: right;
    margin: 20px;
    font-size: 22px;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
    position: fixed;
    z-index: 100000;
    right: 14px;
}

.animatedModal-on .close-popup-modal {
    opacity: 1;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 50px;
}

.container{
  display:inline-flex;
  flex-wrap:wrap;
  border:none;
}
.flex-direction{
	flex-direction: row;
	border-color: transparent;
	padding-bottom: 20px;
}
.div1{
	background-color: #413e3b;
	width: 220px;
	height: 220px;
	margin-bottom: 10px;
	border-color: transparent;
	position: inherit;
}

.div2{
	background-color: #413e3b;
	width: 70%;
	height: auto;
	border-color: transparent;
	text-align: justify;
	margin-bottom: 30px;
	color: #FFF;
	font-family: Averta;
	font-size: 12px;
}

span{
	font-size: 14px;
	font-weight: normal;
	display: inline;
	line-height: 20px;
	text-align: justify;
	border-color: transparent;
}

@media screen and (max-width: 400px) {
  .flex-direction{
  flex-direction:column;
  }
.div1{
  width:220px;
  height:220px;
  border-right:none;
  border-bottom:none;
  }


/* press
==================================================*/

#press {
	padding: 0;
	background: #413e3b;
	text-align: center;
	display: inline;
}








/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
   
}

@media (max-width: 768px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
}

@media (max-width: 500px) {
    h1 {
        font-family: 'Avenir Light', 
        font-size: 50px;
        line-height: 50px;
    }
    #home,
    .disply-table {
        height: 600px;
    }
    .about-border {
        width: 265px;
    }
  
}

@media (max-width: 420px) {
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 10px;
    }
}
