/*
Theme Name: Spacious Child
Theme URI: http://themegrill.com/themes/spacious
Template: spacious
Author: ThemeGrill
Author URI: http://themegrill.com
Description: Spacious is an incredibly spacious multipurpose responsive theme coded &amp; designed with a lot of care and love. You can use it for your business, portfolio, blogging or any type of site. It has 4 page layouts, 2 page templates, 4 blog display types, 13 widgets areas, 5 custom widgets focusing on business template, awesome slider, primary color option to match your logo &amp; website, boxed &amp; wide layout, light &amp; dark color skin, translation ready and many more. You can get free support in http://themegrill.com/support-forum/ and check the demo at http://demo.themegrill.com/spacious/.
Tags: one-column,two-columns,right-sidebar,left-sidebar,flexible-header,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,featured-images,theme-options,footer-widgets,blog,e-commerce,education,entertainment,food-and-drink,holiday,news,photography,portfolio
Version: 1.4.0.1.1472112472
Updated: 2016-08-25 11:07:52

*/

body, html {

	padding-top: 0;

}

#page {

	background: #fdf4e4;
	box-shadow: none;

}

/* TYPOGRAPHY */

h1, h2, h3, p, a, li {

	font-family: 'Roboto', sans-serif;
	font-weight: lighter;
	font-weight: 100;

}

h1.header-post-title-class {

	color: #f2911a;
	font-size: 4em;
	text-transform: uppercase;
	line-height: 1em;
	letter-spacing: 1px;

	transform: scale(1,1.1);
	-webkit-transform: scale(1,1.1);
	ms-transform: scale(1,1.1);
	-moz-transform: scale(1,1.1);

}

h2 {

	color: #f2911a;

}

.main-navigation ul li a {

	color: #a48b89;
	font-size: 0.8em;
	font-weight: normal;
	/* padding: 16px 5px 0; */
	text-transform: uppercase;	

}

.main-navigation a:hover, .main-navigation ul li.current-menu-item a, .main-navigation ul li.current_page_ancestor a, .main-navigation ul li.current-menu-ancestor a, .main-navigation ul li.current_page_item a, .main-navigation ul li:hover > a {

	color: #f2911a;

}

.boxholder a h2:hover, .boxholder a h2:focus, .boxholder a h2:active {

	text-decoration: underline;

}

.boxholder a:hover, .boxholder a:focus, .boxholder a:active {

}

p {

	color: #9b7f7d;
	margin-bottom: 8px;

}

li {

	color: #9b7f7d;

}

.topbanner p {

	color: #000;


}

.header-post-title-class .longheader {

	font-size: 0.7em;

}

.home .header-post-title-class .longheader {
	
	font-size: 0.9em;
	line-height: 1em;

}

.home .header-post-title-class .longheader.germany {

	font-size: 0.85em;

}

h1 sup {

	font-size: 30px;
	top: -35px;

}

h2 sup { 

	font-size: 20px;	

}

/* LANGUAGE MENU */

.qtranxs_widget ul {

	float: left;

}

div#header-right-sidebar a {

	color: #fff;
	font-weight: normal;
	text-transform: uppercase;

}

.qtranxs_widget ul li {

	opacity: 1 !important;

}

.qtranxs_widget ul li.active, 
.qtranxs_widget ul li:hover {

	text-decoration: underline;

}

/* NAVIGATION & HEADER */

#header-logo-image {

	max-width: 250px;

}

#header-logo-image a img:hover {

	opacity: 1;

}

.topbanner {

	background: #f2911a;
	color: #fff;
	font-size: 0.8em;
	min-height: 40px;

}

.topbanner #header-right-sidebar {

	float: none;
	padding: 10px;
	margin: 0 auto;
	max-width: 90%;

}

.topbanner #text-2 {

	float: right;

}

#header-text-nav-container {

	border: none;

}

.inner-wrap {

	float: left;
	max-width: 1268px;
	width: 100%;

}

header .inner-wrap {

	float: none;
	margin: 0 auto;
	width: 90%;

}

#header-right-section {

	float: left;

}

.main-navigation {

	padding-top: 17px;

}

.main-navigation a {

	height: 25px;

}

.main-navigation li {

	padding: 0 0 0 50px;
}

.main-navigation ul li ul {

	border: none !important;
	left: 45px;
	top: 41px;

}

.main-navigation ul li ul li {

	border: none;
	padding: 0;
	text-align: left;
	text-transform: lowercase;

}

.main-navigation ul li ul li a {

	background: #FFF;
	font-size: 0.8em;
	text-transform: capitalize;
	padding: 12px 5px 0;

}

.main-navigation ul li.current-menu-item a, .main-navigation ul li.current_page_ancestor a, .main-navigation ul li.current-menu-ancestor a, .main-navigation ul li.current_page_item a {

	border-bottom: 2.5px solid #f2911a;
	position: relative;
	z-index: 10000;

}

