:fullscreen, ::backdrop {
    background-color: #ddd;
}

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 1em;
    font-weight: 300;
    background: #ddd;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.titel {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    margin: 50px 0 22px 0;
}

#voetnoot {
    display: none;
    text-align: center;
}

.info {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    letter-spacing: 2px;
    color: #444;
    margin: 20px 0 0 0;
}
.credits {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 2px;
    color: #666;
    margin: 20px 0 0 0;
}
.lijntje {
	margin: 0 auto;
    width: 50px;
	border-style: solid;
    border-width: 1px 0px 0px 0px;
	border-color: #fff;
    margin-top: 15px;
	margin-bottom: -3px;
}

.gallery img {
    width: 15%;
    height: auto;
    border: 2px solid #ddd; /*wordt omgezet naar witte boord eenmaal alles is geladen via javascript in html*/
    /*margin: 10px 15px 10px 15px;*/
    margin: 1.12% 1% 1.12% 1%;
    vertical-align: middle;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.gallery img:hover {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    color: #000;
    text-decoration: none;
    /*filter: brightness(110%);*/
    filter: grayscale(100%) contrast(110%);
    /*filter: sepia(35%);*/
    scale: 105%;
    transition: all .3s ease-in-out;
}

.gallery {
    display: inline-block;
    text-align: center;
}
a {
    margin: auto;
}

.gallery .vert {
    width: 12%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.container {
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 50px;
}

.clear {
    clear: both;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#full {
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out ;
  position: fixed;
  right: 33px;
  bottom: 40px;
  z-index: 10060;
  width: 22px;
  cursor: pointer;
}

#full:hover {
    opacity: 1;
    filter: invert(0.5);
    /*-webkit-animation:spin 400ms linear;
    -moz-animation:spin 400ms linear;
    animation:spin 400ms linear;*/
    -webkit-animation: scale 0.8s ease-in-out;
	-moz-animation: scale 0.8s ease-in-out;
	-o-animation: scale 0.8s ease-in-out;
	animation: scale 0.8s ease-in-out;
}

#linken {
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out ;
  position: fixed;
  left: 35px;
  bottom: 37px;
  z-index: 10060;
  width: 28px;
  cursor: pointer;
}

#linken:hover {
    opacity: 1;
    filter: invert(0.5);
    /*-webkit-animation: squeeze 2.5s ease 1;
	-moz-animation: squeeze 2.5s ease 1;
	-o-animation: squeeze 2.5s ease 1;
	animation: squeeze 2.5s ease 1;*/
    -webkit-animation: rotate 0.5s alternate 2;
	-moz-animation: rotate 0.5s alternate 2;
	-o-animation: rotate 0.5s alternate 2;
	animation: rotate 0.5s alternate 2;
}

#ophalen {
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out ;
  position: fixed;
  left: 35px;
  bottom: 37px;
  z-index: 10060;
  width: 28px;
  cursor: pointer;
}

#ophalen:hover {
    opacity: 1;
    filter: invert(0.5);
    /*-webkit-animation: bounce1 0.3s alternate 2, bounce2 0.3s alternate 2 0.6s;
    -moz-animation: bounce1 0.3s alternate 2, bounce2 0.3s alternate 2 0.6s;
    -o-animation: bounce1 0.3s alternate 2, bounce2 0.3s alternate 2 0.6s;
    animation: bounce1 0.3s alternate 2, bounce2 0.3s alternate 2 0.6s;*/
    -webkit-animation: squeeze 2.5s ease 1;
	-moz-animation: squeeze 2.5s ease 1;
	-o-animation: squeeze 2.5s ease 1;
	animation: squeeze 2.5s ease 1;
}

@media(hover: none) {
    .titel {
        font-size: 1em;
        margin: 25px 0 15px 0;
    }
    .info {
        font-size: 0.9em;
    }
    .credits {
        font-size: 0.7em;
    }
    .gallery img {
        width: 20%;
        margin: 1.3% 1% 1.3% 1%;
    }
    .gallery .vert {
        width: 15%;
        margin-left: 3.5%;
        margin-right: 3.5%;
    }
    .container {
        margin-bottom: 30px;
    }
    .sl-wrapper .sl-close {
      font-size: 2.3rem;
      right: 35px;
      top: 33px;
    }
    .sl-wrapper .sl-current {
      font-size: 1.2rem;
    }
    .sl-wrapper .sl-navigation button.sl-next {
        padding-left: 7px;
        height: 80px;
        width: 20px;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        padding-left: 7px;
        height: 80px;
        width: 20px;
    }
    .triangle-l{
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-right: 6px solid rgba(255, 255, 255, .5);
    }
    .triangle-r{
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left: 6px solid rgba(255, 255, 255, .5);
    }
    #full {
        display: none;
    }
    #linken {
      left: 50%;
      transform: translateX(-50%);
      bottom: 37px;
      width: 22px;
    }
    #ophalen {
      left: 50%;
      transform: translateX(-50%);
      bottom: 37px;
      width: 22px;
    }
}

@media(hover: none) and (orientation: landscape) {
    .titel {
        font-size: 1.3em;
        margin: 25px 0 15px 0;
    }  
    .info {
        font-size: 0.5em;
    }    
    .gallery img {
        width: 15%;
        margin: 1.12% 1% 1.12% 1%;
    }
    .gallery .vert {
        width: 12%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }
    .sl-wrapper .sl-navigation button.sl-next {
        padding-left: 11px;
        height: 100px;
        width: 30px;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        padding-left: 11px;
        height: 100px;
        width: 30px;
    }
    .sl-counter {
        transform-origin: 0 0;
        transform: rotate(90deg);
        margin-left: 20px;
    }
    .triangle-l{
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-right: 8px solid rgba(255, 255, 255, .7);
    }
    .triangle-r{
        border-top-width: 12px;
        border-bottom-width: 1épx;
        border-left: 8px solid rgba(255, 255, 255, .7);
    }
    #linken {
        display: none;
    }
    #ophalen {
        display: none;
    }
}