﻿body {
    background-color: var(--bg-body);
    direction: var(--body-dir);
    padding-bottom: 100px;
}

#imgBackground {
    position: fixed;
    top: 0;
    right: var(--account-img-right);
    left: var(--account-img-left);
    height: 100vh;
    width: 805px;
    object-fit: cover;
}

#wrapper {
    float: var(--float-left);
    width: calc(100% - 805px);
    padding: 50px;
}

.wrapper-header {
    position: relative;
}

.wrapper-header-title {
    font-size: 40px;
    padding: var(--wrapper-header-title-pad);
    font-weight: bold;
}

    .wrapper-header-title > span {
        color: var(--co-sidebar);
    }

    .wrapper-header-title > a {
        color: #1C39BB;
        text-decoration: none !important;
    }

        .wrapper-header-title > a:hover {
            text-decoration: none;
        }

.wrapper-header-subtitle {
    font-size: 18px;
    margin-top: 10px;
    color: var(--co-828486);
}

#header-logo {
    position: absolute;
    left: var(--header-logo-account-left);
    right: var(--header-logo-account-right);
    top: 0;
}

#img-resBackground {
    display: none;
    margin: auto;
}

@media (max-width: 990px) {
    body {
        padding: 20px;
        padding-bottom: 50px;
    }

    #imgBackground {
        width: 100%;
        position: relative;
        left: unset;
        right: unset;
        top: unset;
        display: none;
    }

    #wrapper {
        width: 100%;
        padding: 0px;
        float: unset;
    }

    #img-resBackground {
        display: block;
        max-width: 100%;
    }

    .wrapper-header {
        margin-top: 20px;
    }

    .wrapper-header-title {
        font-size: 20px;
    }

    #header-logo > img {
        width: 32px;
    }

    .lang-fa {
        --wrapper-header-title-pad: 0 0 0 36px;
    }

    .lang-en {
        --wrapper-header-title-pad: 0 36px 0 0;
    }

    .wrapper-header-subtitle {
        font-size: 14px;
    }

}

@media screen and (min-width: 990px) and (max-width: 1380px) {
    .wrapper-header-title {
        font-size: 20px;
        padding-top: 20px;
    }
}

@media screen and (min-width: 990px) and (max-width: 1380px) {
    #imgBackground {
        width: 530px;
    }

    #wrapper {
        width: calc(100% - 530px);
        padding: 50px 20px;
    }
}

@media screen and (min-width: 1380px) and (max-width: 1580px) {
    #imgBackground {
        width: 660px;
    }

    #wrapper {
        width: calc(100% - 660px);
    }

    .wrapper-header-title {
        font-size: 30px;
    }
}
