﻿/* DEFAULTS
----------------------------------------------------------*/

* { border: 0; margin: 0; padding: 0; font-size: 1em; }

html, body, form, #wrap
{
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-size: 1em;
    line-height: 1.5em;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu;
    margin: 0px;
    padding: 0px;
    color: #323232;
}
body.canlist {
    overflow-y: scroll;
}

a { text-decoration: none; color: inherit; }

input { border: 1px solid #bbb; box-sizing: border-box; }
input[type="file"], input[type="checkbox"], input[type="radio"], input[type="button"] { border: 0px; }

.header a { color: #fff; }

.main, .headercontainer { width: 1680px; max-width: 95%; margin: 0 auto; position: relative; }

.fullwidth { max-width: 100%; }

.main a:link
{
    color: inherit;
    text-decoration: none;
}

.main > div > div > a:link
{
    display: block;
    width: 100%;
    height: 100%;
    font-weight: normal;
}

.main a:hover, .main a:active
{
    color: #65bfbc;
}

sup {
    font-size: .5em;
    color: #888;
}

/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #444;
    text-transform: none;
    font-weight: bold;
    margin-bottom: 0;
}

h1 {
    font-size: 4em;
    margin-top: .5em;
    margin-left: 15px;
    padding-bottom: .15em;
    line-height: 1em;
    font-weight: 100;
    overflow: hidden;
}

.title > h1
{
    margin-left: 0;
}

    h1 i, h2 i, a i {
        font-style: normal;
        opacity: .25;
    }

h1 i {
    float: right;
    font-size: .5em;
    margin-top: 0.5em;
    margin-bottom: -0.5em;
}

h2
{
    margin-top: .5em;
    margin-left: 15px;
    font-size: 3em;
    line-height: 1em;
    font-weight: 100;
    opacity: .66;
}

#ctl00_MainContent_homescreenTitle
{
    margin-left: 0;
}

h3
{
    font-size: 2em;
    line-height: 1em;
}

h4
{
    font-size: 1em;
}

h5, h6
{
    font-size: 1em;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 100%;
    margin: 0;
}

body {
    background: #f4f4f4;
    background: url('/images/v2/bgl-light.png');
    background-repeat: repeat-x;
    background-size: contain;
    background-attachment: fixed;
}

#loaddiv {
    display: none;
    z-index: 9;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #3a3a3a url('/images/v2/loading-infinity-round.gif') no-repeat center center;
    opacity: 0.5;
}
#loaddiv a { display: block; width: 100%; height: 100%; display: none; }

