/* ajax widget */
.widget-ajax-wrapper {
	background: #fff;
	color: #000;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
	width: 100%;
}

.widget-ajax-wrapper {
	font-size: 14px;
}

.widget-ajax-wrapper:hover .ajax-link {
	text-decoration: none;
}

/* flex grid */
.widget.sgwindow_ajax_blog,
.flex-wrapper {
	width: 100%;
}


/* flex grid */
.ajax_content_ajax_blog,
.flex-wrapper {
	width: 100%;
}

.ajax-content.empty {
	background: transparent;
	display: none;
}

.ajax-content a.read-more {
	display: inline-block;
}

.ajax-content a.read-more,
.ajax-content h1 {
	color: #000;
	font-weight: bold;
}



.widget-ajax-wrapper {
	display: -webkit-box;     
	display: -moz-box;        
	display: -ms-flexbox;     
	display: -webkit-flex;
	display: flex;            
	-webkit-flex-flow: wrap;
	-ms-flex-flow: wrap;
	flex-flow: wrap;
	
	-webkit-flex-justify-content: flex-start;
	justify-content: flex-start;
}

.flex-wrapper {
	display: -webkit-box;     
	display: -moz-box;        
	display: -ms-flexbox;     
	display: -webkit-flex;
	display: flex;            
	-webkit-flex-flow: wrap;
	-ms-flex-flow: wrap;
	flex-flow: wrap;
	
	justify-content: flex-start;
	
	width: 100%;
}

.widget-flex-6 .flex-wrapper,
.widget-flex-8 .flex-wrapper { 
	-webkit-flex-flow: nowrap;
	-ms-flex-flow: nowrap;
	flex-flow: nowrap;
}

.widget-flex-6 .flex-wrapper.ajax-content,
.widget-flex-8 .flex-wrapper .ajax-content {
	width: 50%;
}

/* content */

.widget-ajax-wrapper p {
	margin: 0;
}

.widget-flex-8 .ajax-descr,
.widget-flex-6 .ajax-descr {
	margin-bottom: 6px;
}

.widget-flex-2 .ajax-descr,
.widget-flex-4 .ajax-descr {
	margin-bottom: 10px;
}

.widget-flex-6 h1.ajax-title {
	line-height: 16px;
	margin-bottom: 10px;
}
.widget-flex-8 .ajax-descr {
	font-size: 12px;
}

.widget-flex-8 h1.ajax-title {
	line-height: 14px;
	margin-bottom: 5px;
}

.widget-flex-6 a.read-more {
	font-size: 12px;
}

.widget-flex-6 .post-edit-link,
.widget-flex-6 .ajax-entry-meta a,
.widget-flex-6 a.read-more {
	font-size: 12px;
}

.widget-flex-8 a.read-more:before {
	font-size: 10px;
}

.widget-flex-8 .post-edit-link,
.widget-flex-8 .ajax-entry-meta a,
.widget-flex-8 a.read-more {
	font-size: 10px;
}

/* text over image */

.over-image .ajax-text-wrap h1 {
	color: #fff;
	opacity: 0;
	padding: 5px;
	position: absolute;
	bottom: 0;
	left: 10px;
	right: 10px;
	text-align: center;
    -webkit-transition: all 4s ease-in;
    transition: all 4s ease-in;
	white-space: nowrap;
}

.over-image .ajax-image-back  {
    -webkit-transition: all 2s ease-in;
    transition: all 2s ease-in;
}

.over-image .ajax-content.hovered h1,
.over-image .ajax-content:hover h1 {
	background: rgba(0,0,0,0.4);
	opacity: 1;
    -webkit-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.over-image .ajax-content:hover h1 {
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.over-image .ajax-content:hover .ajax-image-back  {
	-ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Chrome, Safari, Opera */
    -webkit-transition: all 6s ease-in;
    transition: all 6s ease-in;
}

.over-image .ajax-descr {
	display: none;
	position: absolute;
}

.over-image a.read-more,
.over-image .edit-link,
#page .over-image .ajax-entry-meta {
	display: none;
	position: absolute;
}

#page .over-image .ajax-cat {
	top: 10px;
	left: 10px;
}
/* blog style */

