.swissup-attachment-drag-area {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    padding: 50px 0;
    margin: 0 0 5px;
    border: 2px dashed #ccc;
}

.swissup-attachment-row {
    overflow: hidden;
    width: 100%;
    margin: 5px 0;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.swissup-attachment-row .filename {
    color: rgba(0,0,0,0.5);
    font-size: 0.7em;
}
.order-attachment-content video,
.order-attachment-content audio { width: 100%; }
.order-attachment-content textarea { width: 80%;  padding: 10px; }
.swissup-attachment-row .order-attachment-preview {
    width: 25%;
    display: table-cell;
    height: 150px;
    margin: 10px;
    text-align: center;
}
.swissup-attachment-row .order-attachment-preview img {
    max-height: 150px;
}
.swissup-attachment-default-preview {
    background-image: url(../images/attachment.png);
    display: block;
    width: 64px;
    height: 64px;
    margin: 15px auto;
}
.swissup-attachment-row-content { display: table; width: 100%; }
.swissup-attachment-row .order-attachment-content {
    width: 70%;
    display: table-cell;
    vertical-align: top;
    padding: 0 10px;
    text-align: left;
}
.rtl .swissup-attachment-row .order-attachment-content {
    text-align: right;
}

.swissup-attachment-loader { text-align: center; visibility: hidden; }

.swissup-attachment-remove,
.swissup-attachment-download {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0 0 0 10px;
    display: inline-block;
    text-decoration: none;
    vertical-align: top;
}
.swissup-attachment-remove { background-image: url(../images/attach-delete.png); }
.swissup-attachment-download { background-image: url(../images/attach-downloads.png); }

.swissup-attachment-error {
    width:100%;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    border:1px solid #d9534f;
    border-width: 0 0 0 5px;
    border-radius: 2px;
    margin: 3px auto;
    font-size: 16px;
}
.rtl .swissup-attachment-error {
    border-width: 0 5px 0 0;
}
.danger {
    background-color: rgba(217, 83, 79, 0.1);
}

.swissup-attachment-loader .circle {
    display: inline-block;
    margin-right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #27AE60;
    animation: animatonLoader-attachment 1s infinite ease-in;
}
.swissup-attachment-loader .circle:nth-child(2) {
  animation-delay: 0.365s;
}

.swissup-attachment-loader .circle:nth-child(3) {
  animation-delay: 0.63s;
}

@keyframes animatonLoader-attachment {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(1.2);
    background: #2ECC71;
  }
  66% {
    background: #27AE60;
    transform: scale(1);
  }
}

/* firecheckout fixes */
.fc-size-xs .swissup-attachment-row-content,
.fc-size-s .swissup-attachment-row-content { display: block; }
.fc-size-xs .swissup-attachment-row .order-attachment-preview,
.fc-size-s .swissup-attachment-row .order-attachment-preview {
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}
.fc-size-xs .swissup-attachment-row .order-attachment-content,
.fc-size-s .swissup-attachment-row .order-attachment-content {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}
.fc-size-xs .swissup-attachment-row .order-attachment-preview,
.fc-size-s .swissup-attachment-row .order-attachment-preview {
    height: auto;
}
