﻿/**********BASE**********/

html, body{
    font-size: 18px;
}

*{
    padding: 0;
    margin: 0;
    font-weight: normal;
}

body {
    font-family: "Source Sans Pro", sans-serif;
    background: #fff;
    background-image: url('./Pictures/CertifiedPartners/muster_hell.gif');
}

.t-row{
    max-width: 76.25rem;
    margin-left: auto;
    margin-right: auto;
}

.t-row > * {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
}

body{
    color: #212f62;
    text-decoration: none;
}

a{
    color: #3ebcc7;
}

.hidden{
    display: none;
}

table.list {
    margin: .25em 0;
}

table.list,
table.list th,
table.list td {
    border: none;
    padding: 0;
}

table.list td {
    padding-right: 1em;
}


/**********HEADER**********/

#t-header{
    position: absolute;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 5rem;
    background-color: rgba(255,255,255,0.8);
}

#t-header a{
    color: inherit;
    text-decoration: none;
}

#t-logo{
    display: inline-block;
    margin-top: 1rem;
}

#t-logo img{
    height: 3rem;
}

#back-to-temos{
    display: inline-block;
    float: right;
    margin-top: 3rem;
    padding-left: 1em;
    background-image: url(./Pictures/CertifiedPartners/arrow_back.png);
    background-repeat: no-repeat;
    background-position: center left;
}

@media screen and (max-width: 720px){
    
    #t-header{
        height: 4rem;
    }
    
    #t-logo{
        margin-top: 0.75rem;
    }
    
    #t-logo img{
        height: 2.5rem;
    }
    
    #back-to-temos{
        margin-top: 2.25rem;
    }
}

@media screen and (max-width: 480px){
    #back-to-temos{
        display: none;
    }
}


/**********CONTENT**********/

#t-content{
    background-color: rgba(255,255,255,0.7);
}

#list,
#details{
    padding-top: 3rem;
}

/*keyvisual*/

.keyvisual{
    position: relative;
    z-index: 8;
    height: 18.5rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.5rem;
}

.keyvisual h1{
    position: absolute;
    z-index: 8;
    bottom: 2.5rem;
    background-color: white;
    font-size: 2rem;
    text-transform: uppercase;
    padding: 0.25em 1em;
}

.cp-keyvisual{
    background-image: url(./Pictures/CertifiedPartners/keyvisual.jpg);
}

/*breadcrumb*/

#breadcrumb a{
    color: inherit;
    text-decoration: none;
}

#breadcrumb li{
    list-style: none;
    display: inline-block;
}

#breadcrumb li:after{
	content: '';
	height: 1rem;
	width: 1px;
	background: #212f62;
	display: inline-block;
	margin: 0 0.5rem;
	position: relative;
	top: 5px;
}

#breadcrumb li:last-of-type:after{
    display: none;
}

@media screen and (max-width: 720px){
    
    .keyvisual h1{
        font-size: 1.5rem;
    }
    
    .keyvisual{
        height: 15rem;
    }
}

/*fold*/
    
.foldable{
    position: relative;
}

.folds .folding-area{
    display: none;
}

.fold{
    position: absolute;
    right: 0em;
    height: 3em;
    width: 3em;
    top: 0em;
    cursor: pointer;
}

.fold2{
    cursor: pointer;
}

.fold:before,
.fold:after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    background-color: #212f62;
    width: 50%;
    height: 2px;
    left: 25%;
}

.folds .fold:before{
    transform: rotate(90deg);
}

.folds .header{
    border-bottom: none !important;
}


/**********SIDEBAR**********/

.sidebar-box{
    float: left;
    width: 15rem;
    margin-bottom: 2em;
    color: #fff
}

.sidebar-box > *{
    background-image: url('./Pictures/CertifiedPartners/muster_blau.gif');
    padding: 0 1em;
}

.sidebar-btns{
    background-image: unset;
    padding: 0;
}