/* links on hover */
.open-page,
.over-image .see-here {
	font-size: 0;
	position: absolute;
}

.open-page {
	right: 20px;
	top: 20px;
}

.over-image .open-page {
	left: 20px;
	top: 20px;
}

.over-image .see-here {
	cursor: pointer;
	right: 20px;
	top: 20px;
	z-index: 2;
}

.ajax-content .post-format {
	cursor: pointer;
	font: normal 32px/1 'Genericons';
	position: absolute;
	right: 20px;
	top: 20px;
	
	background: rgba(255,255,255,.5);
	border-radius: 20px;
	padding: 5px;
	
    -ms-transform: translate(0,0) rotate(0); /* IE 9 */
    -webkit-transform: translate(0,0) rotate(0); /* Safari */
    transform: translate(0,0) rotate(0);
	
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.ajax-content:hover .post-format {
    -ms-transform: translate(100px,-100px) rotate(90deg); /* IE 9 */
    -webkit-transform: translate(100px,-100px) rotate(90deg); /* Safari */
    transform: translate(100px,-100px) rotate(90deg);
}

.open-page:before,
.over-image .see-here:before {
	background: rgba(255,255,255,.5);
	border-radius: 20px;
	opacity: 0;
	padding: 5px;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	vertical-align: top;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.widget-flex-6 .open-page:before,
.widget-flex-6 .see-here:before {
	font: normal 24px/1 'Genericons';
}

.widget-flex-2 .empty,
.widget-flex-4 .empty,
.widget-flex-6 .empty,
.widget-flex-8 .empty {
	border: none !important;
}
.widget-flex-8 .open-page:before,
.widget-flex-8 .see-here:before {
	font: normal 20px/1 'Genericons';
}

.open-page:before {
	content: '\f416';	
    -ms-transform: translate(100px,-100px) rotate(90deg); /* IE 9 */
    -webkit-transform: translate(100px,-100px) rotate(90deg); /* Safari */
    transform: translate(100px,-100px) rotate(90deg);
}

.over-image .open-page:before {
	content: '\f416';	
    -ms-transform: translate(-100px,-100px) rotate(90deg); /* IE 9 */
    -webkit-transform: translate(-100px,-100px) rotate(90deg); /* Safari */
    transform: translate(-100px,-100px) rotate(90deg);
}

.over-image .see-here:before {
	content: '\f402';	
    -ms-transform: translate(100px,-100px) rotate(90deg); /* IE 9 */
    -webkit-transform: translate(100px,-100px) rotate(90deg); /* Safari */
    transform: translate(100px,-100px) rotate(90deg);
}

.ajax-content:hover .open-page:before,
.over-image .ajax-content:hover .see-here:before {
	opacity: 1;
    -ms-transform: translate(0,0) rotate(0); /* IE 9 */
    -webkit-transform: translate(0,0) rotate(0); /* Safari */
    transform: translate(0,0) rotate(0);
}

.ajax-content .open-page:hover:before,
.over-image .ajax-content .see-here:hover:before {
	background: rgba(0,0,0,.5);
	color: #fff;
	-webkit-transform: rotateZ(360deg); /* Safari */
    transform: rotateZ(360deg);
}

/* Fixed post */

.fixed-post-container {
	background: rgba( 0,0,0, 0 );
	bottom: 0;
	display: none;
	left: 0;
	opacity: 1;
	right: 0;
	padding: 20px 10px;
	position: fixed;
	top: 0;
	z-index: 100000;
}

.fixed-post-container.invisible {
	opacity: 0;
}

.fixed-post-container.visible {
	background: rgba( 0,0,0, 0.5 );
	display: block;
	text-align: center;
}

.fixed-content-wrap.visible {
	opacity: 1;
    -webkit-transition: all 1s ease-in;
    transition: all 1s ease-in;
	-webkit-transform: rotateX(0); /* Safari */
    transform: rotateX(0);
}

.fixed-content-wrap {
	margin: 0 auto;
	opacity: 0;
	overflow: visible;
	position: relative;
    -webkit-transition: all 1s ease-in;
    transition: all 1s ease-in;
	-webkit-transform: rotateX(90deg); /* Safari */
    transform: rotateX(90deg);
}

.fixed-content {
	color: #999;
	margin: 10px;
	max-height: 100%;
	opacity: 1;
	overflow-y: scroll;
	overflow-x: visible;
	text-align: left;
    -webkit-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.fixed-content.invisible {
	opacity: 0;
	-webkit-transform: rotateX(90deg); /* Safari */
    transform: rotateX(90deg);
}

.fixed-content.invisible-1 {
	-webkit-transform: rotateX(90deg); /* Safari */
    transform: rotateX(90deg);
}

.fixed-post-container.visible .fixed-content {
	background: #fff;
    -webkit-transition: all 1s ease-in;
    transition: all 1s ease-in;
}

.transition {
    -webkit-transition: all 1.2s ease-in;
    transition: all 1.2s ease-in;
}

.fixed-post {
	padding: 20px;
}

.fixed-post h1 {
	font-size: 18px;
}

/* close button */
.close-button {
	background: #fff;
	border-radius: 2px;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: -10px;
	z-index: 9999;
	
	color: #000;
	content: '\f406';
	cursor: pointer;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	font-weight: bold;
	padding: 5px;
	vertical-align: top;
}

.fixed-post-content  {
	padding-bottom: 20px;
}

/* Next/Previous button */

.l-next-button {
	background: #fff;
	border-radius: 2px;
	cursor: pointer;
	position: absolute;
	left: 50px;
	bottom: -10px;
	z-index: 9999;
	color: #000;
	content: '\f429';
	cursor: pointer;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	font-weight: bold;
	padding: 5px;
	vertical-align: top;	
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.l-prev-button {
	background: #fff;
	border-radius: 2px;
	cursor: pointer;
	position: absolute;
	left: 0;
	bottom: -10px;
	z-index: 9999;
	color: #000;
	content: '\f430';
	cursor: pointer;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	font-weight: bold;
	padding: 5px;
	vertical-align: top;	
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.l-prev-button:hover,
.l-next-button:hover {
    -ms-transform: scale(1.2,1.2); /* IE 9 */
    -webkit-transform: scale(1.2,1.2); /* Chrome, Safari, Opera */
    transform: scale(1.2,1.2);
	
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.l-prev-button:active,
.l-next-button:active {
    -ms-transform: rotateY(180deg) translate(200px, -200px) scale(0.2,0.2);
    -webkit-transform: rotateY(180deg) translate(200px, -200px) scale(0.2,0.2);
    transform: translate(-20px, 20px) scale(0.2,0.2);
}

.disabled-button.l-next-button,
.disabled-button.l-prev-button,
.disabled-button.l-next-button:before,
.disabled-button.l-prev-button:before {
    -ms-transform: scale(1,1); /* IE 9 */
    -webkit-transform: scale(1,1); /* Chrome, Safari, Opera */
    transform: scale(1,1);
	background: #eee;
	color: #ccc;
	cursor: normal;
}

/* cats */

.ajax-cats-wrap,
.ajax-content {
	width: 100%;
}

.ajax-cat {
	background: #000;
	color: #fff;
	left: 10px;
	padding: 5px 10px;
	position: absolute;
	top: 10px;
}

.widget-flex-6 .ajax-cat {
	font-size: 14px;
}

.widget-flex-8 .ajax-cat {
	font-size: 12px;
	padding: 2px 8px;
}

.ajax-content {
	background: white;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
	padding: 10px 10px;
	position: relative;
}

/* icon */
.ajax-image-wrap {
	overflow: hidden;
}

.ajax-image-back {
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding-bottom: 30%;
}

a.read-more:before {
	content: '\f104';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 14px/1 'Genericons';
	padding-top: 2px;
	padding-right: 2px;
	vertical-align: top;	
}

.widget-flex-4 a.read-more:before {
	padding-top: 4px;	
}

.widget-flex-8  a.read-more:before {
	padding-top: 0;
	vertical-align: middle;	
}

/* categories */
.ajax-cats {
	margin: 0;
	padding: 10px 10px;
}

#page .widget-area .widget .widget-ajax-wrapper ul li:before,
.widget-ajax-wrapper ul li:before {
    content: '';
}

.widget .widget-ajax-wrapper ul > li,
.widget-ajax-wrapper ul li,
.ajax-cats li {
	background: #eee;
	color: #000;
	display: inline-block;
	font-size: 10px;
	margin: 5px 0;
	padding: 5px;
	text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

#page .widget-area .widget .widget-ajax-wrapper ul li:hover,
.widget-ajax-wrapper ul li:hover,
#page .widget-area .widget .widget-ajax-wrapper ul li.current,
.widget-ajax-wrapper ul li.current,
.ajax-cats li:hover,
.ajax-cats li.current {
	background: #000;
	color: #fff;
	cursor: pointer;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.ajax-cats li.current {
	cursor: auto;
	position: relative;
}

.ajax-cats li.current {
	text-decoration: underline;
}

/* hide */
.invisible-slide {
	display: none;
	-webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.ajax-content {
	-webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.flex-wrapper {
	-webkit-perspective: 450px; /* Chrome, Safari, Opera */
    perspective: 450px;
}

.hide-slide {
    -ms-transform: translate(-20px, 20px); /* IE 9 */
    -webkit-transform: translate(-20px, 20px); /* Chrome, Safari, Opera */
    transform: translate(-20px, 20px);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-1 {
    -ms-transform: translate(-20px, 20px); /* IE 9 */
    -webkit-transform: translate(-20px, 20px); /* Chrome, Safari, Opera */
    transform: translate(-20px, 20px);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-2 {
    -ms-transform: rotateY(180deg) translate(200px, -200px) scale(0.2,0.2);
    -webkit-transform: rotateY(180deg) translate(200px, -200px) scale(0.2,0.2);
    transform: rotateY(180deg) translate(200px, -200px) scale(0.2,0.2);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-3 {
    -ms-transform: scale(90,90); /* IE 9 */
    -webkit-transform: scale(90,90); /* Chrome, Safari, Opera */
    transform: scale(90,90);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-3 {
    -ms-transform: scale(90,0); /* IE 9 */
    -webkit-transform: scale(90,0); /* Chrome, Safari, Opera */
    transform: scale(90,0);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-4 {
    -ms-transform: scale(0,10); /* IE 9 */
    -webkit-transform: scale(0,10); /* Chrome, Safari, Opera */
    transform: scale(0,10);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-5 {
    -ms-transform: scaleX(1.5); /* IE 9 */
    -webkit-transform: scaleX(1.5); /* Chrome, Safari, Opera */
    transform: scaleX(1.5);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-6 {
    -ms-transform: scale(0,0) translate(-200px, 200px); /* IE 9 */
    -webkit-transform: scale(0,0) translate(-200px, 200px); /* Chrome, Safari, Opera */
    transform: scale(0.4,0.4) translate(-200px, 200px);

	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-7 {
    -ms-transform:  scale(0,0) translate(200px, -200px); /* IE 9 */
    -webkit-transform: scale(0,0) translate(200px, -200px); /* Chrome, Safari, Opera */
    transform: scale(0,0) translate(200px, -200px);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-8 {
    -ms-transform: rotate(90deg) skew(20deg, 20deg) scale(0.5,0.5); /* IE 9 */
    -webkit-transform: rotate(90deg) skew(20deg, 20deg) scale(0.5,0.5); /* Chrome, Safari, Opera */
    transform: rotate(90deg) skew(20deg, 20deg) scale(0.5,0.5);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-9 {
    -ms-transform: rotate(-360deg) scale(0.1,0.1); /* IE 9 */
    -webkit-transform:rotate(-360deg) scale(0.1,0.1); /* Chrome, Safari, Opera */
    transform: rotate(-360deg) scale(0.1,0.1);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-10 {
    -ms-transform: rotateX(30deg) rotateY(30deg); /* IE 9 */
    -webkit-transform: rotateX(30deg) rotateY(30deg); /* Chrome, Safari, Opera */
    transform: rotateX(30deg) rotateY(30deg);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-11 {
    -ms-transform: scale(0,0); /* IE 9 */
    -webkit-transform: scale(0,0); /* Chrome, Safari, Opera */
    transform: scale(0,0);
	
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.display-effect-12 {
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

/* ajax see more button */
.see-more-wrap {
	display: -webkit-box;     
	display: -moz-box;        
	display: -ms-flexbox;     
	display: -webkit-flex;
	display: flex;            
	-webkit-flex-flow: wrap;
	-ms-flex-flow: wrap;
	flex-flow: wrap;
	justify-content: space-between;
	width: 100%;
}

.see-the-archives,
.see-more {
	display: inline-block;
	font-size: 10px;
	opacity: 1;
	padding: 20px;
	position: relative;
	text-transform: uppercase;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.see-the-archives {
	padding-left: 20px;
}

.see-the-archive-link:after,
.see-more:after {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 16px/1 'Genericons';
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
	right: 0;
	position: absolute;
	top: 20px;
}

.see-the-archive-link:after {
	content: '\f104';
	font-size: 10px;
	left: 5px;
	right: auto;
	top: 23px;
	vertical-align: bottom;
}

.see-more:after {
	content: '\f431';
}

.see-the-archives:hover,
.see-more:hover {
	cursor: pointer;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.see-the-archive-link {
	display: none;
}

.see-the-archive-link.visible {
	display: inline-block;
}

.see-more:hover:after {
	font: normal 24px/1 'Genericons';
	right: -5px;
	top: 25px;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.see-more.load:after {
	content: '\f303';
}

/* inactive */
.see-more.hide-button:hover {
	cursor: auto;
}

.hide-button {
	display: none;
	opacity: 0;
	-webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

/* entry-meta */
.ajax-entry-meta {
	display: inline-block;
}
.sep.genericon:before,
.sep:before {
	content: '|';
}

.comments-link.sep:before,
.edit-link.sep:before {
	padding: 0 5px 0 0;
}

.edit-link {
	position: relative;
	z-index: 10;
}

/* pagination */
.paging-navigation {
	display: -webkit-box;     
	display: -moz-box;        
	display: -ms-flexbox;     
	display: -webkit-flex;
	display: flex;            
	-webkit-flex-flow: wrap;
	-ms-flex-flow: wrap;
	flex-flow: wrap;
	
	justify-content: flex-end;
	
	margin: 20px;
	width: 100%;
}

.navigation.paging-navigation {
	text-align: center;
}

#page .page-numbers {
	background: #bbb;
	color: #fff;
}

#page .prev.page-numbers:hover,
#page .next.page-numbers:hover,
#page .page-numbers:hover {
	background: #666;
	text-decoration: none;
}

#page .page-numbers.current {
	background: #999;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#page .prev.page-numbers,
#page .next.page-numbers {
	background: #999;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 20px;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.pagination.loop-pagination {
	padding: 40px 20px;
}

/* woo-shop */

.product-price {
	margin-top: -5px;
}

@media screen and (max-width: 580px) {

	.widget-flex-2  .flex-wrapper .ajax-content {
		border-right: none;	
	}

}

@media screen and (min-width: 580px) {
	a.read-more:before {
		vertical-align: top;	
	}
	.ajax-content {
		width: 50%;
	}
	.flex-wrapper { 
		-webkit-flex-flow: nowrap;
		-ms-flex-flow: nowrap;
		flex-flow: nowrap;
	}
	
	.widget-flex-2  .flex-wrapper .ajax-content:last-child {
		border-right: none;	
	}
	.widget-flex-2  .flex-wrapper:not(.invisible-slide):nth-child(2) .ajax-content {
		border-top: 1px solid #ccc;	
	}
	
}

@media screen and (min-width: 580px) {

	/* inactive */
	.hide-button {
		display: block;
		opacity: 0;
		-webkit-transition: all 0.8s ease-in-out;
		transition: all 0.8s ease-in-out;
	}
	
	/* columns */
	.widget-flex-4 .flex-wrapper,
	.widget-flex-2 .flex-wrapper {
		width: 100%;
	}
	
	.widget-flex-6 .flex-wrapper,
	.widget-flex-8 .flex-wrapper {
		width: 50%;
	}
	
	.ajax-content.empty {
		display: block;
	}
	/* categories */
	.ajax-cats {
		margin: 0;
		padding: 20px 10px;
	}

	.widget .widget-ajax-wrapper ul > li,
	.widget-ajax-wrapper ul li,
	.ajax-cats li {
		font-size: 14px;
		font-weight: bold;
		margin: 10px 0;
		padding: 10px;
	}
	
	.see-the-archives,
	.see-more {
		font-size: 16px;
	}
	
	.see-the-archive-link:after {
		font-size: 16px;
		left: 0;
	}
	
}

@media screen and (min-width: 960px) {

	/* columns */
	.widget-flex-8 .flex-wrapper {
		width: 25%;
	}
	.widget-flex-6 .flex-wrapper {
		width: 33.3333%;
	}
	.widget-flex-4 .flex-wrapper {
		width: 50%;
	}
	.widget-flex-2 .flex-wrapper {
		width: 100%;
	}
	
	/* border */
	.widget-flex-2  .flex-wrapper .ajax-content:last-child {
		border-right: none;	
	}
	
	.widget-flex-4  .flex-wrapper:nth-child(2n + 1) .ajax-content:last-child {
		border-right-width: 0;	
	}

	.widget-flex-4  .flex-wrapper:not(.invisible-slide):nth-child(2) .ajax-content,
	.widget-flex-4  .flex-wrapper:not(.invisible-slide):nth-child(3) .ajax-content {
		border-top: 1px solid #ccc;	
	}
	
	.widget-flex-6  .flex-wrapper:nth-child(3n + 1) .ajax-content:last-child {
		border-right-width: 0;	
	}
	
	.widget-flex-6  .flex-wrapper:not(.invisible-slide):nth-child(2) .ajax-content,
	.widget-flex-6  .flex-wrapper:not(.invisible-slide):nth-child(3) .ajax-content,
	.widget-flex-6  .flex-wrapper:not(.invisible-slide):nth-child(4) .ajax-content {
		border-top: 1px solid #ccc;	
	}
	
	.flex-wrapper .ajax-content {
		border-top: 1px solid #ccc;	
	}
	
	.widget-flex-8  .flex-wrapper:nth-child(4n + 1) .ajax-content:last-child {
		border-right-width: none;	
	}
	
	.widget-flex-8  .flex-wrapper:not(.invisible-slide):nth-child(2) .ajax-content,
	.widget-flex-8  .flex-wrapper:not(.invisible-slide):nth-child(3) .ajax-content,
	.widget-flex-8  .flex-wrapper:not(.invisible-slide):nth-child(4) .ajax-content,
	.widget-flex-8  .flex-wrapper:not(.invisible-slide):nth-child(5) .ajax-content {
		border-top: 1px solid #ccc;	
	}
	
	.fixed-post h1 {
		font-size: 36px;
	}
	
	/* Lightbox */
	.fixed-post.lightbox-side {
		display: -webkit-box;     
		display: -moz-box;        
		display: -ms-flexbox;     
		display: -webkit-flex;
		display: flex;            
	}

	.fixed-post.lightbox-side .fixed-post-content {
		padding-left: 20px;
		width: 50%;
	}

	.fixed-post.lightbox-side h1 {
		margin-top: 0;
	}

	.fixed-post.lightbox-side .fixed-image {
		width: 50%;
	}

	
}

.flex-wrapper.invisible-slide {
	width: auto;
}

#page .pagination {
	border: none;
}