/**
 * @package   ShackForms
 * @copyright 2018 Perfect Web sp. z o.o
 * @copyright 2018-2023 Joomlashack.com. All rights reserved
 * @license   GNU General Public License http://www.gnu.org/licenses/gpl-3.0.html
 * @author    Andrzej Kawula, Piotr Moćko
 *
 * This file is part of ShackForms.
 *
 * ShackForms is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * ShackForms is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with ShackForms.  If not, see <http://www.gnu.org/licenses/>.
 */

/* add files button */
.pweb-uploader .fileinput-button {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.pweb-uploader .fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
}

/* drop zone */
.pwebcontact-box .pweb-dropzone {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  text-align: center;
  font-weight: bold;
  font-size: 120%;
}

.pwebcontact-box .pweb-dropzone > div {
  position: relative;
  top: 47%;
  left: 0;
}

.pwebcontact-box.pweb-dragged .pweb-dropzone {
  display: block;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.7);
}

/* files list */
.pweb-uploader .files > div {
  margin: 7px 0 0;
}

.pweb-uploader .files .size,
.pweb-uploader .files .error,
.pweb-uploader .files .cancel,
.pweb-uploader .files .delete {
  margin-left: 5px;
}

.pweb-uploader .files .progress {
  height: 7px;
  margin: 0;
  float: none;
}

.pweb-uploader .templates {
  display: none !important;
}
