/*  AREA SELECTOR  */

.mod-as {
    display: none;
}

.mas-head .bttClose {
    height: 1rem;
    width: 1rem;
    position: absolute;
}

.mas-chip-img {
    position: relative;
}


.mas-chip .mas-btt {
    width: 1rem;
    height: 1rem;
    background-color: var(--af-color);
    cursor: pointer;
}

.mas-chip .mas-btt-del.mas-btt {
    width: 0.8rem;
    height: 1rem;
}

.mas-chip .mas-btt .ico {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media (min-width: 992px) {
    /* DESKTOP ONLY */

    .mod-as.open {
        display: block;
    }

    .mas-chip .mas-btt {
        display: none;
    }

    .mod-as {
        position: absolute;
        width: 64rem;
        background-color: var(--hg-color);
        top: 4rem;
        bottom: 3rem;
        z-index: 14;
        height: calc(100% - 4rem);
    }

    .mas-head .bttClose .ico {
        height: 1rem;
        width: 1rem;
        cursor: pointer;
    }

    .mas-head {
        height: 3.125rem;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .mas-head .bttClose {
        top: 1.125rem;
        right: 1rem;
    }

    .mas-head .txt {
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.8125rem;
        height: 1.8125rem;
        font-family: Verdana;
        letter-spacing: 0rem;
    }

    .mas-main {
        width: 100%;
        height: calc(100% - 4.125rem);
        overflow: auto;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .mas-chip-img {
        width: 100%;
        cursor: pointer;
    }

    .mas-chip {
        margin-bottom: 0rem;
        width: 14.75rem;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .mas-chip-img img {
        width: 100%;
        background-color: var(--az-color);
    }

    .mas-chip-txt {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 768px) {
    /* DESKTOP AND TABLET */
}


@media (min-width: 768px) and (max-width: 991px) and (min-height: 481px) {
    /* TABLET ONLY */

    .mod-as.open {
        display: block;
    }

    .mas-chip .mas-btt {
        display: none;
    }

    .mod-as {
        position: absolute;
        width: 100%;
        background-color: var(--hg-color);
        top: 4rem;
        bottom: 3rem;
        z-index: 14;
        height: calc(100% - 4rem);
    }

    .mas-head .bttClose .ico {
        height: 1rem;
        width: 1rem;
        cursor: pointer;
    }

    .mas-head {
        height: 3.125rem;
        margin-left: 1rem;
        margin-top: 1rem;
        margin-top: 0.125rem;
    }

    .mas-head .bttClose {
        top: 0.9375rem;
        right: 0.75rem;
    }

    .mas-head .txt {
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.8125rem;
        height: 1.8125rem;
        font-family: Verdana;
        letter-spacing: 0rem;
    }

    .mas-main {
        width: 100%;
        height: calc(100% - 4.125rem);
        overflow: auto;
        background-color: #fff;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .mas-chip-img {
        width: 100%;
        cursor: pointer;
    }

    .mas-chip {
        margin-bottom: 0rem;
        width: 14.75rem;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .mas-chip-img img {
        width: 100%;
        background-color: var(--az-color);
    }

    .mas-chip-txt {
        margin-bottom: 0.5rem;
    }





    /* MIN MODUS*/

    .mod-as.min-mode .mas-mib .ico {
        width: 41px;
        height: 10px;
        position: absolute;
        left: calc(50% - 20.5px);
        top: 8.5px;
    }


    .mod-as.min-mode {
        border-radius: 24px 24px 0px 0px;
        background-color: #fff;
    }

    .mod-as.min-mode .mas-mib {
        height: 49px;
        background-color: #fff;
        border-radius: 24px 24px 0px 0px;
    }

    .mod-as.min-mode .mas-head {
        height: 1.8125rem;
    }

    .mod-as.min-mode .mas-chip-txt {
        height: 22px;
        line-height: 22px;
    }

    .mod-as.min-mode .mas-chip {
        margin-top: 24px;
    }


    /* .min  */

    .mod-as.min-mode.min {
        height: 174px;
        bottom: 0px;
        top: auto;
    }

    .mod-as.min-mode.min .mas-main {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: block;
    }

    .mod-as.min-mode.min .mas-head {
        display: none;
    }

    .mod-as.min-mode.min .mas-chip-img {
        width: 112px;
        height: 74px;
        position: relative;
        overflow: hidden;
    }

    .mod-as.min-mode.min .mas-chip-img img {
        width: 100%;
        background-color: var(--az-color);
        width: 100%;
        height: auto;
        top: 50%;
        left: 0%;
        transform: translate(0%, -50%);
        position: absolute;
    }

    .mod-as.min-mode.min .mas-chip {
        width: auto;
        margin-top: 0;
        display: inline-block;
    }

    .mod-as.min-mode.min .mas-chip-opts {
        display: none;
    }



}

@media (orientation: portrait) and (max-width: 768px) and (max-height: 1280px) {
    /* PHONE HOCH */

    /* NORMALER MODUS*/

    .mod-as.open {
        display: block;
    }

    .mod-as {
        position: absolute;
        width: 100%;
        background-color: var(--hg-color);
        top: 3.3rem;
        bottom: 3rem;
        z-index: 3;

    }

    .mas-chip-opts {
        display: inline-block;
        vertical-align: top;
        height: 100%;
        width: calc(40% - 0.375rem);
    }

    .mas-rot,
    .mas-lay,
    .mas-del {
        white-space: nowrap;
        /*overflow-x: auto;*/
        height: 2.32rem;
        /*31px;*/
        position: relative;
        background-color: var(--af-color);
        margin-bottom: 0.3rem;
    }

    .mas-chip .mas-btt {
        margin-left: 0.375rem;
        margin-right: 0.375rem;
        display: inline-block;
        /*top: 0.5rem;
		position: relative;*/
        vertical-align: super;
    }

    .mas-btt-rot.txt,
    .mas-btt-del.txt,
    .mas-btt-lay.txt {
        display: inline-block;
        margin-right: 0.375rem;
        /*top: 0.3rem;
		position: relative;*/
        width: calc(100% - 2.4rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: sub;
        line-height: 2.32rem;
    }

    .mas-btt-rot.txt {
        width: calc(100% - 4.5rem);
        margin-right: 0rem;
    }

    .mas-btt-rot.txt-deg {
        display: inline-block;
        float: right;
        margin-right: 0.375rem;
        /*top: 0.5rem;
		position: relative;*/
        line-height: 2.32rem;
    }

    .mas-head .bttClose .ico {
        height: 1rem;
        width: 1rem;
        cursor: pointer;
    }

    .mas-head {
        margin-left: 0.625rem;
        height: 2.625rem;
        margin-bottom: 1.125rem;
    }

    .mas-head .bttClose {
        top: 0.9375rem;
        right: 0.75rem;
    }

    .mas-head .txt {
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.8125rem;
        height: 1.8125rem;
        font-family: Verdana;
        letter-spacing: 0rem;
        padding-top: 0.75rem;
    }

    .mas-main {
        width: calc(100% - 1.25rem);
        height: calc(100% - 3.75rem);
        margin-left: 0.625rem;
        overflow: auto;
    }

    .mas-chip-inner {
        position: relative;
        /*border: 0.1875rem solid #fff;
		background-color: var(--af-color);*/
    }

    .mas-chip-img {
        display: inline-block;
        position: relative;
        width: calc(60% - 0.4rem);
        /*0.375rem*/
        height: 9.82rem;
        background-color: var(--af-color);
        border: 0.2rem solid #fff;
        /*0.1875rem */
        overflow: hidden;
    }

    .mas-chip {
        margin-bottom: 1.5rem;
        width: calc(100% - 3px);
        display: block;
        vertical-align: top;
    }

    .mas-chip-img img {
        /*width: 100%;*/
        width: auto;
        height: 100%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0%);
        background-color: var(--az-color);
    }

    .mas-chip-img.inner_w img {
        width: 100%;
        height: auto;
        top: 50%;
        left: 0%;
        transform: translate(0%, -50%);
    }

    .mas-chip-img img.mas-chip-mask {
        /*position: absolute;
		left: 0rem;*/
        background-color: #fff;
        opacity: 0.5;
    }

    .mas-chip-txt {
        margin-bottom: 0.5rem;
    }

    /* MIN MODUS*/

    .mod-as.min-mode {
        border-radius: 24px 24px 0px 0px;
    }

    .mod-as.min-mode .mas-head .bttClose {
        display: none;
    }

    .mod-as.min-mode .mas-mib {
        height: 36px;
        background-color: #fff;
        border-radius: 24px 24px 0px 0px;
    }

    .mod-as.min-mode .mas-mib .ico {
        height: 10px;
        width: 41px;
        left: calc(50% - 20px);
        position: absolute;
        top: 8.5px;
        cursor: pointer;
    }

    .mod-as.min-mode .mas-head {
        height: 1.8125rem;
    }

    .mod-as.min-mode .mas-head .txt {
        height: 1.8125rem;
        padding-top: 0;
    }

    /* .min  */

    .mod-as.min-mode.min {
        top: auto;
        height: 177px;
        background-color: #fff;
    }

    .mod-as.min-mode.min .mas-main {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }


    .mod-as.min-mode.min .mas-head {
        display: none;
    }

    .mod-as.min-mode.min .mas-chip .mas-chip-txt {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .mod-as.min-mode.min .mas-chip .mas-chip-opts .txt-i {
        display: none;
    }

    .mod-as.min-mode.min .mas-chip-img {
        height: 94px;
        border: none;
        width: calc((100% / 3)* 2);
    }

    .mod-as.min-mode.min .mas-chip-opts {
        width: auto;
    }


    .mod-as.min-mode.min .mas-rot,
    .mod-as.min-mode.min .mas-lay,
    .mod-as.min-mode.min .mas-del {
        position: relative;
        background-color: var(--af-color);
        display: flex;
        justify-content: space-around;
        align-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 31px;
        height: 31px;
        margin-bottom: 0;
    }


    .mod-as.min-mode.min .mas-chip {
        width: calc((100% - 6px) / 2);
        display: inline-block;
        margin-bottom: 0.5rem;
    }

}

@media (orientation: landscape) and (max-width: 915px) and (max-height: 480px) {
    /* PHONE QUER */

    .mod-as.open {
        display: block;
    }

    .mod-as {
        position: absolute;
        background-color: var(--hg-color);
        width: calc(54% - 3.375rem);
        height: 100%;
        right: 3.375rem;
        top: 0rem;
    }

    .mas-chip .mas-btt {
        margin-left: 0.375rem;
        margin-right: 0.375rem;
        display: inline-block;
        /*top: 0.5rem;
		position: relative;*/
        vertical-align: super;
    }

    .mas-btt-rot.txt,
    .mas-btt-del.txt,
    .mas-btt-lay.txt {
        display: inline-block;
        margin-right: 0.375rem;
        /*top: 0.3rem;
		position: relative;*/
        width: calc(100% - 2.4rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /*vertical-align: sub;*/
        line-height: 1.74rem;
    }

    .mas-btt-rot.txt {
        width: calc(100% - 4.5rem);
        margin-right: 0rem;
    }

    .mas-btt-rot.txt-deg {
        display: inline-block;
        float: right;
        margin-right: 0.375rem;
        /*top: 0.5rem;
		position: relative;*/
        line-height: 1.74rem;
    }

    .mas-rot,
    .mas-lay,
    .mas-del {
        white-space: nowrap;
        /*overflow-x: auto;*/
        height: 1.74rem;
        /*31px;*/
        position: relative;
        background-color: var(--af-color);
        margin-bottom: 0.3rem;
    }

    .mas-head .bttClose {
        display: none;
    }

    .mas-head {
        margin-left: 0.625rem;
        height: 2.625rem;
        margin-bottom: 1.125rem;
    }

    .mas-head .bttClose {
        top: 0.9375rem;
        right: 0.75rem;
    }

    .mas-head .txt {
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.8125rem;
        height: 1.8125rem;
        font-family: Verdana;
        letter-spacing: 0rem;
        padding-top: 0.75rem;
    }

    .mas-main {
        width: calc(100% - 2rem);
        height: calc(100% - 3.75rem);
        margin-left: 0.625rem;
        overflow: auto;
        background-color: transparent;
        display: block;
    }

    .mas-chip-opts {
        display: inline-block;
        vertical-align: top;
        height: 100%;
        width: calc(50% - 0.375rem);
    }

    .mas-chip-inner {
        /*border: 0.1875rem solid #fff;
		background-color: var(--af-color);*/
    }

    .mas-chip {
        margin-bottom: 1rem;
        width: auto;
        margin-left: 0;
        margin-top: 0;
        width: calc(100% - 3px);
        display: inline-block;
        vertical-align: top;
    }

    .mas-chip-img {
        display: inline-block;
        position: relative;
        width: calc(50% - 0.4rem);
        /*0.375rem*/
        height: 7.5rem;
        background-color: var(--af-color);
        border: 0.2rem solid #fff;
        /*0.1875rem*/
        overflow: hidden;
    }

    .mas-chip-img img {
        /*width: 100%;*/
        width: auto;
        height: 100%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0%);
        background-color: var(--az-color);
    }

    .mas-chip-img.inner_w img {
        width: 100%;
        height: auto;
        top: 50%;
        left: 0%;
        transform: translate(0%, -50%);
    }

    .mas-chip-img img.mas-chip-mask {
        /*position: absolute;
		left: 0rem;*/
        background-color: #fff;
        opacity: 0.5;
    }

    .mas-chip-txt {
        margin-bottom: 0.5rem;
    }


    /* MIN MODUS*/

    .mod-as.min-mode {
        border-radius: 24px 0px 0px 24px;
    }

    .mod-as.min-mode .mas-mib {
        width: 30px;
        height: 100%;
        display: inline-block;
        background-color: #fff;
        position: absolute;
        border-radius: 24px 0px 0px 24px;
    }



    .mod-as.min-mode .mas-head {
        margin-left: 40px;
    }

    .mod-as.min-mode .mas-main {
        margin-left: 40px;
        width: calc(100% - 40px);
    }

    /**/
    .mod-as.min-mode.min {
        width: 226px;
    }

    .mod-as.min-mode.min .mas-main {
        margin-left: 30px;
        padding-left: 10px;
        height: calc(100% - 2rem);
        padding-top: 2rem;
        background-color: #fff;
    }

    .mod-as.min-mode.min .mas-head {
        display: none;
    }

    .mod-as.min-mode.min .txt-i {
        display: none;
    }


    .mod-as.min-mode.min .mas-rot,
    .mod-as.min-mode.min .mas-lay,
    .mod-as.min-mode.min .mas-del {

        width: 31px;
        height: 31px;
        display: flex;
        justify-content: space-around;
        align-content: center;
        flex-wrap: wrap;
        cursor: pointer;
        margin-bottom: 0;
    }


    .mod-as.min-mode.min .mas-chip-opts {
        width: 31px;
    }

    .mod-as.min-mode.min .mas-chip-img {
        display: inline-block;
        position: relative;
        width: calc(50% - 0.4rem);
        height: 7.5rem;
        background-color: var(--af-color);
        border: 0rem;
        overflow: hidden;
        width: 128px;
        height: 94px;
    }

    .mod-as.min-mode.min .mas-chip-txt {
        font-size: 12px;
        margin-bottom: 5px;
    }


    /* .mod-ct.min-mode .mct-mib .ico {
        width: 41px;
        height: 10px;
        position: absolute;
        left: -8.5px;
        top: calc(50%);
        cursor: pointer;
        background-repeat: no-repeat;
        transform: rotate(-90deg);
    } 
    */

    .mod-as.min-mode .mas-mib .ico {
        width: 41px;
        height: 10px;
        position: absolute;
        left: -8.5px;
        top: calc(50%);
        cursor: pointer;
        background-repeat: no-repeat;
        transform: rotate(-90deg);
    }
}