/* diese css ueberschreibt richfaces fileUpload class und stellt weitere styling fuer 'accordion' zur Verfuegung */

.rf-fu,
.rf-fu-hdr,
.rf-fu-btns-lft,
.rf-fu-btns-rgh,
.rf-cp,
.rf-cp-hdr,
.rf-cp-b,
.rf-fu-itm-lbl,
.rf-msg,
.rf-msg-inf,
.rf-msg-err,
.rf-msg-det {
	all: revert;
}

.drv-accordion__text {
	font-weight: bold;
}
			
.drv-accordion__item .rf-cp-hdr-exp {
	border-bottom: 0;
}

.drv-accordion__summary {
	padding-right: 0.5em;
}

/* accordion icon +/collapsed und -/expanded */
details>summary::-webkit-details-marker {
  display: none
}

details>summary:after {
  content: "+";
  color: #083163;
  font-size: 1.3125rem;
  margin-left: auto;
  font-weight: 600;
}

details[open] summary:after {
  content: "-";
}

details summary > * {
  display: inline !important;
}

.main_form_cr_container .rf-fu-hdr {
	margin-top: 1rem;
}

.main_form_cr_container .rf-fu-btn-cnt-add,
.main_form_cr_container .rf-fu-btn-cnt-add-dis {
    font-size: 1rem;
    font-family: inherit;
	background-position: 2px 6px !important;
    margin: inherit !important;
    color: #083163;
    font-weight: bold;
}

 .main_form_cr_container .rf-fu-btn-cnt-upl {
 	font-size: 1rem;
    font-family: inherit;
    color: #fff;
	background-position: 2px 6px !important;
    margin: 8px 5px !important;
}

@media(min-width: 64.0625rem) {
    .main_form_cr_container .rf-fu-btn-cnt-add,
    .main_form_cr_container .rf-fu-btn-cnt-upl,
	.main_form_cr_container .rf-fu-btn-cnt-add-dis {
        font-size: 1.125rem;
    }
}

 .main_form_cr_container .rf-fu-btn-cnt-add {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23083163' stroke-width='2'%3E%3Cline x1='0' x2='12' y1='8' y2='8'/%3E%3Cline x1='6' x2='6' y1='2' y2='14'/%3E%3C/g%3E%3C/svg%3E");
}

 .main_form_cr_container .rf-fu-btn-cnt-add-dis {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='rgba(8,49,99,.6)' stroke-width='2'%3E%3Cline x1='0' x2='12' y1='8' y2='8'/%3E%3Cline x1='6' x2='6' y1='2' y2='14'/%3E%3C/g%3E%3C/svg%3E");
}

/* upload 'add' Button*/
.main_form_cr_container .rf-fu-btn-add,
.main_form_cr_container .rf-fu-btn-add-dis {
	background-color: #fff;
    border: 2px solid #b4c1d0;
    line-height: 1.38;
    letter-spacing: .3px;
    transition-timing-function: cubic-bezier(0.5, 0, 1, 1);
    align-items: center;
    border-radius: .5em;
    box-shadow: 0 0 0 1px rgba(0,0,0,0);
    cursor: pointer;
    display: inline-flex;
    min-height: 3em;
    padding: 0 2rem;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition-duration: 200ms;
    transition-property: all;
    background-image: none;
}

@media(min-width: 48rem){
    .main_form_cr_container .rf-fu-btn-add,
	.main_form_cr_container .rf-fu-btn-add-dis{ 
        min-height: 3em;
        padding: 0 2rem
    }
}

@media(min-width: 64.0625rem) {
    .main_form_cr_container .rf-fu-btn-add,
	.main_form_cr_container .rf-fu-btn-add-dis {
        padding: 0 2.5rem;
        font-size: 1.125rem;
    }
}

.main_form_cr_container .rf-fu-btn-add-dis {
    border: 2px solid rgba(240,242,245,.6);
}

.main_form_cr_container .rf-fu-btn-cnt-add-dis {
	color: rgba(8,49,99,.6);
}

.main_form_cr_container .rf-fu-btn-add-dis:hover {
    cursor: not-allowed;
}

.main_form_cr_container .rf-fu-btn-add:hover,
.main_form_cr_container .rf-fu-btn-add:focus {
    border: 2px solid #000;
    color: #000
}

