/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #ffffff;
    font-family: 'Helvetica', 'Open Sans', 'Lato', 'SF Pro Text', 'SF Pro', Roboto, Lato, Optima, sans-serif;
	font-size: 1.0em; 
}

a{
    text-decoration: none;
}
a:link, a:visited {
	color: steelblue;
}
a:hover, a:active {
	color: hotpink;
}

ul{
    list-style: none;
}

/* Header */
.header{
	background-color: #e7f2fa;
	-webkit-box-shadow: 1px 1px 5px 0px #6ab0de;
	box-shadow: 1px 1px 5px 0px #6ab0de;
	position: -webkit-sticky; /* Safari */
	position: sticky;
    top: 0;
    width: 100%;
	height: 58px;
}

/* Logo */
.logo{
    display: inline-block;
    color: #A0A3A4;
    font-size: 40px;
    margin-left: 12px;
	padding-top: 6px;
}

.imglogo {
	width: 48px;
	height: 48px;
	border: 0px;
}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
	top: 64px;
    /* background-color: #e7f2fa; */
	background-color:  #F5F9FB;
	/* border-top: solid 3px #6ab0de; */
    overflow: hidden;
    
}

.menu a{
    display: block;
    padding: 8px 10px 8px 16px;
    color: #191A1A;
	font-weight: bold;
	font-size: 1.35em;

}

.menu a:hover{
	color: #656767;
}

.menu li:first-child {
	padding-top: 12px;
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}


/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 28px 20px;
}

.hamb-line {
    background: #282929;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: #282929;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 8px;
}

.hamb-line::after{
    top: -8px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
	background-color: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: -moz-fit-content;
		width: fit-content;
        background-color: transparent;
		border-top: 0px;
		padding-top: 10px;

    }

    .menu li{
        float: left;
    }
	
	.menu a{
		font-size: 1.2em;
	}

    .menu a:hover{
        background-color: transparent;
        color: #282929;
        
    }
    
	.menu li:first-child {
		padding-top: unset;
	}
	
	.menu li:last-child {
		padding-right: 18px;
	}
	
    .hamb{
        display: none;
    }
	
}
