@import url(http://fonts.googleapis.com/css?family=Bree+Serif);

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 55px;
  font-family: 'Bree Serif', serif;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 55px;
  background-color: #2a241c;
  color:#4a4949;
}

/*
sticky backgrounds */
#background_left {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 50%;
  height: 100%;
  background: url(../images/landingpage_talo_bg.jpg);
  background-size:cover;
  z-index: -1;
}
#background_right {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 50%;
  height: 100%;
  background: url(../images/landingpage_klubi_bg.jpg);
    background-size:cover;
  z-index: -1;
}

#landing .container-fullwidth {
  width: 100%;
}


.jumbotron.vertical-center {
background:none;
/*   margin-bottom: 0;  */
  /* Remove the default bottom margin of .jumbotron */
}

.vertical-center {
   min-height: 87%;   /* Fallback for vh unit */
   min-height: 87vh;  /* You might also want to use
                        'height' property instead.
                        
                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.
  
                        In this case the parent of '.vertical-center'
                        is the <body> element */

  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; 
  
  /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
  -webkit-align-items : center;
       -moz-box-align : center;
       -ms-flex-align : center;
          align-items : center;
  
  /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
  width: 100%;
  
  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
  
     Therefore, we should use the following declarations to get it centered again */
         -webkit-box-pack : center;
            -moz-box-pack : center;
            -ms-flex-pack : center;
  -webkit-justify-content : center;
          justify-content : center;
}

.vertical-center .col-md-6:nth-child(1) {
  text-align: right;
padding-right:30px;
}
.vertical-center .col-md-6:nth-child(2) {
  text-align: left;
padding-left:30px;
  margin-top: 13px;
}
.main img{padding-bottom:5px;}
.footer .col-md-6:nth-child(2) {
  text-align: right;
}
.footer .col-md-6 {
  padding-top: 15px;
  text-transform:uppercase;
  
}
.jumbotron .description{font: italic normal 14px Bitter, serif; 
color:#e5e5df; text-align:center; max-width:222px; margin-top:1em; display:inline-block; }
 .jumbotron .col-md-6:nth-child(1) .description{color: #271f19; }

    @media only screen and (min-width: 590px) and (max-width: 769px){
		.main .col-xs-12.col-sm-6.col-md-6 {
  width: 50%;
}
 
    }
	
	
    @media only screen and (min-width: 481px) and (max-width: 589px){
	/*
			sticky backgrounds */
			#background_left {
			  position: fixed;
			  top: 0px;
			  left: 0px;
			  width: 100%;
			  height: 100%;
			  background: url(../images/landingpage_talo_bg.jpg);
			  background-size:cover;
			  z-index: -1;
			}
			#background_right {
			 position: fixed;
			  top: 250px;
			  left: 0px;
			  width: 100%;
			  height: 100%;
			  background: url(../images/landingpage_klubi_bg.jpg);
				background-size:cover;
			  z-index: -1;
			}
			
			.vertical-center {
				    min-height: 400px;
			}
			.vertical-center .col-md-6:nth-child(2) {margin-top:150px;}
			.main .col-xs-12.col-sm-6.col-md-6 {
text-align:center;
  padding-left: 15px;
    padding-right: 15px;
}
 
 
    }	
  /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
			body{margin-bottom:100px;}
			footer.footer {
			  height: 100px;
			}
.footer .col-md-6,.footer .col-md-6:nth-child(2) {
  text-align: center;
}
			/*
			sticky backgrounds */
			#background_left {
			  position: fixed;
			  top: 0px;
			  left: 0px;
			  width: 100%;
			  height: 100%;
			  background: url(../images/landingpage_talo_bg.jpg);
			  background-size:cover;
			  z-index: -1;
			}
			#background_right {
			 position: fixed;
			  top: 250px;
			  left: 0px;
			  width: 100%;
			  height: 100%;
			  background: url(../images/landingpage_klubi_bg.jpg);
				background-size:cover;
			  z-index: -1;
			}
			.vertical-center {
				   min-height: 400px;
			}
			.vertical-center .col-md-6:nth-child(2) {margin-top:150px;}
						.main .col-xs-12.col-sm-6.col-md-6 {
text-align:center;
  padding-left: 15px;
      padding-right: 15px;
}
 
		
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        

    }

	/* IE10+ CSS styles go here */
	@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.jumbotron.vertical-center{display:block;margin-top:15%;}


}