/* 
 * 		TTSS Tampereen teekkarien soitannollinen seura
 *						 Kotskavorttaali tyylipurkka
 *					  purkan jauhoi Antero Marjamäki
 *
*/


/* Kesätappolaskuri*/

#laskuri {
	background-color: rgba(20,20,20,0.8);
	height: 120px;
	font-size: 42px;
	text-align: center;
	font-family: Courier;
}

/* body and background */
body {
	background-color: #000000;
	font-family: cabinregular, Arial, sans-serif;
	font-size: 14px;
	color: rgba(255,255,255,1);
	
}

/* Forces scrollbar to be visible all the time
 so that the page wont jump annoyingly when content
 changes */
html {
	overflow-y: scroll;
}

html, html a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

/* text styles */

@font-face{
    font-family: "Cabin-Regular";
    src: url('cabin/Cabin-Regular.otf'),
    url('cabin/Cabin-Regular.otf'); /* IE */
}


h1 {
	width: 100%;
	font-size: 28px;
	font-weight: lighter;
	color: rgba(68,145,161,1);
	border-bottom-style: solid;
	border-bottom-color: rgba(68,145,161,0.6);
	border-bottom-width: 3px;
}

h2 {
	width: 100%;
	text-align: center;
	font-size: 24px;
	font-weight: lighter;
	/* punainen väri: color: rgba(201,46,46,1); */
	color: rgba(68,145,161,1);
	border-bottom-style: solid;
	border-bottom-color: rgba(68,145,161,0.6);
	border-bottom-width: 0px;
}

h3 {
	width: 100%;
	font-size:20px;
	font-weight: lighter;
	color: rgba(68,145,161,1);
	border-bottom-style: groove;
	border-bottom-color: rgba(68,145,161,0.6);
	border-bottom-width: 0px;
}

a, a:link, a:visited  {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
	cursor: pointer;
}

a:active {
	text-decoration: none;
}

.indent {
	margin-left: 40px;
}


.contentHolder p a {
	color: rgba(68,145,161,1);
}

.contentHolder p a:hover {
	text-decoration: underline;
	cursor: pointer;
}

.contentHolder p {
	line-height: 115%;
	text-align: justify;
	text-justify: distribute;
	margin-bottom: 30px;
}

.attention p a {
   color: rgba(68,145,161,1);
}

/* images within the text */

.img {
	border-style: solid;
	border-color: black;
	border-width: 2px;
	display: inline-block;
}

.center {
   margin-top: 10px;
   margin-bottom: 10px;
   margin-right: auto;
   margin-left: auto;
   display: block;
}

.float-left {
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
}

.float-right {
	float: right;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	border: 0px;
}

.hide {
   visibility: hidden;
}

div.two-images {
	width: 100%;
	display: table;
}

div.two-images img {
	width: 95%;
}

div.cell {
	display: table-cell;
	text-align: center;
}

.fit-width {
	width: 100%;
}

.small {
	max-width: 160px;
	max-height: 213px;
}

.medium {
	max-width: 320px;
	max-height: 428px;
}

.large {
	max-width: 480px;
	max-height: 640px;
}


/* main page container */
div.pageContainer {
	background-color: rgba(0,0,0,1);
	max-width: 850px;
	min-width: 300px;
	margin-left: auto;
	margin-right: auto;
}	

div.headerLogo {
	/*background-image: url('../taustakuvat/ttss_logo_proto.png');*/
	background-color: rgba(20,20,20,0.8);
	max-width: 850px;
	width: 100%;
	/*position: absolute;*/
}

div.headerLogo img{
	width: 100%;
	cursor: pointer;
}

/* main navigation bar */
div.mainNavigation {
	background-color: rgba(20,20,20,0.8);
	margin-left: auto;
	margin-right: auto;
	/*height: 60px;*/
	/*margin-top: -90px;*/
}

