/*
	Theme Name: Meat District 2016
	Theme URI: http://meatdistrict.fi
	Description: Meat District 2016 teema
	Version: 0.0.1
	Author: Janne Rättyä
	Author URI: http://jannerattya.com

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/


body {
    font-family: "Open Sans", sans-serif;
    background: #000;
    color: #fff;
    font-weight: 400;
}
a{
  color: #fff;
}
a:hover,
a:focus{
  color: FireBrick;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    margin-bottom: 2rem;
}
b, strong {
    font-weight: 700;
}
hr {
    margin-top: 4rem;
    margin-bottom: 4rem;
    border: 0;
    border-top: 5px solid #fff;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: "Fjalla One", sans-serif;
    margin-bottom: 2rem;
    font-weight: 400;
}
.container {
  width: 100%;
}
.row {
  margin-left: 0;
  margin-right: 0;
}
.nopadding {
	padding: 0;
}
.card.full{
	width: 100%;
}
.material-icons {
	vertical-align: middle;
}
/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }


/*------------------------------------*\
    HEADER
\*------------------------------------*/

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.open .site-header {
    position: fixed;
}
.site-header .navbar {
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
    -o-display: flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.navbar-brand {
    margin-right: 30%;
    max-width: 150px;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.navbar-nav .nav-item+.nav-item {
    margin-left: 0;
}
.navbar-nav .nav-item {
    float: none;
}
.navbar-nav .nav-link {
    text-align: center;
}
#nav-wrapper {
	-webkit-flex: 0 1 100%;
    flex: 0 1 100%;
    background: rgba(255, 255, 255, 0.9);
}


.banner .close-menu .lines {
	-webkit-transition: background .3s 0s ease;
	transition: background .3s 0s ease;
	background: 0 0;
}
.banner .close-menu .lines:before,
.banner .close-menu .lines:after {
  top: 0;
  width: 35px;
  -webkit-transition: top .3s ease,transform .3s .5s ease;
  transition: top .3s ease,transform .3s .5s ease;
}
.banner .close-menu .lines:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin: 0;
}
.banner .close-menu .lines:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin: 0;
}
.menu-icon {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 200;
  background: transparent;
  border: 0px;
  outline: none;
  box-shadow: none;
}
.menu-icon:hover {
  opacity: 1
}
.menu-icon .text {
    color: #fff;
    font-weight: 400;
    font-family: "Fjalla One", sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .15rem;
    margin-right: 10px;
    display: none;
}
.menu-icon .lines {
  display: inline-block;
  position: relative;
  width: 35px;
  height: 5px;
  background: #fff;
  border-radius: 20px;
  vertical-align: middle;
  margin-top: -6px;
}
.menu-icon .lines:before, .menu-icon .lines:after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  width: 35px;
  height: 5px;
  background: #fff;
  border-radius: 20px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.menu-icon.close-menu .lines:before,
.menu-icon.close-menu .lines:after {
  background: #fff;
}
.menu-icon .lines:before {
  top: 12px;
}
.menu-icon .lines:after {
  top: -12px;
}
.menu-icon .lines.toggled {
  background: 0 0;
}
.menu-icon .lines.toggled:before {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-icon .lines.toggled:after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.body.open .menu-icon {
  position: fixed;
}
.site-wrapper, .off-canvas {
-webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.off-canvas {
  position: fixed;
  background: #000;
  z-index: -100;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  height: 100vh;
  overflow-y: scroll;
  -webkit-display: flex;
-moz-display: flex;
-ms-display: flex;
-o-display: flex;
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
  opacity: 0;
  padding: 7rem .5em .5em;
  
}
.off-canvas.toggled {
  opacity: .9;
  z-index: 100;
}
.menu-icon {
  padding: 2em;
}
.off-canvas .widgets {
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-align-content: space-around;
	align-content: space-around;
	text-align: center;
}
.off-canvas .widget {
    margin: 0 auto 2rem;
}
.widget ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}
.widget ul > li > a:hover {
  text-decoration: none;
}
.widget #menu-menu-1 {
    font-size: 2rem;
    font-family: "Fjalla One", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .4rem;
}
.widget #menu-menu-1 > li {
    margin-bottom: 0;
}
.widget #menu-menu-1 > li:last-child {
    margin-bottom: 0;
}
.widget #menu-menu-2 {
    text-transform: uppercase;
    border: solid 3px #fff;
    padding: .7rem 1rem;
    letter-spacing: .3rem;
}
.widget #menu-menu-2 > li {
    display: block;
    margin-bottom: .5rem;
}
.widget #menu-menu-2 > li:last-child {
    margin-bottom: 0;
}
.widget #menu-menu-2 > li > a {
    display: inline-block;
    padding: 5px 20px;
}
.widget #menu-menu-2 > li:last-child:after {
    content: ""
}
.textwidget {
    font-weight: 300;
}


