nav {
	width: unset;
	height: unset;
	line-height: unset;
	box-shadow: unset;
	webkit-box-shadow: unset;
    background: #FFF;
	z-index: 100;
	border-bottom: 4px solid #FFF;
}

/************
** TOP BAR **
*************/
nav #top-bar {
	height: 25px;
	background: #FBFCFD;
	color: #182534;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 25px;
	border-bottom: 1px dotted #F1F5F8;
	padding: 0 20px;
}

nav #top-bar a {
	border: 0;
}

nav #top-bar i {
	font-size: 0.8rem;
	margin-left: 0.4rem;
	margin-right: 0.2rem;
	color: #00C8C3;
}

/*************
** LOGO BAR **
**************/
nav #logo-bar {
    position: relative;
    height: 80px;
}

nav #logo-bar > div:last-of-type {
    position: absolute;
    top: 0;
    right: 0;
    height: 80px;
}

nav #logo-bar #logo {
    max-height: 50px;
	vertical-align: middle;
}

nav #logo-bar #rspca-report-link {
    position: relative;
    height: 100%;
    display: inline-block;
    color: #182534;
    text-decoration: none;
}

nav #logo-bar #rspca-report-link > div {
    display: inline-block;
}

nav #logo-bar #rspca-report-link > div:first-of-type {
    font-family: spartan, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    margin-right: 20px;
    vertical-align: top;
}

nav #logo-bar #rspca-report-link #rspca-logo {
    max-height: 30px;
	vertical-align: middle;
}

nav #logo-bar #mobile-menu-button {
    display: none;
    height: 60px;
    vertical-align: top;
    margin-left: 20px;
    border-left: 1px dotted #ECEBE9;
    padding: 0 30px;
    color: #182534;
    text-decoration: none;
    font-weight: 600;
    line-height: 60px;
    transition: background 0.4s ease, color 0.4s ease;
}

nav #logo-bar #mobile-menu-button:hover {
    background: #FAFAFA;
}

nav #logo-bar #mobile-menu-button #menu-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    position: relative;
    margin: 24px auto;
    margin-right: 8px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

nav #logo-bar #mobile-menu-button #menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #182534;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

nav #logo-bar #mobile-menu-button #menu-icon span:nth-child(1) {
    top: 0px;
}
nav #logo-bar #mobile-menu-button #menu-icon span:nth-child(2),#menu-icon span:nth-child(3) {
    top: 6px;
}
nav #logo-bar #mobile-menu-button #menu-icon span:nth-child(4) {
    top: 12px;
}

nav #logo-bar #mobile-menu-button.open #menu-icon span:nth-child(1) {
    top: 6px;
    width: 0%;
    left: 50%;
}
nav #logo-bar #mobile-menu-button.open #menu-icon span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
nav #logo-bar #mobile-menu-button.open #menu-icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
nav #logo-bar #mobile-menu-button.open #menu-icon span:nth-child(4) {
    top: 6px;
    width: 0%;
    left: 50%;
}

nav #logo-bar #mobile-menu-button #menu-button-text {
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
}

/**********
** LINKS **
***********/ 
nav #nav-links {
    background: #00C8C3;
}

nav #nav-links.mobile {
    max-height: 0px;
	background: #FFF;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

nav #nav-links.mobile.open {
    max-height: 2000px;
}

nav #nav-links .links {
	display: table;
	width: 100%;
	table-layout: fixed;
}

nav #nav-links .links > * {
	display: table-cell;
}

nav #nav-links.mobile .links > * {
	display: block;
}

nav #nav-links .links > .basket {
	width: 60px;
}
nav #nav-links.mobile .links > .basket {
	width: 100%;
}

nav #nav-links .links > .basket > i {
	font-size: 1.2rem;
	vertical-align: top;
}

nav #nav-links .links > .basket > .item-count {
    display: inline-block;
    position: absolute;
    bottom: 7px;
    right: 7px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #182534;
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 600;
}

nav #nav-links .link-group {
    position: relative;
}

nav #nav-links .link-group > a {
	display: block;
}

