/* 
Theme Name: Responsive Child Theme
Theme URI: http://cyberchimps.com/guide/child-theme-example/
Description: Responsive Child Theme
Template: responsive
Version: 1.0.0
Author: IOStudio | Studio Ilpo Okkonen
Author URI: http://www.iostudio.fi

*/


@import url('animate.css');


/* =Start From Here
-------------------------------------------------------------- */

body { 	
	background-color: #fafafa;
	color: #000000;
	font-family: 'Roboto Slab',Palatino,serif;
	font-size: 13.5px;
	letter-spacing: 0.5px;
	line-height: 24px;
	text-align: center;
	font-weight: 300;
}

.front-page {
	background: url(core/images/nakyvyytta3.jpg) no-repeat top left #bfd0d4;
	background-position: center center;
	background-size: cover;
}

.front-page #container #header #mySticky {
	background: transparent;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
}

.front-page .menu a {
	color: #ffffff;
}

.front-page .menu .current_page_item a {
	background: none;
	background-color: transparent;
	background-image: none;
}

#featured {
	background-color: transparent;
	border: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

#featured-image {
	margin: 100px 20px 0;
}

.nakyvyytta {
	background: url(core/images/nakyvyytta_teksti_bg.png) no-repeat;
	/*background: url(core/images/nayttely_bg2.png) no-repeat;*/
	background-size: 100%;
	min-height: 340px;
}

@media screen and (max-width: 650px) {

	.nakyvyytta {
		/*background: url(core/images/nayttely_web.png) no-repeat;*/
		background: url(core/images/nakyvyytta_mobile.png) no-repeat;
		background-size: 90%;
		margin-left: 9%;
		margin-top: 160px;
		/*min-height: 230px;*/
	}
	
	.front-page {
		background: url(core/images/nakyvyytta3.jpg) no-repeat top left #bfd0d4;
		background-position: top;
		background-size: 200%;
	}

}


/* =Heading and paragraph styles
-------------------------------------------------------------- */

p {
	margin: 0 0 24px 0;
}

p.phone {
	color: #61aac1;
	font-weight: 400;
	margin-bottom: 0;
}

a, a:active, a:focus {
	color: #61aac1;
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	-ms-transition: all 0.3s ease-in-out 0s;
	-o-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

a:hover {
	color: #0276a3;
}

h1, h2, h3 {
	font-family: 'Arimo', sans-serif;
	text-align: center;
	font-weight: 400;
}

h4 {
	font-size: 25px;
	margin-bottom: 14px;
	font-weight: 300;
}

h5 {
	font-style: italic;
	font-weight: 400;
	margin-top: 0px;
	margin-bottom: 30px;
}

h1, h2 {
	text-transform: uppercase;
	letter-spacing: 4px;
}

h1 {
	font-size: 32px;
	line-height: 40px;
}

h2 {
	font-size: 16px;
	margin-top: 140px;
	margin-bottom: 60px;
}

h3 {
	font-size: 17px;
	line-height: 26px;
	color: #61aac1;
	letter-spacing: 1px;
	text-align: center;
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 60px;
}

h6 {
	font-family: 'Arimo', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #9f9f9f;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 22px;
	margin-top: 0;
	margin-bottom: 20px;
}

.navigation {
	margin-bottom: 100px;
}

h1.featured-title {
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
}

h1.post-title {
	font-size: 25px;
	margin-bottom: 14px;
	font-weight: 300;
	font-family: 'Roboto Slab',Palatino,serif;
	text-transform:none;
	letter-spacing:0;
	text-align:left;
}

h2.post-title {
	/*margin-top:40px;
	margin-bottom:20px;
	font-size:24px;*/

	font-family: "Roboto Slab",Palatino,serif;
	font-size: 25px;
	font-weight: 300;
	letter-spacing: 0;
	margin-bottom: 14px;
	margin-top: 40px;
	text-align: left;
	text-transform: none;
	line-height: 40px;
}

h2.post-title a {
	font-weight: 300;
}

blockquote p {
	color: #61AAC1;
}


/* =Globals
-------------------------------------------------------------- */

#container {
	max-width: 100%;
	padding:0;
}

