

.frontpage-obrabiarka,
.frontpage-domain{
	padding:none;
}
.frontpage-obrabiarka .boxgrid,
.frontpage-domain .boxgrid{
    max-width: 500px !important;
	width: auto !important;
}

.termpage-new .boxgrid{
    max-width: 250px !important;
	width: auto !important;
}

.frontpage .boxgrid{
    width: 300px !important;
    height: 200px !important;
    border: 1px solid #EEEEEE !important;
}
.frontpage .viewport-wrapper{
	border: 4px solid #EEEEEE;
	margin:10px;
	padding:10px 10px 0;
}
.frontpage .title-wrapper{
    height: 69px;
    display: flex;
    align-items: center;
    text-align: center;
}
.frontpage h2{
	text-transform: uppercase !important;
	margin: 15px 0;
	color:#000; 
	font:15pt Arial, sans-serif; 
	font-weight: bold;  
	background:none !important;
	border: none !important;
	padding: 0 !important;
	text-shadow: none;
	margin: 0 auto;
}
.frontpage .decore{
    width: 37px;
    height: 16px;
    background: #000;
    position: absolute;
    right: 17px;
    bottom: 20px;
}

.frontpage2 .boxgrid{
    width: 300px !important;
    height: 200px !important;
    border: 1px solid #EEEEEE !important;
}
.frontpage2 .viewport-wrapper{
	border: 4px solid #EEEEEE;
	margin:10px;
	padding:10px 10px 0;
}
.frontpage2 .title-wrapper{
    height: 55px;
    /* display: flex; */
    align-items: center;
    position: relative;
    text-align: center;
    text-align: center;
    /* height: 50px; */
    margin: 0 auto;
}
.frontpage2 h2{
    text-transform: uppercase !important;
    margin: 15px 0;
    color: #000;
    font: 15pt Arial, sans-serif;
    font-weight: bold;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    text-shadow: none;
    margin: 0 auto;
    letter-spacing: +1pt;
    text-align: center !important;
    width: 300px;
    /* vertical-align: middle; */
    margin-top: 10px;
}

.frontpage2 .decore{
    width: 37px;
    height: 16px;
    background: #000;
    position: absolute;
    right: 18px;
    bottom: 15px;
    margin-bottom: 10px;
    /* float: right; */
}


/* letter-spacing:-1px;  margin: 0 auto; */
.boxgrid img {
	position: relative !important;
}	
.start-sortable .item{
	display: inline-block  !important;
	float:left !important;
	min-height: 0 !important;
	text-align: center !important;
}

.node-taxonomy2 .viewport-wrapper,
.node-taxonomy .viewport-wrapper{
    text-align: center;
    display: inline-block;
    margin: 10px 0 !important;
}

#frontpage-obrabiarka .viewport-wrapper {

}

.node-taxonomy2 .viewport {
    border: 3px solid #eee;
    float: none;
    height: 200px; /*299 */
    margin: 0 9px 9px 0;
    overflow: hidden;
    position: relative;
    width: 230px;  /*450 */
    margin: 20px auto;
}
/*
#frontpage-obrabiarka .boxgrid {
    width: 480px !important;	
    height: 250px !important;
}
*/
#frontpage-domain .boxgrid{
    width: 500px !important;		
    height: 250px !important;	
}

#frontpage-domain .viewport-wrapper{

}

/* 

This is so that the 2nd thumbnail in each row fits snugly. You will want to add a similar
   class to the last thumbnail in each row to get rid of the margin-right. */
.no-margin {
    margin-right: 0;
}

/* --- Link configuration that contains the image and label ----------------------------- */
.node-taxonomy2 .viewport a {
    display: block;
    position: relative;
}

.node-taxonomy2 .viewport a img {
    height: 250px;   /*332 */
    left: -20px;
    position: relative;
    top: -20px;
    width: 280px;   /* 500 */
}

/* --- Label configuration -------------------------------------------------------------- */
.node-taxonomy2 .viewport a span {
    display: none;
    font-size: 1.7em;
    font-weight: bold;
    height: 100%;
    padding-top: 50px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    width: 100%;
    z-index: 100;
}
.node-taxonomy2 .viewport a span em {
        display: block;
        font-size: 0.6em;
        font-weight: normal;
    }

/* --- Dark hover background ------------------------------------------------------------ */
.dark-background {
    background-color: rgba(15, 15, 15, 0.6);
    color: #fff;
    text-shadow: #000 0px 0px 20px;
}
    .dark-background em {
        color: #ccc;
    }
  
.node-taxonomy2	a{ 
	color:#C8DCE5 !important;
	text-shadow: #000 0px 0px 20px;
	color: #fff;
	text-decoration:none !important;
}
.node-taxonomy2 h4{ 
	margin: 5px 1px 5px 1px;
	color:#FFF; 
	font:15pt Arial, sans-serif; 
	letter-spacing:-1px; 
	font-weight: bold;  
	background:none !important;
}
#content  .frontpage-obrabiarka.node-taxonomy2{
	min-width: 1050px;
}
#content  .frontpage-obrabiarka.node-taxonomy2 .masonry-item{
    padding: 0 20px;
}	
#content .node-taxonomy2 .masonry-item{
	float: left !important;
}

.node-taxonomy2 .masonry-item{
    display: block !important;
    padding: 0;
    text-align: center;
}		
.boxgrid{ 
		width: 250px; 
		height: 250px; 		
		margin: 0 !important;
		/*
		margin:10px auto; 
		*/
		background:#161613; 
		border: 3px solid #EEEEEE; 
		overflow: hidden; 
		position: relative; 
}
.boxgrid img{ 
	position: absolute; 
	top: 0; 
	left: 0; 
	border: 0; 
	width: 100% !important;
	height:100% !important;
}
.boxgrid em{ 
display: none;	
padding: 5px 1px 5px 1px; 
color:#afafaf; 
font-weight:bold; 
font:10pt "Lucida Grande", Arial, sans-serif; 
}
.boxcaption{ 
	float: left; 
	position: absolute; 
	background: rgba(15, 15, 15, 0.7); 
	height: 110px; 
	width: 100%; 
	margin:0px;
}

.boxgrid .boxcaption {
 	left: 0;
 	top: 190px;
}   

#block-block-1 a{
	color: red !important;
}
select#edit-gid{
	min-height: 200px;
}