.front{
	background: url("../img/bg_front.jpg") no-repeat fixed top center / cover #fff;
}
.historia{
	background:url('/img/bg_historia.jpg') no-repeat fixed top center / cover #fff;
}
.esittely{
	 background:url('/img/bg_esittelykierros.jpg') no-repeat fixed bottom center / cover #fff;
}
.tarjoilut {
	background: url("../img/bg_tarjoilut.jpg") no-repeat fixed bottom center / cover #fff;
}
.vuokraus{
	 background:url('/img/bg_vuokraus.jpg') no-repeat fixed bottom center / cover #fff;
}
.nuorisoteatteri{
	 background:url('/img/bg_nuoriso.jpg') no-repeat fixed center center / cover #fff;
}
.jasen{
	 background:url('/img/bg_jaseneksi.jpg') no-repeat fixed bottom center / cover #fff;
}
.katsomot{
	 background:url('/img/bg_katsomot.jpg') no-repeat fixed bottom center / cover #fff;
}
.lippu{
	 background:url('/img/bg_liput.jpg') no-repeat fixed top center / cover #fff;
}
.eteis{
	 background:url('/img/bg_eteis.jpg') no-repeat fixed bottom center / cover #fff;
}
.este{
	 background:url('/img/bg_este.jpg') no-repeat fixed center center / cover #fff;
}
.tilausohjelmisto{
	 background:url('/img/bg_tilausohjelmisto.jpg') no-repeat fixed bottom center / cover #fff;
}
.vierailut{
	 background:url('/img/bg_vierailut.jpg') no-repeat fixed bottom center / cover #fff;
}
.rikalanmaki{
	 background:url('/img/bg_rikalanmaki.jpg') no-repeat fixed bottom center / cover #fff;
}
.mustio{
	 background:url('/img/bg_mustio.jpg') no-repeat fixed bottom center / cover #fff;
}
.mathildedal{
	 background:url('/img/bg_mathildedal.jpg') no-repeat fixed bottom center / cover #fff;
}
.vinttivierailut{
	 background:url('/img/bg_rikalanmaki-vierailut.jpg') no-repeat fixed bottom center / cover #fff;
}
.tietosuoja{
	 background:url('/img/bg_tietosuoja.jpg') no-repeat fixed bottom center / cover #fff;
}
body{
	background: #fff;
	word-break:break-word;
}
.white-popup {
  position: relative;
  background: #FFF;
  padding: 2rem;
  width: auto;
  max-width: 60%;
  margin: 2rem auto;
}
.white-popup p{
	font-size:1rem !important;
}
nav {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	position: absolute;
	top: 0;
	z-index: 500;
}
div[class^='accordion'], div[class*=' accordion']{
	display:none;
}
a, input:focus, textarea:focus{
	outline: 0;
}
a, a:link, a:visited, a:hover, a:active {
	color:rgb(137, 24, 26);
}
a:hover:not(.item a) {
	text-decoration:underline;
}
.top-nav {
	background: none repeat scroll 0 0 rgba(0,0,0, 0.5);
	text-align: center;
}
.top-nav ul {
	padding: 0;
}
.logo {
	margin: 0;
	text-align: center;
	width: 100%;
}
.logo.logo-small {
	display: none;
}
.logo.logo-small a{
	display: block;
	width: 50px;
	margin:0 auto;
	text-align: center;
}
.top-nav li a {
	font-size: 0.9rem;
	text-transform: uppercase;
	padding: 1.25rem 1rem;
}
.top-nav .logo a, .top-nav .logo.active-item a {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1rem;
}
.top-nav .logo a {
  color:rgb(137, 24, 26);
}

