
#tx_cookies_showPermanent {
    display: none;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1040; /* higher than z-index of Bootstrap header */
}
#tx_cookies_inner {
    position: relative;
    background: #eee;
    padding: 10px;
}
#tx_cookies h3 {
    margin: 0;
}
#tx_cookies p {
    margin: 0;
    line-height: 1.5em;
}
#tx_cookies input[type="checkbox"] {
    float: left;
    margin-right: 3px;
}
#tx_cookies button,
#tx_cookies input[type="submit"] {
    border: 0;
    background: #d2d2d2;
    cursor: pointer;
    padding: 10px;
    color: #000;
    margin-bottom: 0;
    font-size: 1em;
}
#tx_cookies #tx_cookies_close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    display: none;
}

#tx_cookies #tx_cookies_close:after {
    content: "X";
    display: block;
    padding: 10px;
}

#tx_cookies {
    overflow: hidden;
    transition: max-height 1s;
}

#tx_cookies_inner > .container {
    padding:10px;
    width:950px;
    margin: 0 auto;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

#tx_cookies_inner {
    max-height: 0;
    /*position: static;*/
    /*opacity: 1;*/
    /*transition: opacity 1s ease;*/
}

.cookieconcent-right {
    display:flex;
    align-content: space-between;
}

.cookieconcent-left {
    flex: 1;
}

form#tx_cookies_accept {
    margin: 0;
    width:100% !important;
}

@media screen and (max-width: 414px) and (orientation: portrait), screen and (max-width: 736px) and (orientation: landscape) {

    #tx_cookies {
        max-height: inherit !important;
    }
    #tx_cookies_inner > .container {
        width:100%;
        display: -ms-grid;
        display: block;
        -ms-flex-wrap: initial;
        flex-wrap: initial;
    }

    .cookieconcent-left,
    .cookieconcent-right {
        display:block;
        clear:both;
        width:100%;
    }

}