/* -> Main
================================ */
html, body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	background-color: #fff;
	font-size: 14px;
}

/* Colors */
.green{
	color: green;
}

.yellow{
	color:#ffab02!important;
}

.red{
	color: darkred;
}

.pink{
	color: #f8a01a;
}

.blue{
	color: #065afb;
}

.grey{
	color: #7c7c7c;
}

a,
a:hover {
	text-decoration: none;
}

.transition{
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 10px;
	height: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	background-color: #000000;
	border: 1px solid #7c7c7c;
}

.btn,
.btn-alt{
	font-size: 14px;
    padding: 10px 20px;
    border: 2px solid transparent;
    color: #fff;
    text-transform: uppercase;
    border-radius: 3px;
	cursor: pointer;
}

.btn-small{
	font-size: 12px;
    padding: 5px 10px;
	border: 2px solid transparent;
    color: #fff;
    text-transform: uppercase;
    border-radius: 3px;
	cursor: pointer;
	background-color: #f8a01a;
}

	.btn-small:hover{
		color: #f8a01a;
		border-color: #f8a01a;
		background-color: transparent;
	}

.btn{
	background-color: #f8a01a;
}

	.btn:hover{
		color: #f8a01a;
		border-color: #f8a01a;
		background-color: transparent;
	}

.btn-alt{
	border: 2px solid #000000;
    background: #000000;
}

	.btn-alt:hover{
		color: #000000;
		border-color: #000000;
		background-color: transparent;
	}

.btn:disabled,
.btn-alt:disabled{
	background-color: #bdbdbd;
	border-color: #bdbdbd;
	color: #fff;
	cursor: not-allowed;
}

.btn-submit{
	background-color: #f8a01a;
	color: #FFFFFF;
	margin-left: 10px;
}

.btn-cancel{
	background-color: #000000;
}
/*================================ */


/* -> Login
================================ */
#login{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100%;
	background-color: #fff;
	color: #414141;
	text-align: center;
	-webkit-touch-callout: none; 
	-webkit-user-select: none;  
	-khtml-user-select: none;    
	-moz-user-select: none;      
	-ms-user-select: none;      
	user-select: none;        
}

	#login-brand{
		font-size: 70px;
		line-height: 42px;
		text-transform: uppercase;
		color: #000000;
		margin-bottom: 10px;
		font-weight: bold;
	}

		#login-brand span{
			text-transform: none;
			font-size: 14px;
			display: block;
			text-align: right;
		}

		#login-brand img{
			width: 100%;
			max-width: 250px;
			margin-bottom: 20px;
		}

	.login-form-box{
		width: 100%;
		max-width: 300px;
		position: relative;
	}

		#lost-password-form,
		#reset-password-form{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			opacity: 0;
			visibility: hidden;
			transform: translateX(200px);
		}

		#lost-password-form.show,
		#reset-password-form.show{
			transform: translateX(0);
			opacity: 1;
			visibility: visible;
		}

		#login-form{
			transform: translateX(-200px);
			opacity: 0;
			visibility: hidden;
		}

		#login-form.show{
			transform: translateX(0);
			opacity: 1;
			visibility: visible;
		}

			.login-input{
				position: relative;
			}

				.login-input i{
					position: absolute;
					left: 15px;
					top: 15px;
					color: #f8a01a;
				}
				
				.login-input input[type="text"],
				.login-input input[type="password"],
				.login-input input[type="email"] {
					display: block;
					width: 100%;
					font-size: 14px;
					background-color: #fff;
					padding: 10px 8px 10px 40px;
					border: 2px solid #000;
					color: #000000;
					margin-bottom: 15px;
					outline: none;
					border-radius: 3px;
				}
					
				.login-input input[type="submit"] {
					display: block;
					width: 100%;
					font-size: 14px;
					background-color: #f8a01a;
					padding: 10px 20px;
					border: 2px solid transparent;
					color: #fff;
					text-transform: uppercase;
					border-radius: 3px;
					margin-top: 25px;
					outline: none;
					font-weight: 500;
				}
				
					.login-input input[type="submit"]:hover {
						background: transparent;
						border: 2px solid #f8a01a;
						color: #f8a01a;
					}

			.link-login,
			.link-reset-pass{
				display: block;
				margin-top: 10px;
				cursor: pointer;
			}
		
	.login-rights{
		margin-top: 10px;
		color: #7c7c7c;
		font-size: 14px;
	}
	
		.login-rights a {
			color: #7c7c7c;
		}
		
		.login-rights a:hover {
			color: #f8a01a;
		}
/*================================ */


