﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
#E47D29 - ScanOne Orange
#57a000 - Green menu (old) and #459300 
#034af3 - Menu link (old)
#505abc - Menu link visited (old)

#EB8F34 - ScanOne Orange (new)
#D77515 - Darker Orange (monochromatic)
#3490EB - Complementary Blue
----------------------------------------------------------*/
html, body {
    min-width: 1024px;
    min-height: 768px;
}

body {
    background-image: url('Background.jpg' );
    background-position: left top;
    background-repeat: repeat-x;
    font-size: .75em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
    background-color: #EEF1FA;
}

    .public {
        background-image: url('');
    }

        .public .content-box {
            width:900px;
            height:768px;
        }

a:link {
    color: #3490EB;
    text-decoration: none;
}

a:visited {
    color: #3490EB;
}

a:hover, a:visited:hover {
    color: #505ABC;
    text-decoration: underline;
}

a:active {
    color: #12eb87;
}

a.white-link,
a.white-link:visited {
    color: #fff;
    text-decoration: none;
}

    a.white-link:hover,
    a.white-link:active {
        color: whitesmoke;
        text-decoration: underline;
    }

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #3C80DB;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}
.h4 {
    font-size: 1.2em;
    font-weight:bold;
    margin-top:5px;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0 0 20px 0px;
    background-image: url( 'BannerTopEdge.gif' );
    background-position: bottom;
    background-repeat: repeat-x;
}

    #header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 32px !important;
    }

.application-title {
    text-align: center;
}

    .application-title span {
        color: #f5f5f5;
    }

.user-welcome {
    margin-top: 30px;
    margin-bottom: -10px;
}

#main {
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
    /*background-image: url(   'BannerBottomEdge.gif' );
	background-position: bottom;
	background-repeat: repeat-x;*/
}

#main-content {
    position: absolute;
    left: 230px;
    right: 0px;
    padding: 40px 20px 20px;
    margin: 0;
    min-width: 700px;
}

.public #main-content {
    position: absolute;
    left: 0px;
    right: 0px;
    padding: 20px;
    margin: 0;
    min-width: 700px;
}
#footer {
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

.public.reset-password {
    background-color: #f0f0f0;
    text-align:center;
    margin-top:80px;
}
    .public.reset-password #main {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: 400px;
    }

.reset-password-area, .reset-password-form {
    width: 560px;
    height: auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.reset-password .header {
    width: 100%;
    background: #e5e5e5 url('../images/bg-content-box.gif') top left repeat-x;
    margin-top: 1px;
    height: 40px;
}

.reset-password .header h3 {
    padding: 12px 15px 10px;
    float: left;
}

    .reset-password .content {
        width: 100%;
        margin: 20px 10px 10px 10px;
        padding-left:20px;
    }

.email-success {
    color:black;
}

.email-failure {
    color: red;
}

tr.web-enrolment td
{
    background-color:#fff;
}
/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/
fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset label {
        display: block;
        color: #303030;
    }

        fieldset label.inline {
            display: inline;
        }


input[type="password"] {
    width: 200px;
    border: 1px solid #3C80DB;
    color: #696969;
}


/* TABLE
----------------------------------------------------------*/

table {
    border: Solid 1px #ccc;
    border-collapse: collapse;
    color: #283B56;
}

    table td {
        padding: 5px;
        border: Solid 1px #ccc;
    }

    table th {
        padding: 12px 15px 9px 15px;
        text-align: left;
        border: Solid 1px #ccc;
        height: 18px;
        /*background-image: url("theme/images/bg-content-box.gif"); 
	background-position: left;
	background-repeat: repeat-x;*/
        background-color: #e9e9e9;
        color: #222;
        cursor: pointer;
        font-size: 17px;
        font-weight: bold;
    }

/********* borderless table for layout */
.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
    border: 0;
}

    .table-borderless label {
        margin-left: 0;
    }

/* MISC  
----------------------------------------------------------*/
.topRight {
    top: 20px;
    right: 20px;
    position: absolute;
    z-index: 100;
}

.bottomLeft {
    position: fixed;
    bottom: 0;
    left: 0;
    margin-bottom: 10px;
    margin-left: 20px;
}

.clear {
    clear: both;
}

.error {
    color: Red;
}
.ml0
{
    margin-left:0px;
}
.ml20
{
    margin-left:20px;
}

#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

    #logindisplay a:link {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: white;
        text-decoration: none;
    }

.checkboxlist label[for] {
    display: inline;
}