/* upload 'upload' Button*/
.main_form_cr_container .rf-fu-btn-cnt-upl {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23fff' stroke-width='2'%3E%3Cline x1='6' x2='6' y1='3' y2='15' /%3E%3Cline x1='1' x2='6' y1='8' y2='4'/%3E%3Cline x1='6' x2='10' y1='4' y2='8' /%3E%3Cline x1='0' x2='12' y1='18' y2='18' /%3E%3C/g%3E%3C/svg%3E");
}

.main_form_cr_container .rf-fu-btn-upl {
	border: 2px solid transparent;
	background-color: #083163;
    line-height: 1.38;
    letter-spacing: .3px;
    transition-timing-function: cubic-bezier(0.5, 0, 1, 1);
    align-items: center;
    border-radius: .5em;
    box-shadow: 0 0 0 1px rgba(0,0,0,0);
    cursor: pointer;
    font-weight: bold;
    min-height: 3em;
    padding: 0 2rem;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition-duration: 200ms;
    transition-property: all;
    background-image: none;
}

.main_form_cr_container .rf-fu-btn-upl:hover,
.main_form_cr_container .rf-fu-btn-upl:focus {
    background-color: #000;
    box-shadow: 0 0 0 2px #fff,0 0 0 3px #000
}

.main_form_cr_container .rf-fu-itm-rgh,
.main_form_cr_container .rf-fu-btns-rgh {
	display: none !important;
}

.main_form_cr_container .rf-fu-itm {
	border-bottom: none;
	margin-top: 5px;
	transition-timing-function: cubic-bezier(0.5, 0, 1, 1);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: .4px;
    font-weight: normal;
    background-color: #e1e6ec;
    box-shadow: inset 0 0 0 1px rgba(105,131,161,0);
    color: #000;
    padding: .75rem;
    transition-duration: 200ms;
    transition-property: all;
    width: 100%;
    max-width: 100%
}

/* upload message container */
.main_form_cr_container .rf-msg-inf,
.main_form_cr_container .rf-msg-err {
	background-image: none;
	font-size: .75rem;
    line-height: 1.5;
    letter-spacing: .8px;
    font-weight: normal;
    display: flex;
    font-style: normal;
    margin-bottom: .75rem;
    margin-top: .5rem;
    max-width: 100%
}

@media(min-width: 48rem) {
    .main_form_cr_container .rf-msg-inf,
    .main_form_cr_container .rf-msg-err {
        font-size: .75rem;
        line-height: 1.5;
        letter-spacing: .8px
    }
}

@media(min-width: 64.0625rem) {
    .main_form_cr_container .rf-msg-inf,
    .main_form_cr_container .rf-msg-err {
        font-size: .8125rem;
        line-height: 1.5384615385;
        letter-spacing: .7px
    }
}

@media(min-width: 90rem){
    .main_form_cr_container .rf-msg-inf,
    .main_form_cr_container .rf-msg-err {
        font-size: .8125rem;
        line-height: 1.5384615385;
        letter-spacing: .7px
    }
}

/* upload progress status */
.main_form_cr_container .progress-bar {
	background-image: none; 
	background-size: auto;
	appearance: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	display:block;
	background-color: #6983a1;
	max-width: 100%;
	width: 100%;
}

/* uploadstatus popuppanel */
.rf-pp-cnt-scrlr {
	display: flex;
	align-items: center;
	justify-content: center;
}
.rf-pp-cnt-scrlr center {
	margin-top: 20px;
	font-size: 1rem;
}

/* Kontaktformular*/ 
.main_form_cr_container .rf-fu-itm-st {
	display: none !important;
}

.main_form_cr_container .drv-upload-field {
	display: inherit;
	padding: 10px 10px;
}

/* error message*/ 
.main_form_cr_container .rf-msg-err {
	color: #94001e;
}

/* zusammenfassung accordion content */
.drv-summary__data {
	flex: 1 1 auto;
}

.drv-summary__data .drv-summary__data__dl {
	display: flex;
}

.drv-summary__data .drv-summary__data__dl > dl > dd {
	hyphens: auto;
	word-break: break-word;
}

.drv-summary__data .drv-summary__data__dl .drv-buttonbar__item {
	margin-top: 0;
	margin-right: 0;
}
