﻿body{
    /*background-color: #152836;*/
    /*background-color: #aa77aa;*/
    background-color: #999999;
}
.home .galerija {
    padding-bottom: 80px;
}

.gps-white a {
	/* 2023.03.19 */
	color: white;
	text-decoration: none;
}

.galerija.dark > ul > li a {
	/* Wilx :: 2020.02.25 :: Tumšs rāmis sīkbildēm */
    border: 3px solid #04070a;
}
.galerija > ul {
    margin-bottom: 0;
    /* Wilx :: 2020.02.25 :: (pielikts) Noņemt sarakstam "punktus" */
    list-style-type: none;
}
.galerija > ul > li {
    float: left;
    /* Wilx :: 2020.02.25 :: Mainīt attālumu starp sīkbildēm un to max lielumu */
    /*margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;*/
    margin-bottom: 5px;
    margin-right: 5px;
	/* Sikbildes platums */
    width: 200px;
}
.galerija > ul > li a {
    border: 3px solid #FFF;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
    /* Wilx :: 2020.02.26 :: (pievienots) Ja nav šīs rindiņas, tad starp sīkbildi un rāmi ir ~5px fons => līdz ar to sīkbildes rāmja izmēri ir 150x150px */
    /*background-color: #990099;*/
	/* Sīkbildes augstums */
    height: 194px;
}
.galerija > ul > li a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.galerija > ul > li a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.galerija > ul > li a:hover .galerija-poster > img {
    opacity: 1;
}
.galerija > ul > li a .galerija-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.galerija > ul > li a .galerija-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.galerija > ul > li a:hover .galerija-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.galerija .justified-gallery > a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.galerija .justified-gallery > a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.galerija .justified-gallery > a:hover .galerija-poster > img {
    opacity: 1;
}
.galerija .justified-gallery > a .galerija-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.galerija .justified-gallery > a .galerija-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.galerija .justified-gallery > a:hover .galerija-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.galerija .video .galerija-poster img {
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    opacity: 0.8;
    width: 48px;
}
