﻿@media screen and (max-width: 800px) and (orientation: portrait) {
    a {
        display: block;
        font-size: large;
        padding: 5px;
        text-decoration: none;
    }

    li {
        list-style-type: none;
    }

    ul {
        margin: 0px;
        padding: 0px;
    }

    body {
        margin: 0px;
        margin-top: 40px;
        padding: 0px;
    }

    .logo {
        display: none;
    }

    .mobilHead {
        background-color: navy;
        border-bottom: 2px solid navy;
        float: none;
        height: auto;
        left: 0px;
        position: absolute;
        top: 0px;
        width: 100%;
        z-index: 1;
    }

    .caption {
        color: white;
        margin: 0px;
        padding: 5px 5px 5px 5px;
        text-align: center;
    }

    .header {
        display: none;
    }

    .topNav {
        display: none;
    }

    .subNav {
        display: none;
    }

    .sideNav {
        display: none;
        z-index: +1;
    }

    .page {
        float: none;
        left: 0px;
        padding-bottom: 100px;
        /* padding-top: 10px; */
        position: relative;
        top: 0px;
        width: 100%;
    }

    .backButton {
        background-color: blue;
        border-color: black;
        border-radius: 50%;
        border-width: 2px;
        bottom: 15px;
        height: 3.5rem;
        left: 50%;
        position: fixed;
        text-align: center;
        transform: translateX(-50%);
        width: 3.5rem;
        z-index: 2;
    }

    .backButton svg {
        left: 6px;
        position: relative;
        top: 2px;
    }

    .cancelButton {
        display: none;
    }

    .content {
        overflow: auto;
        padding: 15px 5px 5px 5px;
    }

    /* .content img {
        height: auto;
        width: 250px;
    } */

    .mobilFoot {
        background-color: white;
        bottom: 0px;
        height: 0px;
        left: 0px;
        position: fixed;
        width: 100%;
        z-index: 1;
    }

    .ipc {
        border: 2px solid #C0C0C0;
        border-collapse: collapse;
        /* margin: 30px; */
        overflow: hidden;
    }

    .ipcfloatleft {
        float: left;
    }

    .ipc td {
        border: 1px solid #C0C0C0;
        padding: 5px;
    }

    .ipc th {
        border: 1px solid #C0C0C0;
        padding: 5px;
    }

    .ipc tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .ipc sup {
        font-size: x-small;
    }

    .iframe {
        height: 100%;
        left: 0px;
        margin: 0px;
        position: fixed;
        width: 98vw;
    }

    .table1,
    th,
    td {
        border: black 1px solid;
        padding: 3px;
    }

    .table1 {
        border-collapse: collapse;
    }
    .tab, img {
        /* width:100px; */   
        width: 250px;
        height: auto;
     }
}

@media screen and (max-width: 850px) and (orientation: landscape) {
    a {
        display: block;
        font-size: small;
        padding: 5px;
        text-decoration: none;
    }

    li {
        list-style-type: none;
    }

    ul {
        margin: 0px;
        padding: 0px;
    }

    body {
        margin-top: 50px;
        padding: 5px;
    }

    .logo {
        display: none;
    }

    .caption {
        color: navy;
        display: block;
        margin: 0px;
        padding: 10px 5px 5px 5px;
        text-align: center;
    }

    .header {
        display: none;
    }

    .topNav {
        display: none;
    }

    .subNav {
        display: none;
    }

    .sideNav {
        display: none;
        z-index: +1;
    }

    .page {
        padding-top: 10px;
    }

    .backButton {
        background-color: blue;
        border-color: black;
        border-radius: 50%;
        border-width: 2px;
        height: 3.5rem;
        left: 15px;
        position: fixed;
        text-align: center;
        top: 5px;
        width: 3.5rem;
        z-index: 2;
    }

    .backButton svg {
        left: 6px;
        position: relative;
        top: 2px;
    }

    .cancelButton {
        background-color: blue;
        border-color: black;
        border-radius: 50%;
        border-width: 2px;
        height: 3.5rem;
        position: fixed;
        right: 15px;
        text-align: center;
        top: 5px;
        width: 3.5rem;
        z-index: 2;
    }

    .cancelButton svg {
        left: 0px;
        position: relative;
        top: 2px;
    }

    .content {
        overflow: auto;
        padding: 5px 5px 100px 5px;
    }

    .mobilHead {
        background-color: white;
        border-bottom: 2px solid navy;
        height: 45px;
        left: 0px;
        position: fixed;
        top: 0px;
        width: 100%;
    }

    .ipc {
        border: 2px solid #C0C0C0;
        border-collapse: collapse;
        /* margin: 30px; */
        overflow: hidden;
    }

    .ipcfloatleft {
        float: left;
    }

    .ipc td {
        border: 1px solid #C0C0C0;
        padding: 5px;
        white-space: nowrap;
    }

    .ipc th {
        border: 1px solid #C0C0C0;
        padding: 5px;
    }

    .ipc tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .ipc sup {
        font-size: x-small;
    }

    .iframe {
        height: calc(100% - 40px) !important;
        left: 0px;
        position: fixed;
        top: 45px;
        width: 100%;
    }

    .table1,
    th,
    td {
        border: black 1px solid;
        padding: 3px;

    }

    .table1 {
        border-collapse: collapse;
    }
    .tab, img {
        width:250px;
        height: auto;

    }
}


