#ema {

}

#emaMenu {
    padding: 0 1px;
}

#emaMenu .ema-menu-header {
    padding: 15px 0 11px;
    /*border-bottom: 1px solid #fff;*/
   /* margin-bottom: 4px;*/
}

#emaMenu .ema-menu-header span {
    top: 5px;
    font-size: 32px;
    line-height: 1.5;
}

#ema.active #emaMenu .ema-menu-header span {
    font-size: 20px;
    line-height: 2.4;
}

.ema-bottom-menu {
    position: relative;
    top: 0;
    left:0;
    overflow: hidden;
}

.ema-bottom-menu .inside {

}

.ema-bottom-menu .ema-btn {
    width: 50%;
}

.ema-bottom-menu .ema-btn span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px;
    margin-bottom: 0;
    font-size: 21px;
    -webkit-transition: 0.4s all;
    -moz-transition: 0 .4s all;
    -ms-transition: 0 .4s all;
    -o-transition: 0 .4s all;
    transition: 0 .4s all;

}

#emaMenu .ema-inside {
    height: calc(100% - 136px);
    max-height: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ema-bottom-menu .ema-btn .ema-title {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
}

.ema-btn-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.ema-bottom-menu .inside {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.5) !important;
}

#ema.active #emaMenu .ema-menu-header span:before {
    content: "\e913";
}

#emaMenu .ema-menu-header.rtl-menu span {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.ema-btn {
    padding: 10px 0;
    border-radius: 0px;
    border-width: 1px;
    width: 50%;
    height: 14.28%;
    font-size: 15px;
}

.ema-btn span {
    font-size: 34px;
}

/*.ema-btn:nth-child(10), .ema-btn:nth-child(11) {
    width: 50%;
}

.ema-btn:nth-child(12), .ema-btn:nth-child(13), .ema-btn:nth-child(14) {
    width: 100%;
    padding: 22px 0 21px;
}

.ema-btn:nth-child(12) span, .ema-btn:nth-child(13) span, .ema-btn:nth-child(14) span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    margin-bottom: 0;
}

.ema-btn:nth-child(12) .ema-title, .ema-btn:nth-child(13) .ema-title, .ema-btn:nth-child(14) .ema-title {
    display: inline-block;
    vertical-align: middle;
}*/

#ema_feedback input, #ema_feedback textarea {
    border-radius: 0px !important;
}

@media (max-width: 993px) {
    #emaMenu .ema-menu-header span {
        top: auto;
        bottom: 25px;
    }
}

@media (max-width: 469px) {
    .ema-btn span {
        font-size: 24px;
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
        margin-bottom: 0;
    }

    .ema-btn .ema-title {
        display: inline-block;
        vertical-align: middle;
    }

    .ema-btn {
        font-size: 12px;
        width: 100% !important;
        padding: 22px 0 21px;
    }

    .ema-btn-wrapper {
        min-height: 0;
        height: auto;
    }

    #emaMenu .ema-inside {
        max-height: calc(100% - 164px) !important;
    }

    .ema-pop {
        height: calc(100% - 161px) !important;
    }

    .ema-pop.active {
        top: 136px;
    }
}

@media (max-height: 735px) {
    .ema-btn span {
        font-size: 24px;
    }

    .ema-btn .ema-title {
        font-size: 13px;
    }
}

@media (max-height: 550px) {
    .ema-btn-wrapper {
        min-height: 450px;
    }
}