.modal--container {
    position: fixed;
    background: #efe8e4;
    z-index: 4;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    top: 0;
    left: 0;
    display: none
}

.modal--container .modal--content .modal--content__header {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 15px;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    position: relative;
    height: 65px
}

.modal--container .modal--content .modal--content__header .content__header--back {
    background-image: url("imgs/back2.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin: 6px 0 0 0
}

.modal--container .modal--content .modal--content__header .content__header--title {
    font-size: 24px;
    color: #ffc95e;
    font-family: "akaPosse",sans-serif;
    text-shadow: 0 0 9px rgba(0,0,0,.7);
    line-height: 28px;
    margin-left: 10px;
    transition: .8s;
    display: none
}

.modal--container .modal--content .modal--content__header .content__header--close {
    background-image: url("imgs/close.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 6px 0 0 0
}

.modal--container .modal--content .modal--content__content {
    box-sizing: border-box;
    padding: 0 15px 110px 15px
}

.modal--container .modal--content .modal--content__content .sub--title {
    padding: 0;
    margin: 30px 0 0 0;
    color: #8b2406;
    font-family: "akaPosse",sans-serif;
    font-size: 24px
}

@media only screen and (min-width: 768px) {
    .modal--container .modal--content .modal--content__header {
        box-shadow:0 0 60px rgba(0,0,0,.5) inset;
        background: #a22e09;
        border: 4px solid #d29841
    }

    .modal--container .modal--content .modal--content__header .content__header--back {
        background-image: url("imgs/back.png");
        margin: 0
    }

    .modal--container .modal--content .modal--content__header .content__header--title {
        display: block
    }

    .modal--container .modal--content .modal--content__header .content__header--close {
        background-image: url("imgs/close-search.png");
        width: 30px;
        height: 30px;
        margin: 0
    }
}