/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/


/* -----------------------------------------
   Shared Styles
----------------------------------------- */

body {
	font-family: futura-pt, sans-serif;
}

.header {
    position: relative;
	margin-bottom: 2em;
}
.flags-container {
	margin-bottom: 1.5em;
}
div#flags a img {
    position: relative;
    top: 4px;
}
div#flags a span {
    margin-left: 0.5em;
    margin-right: 1em;
    color: black;
    font-size: 10px;
}

.header-video-container {
	padding-bottom: 56.25%;
	position: relative;
}

.header-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#main-content-area p,
#main-content-area li {
	font-size: 16px;
}

#main-content-area div.details div.row div {
	font-size: 16px;
}

.header.bg {
	height: 56.25vw;
}

.header.bg .header-background {
    background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 56.25%;
	height: 0;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#mobile-nav {
	background: #fff;
}

#mobile-nav > li {
	border-color: #fff;
}

#mobile-nav > li:hover {
	background: #f2f2f2;
}

#mobile-nav > li.has-flyout > a:first-child:after {
	border-top-color: #007336;
}

.nav-bar li ul li.active a {
	background: #007336;
}

.main-navigation {
	text-align: center;
	z-index: 200;
	padding: .5em 0 .8em;
}

.main-navigation .logo {
	vertical-align: middle;
	padding-bottom: 1em;
}

.main-navigation ul {
    margin: 0 auto;
	background: rgba(255,255,255,.9);
	padding: 0 1em;
	border-radius: 0.5em;
	font-weight: bold;
	display: inline-block;
}

.main-navigation ul li {
	display: inline-block;
	font-family: futura-pt;
	font-weight: normal;
	font-size: 1.2em;
    color: #007336;
	padding: 0 .75em;
}

.main-navigation ul li a,
.main-navigation ul li a:visited {
    color: #007336;
}

.main-navigation ul li a:hover {
    color: #808080;
}

.main-navigation ul li.active a {
	color: black;
}

.page-content img {
    margin-right: 1em;
}

.orbit-wrapper .orbit-caption {
	font-size: 16px;
	line-height: 1.4;
	padding: 9px 12px;
}

.orbit-wrapper .orbit-caption a {
	display: block;
	color: #fff;
	transition: opacity .5s;
}

.orbit-wrapper .orbit-caption a:hover {
	opacity: .8;
}

.orbit-wrapper .orbit-caption h3 {
	font-size: 20px;
	color: #fff;
	margin-top: 0;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.contact-button {
	margin: 2em 0;
}

.footer {
	margin-top: 3em;
	position: relative;
	background-color: #293321; 
	z-index: 64;
	min-height: 300px;
}

.footer .bg {
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 300px;
	opacity: 0.1;
    background-image: url(../images/footer-valkoinen.png); 
	background-position: center 0;
}

.footer p {
    color: #f3f3f3;
    margin: 0 auto;
}

.footer a,
.footer a:visited,
.footer span.top-level-link {
	color: #f3f3f3;
	font-style: normal;
}

.footer .social-icons a {
	font-size: 1.8em;
	line-height: 1;
	margin-right: .5em;
}

div.row.site-map {
	padding-top: 2em;
	padding-bottom: 1em;
}

div.row.site-map .top-level-link {
	text-transform: uppercase;
}

div.row.site-map ul li ul {
	list-style-type: none;
	margin-left: 0px;
}
div.row.site-map p.contact-information {
	color: #f0f0f0;
}

/* -----------------------------------------
   modelline styles
----------------------------------------- */

.model-line.block-grid.three-up > li:nth-child(3n+1) {
    clear: left;
}

.model-line.block-grid.mobile {
	margin-left:auto; margin-right: auto;
}

.model-line li div.description-container {
	padding: 1em;
	background: #F3F3F3;
	border-bottom-right-radius: 1em;
	border-bottom-left-radius: 1em;
}

.model-line li div.description-container p {
	font-style: italic;
	color: #29544D;
}

.model-line li div.pic-container {
	position: relative;
    overflow: hidden;
	margin-top: 1em;
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;
	line-height: 0;
}

.model-line li:hover {
    opacity: 0.7;
}
.model-line li .title {
    width: 100%;
    position: absolute;
	font-size: 17px;
	line-height: 1.6;
    bottom: -3px;
    left: 0px;
    height: 2em;
    padding-left: 1em;
    color: white;
    text-transform: uppercase;
	font-family: futura-pt, sans-serif;
	background: rgba(0, 0, 0, .7);
}

.model-line li .heated-area {
	position: absolute;
	bottom: 0.5em;
	right: 1.5em;
	white-space: nowrap;
	color: white;
	text-shadow: -2px 2px 2px #000;
}

div.row div.brochure-link {
	text-align: center;
	padding: 1em; 
}
div.row div.brochure-link img {
	border: 1px solid #E6E6E6;
	border-radius: 4px;
}
div.row div.brochure-link a p,
div.row div.brochure-link a:visited p {
	color: #007336;
	font-family: futura-pt, sans-serif;
	font-weight: bold;
}

/* -----------------------------------------
   news
----------------------------------------- */
.news-list li {
    list-style-type: none;
	margin-bottom: 1em;
	font-weight: bold;
}

.front-page.news-list li a,
.front-page.news-list li a:visited {
	color: #007336;
	font-size: 1.2em;
}


.news-content img {
	border: 1em solid #F3F3F3;
	display: block;
	margin: 1em auto;
}


/* -----------------------------------------
   model page uli uli uhu
----------------------------------------- */

#call-for-offers {
	color: white;
	font-size: 24px;
	background-color: #007336;
	padding: 0.2em 0.6em;
	font-style: italic;
	border-radius: 0.5em;
}