.top-nav li a:hover, .top-nav li.active-item a, .top-nav .logo.active-item a:hover {
	background: none repeat scroll 0 0 #fff;
	color:rgb(137, 24, 26);
	text-decoration:none;
}
.top-nav li.active-item a{
	font-weight:bold;	
}
.top-nav li.logo a, .top-nav li.logo.active-item a, .top-nav .logo {
	background: none repeat scroll 0 0 #fff;
}
nav ul li ul li {
	text-align: left;
}
.top-nav ul ul {
	background: none repeat scroll 0 0 rgba(0,0,0, 0.5);
}
.top-nav li ul li a {
	background: none repeat scroll 0 0 rgba(0,0,0, 0.5);
}
#second-block, #third-block {
	text-align: center;
	padding: 2rem 0;
}
#second-block {
	border-top: 2px solid #fff;
	background: none repeat scroll 0 0 rgba(137, 24, 26, 0.95);
}
#second-block h2{
	color:#fff;
	font-size: 1.8rem;
}
#second-block p{
	color: #fff;
}
#third-block {
	background: #fff;
}
.white-block .content-block p, .white-block .content-block a, .white-block .content-block ul li{
	color: #152732 !important;
}
.white-block .content-block h2{
	color: rgb(137, 24, 26) !important;
}
.white-block .content-block{
	background:rgba(255, 255, 255, 0.85);
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
}
.fullwhitebg {
	background:rgba(255, 255, 255, 1);
}
footer {
	background: none repeat scroll 0 0 rgb(137, 24, 26);
	padding: 1.5em 0;
	border-top: 1px solid #f0f0f0;
}
footer p, footer a:link, footer a:visited, footer a:hover {
	color: #fff;
}
.carousel-text {
	display: block;
	position: absolute;
	top: 30%;
	width: 100%;
	z-index: 999;
}
.carousel-text h2 a{
	background: none repeat scroll 0 0 rgba(137, 24, 26, .95);
	color: #fff;
	display: inline-block;
	padding: 0.3125rem 0.625rem;
}
.carousel-text h2 a span{
	text-transform: none;
}
.carousel-text p a{
	background: none repeat scroll 0 0 rgba(0, 0, 0, .5);
	color: #fff;
	display: inline-block;
	font-size: 1.2rem;
	padding: 0.625rem 0.8rem;
}
section h1 {
	color: rgb(137, 24, 26);
	font-size: 1.8rem;
	font-weight: 300;
	text-transform: uppercase;
}
section h2 {
	font-size: 1.5rem;
	font-weight: 300;
	margin: 0;
	text-transform: uppercase;
}
section h3 {
	font-size: 1.3rem;
	font-weight: 300;
	margin: 0.8rem 0;
	text-transform: uppercase;
}
section p {
	font-size: 1rem;
}
section p.bigger {
	text-align:left !important;
	font-size: 1.25rem;
}
p.subtitile {
	color: #999;
	margin: 0 0 3.5rem;
}
#head h1{
	color: rgb(255, 255, 255);
}
#head {
	background: url("../img/head.jpg") no-repeat  bottom center / cover rgb(137, 24, 26);
	padding: 11rem 0 1rem;
	text-align: center;
	border-bottom:1px solid #fff;
}
#content {
	padding: 5rem 0;
	text-align: center;
}
#content h2 {
	font-size: 1.5rem;
	font-weight: 400;
	margin: 1rem 0 0.3rem;
	text-transform: none;
}
.arkisto h2 {
	color:rgb(137, 24, 26);
}
.content-block {
	background: none repeat scroll 0 0 rgba(137, 24, 26, 0.95);
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	padding: 2.5rem;
	height:100%;
	border-radius:5px;
}
.line{
	display:block;
	position:relative;
}
.content-block h3, .content-block h4, .content-block p, .content-block a, .content-block li{
	color: #fff;
}
.content-block h3 {
	margin:0 0 1rem;
}
.content-block h4 {
	margin:3rem 0 1rem;
	font-size: 1.1rem;
	font-weight:300;
	text-transform: uppercase;
}
.content-block p {
		text-align: left;
}
.small{
	font-size: .8rem;
	font-style:italic;
}
#content ul, #third-block ul{
	text-align: left;
	display:inline-block;
	margin:1rem auto;
}
#content li, #third-block li{
	font-size: 1rem;
}
.content-block a, .white-block a {
	text-decoration:underline;
}.content-block a:hover, .white-block a:hover {
	color:#ddd;
}
.left-align {
	text-align: left !important;
}
#content .contact-page h2 {
	margin: 0 0 0.625rem;
}
.contact-page p {
	font-size: 1rem;
	font-style: normal;
}
.ohjelmadetail{
	padding:0 1rem;
	margin:2rem 0 0 0;
}
.ohjelmadetail h1{
	margin-top:-.5rem;
}
.tilaus{
	background:#fff;
	padding:1.5rem 1rem;
	border-radius:5px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
}
footer p.center {
	font-size: 1.5rem;
	font-style: normal;
}
.contact-page i {
	background: none repeat scroll 0 0 rgb(137, 24, 26);
	border-radius: 100px;
	display: inline-block;
	height: 35px;
	line-height: 35px;
	margin: 0.3125rem 0.3125rem 0.3125rem 0;
	text-align: center;
	width: 35px;
}
input.error, textarea.error{
	border:2px solid red !important;
}
label.error{
	color:red;
	float:left !important;
	padding:.25rem .5rem;
	border:2px solid red;
	margin-bottom:.25rem;
	border-radius:5px;
	background:#fff;
}
.contact-page label.error, .teatterihetki label.error{
	border:none;
	padding:0;
	margin-bottom:0;
}
.teatterihetki{
	padding-left:1rem;
}
.teatterihetki form{
	padding-left:1rem;
}
#confirm{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

