﻿.ABItemAttachments
{
	padding: 5px 10px;
	height: 260px;
	height: calc(50% - 65px);
}

	.ABItemAttachments ul.AttachmentsList
	{
		/*border: 1px solid #cccccc;*/
		border-radius: 5px;
		border-bottom: none;
		margin: 15px 0px;
		height: 225px;
		height: calc(100% - 50px);
		display: block;
		clear: both;
		overflow-y: auto;
		overflow-x: hidden;
		border-bottom: 1px solid #E1E0E0;
	}

		.ABItemAttachments ul.AttachmentsList li
		{
			/*border-bottom: 1px solid #cccccc;*/
			padding: 5px;
		}

			.ABItemAttachments ul.AttachmentsList li:last-child
			{
				border-radius: 5px;
			}

			.ABItemAttachments ul.AttachmentsList li a
			{
				display: inline-block;
				color: #0022DF;
				font-size: 13px;
				width: 120px;
				width: calc(100% - 73px);
				height: 14px;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}

	.ABItemAttachments ul li a.DownloadAttachment
	{
		text-decoration: none;
	}

    .ABItemAttachments ul li a.DownloadAttachment span.download,
    .ABItemAttachments ul li a.DownloadAttachment span.edit
    {
        color: #222222;
    }

    .ABItemAttachments ul li a.DownloadAttachment span.download:hover,
    .ABItemAttachments ul li a.DownloadAttachment span.edit:hover
    {
        background-color: #F7931D;
        color: white;
        border-radius: 5px;
    }

    a.DownloadAttachment[data-attachtype="URL"] span.download.glyphicons.glyphicons-download-alt 
    {
        display: none;
    }

	.ABItemAttachments ul li span.Size
	{
		float: right;
	}

.rtl .ABItemAttachments ul li span.Size
{
	float: left;
}

.ABItemAttachments.Locked ul li a.DeleteAttachment
{
	display: none;
}

.ABItemAttachments ul li a.DeleteAttachment
{
	color: #727376;
    width: 13px;
    float: left;
    margin: 4px 6px;
}

.ltr .ABItemAttachments ul li a.DeleteAttachment,
.ltr .ABItemAttachments .LockDiv
{
	float: right;
}


.ABItemAttachments #IframeDiv
{
	display: none;
	/*position: fixed;
		top: 0px;
		z-index: 1000000;
		left: 25px;*/
	/*overflow: scroll;*/
	/*overflow-scrolling: touch;*/
	/*-webkit-overflow-scrolling: touch;*/
}

.ABItemAttachments #iframe
{
	border: none;
	width: 100%;
	/*overflow: visible;*/
	/*overflow-scrolling: touch;
		-webkit-overflow-scrolling:touch;*/
	/*vertical-align: top;*/
}

.ABItemAttachments h3
{
	padding-top: 8px;
	display: inline-block;
	float: left;
}

.rtl .ABItemAttachments h3
{
	float: right;
}

.ABItemAttachments #AttachmentsMenuBtn
{
	cursor: pointer;
	background-color: #F9F9F9;
	border-radius: 5px;
	border: 1px solid #CFCFCF;
	display: block;
	float: right;
	padding: 4px;
	font-size: 18px;
}

.rtl .ABItemAttachments #AttachmentsMenuBtn
{
	float: left;
}


.ABItemAttachments #AttachmentsMenuBtn span
{
	width: 100%;
	height: 100%;
	display: block;
}

.ABItemAttachments .AttachmentsMenu
{
	position: absolute;
	top: 30px;
	right: 10px;
	width: 160px;
	display: none;
	background-color: #ededed;
	padding: 0px;
	display: none;
	z-index: 99999;
	border: 1px solid #cccccc;
}

.rtl .ABItemAttachments .AttachmentsMenu
{
	right: inherit;
	left: 10px;

}
	.ABItemAttachments .AttachmentsMenu label
	{
		text-align: start;
		background-color: #ffffff;
		color: #636262;
	}

	.ABItemAttachments .AttachmentsMenu .FileInputWrapper label
	{
		margin: 0px;
	}


	.ABItemAttachments .AttachmentsMenu .FileInputWrapper label, .ABItemAttachments .AttachmentsMenu .FileInputWrapper input
	{
		width: 100%;
	}

	.ABItemAttachments .AttachmentsMenu .FileInputWrapper input
	{
        display: none;
		left: auto;
		width: 0px;
		height: 0px;
	}

	.ABItemAttachments .AttachmentsMenu label, .ABItemAttachments .AttachmentsMenu a
	{
		font-size: 15px;
		color: #000000;
		background-color: transparent;
		display: block;
		clear: both;
		line-height: inherit;
		height: inherit;
		padding: 5px;
		border-radius: 0px;
		text-align: inherit;
		text-decoration: none;
	}

		.ABItemAttachments .AttachmentsMenu label:hover, .ABItemAttachments .AttachmentsMenu a:hover
		{
			background-color: #F7931D;
			color: #ffffff;
		}

.ABItemAttachments .AttachmentsMenu a
{
	text-decoration: none;
}

.ABItemAttachments .NoAttachments
{
	text-align: center;
	margin: 10px;
}

