#c4g_condition input.formdata {
    margin-bottom: 20px;
}

.c4g_multicheckbox span input {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#c4g_brick select {
    -moz-appearance: none;
    -webkit-appearance: none;
}

#c4g_brick select::-ms-expand {
    display: none;
}

.c4g_brick_list_header {
    display: none !important;
}

.c4g_multicheckbox span {
    display: block !important;
    margin-top: 5px;
}

.searchInfo {
    display: none;
}

li > .span-list {
    display: list-item;
}

/*---------header---------*/

.c4gGuiDialogTitle {
    position: relative;
}

.c4gGuiDialogTitle > span.c4g_list_headline {
    display: block;
    line-height: 30px;
    margin-top: 25px;
}

.c4gGuiDialogTitle > .c4g_list_filter_container {
    position: absolute;
    max-width: 100%;
    width: 300px;
    right: 0;
    top: 0;
}

.c4gGuiDialogTitle input {
    position: relative;
    max-width: calc(100% - 20px);
    right: 6px;
    top: 6px;
    height: 26px;
    line-height: 26px;
    padding: 0 4px;
    outline: none;
}

.c4gGuiDialogTitle > .c4g_list_filter_container:after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-size: .8em;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
}

.c4g_list_filter_buttons * {
    display: inline-block;
    vertical-align: bottom;
}

.c4g_list_filter_buttons i.ui-button {
    padding: 0;
    border: 0;
}

.c4g_list_filter_checkbox {
    padding: 0 10px;
    cursor: pointer;
}

.c4g_list_filter_checkbox:before {
    margin-right: 10px;
}

.c4g_list_filter_checkbox:not(.checkbox_checked):before {
    content:"\f0c8";
    font-family: "Font Awesome 5 Free";
    font-weight: 100;
}

.c4g_list_filter_checkbox.checkbox_checked:before {
    content: "\f14a";
    font-family: "Font Awesome 5 Free";
    font-weight: 100;
}

/*------------------------*/
/*----------content--------*/


/*-----------Blocks-------*/

div#c4g_brick ul {
    list-style-type: none;
}

.c4g_brick_list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}

.c4g_brick_list > ul ~ .c4gGuiAction {
    padding: 10px 5px;
    margin: 10px 0;
    cursor: pointer;
    padding-bottom: 45px;
    border: 1px solid #e9e9e9;
}

.c4gGuiAction ul {
    position: relative;
    display: block;
    height: 100%;
    padding-bottom: 33px;
}

.c4gGuiAction .link_zu_projekt_sophie, .c4gGuiAction .gutschein_einloesen, .c4gGuiAction .maplink {
    position: absolute;
    bottom: 0;
}

.c4gGuiAction > ul > li.maplink {
    right: 0;
}

.c4gGuiAction .gutschein_einloesen {
    left: 60px;
}

.c4gGuiAction  i.ui-button.ui-corner-all {
    height: 18px;
}

@media(max-width: 700px) {
    .c4g_brick_list > ul ~ .c4gGuiAction {width: 100%;}
}

@media(min-width: 700px) and (max-width: 1200px) {
    .c4g_brick_list > ul ~ .c4gGuiAction {width: calc(100%/2 - 10px);}
}

@media(min-width: 1200px){
    .c4g_brick_list > ul ~ .c4gGuiAction {width: calc(100%/3 - 10px);}
}
/*----------------*/

.c4g_brick_list .name {
    font-weight: bold;
}

.c4g_brick_list .name:before {
    content: "\f0a9";
    font-family: "Font Awesome 5 Free";
    margin-right: 10px;
}
.c4g_brick_dialog div ~ a {
    display: block;
    margin-bottom: .25em;
    margin-top: .25em;
    margin-left: 2.5%;
    margin-right: 2.5%;
    width: 95%;
    min-height: 27px;
}


/*----------------*/