/* Modal Content/Box */
.modal-content {
	width:300px;
    background-color: #fff;
    margin: 15% auto 0; /* 15% from the top and centered */
	border-radius: 5px;
	padding:1rem;
}
.modal-content .ok {
	font-size:2rem !important;
	margin-top:3rem;
	margin-bottom:2rem;
}
/* The Close Button */
 .close {
    color: rgb(137, 24, 26);
    float: right;
	margin-top:-.5rem;
	margin-right:-.5rem;
}
 .close:hover,
 .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
footer i {
	background: none repeat scroll 0 0 rgb(255, 255, 255);
	color: rgb(137, 24, 26)!important;
	border-radius: 100px;
	display: inline-block;
	height: 35px;
	line-height: 35px;
	margin: 0 0.625rem 0 0;
	text-align: center;
	width: 35px;
}
.cookiealert {
	font-size:1.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
	padding:3rem;

    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #fff;
    background: rgba(0,0,0,.85);
}
.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
}
button.showless,button.acceptcookies {
	font-size:1rem;
}
form.customform button, button.showmore, button.showless {
	background: none repeat scroll 0 0 rgb(137, 24, 26);
	border-radius: 5px;
	transition: background 0.50s linear 0s;
	-o-transition: background 0.50s linear 0s;
	-ms-transition: background 0.50s linear 0s;
	-moz-transition: background 0.50s linear 0s;
	-webkit-transition: background 0.50s linear 0s;
}
form.customform button:hover, button.showmore:hover, button.showless:hover {
	border:1px solid rgb(137, 24, 26);
	color:rgb(137, 24, 26);
	background: none repeat scroll 0 0 #fff;
}
button.showmore:hover i, button.showless:hover i{
	color:rgb(137, 24, 26);	
}
form.customform {
	padding-right:2rem;
}
form.customform button.reverse,button.acceptcookies {
	background: none repeat scroll 0 0 #fff;
	color:rgb(137, 24, 26);
	border:1px solid #fff;
	border-radius: 5px;
	transition: background 0.50s linear 0s;
	-o-transition: background 0.50s linear 0s;
	-ms-transition: background 0.50s linear 0s;
	-moz-transition: background 0.50s linear 0s;
	-webkit-transition: background 0.50s linear 0s;
}
form.customform button.reverse:hover,button.acceptcookies:hover {
	border:1px solid #fff;
	color:#fff;
	background: none repeat scroll 0 0 rgb(137, 24, 26);
}
form.customform input, form.customform textarea {
	border-radius: 5px;
}
#map-block {
	border-top:1px solid rgb(137, 24, 26);
}
#map-block iframe {
	display: block;
}
.back-to-top {
    position: fixed;
    bottom: 7rem;
    right: 0px;
    text-decoration: none;
    background-color: rgba(235, 235, 235, 0.80);
    font-size: 16px;
    padding: 1em;
    display: none;
}
.back-to-top .icon2x{
	color:rgb(137, 24, 26);
}
.back-to-top:hover {    
    background-color: rgba(135, 135, 135, 0.50);
}
table, table tr, table td{
	border:none !important;
	border-collapse:collapse;
	font-size:1rem;
	vertical-align:top;
}
tr.peruttu td{
	text-decoration: line-through !important;
}
.huom{
	display:inline-block;
	text-decoration: none !important;
	font-weight:bold;
	margin-left:.5rem;
}
table.front{
	background:transparent;
	margin:2rem 0 1rem;
}
table.front a, table.front a:link, table.front a:visited, table.front a:hover, table.front a:active{
	color:#444;
}
table.front a:hover{
	text-decoration:underline;
}
table.front tr, table.tarjoilut tr{
	background:#fff;
}
table.front tr.more{
	display:none;
}
table.front tr:nth-of-type(2n) {
    background:transparent !important;
	color:#fff;
}
table tr:nth-of-type(2n) {
    background:#faeced;
}
table.front tr:nth-of-type(2n) a{
	color:#fff;
}
table.front td:first-child{
	text-align:right;
}
table.ohjelmisto{
	display:inline-block;
	float:right;
	margin:0 1rem 3rem 3rem;
	width:auto;
}
table.ohjelmisto,table.tarjoilut{
	padding:.0625rem 0.3rem;
		line-height:1;
}
table.tarjoilut{
	margin-top:2rem;
	margin-bottom: 2rem;
}
.kuvaus, .liput, .lisateksti, .kesto, .huomio, .tuottaja, .lippulinkki, .lippulinkki2, .kuvaaminen{
	font-size:1.2rem;
	text-align:left;
	margin-top:2rem;
	margin-left:1rem;
}
.lippulinkki{
	margin-top:1rem;
}
.lippulinkki2 img{
	display:block;
    margin:auto;
}
.tuottaja{
	color:rgb(137, 24, 26);
}