.sidebar-box .sidebar-btns a{
    text-decoration: none;
    display: block;
    margin: 1.1rem 0;
    height: 2rem;
    line-height: 2rem;
    border-radius: 0.2em;
    border: 1px solid #212f62;
    color: #212f62;
    background-color: #fff;
    text-align: center;
}

.sidebar-box .sidebar-btns a:hover{
    color: #fff;
    background-color: #212f62;
}

.map-btns{
    position: fixed;
    bottom: 5.5rem;
    width: 15rem;
}

.sidebar-box a{
    color: inherit;
}

.folds #filter .folding-area{
    display: block;
}

.sidebar-box dl{
    padding: 0.5rem 1.1rem;
}

#t-filter.folds #filter .folding-area{
    display: none;
}

#t-filter{
    float: none;
    position: fixed;
    top: 6rem;
    left: 1rem;
    max-height: calc(100% - 16rem);
    overflow-x: hidden;
    overflow-y: auto;
}

#filter .folding-area{
    border-top: 1px solid #adb7d9;
}

#filter .fold{
    display: none;
}

#t-filter #filter .fold{
    display: block;
}

#filter h3{
    text-transform: uppercase;
}

#filter .fold:before,
#filter .fold:after{
    background-color: #fff;
}

#filter fieldset,
#filter > .header,
#filter > .footer{
    border: unset;
    padding: 1em 0;
}

#filter fieldset{
    border-bottom: 1px solid #adb7d9;
}


#filter label {
    display: block;
    font-size: 0.9em;
}

#filter input,
#filter select{
    height: 2em;
    padding: 0 1em;
    width: 100%;
    margin: 0.5em 0 1em;
    border-radius: 0.2em;
    border: none;
    background-color: #fff;
    font-size: 0.9em;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

#filter #f_legende input{
    height: auto;
} 

select::-ms-expand { /* for IE 11 */
    display: none;
}

#filter select{
    background-position: right 0.33em center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('Pictures/CertifiedPartners/arrow_2.png');
    background-repeat: no-repeat;
    }

optgroup{
    font-size: 0;
}

option{
    padding: 0.2em 1em;
    font-size: 0.9em;
}

#filter input[type="checkbox"]{
    width: auto;
}

#f_legende{
    margin-top: 1em;
}

#f_legende td{
    color: #adb7d9;
    font-size: 1em;
}

#f_legende td {
    padding: 0.2em 0;
    padding-right: 0.35em;
}

#f_legende td:last-of-type {
    padding-right: 0;
}

#f_legende img{
    height: 2em;
    width: auto;
}

#info-box{
    font-size: 0.9em;
    word-break: break-word;
}

#info-box dt{
    color: #adb7d9;
    margin-top: 0.75em;
}

#info-box dd{
    color: #fff;
    margin-bottom: 0.75em;
}

@media screen and (max-width: 1000px){
    .sidebar-box{
        width: 12rem;
        font-size: 0.9rem;
    }
    .map-btns{
        width: 12rem;
    }
}

@media screen and (max-width: 800px){
    #list .sidebar-box{
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }
    
    #filter .fold{
        display: block;
    }
    
    .folds #filter .folding-area{
        display: none;
    }
}

@media screen and (max-width: 600px){
    .sidebar-box{
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }
    
    #t-filter{
        width: auto;
        right: 1rem;
    }
    
    .map-btns{
        width: auto;
        left: 1.1rem;
        right: 1.1rem;
    }
}


/*list*/

#list{
}

#CertifiedPartnersList{
    margin-bottom: 3em;
}

#CertifiedPartnersListContainer,
#t-details {
    width: calc(100% - 17.1em);
    float: right;
    padding-bottom: 2em;
    overflow-x: auto;
    overflow-y: visible;
}

.filter-list {
    border-collapse: collapse;
    width: 100%;
}

.filter-list a{
    text-decoration: none;
    color: inherit;
}

.filter-list th{
    position: relative;
    text-align: left;
    background-color: #212f62;
    color: #fff;
}

.filter-list tr{
    border-bottom: 1px solid;
}