.bar
{
    z-index: 9;
    position: absolute;
    left: 0px;
    /*background: #ccc;*/
    border-right: 1px solid #444;
    width: 30%;
    height: 100%;
    -ms-overflow-y: scroll;
    overflow-y: scroll;
    -ms-overflow-x: hidden;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.surface
{
    z-index: 8;
    position: absolute;
    left: 30%;
    background: #ffffff;
    width: 70%;
    height: 100%;
    -ms-overflow: scroll;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translate3d(0, 0, 0);
}

/* .surface div, .surface { -webkit-transform: translate3d(0, 0, 0); } */

#surfaceScroller
{
    float: left;
    clear: both;
}

.thesurface
{
    display: block;
    clear: both;
}

.headerspace { min-height: 48px; height: 48px; display: block; }

.header
{
    z-index: 10;
    position: absolute;
    text-align: center;
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #000;
    display: block;
    width: 100%;
    height: 48px;
}

.headerfixed { position: fixed; box-shadow: 0 0 1em rgba(0, 0, 0, .33); opacity: .9; }

.headlogo { height: 1.5em; width: auto; }

.header h1
{
    width: 100%;
    font-weight: bold;
    padding: 4px 0;
    color: #f4f4f4;
    text-shadow: rgba(0, 0, 0, 1) 0px -1px 0px;
    line-height: 1.5em;
    font-size: 1.5em;
    margin-top: 0;
}

.main
{
    /*padding: 8px;*/
    min-height: 100%;
}

.main > div
{
    /*border: 1px solid #aaa;
    box-shadow: 0 .16em .4em rgba(0, 0, 0, .16);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #eee;*/
    margin-top: 1em;
}

.touchLook .main > div {
	background: #fff;
    background-color: rgba(255, 255, 255, .33);
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
	border-radius: 3px;
    padding: .25em 0;
}

.touchLook .main > div:empty {
    padding: 0;
}

.touchLook .main > div.transparent { 
    background: transparent;
    box-shadow: none;
    border: none;
}

.highlightdiv
{
    background: #faede3;
}

.hiddendiv {
    opacity: .5;
}

.main > div div {
    overflow: hidden;
    transition: all .3s ease-in-out;
    border-radius: .33em;
    padding: .5em 1em;
    margin: .33em .5em;
    background-color: #fcfcfc;
    background-color: rgba(252, 252, 252, .66);
    border: 1px solid #f8f8f8;
}

.main > div div div {
    border-color: #f4f4f4;
}

.main > div.transparent div {
    background-color: #f8f8f8;
    background-color: rgba(248, 248, 248, .66);
}

.main > div div:hover {
    background-color: #fafafa;
    background-color: rgba(248, 248, 248, .75);
}

.main > div div.transparent {
    background-color: transparent;
    border-color: transparent;
}

.main > div div.highlightatn {
    border-color: #aecdcc;
    background-color: #deeded;
}

.main > div div.highlightatn a {
    font-weight: bold;
}

    .main > div div.highlightatn a span {
        font-weight: normal;
    }


.main > div div.mainatn {
    display: inline-block;
    padding: 0;
    background-color: #3c7674;
    color: #fff;
    border-radius: 1em;
    margin-right: 0;
}

.main > div div.mainatn a {
    font-weight: bold;
}

.main > div div.altatn {
    display: inline-block;
    padding: 0;
    background-color: #cbe9e7;
    border-radius: 1em;
    margin-right: 0;
}

.main > div div.mainatn a, .main > div div.altatn a { 
    padding: .5em 2em;
    display: block;
}

.main > div.canstack div {
    display: inline-block;
    /*min-width: 15em;*/
}

.main > div.canstack .nostack div {
    display: block;
    min-width: initial;
}

.ui-datepicker {
    margin: 0;
    border: 0;
}

.ui-datepicker > div div {
    margin: 0;
    border: 0;
    background-color: unset;
}

.ui-datepicker table span {
    font-size: 1em;
    font-weight: normal;
    color: #555555;
}

span.small {
    font-size: .75em;
    opacity: .75;
}

.checkspan, .cs
{
    display: block;
    float: left;
    width: 12.5%;
    font-size: 0.9em;
    overflow: hidden;
}

.defectspan, .ds {
    display: block;
    float: left;
    width: 24%;
    margin-right: 1%;
    font-size: 0.9em;
    overflow: hidden;
    text-overflow: ellipsis;
}

hr
{
    margin: .5em -15px;
    color: #aaa;
    background-color: #bbb;
    height: 1px;
    border: 0;
}

.footer
{
    text-align: center;
    margin-top: 1em;
}


/* FORM ELEMENTS   
----------------------------------------------------------*/

table
{
    width: 100%;
}

fieldset
{
    margin: 1em 0;
    padding: 0;
    border: 0;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

input.textEntry 
{
    width: 100%;
    border: 1px solid #ccc;
}

input.passwordEntry 
{
    width: 100%;
    border: 1px solid #ccc;
}

div.accountInfo
{
    width: 100%;
}

/* MISC  
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title
{
    width: 100%;
    margin-right: -40%;
    float: left;
    text-align: center;
}

.clientName 
{
    position: absolute;
    left: 0;
    font-size: .9em;
    display: block;
    text-align: left;
    padding: 10px 0 10px 20px;
    color: #cccccc;
}

.loginDisplay
{
    float: right;
    font-size: .9em;
    display: block;
    text-align: right;
    padding: 10px 20px 10px 0;
    color: #cccccc;
    margin-top: -.5em;
}

#ctl00_HeadLoginView_HeadLoginStatus {
    font-size: .75em;
    opacity: .66;
    margin-left: .5em;
    display: block;
    margin-top: -.75em;
}

.loginDisplay a:link {
    color: white;
}

.loginDisplay a:visited
{
    color: white;
}

.loginDisplay a:hover
{
    color: white;
}

.failureNotification
{
    font-size: 1em;
    color: Red;
}

.bold
{
    font-weight: bold;
}

.submitButton
{
    width: 100%;
}

input[type=text], input[type=submit], input[type=button], input[type=password], select
{
    width: 100%;
}

.main > div > div > input, .main > div > div > select, .rightinput
{
    width: 75%;
    margin-top: 4px;
    float: right;
    height: 1.5em;
    margin-bottom: .25em;
    height: auto;
}

input.rightinput 
{
	width: 75%;
}

.checkcolor-5 { color: #908b8a; }
.checkcolor-10 { color: #a31b00; }
.checkcolor-20 { color: #9f4c03; }
.checkcolor-30 { color: #9f9103; }
.checkcolor-40 { color: #117803; }
.checkcolor-70 { color: #06455f; }
.checkcolor-90 { color: #3d4546; }

.summarycolor-5 { background-color: #cdaca8; }
.summarycolor-10 { background-color: #de270c; }
.summarycolor-20 { background-color: #ea770e; }
.summarycolor-30 { background-color: #eacb0e; }
.summarycolor-40 { background-color: #1e910e; }
.summarycolor-70 { background-color: #2787b2; }
.summarycolor-90 { background-color: #6e7a7b; }

.maximg { max-width: 100%; }

#defectDescriptionBox, div.defectdescriptionbox {
    position: relative;
}

#defectDescription, div.defectdescriptionbox > input {
    padding-right: 2.5em;
}

    #defectDescriptionPic, div.defectdescriptionbox > div {
        position: absolute;
        top: 0;
        right: 0;
        width: 2.5em;
        height: 100%;
        background: url('/images/v2/icon-camera.png') no-repeat center center;
        background-size: 1.33em;
        cursor: pointer;
    }

a.descriptionpic {
    background: #f4f4f4;
    border: 1px solid #efefef;
    padding-right: .2em;
    margin-bottom: .1em;
    border-radius: 3px;
    display: inline-block;
    font-weight: normal !important;
    color: #909090;
    white-space: nowrap;
}

    a.descriptionpic:hover {
        background: #dedede;
    }

    a.descriptionpic > img {
        max-height: 2em;
        margin-right: .2em;
        display: inline-block;
        vertical-align: middle;
    }

    a.descriptionpic > span {
        display: inline-block;
        vertical-align: middle;
    }
        a.descriptionpic > span i {
            display: none;
        }

#modalpic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: none;
    z-index: 130;
    cursor: pointer;
}

    #modalpic > img {
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    #modalpic > p {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        color: #fafafa;
        padding: 1em;
        font-size: 1.25em;
        text-align: center;
        text-shadow: 0 0 .33em rgba(0,0,0,.5);
    }


html.login body {
    background: url(/images/v2/bgl.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-attachment: fixed;
}

html.login .footer, html.login .main a:link
{
    color: #999;
    opacity: .5;
}
html.login .main a:hover
{
    opacity: 1;
}

#ctl00_MainContent_loginDiv
{
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 2em;
    padding: 1.5em;
    padding-bottom: 2.5em;
    box-sizing: border-box;
    border-radius: 4px;
    font-weight: 300;
    /*
    background: #191919;
    background: rgba(24,24,24,.9);
        */
    background: transparent;
    background: rgba(255,255,255,.05);
    border: 1px solid #999;
    margin-top: 20%;
    margin-top: 20vh;
}

    #ctl00_MainContent_loginDiv h2
    {
        margin: 0;
        margin-bottom: .25em;
        color: #fff;
    }

#ctl00_MainContent_LoginUser_UserName {
    border-radius: 4px 4px 0 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-size: 1.15em;
    padding: .66em;
    height: auto;
    background: #fff url('/images/v2/icon-user.png') no-repeat .5em center !important;
    background-size: 1em !important;
    padding-left: 2em;
}
#ctl00_MainContent_LoginUser_Password {
    border-radius: 0 0 4px 4px;
    border: 0;
    font-size: 1.15em;
    padding: .66em;
    height: auto;
    background: #fff url('/images/v2/icon-password.png') no-repeat .5em center !important;
    background-size: 1em !important;
    padding-left: 2em;
}

