/* Start default style */
body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}

body > .container {
	flex: 1;
}

@media screen and (min-width: 300px) {
	body {
		font-size: 13.5px;
	}
}

@media screen and (min-width: 992px) {
	body {
		font-size: 16px;
	}
}

ul {
	list-style: none;
}
/* End default style */

/* Start navigation */

nav.navigation {
	position: fixed;
	background-color: #EDEDED;
	box-shadow: 0 0 10px #222;
	padding: .7em 0;
	z-index: 3000;
	transition: all .5s ease-in-out;
	top: 0;
	width: 100%;
}	

nav.navigation.login {
	background-color: transparent;
	box-shadow: none;
}

@media screen and (min-width: 0px) {
	nav.navigation div.logo {
		flex: 1;
	}
}

@media screen and (min-width: 992px) {
	nav.navigation div.logo {
		flex: 0;
	}
}

@media screen and (min-width: 1400px) {
	nav.navigation div.logo {
		flex: 1;
	}
}

nav.navigation div.logo img {
	width: 200px;
}

aside {
	z-index: 2000;
	top: 66px;
}

@media screen and (min-width: 300px) {

	nav.navigation .container {
		display: flex;
		justify-content: space-around;
	}	


	nav.navigation ul.links {
		position: absolute;
		left: -100%;
		right: 0%;
		bottom: 0;
		width: 100%;
		top: 100%;
		background-color: #D1D1D1;
		height: 100vh;
		padding: 0;
		text-align: center;
		transition: .4s ease-in-out;
		overflow: hidden;
		margin-bottom: 0;
	}

	nav.navigation ul.links.open {
		left: 0;
	}

	nav.navigation ul.links > li {
		padding: 1.5em 0;
	}

	nav.navigation ul.links li:not(:last-child) {
		border-bottom: 1px solid #b1b1b1;
	}

	nav.navigation ul.links > li > a {
		text-decoration: none;
		color: #222;
		font-weight: bold;
		font-size: 1em;
		white-space: nowrap;
	}

	nav.navigation ul.links li:first-child a img { 
		width: 15px;
	}

	nav.navigation ul.links > li > a.btn-publish {
		background-color: #FFDD00;
		padding: .5em 1em;
		display: block;
		width: fit-content;
		margin: auto;
		box-shadow: 0 0 9px #ccc;
	}

	nav.navigation ul.links ul {
		padding: 0;
		background-color: white;
		width: 100%;
		box-shadow: 0 0 10px #ccc;
		position: absolute;
		top: -30%;
		visibility: hidden;
		transition: all .2s ease-in;
	}

	nav.navigation ul.links li:nth-child(2) {
		position: relative;
	}

	nav.navigation ul.links li:nth-child(2) a { 
		text-decoration: underline;
	}

	nav.navigation ul.links li:nth-child(2) a img.user-icon-blue {
		width: 30px;
		margin-right: 5px;
	}

	nav.navigation ul.links li:nth-child(2) a img.chevron {
		width: 15px;
		transition: all .1s ease-in-out;
	}

	nav.navigation ul.links li:hover:nth-child(2) a img.chevron {
		transform: rotate(180deg);
	}

	nav.navigation ul.links li:hover:nth-child(2) > ul { 
		top: 80%;
		visibility: visible;
	}

	nav.navigation ul.links li:hover:nth-child(2) > ul li a {
		transition: all .1s ease-in-out;
	}

	nav.navigation ul.links li:hover:nth-child(2) > ul li a:hover { 
		background-color: #FFDD00;
		font-weight: bold;
	}

	nav.navigation ul.links ul li a {
		color: #222;
		padding: 0.5em 1em;
		display: block;
	}

	nav.navigation div.hamburger-icon {
		cursor: pointer;
		width: 35px;
	}

	nav.navigation div.hamburger-icon span {
		display: block;
		background-color: #222;
		width: 100%;
		height: 3px;
		margin-bottom: 8px;
		transition: all .4s ease-in-out;
	}

	nav.navigation div.hamburger-icon span:first-child {
		margin-top: 4px;
	}

	nav.navigation div.hamburger-icon.open span:first-child {
		transform-origin: 0% 0%;
		transform: rotate(40deg);
	}

	nav.navigation div.hamburger-icon.open span:nth-child(2) {
		transform-origin: 0% 0%;
		transform: scale(0);
	}

	nav.navigation div.hamburger-icon.open span:last-child {
		transform-origin: 0% 67%;
		transform: rotate(-40deg);
	}

}