.filter-list td,
.filter-list th{
    padding: 0.4em;
}

.filter-list th{
    padding-right: 1em;
    cursor: pointer;
    position: relative;
}

/*.filter-list .asc:after,
.filter-list .desc:after {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 0.7em;
    background-image: url(./Pictures/CertifiedPartners/arrow_2.png);
    background-repeat: no-repeat;
    background-position: center;
}

.filter-list .desc:after{
    transform: rotate(180deg);
}*/


.filter-list .hos:nth-of-type(2n+1){
    background-color: rgba(33,47,98, 0.1);
}

.filter-list td img{
    height: 2em;
    width: auto;
    padding: 0.2em 0.5em;
}

.filter-list .filter-country,
.filter-list .filter-city,
.filter-list .filter-search,
.filter-list .filter-legende,
.filter-list .no-results{
    display: none;
}

.filter-list .no-results-show.no-results {
    display: table-row;
}

@media screen and (max-width: 1000px){
    
    #CertifiedPartnersListContainer,
    #t-details{
        width: calc(100% - 13.1em);
    }
    
    .filter-list{
        font-size: 0.9em;
    }
}

@media screen and (max-width: 800px){
    #CertifiedPartnersListContainer{
        float: none;
        width: 100%;
    }
}

@media screen and (max-width: 600px){
    #t-details{
        float: none;
        width: 100%;
    }
}

/*details*/

#t-details #Seals{
    float: right;
    width: 13rem;
    text-align: center;
    margin-bottom: 2rem;
}

#t-details #Seals:after{
    content: '';
    display: block;
    clear: both;
}

#t-details .seal{
    float: left;
    width: 100%;
    padding: 0.5em 1.1em;
    box-sizing: border-box;
}

#t-details #Seals img{
    display: block;
    margin: 0em auto 0.5em;
    max-width: 100%;
}

#t-details > .content{
    margin-right: 13.1rem;
}

#t-details .foldable .header{
    text-transform: uppercase;
    border-top: 1px solid #212f62;
}

#t-details .foldable h2{
    font-size: 1.2rem;
    line-height: 2.5em;
}

#t-details .foldable:last-of-type{
    border-bottom: 1px solid #212f62;
}

#t-details p{
    margin: 1em 0;
}

/*NEU Details Description*/

#CertifiedPartnerDescription img,
#CertifiedPartnerDescription figcaption{
    width: 250px;
    height: auto;
    display: block;
}

#CertifiedPartnerDescription figcaption{
    color: #666;
    padding: 0.1em;
    font-size: 15px;
}

#CertifiedPartnerDescription figure{
    float: left;
    margin-right: 0.5em;
}

#CertifiedPartnerDescription dl {
    margin-left: 262px;
}

#CertifiedPartnerDescription dl dl {
    margin-left: 0;
}

#CertifiedPartnerDescription dt {
    padding-top: 0.3em;
    text-transform: uppercase;
    font-size: 0.9em;
}

#CertifiedPartnerDescription dd dt {
    text-transform: initial;
    font-size: 1em;
    color: #666;
}

#CertifiedPartnerDescription dd {
    padding-left: 0.5em;
    color: #000;
}

#CertifiedPartnerDescription dd  dd{
    padding-left: 0;
}

#CertifiedPartnerDescription dd:last-child{
    padding-bottom: 0.75em;
}

#CertifiedPartnerDescription .detailsection {
    margin-bottom: 1.5em;
}

#CertifiedPartnerDescription .detailsection p {
    margin: .5em 0;
}

#CertifiedPartnerDescription .detailsection:after{
    content: '';
    display: block;
    clear: left;
}

#CertifiedPartnerDescription .detailsection table.list td {
    vertical-align: top;
}

#CertifiedPartnerDescription .detailsection table.list td:first-child {
    white-space: nowrap;
}

@media screen and (max-width: 720px){
    
    #CertifiedPartnerDescription figure{
        float: none;
        width: 100%;
    }
    
    #CertifiedPartnerDescription img,
    #CertifiedPartnerDescription figcaption{
        width: 100%;
    }

    #CertifiedPartnerDescription dl {
        margin-left: 0;
    }
}

