/**
 * Styles for public part.
 *
 * @author  Ondřej Doněk, <ondrejd@gmail.com>
 * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License 3.0
 * @link https://github.com/ondrejd/od-downloads-plugin for the canonical source repository
 * @package odwp-downloads_plugin
 */

/*
 * Shortcode "Soubory ke stažení"
 */
.odwpdp-shortcode-1 {}
.odwpdp-shortcode-1 .files-table { width: 100%; }
.odwpdp-shortcode-1 .files-table thead th {
    background-color: #f2f2f2;
}
.odwpdp-shortcode-1 .files-table thead th:first-of-type {
    text-align: left;
}
.odwpdp-shortcode-1 .files-table th,
.odwpdp-shortcode-1 .files-table td {
    border-bottom: 0px none !important;
    border-left: 0px none !important;
    border-right: 0px none !important;
    border-top: 0px none !important;
    border-width: 0 0 0 0 !important;
}
.odwpdp-shortcode-1 .files-table thead th, 
.odwpdp-shortcode-1 .files-table thead td,
.odwpdp-shortcode-1 .files-table tbody th, 
.odwpdp-shortcode-1 .files-table tbody td {
    border-bottom: 1px solid #ccc !important;
}
/* Order icons in table head */
.odwpdp-shortcode-1 .files-table thead span.order-icons {
    display: inline-block;
    height: 18px;
    left: 3px;
    position: relative;
    top: 5px;
    width: 12px;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons > span,
.odwpdp-shortcode-1 .files-table thead span.order-icons > a {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    cursor: pointer;
    float: left;
    height: 0;
    position: relative;
    width: 0;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons a.arrow-up {
    border-bottom: 6px solid #2991d6;
    top: 0px;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons a.arrow-up:hover {
    border-bottom: 6px solid #666;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons a.arrow-down {
    border-top: 6px solid #2991d6;
    top: 4px;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons a.arrow-down:hover {
    border-top: 6px solid #666;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons span.arrow-up.used-order {
    border-bottom: 6px solid #000;
    cursor: default;
}
.odwpdp-shortcode-1 .files-table thead span.order-icons span.arrow-down.used-order {
    border-top: 6px solid #000;
    cursor: default;
    top: 4px;
}
/* File info */
.odwpdp-shortcode-1 .files-table .file-info-cont {
    width: 100%;
}
/* Table footer */
.odwpdp-shortcode-1 .files-table tfoot td:first-of-type {    
    text-align: left;
}
.odwpdp-shortcode-1 .files-table tfoot td:last-of-type {
    text-align: right;
}
/* "No items..." row */
.odwpdp-shortcode-1 .files-table .no_items-row {
    font-size: 110%;
    font-weight: bold !important;
    padding: 35px 0px 20px 0px;
    text-align: center;
}
/* Pagination */
.odwpdp-shortcode-1 .files-table .pagination {
    display: inline-table;
}
.odwpdp-shortcode-1 .files-table .pagination a, 
.odwpdp-shortcode-1 .files-table .pagination span {
    display: table-cell;
    height: 1.8em;
    font-size: 1em;
    text-align: center;
    vertical-align: middle;
    width: 1.8em;
}
.odwpdp-shortcode-1 .files-table .pagination a span,
.odwpdp-shortcode-1 .files-table .pagination span span {
    border: 0.1em solid #fff;
    display: inline-block;
    height: 2em;
    width: 2em;
}
.odwpdp-shortcode-1 .files-table .pagination a:hover span {
    border: 0.1em solid #ccc;
    border-radius: 3px 3px 3px 3px;
    background-color: #f2f2f2;
}

/*
 * Widget "Soubory ke stažení"
 */
.odwpdp-widget-1 {}
.odwpdp-widget-1 ul.files-list {}
.odwpdp-widget-1 ul.files-list li {
    clear: both;
}
.odwpdp-widget-1 .file-info-cont-small {
    width: 262px;
}

/*
 * File info container
 */
.file-info-cont {
    display: inline-table;
    height: 52px;
    min-width: 262px;
    width: 100%;
}
.file-info-cont .file-icon {
    display: table-cell;
    float: left;
    height: 52px;
    padding: 10px 0px 10px 0px;
    position: relative;
    top: -3px;
    vertical-align: middle;
    width: 32px;
}
.file-info-cont .file-info {
    float: left;
    display: table-cell;
    height: 52px;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    min-width: 200px;
    width: auto;
}
.file-info-cont .file-link {}
.file-info-cont .file-size {}
.file-info-cont .file-dates {}

.file-info-cont-small .file-size, .file-info-cont-small .file-dates {
    font-size: 85%;
}