/* -> Menu
================================ */
#menu-box {
	top: 0px;
	bottom: 0px;
	width: 230px;
	left: 0;
	position: fixed;
	background-color: #000000;
	z-index: 4;
}

	#account{
		display: flex;
		align-items: center;
		height: 62px;
	    font-size: 18px;
	    padding: 0px 20px;
	    color: #f8a01a;
		background-color: #111111;
		border-bottom: 1px solid #222;
		text-transform: uppercase;
		font-weight: bold;
	}

		#account span{
			color: #fff;
			display: block;
			font-size: 14px;
			margin-left: 10px;
			margin-top: 1px;
			text-transform: none;
		}

	#menu, #menu ul, #menu ul li, #menu ul li a {
		margin: 0;
		padding: 0;
		border: 0;
		list-style: none;
		line-height: 1;
		display: block;
		position: relative;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#menu {
		padding: 0px 0px 0px 0px;
		width: 100%;
		color: #ffffff;
		height: calc(100% - 95px);
		overflow-y: auto;
		text-align: left;
	}
	
		#menu ul ul {
			display: none;
		}

	#menu > ul > li {
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
		box-shadow: 0 0 1px rgba(0, 0, 0, 0);
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		-moz-osx-font-smoothing: grayscale;
		overflow: hidden;
		-webkit-transition-duration: 0.3s;
		transition-duration: 0.3s;
		-webkit-transition-property: color, background-color;
		transition-property: color, background-color;
		border-bottom: 1px solid #414163;
	}

	#menu > ul > li.has-sub:has(ul:empty) {
		display: none!important;
	}

	#menu > ul > li.active,
	#menu > ul > li:hover,
	#menu > ul > li.has-sub.open{
		background-color: #f8a01a;
	}

	#menu > ul > li.active > .menu-item,
	#menu > ul > li:hover > .menu-item,
	#menu > ul > li.open > .menu-item{
		background-color: #f8a01a;
		color: #fff;
	}

		#menu > ul > li.active > ul {
			display: block;
		}

		#menu > ul > li > .menu-item {
			padding: 12px 40px 12px 20px;
			cursor: pointer;
			z-index: 2;
			line-height: 25px;
			text-decoration: none;
			color: #fff;
			text-transform: uppercase;
			-webkit-transition: color .2s ease;
			-o-transition: color .2s ease;
			transition: color .2s ease;
			font-weight: bold;
			font-size: 12px;
			display: block;
			position: relative;
		}

			#menu ul > li.has-sub > .menu-item:after{
				position: absolute;
				right: 24px;
				top: calc(50% - 5px);
				z-index: 5;
				display: block;
				height: 10px;
				width: 2px;
				background: #fff;
				content: "";
				-webkit-transition: all 0.1s ease-out;
				-moz-transition: all 0.1s ease-out;
				-ms-transition: all 0.1s ease-out;
				-o-transition: all 0.1s ease-out;
				transition: all 0.1s ease-out;
			}

			#menu ul > li.has-sub > .menu-item:before{
				position: absolute;
				right: 20px;
				top: calc(50% - 1px);
				display: block;
				width: 10px;
				height: 2px;
				background: #fff;
				content: "";
				-webkit-transition: all 0.1s ease-out;
				-moz-transition: all 0.1s ease-out;
				-ms-transition: all 0.1s ease-out;
				-o-transition: all 0.1s ease-out;
				transition: all 0.1s ease-out;
			}

				#menu ul > li.has-sub.open > .menu-item:after,
				#menu ul > li.has-sub.open > .menu-item:before{
					-webkit-transform: rotate(45deg);
					-moz-transform: rotate(45deg);
					-ms-transform: rotate(45deg);
					-o-transform: rotate(45deg);
					transform: rotate(45deg);
				}

				#menu ul > li.has-sub.active > .menu-item:after,
				#menu ul > li.has-sub.active > .menu-item:before,
				#menu ul > li.has-sub:hover > .menu-item:after,
				#menu ul > li.has-sub:hover > .menu-item:before,
				#menu ul > li.has-sub.open > .menu-item:after,
				#menu ul > li.has-sub.open > .menu-item:before{
					background: #fff;
				}

				#menu ul ul li .menu-item {
					padding: 15px 22px;
					padding-right: 45px;
					cursor: pointer;
					z-index: 2;
					font-size: 13px;
					text-decoration: none;
					color: #fff;
					background: #212121;
					border-top: 1px solid #414163;
					-webkit-transition: color .2s ease;
					-o-transition: color .2s ease;
					transition: color .2s ease;
					display: block;
					position: relative;
				}
	
					#menu ul ul li .menu-item i{
						font-size: 10px;
						transform: translateY(-1px);
						margin-right: 1px;
					}
	
				#menu ul ul li.active > .menu-item,
				#menu ul ul li .menu-item:hover,
				#menu ul ul li.active .menu-item:hover {
					color: #f8a01a;
				}

					#menu ul ul ul li .menu-item {
						padding-left: 30px;
						line-height: 20px;
						background-color: #1a1c1f!important;
						color: #7c7c7c;
					}

					#menu ul ul ul li.active .menu-item {
						padding-left: 32px;
						color: #f8a01a!important;
					}

					#menu ul ul ul li:hover .menu-item {
						color: #f8a01a!important;
					}
						
			

	.footer-buttons{
		position: absolute;
		bottom: 0;
		width: 100%;
		display: flex;
		border-top: 1px solid #414163;
		z-index: 5;
	}

		.footer-buttons a{
			width: 100%;
			padding: 0px 5px;
			height: 35px;
			font-size: 12px;
			display: flex;
			align-items: center;
			text-align: center;
			justify-content: center;
			color: #fff;
			background-color: #111111;
			-webkit-transition: all 0.1s ease-out;
			-moz-transition: all 0.1s ease-out;
			-ms-transition: all 0.1s ease-out;
			-o-transition: all 0.1s ease-out;
			transition: all 0.1s ease-out;
		}

		.footer-buttons a:last-child{
			border-left: 1px solid #414163;
		}

			.footer-buttons a:hover{
				color: #fff;
				background-color: #f8a01a;
			}
