* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	position: relative;
	display: flex;
	width: 100%;
	height: 100vh;
	font-family: "Roboto", sans-serif;
	color: #2c2a2a;
}
.none {
	display: none !important;
}
.wrapper{
	margin: 0 auto;
	width: 90%;
	max-width: 1200px;
}
h1,h2,h3,h4,h5{
	color: #1A181B;
}
h1{
	font-size: 50px;
}
.main-btn, input[type='submit']{
	padding: 8px 16px !important;
	font-size: 16px !important;
	width: fit-content !important;
	border: none;
	border-radius: 4px;
	background-color: #3E8989;
	color: white;
	cursor: pointer;
	transition: all .3s;
	i{
		margin-right: 10px;
	}
}
.main-btn-small, .seccond-btn-small, input[type='submit']{
	padding: 8px 16px;
	font-size: 12px;
	border: none;
	border-radius: 4px;
	background-color: #3E8989;
	color: white;
	cursor: pointer;
	transition: all .3s;
	i{
		margin-right: 10px;
	}
	a{
		color: white !important;
	}
}
.seccond-btn-small{
	background-color: #1A181B;
}
.main-btn:hover{
	background-color: #2CDA9D;
}
.main-btn-small:hover{
	background-color: #2CDA9D;
}
.seccond-btn-small:hover{
	background-color: #564D65;
}
.active{
	color: #3E8989;
	background-color:#2a282b;
}
.notification-cms{
	position: fixed;
	padding: 10px 20px;
	top: 90%;
	right: 0%;
	transform: translate(-50%,-50%);
	font-size: 18px;
	border: 2px solid #3E8989;
	border-radius: 5px;
	color: #3E8989;
	background-color: #2CDA9D;
}
.notification-login, .notification-pass{
	position: relative;
	padding: 5px 10px;
	font-size: 16px;
	border: 2px solid #9e5639;
	border-radius: 5px;
	color: #9e5639;
	background-color: #ffd166;
}
.notification{
	height: fit-content;
	width: fit-content;
	z-index: 999999999;
	i{
		margin-right: 10px;
	}
}
nav {
	position: sticky;
	top: 0px;
	left: 0px;
	display: flex;
	height: auto;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 0px;
	width: 18%;
	font-size: 20px;
	background-color:#1A181B;
	.nav-bar{
		display: flex;
		flex-direction: column;
	}
	a{
		padding: 10px 30px;
		display: flex;
		justify-content: space-between;
		color: white;
		text-decoration: none;
		transition: .3s;
		div{
			width: 30px;
			text-align: center;
		}
	}
	a:hover{
		color: #3E8989;
		background-color:#2a282b;
	}
}
.second-nav{
	display: none;
	padding: 10px 40px;
	background-color:#1A181B;
	text-align: right;
	.icon-bar{
		padding: 10px;
		color: white;
		font-size: 30px;
		cursor: pointer;
		transition: all .3s;
	}
	.icon-bar:hover{
		color:#3E8989;
	}
}
main {
	position: relative;
	padding: 40px;
	width: 82%;
	height: 100vh;
	background-color: white;
	overflow: auto;

	input[type='submit']:hover{
		background-color: #2CDA9D;
	}
	.btn-bar{
	display: flex;
	justify-content: end;
	}
	form{
		input, select{
			margin-top: 8px;
			padding: 5px;
			font-size: 16px;
			width: 30%;
		}
		select{
			margin-bottom: 8px;
			color: #757575;
		}
		input[type='file']{
			padding: 8px;
			margin: 4px 0px;
			border: 1px solid #3E8989;
			border-radius: 5px;
			transition: .3s;
			cursor: pointer;
			width: 100% !important;
		}
		input[type='file']:hover{
			background-color: #2CDA9D;	
		}
		label:first-child{
			font-weight: bold;
			margin-bottom: 4px;
		}
		.file-bar{
			width: 100% !important;
			display: flex;
			div{
				display: flex;
				flex-direction: column;
				width: 100% !important;
			}
			div:first-child{
				margin-right: 20px;
			}
		}
	}
	.column-name{
		padding: 15px 15px 5px;
		margin-top: 50px;
		display: flex;
		justify-content: space-between;
		width: 100%;
		border-bottom: 2px solid #3E8989;
		div{
			width: 20%;
			font-size: 18px;
			color: #3E8989;
			font-weight: bold;
		}
		div:first-child{
			width: 10%;
		}
	}
	.column-name-bin{
		padding: 15px 15px 5px;
		margin-top: 50px;
		display: flex;
		justify-content: space-between;
		width: 100%;
		border-bottom: 2px solid #3E8989;
		div{
			width: 20%;
			font-size: 18px;
			color: #3E8989;
			font-weight: bold;
		}
		div:first-child{
			width: 100%;
		}
	}
	.main-list{
		display: flex;
		flex-direction: column-reverse;
	}
	.list-element-area:nth-child(odd){
		background-color: #3caaaa22;
	}
	.list-element {
		position: relative;
		padding: 15px;
		display: flex;
		justify-content: space-between;
		div{
			width: 20%;
			a{
				padding: 10px 0px;
				text-decoration: none;
				color: #2c2a2a;
				i{
					margin: 5px 10px 5px 0px;
				}
			}
			a:hover{
				color: #3E8989;
			}
		}
		div:first-child {
			width: 10%;
			img{
				margin: 0 auto;
				height: 80px;
				width: 100%;
			}
		}
	}
	.list-element-bin{
		position: relative;
		padding: 10px 15px;
		display: flex;
		justify-content: space-between;
		div{
			width: 20%;
			a{
				padding: 10px 0px;
				text-decoration: none;
				color: #2c2a2a;
				i{
					margin: 5px 10px 5px 0px;
				}
			}
			a:hover{
				color: #3E8989;
			}
		}
		div:first-child {
			width: 6%;
			img{
				margin: 0 auto;
				height: 30px;
				width: 80%;
			}
		}
	}
	.widget {
		position: fixed;
		transform: translate(-50%,-50%);
		top: 50%;
		left: 58.5%;
		padding: 20px;
		background-color: white;
		border-radius: 5px;
		border: 2px solid #3E8989;
		box-shadow: 0 0 15px #564d65ac;
		z-index: 999;
	}
	.widget-form{
		width: 77% !important;
		max-height: 95%;
		overflow: auto;
		.ck-editor__editable[role="textbox"]{
			width: 500% !important;
		}
	}
	.widget-add{
		display: flex;
		input[type="text"]{
			width: 94%;
		}
		div{
			width: 300px;
		}
	}
	.widget-confirm{
		text-align: center;
		font-size: 18px;
		p{
			margin-bottom: 20px;
		}
	}
	.edit-area{
		width: 100%;
	}
	.ck-editor__editable[role="textbox"] {
		/* Editing area */
		margin-top: 5px;
		min-height: 150px;
		min-width: 100%;
	}
	.filter-form{
		form{
			display: flex;
			select{
				margin: 0 0 0 -5px;
				padding: 0;
				border: 0;
				width: fit-content;
				font-size: 18px;
				font-weight: bold;
				color: #3E8989;
			}
			input[type='submit']{
				font-size: 14px;
			}
		}
	}
}
.login-form{
	display: flex;
	justify-content: space-between;
	.form-boxs{
		width: 30%;
		padding-top: 20%;
		.box{
			display: flex;
			flex-direction: column;
			width: 100%;
			form{
				display: flex;
				flex-direction: column;
				width: 100%;
				input, select{
					margin: 10px 0px;
					padding: 5px;
					font-size: 16px;
					width: 80%;
				}
				label:first-child{
					font-weight: bold;
					margin-bottom: 4px;
				}
				input[type="submit"]{
					width: fit-content;
					font-size: 16px !important;
				}
				p{
					font-size: 14px;
					margin: 5px 0px;
					color: #757575;
					a{
						color: #3E8989;
						text-decoration: none;
					}
					a:hover{
						color: #2CDA9D;
					}
				}
			}
			h1{
				margin: 20px 0px;
			}
		}
	}
	.login-img{
		width: 65%;
		margin: auto 0;
		img{
			
			width: 100%;
		}
	}
}