.touchLook .loginSpan { position: relative; display: block; }
.touchLook .loginButton { display: block; margin-top: .5em; }
.touchLook .loginForgot, .touchLook .loginForgotDetails
{
    color: #fff !important;
    font-size: .8em;
    line-height: 1.33em;
	background-color: transparent !important;
}
.touchLook input[type=text], .touchLook input[type=password], .touchLook select, .touchLook input[type=submit] {
    border: 1px solid #cccccc;
    /*border-radius: .25em; -webkit-border-radius: .25em;*/ width: 100%;
    box-sizing: border-box; /*height: 1.66em; font-size: 1.5em;*/
    padding: .5em;
    border-radius: .33em;
}
.touchLook select { height: auto; }
.touchLook label.absolute { display: none; position: absolute; top: 0.33em; font-size: 1.5em; line-height: 1em; padding: 0 0.25em; }

.touchLook .loginButton input, .touchLookoverride input[type=submit] {
    -webkit-appearance: none;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu;
    font-size: 1.25em;
    height: auto;
    padding: 0.5em;
    margin-top: .1em;
    font-weight: 300;
    border: 2px solid #4E9896;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01) inset, 0 -1px 0 rgba(0,0,0,0.1) inset;
    border-radius: .5em;
    background: #4E9E9C;
    background: linear-gradient(to bottom, #4C9593 0%, #4F9997 100%);
    color: #fafafa;
}
    .touchLook .loginButton input:hover, .touchLookoverride input[type=submit]:hover
    {
        background: #5Ea8a6;
    }
    .touchLook .loginButton input:active, .touchLookoverride input[type=submit]:active
    {
        background: #3D7775;
        border-color: #3D7775;
    }

.submitButton input[type=submit] {
    display: inline-block;
    width: auto;
    padding: 0.5em 2em;
    background-color: #3c7674;
    color: #fff;
    border-radius: 1em;
    margin-right: 0;
}

    .submitButton input[type=submit].altatn {
        background-color: #cbe9e7;
        color: #444;
    }

.failureNotification ul {
    margin: 0 2em;
}

.accountInfo {
    box-sizing: border-box;
}

#ctl00_MainContent_homescreenDiv {
    background: #fff;
    padding: 1.5em;
    margin-top: 4em;
    text-align: center;
}

