body {
  font-family: "proxima-nova"; /*"norsu";*/
  font-style: normal;
  background-color: #fff; /* #eee; */
  /*background: url("./backgrounds/handmadepaper.png");*/
}

hr {
  border-color: #999; /* #bbb; */
  background-color: #999;
  height: 0px;
}

/*#newsitem hr {
  margin-top: 2px;
}*/

a {
  color:#289; /* #428bca */
}

.navbar-static-top,
.navbar-header {
  background-color: #333;
  background: url("./backgrounds/dark_wall.png");
  min-height: 100px;
}

@media (min-width: 768px) {
  .navbar-static-top {
    max-height: 50px;
  }
  .navbar-header {
    min-height: 100px;
  }
}

.nav {
  font-family: "proxima-nova-extra-condensed";
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.2em;
  letter-spacing: 0.05em;
}

@media (min-width: 992px) {
  .nav {
  font-size: 1.4em;
  }
}

.navbar-collapse {
  padding-top:28px;
}

.nav li ul li {
  font-family: "proxima-nova";
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
}

.nav>li>a {
  padding: 10px 10px;
}

.nav li a.active {
  color: #fff;
}

/*#search-form {
  background-color: #222;
  border-color: #444;
  margin-left:15px !important;
  margin-right:15px !important;
}*/

#search-form-wrap {
  padding: 5px 15px;
}

#login-button {
  margin-top: 20px;
}

.flask-pagedown-preview {
  margin-top: 0;
}

#news-archive-link {
  margin-left: 20px;
}

.sidebar div {
  float: right;
}


/* Pagination
-------------------------------------------------- */

.pagination li a {
  font-family: "proxima-nova-extra-condensed";
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.2em;
  padding: 11px;
  height: 46px;
  letter-spacing: 0.05em;
  color:#399;
  background-color: transparent;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

.pagination li a:hover {
  color: #288;
  background-color: #eee;
}

h1 {
  font-family: "proxima-nova-extra-condensed"; /* "refrigerator-deluxe"; */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  /*color: #777;*/
  font-size: 1.8em;
}

h2 {
  font-family: "proxima-nova";/* "proxima-nova-extra-condensed"; "refrigerator-deluxe"; */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.0em;
}

h3 {
  font-family: "proxima-nova";/* "proxima-nova-extra-condensed"; "refrigerator-deluxe"; */
  font-weight: 600;
  letter-spacing: 0.01em;
  /*color: #777;*/
  font-size: 1.0em;
}

small p {
  line-height: 1.2em;
  margin: 0 0 0.3em;
}

.production-image {
  margin-bottom: 20px;
}

/*.production-headline {
  font-family: "proxima-nova-extra-condensed";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 2.6em;
}*/

.production-main-text p {
  font-size: 1.8rem;
  font-weight: 500;
}


/* Sidebar Top
-------------------------------------------------- */

.trailer-button {
  min-width: 294px;
  min-height: 68px;
  margin-bottom: 20px;
  margin-right: 20px;
  background-color: #3a8;
  border-color: #297;
}

.trailer-button:hover {
  background-color: #4b9;
  border-color: #3a8;
}

.shop-button {
  min-width: 294px;
  min-height: 68px;
  margin-bottom: 20px;
  margin-right: 20px;
  background-color: #399;
  border-color: #288;
}

.shop-button:hover {
  background-color: #4aa;
  border-color: #399;
}

.koulukino-button {
  min-width: 294px;
  min-height: 68px;
  margin-bottom: 20px;
  margin-right: 20px;
  background-color: #e74;
  border-color: #d63;
}

.koulukino-button:hover {
  background-color: #f85;
  border-color: #e74;
}

.watch-buttons {
  margin: 0px 0 20px 0;
}

.watch-buttons:empty {
  margin: 0;
}

.compliments {
  margin: 0px 0 20px 0;
}

.compliments:empty {
  margin: 0;
}

.compliments p,
p.tagline {
  font-family: "proxima-nova-extra-condensed";
  font-size: 1.6em;
  font-weight: 600;
}

.poster-image,
.third-image {
  width: 50%;
  margin: 0 0 40px 0;
  display: block;
  clear: right;
}


/* Forms
-------------------------------------------------- */

}
.help-block {
  font-family: "proxima-nova-extra-condensed";
  font-size: 1.2em;
}

.radio-wrap {
  margin-top:-5px;
}

.radios {
  display: inline-block;
  margin-right: 15px;
}

.radios label {
  font-weight: 400;
}

.form-group ul {
  list-style: none;
  padding-left: 0;
}

hr.dim {
  border-color: #ddd;
  height: 0;
}

form hr {
  border-color: #bbb;
  height: 0;
}

form h5 {
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.news-headline {
  margin-top: 0;
  text-transform: none;
  font-family: "proxima-nova-extra-condensed"; /* "refrigerator-deluxe"; */
  font-weight: 500;
  font-size: 2.6em;
  letter-spacing: 0.01em;
}
a:link {
}
a:visited {
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
} 

#cancel-delete {
  margin-right: 20px;
}

.panel-subheading {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
}

#collapseTwo {
  border-top: 1px solid #ddd;
}

