﻿/* DOMINO Kursprogramm / news.xhtml */

#page{
    background:
        radial-gradient(circle at 12% 8%, rgba(217,167,24,.08), transparent 25%),
        radial-gradient(circle at 88% 12%, rgba(58,145,189,.08), transparent 28%),
        #fffdf8;
    padding:54px 48px 70px;
}

#page .section-heading{
    margin:0 auto 28px;
    max-width:1180px;
    text-align:left;
}

#page .section-heading h2{
    color:#3a82ad;
    font-size:42px;
    line-height:1.05;
    margin-bottom:12px;
}

#page .section-heading .hr{

    max-width:96px;
    border-top-width:4px;
}

#mainbody-general.grey-bg{
    background:transparent;
}

#mainbody-general .wrap{
    max-width:1180px;
    margin:0 auto;
}

.kursprogramm-intro{
    margin:0 0 30px;
    padding:28px 32px 28px 36px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:center;
    background:#fff;
    border:1px solid rgba(31,38,48,.08);
    border-left:8px solid #3a82ad;
    border-radius:14px;
    box-shadow:0 10px 26px rgba(22,39,64,.11);
}

.kursprogramm-intro-text{
    max-width:850px;
}

.kursprogramm-intro p{
    margin:0 0 12px;
    color:#4f5964;
    font-size:17px;
    line-height:1.65;
}

.kursprogramm-intro p:last-child{
    margin-bottom:0;
}

.kursprogramm-intro .kursprogramm-lead{
    color:#1f2630;
    font-size:20px;
    line-height:1.55;
    font-weight:700;
}

.kursprogramm-download{
    justify-self:end;
    display:inline-flex;
    align-items:center;
    min-height:48px;
    padding:13px 20px;
    border-radius:24px 10px;
    background:#a73f28;
    color:#fff;
    font-family:Baloo, Arial, Helvetica, sans-serif;
    font-size:15px;
    font-weight:900;
    line-height:1.1;
    text-align:center;
    text-decoration:none;
    box-shadow:0 7px 18px rgba(159,36,32,.18);
}

.kursprogramm-download:hover,
.kursprogramm-download:focus{
    background:#e0b220;
    color:#fff;
    text-decoration:none;
}

#termineTable,
#termineTable .ui-datatable-tablewrapper,
#termineTable table,
#termineTable tbody,
#termineTable tr,
#termineTable td{
    display:block;
    width:100%;
    border:0!important;
    background:transparent!important;
}

#termineTable table{
    border-collapse:separate;
    border-spacing:0;
}

#termineTable thead{
    display:block;
    margin-bottom:22px;
}

#termineTable thead tr,
#termineTable thead th{
    display:block;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

#termineTable .ui-column-title{
    display:none;
}

#termineTable .ui-column-customfilter{
    display:flex;
    justify-content:flex-end;
}

#termineTable select,
#termineTable input.ui-column-filter{
    min-width:260px;
    height:48px;
    border:2px solid rgba(58,145,189,.25);
    border-radius:15px;
    background:#fff;
    color:#1f2630;
    font-size:16px;
    padding:0 16px;
    box-shadow:0 6px 18px rgba(31,38,48,.08);
    outline:none;
}

#termineTable tbody > tr{
    margin-bottom:24px;
}

#termineTable tbody > tr > td{
    padding:0!important;
}

#termineTable tbody > tr > td > .row:first-of-type{
    margin:0;
    padding:22px;
    display:grid;
    grid-template-columns:154px 1fr;
    gap:24px;
    background:#fff;
    border:1px solid rgba(31,38,48,.08);
    border-radius:14px;
    box-shadow:0 8px 22px rgba(22,39,64,.12);
    overflow:hidden;
    position:relative;
}

#termineTable tbody > tr > td > .row:first-of-type:before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:7px;
    background:linear-gradient(180deg,#a73f28,#e0b220);
}

#termineTable .col-md-2,
#termineTable .col-md-10{
    width:auto;
    max-width:none;
    flex:none;
    padding:0;
}

#termineTable .col-md-2[style]{
    margin-top:0!important;
}

.news_list{
    min-height:154px;
    padding:18px 10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    border-radius:14px;
    background:linear-gradient(180deg,#fffaf0,#fff);
    border:1px solid rgba(217,167,24,.28);
    box-shadow:inset 0 7px 14px rgba(255,255,255,.75);
}

.news_list h3,
.news_list h4,
.news_list h5{
    margin:0;
    font-family:Baloo, Arial, Helvetica, sans-serif;
    color:#1f2630;
}

.news_list h3:first-child{
    color:#a73f28;
    font-size:15px;
    line-height:1.1;
    text-transform:uppercase;
    letter-spacing:.5px;
    font-weight:900;
    margin-bottom:8px;
}

.news_list h3:nth-child(2){
    color:#3a82ad;
    font-family:Baloo, Arial, Helvetica, sans-serif;
    font-size:31px;
    line-height:1;
}

.news_list h4{
    color:#4f7e68;
    font-size:17px;
    font-weight:900;
    margin-top:4px;
}

.news_list h5{
    margin-top:12px;
    padding:7px 10px;
    border-radius:999px;
    background:#3a82ad;
    color:#fff;
    font-size:13px;
    font-weight:900;
    line-height:1;
}

.news_text{
    margin-bottom:8px;
}

.news_text .my_gran{
    margin:0;
    color:#4f7e68;
    font-size:14px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.4px;
}

#termineTable h2.checklist{
    margin:0 0 18px;
    color:#1f2630;
    font-family:Baloo, Arial, Helvetica, sans-serif;
    font-size:30px;
    line-height:1.16;
}