.kuvaaminen img{
	float:left;
	margin-right:1rem;
	padding-top:.5rem;
}
.kuvaus, .tuottaja{
	font-style:italic;
}
.kesto i{
	color:#444;
}
.huomio{
	padding:1rem;
	border:2px solid rgb(137, 24, 26);
	font-weight:bold;
	border-radius: 5px;
}
.huomio small{
	font-weight:normal;
}
.huomio i.icon{
	display:inline-block;
	font-size:3rem;
	margin:-.5rem 1rem 0 0;
	color:rgb(137, 24, 26);
}
.gallery{
	margin-top:1rem;
}
.thumb{
	margin-top:1rem;
}
.youtube{
	margin:1rem 0;
	overflow: hidden;
	position: relative !important;
}
p.kuvaaja{
	text-align:left;
	font-size:0.5rem;
}
img.inline {
	display:inline-block;
	vertical-align:middle;
	margin-right:.5rem;
	}
@media screen and (max-width: 1028px) {
form.customform {
	padding-left:2rem;
}
.white-popup {
  max-width: 95%;
}
.white-popup p{
	font-size:1rem !important;
}	
	
.ohjelmadetail h1{
	margin-top:.5rem;
}
.owl-carousel .owl-item img {
    width:100%;
	display:block;
	margin:0 auto;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.owl-theme .owl-nav {
  margin: 5px 0 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.carousel-text {
	display: block;
	position: relative;
	width: 100%;
	text-align:center;
	z-index: 999;
}
.carousel-text h2 a{
	background: none repeat scroll 0 0 rgba(137, 24, 26, .95);
	color: #fff;
	font-size: 1.3rem;
	width: 100%;
	display: inline-block;
	padding: 0.3125rem 0.625rem;
}
.carousel-text h2 a span{
	text-transform: none;
}
.carousel-text p a{
	background: none repeat scroll 0 0 rgba(0, 0, 0, .5);
	color: #fff;
	width: 100%;
	display: inline-block;
	font-size: 1rem;
	padding: 0.3125rem 0.625rem;
}
table.vierailut td, table.front td{
    padding-top:0;
	padding-bottom:0;
}
table.front td{
    padding-top:.3125rem;
    text-align:center;
}
table.front td:first-child{
    text-align:right;
}
table.front td:nth-child(2){
    text-align:left;
}
table.vierailut td:first-child{
    font-style:italic;
	text-align:center;
}
table.vierailut td:nth-of-type(2n){
    padding-top:0;
    font-weight:bold;
	text-align:center;
}
table.vierailut tr:nth-of-type(2n) td:last-child, table.front td:last-child{
    padding-bottom:.3125rem;
}
table.front td:nth-child(3){
	font-size:1.2rem;
	padding-top:0;
}
table.vierailut td:last-child{
	font-size:1rem;
}
table.vierailut tr:nth-of-type(2n) td:first-child{
    padding-top:.3125rem;
}
#head {
	padding: 2rem 0 1rem;
	text-align: center;
}
#content {
    padding:0;
	word-break:break-word !important;
}
.contact-page{
	padding: 0 .5rem !important;
}
#second-block{
		padding-bottom:0;
}
table.ohjelmisto{
	float:none;
	margin:1rem auto;
}
.top-nav li a{
	background: none repeat scroll 0 0 rgb(137, 24, 26);
	padding: 0;
}
.top-nav li ul li a {
    padding: 0;
}
nav {
  	background: none repeat scroll 0 0 rgb(137, 24, 26);
  	line-height: 1rem;
  	position: relative;
}
.logo.logo-small {
	display: block;
}
.top-nav {
  	text-align: left;
	background: none repeat scroll 0 0 rgba(0,0,0);
}
.top-nav li {
  	line-height: 3rem;
}
.top-nav .logo {
  	padding: .5rem;
}
ul.top-ul {
  	padding: 0;
}
ul.top-ul.right {
	float: none;
}
footer {
  text-align: center;
}
footer .right {
  float: none;
}
.kuvaus, .liput, .lisateksti, .kesto, .huomio, .tuottaja{
	font-size:1.2rem;
	text-align:left;
	margin-top:2rem;
	margin-left:0rem;
}

}