/* attention notification bar */
div.attention {
   background-color: rgba(20,20,20,0.8);
   margin-left: auto;
   margin-right: auto;
   margin-top: 5px;
   margin-bottom: 5px;
   /*height: 40px;*/
   /*margin-top: -90px;*/
   text-align: center;
   padding-top: 10px;
   padding-bottom: 10px;
}

div.attention p {
   margin-left: auto;
   margin-right: auto;
   font-size: 16px;
   display:inline-block;
   
}

div.mainNavigation a {
	margin-left: 0px;
	margin-right: -4px;
	display: inline-block;
	width: 16.66%;
	text-align: center;
	height: 30px;
	padding-top: 10px;
	min-width: 65px;
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s; /* Safari */	
}

div.mainNavigation a.splitted {
	margin-left: 0px;
	margin-right: -4px;
	display: inline-block;
	width: 33.33%;
	text-align: center;
	height: 30px;
	padding-top: 10px;
	min-width: 65px;
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s; /* Safari */	
}

div.mainNavigation a:hover{
	background-color: rgba(250,0,0,0.5);
	text-decoration: none;
}

/* content holder element */
div.contentHolder {
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 10px;
	padding-bottom: 20px;
	background-color: rgba(20,20,20,0.8);
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* main header image */
div.headerImage {
	/*background-image: url('../taustakuvat/musta_tyhja.jpg');*/
	background-position: center;
	background-size: auto 100%;
	background-repeat: no-repeat;
	width: 100%;
	margin-top: -68px;
	height: 300px;
	max-width: 850px;
	
	-webkit-transition: background-image 2s ease-in-out;
	-moz-transition: background-image 2s ease-in-out;
	-ms-transition: background-image 2s ease-in-out;
	-o-transition: background-image 2s ease-in-out;
	transition: background-image 2s ease-in-out;
	
	-webkit-transition: height 2s ease-in-out;
	-moz-transition: height 2s ease-in-out;
	-ms-transition: height 2s ease-in-out;
	-o-transition: height 2s ease-in-out;
	transition: height 2s ease-in-out;
}

.footer {
	width: 100%;
	height: 150px;
}

/* 
 *	Email tag kickare in the bottom left, and in
 *	contact page as well.
 */
#sahkoPosti {
	border: none;
	float: left;
	width: 150px;
}

#sahkoPostiBlokki {
	border: none;
	float: none;
	width: 150px;
}

#sahkoPostiBlokki img {
	width: 100%;
}


#sisempiSahkoPosti {
	background-image: url('../kuvat/email_iso1.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 100%;
	padding-left: 10%;
	display: inline-block;
}

#sahkoPosti img {
	width: 100%;
}

/* Facebook cancer button */
#fbNappi {
	width: 240px;
	height: 70px;
	float: right;
	margin-right: 10px;
}


/* contact page styles */
div.personTable {
	width: 100%;
}

div.personColumn {
	float: left;
	width: 48%;
	margin-bottom: 50px;
}

div.personTable p {
	margin-left: 20px;
	margin-top: 0px;
	margin-bottom: 0px;
}

div.personTable h3 {
	border: none;
	margin-bottom: 0px;
	margin-top: 15px;
}

/* language switch flags */
img.langFlag {
	width: 30px;
	height: auto;
	margin-top: 10px; /* laskurin takia muutettu, vanha 270px */
	margin-left: 10px;
	
	-webkit-transition: margin-top 2s ease-in-out;
	-moz-transition: margin-top 2s ease-in-out;
	-ms-transition: margin-top 2s ease-in-out;
	-o-transition: margin-top 2s ease-in-out;
	transition: margin-top 2s ease-in-out;
}

/* renting ABC styles */
div.FAQcontainer h3 {
		font-size:16px;
		border: none;
		margin: 30px 0px 0px 0px;
}

div.FAQcontainer p {
		margin: 10px 0px 5px 0px;
}

div.feedPost {
	padding: 0 20px;
	border-style: solid;
	border-width: 1px;
	border-radius: 10px;
	border-color: rgba(68,145,161,0.5);
	margin-bottom: 10px;
	background-color: rgba(255,255,255,0.1);
}