#wrapper {
	border: none;
	background-color: transparent;
	text-align: left;
	padding: 0;
	margin: 10px 0 0 0;
	position: relative;
	top: 70px;
	padding-bottom: 70px;
}

.front-page #wrapper {
	max-width:960px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	max-width:960px;
	margin-left: auto;
	margin-right: auto;
}

#content-960 {
	max-width:960px;
	margin-left: auto;
	margin-right: auto;
	padding:20px;
}

#content-blog .post-entry {
	margin-bottom:60px;
}

/* =Content
-------------------------------------------------------------- */
#content, #content-full, #content-blog, #content-archive, #content-sitemap {
	margin-top: 20px;
}
#content-full {
	margin-bottom: 0;
}

div.scroll-top {
	text-align: center;
	background-color:#ccc;
	background: rgba(204, 204, 204, .7);
	filter:alpha(opacity=70); /* For IE8 and earlier */
	position:fixed;
	width:50px;
	height:50px;
	z-index:1000;
	right:0px;
	top:250px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
}

div.scroll-top a img {
	margin-top:10px;
}

div.scroll-top a:hover img {
	background:url(core/images/nuoli_1.png) center center no-repeat;
	width:30px;
	height:30px;
}

.front-page div.scroll-top, .front-page #footer {
	display:none;
}


/* =Horizontal Rule
-------------------------------------------------------------- */
hr {
	background: #dddddd;
	border: none;
	clear: both;
	color: #dddddd;
	float: none;
	height: 1px;
	width: 100%;
}


/* =Header Menu (Primary)
-------------------------------------------------------------- */

div#logo {
	width: 200px;
	margin-top: 20px;
}

.menu {
	background-color: transparent;
	background-image: none;
	font-family: 'Roboto Slab',Palatino,serif;;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	margin-top: 5px;
}

.main-nav {
	clear: none;
	float: right;
	margin-top: 30px;
}

.menu a {
	font-size: 16px;
	border: 0;
	font-weight: 400;
	color: #ffffff;
	text-shadow: 0 0 0;
	padding: 0;
	margin: 0 1.2em;
	background-color: transparent;
	height: 35px;
	line-height: 35px;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	margin-top: -2px;
}

@media screen and (max-width: 1100px) {

	.menu a {
		margin: 0 0.9em;
	}

}

.menu a:hover {
	background-color: transparent;
	background-image:none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	margin-top: -2px;
}

ul.menu > li:hover {
	background-color: transparent;
}

.menu .current_page_item a,
.menu .current-menu-item a {
	background-color: transparent;
}


/* =Sticky Nav
-------------------------------------------------------------- */

#mySticky {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 100000;
	height: 100px;
	
	background: #ffbe3b;
	-webkit-box-shadow: 0px 0px 5px #9b640b;
	-moz-box-shadow: 0px 0px 5px #9b640b;
	box-shadow: 0px 0px 5px #9b640b;
	
	padding: 0 20px;
}

@media screen and (max-width: 650px) {

	div#logo {
		margin-top: 0px;
		padding-top: 20px;
	}
	
	#mySticky {
		position: relative;
		-webkit-box-shadow: 0px 0px 0px;
		-moz-box-shadow: 0px 0px 0px;
		box-shadow: 0px 0px 0px;
		padding: 0;
	}
	
	#content-full {
		margin-top: 0px;
	}
	
	#wrapper {
		top: 0px;
	}

}

#sticky_navigation_wrapper { 
	width: 100%;
	height: 50px;
}

#sticky_navigation { 
	width: 100%;
	text-align: center;
	height: 50px;
	z-index: 9999;
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

