/*::-webkit-scrollbar { 
    display: none; 
}*/

::-moz-selection {
    text-shadow: none;
}

::selection {
    text-shadow: none;
}

img {
    vertical-align: middle;
}

.scrollbar-measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}

* { box-sizing: border-box; }



/*html {
  overflow-y: scroll; 
}*/

html, body {
	margin: 0;
    padding: 0;
	font-family: 'Open Sans Condensed', sans-serif;
	-webkit-font-smoothing: antialiased; 
	background-color:#000;
	color:#666;
}

/* ---- grid ---- */

.grid {
  background: #000;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

/* 5 columns, percentage width */
.grid-item,
.grid-sizer {
  width: 25%;
}

.grid-item {
	float: left;
	height: 240px;
	background: #000;
	outline: 3px solid black;
	outline-offset: -3px;
	cursor: pointer;
	/*opacity:0;*/
  
	/*-webkit-transition: all .1s ease-in;
	-moz-transition: all .1s ease-in;
	-ms-transition: all .1s ease-in;
	-o-transition: all .1s ease-in;
	transition: all .1s ease-in;*/
}

.grid-item:hover {
   -moz-box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);  
   -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);   
    box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);

   -webkit-transition: all .1s ease-out;
   -moz-transition: all .1s ease-out;
   -ms-transition: all .1s ease-out;
   -o-transition: all .1s ease-out;
    transition: all .1s ease-out;  
}

.grid-item--width2 { width: 50%; }
.grid-item--height2 { height: 480px; }
.grid-item--height3 { height: 480px; }

.thumb-img {
	opacity:0;
	display:none;
}





@media screen and (max-width: 768px){
	.grid-item,
	.grid-sizer {
		width: 50%;
	}
	.grid-item--width2 { width: 100%; }
	.grid-item--height2 { height: 240px; }
	
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
	
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
body.loupe-active {
    overflow: hidden;
}

header {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0 6px 0 0;
    /*width: 100%;
    height: 76px;*/
   -moz-box-sizing: border-box;
    box-sizing: border-box;   
    z-index: 2;

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.has-header header {
    display: block;
}

header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

header div.background {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    /*height: 76px;*/
    /*background-color: #000000;*/
    opacity: .9;
	/*background-image: url(../logoFK_bg.png);
    background-repeat: no-repeat;
    background-position: center;*/
	padding-left: 16px;
    padding-top: 16px;
}

header div.meta-left {
    position: static;
    width: 50%;
    float: left;
    padding-left: 20px;
    padding-top: 20px;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

header div.meta-right {
    position: static;
    width: 50%;
    float: right;
    padding-right: 6px;
    padding-top: 6px;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

header p.title {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 24px;
    text-align: left;
    font-weight: bold;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header p.subTitle {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 16px;
    text-align: left;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header p.author {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header p.extra {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header a {
    color: inherit;
}

header a:hover {
    opacity: .75;
}

.scrolled header.is-fixed {
    height: 80px;
    padding: 0px 6px 0 0;
    overflow: hidden;
}

.scrolled header.is-fixed div.meta-left {
    padding-top: 8px;
}

.scrolled header.is-fixed div.meta-right {

}

.scrolled header.is-fixed p.title {
    padding: 12px 0 0 0px;
    /*font-size: 18px;*/
}

.scrolled header.is-fixed p.author {
    margin: .25em 0 0 0;
}

#buttonFullscreen {
    position: absolute;
    top: 20px;
    right: 15px;
    display: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#pageNav {
    display: block;
    float: right;
    font-size: 12px;
}

#pageNav div.count {
    padding-top: 1px;
}

#pageCountCurrent,
#pageCountTotal {
    font-weight: bold;
    line-height: 40px;
}

#buttonPrevPage {
    position: relative;
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
}

#buttonPrevPage.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconPrevPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

#pageNav div.count {
    float: left;
}

#buttonNextPage {
    position: relative;
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
}

#buttonNextPage.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconNextPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

.fullscreen #buttonFullscreen {
    display: block;
}

#buttonFullscreen div.icon {
    position: absolute;
    top: 12px;
    left: 11px;
    width: 18px;
    height: 16px;
}

#svgIconFullscreen {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18px;
    height: 16px;
}

#loupeContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    padding: 45px 45px 100px 45px;
    width: 100%;
    height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
    font-size: 12px;
    text-align: center;
}

#loupeContainer div.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loupeContainer div.image-container {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
}

#loupeContainer div.corners {
    position: relative;
    display: inline-block;
}

#loupeContainer div.image-container div.image {
    display: table-cell;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
}

#loupeContainer img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.centeredLoader{
	position: absolute;
	top : 50%;        
	left : 50%;        
	margin-top : -40px; 
	margin-left : -40px; 
	display : block;
	width : 80px;
	height : 80px;
}

#loupeContainer ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 45px;
}

#loupeContainer div.info-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

#loupeContainer div.side-navigation {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 45px 0px 100px 0px;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

#loupeContainer div.side-navigation div.hotspot {
    position: relative;
    width: 25%;
    height: 100%;

   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#loupeContainer div.side-navigation div.hotspot.over {
    cursor: pointer;
}

#loupeMeta p {
    margin: 0;
    padding: 0;
}

#loupeMeta p.title {
    margin: 0 auto 5px auto;
    padding: 0;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: bold;
	cursor: pointer;
}

#loupeMeta a.dl {
    margin: 0 auto 5px auto;
    padding: 0;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: bold;
	color: #fff;
    text-decoration: none;
}

#loupeMeta p.caption {
    margin: 0 auto;
    padding: 0;
    max-width: 80%;
    /*height: 48px;*/
    overflow: hidden;
    font-size: 14px;
}

#hotspotPrevLoupe {
    float: left;
}

#hotspotPrevLoupe.disabled {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
}

#hotspotNextLoupe {
    float: right;
}

#hotspotNextLoupe.disabled {
    display: none;
}

#loupeContainer div.side-navigation div.button {
    display: block;
    width: 50px;
    height: 50px;
}

#buttonPrevSideLoupe {
    position: absolute;
    top: 50%;
    left: 0px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 0;
}

#hotspotPrevLoupe.over #buttonPrevSideLoupe {
    opacity: 1;
}

#svgIconPrevSideLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}

#buttonNextSideLoupe {
    position: absolute;
    top: 50%;
    right: 0px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 0;
}

#hotspotNextLoupe.over #buttonNextSideLoupe {
    opacity: 1;
}

#svgIconNextSideLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}

#loupeContainer li {
    display: block;
    float: left;
}

#countCurrent,
#countTotal {
    font-weight: bold;
}

#buttonPrev {
    position: relative;
    width: 45px;
    height: 45px;
    cursor: pointer;
   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none; 
}

#buttonPrev.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconPrevLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

#buttonNext {
    position: relative;
    width: 45px;
    height: 45px;
    cursor: pointer;
   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none;
}

#buttonNext.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconNextLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

#loupeCloseButton {
    position: absolute;
    top: 17px;
    right: 13px;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

#svgIconLoupeClose {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
}

#svgIconLoupeClose .shape-x{
    fill-rule:evenodd;
    clip-rule:evenodd;
}

