/* GALLERY ITEMS */

body {
  background: url(../../images/rink01.jpg) fixed;
  background-size: cover;
}

#content{
    margin-top: 30px;
}

#container {
  /*border: 2px solid Gainsboro;*/
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

header {
  /*border: 2px solid Gainsboro;*/
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  color: Gainsboro;
  /*text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;*/
  text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0,0,0,0.9);
  padding: 20px;
  font-variant-caps: all-small-caps;
  font-size: 45px;
}

nav {
  /*border: 2px solid Gainsboro;*/
  text-align: center;
  width: 95%;
  margin-left: auto;
  margin-right: auto
}

/*nav {
  width: 1100px;
  margin: 20px 0;
  padding: 10px 0;
}*/

.dropbtn {
  background-color: Gainsboro;
  font-weight: bold;
  color: black;
  width: 125px;
  padding: 5px;
  font-size: 16px;
  border: solid black;
  border-radius: 10px;
  cursor: pointer;
}

.dropdown {
  position: relative;
  text-align: center;
  display: inline-block;
}

.dropdown-content {
  display: none;
  font-weight: bold;
  position: absolute;
  border-radius: 10px;
  box-shadow: 20px 8px 32px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  font-size: 12px;
  padding: 12px 13px;
  min-width: 100px;
  text-align: center;
  border: solid black;
  border-radius: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: Gainsboro;
  cursor: pointer;
}

.dropdown:hover .dropdown-content #rouges {
  background-color: Firebrick;
  color: white;
}

.dropdown:hover .dropdown-content #blancs {
  background-color: white;
  color: black;
}

.dropdown:hover .dropdown-content #bleus {
  background-color: MidnightBlue; /* dark blue */
  color: white;
}

.dropdown:hover .dropdown-content #gris {
  background-color: grey;
  color: white;
  text-shadow: 0px 0px 10px black;
  /*color: black;*/
}

.dropdown:hover .dropbtn {
  background-color: black;
  color: white;
}

#heading {
  width: 80%;
  margin: 0 auto 15px;
  text-align: center;
  padding: .5px 0 .5px;
  background-color: Gainsboro;
  border-radius: 10px;
}

#heading h3 {
    font-style: italic;
}

.fg-gallery:after {
    content: "";
    display: block;
    clear: both;
}
.gallery-items {
    cursor: pointer;
    float: left;
    overflow: hidden;
    height: 220px;
    width: 32%;
    margin-left: 30px;
    margin-bottom: 1%;
}
/* GALLERY COLUMNS */
.cols-2 .gallery-items {
    width: 49%;
}
.cols-2 .gallery-items:nth-child(2n) {
    margin-right: 0;
}

.cols-3 .gallery-items {
    width: calc(20% / 3);
}
.cols-3 .gallery-items:nth-child(3n) {
    margin-right: 0;
}

.cols-4 .gallery-items {
    width: calc(20% / 2);
}
.cols-4 .gallery-items:nth-child(4n) {
    margin-right: 0;
}

.cols-5 .gallery-items {
    width: calc(92% / 5);
}
.cols-5 .gallery-items:nth-child(5n) {
    margin-right: 0;
}

.cols-6 .gallery-items {
    width: calc(90% / 6);
}
.cols-6 .gallery-items:nth-child(6n) {
    margin-right: 0;
}

.body-cover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
.body-cover.active  {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.7);
}

.body-cover.active img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    opacity: 0;
    visibility: hidden;
    -webkit-animation: scale .3s .3s ease forwards;
            animation: scale .3s .3s ease forwards;
    box-shadow: 0 0 180px 0 rgb(24, 24, 24);
    border-radius: 10px;
}
@-webkit-keyframes scale {
    to { opacity: 1; visibility: visible; -webkit-transform: scale(1); transform: scale(1) }
}
@keyframes scale {
    to { opacity: 1; visibility: visible; -webkit-transform: scale(1); transform: scale(1) }
}

/* arrows */
.gallery-arrow {
    position: fixed;
    top: 47%;
    width: 50px;
    height: 30px;
    z-index: 9999;
    cursor: pointer;
}
.gallery-arrow > svg {
    fill: #fff;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-transform: scale(1);
            transform: scale(1);
}
.gallery-arrow:active svg {
    -webkit-transition-duration: .0s;
            transition-duration: .0s;
    -webkit-transform: scale(.9);
            transform: scale(.9);
}
.next-btn {
    right: 25px;
}
.prev-btn {
    left: 25px;
}
/* close button */
.close-btn {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    top: 0;
    right: 0;
    width: 75px;
    height: 75px;
    z-index: 9999;
    cursor: pointer;
}
.close-btn svg {
    fill: #fff;
    width: 15px;
    height: 15px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-transform: rotateZ(0deg);
            transform: rotateZ(0deg);
}
.close-btn:hover svg {
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
}


@media all and (max-width: 1024px) {

.cols-4 .gallery-items {
    width: calc(15% / 2);
}

}
