@font-face {
  font-family: 'icomoon-wc-free';
  src:  url(//peterboroughbanners.co.uk/wp-content/plugins/drag-and-drop-multiple-file-upload-for-woocommerce/assets/fonts/icomoon.eot?mh2om6);
  src:  url(//peterboroughbanners.co.uk/wp-content/plugins/drag-and-drop-multiple-file-upload-for-woocommerce/assets/fonts/icomoon.eot?mh2om6#iefix) format('embedded-opentype'),
    url(//peterboroughbanners.co.uk/wp-content/plugins/drag-and-drop-multiple-file-upload-for-woocommerce/assets/fonts/icomoon.ttf?mh2om6) format('truetype'),
    url(//peterboroughbanners.co.uk/wp-content/plugins/drag-and-drop-multiple-file-upload-for-woocommerce/assets/fonts/icomoon.woff?mh2om6) format('woff'),
    url(//peterboroughbanners.co.uk/wp-content/plugins/drag-and-drop-multiple-file-upload-for-woocommerce/assets/fonts/icomoon.svg?mh2om6#icomoon) format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.wc-dnd-file-upload [class^="icon-"]{
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon-wc-free' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-close-outline:before {
  content: "\e901";
}
.icon-images:before {
  content: "\e90e";
}
.icon-cloud-upload:before {
  content: "\e9c3";
}
.icon-upload2:before {
  content: "\e9c6";
}
.icon-upload3:before {
  content: "\e9c8";
}


/* Delete Status */
.dnd-icon-remove.deleting { outline:none; font-family : inherit !important; font-size:12px; color:#000; font-weight:500; }
.dnd-icon-remove.deleting:before {content : '';}

.wc-dnd-file-upload { padding:0.8rem 0; position:relative; }
.wc-dnd-file-upload label { margin-bottom:0.5rem; display:block; }

.wc-drag-n-drop-file.d-none {
	display:none;
	opacity:0;
	visibility:hidden;
	position:absolute;
	top:0;
}

/* Upload Status */
.dnd-upload-status {
	display:flex;
	padding:4px 0;
	align-items:center;
	position:relative;
}

/* Progress bar - Image */
.dnd-upload-status .dnd-upload-image {
	width:40px;
	height:40px;
	border:1px solid #a5a5a5;
	text-align:center;
	border-radius:100%;
	position:relative;
}
.dnd-upload-status .dnd-upload-image.has-bg {
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
	border:0;
	transition: transform 0.3s ease;
	max-width:40px;
	width:100%;
}
.dnd-upload-status .dnd-upload-image.has-bg:hover {
	transform: scale(1.5);
}
.dnd-upload-status .dnd-upload-image span {
	font-size:16px;
	color:#222;
	position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    left: 50%;
}
.dnd-upload-status .dnd-upload-image.has-bg span { opacity:0; z-index:-200; }

/* Progress bar - Image Details ( Name and Size ) */
.dnd-upload-status .dnd-upload-details {
	padding-left:10px;
	width: calc(100% - 40px);
}
.dnd-upload-status .dnd-upload-details .name {color:#016d98; padding:0 0 4px; padding-right:25px; display:flex; }
.dnd-upload-status .dnd-upload-details .name span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; position: relative; padding-right:10px; }
.dnd-upload-status .dnd-upload-details .name em {color:#444242;	font-weight:700; }

/* Remove Upload File */
.dnd-upload-status .dnd-upload-details .remove-file {
	position:absolute;
	right:0;
	top:6px;
	text-decoration:none;
	box-shadow:none;
	outline:none;
}

.dnd-upload-status .dnd-upload-details span.has-error { color:#f50505; }

/* Progress Loading */
.dnd-upload-status .dnd-upload-details .dnd-progress-bar {
	display: block;
    border-radius: 5px;
    overflow: hidden;
    background: #565555;
    height: 14px;
}
.dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
    background: #4CAF50;
    display: block;
    font-size: 11px;
    text-align: right;
    color: #fff;
    height: 100%;
	width:0;
	line-height:13px;
}
.dnd-upload-status .dnd-upload-details .dnd-progress-bar span.complete { width:100%!important; padding-right:5px; }
.dnd-upload-counter { position:absolute; right:5px; bottom:3px; font-size:12px; }

/* CodeDropz Upload Plugin */
.codedropz-upload-handler {
	border:2px dashed #c5c5c5;
	border-radius:5px;
	margin-bottom:10px;
	position:relative;
}
.codedropz-upload-container {
	padding:16px 20px;
}

.codedropz-upload-inner {
	overflow:hidden;
	width:100%;
	white-space: nowrap;
	text-align:center;
	text-overflow: ellipsis;
	font-weight:inherit;
}
.wc-upload-wrap .codedropz-upload-inner a.cd-upload-btn {
	text-decoration:none;
	box-shadow:none;
	padding:0 10px;
	color:#fff;
	background-color:#6d6d6d;
	border-radius:3px;
}
.codedropz-upload-inner .codedropz-label {
	margin:5px 0;
	font-size:18px;
	line-height:36px;
	position:relative;
	display:flex;
	align-items:center;
	justify-content:center;
}
.codedropz-upload-inner .codedropz-label span.cd-separator {
	padding:0 10px;
}
.codedropz-upload-inner .codedropz-label span.cd-icon {
	font-size:30px;
	padding-right:15px;
}

/* Add border on dragenter, drag etc */
.codedropz-dragover {
	border-color:#6b6a6a;
}

.codedropz-upload-wrapper span.has-error-msg {
	display:inline-block;
	color:#ff0000;
	padding:5px 0;
	font-style:italic;
}

@media screen and (max-width: 767px) {
	.dnd-upload-status .dnd-upload-details .name em { font-weight:normal; }
	.dnd-upload-status .dnd-upload-details .name { padding-right:60px; }
	.codedropz-upload-inner .codedropz-label { font-size:16px; }
}

@media screen and (max-width: 400px) {
	.codedropz-upload-inner .codedropz-label { font-size:15px; }
	.codedropz-label .cd-icon { display:none; }
}.cdt-root {
	margin: 40px 0;
	clear: both;
}

.cdt-cta {
	text-align: center;
	margin-bottom: 24px;
}

.cdt-open-modal-btn {
	background: #2e9c4f;
	border-color: #2e9c4f;
	color: #fff;
	padding: 12px 28px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
}

.cdt-open-modal-btn:hover {
	background: #25803f;
}

.cdt-results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.cdt-design-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 10px;
	position: relative;
	background: #fff;
}

.cdt-design-card img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.cdt-design-meta {
	margin-top: 8px;
	font-size: 13px;
}

.cdt-design-meta strong {
	display: block;
}

.cdt-design-meta span {
	color: #666;
}

.cdt-remove-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 3px 8px;
	font-size: 11px;
	cursor: pointer;
}

/* Default to hidden regardless of the [hidden] attribute, in case any other
   stylesheet on the site resets [hidden] (common with some CSS frameworks).
   Only the explicit .cdt-modal-visible class (toggled by our JS) reveals it,
   so this overlay can never sit invisibly on top of the page intercepting clicks. */
#cdt-modal {
	display: none !important;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

#cdt-modal.cdt-modal-visible {
	display: flex !important;
}

.cdt-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.cdt-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 6px;
	padding: 28px;
	max-width: 460px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.cdt-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #555;
}

.cdt-field {
	display: block;
	margin: 0 0 16px;
}

.cdt-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.cdt-field input,
.cdt-field select,
.cdt-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.cdt-field-hint {
	font-weight: 400;
	color: #888;
	font-size: 12px;
}

.cdt-field input[type="file"] {
	padding: 8px;
}

.cdt-field-colors {
	display: flex;
	gap: 24px;
}

.cdt-color-field {
	flex: 1;
}

.cdt-color-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cdt-color-row input[type="color"] {
	width: 44px;
	height: 36px;
	padding: 2px;
	flex: 0 0 auto;
}

.cdt-color-hex {
	font-family: monospace;
	color: #555;
	font-size: 13px;
}

.cdt-error {
	color: #c0392b;
	font-size: 13px;
}

.cdt-actions {
	text-align: right;
	margin: 0;
}

.cdt-submit-btn {
	background: #2e9c4f;
	border-color: #2e9c4f;
	color: #fff;
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border-radius: 4px;
}

.cdt-submit-btn:hover {
	background: #25803f;
}

body.cdt-modal-open {
	overflow: hidden;
}