.attachment {
  position: relative;
  overflow: hidden;
  color: var(--zdt_attachment_default_text);
  border: 1px solid var(--zdt_attachment_default_border);
  border-radius: 2px;
}

.disableAttachment {
  opacity: .6;
}

.disableLayer {
  height: 100% ;
  width: 100% ;
  position: absolute;
  top:0 
}

[dir=ltr] .disableLayer {
  left:0 
}

[dir=rtl] .disableLayer {
  right:0 
}

.attachmentHover {
  cursor: pointer;
}

.palette_default {
  background-color: var(--zdt_attachment_default_bg);
}

.palette_transparent {
  background-color: var(--zdt_attachment_transparent_bg);
}

.attachmentHover:hover, .attachmentHover:hover .attachleft, .attachmentHover:focus-within, .attachmentHover:focus-within .attachleft {
  border-color: var(--zdt_attachment_default_hover_border);
}

.attachmentHover:hover .attachleft i,
.attachmentHover:focus-within .attachleft i {
  color: var(--zdt_attachment_hover_text);
}

.attachment:hover .attachDownload,
.attachment:focus-within .attachDownload {
  display: block;
}

.attachmentHover:hover .attachSize,
.attachment:focus-within .attachSize {
  color: var(--zdt_attachment_hover_text);
}

.medium {
  width: var(--zd_size210) ;
  height: var(--zd_size60) ;
}

.small {
  width: var(--zd_size145) ;
  height: var(--zd_size40) ;
}

[dir=ltr] .attachleft {
  border-right: 1px solid var(--zdt_attachment_default_border);
}

[dir=rtl] .attachleft {
  border-left: 1px solid var(--zdt_attachment_default_border);
}

.medium .attachleft {
  width: var(--zd_size50) ;
}

.small .attachleft {
  width: var(--zd_size40) ;
}

[dir=ltr] .medium .attachright {
  padding: var(--zd_size5) var(--zd_size25) var(--zd_size5) var(--zd_size10) ;
}

[dir=rtl] .medium .attachright {
  padding: var(--zd_size5) var(--zd_size10) var(--zd_size5) var(--zd_size25) ;
}

.small .attachright {
  padding: 0 var(--zd_size10) 0 var(--zd_size10) ;
}

.footer {
  font-size: 0 ;
  margin-top: var(--zd_size3) ;
}

.medium .atatchName {
  font-size: var(--zd_font_size14) ;
  line-height: 1.4286;
}

.small .atatchName {
  font-size: var(--zd_font_size12) ;
  line-height: 1.25;
}

.attachSize {
  color: var(--zdt_attachment_size_text);
}

.atatchName,
.attachSize {
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
}

.medium .attachSize {
  font-size: var(--zd_font_size11) ;
}

.small .attachSize {
  font-size: var(--zd_font_size10) ;
}

.attachDownload {
  position: absolute;
  top: calc( var(--zd_size1) * -1 ) ;
  display: none;
  background-color: var(--zdt_attachment_download_bg);
  text-align: center;
}

[dir=ltr] .attachDownload {
  right: calc( var(--zd_size1) * -1 ) ;
}

[dir=rtl] .attachDownload {
  left: calc( var(--zd_size1) * -1 ) ;
}

/* css:lineheight-validation:ignore */
.medium .attachDownload {
  height: var(--zd_size25) ;
  width: var(--zd_size25) ;
  line-height: var(--zd_size23);
}

/* css:lineheight-validation:ignore */
.small .attachDownload {
  height: var(--zd_size20) ;
  width: var(--zd_size20) ;
  line-height: var(--zd_size18);
}

.attachDownload:hover, .attachDownload:focus-within {
  background-color: var(--zdt_attachment_download_hover_bg);
}

.attachIcon {
  font-size: var(--zd_font_size20) ;
}

.downIcon {
  font-size: var(--zd_font_size14) ;
  color: var(--zdt_attachment_size_text);
}

.attachDownload:hover .downIcon,
.attachDownload:focus-within .downIcon {
  color: var(--zdt_attachment_download_hover_text);
}

.dot {
  /*  Variable:Ignore  */
  height: 2px;
  /*  Variable:Ignore  */
  width: 2px;
  background-color: var(--zdt_dot_text);
  border-radius: 50%;
  margin: 0 var(--zd_size6) ;
}