/*!
 * by Teodorik Mensl (@teodorik - @studyostudio)

 __|_    _|   _  __|_    _|. _   _ _  _ _ 
_\ | |_|(_|\/(_)_\ | |_|(_||(_).(_(_)| | |
           /                              

*/

/*
	GLOBAL
*/

body {
	background-color: #ffffff;
	color:#000000;
	font-family: 'Cutive Mono', monospace;
	font-weight: 400;
	font-size: 16px;
	font-size-adjust:0.5;
	font-weight:normal;
	font-style:normal;
	margin: 0 auto;
	font-smooth:always;
	-webkit-font-smoothing: antialiased;
	width: 100%;
}

.pace .pace-progress {
  color:#000000;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  height: 1px;
  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

.pace-inactive {
  color:#000000;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  height: 1px;
}

a, a:visited, body.blog .aboutin a, body.blog .aboutin a:visited  {
	color:#000000;
	cursor:	pointer;
	text-decoration:none;
}

a:hover, a:active, body.blog .aboutin a:hover, body.blog .aboutin a:active {
	text-decoration: none;
	color: #6a6a6a;
	cursor:	pointer;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

body.pages {
	background-color: #ffffff;
}

body.pages h3, body.blog h3 {
	margin-top: 40px;
	font-size: 16px;
	text-transform: uppercase;
	color:#000000;
}

body.blog h3 {
	margin-top: 0px;
}

body.pages b {
	text-transform: none;
	font-variant: normal;
	font-style: normal;
	border-bottom: 2px solid #000000;
	font-weight: normal;
}

body.pages blockquote p {
	margin-left: 9px;
	text-transform: none;
	font-variant: normal;
	font-style: normal;
}

body.pages blockquote {
	text-transform: none;
	font-variant: normal;
	font-style: normal;
}

body.pages p {
	margin-bottom: 0px;
	margin-top: 5px;
}

.aboutin {
	max-width: 1024px;
	margin: 0 auto;
	padding-left: 30px;
	padding-right: 200px;
	line-height: 30px;
}

body.contact .aboutin {
	padding-right: 30px;
}

body.contact .aboutin {
	padding-right: 30px;
}

body.contact .aboutin img {
	margin-top: 30px;
}

@media only screen and (max-width: 920px)  {
	
.aboutin {
	padding-right: 30px;
}
	
	}



body.links .aboutin a, body.links .aboutin a:visited, body.media .aboutin a:visited, body.media .aboutin a {
	color:#000000;
	text-decoration:none;
	border-bottom: 2px solid #000000;
}

body.links .aboutin a:hover, a:active, body.media .aboutin a:hover, a:active {
	text-decoration:none;
	color: #000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	border-bottom: 2px solid #000000;
}

body.links b {
	text-transform: none;
	font-variant: normal;
	font-style: normal;
	border-bottom: none;
	font-weight: normal;
}

.description {
	line-height: 30px;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
}

.kgrid_item {
    /* Hides each medium sized image */
    display:none;
    position: relative;
    z-index: 10;
}
.kgrid_item img {
    /* Responsive magic */
    max-width:100%;
    height:auto;
    z-index: 10;
    position: relative;
}


.kgrid_item .bg {
	opacity: 0;
	padding: 0;
	margin: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	position: absolute;
	background-color: #000000;
	-webkit-transition:  opacity 0.5s linear;
	-moz-transition:  opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
	text-align: center;
}

.kgrid_item .bgset {
	opacity: 0.5;
	padding: 0;
	margin: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	position: absolute;
	background-color: #000000;
	-webkit-transition:  opacity 0.5s linear;
	-moz-transition:  opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
	text-align: center;
}

.kgrid_item .titleset {
	opacity: 1;
	margin: -25px 0;
	padding: 0;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
	z-index: 20;
	position: absolute;
	-webkit-transition:  opacity 0.5s linear;
	-moz-transition:  opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;

}

.kgrid_item .titleset h3 {
	color: #ffffff;
	width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
}

.kgrid_item:hover .titleset {
	opacity: 0.5;
	-webkit-transition:  opacity 0.2s linear;
	-moz-transition:  opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.kgrid_item .title {
	opacity: 0;
	margin: 0;
	padding: 0;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
	z-index: 20;
	position: absolute;
	-webkit-transition:  opacity 0.5s linear;
	-moz-transition:  opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;

}


.kgrid_item .title h3 {
	color: #ffffff;
	width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
}


.kgrid_item a, .kgrid_item a:hover, .kgrid_item a:visited, .kgrid_item a:active {
	color: black;
}

.kgrid_item:hover .title {
	opacity: 1;
	-webkit-transition:  opacity 0.2s linear;
	-moz-transition:  opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.kgrid_item:hover .bg {
	opacity: 0.5;
	background-color: black;
	-webkit-transition:  opacity 0.2s linear;
	-moz-transition:  opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	padding: 0;
	margin: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 15;
	position: absolute;
	text-align: center;
}

.kgrid_item:hover .bgset {
	opacity: 0.3;
	background-color: black;
	-webkit-transition:  opacity 0.2s linear;
	-moz-transition:  opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	padding: 0;
	margin: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 15;
	position: absolute;
	text-align: center;
}


#content-page {
	height: auto;
	margin: 0 auto;
	padding-top: 80px;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 1024px;
	font-family: 'Cutive Mono', monospace;
	font-weight: 400;
	font-size: 16px;
	text-align: left;
	position:relative; 
	padding-bottom: 50px;	
}

.socialboard {
	background-color: #000000;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 12px;
	padding-bottom: 3px;
	position: absolute;
	top: 0px;
	right: 5%;
	font-size: 18px;
}

.socialboard a, .socialboard a:visited {
	color: #ffffff;
	text-decoration: none;
}

.socialboard a:hover, .socialboard a:active {
	text-decoration: none;
	color: #6f6f6f; 
	}
	
.socialboard ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

.socialboard li {
	margin-right: 7px;
	list-style: none;
	list-style-type: none;
	display: inline;
}

.socialboard li:last-child {
	margin-right: 0px;
}

.albumhead {
	max-width: 1024px;
	display: block;
	text-align: center;
	position: relative;
}

.albumhead h1 {
	text-align: center;
}

.albumhead p {
	text-transform: none;
	text-align: left;
}

nav.submenu {
	max-width: 1024px;
	display: block;
	margin-bottom: 30px;
	color: #000000;
	text-transform: uppercase;
}

nav.submenu ul {
	list-style: none;
	list-style-type: none;
}

nav.submenu ul li {
display: inline-block;
margin-right: 5%;
}

nav.submenu ul li:last-child {
margin-right: 0;
}

nav.submenu ul.k-nav-list li a, nav.submenu ul.k-nav-list li a:visited {
	padding: 10px;
	text-decoration: none;
	text-align: center;
	min-width: 110px;
	display: inline-block;
	border: 1px solid #000000;
	color: #000000;
}


nav.submenu ul li a:hover, nav.submenu ul li a:active, nav.submenu ul li a.k-nav-current, nav.submenu ul li a.k-nav-current:visited, nav.submenu ul li a.k-nav-current:hover, nav.submenu ul li a.k-nav-current:active, body.what nav.submenu ul li:first-child a, nav.submenu ul.k-nav-list li a:hover {
	border: 1px solid #000000;
	color: #ffffff;
	background-color: #000000;
}

li.active {
	background-color: blue;
	width: 1000px;
}


ul.albumchild {
	text-align: center;
	list-style: none;
	list-style-type: none;
	display: block;
	text-transform: lowercase;
	margin-bottom: 20px;
	padding-left: 30px;
	padding-right: 30px;
}

ul.albumchild li {
	list-style: none;
	list-style-type: none;
	display: inline-block;
	margin-left: 5%;
}

ul.albumchild li:first-child {
	margin-left: 0px;
}

ul.albumchild li a, ul.albumchild li a:visited {
	text-decoration: line-through;
	color: #000000;
}

ul.albumchild li a:hover, ul.albumchild li a:active {
	text-decoration: none;
	color: #000000;
}

ul.albumchild li a.k-nav-current {
	text-decoration: none;
	color: #000000;
}

h1, h2, h3, h4, h5 {
	font-family: 'Cutive Mono', monospace;
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 0;
	text-decoration: none;	
}

article a:link, p a:link, h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link {
	color: #000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:none;
}

article a:visited, p a:visited, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited {
	color: #000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:none;
}

article a:hover, p a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
	text-decoration:none;
	color:#000000;
	 -webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

article a:active, p a:active, h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active {
	text-decoration:none;
	color:#000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

#intro-slideshow {
	margin-top: 0px;
	padding:0;
	height:100%;
	width:100%;
	position: absolute;
	background-color: #000000;
}


body.photo {
	background-color: #ffffff;
	width: 100%;
	height: auto;
}

img {
  width:100%;
  max-width:100%;
  height:auto;
  -ms-interpolation-mode: bicubic;
  vertical-align: bottom;
}

div.lcol-1 {
	width:100%;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
	height: auto;
	background-color: black;
	text-align: center;
}

ol.grid {
  width:100%;
  list-style-type: none;
  margin: 0 auto 0;
  padding: 0;
  text-align: left;
}

ol.grid li.grid-photo {
  display: inline-block;
  height: auto;
  margin-left: -3px;
  position: relative;
  width: 50%;
}

ol.grid li.grid-photo span.grid-title {
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: white;
	cursor: pointer;
	display: block;
	height: 100%;
	position: absolute;
	width: 100%;
	opacity: 0;
	color: #000000;
	text-decoration: none;
    background-color: rgba(0,0,0,0.7); 
    -webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

ol.grid li.grid-photo:hover span.grid-title {
  	opacity: 1;
}

span.grid-title span {
	text-align:center;
    position:absolute;
    top:50%;
    width:100%;
    text-transform:uppercase;
    display:block;
}


ol.grid-album {
  width:100%;
  list-style-type: none;
  margin: 0 auto 0;
  padding: 0;
  text-align: left;
}
 
ol.grid-album li.grid-album {
  display: inline-block;
  height: auto;
  margin-left: -3px;
  margin-right: -1px;
  position: relative;
  width: 25%;
}

ol.grid-album li.grid-album span.grid-album-title {
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: white;
	cursor: pointer;
	display: block;
	height: 100%;
	position: absolute;
	width: 100%;
	opacity: 0;
	color: #000000;
	text-decoration: none;
    background-color: rgba(0,0,0,0.7); 
    -webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

ol.grid-album li.grid-album:hover span.grid-album-title {
  	opacity: 1;
}

span.grid-album-title span {
	text-align:center;
    position:absolute;
    top:50%;
    width:100%;
    text-transform:uppercase;
    display:block;
}

a.button {
	padding:4px 8px;
	border:1px solid #999;
	color:#000;
	font-size:13px;
	font-weight:bold;
	margin:1em 0;
	display:inline-block;
}

a.button:hover {
	text-decoration:none;
	border:1px solid #000;
}

h2,h3,h4,h5,h6,strong {
	font-weight: normal;
}

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
	color: #000000;
	font-weight: normal;
}

img.k-lazy-loading {
	background: url(http://www.jarcovjakova.com/koken/fancybox/fancybox_loading@2x.gif) center center no-repeat;
	background-size: 20px 20px;
}

hr {
	border:0;
	height:1px;
	background:black;
	display:block;
	margin:1em 0;
}

.comma_sep span:after {
	content:", ";
}

.comma_sep span:last-child:after {
	content:"";
}

/*
	LAYOUT
*/

div#container {
	margin:0 auto;
	text-align:left;
}

body.intro header.main {
	background-color: transparent;
}

body.intro header.main h1 a {
	color: #ffffff;
	text-align: left;
	float: left;
	display: inline;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: normal;
	padding-left: 30px;
	border: none;
}

body.intro nav.headmenu ul.k-nav-list li a, body.intro nav ul.k-nav-list li a:visited {
	color: #ffffff;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:none;
	border: none;
}

body.intro nav.headmenu ul.k-nav-list li a:hover, body.intro nav ul.k-nav-list li a:active {
	text-decoration:none;
	color: #ffffff;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:  line-through;
	border: none;
}

body.intro nav.headmenu ul li a.k-nav-current, body.intro nav.headmenu ul li a.k-pagination-current {
	color: #ffffff;
	text-decoration:  line-through;
}

.headerin {
	max-width: 1024px;
	margin: 0 auto;
	height: auto;
}

header.main {
	border-top: 0px solid #ffffff;
	height: auto;
	background-color: #ffffff;
	width: 100%;
	position: fixed;
	z-index: 999;
	margin-top: 0;
	padding-bottom: 10px;
	padding-top: 15px;
}

header.main h1 a {
	color: #000000;
	text-align: left;
	float: left;
	display: inline;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: normal;
	padding-left: 30px;
	border: none;
}

footer.main {
	margin: 0 auto;
	padding-bottom: 5px;
	padding-top: 70px;
	clear:both;
	text-align:center;
	font-size: 8px;
}

footer, footer a {
	color: #ffffff !important;
}

nav.headmenu {
	margin-top:0px;
	text-align: left;
	float: right;
	display: inline;
	z-index: 10;
	padding-right: 30px;
}

nav.headmenu ul {
	margin:0;
	padding:0;
}

nav.headmenu ul li {
	display:inline-block;
	margin:0 15px 0 0;
}

nav.headmenu ul li:last-child {
	margin: 0;
	padding: 0;
}

nav.headmenu ul.k-nav-list li a, nav ul.k-nav-list li a:visited {
	color: #000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:none;
	border: none;
}

nav.headmenu ul.k-nav-list li a:hover, nav ul.k-nav-list li a:active {
	text-decoration:none;
	color: #000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration:  line-through;
	border: none;
}

nav.headmenu ul li a.k-nav-current, nav.headmenu ul li a.k-pagination-current, body.photo nav.headmenu ul li:first-child a {
	color: #000000;
	text-decoration:  line-through;
	border: none;
}

nav.headmenu ul li:nth-child(5) {
	text-indent: -9999px;
}

nav.headmenu ul li:nth-child(5):before {             /* sends the text off-screen */
    background-image: url('inc/fb.png');  /* shows image */
    height: 20px;                        /* be sure to set height & width */
    width: 20px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    content: " ";
}

/*
	LAYOUT (JUST ENOUGH TO ORGANIZE THINGS)
*/

main {
	display:block;
	background-color: black;
}

main h2 {
	margin-bottom:20px;
}

ul.feat-essays {
	margin:0;
	padding:0;
	list-style:none;
}

ul.feat-essays li {
	margin:0;
	padding:0;
	float:left;
	width:22%;
}

ul.feat-essays li {
	margin-right:4%;
}

ul.feat-essays li:nth-child(4n+4) {
	margin-right:0;
}

ul.feat-essays li:nth-child(4n+1) {
	clear:left;
}

div#content-pag {
	float:right;
	font-size:14px;
}

div.lcol {
	width:70%;
	float:left;
	margin-right:5%;
}

div.rcol {
	width:25%;
	float:left;
}

div.lcol.nofloat, div.rcol.nofloat { float:none; }

ol.archive li {
	width:210px;
	margin-right:10px;
	margin-bottom:10px !important;
	display:inline-block;
}

ol.archive.content li {
	width:148px;
}

ol.archive.albums li {
	width:227px;
}

ol.archive.essays li {
	width:310px;
	margin-bottom:20px !important;
}

ol.archive.content li:nth-child(6), ol.archive.albums li:nth-child(4), ol.archive.essays li:nth-child(3) {
	margin-right:0;
}

#bread {
	display:block;
	margin-bottom:2em;
}

/*
	Classes assigned to inserted media
	See: http://help.koken.me/customer/portal/articles/828695-css-classes
*/

/* wrapper for inserted media */
.k-content-embed {
	margin: 0 auto;
	text-align: center;
	width: 100%;
	height: auto;
}

/* wrapper of the media asset itself */
.k-content {
	line-height:0; /* resolves html whitespace */
	margin: 0 auto;
	text-align: center;
	width: 100%;
	height: auto;
}

/* wrapper for title/caption underneath photo/video, if turned on */
.k-content-text {
	padding:0 0 1em;
}

/* wrapper for the media's title */
.k-content-title {
	display:block;
}

/* wrapper for the media's caption */
.k-content-caption {
}

/*
	MORE CLASSES
	See: http://help.koken.me/customer/portal/articles/828695-css-classes
*/

/* used for fallback text in console */
.k-note {}


.cbp-rfgrid {
    margin: 0px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
}
 
.cbp-rfgrid li {
    position: relative;
    float: left;
    overflow: hidden;
    width: 16.6666667%; /* Fallback */
    width: -webkit-calc(100% / 4);
    width: calc(100% / 4);
}
 
.cbp-rfgrid li a,
.cbp-rfgrid li a img {
    display: block;
    width: 100%;
    cursor: pointer;
}
 
.cbp-rfgrid li a img {
    max-width: 100%;
}
 
/* Flexbox is used for centering the heading */
.cbp-rfgrid li a div {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0,0,0,0.7); 
    -webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}
 
.cbp-rfgrid li a:hover div {
    opacity: 1;
}
 
.cbp-rfgrid li a div h3 {
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.4em;
    letter-spacing: 2px;
    padding: 0 10px;
}
 
/* Example for media query: change number of items per row */
 
@media screen and (max-width: 1190px) {
    .cbp-rfgrid li {
        width: 20%; /* Fallback */
        width: -webkit-calc(100% / 4);
        width: calc(100% / 4);
    }
}
 
@media screen and (max-width: 945px) {
    .cbp-rfgrid li {
        width: 25%; /* Fallback */
        width: -webkit-calc(100% / 3);
        width: calc(100% / 3);
    }
}
 
@media screen and (max-width: 660px) {
    .cbp-rfgrid li {
        width: 33.3333333%; /* Fallback */
        width: -webkit-calc(100% / 3);
        width: calc(100% / 3);
    }
}
 
@media screen and (max-width: 660px) {
    .cbp-rfgrid li {
        width: 33.3333333%; /* Fallback */
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
}
 
@media screen and (max-width: 400px) {
    .cbp-rfgrid li {
        width: 50%; /* Fallback */
        width: -webkit-calc(100% / 1);
        width: calc(100% / 1);
    }
}
 
@media screen and (max-width: 300px) {
    .cbp-rfgrid li {
        width: 100%;
    }
}

.cbp-rfgrid-1 {
    margin: 0px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
}
 
.cbp-rfgrid-1 li {
    position: relative;
    float: left;
    overflow: hidden;
    width: 16.6666667%; /* Fallback */
    width: -webkit-calc(100% / 2);
    width: calc(100% / 2);
}
 
.cbp-rfgrid-1 li a,
.cbp-rfgrid-1 li a img {
    display: block;
    width: 100%;
    cursor: pointer;
}
 
.cbp-rfgrid-1 li a img {
    max-width: 100%;
}
 
/* Flexbox is used for centering the heading */
.cbp-rfgrid-1 li a div {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0,0,0,0.7); 
    -webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}
 
.cbp-rfgrid-1 li a:hover div {
    opacity: 1;
}
 
.cbp-rfgrid-1 li a div h3 {
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    padding: 0 10px;
    font-size: 16px;
    
}

.cbp-rfgrid-1 li a div h3 {
	color:#000000;
	-webkit-transition:  all 0.2s linear;
	-moz-transition:  all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
 
/* Example for media query: change number of items per row */
 
@media screen and (max-width: 1190px) {
    .cbp-rfgrid-1 li {
        width: 20%; /* Fallback */
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
}
 
@media screen and (max-width: 945px) {
    .cbp-rfgrid-1 li {
        width: 25%; /* Fallback */
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
}
 
@media screen and (max-width: 660px) {
    .cbp-rfgrid-1 li {
        width: 33.3333333%; /* Fallback */
        width: -webkit-calc(100% / 1);
        width: calc(100% / 1);
    }
}
 
@media screen and (max-width: 660px) {
    .cbp-rfgrid-1 li {
        width: 33.3333333%; /* Fallback */
        width: -webkit-calc(100% / 1);
        width: calc(100% / 1);
    }
}
 
@media screen and (max-width: 400px) {
    .cbp-rfgrid-1 li {
        width: 50%; /* Fallback */
        width: -webkit-calc(100% / 1);
        width: calc(100% / 1);
    }
}
 
@media screen and (max-width: 300px) {
    .cbp-rfgrid-1 li {
        width: 100%;
    }
}

@media screen and (min-width: 100px) and (max-width: 667px) {
		
body {
	font-size: 12px;
}

body.pages .aboutin, .description {
	font-size: 14px;
	line-height: 20px;
}
	
nav {
	margin-top:0px;
	margin-right: 3%;
}

nav.headmenu {
	margin-top:10px;
	text-align: left;
	float: left;
	display: inline;
	z-index: 10;
	padding-right: 0px;
	padding-left: 30px;
}
	
nav ul li {
	margin:0 7px 0 0;
	font-size: 12px;
}

header.main {
	font-size: 12px;
	padding-left: 3%;
}

nav.submenu ul.k-nav-list li a, nav.submenu ul.k-nav-list li a:visited {
	padding: 5px;
	min-width: 30px;
}

nav.submenu ul li {
	margin-right: 5%;	
}

h1 {

}

.socialboard {
	right: 4%;
}
	}

	
@media screen and (min-width: 668px) and (max-width: 1024px) {
	nav.headmenu {
	margin-top:0px;
	text-align: left;
	float: right;
	display: inline;
	z-index: 10;
	padding-right: 100px;
}
}
	
body.blog .aboutin ul, body.blog .aboutin ul li {
	list-style: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

body.blog article {
	margin-bottom: 100px;
}
	
body.blog .aboutin {
	max-width: 500px;
	margin: 0 auto;
	padding-left: 30px;
	padding-right: 30px;
	line-height: 30px;
	text-align: justify;
}

body.blog ul.photoset li:last-child, body.blog ul.photoset li:first-child {
	margin-top: 0;
	margin-bottom: 0;
}

body.blog ul.photoset li {
	margin-top: 20px;
	margin-bottom: 20px;
}

body.blog article.text img {
	margin-top: 20px;
	margin-bottom: 20px;
}

body.contact .albumhead {
	display: none;
}

body.contact .aboutin {
	text-align: center;
	margin-top: 5%;
	margin-bottom: 10%;
}

ul.blogfooter li {
	display: inline;
	max-width: 1024px;
}

ul.blogfooter li.fb {
	float: right;
	right: 0;
	text-align: right;
}

.fb-like {
	top: -5px;
}

ol.notes {
	display: none;
}

.pagination {
	text-align: center;
}

span.previous {
	float: left;
}

span.next {
	float: right;
}