﻿@media only screen and (min-width: 160px) and (max-width: 800px) {
    body {
        overflow-x: unset;
        width: 100%;
        padding-left: 15px;
        padding-right: 0px;
    }

    .infohead-ClassRoom, .sms-count {
        display: none;
    }
 
        .sidebar {
        display: none;
        width: 60%;
        right: -200px;
        position: fixed;
        margin-top: 0px;
        z-index: 1000;
        overflow-y: auto;
    }

    .sidebar2 {
        height: 150%
    }

    .form-control {
        max-width: 320px;
        width: 97%;
    }

    .page-header {
        width: 98%;
        height: auto;
        min-height: 60px;
    }


    .login {
        width: 350px;
        margin-right: calc(50% - 165px);
    }

    .menu {
        float: left;
        margin-left: 20px;
        display: block;
        cursor: pointer;
        font-size: 25px;
    }

    .CloseMenu {
        float: left;
        margin-left: 20px;
        display: block;
        cursor: pointer;
        color: #333;
    }

    #DivAll {
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        padding: 0px;
        margin: 0px;
        background-color: #000;
        opacity: 0.6;
    }

    .body-content {
        padding-top: 0px;
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
        overflow-x: unset;
        margin-right: 0px;
        padding-bottom: 5px;
        overflow-x: unset
    }

    .absent-search { /*/*/
        width: 1000px;
    }

    #Re {
        padding-top: 18px;
        width: 100%;
        margin-left: 0px;
        margin-top: -18px;
        overflow-x: unset;
    }

    .btn-save {
        width: 90%;
        margin-right: 15px;
    }

    .content-table {
        width: 100%;
        overflow: auto;
        height: auto;
        display: grid
    }

    .table-header {
        min-height: 50px;
        height: auto;
        max-height: 80px;
    }

    .table {
        width: 1100px;
        margin-right: 0px;
    }

    .footer, .tr-hidden {
        display: none;
    }

    .support {
        width: 100%;
    }

    .content-support {
        width: 100%;
        margin-right: 0%;
        margin-left: 0%;
    }

    .support-message-right, .support-message-left {
        width: auto;
        min-width: 70%
    }
    /*===========Modal=====================*/
    #ModalShow {
        margin-right: 10px;
        width: 80%;
    }

    .account {
        display: none;
    }

    .content-tools {
        padding-left: 10px;
    }
 /*Msarate*/
    .toolbar {
        padding-top: 0px;
        padding-right: 10px;
 
    }
    .toolbar-title {
        text-align: right;
        margin-right: 10px;
        padding-top:15px;
    }
        .toolbar-title span {
            margin-right: 20px;
        }
    .toolbar-iconbutton {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
        justify-content: end;
    }

}
/*=======================================================*/
@media print {
    .navbar navbar-inverse navbar-fixed-top, .sidebar, .toolbar, .toolbar2, .form-control, .btn, .dropdown, #opensubdiv, a, .fa fa-user, .page-header, .control-table, .page-subject, .alert-warning, .infoPage, .table-header, .form-item {
        display: none;
    }

    .content-table {
        padding-right: 30px; /*/*/
        margin-top: 10px;
    }

    .body-content {
        width: 100%;
        margin-top: -30px;
    }

    .content, .content-search-absent {
        border: 0px;
        height: 100%;
        overflow: unset;
    }

    .absent-details { /*/*/
        display: table;
    }

    .print-head-page {
        display: block;
        font-family: Arial;
        margin-top: 20px;
        margin-bottom: 10px;
        padding-right: 50px;
    }

        .print-head-page div {
            text-align:center;
            font-size:22px;
        }
    /*Partial _printHead*/
    .print-head-page table{
        margin-top: 0px;
        width: 100%;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 18px;
        text-align: center;
        padding-right: 5px;
    }
    .PrintHead {
        display: block;
    }
        .print-head-page table td {
            border: 0px;
            width: 33%
        }
    .content-tools  {
        padding-right:25px;
    }
    .print-details-headpage {
        padding-right: 35px;
        display:block;
    }
        .footerpage {
        display: block;
    }

    .table {
        margin-left: 100px;
        display:table;
    }

    table td {
        font-family: Arial;
        font-size: 15px;
        border-bottom: solid 1px #000;
        height: 5px;
        border: 1px #000 solid;
        text-align: center;
    }

    .table td, .table th {
        border: 1px #000 solid;
    }

    .infoPage {
        background-color: #fff;
        padding-top: 0px;
        padding-right: 20px;
        font-family: Arial;
        margin-top: 28px;
        line-height: 12px;
        border: 0px;
        margin-bottom: 0px;
    }

    .alert-danger {
        display: none;
    }

    table .hidden-col {
        display: none;
    }

    .allcontrol, .footer {
        display: none;
    }

    .fa-user {
        display: none;
    }

    .Reweek-table td {
        font-size: 5px;
    }

    .Reweek-table tr {
        font-size: 6px;
    }

    .content {
        font-family: Arial;
        padding-top: 0px;
    }

    .table thead > tr > th,
    .table tbody > tr > th,
    .table tfoot > tr > th,
    .table thead > tr > td,
    .table tbody > tr > td,
    .table tfoot > tr > td {
        padding: 1px;
        line-height: 1.428571429;
        vertical-align: top;
        border-top: 1px solid #000;
    }

    .details-absent-table td {
        font-size: 12px;
    }

    h5 {
        font-family: Arial;
        padding: 0px;
        margin: 0px;
        margin-top: 10px;
    }

    .content-tools {
        border: 0px;
        padding-top: 0px;

    }
    .hidden-form{
        display:none;
    }
    /*--------------------*/
}