#sticky_divtoappear {
	background: rgba(244, 173, 33, 0.9);
	width: 100%;
	height: 70px;
	margin-bottom: -85px;
	-webkit-box-shadow: 0px 0px 5px #888;
	-moz-box-shadow: 0px 0px 5px #888;
	box-shadow: 0px 0px 5px #888;
}

#header-stuff {
	margin-left: 50px;
	margin-right: 50px;	
}

@media screen and (max-width: 1100px) {
	
	#header-stuff {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;	
	}

}


#sticky_navigation ul {  
	list-style:none; 
	margin:0; 
	padding:5px;
	padding-top:0; 
}

#sticky_navigation ul li { 
	margin:0; 
	padding:0 20px; 
	display:inline; 	
}

#sticky_navigation ul li a {
	display:block;
	float:right;
	margin:0 20 0 25px;
	padding:0;
	height:40px;
	line-height:40px;
	font-size: 16px;
	color: #333;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.9);
	font-weight: 400;
	letter-spacing: 1px;
}

#sticky_navigation ul li a:hover {
	color: #fff;
	text-shadow: 0 0 0;
}



/* =Sub-Header Menu
-------------------------------------------------------------- */
.sub-header-menu {
	background-color: transparent;
	border: none;
	float:right;
	clear:right;
	margin-top:0px;
	padding-right: 0.3em;
}

.sub-header-menu a {
	border-left: 1px solid #ccc;
	color: #cccccc;
	font-size: 14px;
	font-family:'Roboto Condensed', sans-serif;
	font-weight: 400;
	text-transform:uppercase;
	height: 18px;
	line-height: 18px;
	
}

.sub-header-menu a:hover {
	background-color: transparent;
	color: #1a1a1a;
}


/* Yritys
-------------------------------------------------------------- */

.box {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

#white {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	padding-bottom: 60px;
	background-image: url(core/pattern/white_paperboard.png);
}

#blue, #beige {
	width: 100%;
	overflow: auto;
	padding-bottom: 60px;
}

#blue {
	background: #9fc3d3;
	background-image: url(core/pattern/blue_paperboard.png);
}

#beige {
	background: #d8d8d2;
	background-image: url(core/pattern/beige_paperboard.png);
}

#blue h1, #blue h2, #blue h4, #beige h1, #beige h2 {
	color: #fff;
}

#blue h3, #beige h3 {
	color: #333;
}

#portfolio h3 {
	color: #000;
	max-width: 100%;
	text-align: left;
	font-size: 15px;
	margin-bottom: 40px;
}

.esittely {
	background-color: #f0f0f0;
	padding-bottom: 40px;
	max-width: 300px;
	margin-bottom: 28px;
}

.esittely img {
	padding-bottom: 30px;
}

.esittely p, .esittely h4, .esittely h5 {
	padding-left: 20px;
	padding-right: 20px;
}

.esittely h4 {
	font-family: 'Arimo', sans-serif;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 17px;
	line-height: 22px;
	text-align: center;
}

.esittely h5 {
	color: #61aac1;
	font-size: 14px;
	text-align: center;
	padding-bottom: 20px;
	line-height: 24px;
}
	

/* =Palvelut
-------------------------------------------------------------- */

.icon {
	margin: 40px 0 20px 0;
}



/* =Työt
-------------------------------------------------------------- */

body #portfolio-filter {
	margin-top: 100px;
}

body #portfolio-filter li {
	display: block;
	float: left;
	margin-bottom: 12px;
}

body #portfolio-filter li a {
	color: #999;
	background-color: transparent;
	border: 0px;
	border-right: 1px solid #cccccc;
	padding: 0 10px;
}

body #portfolio-filter li .current, body #portfolio-filter li a:hover {
    color: #61aac1;
}

ul#portfolio-filter, ul#portfolio-list {
	padding-left: 0px;
}

body #portfolio-wrapper {
	width: 104%;
	margin-top: 0;
}

