@charset "utf-8";
/* CSS Document */
header {
    width: 100%;
    height: 0px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: transparent;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
	
}
header h1#logo {
    display: inline-block;
    height: 0px;
    line-height: 0px;
    float: left;
    font-family: "Oswald", sans-serif;
    font-size: 60px;
    color: white;
    font-weight: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
	z-index:10000;
}

header h1#logo {
	
	background-image: url("jrsolves_orange_vertical_w_name.gif");
	
	height:120px;
	width:250px;
	background-repeat: no-repeat;
background-size: 120px;
	margin-top:0px;
		z-index:10000;
	
}
header nav {
    display: inline-block;
    float: right;
		z-index:10000;
}
header nav a {
    line-height: 0px;
    margin-left: 20px;

    font-weight: 700;
    
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
header nav a:hover {
    color: white;
}
header.smaller {
    height: 75px;
	background-color:#000;
}



header.smaller h1#logo {
   	background-image: url("jrsolves_orange_horizontal_w_name.gif");
	height: 165px;
	width:200px;
	background-repeat: no-repeat;
background-size: 165px;
	margin-top:4px;
		z-index:10000;
		
}


header.smaller nav a {
    line-height: 50px;
}

@media all and (max-width: 660px) {
    header h1#logo {
        display: block;
        float: none;
        margin: 0 auto;
        height: 100px;
        line-height: 100px;
        text-align: center;
			z-index:10000;
    }
    header nav {
        display: block;
        float: none;
        height: 50px;
        text-align: center;
        margin: 0 auto;
    }
    header nav a {
        line-height: 0px;
        margin: 0 10px;
		
    }
    header.smaller {
        height: 75px;
    }
    header.smaller h1#logo {
        height: 40px;
        line-height: 0px;
        font-size: 30px;
			z-index:10000;
    }
    header.smaller nav {
        height: 35px;
			z-index:10000;
    }
    header.smaller nav a {
        line-height: 35px;
			z-index:10000;
    }
}