.main-navigation ul li ul li a, .main-navigation ul li.current-menu-item ul li a {

	border-bottom: none;
	padding: 6px 10px;

}

.main-navigation ul li.current_page_ancestor ul li a, .main-navigation ul li.current-menu-ancestor ul li a {

	border: none;

}
.main-navigation ul li ul.sub-menu {
	display: none;
	top: 23px; /*top: 37px;*/
}
.main-navigation ul li a:hover ul.sub-menu,
.main-navigation ul li a:active ul.sub-menu,
.main-navigation ul li a:focus ul.sub-menu,
.main-navigation ul li:hover ul.sub-menu,
.main-navigation ul li:active ul.sub-menu,
.main-navigation ul li:focus ul.sub-menu {
	display: block;
}

#masthead {

	background: #FFF;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;

}

.header-image {

	max-width: 90%;

}

/* MOBILE MENU */ 

.site-header .menu-toggle {

	text-align: left;
	width: 216px;

}

.main-small-navigation {

	text-align: left;

}

.main-small-navigation .menu-main-navigation-container {

	position: absolute;

}

.main-small-navigation ul {

	opacity: 0.95;
	position: relative;
	z-index: 999999999999;
	width: 260px;

}

nav#site-navigation.main-small-navigation {

	padding-top: 17px;
	background: transparent;
	margin-top: 0;

}

/* CONTENT */ 

div#main {

	margin: 0 auto;
	max-width: 100%;
	padding: 0;
	position: relative;

}

.home #main {

	min-height: auto;

}

.header-post-title-container {

	border: none;
	box-shadow: none;
	margin: 0 auto;

}

#content .post, #content .page {

	padding-bottom: 0;

}

.no-sidebar-full-width #primary {

	background: #fdf4e4;
	margin-bottom: 10px;
	padding: 0;
	position: relative;
	width: 100%;
	
}

.no-sidebar-full-width #primary.smallheader {

	min-height: auto;

}

.no-sidebar-full-width #contentholder {

	background: #fdf4e4;
	float: left;
	margin: 50px 0 0px 50px;
	max-width: 90%;
	padding: 2% 3%;
	position: relative;
	width: 430px;
	z-index: 10;

}

.no-sidebar-full-width #contentholder .smallheader {

	margin-bottom: 0;

}

#backgroundimage {

	float: none;
	height: 100%;
	left: 0;
	max-height: 550px;
	position: absolute;
	width: 100%;
	overflow: hidden;

}

.video-container{
	max-width: 900px;
	margin: 0 auto;
	padding: 4% 0% 0% 0%;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin: 0 auto;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 95.3%;
}

.content-padding{
	padding: 4%;
	max-width: 900px;
	margin: 0 auto;
}
.clearboth{
	clear: both;
	padding-top: 15px;	
}
/* BOTTOM THREE BOXES */

.boxrowholder {

	margin: 0 auto;
	width: 100%;

}

.boxholder {

	display: -webkit-box;
	display: -moz-box;

	float: left;
	width: 100%;
}

.firstbox, .secondbox {

	margin-right: 0.5%;

}

.thirdbox {

	margin-right: 0;

}

.firstbox, .secondbox, .thirdbox {

	float: left;
	height: 200px;
	margin-bottom: 10px;
	max-width: 458px;
	overflow: hidden;
	position: relative;
	width: 33%;

}

.firstbox img, .secondbox img, .thirdbox img {

	height: 100%;
	margin-bottom: 0;

}

.boxtextholder {

	position: absolute;
	top: 18px;
	left: 5%;
	max-width: 90%;

}

.boxtextholder.homebox {

	max-width: 62%;

}

.boxholder h2 {

	font-size: 1.8em;
	line-height: 1.1em;
	color: #fff;
	text-transform: uppercase;

}

.boxholder p {

	font-size: 0.9em;
	font-weight: lighter;
	line-height: 1.3em;
	color: #665f57;

}

.boxholder p a {

	color: #665f57;

}

.firstbox p a img, .secondbox p a img, .thirdbox p a img {

	height: 16px;

}

.boxtext {

	color: #fff;

}

/* PAGE TEMPLATE BIG HEADER */

.page-template-bigheader #main {

	max-width: 100%;

}

/* PAGE TEMPLATE SMALL HEADER */

.page-template-smallheader #main {

	min-height: 100px;

}

.smallheader #backgroundimage {

	max-height: 250px;

}

.smallheader #contentholder {

	margin-bottom: 0;

}

/* PAGE TEMPLATE SCIENCE PAGE */

.boxtextholder.sciencebox {

	max-width: 90%;

}

.scienceheader #contentholder {

 	margin-bottom: 0;

}

/* PAGE TEMPLATE CONTACT PAGE */

.contactpage #contentholder {

	background: transparent;
	margin-top: 100px;
	width: 1050px;

}

.contactpage #content {

	float: left;
	margin-bottom: 20px;
	width: 100%;

}