body #portfolio-list .portfolio-item {
	margin: 10px 20px 10px 0;
	height: 200px;
	-webkit-box-shadow:  0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
	border: 0;
	padding: 0;
}

body #portfolio-list .portfolio-item:hover {
	opacity: 1.0;
	filter:alpha(opacity=100);
}

body #portfolio-list li:hover {
	-webkit-box-shadow:  0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
}

body #portfolio-list .portfolio-item .portfolio-item-meta {
	height: 200px;
	width: 300px;
	margin: 0;
	padding: 0;
	position: relative;
	top: -200px;
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	-ms-transition: all 0.3s ease-in-out 0s;
	-o-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
	/*background-color: rgba(0, 0, 0, 0.7);*/
	/*
	width: 200px;
	height: 90px;
	top: -90px;
	left: 0px;*/
}

body li.portfolio-item:hover .portfolio-item-meta {
	/*background-color: rgba(82, 155, 175, 0.85);
	background-color: rgba(33, 33, 33, 0.75);*/
	background-color: #ffbe3b;
	/*background-color: rgba(0, 0, 0, 0.8);*/
}

body #portfolio-list .portfolio-item .portfolio-item-meta:hover {
	/*background-color: rgba(82, 155, 175, 0.85);
	background-color: rgba(33, 33, 33, 0.75);*/
	background-color: #ffbe3b;
	/*background-color: rgba(0, 0, 0, 0.0);*/
}

body #portfolio-list .portfolio-item .portfolio-item-meta:hover a {
	color: transparent;
}

/*
body #portfolio-list .portfolio-item .portfolio-item-meta {
	background-color: rgba(140, 193, 211, 0.9);
	transition: all 0.9s ease-in-out 0s;
}



body #portfolio-list .portfolio-item .portfolio-item-meta:hover {
	/*background-color: rgba(255, 0, 0, 0.0);
	opacity: 0.0;
}
*/

body #portfolio-list .portfolio-item .portfolio-item-meta a {
	color: transparent;
	font-weight: 300;
	padding-top: 70px;		/* bigger link area, not just text */
	padding-bottom: 100px;
	padding-left: 15px;
	padding-right: 15px;
	width: 270px;
	text-transform: uppercase;
	font-family: 'Arimo', sans-serif;
	letter-spacing: 2px;
	
	/*padding: 10px 15px 15px 15px;
	width: 170px;
	text-transform: none;
	letter-spacing: 1px;
	text-align: left;*/
}

.evm_veiw img {	/* hide image */
	width: 0;
	height: 0;
}

body li.portfolio-item .portfolio-item-meta {
	background: transparent;
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	-ms-transition: all 0.3s ease-in-out 0s;
	-o-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

body li.portfolio-item:hover .portfolio-item-meta {
	/*background: #8FBAC9;*/
}

.portfolio {
	margin-top: 80px;
}

.portfolio h1 {
	text-align: left;
	font-size: 26px;
	letter-spacing: 0.5px;
	margin-top: 5px;
}

/* breadcrumb on single project page */

.post-meta {
	margin-top: 20px;
	font-size: 12.5px;
	text-align:left;
}

/* navigation to prev and next project page */

.navigation a {
	color: #61aac1;
}

.navigation a:hover {
	color: #888888;
}


/* =Ajankohtaista
-------------------------------------------------------------- */

#blue h6 {
	margin-top: 50px;
	margin-bottom: 20px;
}

ol.blogipostaus {
    counter-reset:li; /* Initiate a counter */
    margin-left:-2em; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
ol.blogipostaus > li {
    position:relative; /* Create a positioning context */
    margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
    /*border-top:2px solid #666;
    background:#f6f6f6;*/
}

ol.blogipostaus > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:36px;
    left:-1.5em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:8px;
    padding:4px;
    /*border-top:2px solid #666;*/
    color:#61AAC1;
    background:none;
    font-weight:bold;
    font-family: 'Arimo', sans-serif;
	font-size:60px;
    text-align:center;
}

