﻿@media (max-width : 480px) {
    * {
        margin: 0;
        padding: 0;
    }

    html, body {
        height: 98%;
    }

    img {
        border: 0;
    }

    body {
        font-family: Verdana,Arial,Sans-Serif;
        background-color: #dcdcde;
        -webkit-text-size-adjust: none;
    }


    #login, #Base {
        background-image: url('../Images/BackGroundElements/LoginBg.jpg');
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .error {
        color: #900;
    }

        .error li {
            list-style-type: none;
            margin-bottom: 1px;
        }

    .copyInfo, .version {
        font-size: 10px;
        color: #666;
        text-align: center;
    }

    #content {
        padding: 20px;
        margin: 0 auto;
        text-align: center;
    }

    @media (orientation:landscape) {

        #content {
            padding: 20px;
            margin: 0 auto;
            text-align: center;
            width: 60%;
        }
    }


    #topMenu {
        display: none;
    }

    #appHeader {
        display: none;
    }



    #daBuzz {
        display: none;
    }

    #contentWrapper {
        padding: 0px 10px 10px 10px;
    }

    #loginLogo {
        margin: 0 auto;
        width: 100%;
        margin-bottom: 15px;
        height: 35px;
        background-image: url('../Images/BackGroundElements/MobileLogo.png');
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .loginBoxWrapper {
        margin: 0 auto;
        background-color: #d7d8d9;
        text-align: left;
        border-radius: 10px;
        padding: 10px 14px 10px 10px;
        box-shadow: 0pt 2px 5px rgba(105, 105, 105, 0.7), 0px 0px 8px 5px rgba(208, 208, 208, 0.4) inset;
        border-radius: 5px;
    }

        .loginBoxWrapper .loginLabel {
        }

    .inputFix {
        padding-right: 10px;
    }

    #loginErrors {
        font-size: 15px !important;
        text-align: center;
        line-height: 22px;
    }


    .topButtonLogOut {
        text-decoration: none;
        background: #818285;
        padding: 9px;
        border: none;
        color: #fff;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -webkit-appearance: none;
        float: right;
        text-align: center;
        margin-top: 5px;
        margin-right: 10px;
    }

    /* all the input except submit and checkbox */
    .loginBoxWrapper input:not([type="image"]) {
        width: 100%;
        margin-top: 4px;
        padding: 10px 5px 10px 5px;
        border: 1px solid rgb(178, 178, 178);
        box-sizing: content-box;
        border-radius: 3px;
        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
        transition: all 0.2s linear;
        margin-bottom: 10px;
    }

        .loginBoxWrapper input:not([type="image"]):active, .loginBoxWrapper input:not([type="image"]):focus {
            border: 1px solid rgba(91, 90, 90, 0.7);
            background: rgba(255, 255, 255, 0.6);
            box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
        }


    .loginBoxWrapper #mobileButton input {
        background: #818285;
        width: 100px;
        padding: 9px;
        border: none;
        color: #fff;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -webkit-appearance: none;
        font-weight: bold;
    }

        .loginBoxWrapper #mobileButton input:hover {
            background: rgb(85, 144, 181);
        }

        .loginBoxWrapper #mobileButton input:active, .loginBoxWrapper #mobileButton input:focus {
            background: rgb(69, 119, 150);
            position: relative;
            top: 1px;
            border: 1px solid rgb(60, 100, 126);
            box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
        }


    #desktopButton {
        display: none;
    }

    #version {
        display: none;
    }

    #loginErrors {
        margin-top: 15px;
        height: 25px;
    }

    .capsWarning {
        display: none !important;
    }

    #header .headerInfo {
        display: none;
    }

    #header .userOptions {
    }



    .changePass, .authSetup {
        display: none;
    }

    #topLogo {
        padding: 10px 15px;
        width: 60%;
        float: left;
    }

        #topLogo a {
            margin: 0 auto;
            width: 100%;
            margin-bottom: 0px;
            height: 30px;
            background-image: url('../Images/BackGroundElements/MobileLogo.png');
            background-position: left top;
            background-repeat: no-repeat;
            background-size: contain;
            display: block;
        }



    .appItemOutWrapper {
        width: 100%;
        margin: 0 0 10px 0;
        cursor: pointer;
    }

    h1 {
        font-size: 14px;
        font-weight: bold;
        color: #205d80;
        margin-bottom: 10px;
    }

    #authSetupOptionsWrapper {
        display: none;
    }

    .ncicAgreementWrapper {
        margin: 0 auto;
        background-color: #efefef;
        padding: 10px;
    }


    .ncicTerms {
        line-height: 22px;
        overflow: auto;
        margin-bottom: 15px;
        font-size: 13px;
    }

        .ncicTerms p {
            margin-bottom: 10px;
        }

        .ncicTerms li {
            margin-left: 20px;
            margin-bottom: 10px;
        }

        .ncicTerms ol {
            margin-left: 20px;
            margin-bottom: 10px;
        }


    .ncicAgreementButtons input {
        width: 125px;
        float: right;
        margin-left: 20px;
    }


    @media (orientation:landscape) {

        .appItemOutWrapper {
            width: 48%;
            margin: 0% 1% 10px 1%;
            float: left;
        }
    }


    .appItemInWrapper {
        white-space: nowrap;
        padding: 10px 5px;
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
        border-radius: 3px;
    }


    .appItem {
        display: block;
        text-align: center;
        text-decoration: none;
        font-size: 25px;
        font-weight: bold;
        border-radius: 3px;
        color: #fff;
        cursor: pointer;
    }



    .button {
        display: block;
        background-color: #ccc;
        border: 1px solid #777;
        text-align: center;
        font-size: 20px;
        padding: 5px;
        text-decoration: none;
        color: #333;
        -moz-border-radius: .2em;
        -webkit-border-radius: .2em;
        border-radius: .2em;
        -moz-box-shadow: 0 0 1px 1px rgba(255, 255, 255, .8) inset, 0 1px 0 rgba(0, 0, 0, .3);
        -webkit-box-shadow: 0 0 1px 1px rgba(255, 255, 255, .8) inset, 0 1px 0 rgba(0, 0, 0, .3);
        box-shadow: 0 0 1px 1px rgba(255, 255, 255, .8) inset, 0 1px 0 rgba(0, 0, 0, .3);
        background-image: linear-gradient(top, #eee, #ccc);
    }

        .button:hover {
            background-color: #ddd;
            background-image: linear-gradient(top, #fafafa, #ddd);
        }

        .button:active {
            -moz-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
            -webkit-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
            box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
            position: relative;
            top: 1px;
        }

        .button:focus {
            outline: 0;
            background: #fafafa;
        }

    .appMenu {
        padding: 20px;
    }

    .CAD .appItemInWrapper, .CADViewOnly .appItemInWrapper {
        border-left: 20px solid rgba(79,120,10,0.75);
    }

    .RMS .appItemInWrapper {
        border-left: 20px solid rgba(0,66,122,0.75);
    }

    .Mobile .appItemInWrapper {
        border-left: 20px solid rgba(113,113,113,0.75);
    }

    .Court .appItemInWrapper {
        border-left: 20px solid rgba(189,126,70,0.75);
    }

    .Civil .appItemInWrapper {
        border-left: 20px solid rgba(0,120,116,0.75);
    }

    .Clery .appItemInWrapper {
        border-left: 20px solid rgba(163, 73, 164, 0.75);
    }

    .Jail .appItemInWrapper {
        border-left: 20px solid rgba(138,39,23,0.75);
    }


    .appItemInWrapper .AVL, .setupButtons .AVL, .gridSetupButton .AVL {
        border-left: 20px solid rgba(114,113,1,0.75);
    }

    .CADWrapper, .MobileWrapper, .AVLWrapper {
        display: none;
    }

    .popupSuccess {
        position: fixed;
        top: 40%;
        left: 50%;
        margin-left: -125px; /* Half the width of the DIV tag which is 50 pixels */
        margin-top: -50px; /* Half the height of the DIV tag which is also 50 pixels */
        z-index: 10;
        width: 250px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        line-height: 22px;
        background-color: #4f780a;
        background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.2, rgb(63,94,8)), color-stop(0.6, rgb(80,120,10)) );
        background-image: -moz-linear-gradient( center bottom, rgb(63,94,8) 20%, rgb(80,120,10) 60% );
        color: #fff;
        border: 2px solid #000;
        padding: 15px;
        border-radius: 10px;
        opacity: 0.9;
        display: none;
    }

    .popupError {
        position: fixed;
        top: 40%;
        left: 50%;
        margin-left: -125px; /* Half the width of the DIV tag which is 50 pixels */
        margin-top: -50px; /* Half the height of the DIV tag which is also 50 pixels */
        z-index: 10;
        width: 250px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        line-height: 22px;
        background-color: #900;
        background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.2, rgb(102,0,0)), color-stop(0.6, rgb(153,0,0)) );
        background-image: -moz-linear-gradient( center bottom, rgb(102,0,0) 20%, rgb(153,0,0) 60% );
        color: #fff;
        border: 2px solid #000;
        padding: 15px;
        border-radius: 10px;
        opacity: 0.9;
        background-image: -moz-linear-gradient( center bottom, rgb(40,60,5) 0%, rgb(80,120,10) 100% );
        display: none;
    }

    .telerikGridImageButton {
        width: 60px;
        text-align: center;
    }

        .telerikGridImageButton input {
            width: 16px;
            padding: 0 5px;
        }

    .rgEditRow {
        background-color: #d4b537 !important;
        background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.2, rgb(194,152,25)), color-stop(0.6, rgb(212,181,55)) ) !important;
        background-image: -moz-linear-gradient( center bottom, rgb(194,152,25) 20%, rgb(212,181,55) 60% ) !important;
    }


    .inputTable {
        width: 100%;
    }

        .inputTable td {
            border: 0px solid #999 !important;
            border-collapse: collapse;
            padding: 5px 9px 5px 5px;
        }

        .inputTable label {
            text-transform: none;
        }

        .inputTable input {
            text-transform: uppercase;
        }


    .dataTable {
        width: 100%;
    }

        .dataTable td {
            vertical-align: top;
            border: 0px solid #999 !important;
            border-collapse: collapse;
            padding: 5px 9px 5px 5px;
        }

        .dataTable label {
            text-transform: none;
            margin-bottom: 0px;
        }

    .noCellPadding td {
        padding: 0 !important;
        border: 0px solid #ace !important;
    }

    .eforce-command-commmunication {
        display: none;
    }
}