.contactpage .header-post-title-container {

	min-height: 100px;
	max-width: 90%;
	float: left;
	background: #fdf4e4;
	padding: 30px 20px 60px;
	width: 400px;

}

/* CONTACT PAGE EMPLOEYR LIST */

.memberholder {

	display: flex;
    
	display: -webkit-flex;

	display: -moz-flex;

	display: -ms-flexbox;

	width: 100%;

}

.staff-member {

	float: left;
	height: 400px;
	max-width: 190px;
	margin-right: 20px;
	text-align: center;

}

staff-member-info-wrap h1, h2, h3, h4, h5, h6 {

	padding-bottom: 10px;

}

.staff-member-info-wrap h3 {

	color: #a48b89;
	font-size: 1em;
	line-height: 1.2em;
	text-transform: uppercase;

}

.staff-member-info-wrap h4 {

	font-weight: normal;

}

.staff-member-info-wrap h4, .staff-member-info-wrap a {

	color: #a48b89;
	font-size: 0.9em;
	line-height: 1em;

}

p.staff-member-bio {

	font-size: 14px;
	line-height: 16px;
	padding: 0 5px;

}

/* PAGE TEMPLATE SOLUTIONS PAGE */

#secondcontent {

	margin-top: 280px;
	position: relative;
	text-align: center;

    	width: 50%;
    	float: left;

}

#secondcontent p {
	
	display: none;

}

#secondcontent p:lang(fi) { 

	display: block;

}

/* FOOTER */

.footer {
	
	background: #eb9536;

}

footer#colophon {

	background: #f2911a;

}

.footer-socket-wrapper {

    	background: transparent;
    	border: none;
	margin: 0 auto;
	width: 90%;

}

.footerblock {

	color: ##ffe6cc;
	float: left;
	margin: 20px 0;
	opacity: 0.9;
	width: 25%;

}

.footerblock.faceicon {

	display: none;

}

.footerblock.faceicon a img:hover {

	opacity: 1;

}

.footerblock.faceicon:lang(fi) {

	display: block;

}

.footerblock p {

	color: #fff;

}

a.someicon {

	float: left;
	height: 30px;
	margin: 0 15px;

}

/*Icon fix*/
footer .faceicon p{
	display: inline-block;
	margin: 0px 10px;
}
footer .faceicon p a:lang(fi) {

	display: inline-block !important;

}
@media only screen and (max-width: 767px) {
	.footerblock.faceicon {
	    text-align: center;
	}
}

/* MEDIA QUERYS */

@media only screen and (max-width: 1100px) {

.no-sidebar-full-width #contentholder {

	float: none;
	margin: 20px auto;
	max-width: 90%;

}

.no-sidebar-full-width #primary.bigheader {

	min-height: auto !important;

}

.boxholder {

	display: block;

}

.firstbox, .secondbox, .thirdbox {

	float: none;
	width: 100%;
	margin: 10px auto;

}

.boxholder h2 {

	font-size: 1.3em;

}

.boxholder p {

	font-size: 1em;

}

#secondcontent {

	margin-top: auto;
	width: 100%;

}

}

@media only screen and (max-width: 767px) {

#page, div#main {

	max-width: 100%;
	width: 100%;

}

div#main {

	min-height: 400px;

}

.no-sidebar-full-width #primary {

	margin: auto;
	min-height: auto;

}

.no-sidebar-full-width #contentholder {

	margin: 0 auto 20px;
	padding: 0 20px;

}

.no-sidebar #primary {

	max-width: 90%;

}

ul.sub-menu {

	display: none;

}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {

	top: 0;

}

.footerblock {

	float: none;
	width: 100%;

}

.footerblock img {

	display: block;
	float: none;
	margin: 0 auto;

}

.footerblock p {

	text-align: center;

}

a.someicon {
    
	float: none;

}

}

@media only screen and (max-width: 600px) {

#backgroundimage {

	position: relative;

}

h1.header-post-title-class {

	font-size: 2em;

}

h2 {

	font-size: 1.4em;

}

.boxholder p {

	font-size: 0.8em;

}

.contactpage .header-post-title-container {

	min-height: auto;
	padding: 30px 0 40px;

}

}

@media only screen and (max-width: 500px) {

.staff-member {

	float: none;
	margin: 0 auto;

}

.memberholder {

	display: block;

}

}

/*Quality*/
.quality-right-container{
	float: left;
	display: block;
	position: relative;
	width: 45%;
	margin-top: 300px;	
}
.quality-right-content{
	display: flex;
}
.quality-logo-container{
	flex: 1;
	margin-right: 20px;
	max-width: 200px;
}
@media only screen and (max-width: 1100px) {
	.quality-right-container {
	    width: 100%;
	    margin-top: 0px;
	}
	.quality-right-content {
	    justify-content: center;
	    padding-left: 15px;
	}
	.quality-logo-container{
		max-width: 120px;
	}
}