/* cassiopeia */
:root{
  --cassiopeia-color-primary:#a5a2a2;
  --cassiopeia-color-link:#454545;
  --cassiopeia-color-hover:#d5d2d2;
  --body-color: #454545;
}


h1, .h1 {
  font-size: 24px !important;
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size:24px;
  }
}

h2, .h2 {
  font-size: 20px !important;
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size:20px;
  }
}

h3, .h3 {
  font-size: 18px !important;
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 16px;
  }
}

h4, .h4 {
  font-size: 16px !important;
}
@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 14px
  }
}

/* slideshow-container */
#slideshow-container img {
	border-radius: 0.5em;
	border: 3px solid lightgray;
    box-shadow: 2px 2px 1px 0 gray;
}

/* weiterlesen */
p.readmore a {
	background:#112855; 
	color:#fff;
  	text-shadow:none;
}
p.readmore a:hover {
	background:#424077; 
	color:#fff;
  	text-shadow:none;
}

/* calendar */


/* mod_participation */
td.part, th.part {
    border: 1px solid;
    padding: 5px;
}
/* basic styling */
*.part {
  font-size: 1em;
  font-family: Arial, sans-serif;
  line-height: 100%;
  box-sizing:border-box;
}

/* remove standard-styles */
input[type='checkbox'].part,
input[type='radio'].part {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border:none;
  border-radius: 0;
  font-size: 1em;
  width: 100%;
}  



/* graceful degradation for ie8 */
input[type='checkbox'].part,
input[type='radio'].part {
  width:auto;
  float:left;
  margin-right: 1em;
  background:transparent;
  border:none;
}


/* hide standard inputs */
input[type='checkbox'].part:checked,
input[type='checkbox'].part:not(:checked),
input[type='radio'].part:checked,
input[type='radio'].part:not(:checked) {
  background: transparent;
  position: relative;
  visibility: hidden;
  margin:0;
  padding:0;
}

input[type='checkbox'].part + label,
input[type='radio'].part + label {
  cursor: pointer;
}

/* add custom inputs with ::before */
input[type='checkbox'].part:checked + label::before, 
input[type='checkbox'].part:not(:checked) + label::before,
input[type='radio'].part:checked + label::before,
input[type='radio'].part:not(:checked) + label::before {
    content:' ';
    display:inline-block;
    width: 18px;
    height:18px;
    position: relative;
    top:3px;
	left:10px;
    border: 1px solid #bbb;
    background: white;
    margin-right: 1em;
    box-shadow: inset 0 1px 1px 0 rgba(0,0,0,.1);
}

input[type='radio'].part:checked + label::before,
input[type='radio'].part:not(:checked) + label::before {
  border-radius: 30px;
}

input[type='checkbox'].part:hover  + label::before,
input[type='radio'].part:hover  + label::before {
  background:#ddd;
  box-shadow: inset 0 0 0 2px white;
}
  
input[type='checkbox'].part:checked  + label::before {
  background-image: url("https://abfrage.timoweisz.org/images/buttons/checked.png"); 
}

input[type='radio'].part:checked  + label::before {
  background: #0088cc;
  box-shadow: inset 0 0 0 2px white;
}