.ABItemAttachments .Icon
{
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	display: inline-block;
	background-image: url("../../../Images/FileTypes/unknown.gif");
	margin: 0px 3px;
}

.ABItemAttachments .pdf
{
	background-image: url("../../../Images/FileTypes/pdf.gif");
}

.ABItemAttachments .ai
{
	background-image: url("../../../Images/FileTypes/ai.gif");
}

.ABItemAttachments .aiff
{
	background-image: url("../../../Images/FileTypes/aiff.gif");
}

.ABItemAttachments .bmp
{
	background-image: url("../../../Images/FileTypes/bmp.gif");
}

.ABItemAttachments .bz2
{
	background-image: url("../../../Images/FileTypes/bz2.gif");
}

.ABItemAttachments .c
{
	background-image: url("../../../Images/FileTypes/c.gif");
}

.ABItemAttachments .chm
{
	background-image: url("../../../Images/FileTypes/chm.gif");
}

.ABItemAttachments .conf
{
	background-image: url("../../../Images/FileTypes/conf.gif");
}

.ABItemAttachments .cpp
{
	background-image: url("../../../Images/FileTypes/cpp.gif");
}

.ABItemAttachments .css
{
	background-image: url("../../../Images/FileTypes/css.gif");
}

.ABItemAttachments .csv
{
	background-image: url("../../../Images/FileTypes/csv.gif");
}

.ABItemAttachments .deb
{
	background-image: url("../../../Images/FileTypes/deb.gif");
}

.ABItemAttachments .divx
{
	background-image: url("../../../Images/FileTypes/divx.gif");
}

.ABItemAttachments .doc
{
	background-image: url("../../../Images/FileTypes/doc.gif");
}

.ABItemAttachments .docx
{
	background-image: url("../../../Images/FileTypes/docx.gif");
}

.ABItemAttachments .dot
{
	background-image: url("../../../Images/FileTypes/dot.gif");
}

.ABItemAttachments .dotx
{
	background-image: url("../../../Images/FileTypes/dotx.gif");
}

.ABItemAttachments .eml
{
	background-image: url("../../../Images/FileTypes/eml.gif");
}

.ABItemAttachments .file
{
	background-image: url("../../../Images/FileTypes/file.gif");
}

.ABItemAttachments .gif
{
	background-image: url("../../../Images/FileTypes/gif.gif");
}

.ABItemAttachments .gz
{
	background-image: url("../../../Images/FileTypes/gz.gif");
}

.ABItemAttachments .hlp
{
	background-image: url("../../../Images/FileTypes/hlp.gif");
}

.ABItemAttachments .htm
{
	background-image: url("../../../Images/FileTypes/htm.gif");
}

.ABItemAttachments .html
{
	background-image: url("../../../Images/FileTypes/html.gif");
}

.ABItemAttachments .iso
{
	background-image: url("../../../Images/FileTypes/iso.gif");
}

.ABItemAttachments .jpeg
{
	background-image: url("../../../Images/FileTypes/jpeg.gif");
}

.ABItemAttachments .jpg
{
	background-image: url("../../../Images/FileTypes/jpg.gif");
}

.ABItemAttachments .js
{
	background-image: url("../../../Images/FileTypes/js.gif");
}

.ABItemAttachments .mm
{
	background-image: url("../../../Images/FileTypes/mm.gif");
}

.ABItemAttachments .mov
{
	background-image: url("../../../Images/FileTypes/mov.gif");
}

.ABItemAttachments .mp3
{
	background-image: url("../../../Images/FileTypes/mp3.gif");
}

.ABItemAttachments .mpg
{
	background-image: url("../../../Images/FileTypes/mpg.gif");
}

.ABItemAttachments .odc
{
	background-image: url("../../../Images/FileTypes/odc.gif");
}

.ABItemAttachments .odf
{
	background-image: url("../../../Images/FileTypes/odf.gif");
}

.ABItemAttachments .odg
{
	background-image: url("../../../Images/FileTypes/odg.gif");
}

.ABItemAttachments .odi
{
	background-image: url("../../../Images/FileTypes/odi.gif");
}

.ABItemAttachments .odp
{
	background-image: url("../../../Images/FileTypes/odp.gif");
}

.ABItemAttachments .ods
{
	background-image: url("../../../Images/FileTypes/ods.gif");
}

.ABItemAttachments .odt
{
	background-image: url("../../../Images/FileTypes/odt.gif");
}

.ABItemAttachments .ogg
{
	background-image: url("../../../Images/FileTypes/ogg.gif");
}

.ABItemAttachments .pdf
{
	background-image: url("../../../Images/FileTypes/pdf.gif");
}

.ABItemAttachments .pgp
{
	background-image: url("../../../Images/FileTypes/pgp.gif");
}

.ABItemAttachments .php
{
	background-image: url("../../../Images/FileTypes/php.gif");
}

.ABItemAttachments .pl
{
	background-image: url("../../../Images/FileTypes/pl.gif");
}

.ABItemAttachments .png
{
	background-image: url("../../../Images/FileTypes/png.gif");
}