/*------------------------------------*\
    MAIN
\*------------------------------------*/

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    opacity: .35;
}
.home .background-image {
    background-size: contain;
}
.page-template-template-etusivu .background-image {opacity: 1;}
.background-image.no-image {
    background: #111;
}
main{
	min-height: 100%;
	min-height: 100vh;
}
.home main{
  min-height: auto;
  height: 100%;
  height: 100vh;
  overflow: hidden;
}
.video-wrapper,
.home-video{
  position: relative;
  height: 100%;
}


/*.player	.target	{ height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 2; }
.vimeo-embedded	{ height: 120% !important; margin: -5% 0 0 -10% !important; width: 120% !important; }*/
.media_cover,
.video-js .vjs-tech {
    width: auto;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}
.video-js {
    width: auto;
    height: auto;
}
.controls {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9999;
}
.mute-btn {
  display: none;
  border: 0;
  color: #fff;
}
.mute-btn i{
  font-size: 4rem;
}
.mute-btn.active {
  display: inline-block;
}

.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  margin-left: -250px;
  margin-top: -250px;
  background: transparent url('img/meatdistrict-logo-tilted.png') center center no-repeat;
  background-size: contain;
}
.page-header {
	padding: 10rem 2rem 0;
	/*margin-bottom: 2rem;*/
  color: #fff;
	text-align: center;
}
.page-header.has-featured-img{
	display: flex;
    align-items: center;
    min-height: 70vh;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.home .page-header.has-featured-img {
	min-height: 90vh;
}
.page-header.has-featured-img > .container{
	width: 100%;
}
.page-title {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 4rem;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.section,
.entry-content{
	padding-top: 2rem;
	padding-bottom: 2rem;
  font-weight: 300;
}



/*------------------------------------*\
    COMMENTS
\*------------------------------------*/

.comments ul{
	padding: 0;
	list-style-type: none; 
}


/*------------------------------------*\
	FOOTER
\*------------------------------------*/

.page-template-template-etusivu .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer .credits{
  padding: 1rem 0;
  text-align: center;
  opacity: .15;
}
.footer .copytext {
  font-size: .8rem;
  letter-spacing: .05rem;
  font-weight: 300;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

/* Extra small devices (portrait phones, less than 34em)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 34em and up)*/
@media (min-width: 34em) {
	.flex {
	    display: flex;
	    /*align-items: center;*/
	    -webkit-box-align: stretch;
	    -webkit-align-items: stretch;
	    -ms-flex-align: stretch;
	    align-items: stretch;
    	flex-wrap: wrap;
	}
}

/* Medium devices (tablets, 48em and up)*/
@media (min-width: 48em) {
	#nav-wrapper {
	    flex: 0 1 auto;
	    background: transparent;
	}
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  .menu-icon .text {
    display: inline-block;
  }
	.navbar-nav .nav-item+.nav-item {
	    margin-left: 1rem;
	}
	.navbar-nav .dropdown .nav-item+.nav-item {
	    margin-left: 0;
	}
	.navbar-nav .nav-item {
	    float: left;
	}
	.dropdown-menu li {
	    display: block;
	    width: 100%;
	    clear: both;
	}
  .widget #menu-menu-2 > li {
      display: inline-block;
      margin-bottom: 0;
  }
  .widget #menu-menu-2 > li:after {
      content: "✕"
  }
	.page-header {
		padding: 300px 2rem 2rem;
	}
  .page-title {
    font-size: 6rem;
  }
  .entry-content {
    font-weight: 300;
    font-size: 1.2rem;
  }
}

/* Large devices (desktops, 62em and up)*/
@media (min-width: 62em) {
  .site-header {
      position: fixed;
  }
	.entry-content {
    padding: 2rem 6rem;
  }
  .off-canvas {
    padding: 5rem .5em;
  }
  .off-canvas .widget {
    margin: auto;
}
  .widget #menu-menu-1 {
      font-size: 3rem;
  }
  .widget #menu-menu-2 {
      padding: .7rem 4rem;
      margin: 2rem 0;
  }
}

/* Extra large devices (large desktops, 75em and up)*/
@media (min-width: 75em) {
  
}


@media (min-height: 780px) {
  .widget #menu-menu-1 {
      font-size: 4rem;
  }
  .widget #menu-menu-1 > li {
      margin-bottom: 1rem;
  }
}


/* Extra small devices (portrait phones, less than 34em)*/
@media (max-width: 33.9em) {}

/* Small devices (landscape phones, less than 48em)*/
@media (max-width: 47.9em) {
	.off-canvas .widgets {
		-webkit-justify-content: space-around;
	    justify-content: space-around;
	}
	.off-canvas .widget.widget_text {
	    display: none;
	}
}

/* Medium devices (tablets, less than 62em)*/
@media (max-width: 61.9em) {}

/* Large devices (desktops, less than 75em)*/
@media (max-width: 74.9em) {}



/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/* Galleries */

.gallery {
  margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
  display: inline-block;
  max-width: 33.33%;
  padding: 0 1.1400652% 2.2801304%;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-icon img {
  margin: 0 auto;
}

.gallery-caption {
  color: #686868;
  display: block;
  font-size: 13px;
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.6153846154;
  padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

@media (max-width: 33.9em) {
	.gallery-columns-2 .gallery-item,
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item {
	  max-width: 100%;
	}
}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
