._publications {
width:100%;
box-sizing:border-box;
display:block;
margin:auto;
}
._publications td {
width:25%;
min-width:23vw;
/*min-width:min(23vw,295px);
max-width:295px;*/
padding:2vw;
box-sizing:border-box;
text-align:center;
vertical-align:top;
}
._publications td img {
/*width:100%;
width:calc(100% - 20px);
max-width:100%;*/
max-width:19vw !important;
max-width:min(19vw,228px) !important;
max-height:19vw !important;
max-height:min(19vw,228px) !important;
box-sizing:border-box;
border:1px solid #ddd;
display:block;
margin:auto;
}

._publications,._publications td,._publications td a {
color:#666;
font-size:calc(13px + (20 - 13) * ((100vw - 400px) /(1920 - 400)));
line-height:calc(13px + (24 - 13) * ((100vw - 400px) /(1920 - 400))) !important;
outline:none;
}

._publications td a:hover img {
border:1px solid #d4d4d4;
box-shadow:0px 0px 70px rgba(0,0,0,0.13);
transform: scale(1.02, 1.02);
}

._publications td a:hover {
color:#b62840;
text-decoration:none;
}

@media screen and (min-width: 1180px) {
._publications td {
min-width:295px;
max-width:295px !important;
}
._publications td img {
max-width:228px !important;
max-height:228px !important;
}
._publications td a {
font-size:20px;
line-height:26px;
}
}

@media screen and (max-width: 600px) {
._publications td {
width:50%;
padding:2vw;
display:inline-block;
}
._publications td img {
max-width:38vw !important;
max-height:38vw !important;
}

}


/**** Archiwum ****/

.pub_1:first-child, table[width='100%'] tr td div {
display:none;
}

table[width='100%'] td.pub_2 {
white-space:nowrap;
}

table[width='100%'] table[width='100%'] {
margin:5px 0;
}

@media(max-width:670px)
{
table[width='100%'] td.pub_2 {
display:block;
}
}
