.thw-widget * { box-sizing: border-box; }
.thw-widget a { text-decoration: none; }
.thw-widget { --gap:10px; --margin:10px; --padding:16px; }

.thw-row,.thw-center,.thw-bottom{
  margin:0 var(--margin) var(--margin);
  gap:var(--gap);
}

.thw-col,.thw-cell,.thw-box,.thw-top{
  padding:var(--padding);
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0px;
  color:#444;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  position:relative;
}

.thw-block-title{
  padding:6px 10px;
  margin-bottom:10px;
  text-align:center;
  font-weight:700;
}

.thw-center{
  display:grid;
  grid-template-columns:20% 1fr 20%;
  align-items:stretch;
}

.thw-bottom{ display:flex; flex-wrap:wrap; }
.thw-bottom>.thw-box{ flex:1 1 48%; min-height:0px; }

.thw-row.thw-three{ display:grid; grid-template-columns:repeat(3,1fr); }
.thw-row.thw-four{  display:grid; grid-template-columns:repeat(4,1fr); }
.thw-row.thw-five{ display:grid; grid-template-columns:repeat(5,1fr); }

@media (max-width:1000px){
  .thw-center{ grid-template-columns:1fr; }
  .thw-bottom{ flex-direction:column; }
  .thw-row.thw-three,
  .thw-row.thw-four,
  .thw-row.thw-five{ grid-template-columns:1fr; }
}

.thw-vertical-ticker-container{
  width:300px;
  height:150px;
  overflow:hidden;
  position:relative;
  padding:5px;
  font-family:Verdana,sans-serif;
  font-size:14px;
}

.thw-vertical-ticker{
  display:flex;
  flex-direction:column;
  animation:thw-scroll-up 89s linear infinite;
}

.thw-ticker-item{ padding:5px 0; color:#444; }

.thw-inline-box{
  display:flex;
  align-items:center;
  gap:5px;
}

.thw-bottom:empty { display: none; }

.thw-widget {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.thw-inline-box img{ width:32px; height:32px; }

@keyframes thw-scroll-up{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(-50%); }
}