.people_image {
  /*padding-top: 23px;*/
  float: left;
  width: 113px;
}

.people_text {
  /*border-top: solid 1px #eee; */
  /*background-color: #ccc; */
  padding-left: 130px;
  padding-right: 20px;
}

#newsfeed .news-headline {
  font-size: 2em;
  /*padding-top: 0.5em;*/
}

#newsfeed {
  height: 300px;
  overflow: hidden;
}

#newsfeed:after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}


/* SVGs
-------------------------------------------------- */

.social {
  margin-top: 25px;
  margin-bottom: -10px;
  margin-left: 15px;
}


/* File upload input
-------------------------------------------------- */

.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}
input[readonly] {
  background-color: white !important;
  cursor: text !important;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 160px;
}
.footer {
  padding-top: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 160px;
  background-color: #333; /*#f5f5f5;*/
  background: url("./backgrounds/dark_wall.png");
  /*background: url("./backgrounds/dark_wall.png");*/
}

#creativeEurope {
  padding-left: 40px;
  width: 240px;
}

@media screen and (max-width: 620px) {
  #creativeEurope {
    padding-left: 20px;
    padding-top: 12px;
    width: 120px;
  }
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container .text-muted {
  margin: 20px 0;
}

body {
  padding-bottom:20px;
}


/* Vimeo fade-in fade-out
---------------------------------------------------*/

.dim-lights-bg {
  background-color: #000;
  -webkit-transition: background-color 1s ease-in-out 0;
  -moz-transition: background-color 1s ease-in-out 0;
  -ms-transition: background-color 1s ease-in-out 0;
  -o-transition: background-color 1s ease-in-out 0;
  transition: background-color 1s ease-in-out 0;
}

.lights-on-bg {
  background-color: #fff; /* #eee; */
  -webkit-transition: background-color 1s ease-in-out 0;
  -moz-transition: background-color 1s ease-in-out 0;
  -ms-transition: background-color 1s ease-in-out 0;
  -o-transition: background-color 1s ease-in-out 0;
  transition: background-color 1s ease-in-out 0;
}

.dim-lights-hr {
  background-color: #222;
  color: #222;
  border-color: #222;
  -webkit-transition: all 1s ease-in-out 0;
  -moz-transition: all 1s ease-in-out 0;
  -ms-transition: all 1s ease-in-out 0;
  -o-transition: all 1s ease-in-out 0;
  transition: all 1s ease-in-out 0;
}

.lights-on-hr {
  background-color: #bbb;
  color: #bbb;
  border-color: #bbb;
  -webkit-transition: all 1s ease-in-out 0;
  -moz-transition: all 1s ease-in-out 0;
  -ms-transition: all 1s ease-in-out 0;
  -o-transition: all 1s ease-in-out 0;
  transition: all 1s ease-in-out 0;
}


/* Responsive Slides
http://responsiveslides.com v1.54 by @viljamis
---------------------------------------------------*/

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }


.transparent-box {
  background-color: rgba(0,0,0,0.25);
  height: 80px;
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.sliderWrap {
  background-color: rgba(0,0,0,0.25);
}

.sliderWrap p {
  font-family: "proxima-nova-extra-condensed";
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: 10px;
  left: 20px;
}

p.slider-text {
  font-size: 2rem;
  text-transform: none;
  letter-spacing: none;
  font-weight: 400;
  top: 44px;
}

.slideshow-buttons {
  width: 33%;
  position: absolute;
  float: right;
  top: 0;
  right: 0;
}

.slideshow-button {
  float: right;
  width: 248px;
  min-height: 52px;
  margin-right: 20px;
  margin-top: 20px;
  background-color: rgba(51, 153, 153, 0.8); /* #399:*/
  border-color: #288;
}

.slideshow-button:hover {
  background-color: #4aa;
  border-color: #399;
}

@media screen and (max-width: 991px) {
  .slideshow-button {
    width: 200px;
    min-height: 52px;
    margin-right: 10px;
    margin-top: 10px;
  }
  p.slider-text {
    font-size: 0.2em;
  }
}

@media screen and (max-width: 1199px) {
  .transparent-box {
    /*height: 180px;
    bottom: -100px;*/
  }
  .sliderWrap p {
    font-size: 1.8em;
  }
  p.slider-text {
    font-size: 1.2em;
  }
  /*.rslides {
    padding-bottom: 90px;*/
  }
  .slideshow-buttons {
  }
  /*zoom image:*/
  /*.sliderWrap a img {
    position: relative;
    width: 120%;
    left: -10%;*/
  }
}


/* Flexible iFrame for maps
https://niklausgerber.com/blog/responsive-google-or-bing-maps/
---------------------------------------------------*/

.Flexible-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.Flexible-container iframe,
.Flexible-container object,
.Flexible-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Teksti kuvan paalle
http://codepen.io/chriscoyier/pen/myPMGB
---------------------------------------------------*/

a img.tinted {
  opacity: 0.8;
}

a:hover img.tinted {
  opacity: 1;
}

.film_thumbnail {
  background-color: #000;
  background-size: cover;
  margin: 0 0 30px 0;
  position: relative;
}

.film_thumbnail h2 {
  font-family: "proxima-nova-extra-condensed";
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3rem;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