.field-validation-error {
    color: #ff0000;
    background-image: url( 'Error.png' );
    background-position: left;
    background-repeat: no-repeat;
    padding: 0px 0px 0px 20px;
    font-size: 0.9em;
}

.input-validation-error {
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-size: 0.9em;
    padding: 4px;
    color: #ff0000;
}

    .validation-summary-errors li {
        margin: 0px;
        padding: 0px;
        list-style: none;
        list-style-type: none;
        margin-left: 50px;
    }

.layoutTable {
    border: 0px;
    width: 100%;
}

    .layoutTable td {
        border: 0px;
        vertical-align: middle;
    }

    .layoutTable input {
        /*width:100%;*/
    }

.section-header {
    margin: 20px 0 0;
    padding: 10px 5px;
    font-weight:bold;
}

.tooltip {
    border-bottom: 1px dotted #0077AA;
    cursor: help;
    line-height: normal;
    display: inline;
    padding-bottom: 0px;
    vertical-align: middle;
}

    .tooltip::after {
        /*background: rgba(0, 0, 0, 0.75);*/
        background: rgba(0, 144, 255, 0.75);
        border-radius: 8px 8px 8px 0px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
        color: #fff;
        content: attr(data-tooltip); /* The main part of the code, determining the content of the pop-up prompt */
        margin-top: -0px;
        margin-left: 10px;
        opacity: 0; /* Our element is transparent... */
        padding: 3px 7px;
        position: absolute;
        visibility: hidden; /* ...and hidden. */
        font-weight: normal;
        transition: all 0.4s ease-in-out; /* To add some smoothness */
    }

    .tooltip:hover::after {
        opacity: 1; /* Make it visible */
        visibility: visible;
    }

#CompressedTable tbody tr.alt-row {
    background: #ffffff !important;
}

#CompressedNormal tr td input,
#CompressedNormal tr td {
    background: #ffffff !important;
    width: 220px;
}

    #CompressedNormal tr td:first-child {
        background: #ffffff !important;
        width: 120px !important;
    }
.smalltextbox{
    width:150px;
}
.mediumtextbox {
    width: 300px;
}
.largetextbox {
    width: 800px;
}
.width100Percent
{
    width:100%;
}

.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

    .ui-timepicker-div dl dt {
        height: 25px;
        margin-bottom: -25px;
    }

    .ui-timepicker-div dl dd {
        margin: 0 10px 10px 65px;
    }

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.marginLeftRight
{
    margin-left:5px;
    margin-right:5px;
}

/* tableSorter styles */
/*table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}*/
edit,
table.tablesorter thead tr .header.sorter-false {
    width: 140px;
    background-image: url();
}

table.tablesorter thead tr th, table.tablesorter tfoot tr th {
    background-color: #E9E9E9;
}

table.tablesorter thead tr .header {
    background-image: url(bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
/*table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}*/
/*table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}*/
table.tablesorter thead tr .headerSortUp {
    background-image: url(asc.gif);
}

table.tablesorter thead tr .headerSortDown {
    background-image: url(desc.gif);
}
/*table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #8dbdd8;
}*/

.date {
    width: 70px;
}

.time {
    width: 50px;
}

.text {
    width: 250px;
}

.longtext {
    width: 500px;
}

.email {
    width: 250px;
}

td label {
    display: inline !important;
    margin-left: 20px;
    margin-right: 10px;
}

label.checkbox {
    margin-left: 10px;
    margin-right: 30px;
}

td {
    /*border: 1px pink solid !important;*/
}

#weeklyattendancesummary {
    margin-top: 20px;
    margin-bottom: 20px;
}

    #weeklyattendancesummary th, #weeklyattendancesummary td {
        text-align: center;
        min-width: 80px;
        width: 80px;
    }

        #weeklyattendancesummary th:first-child, #weeklyattendancesummary td:first-child {
            text-align: left;
        }

#simpletable {
    width: 50% !important;
}

    #simpletable td {
        border: 0px;
        background-color: white;
    }

        #simpletable td:first-child {
            width: 100px;
        }

#loginversion {
    position: relative;
    top: 8px;
    font-size: 0.7rem;
}

#dialogs {
    visibility: hidden;
}

.ui-dialog-content {
    background-color: #EB8F34;
}

#webversion {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 0.6rem;
    visibility: hidden;
}

.small {
    font-size: 0.7rem;
}