nav #nav-links:not(.mobile) .link-group:hover a.main,
nav #nav-links a.main:hover {
    background: #182534;
    color: #FFF;
}

nav #nav-links .link-group:hover a.main > i,
nav #nav-links a.main:hover > i {
    color: #FFF;
}

nav #nav-links a.main {
    position: relative;
	background: #00BFBA;
    padding: 12px;
    color: #FFF;
	font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.4s ease;
	border-right: 1px dotted #00DFD8;
}

nav #nav-links > div > div:first-child {
	border-left: 1px dotted #00DFD8;
}

nav #nav-links.mobile > div > div:first-child {
	border-left: 0;
}

nav #nav-links a.main.no-border {
	border-right: 0;
}

nav #nav-links a.main:hover {
	background: #182534;
}

nav #nav-links.mobile a.main {
    border-top: 1px dotted #ECEBE9;
	border-right: 0;
    padding: 15px 20px;
	color: #182534;
	background: #FFF;
	text-align: left;
}

nav #nav-links.mobile a.main:hover {
	background: #182534;
	color: #FFF;
}

nav #nav-links a.main:hover + .sublinks {
    display: block;
}

nav #nav-links a.main > i {
	height: unset;
	font-size: unset;
    margin-top: 2px;
    margin-left: 4px;
    vertical-align: text-top;
    color: #FFF;
}

nav #nav-links.mobile a.main > i {
    display: none;
}

nav #nav-links #donate-button {
    background: #DF0073;
	color: #FFF;
}

nav #nav-links #donate-button:hover {
    background: #FF0385;
}

nav #nav-links .sublinks {
    display: none;
    position: absolute;
    top: 45px;
    left: 0px;
    min-width: 240px;
    background: #182534;
	text-align: left;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	box-shadow: #414D5B 1px 1px 1px;
    overflow: hidden;
	z-index: 101;
}

nav #nav-links.mobile .sublinks {
    display: block;
    position: relative;
    top: 0;
    background: #FFF;
    box-shadow: none;
    overflow: visible;
}

nav #nav-links .sublinks:hover {
    display: block;
}

nav #nav-links .sublinks a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    padding: 15px 20px;
    padding-left: 30px;
    transition: all 0.4s ease;
    border-top: 1px dotted #414D5B;
}

nav #nav-links.mobile .sublinks a {
    border-top: 1px dotted #ECEBE9;
	background: #F9F9F9;
	padding: 5px 10px;
	padding-left: 30px;
    color: #182534;
	line-height: 30px;
}

nav #nav-links.mobile .sublinks a:before {
	content: '-';
	font-size: 1.6rem;
	color: #00C8C3;
	margin-right: 5px;
}

nav #nav-links .sublinks a:hover {
    background: #414D5B;
    border-top-color: #414D5B;
}

nav #nav-links.mobile .sublinks a:hover {
    background: #182534;
    border-top-color: #182534;
    color: #FFF;
}

nav #nav-links .sublinks a > i {
    height: unset;
	font-size: unset;
	font-size: 10px;
    margin-right: 5px;
}

nav #nav-links.mobile .sublinks a > i {
    display: none;
}


@media only screen and (max-width: 1400px) {
    nav {
		border: 0;
	}
	nav #logo-bar {
        height: 60px;
		border-bottom: 1px dotted #ECEBE9;
    }
    nav #logo-bar > div:last-of-type {
        height: 60px;
    }
    nav #logo-bar #logo {
        margin-left: 20px;
        max-height: 40px;
    }
    nav #logo-bar #rspca-report-link > div:first-of-type {
        font-size: 13px;
        margin-right: 10px;
    }
    nav #logo-bar #rspca-report-link #rspca-logo {
        max-height: 20px;
    }
    nav #logo-bar #mobile-menu-button {
        display: inline-block;
    }

    nav #nav-links .links > .basket > .item-count {
        top: 50%;
        transform: translateY(-50%);
        bottom: unset;
        right: 8px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.8rem;
    }
}


@media only screen and (max-width: 600px) {
    nav #logo-bar #rspca-report-link > div:first-of-type {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
    nav #logo-bar #rspca-report-link {
        display: none;
    }
}