@media screen and (min-width: 992px) {
	nav.navigation ul.links li:not(:last-child) {
		border-bottom: 1px solid transparent;
	}
}

nav.navigation .links .login {
	display: none;
}

nav.navigation.login .links .other {
	display: none;
}

nav.navigation.login .links .login {
	background-color: #222;
	color: white !important;
    padding: .5em 1em;
    display: block;
    width: fit-content;
    /* margin: auto; */
    box-shadow: 0 0 9px #ccc;
}

nav.navigation.login .links .login img {
	width: 17px;
}
        
nav.navigation.login .links .login span { 
	color: white;
}

@media screen and (min-width: 992px) {

	nav.navigation .container {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	nav.navigation div.hamburger-icon {
		display: none;
	}

	nav.navigation ul.links li:nth-child(2) {
		position: static;
	}

	nav.navigation ul.links {
		position: static;
		display: flex;
		height: fit-content;
		background-color: transparent;
		justify-content: flex-end;
		align-items: center;
		gap: 1em;
		flex: 1;
	}

	nav.navigation ul.links ul {
		width: 210px;

	}

	nav.navigation ul.links li {
		padding: 0;
	}

	nav.navigation ul.links li:first-child {
		border: none;
	}

	nav.navigation ul.links > li:nth-child(2) > a {
		font-size: 22px;
	}
}




/* End navigation */

/* Start aside */
	aside {
		background-color: #D1D1D1;
		min-height: 100vh;
		width: fit-content;
		position: fixed;
		box-shadow: 0px 29px 10px #222;
		transition: all .3s ease-in-out;	
	}
	
	@media screen and (min-width: 300px) {
		aside {
			left: calc(0% - 172px);
			top: 62px;
		}
	}

	@media screen and (min-width: 992px) {
		aside {
			left: calc(0% - 203px);
			top: 66px;
		}
	}



	aside.open {
		left: 0;
	}

	aside > ul {
		padding-left: 0;
	}

	aside > ul > li > a {
		padding: 1em 2em;
		text-decoration: none;
		font-weight: bold;
		color: #222;
		display: block;
		transition: all .2s ease-in-out;
		font-size: .9em;
	}

	aside > ul > li:not(:last-child) > a {
		border-bottom: 1px solid #222;
	}

	aside > ul > li > a:hover { 
		background-color: #FFDD00;
		color: #222;
		box-shadow: 0 0 10px #222;
	}

	aside > button.btn-config {
	    position: absolute;
	    left: 100%;
	    border: 1px solid #D1D1D1;
	    background-color: #D1D1D1;
	    height: 30px;
	    width: 30px;
	    line-height: 15px;
	}

	aside > button.btn-config > img {
		animation-name:  rotategear;
		animation-duration: 1s;
		animation-iteration-count: infinite;
		animation-fill-mode: forwards;
		transform: rotate(0deg);
	}

	@keyframes rotategear {

		100% {
			transform: rotate(360deg);
		}

	}


/* End aside */

/* Start overlay */
	
	div.overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 1000;
		visibility: hidden;
		transition: all .3s ease-in-out;
		opacity: 0;
	}

	div.overlay.show {
		visibility: visible;
		opacity: 1;
	}

/* End overlay */

/* Start preloader */
	.preloader {
		background-color: rgba(255, 255, 255, 1);
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 100%;
		z-index: 10000;
		transition: all .5s ease-in-out;
		opacity: 0;
		visibility: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.preloader.show {
		opacity: 1;
		visibility: visible;
	}

	.preloader img {
		width: 300px;
	}
/* End preloader */