/**
 * @version     3.0.0
 * @package     com_gagallery
 * @copyright   2021 Glenn Arkell
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      Glenn Arkell <glenn@glennarkell.com.au>
 */

img.thumbnail {
    max-width: 300px;
}
img.fullwidth {
    max-width: 900px;
}
img.smalltn_p {
    max-width: 110px;
    float: left;
}
img.smalltn_l {
    max-height: 110px;
    float: left;
}

.red_highlight {
    color: var(--danger);
    background-color: var(--template-bg-dark-7);
}

.trash-opaq {
    background-color: var(--template-bg-dark-7) !important;
}

table.gagallery {
    width:98%;
}
table.gagallery td:not(:first-child) {
    padding: 1.0em 0;
}
.pull-right {
    float: right;
}

figure {
    margin: 0 3px;
    padding: 0.5em;
}

td.dispImg a figure figcaption {
    font-size: 1.5em;
}

@media (min-width: 768px) and (max-width: 1024px) {
    img.thumbnail {
        max-width: 225px;
    }
    img.fullwidth {
        max-width: 560px;
    }
}
@media (min-width: 601px) and (max-width: 767px) {
    img.thumbnail {
        max-width: 160px;
    }
    img.fullwidth {
        max-width: 510px;
    }
}
@media (min-width: 481px) and (max-width: 600px) {
    img.thumbnail {
        max-width: 120px;
    }
    img.fullwidth {
        max-width: 400px;
    }
}
@media (min-width: 321px) and (max-width: 480px) {
    img.thumbnail {
        max-width: 70px;
    }
    img.fullwidth {
        max-width: 240px;
    }
}
@media (max-width: 320px) {
    img.thumbnail {
        max-width: 70px;
    }
    img.fullwidth {
        max-width: 240px;
    }
}

div.modal.fade.in {
    /* top: 30% !important; */
}

div.modal-body {
    /* display: none; */
}
div.modal {
    width: auto !important;
}

.xbottom {
    margin-bottom: 10px !important;
}
div.items {
    margin: 0 auto;
}
