html{
	height: 100%;
	
}
body{
	font-family: Verdana, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	color: #666;
	min-width: 320px;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-text-size-adjust: 100%;
}
ul{
    padding-left: 20px;
}


/*--------------------------------------------

	Header

--------------------------------------------*/
header{
	position: fixed;
    background: #fff;
	width: 100%;
    z-index: 100;
    top: 0;
	height: 230px;
    text-align: center;
}
	menu{
		display: none;
	}
    .logo{
        display: inline-block;
        font-size: 0;
        margin: 5px auto 18px auto;
    }
        .logo img{
            width: 380px;
        }
	header ul{
		position: absolute;
        list-style: none;
        margin: 0;
		padding: 0;
		z-index: 2;
		top: 190px;
		left: 0;
        right: 0;
        width: auto;
        text-align: center;
        background: #5a5b5e;
	}
		header ul li{
			position: relative;
            display: inline-block;
            margin: 0;
		    padding: 0;
		}
			header ul a,
            header ul span{
				display: block;
				font-size: 15px;
                padding: 2px 35px;
				text-align: center;
				color: #fff;
				text-decoration: none;
                cursor: pointer;
			}
            header ul a:hover,
            header ul span:hover{
                color: #6db932;
            }
			header ul a.current,
            header ul span.current{
				font-weight: bold;
			}
                header ul ul{
                    display: none;
                    top: 25px;
                    left: 23px;
                    right: auto;
                    text-align: left;
                    padding-bottom: 4px;
                }
                header ul li:hover > ul{
                    display: block;
                }
                    header ul ul a{
                        padding: 2px 12px 2px 12px;
                        text-align: left;
                        /*background: url("../img/bullet.png") no-repeat 8px center;*/
                    }

footer{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 72px;
    margin-top: -72px;
    background: #fff;
    text-align: center;
}
footer a{
    color: #999;
    font-size: 9px;
    text-decoration: none;
}
.slide-show footer{
    position: absolute;
    z-index: 10;
}



/*--------------------------------------------

	Generic

--------------------------------------------*/
a{
    color: #666;
    text-decoration: none;
}
a:hover{
    color: #6db932;
}
h1,.button{
    position: absolute;
    font-size: 15px;
    font-weight: normal;
    padding: 1px 100px 1px 20px;
    min-width: 40%;
    box-sizing: border-box;
    margin: 0;
    color: #fff;
    background: #5a5b5e;
}
h1{
    top: 332px;
}
.button{
    top: 382px;
    left: 16px;
    border: none;
    text-align: left;
    padding: 3px 72px 3px 20px;
    text-decoration: none;
}
.button:hover{
    color: #6db932;
}
.slide-show h1, 
.slide-show h2{
	display: none;
}
section{
	width: 640px;
    min-height: 100%;
    margin: 0 auto;
    padding: 240px 16px 100px 16px;
	position: relative;
    box-sizing: border-box;
}
.slide-show section{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
    .slider{
        height: 100%;
    }
.introduction{
	position: absolute;
    display: block;
	z-index: 2;
    top: 250px;
	width: 640px;
    left: 50%;
    margin-left: -320px;
    font-weight: bold;
    font-style: italic;
    font-size: 25px;
    color: #fff;
    line-height: 70px;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0,0,0,.5);
}	
.vcard{
	position: absolute;
	color: #fff;
	padding: 12px 0 0 60px;
}
	.vcard a{
		color: #fff;
	}
.icon{
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-top: 12px;
}
.icon.facebook{
	background: url("../img/icon-facebook.png") no-repeat;
	background-size: 24px 24px;
    margin-right: 8px;
}
.icon.instagram{
	background: url("../img/icon-instagram.png") no-repeat;
	background-size: 24px 24px;
}
	.icon span{
		display: none;
	}