/*ENDE*/

#CertifiedPartnerDescription table{
    border-collapse: collapse;
}

#CertifiedPartnerDisciplines table{
    width: 100%;
}

#CertifiedPartnerDisciplines .DisciplinesListText{
    padding: 0.25em 0.5em;
}

#CertifiedPartnerDisciplines .DisciplinesListText:before {
    content: ' - ';
    margin: 0 0.5em 0 1em;
}

#CertifiedPartnerDisciplines tr:nth-child(2n){
    background-color: rgba(33,47,98, 0.1);
    
}

#CertifiedPartnerDisciplines img{
    display: none;
}

#CertifiedPartnerDisciplines h3{
    margin: 1em 0 0.2em;
    text-transform: uppercase;
}

/*Gallery neu*/
.gal-img img {
    display: block;
    height: 100%;
    width: 100%;
    margin: auto;
    object-fit: contain;
}

.gal-img {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.gal-img figcaption{
	position: absolute;
	bottom: 10%;
	left: 0;
	background-color: #212f62;
	color: #fff;
	padding: 0.5em 1em;
	text-transform: uppercase;
}

#t-gal{
    position: relative;
    box-sizing: border-box;
    border: 1px solid #212f62;
}

.gal-dummy {
    margin-top: 75%;
}

.gal-content{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.gal-prev{
	text-align: center;
    margin: 1em 0;
}

.prev-img{
    display: inline;
	width: 10%;
    min-width: 3em;
    height: 4em;
	box-sizing: border-box;
    padding: 0.1em;
    object-fit: cover;
}

.gal-cur{
	border: 2px solid #212f62;
}

/*Ende*/

@media screen and (max-width: 1000px){
    #t-details #Seals{
        float: none;
        width: 100%;
    }
    
    #t-details .seal{
        width: 50%;
    }
    
    #t-details > .content{
        clear: both;
        margin-right: 0;
    }
}

/*map*/
#t-map{
    position: fixed !important;
    left: 0;
    top: 5rem;
    right: 0;
    bottom: 5rem;
}

#t-footer.footer{
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media screen and (max-width: 720px){
    #t-map{
        top: 4rem;
        bottom: 4rem;
    }
}

/*footer*/

#t-content:after{
    content: '';
    display: block;
    clear: both;
}


/**********FOOTER**********/

#t-footer{
    clear: both;
    background-image: url('./Pictures/CertifiedPartners/muster_blau.gif');
    font-size: 0.9rem;
    height: 5rem;
}
    
#t-footer .t-row{
    position: relative;
}

#t-footer,
#t-footer a{
    color: #fff;
    text-decoration: none;
}

#copyright{
    float: left;
}

#footer-menu{
    float: right;
}

#footer-menu,
#copyright{
    display: table;
}

#footer-menu > *,
#copyright > * {
    display: table-cell;
    vertical-align: middle;
    height: 5rem;
}

#footer-menu li{
    float: left;
    list-style: none;
    border-right: 2px solid;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

#footer-menu li:last-of-type {
    border: none;
}

#totop{
    display: block;
    box-sizing: border-box;
    margin: 1.5rem 0;
    margin-left: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 20px;
    background-image: url(./Pictures/CertifiedPartners/totop_white.png);
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid;
}

#totop:hover {
    background-image: url(./Pictures/CertifiedPartners/totop.png);
    background-color: #fff;
}

@media screen and (max-width: 720px){
    
    #t-footer{
        height: 4rem;
    }
    
    #footer-menu,
    #copyright{
        float: none;
        height: 2rem;
    }
    
    #footer-menu > *,
    #copyright > * {
        height: 2rem;
    }
    
    #footer-menu li:first-of-type{
        padding-left: 0;
    }
    
    #totop{
        position: absolute;
        z-index: 1;
        margin: 0;
        right: 1.1rem;
        top: 1rem;
    }
}