li ol,
li ul {margin-top:6px;}
ol ol li:last-child {margin-bottom:0;}

@media screen and (max-width: 760px) {
	
	ol.blogipostaus {
    margin-left:0em; /* Remove the default left margin */

}
	
	ol.blogipostaus > li:before {
	font-size:30px;
	top:28px;
    left:-1.5em;
	}
}

p.alkumerkki {
	 color:#61AAC1;
	font-weight:bold;
    font-family: 'Arimo', sans-serif;
	font-size:96px;
    /* text-align:center; */
	/* padding-top: 30px; */
	padding-bottom:20px;

}

/* =Error 404
-------------------------------------------------------------- */

div.error404 {
	min-height: 600px;
	max-width: 960px;
	margin: 0 auto;
	padding-top: 100px;
}

div.error404 h1 {
	margin-bottom: 100px;
}


/* =Margins & Paddings
-------------------------------------------------------------- */

form div {
	margin-bottom: .25em;
}


/* =Video
-------------------------------------------------------------- */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* =Parallax scrolling effect
-------------------------------------------------------------- */

#home, #services, #jobs, #contact, #news, #oulu { 
	height: 500px;
	margin: 0 auto;
    width: 100%; 
	position: relative;
	margin-top: 0px;
}

.tausta {
	background-image: url(core/pattern/white_paperboard.png);
}

#home { 
	background: url(core/images/yritys.jpg) 50% 100px no-repeat fixed;

}

#services { 
	background: url(core/images/palvelut.jpg) 50% 100px no-repeat fixed;

}

#jobs { 
	background: url(core/images/rekry.jpg) 50% 100px no-repeat fixed;

}

#news { 
	background: url(core/images/ajankohtaista.jpg) 50% 100px no-repeat fixed;

}

#contact {
	background: url(core/images/yhteytta.jpg) 50% 100px no-repeat fixed;
}

#oulu {
	background: url(core/images/kansikuva_nettiin.jpg) 50% 100px no-repeat fixed;
}

@media (max-width: 650px) {

	#home, #services, #jobs, #contact, #news, #oulu {
		visibility: hidden;
		display: none;
		height: 0;
	}

}


/* =Ota yhteyttä
-------------------------------------------------------------- */

ul.ikonilista {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	margin-top: 50px;
}

ul.ikonilista li {
	background-repeat: no-repeat;
	background-position: 0px -2px;
	color: #FFF;
	padding: .25em;
	padding-left: 60px;
	height: 50px;
	font-family: 'Arimo', sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
}

ul.ikonilista li a {
	color:#FFF;
}

ul.ikonilista li a:hover {
	color:#cae0ea;
}

ul.ikonilista li.puh-ikoni { 
	background-image: url(core/icons/yhteys-phone.png);
	padding-top: .4em;
}

ul.ikonilista li.maili-ikoni { 
	background-image: url(core/icons/yhteys-mail.png);
	padding-top: .4em;
}

ul.ikonilista li.osoite-ikoni { 
	background-image: url(core/icons/yhteys-location.png);
	padding-top: .4em;
}

ul.ikonilista li.fb-ikoni { 
	background-image: url(core/icons/yhteys-fb.png);
	padding-top: .4em;
}

ul.ikonilista li.ig-ikoni { 
	background-image: url(core/icons/yhteys-ig.png);
	padding-top: .4em;
}

.cscfMessageSent h3 {
	text-align: left;
	margin-top: 60px;
	margin-bottom: 20px;
	max-width: 100%;
}

iframe {
	width: 100%;
	height: 350px;
}

/* prevent mouse scroll over the google maps */

#map_canvas{
    height: 350px;
    width: 100%;
}

body div.login-control {
	width: 0;
	height: 0;.
}

