/*
Theme Name: GS
Theme URI:
Author: Michał Zarzycki
Author URL: http://netshaper.com
*/
@charset "utf-8";
/* ==================================================
    Header
================================================== */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	height: 180px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

.header .inner {
	width: 90%;
	max-width: 69em;
	margin: 0 auto;
	padding: 0 1.875em;
}

.header img,
.header nav {
	display: inline-block;
	position: relative;
}

.header img {
	width: 250px;
	margin: 3em 0;
	float: left;
}

.header nav {
	float: right;
}

.header nav a {
	color: #AAA;
	font-weight: 400;
	margin-left: 20px;
	font-size: 1.2em;
	text-transform: uppercase;
	line-height: 180px;
	padding: 16px 0 15px 0;
}

.header nav a:hover,
.header nav a:focus {
	color: #993333;
	border-top: solid 90px;
    border-bottom: solid 90px;
}
.header nav a.active {
	color: #993333;
}
/* ==================================================
    Transitions and class for reduced height
================================================== */
.header,
.header img,
.header nav,
.header nav a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.header.header-shrink {
    background: rgb(24, 24, 24) none repeat scroll 0% 0%;
	height: 90px;
}

.header.header-shrink nav a {
	line-height: 90px;
}

.header.header-shrink img {
	width: 150px;
	margin: 1.25em 0;
}

/* ==================================================
   Hamburger Menu & Overlay
================================================== */
/* SVG style */
.si-icons span {
	display: none;
}

/* Fallback for browsers that don't support SVG - Generated with http://iconizr.com/ */

.no-svg .si-icon-hamburger {
    background-image: url('../img/hamburger.png');
}

/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #993333;
	z-index: 999;
}

/* Menu style */
.overlay nav {
	text-align: center;
	margin-top: 200px;
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	min-height: 54px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay ul li a {
	font-size: 54px;
	font-weight: 400;
	display: block;
	color: #FFF;
    padding-left: 20px;
    padding-right: 20px;
 	border-left: solid 10px #993333;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	border-left: solid 10px #FFF;
}
.overlay ul li a.active {
	font-weight: 700;
}

/* Effects */
html, body {
	overflow-x: hidden;
}

.overlay-contentpush {
	background: #993333;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}

.overlay-contentpush.open {
	visibility: visible;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

/* Header Image */
header img {
    float: right;
    margin-left: -20px;
    width: 200px;
}

/* ==================================================
    Media Queries
================================================== */
/* Mobile menu  - adjust li elements to screen height  */
@media screen and (max-height: 34em) {

    .overlay ul li {
	   min-height: 44px;
    }
	.overlay ul li a{
		font-size: 44px;
	}
}

@media screen and (max-height: 30.5em) {

    .overlay ul li {
	   min-height: 34px;
    }
	.overlay ul li a{
		font-size: 34px;
	}
}

@media screen and (max-height: 27em) {

    .overlay ul li {
	   min-height: 24px;
    }
	.overlay ul li a{
		font-size: 24px;
	}
}

@media screen and (max-height: 24em) {

    .overlay nav {
	   margin-top: 120px;
    }
    .overlay ul li {
        display: inline-block;
        padding: 10px;
    }
    .overlay ul li a {
        padding: 0;
        border-left: none;
    }

    .overlay ul li a:hover,
    .overlay ul li a:focus,
    .overlay ul li a.active {
        border-left: none;
        border-bottom: solid 90px;
        padding-bottom: 10px;
    }
}

/* Adjust all elements to screen width  */
@media screen and (max-width: 80em) {

    .header {
        height: 150px;
   	}

    .header img {
        margin: 2em 0;
	}

    .header nav {
        margin: 2.5em 0;
	}

	.header nav a {
	   display: none;
	}

    .si-icons span {        
        display : inline-block;
        width : 64px;
        height : auto;
        cursor : pointer;
        background-repeat : no-repeat;
        background-position : bottom center;
        overflow : hidden;
        outline : none;
        color : #FFF;
        font-size : 16px;
        letter-spacing : 1px;
        text-align : center;
    }

    .header.header-shrink nav {
        margin: 10px 0;
    }
}

@media screen and (max-width: 55em) {

	.header .inner {
		width: 100%;
    }

    .header.header-shrink nav {
        text-align: right;
    }
}
@media screen and (max-width: 26em) {

    .header img {
        max-width: 220px;
        margin: 2.5em 0;
	}
	header img {
    float: left;
    margin-left: 0px;
    margin-bottom: 20px;
    width: 200px;
    }

}