.third { float: right; display: block; text-align: right; }
.twothirds { float: left; display: block; }

select.autoselect { height: auto; }

.logotouch {
    background-image: url('/images/v2/tool-navigator.png');
}
.logoclassic {
    background-image: url('/images/v2/tool-navigator-classic.png');
}
.logoreport {
    background-image: url('/images/v2/tool-report.png');
}
.logoquickcode {
    background-image: url('/images/v2/tool-quickcode.png');
}
.logokiosk {
    background-image: url('/images/v2/tool-kiosk.png');
}
.logopassword {
    background-image: url('/images/v2/tool-password.png');
}
.logoconfig {
    background-image: url('/images/v2/tool-config.png');
}
.logochecklist {
    background-image: url('/images/v2/tool-checklists.png');
}
.logocheckcode {
    background-image: url('/images/v2/tool-checkcode.png');
}
.logouser {
    background-image: url('/images/v2/tool-account.png');
}
.logousers {
    background-image: url('/images/v2/tool-accounts.png');
}
.logouseradd {
    background-image: url('/images/v2/tool-account-add.png');
}

.logousersmanage {
    background-image: url('/images/v2/tool-accounts-manage.png');
}
.logoproject {
    background-image: url('/images/v2/tool-project.png');
}
.logoprojects {
    background-image: url('/images/v2/tool-projects.png');
}
.logopermit {
    background-image: url('/images/v2/tool-permit.png');
}
.logoinspection {
    background-image: url('/images/v2/tool-areas.png');
}
.logoinspections {
    background-image: url('/images/v2/tool-inspections.png');
}

.logosubcontractor {
    background-image: url('/images/v2/tool-trades.png');
}
.logohistory {
    background-image: url('/images/v2/tool-history.png');
}
.logogantt {
    background-image: url('/images/v2/tool-support.png');
}

.logotouch, .logoclassic, .logoreport, .logoquickcode, .logokiosk, .logopassword, .logoconfig, .logochecklist, .logocheckcode, .logouser, .logousers, .logouseradd, .logousersmanage, .logoproject, .logoprojects, .logopermit, .logoinspection, .logoinspections, .logosubcontractor, .logohistory, .logogantt {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 3em;
    height: 3em;
    line-height: 3em;
    text-indent: 4em;
    opacity: .85;
}

    .logoquickcode b, .logocheckcode b {
        opacity: .75;
        text-transform: uppercase;
        font-weight: bold;
        font-family: monospace;
    }

    .logospacer, .twothirds {
        padding-left: 4em;
    }

.touchLookoverride input[type=submit], .touchLookoverride input[type=text], .touchLookoverride input[type=password], .touchLookoverride label { height: 1.5em; padding: 0; margin-bottom: 0.25em; width: 97%; }

#completiondiv img { height: 1em; width: auto; margin: 0 .25em; }

.newmessage {
    background: #ffffe9;
    border-bottom: 2px solid #fbfbd9;
    margin-top: -2px;
    color: #484848;
    /*padding: 1em;*/
}

    .newmessage > div {
        width: 1680px;
        max-width: 95%;
        margin: 0 auto;
        padding: 1em;
        box-sizing: border-box;
        opacity: .66;
        -webkit-transition: opacity .5s ease-in-out;
        border-bottom: 1px solid #ECECC8;
    }
        .newmessage > div:last-child {
            border-bottom: none;
        }
    .newmessage > div:hover {
        opacity: 1;
    }

    .newmessage h4 {
        font-size: 1.25em;
        color: #444;
    }

    .newmessage.error {
        background: #ffe9e9;
        border-bottom-color: #fbd9d9;
        color: #777;
    }
        .newmessage.error > div {
            opacity: 1;
        }
        .newmessage.error h4 {
            color: #e83030;
        }

    .newmessage.goodnews {
        border-color: #aecdcc;
        background-color: #deeded;
    }

    .newmessage a {
        text-decoration: underline;
    }

        input[type="checkbox"], input[type="radio"] {
            width: 1.33em;
            height: 1.33em;
            vertical-align: middle;
        }

@media screen and (max-width: 700px) {
    .main > div.canstack div {
        display: block;
        min-width: initial;
    }
}

