
/***********************************************************************************
  
Setup
  
************************************************************************************/

html,
body {
    width: 100%;
    height: 100%;
}

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/***********************************************************************************
  
Universal Typography
  
************************************************************************************/

a {
    text-decoration: none;
}

/***********************************************************************************
  
Sections
  
************************************************************************************/

section {
    padding: 0 39px;
}

/***********************************************************************************
  
Gallery
  
************************************************************************************/

.gallery {
    width: 100%;
    float: left;
    padding: 99px 0 0;
    position: relative;
}

.gallery:last-of-type {
    padding-bottom: 39px;
}

/***********************************************************************************
  
Gallery Typography
  
************************************************************************************/

.gallery h2 {
    font-family: 'Roboto';
    font-size: 20px;
    line-height: 15px;
    letter-spacing: 0px;
    font-weight: 100;
    color: #444444;
    position: absolute;
    top: 65px;
    left: 0;
    text-transform: uppercase;
}

.gallery h2 span {
    font-weight: 400;
}

/***********************************************************************************
  
Gallery Images
  
************************************************************************************/

.gallery a {
    background-size: cover;
    background-position: center center;
    height: 0;
    float: left;
    position: relative;
}

.gallery.small a {
    width: 25%;
    padding-bottom: 25%;
}

.gallery.medium a {
    width: 33.333333333%;
    padding-bottom: 33.333333333%;
}

.gallery.large a {
    width: 50%;
    padding-bottom: 50%;
}

.gallery.full a {
    width: 100%;
    padding-bottom: 75%;
}

.gallery a:after {
    border: 1px solid #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
}

/***********************************************************************************
  
Image Lightbox
  
************************************************************************************/

#imagelightbox {
    cursor: pointer;
    position: fixed;
    z-index: 10000;
    -ms-touch-action: none;
    touch-action: none;
}

/***********************************************************************************
  
Loading Overlay
  
************************************************************************************/

.overlay {
    background-color: #ffffff;
    
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

/***********************************************************************************
  
Loading Indicator
  
************************************************************************************/

.loading {
    -webkit-animation: fade-in .25s linear;
    -moz-animation: fade-in .25s linear;
    -o-animation: fade-in .25s linear;
    animation: fade-in .25s linear;
}

@-webkit-keyframes fade-in {
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}

@-moz-keyframes fade-in {
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}

@-o-keyframes fade-in {
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}

@keyframes fade-in {
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}

.loading,
.loading div {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.loading {   
    background-color: rgba(0, 0, 0, .075);
    
    width: 40px;
    height: 40px; 
    
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 110;
    
    padding: 10px;
    margin: -20px 0 0 -20px;
}

.loading div {
    background-color: rgba(255, 255, 255, 0.75);  
    
    width: 20px;
    height: 20px;
      
    -webkit-animation: loading .5s ease infinite;
    -moz-animation: loading .5s ease infinite;
    -o-animation: loading .5s ease infinite;
    animation: loading .5s ease infinite;
}

@-webkit-keyframes loading {
    from { opacity: .5;	-webkit-transform: scale( .75 ); }
    50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
    to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
}

@-moz-keyframes loading {
    from { opacity: .5;	-moz-transform: scale( .75 ); }
    50%	 { opacity: 1;	-moz-transform: scale( 1 ); }
    to	 { opacity: .5;	-moz-transform: scale( .75 ); }
}

@-o-keyframes loading {
    from { opacity: .5;	-o-transform: scale( .75 ); }
    50%	 { opacity: 1;	-o-transform: scale( 1 ); }
    to	 { opacity: .5;	-o-transform: scale( .75 ); }
}

@keyframes loading {
    from { opacity: .5;	transform: scale( .75 ); }
    50%	 { opacity: 1;	transform: scale( 1 ); }
    to	 { opacity: .5;	transform: scale( .75 ); }
}