@media (max-width: 1100px){
	nav{
		width: 25%;
	}
	main{
		width: 75%;
		.list-element-area{
			overflow-x: scroll;
		}
		.list-element-area::-webkit-scrollbar {
			height: 6px;  /* wysokość poziomego suwaka */
		  }
		  
		  /* Styl "uchwytu" suwaka */
		  .list-element-area::-webkit-scrollbar-thumb {
			background-color: #3e8989a2; /* kolor uchwytu */
			border-radius: 10px; /* zaokrąglone rogi */
		  }
		  
		  /* Styl "toru" suwaka */
		  .list-element-area::-webkit-scrollbar-track {
			background-color: #f1f1f1; /* kolor tła toru */
			border-radius: 10px; /* zaokrąglone rogi */
		  }
		.list-element{
			width: 1000px;
		}
	}
}

@media (max-width: 870px){
	body {
		flex-direction: column;
	}
	nav{
		position: absolute;
		padding: 70px 0px 40px;
		width: 50%;
		height: 100%;
		transform: translateX(-100%);
		z-index: 1000;
	}
	@keyframes turn-right {
		0%{
			transform: translateX(-100%);
		}
		100%{
			transform: translateX(0%);
		}
	}
	@keyframes turn-left {
		0%{
			transform: translateX(0%);
		}
		100%{
			transform: translateX(-100%);
		}
	}
	.second-nav{
		display: block;
	}
	main{
		width: 100%;
		.btn-bar{
			margin: 30px 0px 40px;
		}
		.column-name{
			display: none;
		}
	}
}

@media (max-width: 470px){
	nav{
		width: 70%;
	}
}