.model-picture {
	margin: 2em 0;
}


/* -----------------------------------------
   FONTS
----------------------------------------- */
h1,h2,h3,h4,h5,h6 {
	font-family: futura-pt, sans-serif;
	font-weight: normal;
	color: #007336;
}


/* -----------------------------------------
   fullscreen thingy
----------------------------------------- */
div#fullscreen-container {
	position: relative;
}
div#fullscreen {
	display: none;
	position: fixed;
	top: 0px;
	bottom: 0px;
	width: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 99999;
}

/* -----------------------------------------
   image gallery inside it
----------------------------------------- */

div#fullscreen div#galleria {
	position: absolute;
	top: 0px; bottom: 0px;
	width: 100%;
}

div#fullscreen div#close-button {
	font-size: 48px;
	font-weight: bold;
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	z-index: 9999;
}
div#fullscreen div#close-button a, div#fullscreen div#close-button a:visited {
	color: #f3f3f3;
}

/* -----------------------------------------
   call for offers
----------------------------------------- */
.userform {
	border: 2px solid #007336;
	border-radius: 1em;
	padding: 2em; 
	background: #e6e6e6;
}

.userform fieldset {
	margin: 0;
	padding: 0;
	border: 0px solid black;
}

.userform h1, .userform h2, .userform h3, .userform h4, .userform h5, .userform h6 {
	font-family: futura-pt, sans-serif;
	color: #007336;
	margin-bottom: 1em;
}

.userform label {
	color: #007336;
}

.userform fieldset {
	background: #f8f8f8;
	padding: 2em 0;
	border-radius: 1em;
}

.userform div.row {
	padding-left: 1em;
	padding-right: 1em;
}

.userform select, .userform input[type="file"] {
	margin-bottom: 12px;
}

.userform .Actions input[type="submit"] {
	color: white;
	margin-top: 1em;
	font-size: 24px;
	background-color: #007336;
	padding: 0.2em 0.6em;
	font-family: futura-pt, sans-serif;
	font-style: italic;
	border-radius: 0.5em;
}

/* -----------------------------------------
   logs
----------------------------------------- */

#logs li {
	height: 250px;
	text-align: center;
}

#logs li p {
	clear: both;
	font-style: italic;
	color: #007336;
}

#logs li img.left {
	float: none;
}

/* -----------------------------------------
   certificates
----------------------------------------- */

#certificates div.row {
	margin-bottom: 3em;
}

#certificates div.row div.five.columns img {
	margin-top: 1em;
	border: 1em solid #F3F3F3;
}

#certificates div.certificate-link {
	float: right;
	margin-bottom: 2em;
}
#certificates div.certificate-link img {
	border: 1em solid #F3F3F3;

}

#certificates .header-container {
	margin-top: 2em;
	margin-bottom: 1em;
	clear: both;
}
#certificates .header-container h5 {
	display: inline;
}

/*----------------------------------------------
  search page
  ----------------------------------------------*/
#model-search-box fieldset {
	background: #f0f0f0;
}

#model-search-button {
	color: white;
	margin: 0 auto 0.5em auto;
	font-size: 16px;
	background-color: #007336;
	padding: 0.2em 0.6em;
	font-family: futura-pt, sans-serif;
	font-style: italic;
	border-radius: 0.5em;
}

#model-search-box fieldset legend {
	padding: 12px;
	border: 1px solid #DDDDDD;
	border-radius: 0.5em;
	color: #007336;
	font-weight: bold;
	font-size: 16px;
}

div.area-dimension {
	text-align: right;
}

div.pinterest-container{
	position: relative;
	margin-right: 4px;
	float: left;
}

/*----------------------------------------------
  media queries
  ----------------------------------------------*/
@media all and (max-width: 900px) {
	.main-navigation ul li {
		font-size: 1.1em;
		padding: 0 .5em;
	}
}

@media all and (max-width: 767px) {
	#mobile-nav {
		margin: 0;
	}
	
	.mobile-nav-logo {
		vertical-align: middle;
		padding-bottom: .2em;
	}
	
	.orbit-wrapper .slider-nav {
		display: block !important;
	}
}
