#content {
	opacity: 0;
	margin:0px -15px;
}

/**** Grid ****/

.grid-sizer { width: 50%; }
.box_first { width: 100%; }
.box1x1 { width: 50%; }
.box2x1 { width: 100%; }
.box2x2 { width: 100%; }

/**** ----- ****/

.box, .box1x1, .box2x1, .box2x2 {

}

.box .text {
	padding: 10px;		
}

.box a {
	display:block;
	/* width: 100.5% overlap gaps */
}

.box a img {
	width: 100%;
}

/**** firstblock ****/

.firstblock {
	background-color: #FFFFFF;	
}

.box .text.firstblock {
    padding:15px;
}

.firstblock h1:first-child {
	font-size: 24px;
	margin-top: 0px;
	margin-bottom:8px;
	font-weight: 500;
}

.firstblock, .firstblock li, .firstblock a {
	font-size: 14px;
}

.firstblock ul {
	padding:0px;
	list-style: none;
}

.firstblock strong {font-size: 16px;}

.box .firstblock a {
	display: inline;
}


/**** Portfolio ****/

a.item {
	display: block;	
}

.allowhover span.item-mask {
	background-color: #000;
	position: absolute;
	left: 0px;
	top: 0px;	
	display: none;
	filter:alpha(opacity=80);
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);			
	opacity: .8;
	width:100%;
	height:100%;
}

.allowhover span.description {
	margin: 20px;
	display: none;	
	position: absolute;
	left: 0px;
	top: 0px;
	z-index:100;	
	color: #FFF;
}

a:hover.allowhover span.item-mask, a:hover.allowhover span.description {display: block;}
.touchevents a:hover.allowhover span.item-mask, .touchevents a:hover.allowhover span.description {display: none;}

/* mouse, touchpad stilys*/
/*
ie11 consider this not fine
@media (pointer: fine) {	
	a:hover.allowhover span.item-mask, a:hover.allowhover span.description {display: block;}
}
*/


/**** news ****/

.news {
	background-color:#000;
	color:#FFF;
}

.news .header {
	margin-bottom: 10px;
	padding-bottom: 2px;
	font-weight: 500;
	font-size: 15px;
}

.news .date {
	display:block;
	font-size: 13px;
}
.news .name {
	display:block;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color:#FFF;
}

.news a:hover {
	text-decoration: underline;
}

.news .description {
	display:block;
	font-size: 13px;
}

/**** twitter ****/

.twitter {
	background-color:#9FF;
	background-image: url(/local/templates/bootstrap4/components/kirill/news.list/mixed/images/bkgrd_twitter.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
}

.twitter .text {
	padding-left: 53%;
	padding-top: 5%;
}

.twitter .text, .twitter .text a {
	color: #FFF;
	font-size: 12px;
	text-decoration: none;
}

.twitter .text a:hover {
	text-decoration: underline;
}



/**** Infinite Scroll ****/

#infscr-loading {
    background: none repeat scroll 0 0 #000000;
    border-radius: 10px 10px 10px 10px;
    bottom: 40px;
    color: #FFFFFF;
    left: 45%;
    opacity: 0.8;
    padding: 10px;
    position: fixed;
    text-align: center;
    width: 200px;
    z-index: 100;
}


/**** Grid ****/


@media (min-width: 576px) {	 
	.grid-sizer, .box { width: 25%; }
	.box_first { width: 50%; }
	.box1x1 { width: 25%; }
	.box2x1 { width: 50%; }
	.box2x2 { width: 50%; }	
}


@media (min-width: 768px) { }


@media (min-width: 992px) { }


@media (min-width: 1200px) { 
	.grid-sizer { width: 16.66666%; }
	.box_first { width: 33.33333%; }
	.box1x1 { width: 16.66666%;}
	.box2x1 { width: 33.33333%;}
	.box2x2 { width: 33.33333%;}		
}


@media (min-width: 1600px) { 
	/*	
	.grid-sizer { width: 192px; }
	.box_first { width: 384px; }
	.box1x1 { width: 192px;}
	.box2x1 { width: 384px;}
	.box2x2 { width: 384px;}
	*/

	.grid-sizer { width: 12.5%; }
	.box_first { width: 25%; }
	.box1x1 { width: 12.5%;}
	.box2x1 { width: 25%;}
	.box2x2 { width: 25%;}	

	#content {
		margin:0px;
	}
	.box .text.firstblock {
		padding-left:0px;
	}	
}


