﻿   /* ---------------------------------------------------------------------
   MODUL: Kategorien auf der Startseite anzeigen (c_list Modul)
   Anpassung an modified 1.x: sgei
   Anpassung an modified 2.x: |Alex|
   Quelle: xtc-load.de - Autor: unbekannt
   --------------------------------------------------------------------- */

.cat_show1 {
  margin: 10px -5px 0px -5px;
}
.cat_show2 {
  float: left;
  width: 20%;
  height: auto;
  padding: 0px 2px;
  margin: 0px 0px 4px 0px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (max-width: 1025px) {
  .cat_show1 .cat_show2 { width:20%;}
}
@media only screen and (max-width: 885px) {
  .cat_show1 .cat_show2 { width:25%;}
}
@media only screen and (max-width: 620px) {
  .cat_show1 .cat_show2 { width:33.3333%;}
}
@media only screen and (max-width: 490px) {
  .cat_show1 .cat_show2 { width:50%;}
}
@media screen and (max-width: 300px) {
  .cat_show1 .cat_show2 { width:100%;}
}
.cat_show2_inner {
  border: 1px solid #ddd;
  padding: 0px 5px 0px 5px;
  min-height: 90px;
  background-color: #eee;
}
.cat_show_name {
  padding: 5px 0;
  height: 30px;
  overflow: hidden;
  margin: 0px -5px 0 -5px;
  background: #bbb;
}
.cat_show_name h2 {
  margin: 2px 0px 2px 0px;
  text-align:center;
  border-width: 0px 0px 0px 0px;
}
.cat_show_name h2 a, .cat_show_name h2 a:link, .cat_show_name h2 a:visited, .cat_show_name h2 a:active {
  color:#444;
  cursor:pointer;
}
.cat_show_name h2 a {
  text-decoration:none;
}
.cat_show_text {
  font-size: 13px;
  line-height: 17px;
  text-align:center;
  padding: 5px 0px 5px 0px;
  height:100px;
  overflow:hidden;
}
.cat_show_text a, .cat_show_text a:link, .cat_show_text a:visited, .cat_show_text a:active {
  color:#444;
  cursor:pointer;
}
.cat_show_text a {
  text-decoration:none;
}
.cat_show_image {
  margin: 4px 0 4px 0;
  text-align: center;
  width: 100%;
  height: 80px;
  position: relative;
}
.cat_show_image img {
  position: absolute;
  margin: auto;
  top: 0px;
  bottom: 0px;
  left: -2px;
  right: 0px;
  background-color: #FFFFFF;
  max-height: 80px;
  max-width: 100%;
  border: 1px solid #ddd;
}
.cat_clear {
  clear:both;
  height:0;
  margin:0;
  padding:0;
  font-size:0;
}