.ABItemAttachments .ppt
{
	background-image: url("../../../Images/FileTypes/ppt.gif");
}

.ABItemAttachments .pptx
{
	background-image: url("../../../Images/FileTypes/pptx.gif");
}

.ABItemAttachments .ps
{
	background-image: url("../../../Images/FileTypes/ps.gif");
}

.ABItemAttachments .py
{
	background-image: url("../../../Images/FileTypes/py.gif");
}

.ABItemAttachments .ram
{
	background-image: url("../../../Images/FileTypes/ram.gif");
}

.ABItemAttachments .rar
{
	background-image: url("../../../Images/FileTypes/rar.gif");
}

.ABItemAttachments .rb
{
	background-image: url("../../../Images/FileTypes/rb.gif");
}

.ABItemAttachments .rm
{
	background-image: url("../../../Images/FileTypes/rm.gif");
}

.ABItemAttachments .rpm
{
	background-image: url("../../../Images/FileTypes/rpm.gif");
}

.ABItemAttachments .rtf
{
	background-image: url("../../../Images/FileTypes/rtf.gif");
}

.ABItemAttachments .sql
{
	background-image: url("../../../Images/FileTypes/sql.gif");
}

.ABItemAttachments .swf
{
	background-image: url("../../../Images/FileTypes/swf.gif");
}

.ABItemAttachments .sxc
{
	background-image: url("../../../Images/FileTypes/sxc.gif");
}

.ABItemAttachments .sxd
{
	background-image: url("../../../Images/FileTypes/sxd.gif");
}

.ABItemAttachments .sxi
{
	background-image: url("../../../Images/FileTypes/sxi.gif");
}

.ABItemAttachments .sxw
{
	background-image: url("../../../Images/FileTypes/sxw.gif");
}

.ABItemAttachments .tar
{
	background-image: url("../../../Images/FileTypes/tar.gif");
}

.ABItemAttachments .tex
{
	background-image: url("../../../Images/FileTypes/tex.gif");
}

.ABItemAttachments .tgz
{
	background-image: url("../../../Images/FileTypes/tgz.gif");
}

.ABItemAttachments .txt
{
	background-image: url("../../../Images/FileTypes/txt.gif");
}

.ABItemAttachments .unknown
{
	background-image: url("../../../Images/FileTypes/unknown.gif");
}

.ABItemAttachments .vcf
{
	background-image: url("../../../Images/FileTypes/vcf.gif");
}

.ABItemAttachments .vsd
{
	background-image: url("../../../Images/FileTypes/vsd.gif");
}

.ABItemAttachments .wav
{
	background-image: url("../../../Images/FileTypes/wav.gif");
}

.ABItemAttachments .wma
{
	background-image: url("../../../Images/FileTypes/wma.gif");
}

.ABItemAttachments .wmv
{
	background-image: url("../../../Images/FileTypes/wmv.gif");
}

.ABItemAttachments .xls
{
	background-image: url("../../../Images/FileTypes/xls.gif");
}

.ABItemAttachments .xlsx
{
	background-image: url("../../../Images/FileTypes/xlsx.gif");
}

.ABItemAttachments .xml
{
	background-image: url("../../../Images/FileTypes/xml.gif");
}

.ABItemAttachments .xpi
{
	background-image: url("../../../Images/FileTypes/xpi.gif");
}

.ABItemAttachments .xvid
{
	background-image: url("../../../Images/FileTypes/xvid.gif");
}

.ABItemAttachments .zip
{
	background-image: url("../../../Images/FileTypes/zip.gif");
}

@media print
{
	.ABItemAttachments, .ABItemAttachments ul.AttachmentsList
	{
		height: auto;
		overflow: visible;
		direction: ltr;
		text-align: left;
        border: none;
	}

    .ABItemAttachments ul.AttachmentsList li
    {
        display: list-item;
        float: none;
    }

    .ABItemAttachments ul.AttachmentsList li a, .ABItemAttachments ul li span.Size
    {
        float: left;
    }

    /*.rtl .ABItemAttachments ul.AttachmentsList li a, .rtl .ABItemAttachments ul li span.Size
    {
        float: left;
    }*/

	.ABItemAttachments ul.AttachmentsList li, .ABItemAttachments ul.AttachmentsList li a, .ABItemAttachments ul li span.Size
	{
		clear: none;
        border: none;
	}

	.ABItemAttachments ul li a.DeleteAttachment
	{
		display: none;
	}

	.ABItemAttachments #AttachmentsMenuBtn
	{
		display: none;
	}
}


.ABItemAttachments .LockDiv .lock, .ABItemAttachments .LockDiv .unlock {
	background-image: none;
	background-color: transparent;
	border-color: transparent;
	border-image: none;
	box-shadow: none;
	color: #b7a2ad;
	padding: 0px;
	font-size:11px;
}
.ABItemAttachments .LockDiv .lock
{
	color:red;
}
.ABItemAttachments .LockDiv .unlock
{
	color:#b7a2ad;
}

.ABItemAttachments .LockDiv
{
	display:inline-block;
	float:left;
}

.ABItemAttachments .DeleteAttachment.hiddenRemoveAttachment
{
	visibility:hidden;
}