/*
 *project name: OpenDemocracy, it is an open source tool for direct democracy
 *Copyright (C) 2007  Giancarlo Giesa
 *
 *This program 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 3 of the License, or
 *(at your option) any later version.
 *
 *This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *For contact the the author send an e-mail to giancarlogiesa@gmail.com
 *or send a mail to Via Monte Baldo 5, Bussolengo 37012, Verona, Italy.
 */

/* drag and drop for file */
.file-area {
    width: 100%;
    position: relative;
    font-size: 18px;
}
.file-area input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}
.file-area .file-dummy {
    width: 100%;
    padding: 50px 30px;
    border: 2px dashed #695978;
    background-color: #fff;
    text-align: center;
    transition: background 0.3s ease-in-out;
}
.file-area .file-dummy .success {
    display: none;
}
.file-area:hover .file-dummy {
    border: 2px dashed #695978;
}
.file-area input[type=file]:valid + .file-dummy {
    border-color: #695978;
}
.file-area input[type=file]:valid + .file-dummy .success {
    display: inline-block;
}
.file-area input[type=file]:valid + .file-dummy .default {
    display: none;
}
/* table */
tr:nth-child(even) {background-color: #f2f2f2;}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px;
}