.search {
    border: 1px solid;
    margin-bottom: 20px;
}

    .search label {
        display: inline;
        padding-right: 5px;
        font-weight: normal;
    }

    .search input[type=text] {
        margin-right: 20px;
    }

    .search input[type=checkbox] {
        margin-right: 5px;
    }

.present {
    background-color: green;
    color: white;
}

#PersonList td {
    vertical-align:top;
}
#PersonPhoto {
    position: absolute;
    left: 750px;
}

    #PersonPhoto label {
        display: block;
    }

    #PersonPhoto img {
        display: block;
        margin-bottom: 10px;
        max-width: 500px;
    }

.right {
    float: right;
}

.left {
    float: left;
}

.plain td {
    border-width: 0;
}

#registeredfingerprints, #securitymode {
    padding: 5px;
    margin-top: 10px;
    width: 50%;
}

    #registeredfingerprints table, #securitymode table {
        margin-top: 5px;
    }

        #registeredfingerprints table th, #securitymode table th {
            font-size: 0.95rem;
        }

.fixed_top {
    position: absolute !important;
    top: 30px;
    left: 20%;
    width: 30% !important;
    max-width: 400px;
    height: auto;
}

/*  Weekly attendance summary styles */
.skinny4 {
    width: 10% !important;
    min-width: 1% !important;
    max-width: 10% !important;
}

.skinny5 {
    width: 8% !important;
    min-width: 1% !important;
    max-width: 8% !important;
}

.skinny6 {
    width: 7% !important;
    min-width: 1% !important;
    max-width: 7% !important;
}

@media screen and (max-width: 1024px) {
    .skinny4 {
        width: 8% !important;
        max-width: 8% !important;
    }

    .skinny5 {
        width: 7% !important;
        max-width: 7% !important;
    }

    .skinny6 {
        width: 5% !important;
        max-width: 5% !important;
    }
}

@media screen and (max-width: 900px) {
    .skinny4 {
        width: 6% !important;
        max-width: 6% !important;
    }

    .skinny5 {
        width: 5% !important;
        max-width: 5% !important;
    }

    .skinny6 {
        width: 4% !important;
        max-width: 4% !important;
    }
}

.hide {
    display: none;
}

/* ID label*/
#camera {
    display: inline-block;
    background-color: #eee;
    width: 250px;
    height: 300px;
    margin: 0.5em;
}

    #camera .placeholder {
        padding: 0.5em;
    }

.id-card #camera {
    display:inline-block;
    position:relative;
    background-color: #fff;
    width: 250px;
    height: 300px;
    margin: 10px;
}
.id-card #camera_instructions {
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 0px;
}

#snapshots,
#previewDiv {
    display: inline-block;
    background-color: #eee;
    width: 250px;
    height: 300px;
    margin: 0.5em;
}

    #snapshots .placeholder {
        padding: 0.5em;
    }

#upload_status {
    margin-top: 0.4em;
}

.huge-button {
    height: 3em;
    width: 10em;
    font-size: large;
}

.field-inline {
    display:inline;
}

.error-info
{
    color:#000;
    margin-top:20px;
    margin-bottom:20px;
}

.info-success {
    color: #3c763d;
    margin:20px 0 10px;
}

/*  Put in some bootstap stuff as upsets the site if put the whole thing in. Why wasn't it added in the first place .... ? */

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

    .alert-success hr {
        border-top-color: #c9e2b3;
    }

    .alert-success .alert-link {
        color: #2b542c;
    }

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

    .alert-info hr {
        border-top-color: #a6e1ec;
    }

    .alert-info .alert-link {
        color: #245269;
    }

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

    .alert-warning hr {
        border-top-color: #f7e1b5;
    }

    .alert-warning .alert-link {
        color: #66512c;
    }

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

    .alert-danger hr {
        border-top-color: #e4b9c0;
    }

    .alert-danger .alert-link {
        color: #843534;
    }

.pl-20 {
    padding-left: 20px;
}

.pr-20 {
    padding-right:20px;
}
.pt-10 {
    padding-top:10px;
}

.content-box-section {
   margin: 0px 0 20px;
}
tr.inactive td, .content-box.inactive label {
    background-color: #FEF5E7;    
}

button.disabled
{
    background-color:gray;
}

#clientdownload
{
    position:absolute;
    bottom:50px;
    left:50px;    
}

#cityattribution {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

img.thumbnail {
    width: 40px;
}

tr.align-middle > td
{
    vertical-align:middle;
}
.paused
{
    color:orangered;
}
#frInfo {
    position: absolute;
    width: 50%;
    left:48%;
    top:100px;
}

