/* HOT TOM OF FINLAND */

body {
	font-family: 'Pathway Gothic One', sans-serif;
	color: #444;

	background-color: silver; /* EMERGENCY FALLBACK */
/*	background: url(../img/specialfilmcompany.png), url(../img/tomfromfinland.png), url(../img/tom-hot.png), url(../img/bg.png); */
	background-image: url(/img/tom-hot-fromfinland.png), url(/img/bg.png);
	background-size: 400px auto, cover;
	background-position: 1em bottom, 0 0;
	background-repeat: no-repeat;
	background-attachment: fixed;

	/* global hugemargin stuff */
	margin-left: 520px;
	margin-bottom: 40px;
	padding: 0 1em;
	width: 680px;
}

/* SFC LOGO HOMMA */
.sfc {
	position: absolute;
	left: 2em;
	top: 1em;
}

/* COMING IN 2015 */
.coming {
	text-transform: uppercase;
	font-size: 20pt;

	position: absolute;
	top: 20px;
	left: 300px;

	color: red;
	background-color: white;
	padding: 4px 6px;

	transform: rotate(-10deg);
	-webkit-transform: rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-ms-transform: rotate(-10deg);
}

/* INDIEGOGOYEAH */
.supporttomthemovie {
	position: absolute;
	top: 20px;
	left: 240px;
	width: 180px;

	background-color: white;
	padding: 4px 6px;

	transform: rotate(-10deg);
	-webkit-transform: rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-ms-transform: rotate(-10deg);
}

/* MOBILE FIXX PS. harmaa taustapatterni on androidin bugin johdosta scroll-tilassa ja totaalisen kakka */
@media (max-width: 767px) {
	body {
		margin-left: 1em;
		/*margin-top: 160px;*/
		margin-bottom: 800px;
		background-size: auto, cover;
		background-attachment: scroll, fixed;
	}

	.sfc, .coming {
		position: static;
		clear: left;
		float: left;
		margin-top: 40px;
	}

	.coming {
		color: red;
		background-color: transparent;
	}
}

/* NAVIGOINTI HOMMAT */

nav {
	font-size: 20pt;
	text-align: left;
	height: 115px; /* 140px for 4 submenu items*/
	white-space: nowrap;
}

nav ul {
	padding-left: 0;
	list-style-type: none;
}

nav > ul > li {
	vertical-align: top;
	display: inline-block;
	margin-right: 18px;
}

nav > ul > li.icon {
	margin-right: 10px;
}

nav > ul > li:last-child {
	margin-right: 0;
}

/* TODO: howto make height auto? */
nav > ul > li > ul {
	position: absolute;
	/*float: left;*/
}

nav > ul > li:not(.active) > ul {
	display: none;
}

nav > ul > li > ul > li {
	/* alinavit vaakaan eikä pystyyn? */
	/*display: inline;*/
	padding-left: 4px;
	font-size: smaller;
}

nav a {
	color: #e22;
	text-decoration: none;
	text-transform: uppercase;
}

nav li.active > a {
	color: black;
	pointer-events: none;
}

nav > ul > li.active > a {
	/*border-bottom: 2px solid;*/
}

nav li:not(.active):not(.icon) a:hover {
	border-bottom: 2px solid;
}

/* SISÄLTÖ HOMMAT */

/* youtube-upotuxet */
iframe {
	width: 640px;
	height: 360px;
	border: none;

	margin-top: 1em;
	margin-bottom: 1em;
}

.carousel {
	text-align: center;
}

hr {
	height: 1px;
	background: white;
	font-size: 0;
	border: 0;
}

article {
	/*margin-top: 40px;*/
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-size: 11pt;
}

figure {
	margin-top: 1em;
	margin-left: 0;
	margin-right: 20px;
	margin-bottom: 20px;
	display: inline-block;
}

figcaption {
	font-style: italic;
}

/* MAIN IMAGES */
img:not(.icon) {
	padding: 2px;
	border: 1px solid silver;
}

img.press {
	margin-right: 20px;
	margin-bottom: 20px;
}

img.fill {
	border: none;
	padding: none;
	width: 100%;
}

img.news {
	width: 600px;
}

.supporters img {
	border: none;
	max-width: 300px;
	max-height: 200px;

	margin: 1em;
}

.left {
	float: left;
}

.right {
	float: right;
	margin-left: 2em;
}

.double {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	-ms-column-count: 2;
	column-count: 2;
}

h1 {
	font-family: 'Pathway Gothic One', sans-serif;
	font-size: 20pt;
	color: gray;
}

h2 {
	font-family: 'Pathway Gothic One', sans-serif;
	text-transform: uppercase;
	font-size: 16pt;
}

h4 {
	margin-bottom: 0;
}

dl {
	-webkit-column-break-inside:avoid;
	-moz-column-break-inside:avoid;
	-o-column-break-inside:avoid;
	-ms-column-break-inside:avoid;
	column-break-inside:avoid;
}

dl:first-child {
	margin-top: 0;
}

dt {
	font-weight: bold;
}
dd {
	margin-left: 0;
	margin-bottom: 1em;
}

a {
	color: #d22;
}

a img {
	border: 0;
}

address {
	font-style: normal;
	letter-spacing: 0.1em;
	font-weight: bold;
	margin-bottom: 2em;
}

footer {
	clear: both;
}

.byline {
	font-style: italic;
}

#screenplay span {
	display: block;

	position: relative;
	left: 640px;
	top: -520px;

	color: white;
	background: red;

	height: 30px;
	width: 30px;
    -moz-border-radius: 15px;
         border-radius: 15px;

	font-size: 24px;
	text-align: center;
	font-weight: bold;
}

#screenplay span:hover {
	cursor: pointer;
	color: red;
	background: white;
}

#screenplay-img {
	width: 100%;
}

/* wide screens get a bit extra hotttttness */
/*@media screen and (min-width: 1400px) {
	.supporttomthemovie {
		display: block;
	}
}*/

/* TODO. for exxtra fun.

http://css-tricks.com/examples/ShapesOfCSS/
http://css-tricks.com/building-a-starburst-with-css/
http://www.dontbethatdev.com/css/css-starburst/
*/

/* slight bootstrap carousel fix (remove gray gradient on sides) */
.carousel-control.right, .carousel-control.left {
	background: none !important;
}
