.attach-file-field .upload-field, .new-attach-form .upload-field{
	width:100%;
	background:#eee;
	padding:10px;
}
.attach-file-field .upload-btn, .new-attach-form .upload-btn{
	width:100%;
}
.upload-attach-fields,
.crop-attach-fields {
	padding: 5px;
	border-radius: 2px;
	/*box-shadow: 3px 3px 5px rgba(0,0,0,0.15);*/
	box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
	background: #fff;
}
.attach-photo-btn-container + .crop-attach-fields:before{
	content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid white;
    position: relative;
    margin: 0 auto;
    margin-top: -19px;
    display: block;
    box-sizing: border-box;
}
.attach-message{
	text-align: center;
	color: #666;
	padding: 10px;
}
.crop-attach-fields .crop-btn{
	width:49%;
	margin:0;
	margin-top:5px;
}
.crop-attach-fields .crop-btn.crop-upload{
	float:right;
}
.crop-attach-fields .crop-btn.crop-cancel{
	float:left;
}
.crop-attach-fields .crop-area-message{
	display: block;
    text-align: center;
    margin-bottom: 5px;
}

.allowed-file-types {
	font-size:0.9em;
}

.attach-file-field.attach-item .upload-btn{
	width: 49.5%;
    float: left;
    margin-right: 1%;
}
.attach-file-field.attach-item .upload-btn + .upload-btn{
    margin-right: 0;
}
.attach-file-field.attach-item .upload-attach-fields{
	border: 0 none;
	padding: 5px;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
}


#vol_photo_place .photo-container {
	border: 1px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	max-width:300px;
}
#vol_photo_place .update-photo-btn {
	border-radius: 50%;
	width: 3em;
	height: 3em;
	text-align: center;
	line-height: 2.8em;
	position: relative;
	top: -60px;
	padding: 0;
	display: table-cell;
}
.attachment-queue-msg {
	font-size: 0.9em;
    border-top: 1px solid #ddd;
    padding-top: 5px;
    margin-top: 5px;
}
.opp-details-attachment-file-name {
	display: none;
}
.opp-details-attachment-extension {
	margin-left:5px;
}
.attach-thumbnail {
	max-height: 100%;
}

/* new styles */

.attach-file-field {
	/* background-color: teal; */
    background: #f0f0f0;
    border-bottom: 1px solid #fff;
	min-height: 70px;
	/* max-height: 70px; */
}

#vol_photo_place > .attach-file-field {
	min-height: 0;
}

.attach-item-row-1 {
	/* background-color: red; */
	display: flex;
	justify-content: space-between;
	min-height: 70px;
	flex-wrap: wrap;
}

.attach-item-left {
	/* background-color: turquoise; */
	display: flex;
	min-height: 70px;
	align-items: center;
}

.attach-item-thumb-icon {
	/* background-color: green; */
	width: 70px;
}

.attach-item-thumbnail {
	/* background-color: yellow; */
	max-height: 70px;
	max-width: 70px;
}

.attach-icon-empty {
	font-size: 70px;
}

.attach-item-icon {
	/* background-color: orange; */
	padding: 12px 10px;
	text-align: center;
	color: #fff;
	font-size:0.9em;
	height: 50px;
	width: 50px;
	margin: 10px;
}

.attach-item-icon.pdf-icon {
	background: #950304;
}
.attach-item-icon.doc-icon {
	background: #2B569A;
}
.attach-item-icon.xls-icon {
	background: #02723B;
}

.attach-item-name-status {
	/* background-color: slateblue; */
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	align-items: center;
}

