.nav-fixed {
	text-align: center;
    width: 100%;
    height: 50px;
    background-color: white;
    position: fixed;
    z-index: 2;
    top: 0;
}

.nav-margin {
	margin: 0 auto;
	display: block;
	width: 100%;
	max-width: 1285px;
	height: 100%;
}

/* slide out nav start */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    -webkit-box-shadow: -5px 1px 14px 0px rgba(0,0,0,0.24);
    -moz-box-shadow: -5px 1px 14px 0px rgba(0,0,0,0.24);
    box-shadow: -5px 1px 14px 0px rgba(0,0,0,0.24);
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: rgba(0, 0, 0, 0.5);
    display: block;
    transition: 0.3s
}

.sidenav a:hover, .offcanvas a:focus{
    color: rgba(0, 0, 0, 0.8);
}

.closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px !important;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
/* slide out nav end */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

li#logo a {
    float: left;
    color: #3AADFF;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    font-size: 30px;
    font-weight: 300;
	padding: 8px;
}

li#links a {
    float: right;
    color: #848484;
    padding: 16px 16px;
}

@media screen and (max-width: 600px) {
    li#links a {
        display: none;
    }
}

li a {
    display: block;
    height: 100%;
    text-decoration: none;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

li#links a:hover:not(.active) {
    background-color: #3AADFF;
    color: #ffffff;
	transition: 0.8s;
}

.icon-image {
    display: none;
}

@media screen and (max-width: 600px) {
    .icon-image {
        display: inline-block;
        float: right;
        padding: 14px 5px;
    }
}

.icon {
	display: block;
	width: 100%;
	height: 100%;
    padding-top: 2px;
    margin-right: 18px;
}

.icon:hover {
    cursor: pointer;
}