﻿html, body {
    overflow-y: auto;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    /* height: 60px; */
    border-bottom: 1px solid #ededed;
}

header .content {
    width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    box-sizing: border-box;
}

header .content .dx-toolbar-items-container {
    height: 42px;
}

content {
    display: block;
    width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-grow: 1;
}

footer {
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
}

footer .external-footer {
    background-color: #2D3236;
    height: 100%;
}

footer .footer {
    width: 1024px;
    height: 100%;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

footer .copyright {
    color: #fff;
    padding-top: 19px;
}

footer .footer .logo-powered {
    float: right;
    color: #fff;
    width: 120px;
    margin-top: 10px;
    position: relative;
    height: 36px;
    background-image: url(../images/logo-jazea.svg);
    background-size: 120px 36px;
    background-repeat: no-repeat;
    opacity: 0.5;
}

@media screen and (max-width : 1024px) {
    html, body {
        height: 100%;
        display: block;
    }

    header {
        display: none;
    }

        header .content {
            width: 100%;
        }

    content {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    footer {
        display: none;
    }

    footer .footer {
        width: 100%;
    }
}


.p-show{
    display: block;
}
.m-show,.m-flex{
    display: none!important;
}
@media screen and (max-width : 1023px){
    .p-show{
        display: none!important;
    }
    .m-show{
        display: block!important;
    }
    .m-flex{
        display: flex!important;
    }
}