@media (max-width: 1300px)
{
    #SideBar
    {
        width: 256px;
    }
    main
    {
        right: 256px;
        width: calc(100% - 256px);
    }

    main .main
    {
        padding: 12px;
    }


    #SideBar footer
    {
        padding: 12px;
    }
}

@media (max-width: 1212px)
{

    #SideBar
    {
        position: fixed;
        right: -322px;
        top: 0;
        width: 320px;
        height: 100%;
        transition: right 0.3s ease; /* انیمیشن برای نمایش نوار کناری */
        z-index: 1000; /* بالاتر از overlay */
    }
    main
    {
        right: 0;
        top: 64px;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
    }

    #SideHeader
    {
        display: block;
        background: #FFF;
        height: 64px;
        overflow: hidden;
        border-bottom: solid 1px #EEE;
        z-index: 902 !important;
        position: fixed;
        width: 100%;


    }

    #SideHeader .avaTarBox
    {
        float: left;
        padding: 11px 16px;
        cursor: pointer;
        display: inline-block;

    }

    #SideHeader .avaTarBox .Box
    {
        width: 42px;
        height: 42px;
        background: linear-gradient(-132deg,rgba(128, 4, 128, 0.8), rgba(179, 2, 180, 0.8), rgba(0, 49, 218, 0.8), rgba(0, 162, 255, 0.8));
        border-radius: 32px;
        text-align: center;
        line-height: 42px;
        position: relative;
    }
    #SideHeader .avaTarBox .Box img
    {
        width: 100%;
        height: 100%;
        border-radius: 32px;
    }

    #SideHeader #menuTbTn
    {
        display: inline-block;
        float: right;
        cursor: pointer;
    }
    
    #SideHeader  span
    {
        display: inline-block;
        height: 64px;
        line-height: 64px;
    }
    #SideHeader  .iconmenU
    {
        display: inline-block;
        width: 64px;
        height: 64px;

        background: url(../media/icon/menu.png);
        background-position: center;
        background-size: 42px;
        background-repeat: no-repeat;
        float: right;
    }

    #SideHeader .info
    {
        float: left;
        display: inline-block;
        line-height: 22px;
        height: 52px;
        padding-top: 12px;
        width: 112px;
        overflow: hidden;
        text-align: left;
    }
    #SideHeader .info h1
    {
        height: 22px;
        overflow: hidden;
    }

    #SideHeader .info h2
    {
        font-weight: bold;
    }

    #SideHeader .noTificaTion
    {
        float: left;
        background: url('../media/icon/noTificaTion.png');
        background-position: center;
        background-size: 24px;
        background-repeat: no-repeat;
        width: 42px;
        height:42px;
        cursor: pointer;
        background-color: #eee;
        border-radius: 32px;
        margin: 11px 16px;
    }
    #SideHeader .noTificaTion span
    {
        width: 18px;
        height: 18px;
        background: red;
        color: #FFF;
        border-radius: 32px;
        font-weight: bold;
        display: inline-block;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
    }

    #SideHeader .noTificaTion span:empty
    {
        display: none;
    }

    main .main
    {
        padding: 16px;
    }
    #SideBar header
    {
        padding: 16px;
    }

    #SideBar footer
    {
        padding: 16px;
    }

        
    #sideCloseBTn {
        display: block;
    }
}

@media (max-width: 940px)
{
    #planBox
    {
        width: calc(100% - 32px);
        max-width: 720px;
    }
    
    #plans {
        width: 100%;
        overflow: scroll;
        white-space: nowrap;
        margin-bottom: 8px;
    }
    #planBronze
    {
        margin-right: 0 !important;
    }
    #planGold
    {
        margin-left: 0 !important;
    }
    #planBronze,
    #planSilver,
    #planFree,
    #planGold {
        white-space: collapse;
        display: inline-block;
        width: 280px;
        height: 442px;
        margin: 8px;
        vertical-align: top;
    }
    #planFree
    {
        position: relative;
    }
    #planFree .priceBox
    {
        position: absolute;
        bottom: 16px;
        right: 16px;      
    }


    .scrollBox
    {
        display: block;
        margin-bottom: 16px;
    }

}