.scrollof{
    pointer-events: none;
}


/* =Form
-------------------------------------------------------------- */

label {
	font-weight: 400;
	font-style:italic;
	font-family: 'Droid Serif', serif;
	color:#666;
	padding:0 0;
}

.control-group label {
	color: transparent;
	height: 0;
	padding: 0;
	margin-top: -10px;
}

select,
input[type="text"],
input[type="password"],
input[type="email"] {
	-moz-box-sizing: border-box;
	-moz-border-radius: 0;
	-webkit-box-sizing: border-box;
	-webkit-border-radius: 0;
	-webkit-box-shadow: 0;
	-moz-box-shadow: 0;
	box-shadow: 0;
	background-color: #ffffff;
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-bottom-color: #ddd;
	border-radius: 0;
	cursor: text;
	margin: 0;
	outline: none;
	padding: 6px 8px;
	vertical-align: middle;
	width: 100%;
	margin: 0;
}

a.button, input[type="reset"], input[type="button"], input[type="submit"] {
	font-family: 'Droid Serif', serif;
	font-weight: 400;
	font-style: italic;
	text-transform: uppercase;
}

area,
textarea {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-border-radius: 0;
	-webkit-box-shadow: 0;
	-moz-box-shadow: 0;
	background-color: #ffffff;
	box-shadow: 0);
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-bottom-color: #ddd;
	border-radius: 0;
	height: auto;
	overflow: auto;
	margin: 0;
	outline: none;
	padding: 8px 10px;
	width: 100%;
}

.input-xlarge,
#frmCSCF input {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

#frmCSCF input.btn-default {
	font-weight: 400;
	font-family: 'Roboto', sans-serif;
	color: #333;
	font-style: normal;
	margin: 1.65em 0 0 0;
}

.success {
	background-color: transparent;
	border: 0;
}

/* =Buttons (Call to Action)
-------------------------------------------------------------- */
.call-to-action a.button {
	/*background: #0B7A97 none repeat scroll 0% 0%;
	color: #FFF;
	border: 2px solid #18627C;
	box-shadow: 0px 0px 1px 1px #56B4D5;*/
}

/* =Widgets
-------------------------------------------------------------- */
.widget-wrapper,
.home-widgets .widget-wrapper {
	border: none;
	color: #676767;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	padding-top:0;
}

#footer .widget-wrapper {
	padding: 0;
}

.menu-mainnav-container ul {
	padding-left: 0;
}

.menu-widget {
	text-align: left;
	list-style: none;
}

#widgets .widget_search {
	background-color: transparent;
	padding:0;
}

.widget-title,
.widget-title-home h3 {
	/*text-transform:uppercase;*/
	text-align:center;
	font-size: 2.250em;
	border-bottom: 3px solid #6c6c6c;
	/* padding-bottom: .33em; */
	margin-bottom:.5em;
	padding-top:20px;
}

.widget-title h3 {
	color:#6c6c6c;
}

#widgets h5 {
	padding:0;
	font-size:font-size: 1.125em;
	border-bottom: none;
	margin-top:.25em;
	margin-bottom:.25em;
	font-family:dosis, 'dosisregular', sans-serif;
	text-transform:uppercase;
}

#footer #widgets a {
	color:#FFF;
}

#widgets .post-date {
	color:#8d8d8d;
	font-size:11px;
}


/* =Footer
-------------------------------------------------------------- */

#footer-container {
	margin-top: -20px;
	position: absolute;
	left: 0;
	right: 0;
}

#footer {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 1.5em;
	padding-top: 50px;
	max-width: none;
	margin-left: 50px;
	margin-right: 50px;	
}

@media screen and (max-width: 1100px) {
	
	#footer {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;	
	}

}

#footer-container, #footer, #footer .widget-wrapper {
	background: #303c40;
	color: #ccc;
	border:none;
}

#footer a {
	color: #aaa;
	font-weight: 300;
}