#frEnrolment {
    position: relative;
    top: 10px;
    left: 10px;
    border: 1px solid #ccc;
    width: 90%;
    padding:10px;
}
#frEvent
{
    margin-top:10px;
}
.fr-inprogress
{
    color:green;
    font-weight: bold;
}
.fr-completed {
    color: #000;
}
#frUsage {
    position: relative;
    top: 40px;
    left: 10px;
    width: 45%;
    border: 1px solid #ccc;
}

#frLicense {
    position: relative;
    top: -155px;
    left: 50%;
    width: 45%;
    border: 1px solid #ccc;
}
.expired {
    color:orangered;
    font-weight:bold;
}

.filter
{
    margin-bottom: 20px;
    border:1px black;
}
.filter .field
{
    margin-right: 40px;
    display: inline-block;
}

.filter .field .export {
    margin-right: 80px;
    display: inline-block;
}

.filter .field label {
    display: inline-block;
    margin-right: 10px;
}

.linking-list {
    height: 500px;
    width: 400px;
}

.mediumblock {
    display: inline-block;
    width: 600px;
    margin: 0em;
    vertical-align: top;
    padding-bottom:20px;
}

#enrol-camera {
    display:inline;
    width:100%;
    text-align:left;
    background-color: #fff;
}

#camera-box1 {
    display: flex;
    justify-content: top;
    align-items: center;
    flex-direction: column;
    margin-top: 0px;
    margin-bottom: 0px;
    overflow: hidden;
}

#video {
    width: 100%;
    height: 100%;
}


#enrolment-guide {
    position: absolute;
    width: 50%;
    height:auto;
    opacity: 0.5;
    z-index: 1;
}

#camera-instructions {
    position: absolute;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    background: white;
    padding: 20px;
    margin: 0px;
    opacity: 0.65;
    z-index: 99999;
}

    #camera-instructions-processing {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: left;
        display: block;
        width: 100%;
    }
    #camera-box2 {
        /*visibility: hidden;*/
    }

    #camera-introduction {
        font-size: 1em;
        font-weight: normal;
    }

    #camera-denied-msg {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        overflow: hidden;
        text-align: center;
        padding: 60px 10px;
        position: relative;
    }

    #biodataacknowledgement {
        line-height: 20px;
    }

        #biodataacknowledgement h1 {
            color: #000;
            margin-bottom: 10px;
        }

        #biodataacknowledgement li {
            margin-bottom: 6px;
        }



/*  Small resolution */
@media only screen and (max-width: 600px) {
    body.public {
        width: 550px;
    }

    .public .content-box {
        width: 520px;
        height: 1024px;
    }

    #camera-box1, #camera-instructions, #camera-instructions-processing, #camera-box2 {
        width: auto;
    }

    #camera-box1 {
        justify-content: bottom;
    }

    #enrolment-guide {
    }
    #camera-instructions {
        margin-top: 300px;
    }

    .public #logo {
        display: none;
    }
}

.integration td { vertical-align:middle;}
.text-input {
    /*width: 30%; */
    box-sizing: border-box;
    min-width: 50px;
}

tr.total td {
    font-weight: bold;
    background-color: #e8e8e8;
}

/* Custom CSS for centering the div */
.center-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ccc;
    padding: 20px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    min-width: 320px;
}

#enrol-cert
{
    margin: 20px 0px 30px 0px;
}
#enrol-cert .row
{
    margin-bottom:10px;
}
#enrol-cert .date
{
    width:90px;
}
#enrol-cert label
{
    width:100px;
}

#cert-document{
    position:relative;
    float:left;
    border: 1px gray solid;
    padding:10px;
    top:-210px;  
    left:540px;
}
#cert-document img
{
    max-height:140px;
}
@media only screen and (max-width: 1400px) {
    .center-div {
        position: absolute;
        top: 20%;
        left: 20%;
        transform: translate(-20%, -20%);
    }
}

@media only screen and (max-width: 1024px) {
    .center-div {
        position: absolute;
        top: 10%;
        left: 10%;
        transform: translate(-10%, -10%);
    }
}
/*  Small resolution */
@media only screen and (max-width: 512px) {
    .center-div {
        position: absolute;
        top: 2%;
        left: 2%;
        width: 96%;
        height: auto;
        transform: translate(0%, 0%);
    }

    .text-input {
        width: 100%;
    }

    #step3, #step4 {
        min-height: 600px;
    }    
}


