/*=================================*/
/*==========[Custom CSS]===========*/
/*=================================*/


/*---------[Overall pages]-----------*/
body {
	background-color: black;
}

#content{
	min-height: 80vh;
}

/*[language]*/
#language-switch{
	text-align: center;
	background: linear-gradient(#000000 30%, #474747 100%);
}
@media only screen and (max-width: 750px) {
  #language-switch {
    position: static;
	height: 50px;
	width: 100%;
	text-align: center;
	padding-left: 0%;
	background: none;
	margin-top: 10px;
  }
}

.lang-active{
	border-bottom: solid 1px white;
}

#language-switch > div > ul > li > a > img{
	height: 30px;
	margin: 0 1%;
	margin-bottom: 30px;
}


@media only screen and (max-width: 750px) {
  #language-switch > div > ul > li > a > img{
	margin-left: 10%;
	margin-right: 10%;
  }
}

/*[Slideshow]*/
@media only screen and (max-width: 750px) {
	.slideshowck{
		display: none !important;
	}
}

.camera_target{
	background-color: white;
}

/*---------[Frontpage]-----------*/
@media only screen and (max-width: 810px) {
  #content > div > div > table > tbody > tr > td > p > img{
    height: 100%;
	width: 100%;
  }
}

.block1{
	height: 10px;
	width: 100%;
	background-color: black;
}

.jumbotron{
	margin: 0px;
}

#avoinna{
	background-color: #3a3a3a;
	border-radius: 100px;
	max-width: 25%;
	height: 300px;
	text-align: center;
}
@media only screen and (max-width: 1270px) {
  #avoinna {
    min-width: 300px;
	width: 50%
  }
}

#Motion{
	background-color: #3a3a3a;
	border-radius: 100px;
	min-height: 300px;
	height: 100%;
	max-width: 60%;
	min-width: 300px;
	
}
@media only screen and (min-width: 767px) {
  #Motion{
	  font-size: 150%;
  }
}


.mid-content{
	margin: 3% auto;
	text-align: center;
	border: solid #e67817 2px;
}
/*picture shown when motionday is unpublished*/
#mid-img{
	background-image: url("../../../images/kuva.jpg");
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	min-height:300px;
}

/*---------[Frontpage and tunnit]-----------*/
@media only screen and (max-width: 810px) {
  #content > div > div > table > tbody > tr > td > p > img{
    height: 100%;
	width: 100%;
  }
}

/*---------[Gallery]-----------*/
@media only screen and (max-width: 750px) {
  #mas > tbody > tr > td{
    display: block;
	width: 100% !important;
  }
}

@media only screen and (max-width: 1200px) {
  #gallery > tbody > tr > td{
    display: block;
	width: 100% !important;
  }
}


.gallery-img > tbody > tr > td > img{
    max-height: 300px;
	max-width: 100%;
	width: auto;
	border: solid white 3px;
 }


   @media only screen and (max-width: 750px) {
	 .gallery-img > tbody > tr > td{
		display: block;
		width: 100% !important;
	 }
 }





/*---------[Hinasto]-----------*/
@media only screen and (max-width: 715px) {
  #content > div > div > table > tbody > tr > td > table{
    font-size: 10px;
	padding: 0px;
  }
}
@media only screen and (max-width: 715px) {
  #hinnasto > tr > td{
	padding: 0;
	border-left: 1px solid black;
    border-right: 1px solid black;
  }
}



/*---------[tunnit]-----------*/
@media only screen and (max-width: 810px) {
  #content > div > div > table > tbody > tr > td > a > img{
    height: 100%;
	width: 100%;
  }
}

/*[footer]*/

footer{
	background-color: #6e6e6e;
}

#footer{
	font-size: 20px;
	background-color: #6e6e6e;
	width: 100%;
    margin: 0 auto;
	padding: 5%;
	border-top: solid 1px white;
}
  #footer > div > div > table > tbody > tr > td{
	border-left: 1px solid black;
	border-right: 1px solid black;
	padding: 10px;
  }
@media only screen and (max-width: 930px) {
  #footer > div > div > table > tbody > tr > td{
	width: 100% !important;
    display: block;
	margin-top: 10%;
	border-top: solid black 2px;
	border-left: none;
	border-right: none;
  }
}