#footer a:hover {
	color: #fff;
}

#footer h4 {
	margin-top: 0;
	color: #fff;
	font-size: 23px;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 30px;
}

.widget-wrapper {
	color:#9F9F9F;
	border:#9F9F9F 1px solid;
}

.textwidget .copy {
	text-align: right;
	margin: 0;
	margin-top: -3px;
}

.textwidget .contact {
	text-align: left;
	margin: 0;
}


@media screen and (max-width: 980px) {
	
	.grid, .grid-right {
		float: left;
	}
}


@media screen and (min-width: 761px) {
	
	.col-300 {
		width: 31.3%;
		margin-right: 3%;
	}
	
	.col-460 {
		width: 48.5%;
		margin-right: 3%;
	}
	
	.col-620 {
		width: 65.7%;
		margin-right: 3%;
	}

	.esittely-fit {
		margin-right: 0 !important;
		
	}

}


@media screen and (max-width: 760px) {
	
	.grid, .grid-right {
		float: none;
	}

	#blue {
		text-align: center;
	}

	#blue.blue-contact {
		text-align: left;
	}

	.textwidget .copy {
		margin-top: -164px;
	}
	
	.esittely, .esittely-fit {
		margin-left: auto;
		margin-right: auto !important;
	}
	
	h3 {
		max-width: 100%;
	}
	
	.post-meta {
		margin-top: 80px;
		font-size: 13.5px;
	}

}

@media screen and (max-width: 870px) and (min-width: 651px) {
/*@media screen and (max-width: 760px) and (min-width: 651px) {*/
	
	#mySticky {
		height: 150px;
	}
	
	div#logo {
		width: inherit;
		float: none;
		margin-top: 15px;
	}
	
	.main-nav {
		float: none;
		margin-top: 25px;
	}
	
	.menu li {
		float: none;
		display: inline-block;
	}
	
	.menu a {
		margin: 0 12px;
	}

}


@media screen and (max-width: 650px) {
	
	div.scroll-top {
		right:20px;
		top:0px;
		-moz-border-radius-bottomleft: 10px;
		border-bottom-left-radius: 10px;
		-moz-border-radius-bottomright: 10px;
		border-bottom-right-radius: 10px;
		-moz-border-radius-topleft: 0;
		border-top-left-radius: 0;
	}
	
	div#logo {
		width: inherit;
	}

	.main-nav {
		float: none;
	}
	
	.js .main-nav {
		background-color: #333;
		background-image: none;
		margin: 20px 0 0;
	}
	
	.js .main-nav #responsive_current_menu_item {
		padding: 10px;
		font-weight: 400;
		font-size: 15px;
	}

	.js .main-nav a#responsive_menu_button {
		top: 7px;
		margin-left: -40px;
	}
	
	.js .main-nav .menu {
		top: 40px;
	}
	
	.js .main-nav .menu li a {
		font-size: 15px;
		text-align: center;
	}

	.textwidget .contact {
		float: none;
		text-align: center;
	}

	.textwidget .copy {
		margin-top: 0px;
		text-align: center;
		float: none;
	}
	
	.navigation .next {
		float: left;
	}

	.front-page #wrapper {
		margin-bottom: 0px;
	}

	h1, h2, h3 {
		animation-duration: 0s !important;
	}
	
	#footer-container {
		margin-top: -90px;
	}

}

@media screen and (max-width: 480px) {
	
	h1 {
		font-size: 26px;
		line-height: 30px;
	}
	
	h2 {
		font-size: 14px;
		letter-spacing: 3px;
	}
	
	h3 {
		font-size: 16px;
		line-height: 24px;
	}

	#featured-image {
		margin-top: 130px;
	}

}

@media screen and (max-width: 400px) {
	
	h1  {
		font-size: 22px;
		line-height: 28px;
		letter-spacing: 2px;
	}
	
	#footer h4 {
		font-size: 21px;
	}

}