:root {
	--gray: hsl(0, 0%, 59%);
	--gray-2: #f6f6f6;
	--light-gray: rgba(0, 0, 0, 0.12);
	--lighter-gray: rgb(228, 231, 235);
	--dark-gray: #666;
	--green: #2cb5a9;
	--light-green: #00c2b2;
	--dark-green: #03b5a9;
	--purple: #6f2b8f;
	--lighter-purple: rgb(111, 43, 143, 0.2);
	--light-purple: rgb(111, 43, 143, 0.4);
}
/* article .entry-content {
	margin: 0 auto;
	max-width: 1600px;
	padding: 0 8%;
} */
.d-none {
	display: none;
}
.d-block {
	display: block !important;
}
.material-symbols-outlined {
    vertical-align: middle;
}
.message {
    border-radius: 8px;
    display: none;
    align-items: center;
    padding: 20px;
    margin: 12px 0;
}

.message.danger {
    background-color: #fbe9e7;
    color: #d50000;
}
.message .material-symbols-outlined {
    display: inline-block;
    margin-right: 6px;
}
.dropzone-section {
	padding: 4% 0;
    min-height: 420px;
}
.dropzone {
	border: 1px solid #bdc1c6;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	height: 228px;
	cursor: pointer;
}
.dropzone.dz-started {
	height: 70px;
	transition: all ease-in-out 180ms;
	min-height: 70px;
	padding: 16px;
}
.dropzone .dz-preview {
	margin: 0 auto;
	width: 100%;
	min-height: 20px;
}
.dropzone .dz-preview .dz-details {
	padding: 0;
    top: 175px;
}
.dropzone .dz-preview .dz-progress  {
    border: 6px solid white;
    border-radius: 50%;
    border-top: 6px solid var(--green);
    border-bottom: 6px solid var(--green);
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite !important; /* Safari */
    animation: spin 2s linear infinite !important;
    top: calc(50% - 20px);
	left: 50%;
}
.loading-wrapper {
    display: flex;
    align-items: center;
}
.loading {
	display: none;
    border: 6px solid white;
    border-radius: 50%;
    border-top: 6px solid var(--green);
    border-bottom: 6px solid var(--green);
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite !important; /* Safari */
    animation: spin 2s linear infinite !important;
}
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.dropzone .dz-preview .dz-progress .dz-upload {
    display: none;
}

