html {
    position: relative;
    min-height: 100%;
    
}
body {
    margin: 0 0 283px; /* bottom = footer height */

}
#news-letter-order{
	background: #155957;
	padding: 15px 0px;
	color: white;
	font-family: 'Open Sans', sans-serif;

	font-size: 12px;
}
#news-letter-order input{
	width: 45%;
	height: 30px;
	margin-right: 4%;
	border-radius: 0px;
	font-size: 11px;
}
#news-letter-order .button{
	background-color: #e37d61;
	border: none;
	width: 100%;
	padding: 0 10px;
}
#main-nav{
	background: #1c1616;
	padding: 20px 0;
}
@media (max-width: 700px) and (min-width:450px) { 
#main-nav{
	padding-top: 20px 
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 75px;
}
}

#navigation{
	float: right;
	margin-top:30px;
}
img.img-responsive.visible-xs
{
width: 70%;
}

#navigation a{
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	font-size: 13px;
	color: white;
	text-transform: uppercase;
}

.nav > li > a:hover ul.dropdown-menu{
	display: block!important;
}

#header-hero{
	background: url(../img/aleksi-hero-01.jpg) no-repeat, #1c1616;
	background-size: auto 100%;
	background-position: left top;
	min-height: 500px;
	color: white;
}
#header-hero-content{
	margin-top: 40px;
}

#header-hero-content h4{
	margin: 0 auto;
	font-family: 'Droid Serif', serif;
	font-weight: 400;
	font-style: italic;
	font-size: 30px;
	padding: 20px 0;
	
}

#header-hero-content h3{
	position: relative;
	margin: 0 auto;
	font-family: 'Open Sans', sans-serif;

	font-weight: 700;
	font-size: 38px;
	border-bottom: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	line-height: 1.5;
	display: inline-block;
    margin: 20px 0px 30px 0px;	
}
#hero-boxes{
	text-align: center;
	width: 100%;
}
#hero-boxes-row{
	 margin: 30px 0px;
}

.hero-link-box{
	width: 150px;
	height: 150px;
	font-weight: 600;
	margin-right: 10px;
	margin-bottom: 10px;
	font-family: 'Open Sans', sans-serif;

	color: #155957;
	display: inline-block;
	vertical-align: middle
}

.hero-link-box span{
    position: relative;
    top: 100px;
}

#mindfulness{
	background: url(../img/icons/mind.png) no-repeat;
	text-align: center;
}
#coaching{
	background: url(../img/icons/bulb2.png) no-repeat;
	text-align: center;
}
#tyonohjaus{
	background: url(../img/icons/glass1.png) no-repeat;
	text-align: center;
}
#luennotjavalmennukset{
	background: url(../img/icons/mic31.png) no-repeat;
	text-align: center;
}

#front-news{
	padding: 70px 0px;
}

#front-news ul{
	list-style: none;
	color: #4d4d4d;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin: 30px 0px;
	padding: 0px;
}

#front-news ul li span{ 
	font-family: 'Open Sans', sans-serif;

	margin-right: 10px;
}

#front-news ul li a{
	color: #4d4d4d;
}
#front-news ul li a:hover{
	color: #e37d61;
}

#quotes-slider{
	padding: 90px 0px;
}
#quotes-slider p{
	width: 70%;
	margin: 0 auto;
}
#quotes-slider p b{
	color: #197371;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;

}

#media img{
	width: 4%;
	height: 4%;
	margin-right: 5px;
}
.fb-like.fb_iframe_widget
{
position: relative;
margin-left: 2px;
}

img.ssba {
	width: 2%;
	height: 2%;
	margin-top: 0px;
}


@media (max-width: 520px) { 
#media img{
	width: 7%;
	height: 7%;
	margin-right: 5px;
}
img.ssba {
	width: 7%;
	height: 7%;
}
}
@media (max-width: 800px) and (min-width: 520px){ 
#media img{
	width: 4%;
	height: 4%;
	margin-right: 5px;
}
img.ssba {
	width: 4%;
	height: 4%;
}
}

#media article{
	margin-bottom: 50px;
	padding-bottom: 10px;
	border-bottom: 1px solid #b7b7b7;
}

#media article h3{
	font-size: 20px;
}

.content-services{
	margin: 0px 0px;
}

.sub-page{
	padding: 100px 0px;
}

h3
{
margin-top: 0px;
margin-bottom: 30px;
}

.button {
background-color: #e37d61;
border: none;
width: 100%;
padding: 10px;
color: white!important;

}

a:hover, a:focus
{
    color: #155957;
    text-decoration: none;
}

.nav > li > a:hover, .nav > li > a:focus
{
    color: #155957;
    text-decoration: none;
}

.grey{
    background: #F7F7F7;
}

footer{
    background: #3f3f3f;
    color: white;
    padding: 60px 0px;
	position: absolute;
    left: 0;
    bottom: 0;
    min-height: 240px;
    width: 100%;
}
@media (max-width: 790px) { 
footer{
    background: #3f3f3f;
    color: white;
    padding: 30px 0px;
	position: absolute;
    left: 0;
    bottom: 0;
    min-height: 260px;
    width: 100%;
}
}

footer h4{
	font-family: 'Open Sans', sans-serif;

	font-weight: 400;
}
footer p{
	font-size: 12px;
}
h3.uppercase2
{
margin-bottom: 35px;
}
h3.uppercase3
{
line-height: 0.6;
}
.sub-page a
{
font-weight: 600;
}
@media (min-width: 768px) and (max-width: 979px) { 
	#navigation{
	float: right;
	margin-top:5px;
	}
}

/* Landscape phones and down */
@media (max-width: 767px) {
	#news-letter-order input{
	width: 100%;
	margin: 10px 0px;
	height: 30px;
	}
	#navigation{
		float: none;
		margin: 0;
		padding-bottom: 20px;
	}
	.navbar-collapse{
		margin-top: 30px;
	}
}
@media (max-width: 780px) {
#quotes-slider{
	padding-top: 90px;
	padding-bottom: 270px;
}
.sub-page {
padding-top: 60px; 
padding-bottom: 290px;
}
}

@media (max-width: 800px) and (min-width: 700px) {

.aleksikuva img
{
width: 95%;
height: auto;
}
}
@media (max-width: 680px) and (min-width: 500px) {
h3.uppercase2
{
margin-bottom: 0px;
height: 0px;
}
.aleksikuva img
{
margin-bottom: 40px;
}
}
@media (max-width: 490px) and (min-width: 100px) {
h3.uppercase2
{
margin-bottom: 0px;
height: 0px;
}
#timeline ul li .timeline-text
{
font-size: 12px;
}
.aleksikuva img
{
margin-bottom: 40px;
}
}
.ssba
{
margin-top: 20px;
}
h3.uppercase3
{
line-height: 1.4;
}
}

@media (max-width: 533px) {
iframe
{
width: 100%;
height: auto;
}
}

.pagination-buttons{
	margin: 40px 0px;
}

.page_current{
	margin-right: 10px;
}