/*================================ */


/* -> Content
================================ */
#content{
	width: calc(100% - 230px);
	float: right;
	padding: 20px 20px 30px 20px;
	min-height: 100vh;
	position: relative;
}

	.content-error{
		position: absolute;
		height: 100%;
		width: 100%;
		right: 0;
		top: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}

		.content-error i{
			font-size: 120px;
		}

	.content-header{
		background-color: #fff;
		border: 1px solid #d5d5d5;
		align-items: center;
		min-height: 46px;
		padding: 5px 5px 5px 20px;
		display: flex;
		justify-content: space-between;
		position: sticky; 
		top: 0px;
		z-index: 3;
	}

		.content-title{
			font-size: 14px;
			color: #000000;
			font-weight: bold;
			text-transform: uppercase;
			padding-right: 20px;
		}

		.content-title > i{
			color: #f8a01a;
		}

	.content-body{
		background-color: #f5f5f5;
		padding: 20px 20px;
		border: 1px solid #d5d5d5;
		border-top: none;
		overflow-x: hidden;
		position: relative;
	}

		.tutorial{
			min-height: calc(100vh - 60px);
			position: relative;
		}

			#tutorial-intro{
				position: fixed;
				left: calc(50% + 115px);
				top: 50vh;
				transform: translate(-50%, -50%);
				z-index: 10;
				background-color: #000000;
				color: #fff;
				padding: 30px;
				border-radius: 5px;
				box-shadow: 0 0 6px rgba(0,0,0,0.3);
			}

			#tutorial-blur{
				filter: blur(4px);
				pointer-events: none;
				position: relative;
			}

			#tutorial-intro.hide{
				display: none;
			}

			#tutorial-intro img{
				width: 100%;
				max-width: 350px;
			}

			#table-template{
				padding: 15px 15px 10px;
			}
			
			#divs-template,
			#tutorial-cropper-div{
				padding: 25px 15px 10px;
			}

			#tutorial-blur.show{
				filter: inherit;
				pointer-events: all;
			}

		.field-title{
			font-weight: bold;
			margin-bottom: 2px;
		}

		.field{
			background-color: #fff;
			padding: 10px 20px;
			border: 1px solid #d5d5d5;
			overflow-x: hidden;
			position: relative;
		}

			.field > p:nth-last-child(-n+1){
				margin-bottom: 0;
			}

		.field.edit{
			background-color: transparent;
			border: none;
			padding: 0;
		}

		.checkboxes-container{
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 15px;
			margin-top: 10px;
			background-color: #e9e9e9;
			padding: 15px;
		}

		.checkbox-label{
			cursor: pointer;
			background-color: #fff;
			border: 1px solid #d5d5d5;
			padding: 5px 15px;
		}

		.checkbox-label.checked{
			border-color: #f8a01a;
		}

		#content input[type=text], 
		#content input[type="number"], 
		#content input[type=password],
		#content input[type=file],
		#content select,
		#content textarea,
		#content .textarea{
			width:100%;
			border: 1px solid #d5d5d5;
			padding: 0px 10px;
			height: 40px;
			margin-top: 5px;
			margin-bottom: 10px;
			background-color: #fff;
			color: #000000;
			font-size: 14px;
			font-weight: 500;
			border-radius: 1px;
			-webkit-border-radius: 1px;
			-moz-border-radius: 1px;
			-ms-border-radius: 1px;
			-o-border-radius: 1px;
			outline: none;
		}

		#content input[type=file]{
			padding-top: 5px;
		}

		#content input[type=text]:focus, 
		#content input[type="number"]:focus, 
		#content input[type=password]:focus,
		#content input[type=file]:focus,
		#content select:focus,
		#content textarea:focus{
			border-color:#000000;
		}

		#content input[type=text].error, 
		#content input[type="number"].error, 
		#content input[type=password].error,
		#content input[type=file].error,
		#content select.error,
		#content textarea.error,
		#content input[type=text].error:focus, 
		#content input[type="number"].error:focus, 
		#content input[type=password].error:focus,
		#content input[type=file].error:focus,
		#content select.error:focus,
		#content textarea.error:focus{
			border-color: #ff5454;
		}

		.error .note-editor.note-frame {
			border-color: #ff5454!important;
		}

		#content textarea{
			height: 200px;
			resize: vertical;
		}

		#content .textarea{
			height: auto;
			min-height: 200px;
			padding: 15px;
		}

		.div-checkbox{
			margin-bottom: 10px;
		}

		select:disabled, textarea:disabled , input:disabled {
			background-image: url('../img/disable.png');
			border-color: #d5d5d5!important;
		}

		.image-box{
			text-align: center;
			padding: 5px;
		}

		.gallery > div > div{
			display: inline-block;
			height: 200px;
			width: 100%;
			position: relative;
			background-size: cover;
			background-position: center;
		}

		.delete-file{
			cursor: pointer;
		}

			.delete-file-img{
				position: absolute;
				top: 15px;
				right: 15px;
				padding: 10px 15px;
				background-color: #ff5454;
				font-size: 14px;
				color: #fff;
				border-radius: 3px;
				text-transform: uppercase;
			}

			.delete-file-img i{
				font-size: 16px;
			}

	.file-row{
		display: grid;
		grid-template-columns: repeat(4, minmax(100px, 1fr));
		gap: 15px
	}

	.file-box,
	.file-group{
		display: flex;
		width: 100%;
	}

	.file-box > a,
	.file-group > a{
		background-color: #fff;
		border: 1px solid #d5d5d5;
		padding: 10px 15px;
		width: 100%;
		color: #000000;
		border-right: none;
		text-overflow: ellipsis;
    	overflow: hidden;
    	white-space: nowrap;
	}
	

	.file-group > input[type=file] {
		display: none;
	}

	.file-box > input[type=text],
	.file-group > input[type=text] {
		margin: 0!important;
		height: 100%!important;
		border-right: 0!important;
	}

	.file-group .add-box{
		width: 100%;
		border: 2px solid #d5d5d5;
		color: #bdbdbd;
		font-weight: 700;
		text-transform: uppercase;
	}

		.file-group .add-box:hover{
			color: #f8a01a;
			border-color: #f8a01a;
		}

	.file-group > a:hover{
		border-color: #f8a01a;
	}

	.file-group > button{
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		min-height: 45px;
	}

	/* 
	 ______     __   __   
	/_  __/__ _/ /  / /__ 
	 / / / _ `/ _ \/ / -_)
	/_/  \_,_/_.__/_/\__/ 

	*/
	.table-actions .action-button{
		min-height: 46px;
		font-size: 14px;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0px 20px;
		cursor: pointer;
		position: relative;
		text-transform: uppercase;
	}

		.table-actions .action-button:before{
			content: '';
			position: absolute;
			left: -5px;
			top: 0;
			height: 100%;
			border-left: 1px solid #d5d5d5;
		}

		.table-actions .action-button:hover{
			background-color: #f8a01a;
			color: #fff!important;
		}

	.sql-table {
		background-color: #fff;
		padding: 20px 20px;
		border: 1px solid #d5d5d5;
		border-top: none;
		position: relative;
	}

		#table-box{
			overflow-x: auto;
		}

			.table-btn{
				cursor: pointer;
				text-align: center;
				font-size: 16px;
				display: flex;
				align-items: center;
				justify-content: center;
				top: 0;
				left: 0;
				height: 100%;
				width: 100%;
				text-decoration: none!important;
			}
/*================================ */

/*
 ______     __   __      ___      __       _ __  
/_  __/__ _/ /  / /__   / _ \___ / /____ _(_) /__
 / / / _ `/ _ \/ / -_) / // / -_) __/ _ `/ / (_-<
/_/  \_,_/_.__/_/\__/ /____/\__/\__/\_,_/_/_/___/

*/
#table-detail{
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999999;
}

	#table-detail-box{
		width: 90%;
		max-height: 90%;
		overflow-y: auto;
		position: relative;
	}

		#table-detail-box > form,
		#table-detail-box > form > .col{
			padding: 0;
			margin: 0;
		}

		#table-detail-box > form .content-body a{
			pointer-events: none;
		}

#table-detail.open{
	visibility: visible;
	opacity: 1;
}

.close-detail-box{
	font-size: 30px;
	color: #FFF;
	background-color: #f8a01a;
	height: 40px;
	width: 40px;
	margin-top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
/*================================ */