.dropzone .dz-preview .dz-details, 
.dropzone .dz-preview.dz-complete .dz-success-mark, 
.dropzone .dz-preview.dz-complete .dz-details {
	opacity: 0 !important;
}
.dropzone .dz-preview.dz-complete .dz-progress {
	opacity: 1 !important;
}
.dropzone .dz-preview .dz-image,.dropzone .dz-preview .dz-size{
	display: none;
}
.dropzone:hover {
	box-shadow: 0 1px 3px 0 rgb(60 64 67 / 5%), 0 4px 8px 3px rgb(60 64 67 / 15%);
	transition: box-shadow ease-in-out 280ms;
}
.dz-max-files-reached {
	pointer-events: none;
	cursor: default !important;
}
.dz-message {
	border: 2px dashed #bdc1c6;
	border-radius: 8px;
	color: black;
	margin: 0 !important;
	padding: 2em 0;
	width: 100%;
	font-size: 14px;
	transition: background-color ease-in-out 280ms;
}
.dropzone:hover .dz-message {
	background-color: #defcf9;
	border: 2px solid #defcf9;
}
.dz-message .material-symbols-outlined{
	display: block;
	font-size: 73px;
	color: #bdc1c6;
	font-weight: bold;
	transition: color ease .2s;
}
.dropzone:hover .dz-message .material-symbols-outlined {
	color: var(--green);
}
.dz-message a {
	color: var(--green);
}
.dz-message .caption {
	color: #5f6368;
	margin-top: 4px;
	font: 400 12px/20px Roboto, "Helvetica Neue", sans-serif;
	letter-spacing: normal;
}
.dz-upload-button {
	font-size: 13px !important;
	background-color: var(--dark-green) !important;
}
.dz-upload-button:hover {
	background-color: var(--dark-green) !important;
}
.dz-upload-button:focus {
	border-color: var(--dark-green) !important;
	outline: none !important;
}
#upload-result {
	display: none;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	line-height: 1.5em;
}
#document-view {
	border: 1px solid var(--light-gray);
	height: 900px;
	display: flex;
	align-items: stretch;
}
.sidebar {
	width: 31%;
	border-right: 1px solid var(--light-gray);
	overflow: auto;
	z-index: 1;
    position: relative;
}
.sidebar .card-page {
	display: none;
}
.sidebar .card-page .card {
	border-radius: 4px;
	margin: 10px;
	padding: 3px 5px;
	background: #f8f9fa;
	cursor: pointer;
	font-size: 14px;
	box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
}
.sidebar .card-page .card:hover,.sidebar .card-page .card.hover {
	color: white;
	background-color: var(--purple);
}
.main-panel {
	width: 69%;
	background-color: var(--gray-2);
	overflow: hidden;
}
.main-panel .actions {
	font-size: 20px;
	border-bottom: 1px solid rgba(0,0,0,.12);
	height: 49px;
	align-items: center;
	display: flex;
    justify-content: space-between;
	padding: 0 20px;
	flex-shrink: 0;
}
.main-panel .actions a {
	margin-right: 2px;
	color: var(--dark-gray);
	padding: 4px 10px;
	border-radius: 100px;
	width: 40px;
	height: 40px;
}
.main-panel .actions a:focus {
	outline: none;
}
.main-panel .actions a:hover {
	background-color: rgba(0,0,0,.08);
}
.main-panel .actions .pagination-form{
    display: inline-block;
}
.main-panel .actions .pagination-form input{
    width: 28px;
    height: 33px;
    background: transparent;
    font-size: 19px;
    padding: 2px;
    border-radius: 6px;
    color: black;
    text-align: center;
}
.main-panel .actions .pagination-form input:focus{
    outline: 2px solid var(--green);
}
.main-panel .asset-view {
	height: 850px;
	display: flex;
}
.main-panel .asset-view .document-view {
	width: calc(100% - 45px);
	position: relative;
	overflow: hidden;
}
.main-panel .asset-view .document-view .image {
	position: absolute;
	top: 45px;
	left: 50%;
	transform: translateX(-50%);
    width: max-content;
}
.main-panel .asset-view .document-view .image #main-img {
	box-shadow: 0 1px 2px rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
    display: block;
	margin: 0 auto;
}
.main-panel .asset-view .document-view .box-page {
	display: none;
}
.main-panel .asset-view .document-view .box-page .box {
	position: absolute;
	background: var(--lighter-purple);
}
.main-panel .asset-view .document-view .box:hover,.main-panel .asset-view .document-view .box.hover {
	outline: 2px solid var(--purple);
	background: var(--light-purple);
}
.main-panel .asset-view .mini-overview {
	width: 114px;
	background-color: white;
	padding: 8px 0;
    overflow-y: auto;
}
.main-panel .asset-view .mini-overview .thumbnail {
	max-width: 80px;
	margin: 0 auto;
	padding: 4px;
	cursor: pointer;
}
.main-panel .asset-view .mini-overview .thumbnail.selected {
	outline: 2px solid var(--green);
}
.main-panel .asset-view .mini-overview .thumbnail .thumbnail-image img {
	max-width: 70px;
	box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
}
.main-panel .asset-view .mini-overview .thumbnail .thumbnail-image,
.main-panel .asset-view .mini-overview .thumbnail .page-number {
	text-align: center;
}
.main-panel .asset-view .mini-overview .thumbnail .page-number {
	font-size: 14px;
	margin-top: -10px;
}
#parser-parameters {
	display: flex;
	justify-content: space-between;
	max-width: 1000px;

}
#parser-parameters > div {
	flex: 167px 1 0;
	padding-right: 20px;
	font-size: 16px;
	color: #5f6368;
	text-align: left;
}
.custom-toggles {
	display: none;
}
input[type="range"] {
	margin-right: 15px;
	width: 100%;
	height: 7px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 5px;
	background-image: linear-gradient(#48c5bc, #36aca1);
	background-repeat: no-repeat;
}
  
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 20px;
	width: 20px;
	border-radius: 50%;
	background: #36aca1;
	cursor: ew-resize;
	box-shadow: 0 0 2px 0 #555;
	transition: background .3s ease-in-out;
}
  
input[type=range]::-webkit-slider-runnable-track  {
	-webkit-appearance: none;
	box-shadow: none;
	border: none;
	background: transparent;
}
#primary {
	max-width: unset !important;
	width: unset !important;
}

#file-uploader {
	display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-bottom: 20px;
}

#file-uploader > div:nth-child(1) {
	width: 39%;
}

#file-uploader > div:nth-child(2) {
	width: 41%;
    padding-left: 62px;
    line-height: 23px;
    font-size: 16px;
    color: #5f6368;
}

#file-uploader > div:nth-child(3) {
	width: 259px;
	padding-left: 64px;
}

.mobile-only {
	display: none;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 1000px) {
	#file-uploader {
	  flex-direction: column;
	}
	#file-uploader > div {
		width: 100% !important;
		padding: 0 !important;
	}
	#file-uploader > div:nth-child(3) {
		display: none;
	}
}
@media (max-width: 600px) {
	#parser-parameters {
		flex-direction: column;
	
	}
	#parser-parameters > div {
		width: 80%;
	}
	.main-panel .actions {
		padding: 0 !important;
	}
	.mobile-only {
		display: block;
	}
}