@media (max-width: 720px)
{


    .scoreBoxGold, .scoreBoxSilver
    {
        width: 100% !important;
        margin: 8px 0 !important;
    }

    #AcTions li div
    {
        height: 76px;
        line-height: 1.8;
        
    }
    #AcTions li button
    {
        top: 74px !important;
        left: 16px !important;
    }
    .clubHeader
    {   
        margin: 32px 0 auto 0; 
    }

    main .main #dasBox #dasCourseBox
    {
        width: calc(100% - 42px);
        position: relative;
        height: 132px;
    }
    main .main #dasBox #dasExamBox
    {
        width: calc(100% - 42px);
        float: left;
        height: 132px;
        position: relative;
    }

    
    main .main #dasBox #dasTransacTionsBox
    {
        width: calc(100% - 42px);

    }

    main .main #dasBox #dasExamBox .linkbTn,main .main #dasBox #dasCourseBox .linkbTn
    {
        position: absolute;
        bottom: 16px;
        right: 16px;
    }

    main
    {
        height: calc(100vh - 128px);
        bottom: 64px;
        z-index: 900;
    }

    #SideFooTer
    {
        display: block;
        position: fixed;
        bottom: 0;
        display: block;
        background: #FFF;
        height: 48px;
        overflow: hidden;
        border-top: solid 1px #EEE;
        width: calc(100% - 16px);
        padding: 6px 8px 10px 8px;
        z-index: 901;
    }

    .club #SideFooTer
    {
        padding: 6px 8px 10px 8px;
        height: 66px;
        width: 100%;
    }


    #SideFooTer ul {
        display: flex;
        justify-content: space-evenly; /* یا می‌توانید از space-between استفاده کنید */
        padding: 0;
        margin: 0;
        list-style-type: none; /* حذف استایل‌های پیش‌فرض لیست */
    }
    
    #SideFooTer ul li {
        flex: 1; /* هر آیتم به اندازه مساوی از فضای موجود استفاده می‌کند */
        text-align: center; /* متن هر آیتم را در وسط قرار می‌دهد */
        font-size: 14px;
        color: #000;
        opacity: 0.6;
    }
    #SideFooTer ul li a{

        color: #000;
    }

    #SideFooTer ul li i {
        width: 100%;
        margin: 0;
        display: block;
        float: none;
        margin-bottom: 4px;
        background-size: 32px !important;
    height: 32px;
    }
    #SideFooTer ul .acTive
    {
        opacity: 1 !important;
        filter: invert(23%) sepia(57%) saturate(5407%) hue-rotate(268deg) brightness(90%) contrast(109%);
    }
    #SideFooTer ul .acTive a
    {
    }

    #courseBox
    {
        padding: 16px 8px 16px 0;
    }


    #seTTing form .inpuTbox label
    {
        width: 100%;
        display: block;
        float: auto;
        margin-bottom: 8px;
    }
    
    label[for="job"]
    {
        width: 100%;
        display: block;
        float: auto;
        margin-bottom: 8px;
    }
    
    #seTTing form .malTiSelecTTbox
    {
        height: 98px;
    }
    
    #seTTing form .inpuTbox input, #seTTing form .inpuTbox textarea, #seTTing form .inpuTbox button
    {
        width: calc(100% - 22px) !important;
    }
    #seTTingUserForm .add
    {
        width: 196px !important;
        margin-right: 0 !important;
    }
    #seTTing form .inpuTbox select
    {
        width: 100%;
    }

    .select2
    {
        width: 100%;
    }

    #mag iframe
    {
        margin: 0;
        height: calc(100vh - 144px);
        border-radius: 0;
    }
    #exam .card
    {
        width: 100%;
    }

    #seTTingUserForm .m30r
    {
        margin-right: 0 !important;
    }

    #seTTing form .malTiSelecTTbox select
    {
        width: 100% !important;
    }
}