.attachment-name {
	/* background-color: rosybrown; */
    padding: 5px 10px;
	width: 200px;
	height: 50%;
	font-weight: bold;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.attachment-status {
	/* background-color: purple; */
	padding: 5px 10px;
	font-size: 0.9em;
	width: 150px;
	height: 50%;
}

.attach-item-controls {
	text-align: right;
}

.upload-advice {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.upload-meg-size-msg {
	font-size: 0.9em;
	text-align: right;
	min-width: 100px;
}

.upload-attach-fields-container {
	max-width: 500px;
}

.upload-attach-buttons {
	display: flex;
	justify-content: flex-end;
}

.upload-attach-buttons > button {
	max-width: 200px;
}


/***  Attachment Drag and Drop Styles ***/

.drop-list {
	background-color: #f9f9f9;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	margin-bottom: 1rem;
	overflow: hidden;
}

.drop-list__file-name {
	margin-bottom: 0.5rem;
	font-weight: bold;
	text-overflow: ellipsis;
}

.drag-and-drop, .drop-list__container { flex: 4; }

.drop-list__container {
	display: flex;
	align-items: center;
}

.drop-list .btn-danger {
	font-size: 2rem;
	width: 75px;
	height: 75px;
	margin: 0 0.5rem
}

.drop-list__cancel-confirm {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	height: 75px;
	margin-bottom: 0;
	flex: 1;
}

.drop-list__cancel-confirm p {
	flex: 1;
	text-align: center;
}

.attachment-icon {
	position: relative;
}

.attachment-icon__icon {
	min-width: 75px;
	line-height: 1;
	font-size: 4rem;
	color: #646c86;
}

.attachment-icon__label {
	position: absolute;
	top: 50%;
	left: -5px;
	color: #fff;
	padding: 3px 8px;
	font-size: 12px;
	font-weight: bold;
	border-radius: 5px;
}

.drag-and-drop {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	background: radial-gradient(circle, rgba(251,253,255,1) 24%, rgb(243 246 252) 70%);
	border-radius: 5px;
	border: 2px dashed rgb(197 222 255);
}

.drag-and-drop.active {
	border-color: rgb(51 122 183);
}

.drag-and-drop i {
	font-size: 1.5rem;
	color: rgb(51 122 183);
}

.drag-and-drop p.drag-and-drop__light-text {
	color: #337ab796;
	margin: 0;
	font-weight: bold;
}

.drag-and-drop p {
	margin: 0.5rem 0;
	font-size: 1rem;
	color: #337ab7;
}

/*#drag-and-drop button {*/
/*	margin: 1rem 0;*/
/*}*/

.drag-and-drop .btn {
	padding: 0 0.5rem;
	font-weight: bold;
}

drop-attachment input[type=file] {
	display: none;
}

.file-preview {
	display: grid;
	grid-template-columns: 50px auto 50px;
	margin: 1rem 0;
	padding: 1rem 0.5rem;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.drop-list__image {
	object-fit: cover;
	height: 75px;
	width: 75px;
}

.file-preview__info {
	display: flex;
	justify-content: space-between;
}

.file-preview__indicator {
	display: flex;
	justify-content: center;
	align-items: center;
}

.file-preview__indicator i {
	font-size: 1.5rem;
	color: forestgreen;
}

/***  Attachment Drag and Drop Styles size < 600px ***/

drop-attachment.view-port-sm .drop-list {
	margin: 0;
	padding: 0
}

drop-attachment.view-port-sm .drop-list__container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 250px;
	aspect-ratio: 1/1;
	position: relative;
	overflow: hidden;
	background: #e7e7e7;
}

drop-attachment.view-port-sm .drop-list__container .drop-list__image{
	object-fit: cover;
	height: auto;
	width: 100%;
	max-width: 250px;
	aspect-ratio: 1/1;
}

drop-attachment.view-port-sm .drop-list__menu{
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1/1;
	width: 60px;
	color: #ccc;
	font-size: 1.5rem;
	background-color: rgba(0, 0, 0, 0.75);
}

drop-attachment.view-port-sm .drop-list__controls{
	display: flex;
	flex-direction: column;
	max-width: 250px;
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	padding-top: 60px;
	background-color: rgba(0, 0, 0, 0.75);
	transform: translateY(-250px);
	transition: transform 400ms ease-out;
}

drop-attachment.view-port-sm .drop-list__controls.open {
	transform: translateY(0px);
}


drop-attachment.view-port-sm .btn-upload{
	cursor: pointer;
	text-align: left;
	width: 100%;
	border: none;
}

drop-attachment.view-port-sm .drop-list__controls a {
	width: 100%;
	display: block;
	text-align: left;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	background: transparent;
	border: none;
	color: #ccc;
	text-decoration: none;
}

drop-attachment.view-port-sm .drop-list__controls a i {
	font-size: 1.5rem;
	margin-right: 0.5rem;
}

drop-attachment.view-port-sm .drop-list__confirm-delete {
	padding: 1rem;
	color: #ccc;
	text-align: center;
}

drop-attachment.view-port-sm .drop-list__confirm-delete > div {
	display: flex;
	justify-content: space-around;
}

drop-attachment.view-port-sm .drop-list__confirm-delete > div > div {
	font-size: 1.5rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
}

drop-attachment.view-port-sm .attachment-icon__icon {
	font-size: 8rem;
}

drop-attachment.view-port-sm .attachment-icon__label {
	font-size: 1.5rem;
	z-index: 0;
}