/*--------------------------------------------

	Slides

--------------------------------------------*/
.slider article{
	width: 100%;
	height: 100%;
}
.slide-show body{
	position: relative;
	background: #333;
	overflow: hidden;
}
	.slider{
		position: absolute;
		z-index: 1;
		padding: 0;
	}
		.slider article{
			position: relative;
			display: block;
			background: #333;
			overflow: hidden;
		}
			.slider figure{
				position: relative;
				margin: 0;
				z-index: 2;
				top: 0;
				width: 100%;
				height: 100%;
			}
				.slider figure img{
					position: absolute;
					display: block;
					z-index: 3;
					left: 50%;
					top: 50%;
					height: auto;
					width: 100%;
					-webkit-transform: translateX(-50%) translateY(-50%);
					   -moz-transform: translateX(-50%) translateY(-50%);
							transform: translateX(-50%) translateY(-50%);
					
					box-shadow: 0px 5px 20px 5px rgba(0,0,0,.5);
				}
				.slider figcaption{
					position: absolute;
					z-index: 4;
					left: 0;
                    width: 50%;
                    box-sizing: border-box;
                    padding: 8px 48px 8px 20px;
                    color: #fff;
					bottom: 120px;
					background: #5a5b5e;
				}
                    .slider figcaption .title{
                        font-size: 16px;
                    }
                    .slider figcaption .text{
                        font-size: 12px;
                    }
                .home .slider figcaption{
                    display: none;
                }
					
					



/* BX Slider styling */
.bx-wrapper,
.bx-viewport{
	height: 100% !important;
}

.bx-controls-direction{
	position: absolute;
	z-index: 3;
	width: 100%;
	top: 50%;
}
	.bx-prev,
	.bx-next{
		position: absolute;
		display: block;
		margin-top: 60px;
		width: 60px;
		height: 40px;
        line-height: 40px;
		overflow: hidden;
		text-decoration: none;
        color: #fff;
        font-size: 40px;
        text-shadow: 0 2px 2px rgba(0,0,0,.5);
		cursor: pointer;
	}
	.bx-prev:visited,
	.bx-next:visisted,
    .bx-prev:hover,
	.bx-next:hover,
    .bx-prev:active,
	.bx-next:active{
		color: #fff;
	}
	.bx-prev{
		left: 45px;
	}
	.bx-next{
		right: 45px;
	}
	.bx-prev.disabled,
	.bx-next.disabled{
		display: none;
	}


/*--------------------------------------------

	Responsive (Media Queries)

--------------------------------------------*/
/* When the screen is less than 1600/1067 (1.5) times wider then the height is fixed (Phones, Tablets in portrait) */
@media screen and (max-aspect-ratio: 1600/1067){
	.slider figure img{
		width: auto;
		height: 100%;
	}
}


@media only screen and (max-width: 640px){
    header{
        height: 100px;
    }
        menu{
            display: block;
            position: absolute;
            z-index: 3;
            padding: 0;
            margin: 0;
            width: 40px;
            height: 40px;
            top: 30px;
            right: 16px;
            background: url("../img/menu.png") no-repeat;
            background-size: contain;
            cursor: pointer;
        }
            menu span{
                display: none;
            }
        .show-menu menu{
            background: url("../img/close.png") no-repeat;
            background-size: contain;
        }
        .logo img{
            width: 190px;
        }
        header ul{
            display: none;
            top: 100px;
            left: 0;
            right: 0;
            padding: 8px 0;
            width: auto;
            text-align: left;
        }
        .show-menu header ul{
            display: block;
        }
            header ul li{
                position: static;
                width: 100%;
            }
                header ul a,
                header ul span{
                    padding: 2px 16px;
                    text-align: left;
                }
                    header ul ul{
                        display: block;
                        position: static;
                        top: auto;
                        left: 0;
                        right: 0;
                        text-align: left;
                        padding: 0;
                    }
                    header ul li:hover > ul{
                        display: block;
                    }
                        header ul ul a{
                            padding: 2px 12px 2px 24px;
                            text-align: left;
                            background: none;
                        }

    
    section{
        width: 100%;
        padding-top: 100px;
    }
    
    h1{
        top: 150px;
        min-width: 70%;
        padding-right: 16px;
    }
    .button{
        top: 180px;
        min-width: 70%;
        padding-right: 16px;
    }
    
    .introduction{
        top: 120px;
        width: 100%;
        left: 0;
        margin-left: 0;
        font-size: 16px;
        line-height: 35px;
    }	
	.bx-prev,
	.bx-next{
		margin-top: 20px;
		width: 32px;
		height: 20px;
        line-height: 20px;
        font-size: 20px;
	}
    .bx-prev{
		left: 16px;
	}
	.bx-next{
		right: 16px;
	}
    .slider figcaption{
        width: 100%;
        bottom: 90px;
    }
}







