#page {
    height: 100%;
}
#page #content {
    vertical-align: middle;
    width: 100%;
    display: table;
    height: 100%;
}
#content div.content-table {
    height: 100%;
    width: 100%;
    display: table;
    vertical-align: middle;
    text-align: center;
}
#content .virtualTerminal {
    display: table-cell;
    vertical-align: middle;
}

#content table.rejected,
#content table.waiting {
    height: 100%;
    position: relative;
    margin: 0 auto;
    width: 50%;
}
#content table.rejected,
#content table.waiting td {
    text-align: center;
    font-size: 2em;
}
#content table.rejected td p.bg-danger,
#content table.waiting td p.bg-info {
    opacity: 0.7;
    padding: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 2px solid #ffffff;
}
div.footer-panel-html {
    color: white;
    position: absolute;
    right: 15px;
    bottom: 22px;
}

/* MENU PANEL */
@media screen and (max-width: 900px),
    screen and (max-height: 700px) {
    #vt #menuPanel a#logo {
        width: 150px;
    }
    #vt #menuPanel div.reader-title {
        font-size: 2em;
    }
}
@media screen and (max-width: 680px),
    screen and (max-height: 700px) {
    #vt #menuPanel {
        padding: 0 10px 0 10px;
        height: 50px;
    }
    #vt #menuPanel a#logo {
        display: none;
    }
    #vt #menuPanel div.reader-title {
        font-size: 2em;
        line-height: 50px;
    }
    #vt #menuPanel div.system-lang-menu {
        top:15px;
    }
    div.footer-panel-html {
        bottom: 8px;
    }
}

/* FOOTER PANEL */
@media screen and (max-width: 680px),
    screen and (max-height: 700px) {
    #vt #footerPanel div.contact {
        float: none;
        text-align: center;
        height: auto;
        line-height: normal;
    }
    #vt #footerPanel .tech-support {
        text-align: center;
        display: block;
    }
    #vt #footerPanel {
        height: auto;
        text-align: center;
    }
    #vt #footerPanel * {
        line-height: normal;
        padding: 4px 0 2px 0;
    }
    #vt #footerPanel .sep { display: none; }
    #vt #footerPanel .sep:first-of-type { display: inline; }
    #vt #footerPanel div.contact { padding: 4px 0 2px 0; }
    div.footer-panel-html {
        bottom: 8px;
    }
}

/*div.china-icp {*/
    /*text-align: right !important;*/
    /*margin: -45px 30px 0 0;*/
    /*position: relative;*/
    /*float: right;*/
/*}*/
/*div.china-icp a {*/
    /*color: white;*/
/*}*/

/*@media screen and (max-width: 1024px) {*/
    /*#menuPanel a#logo {*/
        /*width: 150px;*/
    /*}*/
/*}*/

/*@media screen and (max-width: 800px),*/
/*screen and (max-height: 700px) {*/

/*}*/
@media screen and (max-width: 1280px),
screen and (max-height: 900px) {
    div.access-type-button.top div.cover-top-back,
    div.access-type-button.bottom div.cover-top-back {
        width: 138px; /* 168 */
        height: 138px; /* 168 */
    }
    div.access-type-button.top div.cover-top,
    div.access-type-button.bottom div.cover-top {
        width: 140px; /* 170 */
        height: 140px; /* 170 */
        padding: 5px 0 0 5px;
    }
    div.access-type-button.top div.cover-top div.cover,
    div.access-type-button.bottom div.cover-top div.cover {
        width: 130px; /* 150 */
        height: 130px; /* 150 */
        line-height: 130px; /* 150 */
    }
    div.time-cover div.time {
        font-size: 2.7em;
    }
    div.access-type-button.top .circle span.image,
    .circle span.image {
        font-size: 5em;
    }
    div.time-cover {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 900px),
screen and (max-height: 850px) {
    div.access-type-button.top div.cover-top-back,
    div.access-type-button.bottom div.cover-top-back {
        width: 118px; /* 168 */
        height: 118px; /* 168 */
    }
    div.access-type-button.top div.cover-top,
    div.access-type-button.bottom div.cover-top {
        width: 120px; /* 170 */
        height: 120px; /* 170 */
        padding: 5px 0 0 5px;
    }
    div.access-type-button.top div.cover-top div.cover,
    div.access-type-button.bottom div.cover-top div.cover {
        width: 110px; /* 150 */
        height: 110px; /* 150 */
        line-height: 110px; /* 150 */
    }
    div.time-cover div.time {
        font-size: 2.5em;
    }
    div.time-cover div.date {
        font-size: 1.3em;
    }
    div.registrate {
        margin: 0 auto 0;
    }
    div.access-type-button.top .circle span.image,
    .circle span.image {
        font-size: 4em;
    }
    div.time-cover {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 680px),
    screen and (max-height: 600px) {
/*@media screen and (max-width: 2000px) {*/
    #content table.form-main-table td.form-item-control .btn-success {
        font-size: 2em !important;
        padding: 0 10px 0 10px;
    }
    #vt #content table.rejected,
    #vt #content table.waiting td {
        font-size: 1.5em;

    }
    #vt #content table.rejected,
    #vt #content table.waiting {
        width: 80%;
    }
    /* TERMINAL */
    div.access-type-button.top div.cover-top-back,
    div.access-type-button.bottom div.cover-top-back {
        width: 68px; /* 168 */
        height: 68px; /* 168 */
    }
    div.access-type-button.top div.cover-top,
    div.access-type-button.bottom div.cover-top {
        width: 70px; /* 170 */
        height: 70px; /* 170 */
        padding: 5px 0 0 5px;
    }
    div.access-type-button.top div.cover-top div.cover,
    div.access-type-button.bottom div.cover-top div.cover {
        width: 60px; /* 150 */
        height: 60px; /* 150 */
        line-height: 60px; /* 150 */
    }
    div.access-type-button div.title {
        line-height: 35px;
        height: 35px;
    }
    div.time-cover div.time {
        font-size: 2em;
    }
    div.time-cover div.date {
        font-size: 1.1em;
    }
    div.registrate {
        margin: 0 auto 0;
    }
    div.access-type-button.top .circle span.image,
    .circle span.image {
        font-size: 3em;
    }
    div.time-cover {
        margin-bottom: 0;
        margin-top: 0;
    }
    #terminalLoginDialog {
        min-height: 300px !important;
    }
}

@media screen and (max-height: 440px) {
    #vt #footerPanel {
        position: relative;
        bottom: auto;
        margin: -55px 0 0 0;
    }
}