input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

/*override bootstrap default behavior*/

form * label[for] {
    font-weight: bold;
}


form.input * {
    border: 1px solid #C4C4C4;
}

select {
    padding-right: 30px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border: 2px solid #000;
    background: url('../css/image/arrow_down.svg') no-repeat right 0;
    background-size: auto 100%;
}

select::-ms-expand {
    display: none;
}

select,
select option {
    color: #000000;
}

select:invalid,
select option[value=""] {
    color: #7E7E7E;
}

fieldset {
    background-color: white;
    border: 1px solid #EEEEEE;
}

textarea {
    border: 1px solid rgb(206, 212, 218);
    border-radius: 0.25rem;
}

.logo {
    width: 100%;
    border-radius: 3px !important;
}

.custom-file-label {
    font-weight: normal !important;
    z-index: 2;
    text-overflow: ellipsis;
    padding-right: 40%;
    white-space: nowrap;
    overflow: hidden;
}

.custom-control-label {
    font-weight: normal !important;
}

.custom-file-label:hover {
    cursor: pointer;
}

.section-image {
    width: 100%;
}

/*dynamic styles*/

body{
    background: #FFFFFF;
}

input[type=submit] {
    float: right;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.section-outside-title {

}

.section-inside-title {
    display: none;
}

.base-section {
    font-family: Muli, serif;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    border: 0.05em solid lightgray;
    background: #FFFFFF;
}

label,select,input,button{
    font-family: Muli, serif;
}

.section-title {
    font-family: Muli, serif;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    font-size: 20px;
    color: #2F3E9E;
}


.header > div:first-of-type {
    font-family: Muli, serif;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    font-size: 20px;
    color: #2F3E9E;
}

.header > div:nth-child(n+2) {
    color: #000000;
}

.header {
    background-color:#EEEEEE;
    color: #000000;
    font-family: Muli, serif;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
}

.custom-file-label::after {
    background-color: #FF6600;
    color: #FFFFFF;
    max-width: 40%;
    z-index: 2;
    right: -0.05rem;
    border-left: #FF6600;
    height: calc(1.62em + .75rem);
}

.custom-file-label:hover::after {
    background-color: #bf3300;
}

.collapse:not(.show) {
    display: inherit;
    height: 130px;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: inherit;
}

.collapsing {
    height: 130px;
    padding-top: 10px;
}

.show {
    padding-bottom: 30px;
    padding-top: 10px;
}

@media only screen and (min-width: 485px) {
    .info:not(.show):before {
        width: 95%;
    }
}

@media only screen and (max-width: 485px) {
    .info:not(.show):before {
        width: 88%;
    }
}

.info:not(.show):before {
    position: absolute;
    bottom: 0;
    height: 100%;
    content: "";
    padding-top: 10px;
    background: linear-gradient(180deg, #FFFFFF00 0%, #FFFFFFBF 67.67%, #FFFFFF 100%);
    pointer-events: none;
}

.info:not(.collapse):before {
    width: 100%;
}

.info, .infoNotExpandable {
    font-size: 11px;
}


.expand-button {
    z-index: 3;
    position: absolute;
    bottom: 10px;
    right: 25px;
    min-width: 92px;
    color: #FF6600;
    border-color: #FF6600;
    background: #FFFFFF;
}

button[aria-expanded=true]:after{
    content: 'Zwiń';
}

button[aria-expanded=false]:after{
    content: 'Rozwiń';
}

.expand-button:hover {
    color: #FF6600;
    background-color:#FFFFFF;
}

.btn-primary {
    background-color: #FF6600;
    border-color: #FF6600;
    color: #FFFFFF;
}

.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #bf3300;
    border-color: #bf3300;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #bf3300;
    border-color: #bf3300;
    color: #FFFFFF;
}
.icon {
    fill: #FF6600 !important;
}

/*checkbox and radiobutton color*/
.custom-control-input:checked~.custom-control-label::before{
    background-color:#FF6600;
    border-color:#FF6600;
    color:#FFFFFF;
}

.foot {
    background: url('../css/image/foot.svg') no-repeat center 0;
    position:absolute;
    bottom:0;
    height: 15px;
    width: 330px;
}