#termineTable h2.checklist:before{
    content:"";
    display:inline-block;
    width:12px;
    height:12px;
    margin-right:10px;
    border-radius:50%;
    background:#e0b220;
    vertical-align:middle;
}

#termineTable .col-md-10 > .row{
    margin:0;
    display:grid;
    grid-template-columns:210px minmax(0,1fr) 210px;
    gap:20px;
    align-items:start;
}

#termineTable .col,
#termineTable [class*="col-"]{
    width:auto;
    max-width:none;
    flex:none;
    padding:0;
}

#termineTable img{
    max-width:100%;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(31,38,48,.13);
}

#termineTable .flex-box{
    display:block;
}

#termineTable .flex-inner{
    display:block;
}

#termineTable .stitle{
    color:#5d6570;
    font-size:16px;
    line-height:1.65;
    max-height:210px;
    overflow:auto;
    padding-right:8px;
}

#termineTable .col-md-3 h4{
    margin:0 0 10px;
    padding:12px 14px;
    border-radius:10px;
    background:#fffaf0;
    border:1px solid rgba(217,167,24,.25);
    color:#1f2630;
    font-family:Baloo, Arial, Helvetica, sans-serif;
    font-size:14px;
    line-height:1.35;
    font-weight:900;
}

#termineTable .pull-right{
    grid-column:1 / -1;
    justify-self:end;
    margin:6px 0 0!important;
    padding:0!important;
    width:auto;
}

#termineTable .group-btn input.btn,
#termineTable input[type="button"].btn{
    font-family:Baloo, Arial, Helvetica, sans-serif!important;
    text-transform:uppercase;
    letter-spacing:.5px;
    border-radius:25px 10px;
    padding:14px 24px;
    color:#fff!important;
    background:#a73f28;
    border:0;
    box-shadow:none;
}

#termineTable .group-btn input.btn:hover,
#termineTable input[type="button"].btn:hover{
    background:#e0b220;
}

#termineTable tbody > tr > td > .row[style],
#termineTable tbody > tr > td > div[style*="min-height"]{
    display:none;
}



#termineTable .ui-column-customfilter {
  text-align: right;
  margin-bottom: 24px;
}

#termineTable .ui-column-customfilter select {
  min-width: 230px;
  height: 48px;
  padding: 0 46px 0 20px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  font-family: "Baloo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  outline: none;
}

#termineTable .ui-column-customfilter select:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

#termineTable .ui-column-customfilter select:focus {
  box-shadow:
    0 0 0 3px rgba(217, 167, 24, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.14);
}

#termineTable .ui-column-customfilter select,
#termineTable .ui-column-customfilter select option {
  font-family: "Baloo", sans-serif;
  font-size: 15px;
  font-weight: 700;
}













@media(max-width:1100px){
    #page{
        padding-left:28px;
        padding-right:28px;
    }

    #termineTable .col-md-10 > .row{
        grid-template-columns:180px minmax(0,1fr);
    }

    #termineTable .col-md-10 > .row > .col-md-3:last-of-type{
        grid-column:1 / -1;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
}

@media(max-width:760px){
    #page{
        padding:36px 18px 54px;
    }

    #page .section-heading h2{
        font-size:34px;
    }

    #termineTable .ui-column-customfilter{
        justify-content:stretch;
    }

    .kursprogramm-intro{
        padding:22px 22px 24px;
        grid-template-columns:1fr;
        gap:18px;
        border-left-width:0;
        border-top:7px solid #3a82ad;
    }

    .kursprogramm-intro .kursprogramm-lead{
        font-size:18px;
    }

    .kursprogramm-download{
        justify-self:stretch;
        justify-content:center;
    }

    #termineTable select,
    #termineTable input.ui-column-filter{
        width:100%;
        min-width:0;
    }

    #termineTable tbody > tr > td > .row:first-of-type{
        grid-template-columns:1fr;
        padding:18px;
    }

    .news_list{
        min-height:auto;
    }

    #termineTable .col-md-10 > .row{
        grid-template-columns:1fr;
    }

    #termineTable .col-md-10 > .row > .col-md-3:last-of-type{
        grid-template-columns:1fr;
    }

    #termineTable h2.checklist{
        font-size:25px;
    }

    #termineTable .pull-right{
        justify-self:stretch;
    }

    #termineTable .group-btn input.btn,
    #termineTable input[type="button"].btn{
        width:100%;
    }
}

#list_form {
  scroll-margin-top: 95px;
}

.kurs-kategorie-icon {
  width: 300px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.kurs-kategorie-card {
  width: 100%;
  min-height: 250px;
  text-align: left;
}

@media(max-width:760px) {
  .kurs-kategorie-icon {
    width: 100%;
    min-width: 0;
  }

  #termineTable th.ui-filter-column {
    align-items: stretch;
    flex-direction: column;
  }

  #termineTable th.ui-filter-column .ui-column-customfilter {
    width: 100%;
  }
}

#termineTable th.ui-filter-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#termineTable th.ui-filter-column .ui-column-title {
  display: block;
}

#termineTable th.ui-filter-column .ui-column-customfilter {
  margin-left: auto;
}
