/*//////////////////////////////////
//            HEADER
//////////////////////////////////*/

.cd-header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 100;
}

.cd-header.scrolled {
	background-color: #ffffff;
	padding-bottom: 10px;
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.header-wrapper {
	position: relative;
	width: calc(100% - 100px);
	margin-left: 30px;
}

.nav-but-wrap {
	position: relative;
	display: inline-block;
	float: left;
	padding-left: 15px;
	padding-top: 15px;
	margin-top: 26px;
	transition: all 0.3s ease-out;
}

.cd-header.scrolled .nav-but-wrap {
	margin-top: 8px;
}

/*//////////////////////////////////
//          		LOGO
//////////////////////////////////*/

.cd-header .logo {
	position: fixed;
	left: 50%;
	top: 28px;
	margin-left: -100px;
}

.cd-header.scrolled .logo {
	top: 7px;
}

.notifications{
	position: fixed; 
	right: 30px;
	top: 25px;
	font-size: 1.75em;
	z-index: 999;
	opacity: .85;
}

.notifications i:hover{
	color: green;
}
.notifications:focus{
	box-shadow: none;
}

body.nav-active .notifications{
	color: white;
}
body.nav-active .notifications i:hover{
	color: green;
}

.cd-header.scrolled .notifications {
	top: 6px;
	color: black;
}

.notifications-feed{
	display: none;
	width: 20%;
	position: fixed;
	top: 100px;
	right: 20px;
	z-index: 999;
	background-color: white;
	cursor: pointer;
}

.notifications-feed *:not(:last-child){
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.notifications-feed > p:first-child{
	border-top: 3px solid #47A040;
}

.notifications-feed a{
	color: #47A040;
}

.notifications-feed a:hover{
	color: rgb(31, 82, 27);
}

.cd-header.scrolled .notifications-feed{
	top: 63px;
}

.notifications span{
	position: absolute !important;
	font-size: .4em;
	top: 6px !important;
	right: -2px !important;
}


/*//////////////////////////////////
//          	MENU ICON
//////////////////////////////////*/

.menu-icon {
	height: 30px;
	width: 30px;
	position: relative;
	z-index: 102;
	cursor: pointer;
	display: block;
}

.menu-icon__line {
	height: 2px;
	width: 30px;
	display: block;
	background-color: #000;
	margin-bottom: 7px;
	cursor: pointer;
	-webkit-transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: transform .2s ease, background-color .5s ease;
	transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease;
}

.menu-icon__line-left {
	width: 16.5px;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
}

.menu-icon__line-right {
	width: 16.5px;
	float: right;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	transition: all 200ms linear;
}

.menu-icon:hover .menu-icon__line-left,
.menu-icon:hover .menu-icon__line-right {
	width: 30px;
}

body.nav-active .menu-icon__line {
	background-color: #FFF;
	-webkit-transform: translate(0px, 0px) rotate(-45deg);
	transform: translate(0px, 0px) rotate(-45deg);
}

body.nav-active .menu-icon__line-left {
	width: 15px;
	-webkit-transform: translate(2px, 4px) rotate(45deg);
	transform: translate(2px, 4px) rotate(45deg);
}

body.nav-active .menu-icon__line-right {
	width: 15px;
	float: right;
	-webkit-transform: translate(-3px, -3.5px) rotate(45deg);
	transform: translate(-3px, -3.5px) rotate(45deg);
}

body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
	width: 15px;
}

.cd-header.scrolled .menu-icon__line {
	background-color: #000;
}

/*//////////////////////////////////
//          	NAVBAR
//////////////////////////////////*/

.nav {
	position: fixed;
	z-index: 98;
}

.nav:before,
.nav:after {
	content: "";
	position: fixed;
	top: 10px;
	left: 20px;
	width: 0;
	height: 0;
	background-color: rgba(20, 21, 26, 0.6);
	border-bottom-right-radius: 200%;
	z-index: -1;
	transition: border-radius linear 0.8s, width cubic-bezier(0.77, 0, 0.175, 1) 0.6s, height cubic-bezier(0.77, 0, 0.175, 1) 0.6s;
}

.nav:after {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#303030+0,222222+40,222222+100 */
	background: #303030;
	/* Old browsers */
	background: -moz-linear-gradient(-45deg, #404040 0%, #252525 40%, #222222 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #404040 0%, #252525 40%, #222222 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #404040 0%, #252525 40%, #222222 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040', endColorstr='#222222', GradientType=1);
	/* IE6-9 fallback on horizontal gradient */
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	box-shadow: 6px 7px 28px 0 rgba(16, 16, 16, 0.3);
}

.nav:before {
	-webkit-transition-delay: .2s;
	transition-delay: .2s;
}

.nav__content {
	position: fixed;
	visibility: hidden;
	top: 80px;
	left: 20px;
	padding-right: 44px;
	width: 100%;
	text-align: left;
}

.nav__list {
	position: relative;
	padding: 0;
	margin: 0;
	z-index: 2;
	display: flex;
	justify-content: space-around;
}

.nav__list-item {
	position: relative;
	display: inline-block;
	-webkit-transition-delay: 0.8s;
	transition-delay: 0.8s;
	opacity: 0;
	text-align: left;
	color: #fff;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: 2px;
	-webkit-transform: translate(30px, 0%);
	transform: translate(30px, 0%);
	-webkit-transition: opacity .2s ease, -webkit-transform .3s ease;
	transition: opacity .2s ease, -webkit-transform .2s ease;
	transition: opacity .2s ease, transform .2s ease;
	transition: opacity .2s ease, transform .2s ease, -webkit-transform .2s ease;
	margin-top: 7px;
	margin-bottom: 7px;
}

.nav__list-item a {
	position: relative;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.6);
	overflow: hidden;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	z-index: 2;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: inline-block;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
}

.nav__list-item a:after {
	display: block;
	content: '';
	border-bottom: solid 3px #47A040;
	transform: scaleX(0);
	transition: transform 200ms ease-in-out;
}

.nav__list-item a:hover:after {
	transform: scaleX(1);
}

.nav__list-item a:hover {
	color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a {
	color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a:after {
	transform: scaleX(1);
}

body.nav-active .nav__content {
	visibility: visible;
}

body.nav-active .nav {
	visibility: visible;
}

body.nav-active .nav:before,
body.nav-active .nav:after {
	width: calc(98vw - 20px);
	height: 130px;
	border-radius: 15px;
}

body.nav-active .nav:after {
	-webkit-transition-delay: .1s;
	transition-delay: .1s;
}

body.nav-active .nav:before {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

body.nav-active .nav__list-item {
	opacity: 1;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	-webkit-transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, transform .3s ease, color .3s ease;
	transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease;
}

body.nav-active .nav__list-item:nth-child(0) {
	-webkit-transition-delay: 0.7s;
	transition-delay: 0.7s;
}

body.nav-active .nav__list-item:nth-child(1) {
	-webkit-transition-delay: 0.8s;
	transition-delay: 0.8s;
}

body.nav-active .nav__list-item:nth-child(2) {
	-webkit-transition-delay: 0.9s;
	transition-delay: 0.9s;
}

body.nav-active .nav__list-item:nth-child(3) {
	-webkit-transition-delay: 1s;
	transition-delay: 1s;
}

body.nav-active .nav__list-item:nth-child(4) {
	-webkit-transition-delay: 1.1s;
	transition-delay: 1.1s;
}

body.nav-active .nav__list-item:nth-child(5) {
	-webkit-transition-delay: 1.2s;
	transition-delay: 1.2s;
}

body.nav-active .nav__list-item:nth-child(6) {
	-webkit-transition-delay: 1.3s;
	transition-delay: 1.3s;
}

body.nav-active .nav__list-item:nth-child(7) {
	-webkit-transition-delay: 1.4s;
	transition-delay: 1.4s;
}

body.nav-active .nav__list-item:nth-child(8) {
	-webkit-transition-delay: 1.5s;
	transition-delay: 1.5s;
}

body.nav-active .nav__list-item:nth-child(9) {
	-webkit-transition-delay: 1.6s;
	transition-delay: 1.6s;
}

body.nav-active .nav__list-item:nth-child(10) {
	-webkit-transition-delay: 1.7s;
	transition-delay: 1.7s;
}

/*//////////////////////////////////
//         MEDIA QUERIES
//////////////////////////////////*/

@media screen and (max-width: 820px) {

	.nav__list {
		display: block;
		justify-content: none;
	}

	.nav__list-item {
		display: block;
	}

	.nav__list-item a:after {
		position: absolute;
		content: '';
		top: 50%;
		left: 0;
		width: 5px;
		height: 0;
		opacity: 0;
		background-color: #47A040;
		z-index: 1;

		-webkit-transition: all 200ms linear;
		transition: all 200ms linear;
	}

	.nav__list-item a:hover:after {
		height: 100%;
		opacity: 1;
		top: 0;
	}

	.nav__list-item.active-nav a:after {
		height: 100%;
		opacity: 1;
		top: 0;
	}

	body.nav-active .nav:before,
	body.nav-active .nav:after {
		width: calc(98vw - 30px);
		height: 380px;
		border-radius: 15px;
	}

}

@media screen and (max-width: 500px) {
	.cd-header .logo {
		margin-left: -20%;
		top: 30px;
		width: 40%;
	}

	.cd-header.scrolled .logo {
		/* top: 12px; */
		right: 8%;
	}

	.nav__list-item {
		font-size: 18px;
	}

	body.nav-active .nav:before,
	body.nav-active .nav:after {
		width: calc(98vw - 30px);
		height: 380px;
		border-radius: 15px;
	}
}

@media screen and (max-width: 1201px){
	.notifications-feed{
		width:30%;
	}
}
@media screen and (max-width: 993px){
	.notifications-feed{
		width:40%;
	}
}
@media screen and (max-width: 769px){
	.notifications-feed{
		width:45%;
	}
}
@media screen and (max-width: 577px){
	.notifications-feed{
		width: 90%;
	}
}

@media screen and (max-width: 350px) {

	.cd-header .logo {
		top: 32px;
	}

	.cd-header.scrolled .logo {
		/* top: 16px; */
	}
}