@media screen and (min-width: 851px) {
    body {
        padding: 0px;
    }

    .backButton {
        display: none;
    }

    .caption {
        display: none;
    }

    .header {
        height: 34px;
        left: 0px;
        position: fixed;
        top: 0px;
        z-index: 1;
    }

    .header ul {
        background-color: navy;
        height: 34px;
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        position: fixed;
        width: 100%;
    }

    .header li {
        background-color: navy;
        float: left;
        height: inherit;
    }

    .header a {
        border-radius: 10px;
        color: white;
        font-size: 20px;
        line-height: 34px;
        padding: 6px 30px 6px 30px;
        text-align: center;
        text-decoration: none;
    }

    .header a:hover {
        background-color: rgb(24, 24, 167);
    }

    .logo {
        height: 34px;
        width: 34px;
    }

    .logo img {
        height: 34px;
        position: fixed;
        width: 34px;
    }

    .topNav {
        height: 34px;
        left: 0px;
        position: fixed;
        top: 34px;
        width: 100%;
        z-index: 1;
    }

    .topNav ul {
        background: #E0E0E0;
        border-bottom: 2px solid black;
        height: 34px;
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }

    .topNav li {
        float: left;
        height: inherit;
    }

    .topNav a {
        border-radius: 10px;
        color: black;
        font-size: 20px;
        line-height: 34px;
        padding: 6px 30px 6px 30px;
        text-align: center;
        text-decoration: none;
    }

    .topNav a:hover {
        background-color: #C0C0C0;
        border-radius: 7px;
    }

    .subNav {
        height: 34px;
        left: 0px;
        position: fixed;
        top: 69px;
        width: 100%;
        z-index: 2;
    }

    .subNav ul {
        background: #E0E0E0;
        border-bottom: 1px solid black;
        height: 32px;
        list-style-type: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }

    .subNav li {
        float: left;
        height: inherit;
    }

    .subNav a {
        border-radius: 10px;
        color: black;
        font-size: 18px;
        line-height: 32px;
        padding: 6px 30px 6px 30px;
        text-align: center;
        text-decoration: none;
    }

    .subNav a:hover {
        background-color: #D0D0D0;
        border-radius: 7px;
    }

    .sideNav {
        background-color: #F0F0F0;
        border-right: 1px black solid;
        height: calc(100% - 103px);
        left: 0px;
        overflow: scroll;
        position: fixed;
        scrollbar-color: #C0C0C0 transparent;
        scrollbar-width: thin;
        top: 101px;
        width: 350px;
        z-index: 1;
    }

    .sideNav::-webkit-scrollbar {
        background-color: transparent;
        width: 8px;
    }

    .sideNav::-webkit-scrollbar-thumb {
        background: #C0C0C0;
        border-radius: 4px;
    }

    .sideNav ul {
        list-style: none;
        overflow: hidden;
    }

    .sideNav li {
        padding: 2px 2px;
    }

    .sideNav a {
        color: black;
        font-size: 15px;
        padding: 2px 5px;
        text-decoration: none;
    }

    .sideNav a:hover {
        background-color: #D0D0D0;
        border-radius: 7px;
    }

    .page {
        left: 351px;
        padding: 15px 15px 5px 15px;
        position: absolute;
        top: 103px;
        z-index: 0;
    }

    .page a {
        color: #0000FF;
    }

    /* .content {
        width: 100px;

    } */

    .img {
        height: 700px;
        left: 10px;
        position: relative;
        top: 10px;
    }

    .iframe {
        height: calc(100vh - 150px);
        width: calc(100vw - 390px);
    }

    .ipc {
        border: 2px solid #C0C0C0;
        border-collapse: collapse;
        margin: 30px;
        overflow: hidden;
    }

    .ipcfloatleft {
        float: left;
    }

    .ipc td {
        border: 1px solid #C0C0C0;
        padding: 5px;
        white-space: nowrap;
    }

    .ipc th {
        border: 1px solid #C0C0C0;
        padding: 5px;
    }

    .ipc tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .ipc sup {
        font-size: x-small;
    }

    .disNone {
        background-color: #0000FF;
        display: none;
    }

    .floatnone {
        clear: both;
    }

    .grid1 {
        display: grid;
        grid-template-columns: max-content;
    }

    .grid2 {
        display: grid;
        grid-template-columns: max-content max-content;
    }

    .copy {
        cursor: cell;
    }

    .styleNavSelected {
        background-color: #D0D0D0;
        border-radius: 7px;
    }

    .styleTopNavSelected {
        background-color: rgb(24, 24, 167);
    }

    .navSelected {
        font-weight: bolder;
    }

    a:not([href]):hover {
        cursor: pointer;
    }

    .table1,
    th,
    td {
        border: black 1px solid;
        padding: 3px;
    }

    .table1 {
        border-collapse: collapse;
    }

    .listitems li {
        height: 25px;
    }
}