﻿* {
    outline: 0;
}

body {
    background: #fff;
    color: #333;
    font-family: Arial, Tahoma, Verdana;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    min-width: 1200px;
}

    body.popup {
        min-width: 0;
    }

form {
    margin: 0 auto;
    width: 1200px;
}

body.popup form {
    margin: 0 20px;
    width: auto;
}

input, select, textarea, button {
    border-radius: 0;
    color: inherit;
    font: inherit; /*-webkit-appearance:none;*/
    -webkit-border-radius: 0;
}

textarea {
    overflow: auto;
    resize: none;
}


/* common */
.fl {
    float: left !important;
}

.fr {
    float: right !important;
}

.clr {
    clear: both;
}

.tc {
    text-align: center !important;
}

.u {
    text-decoration: underline;
}

.up {
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

.disabled {
    background-color: #f6f6f6 !important;
}

.highlight, tr.highlight td {
    background-color: #ff0;
}

a, .red {
    color: #002db2;
}

.error {
    color: #ff0000;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

    a img {
        border: 0;
    }

.group:before, .group:after {
    content: ' ';
    display: table;
}

.group:after {
    clear: both;
}


/* top panel */
#top {
    color: #080808;
    height: 50px;
    overflow: hidden;
    padding: 10px 20px;
    position: relative;
}

    #top span {
        bottom: 10px;
        font-weight: bold;
        position: absolute;
        right: 20px;
        text-align: right;
    }

    #top a {
        color: #002db2;
    }

/* navigation panel */
#nav {
    /*background: #002db2;
    color: #fff;*/
    background: #cbcbcb;
    color: #fff;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
    padding: 1px 0;
    position: relative;
    text-align: center;
    z-index: 1000;
}

    #nav ul, #nav li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /*#nav ul :hover {
            background-color: #002db2 !important;
            color: #fff !important;
        }*/

    #nav li {
        border-right: 1px solid #e5e5e5;
        float: left;
        position: relative;
        z-index: 1;
    }

        #nav li.last {
            border-right: 0;
        }

        #nav li a {
            border-left: 1px solid #cbcbcb;
            border-right: 1px solid #cbcbcb;
            color: #000;
            display: block;
            min-width: 80px; 
            padding: 0 15px;
            text-decoration: none;
            white-space: nowrap;
        }



        #nav li:hover a, #nav li li:hover li a, #nav li li li:hover li a {
            background: #e5e5e5;
            color: #002db2;
        }

        #nav li ul {
            /*border-top: 1px solid #002db2;*/
            border-top: 1px solid #cbcbcb;
            left: 0;
            position: absolute;
            top: 32px;
            visibility: hidden;
            /*min-width: 100%;*/
            z-index: 2;
        }

            #nav li ul ul {
                background-color: #cbcbcb;
                border-left: 1px solid #e5e5e5;
                border-right: 1px solid #e5e5e5;
                border-top-color: #cbcbcb;
                left: 100%;
                top: -2px;
                margin-left: -2px;
                padding-top: 1px;
            }

        #nav li:hover ul, #nav li:hover li:hover ul, #nav li:hover li:hover li:hover ul {
            visibility: visible;
        }

        #nav li:hover li ul, #nav li:hover li:hover li ul {
            visibility: hidden;
        }

        #nav li li {
            /*border-bottom: 1px solid #002db2;*/
            border-bottom: 1px solid #cbcbcb;
            border-right: 0;
            float: none;
            font-size: 11px;
            font-weight: normal;
            line-height: 1.5;
            text-align: left;
        }

            #nav li li a {
                padding: 5px 15px;
            }

            #nav li li:hover a, #nav li li li:hover a, #nav li li li li:hover a {
                /*background: #002db2;
                color: #fff;*/
                background: #cbcbcb;
                color: #fff;
            }


/* footer panel */
#footer {
    background: #002db2;
    color: #fff;
    font-size: 11px;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
}


/* powered panel */
#powered {
    background: #f8f8f8;
    font-size: 11px;
    overflow: hidden;
    padding: 5px 0;
    text-align: right;
}

    #powered span {
        display: inline-block;
        text-align: left;
    }


/* content portion */
#content {
    background: #fff;
    /*border-left: solid 1px #002db2;
    border-right: solid 1px #002db2;*/
    border-left: solid 1px #cbcbcb;
    border-right: solid 1px #cbcbcb;
    min-height: 300px;
    padding: 30px 25px;
    box-shadow: 0px 0px 5px 2px #cbcbcb;
}

    #content p {
        margin: 0 0 12px;
        padding: 0;
    }


/* box layout */
.box {
    background: #fff;
    border: 1px solid #e0e0e0;
    margin: 0 auto 20px;
    padding-top: 35px;
    position: relative;
}

    .box.half {
        width: 60%;
    }

    .box .head {
        background: #f8f8f8;
        border-right: 1px solid #e0e0e0;
        color: #002db2;
        font-weight: bold;
        height: 36px;
        line-height: 36px;
        left: 0;
        padding: 0 20px;
        position: absolute;
        text-transform: uppercase;
        top: 0;
    }

        .box .head .steps {
            left: 100%;
            margin-left: 1px;
            padding-left: 15px;
            position: absolute;
            top: 0;
            white-space: nowrap;
        }

    .box .add {
        background: #002db2;
        border: 1px solid #002db2;
        color: #fff;
        display: block;
        font-weight: bold;
        right: 5px;
        min-width: 55px;
        padding: 3px 10px;
        position: absolute;
        text-align: center;
        text-decoration: none;
        top: 5px;
    }

        .box .add:hover {
            background: #e5e5e5;
            color: #002db2;
        }

    .box .info {
        line-height: 16px;
        right: 5px;
        position: absolute;
        top: 10px;
    }

    .box div.info {
        /* line-height: 26px;*/
        top: 5px;
    }

        .box div.info .btn {
            margin: 0 0 0 15px;
        }

    .box .cont {
        background: #f8f8f8;
        border-top: 1px solid #e0e0e0;
        padding: 20px 25px; /*position: relative;     z-index: 1;*/
    }

    .box .req {
        color: #ff0000;
    }

.buttons {
    padding-top: 10px;
}


/* controls */
.block {
    display: inline-block;
    vertical-align: middle;
}

.and {
    margin-left: 138px;
}

.val {
    color: #ff0000;
    margin: 0 0 0 3px;
    vertical-align: middle;
}

fieldset .val {
    margin-top: 3px;
}

.block ~ .val {
    position: relative;
    top: 5px;
    vertical-align: top;
}

.txt, .ddl, .lst, .cbl ul {
    background: #fff;
    border: 1px solid #d0d0d0;
    height: 18px;
    margin: 0;
    padding: 2px 5px;
    vertical-align: middle;
    width: 280px;
}

textarea.txt {
    height: 100px;
    padding-right: 2px;
    width: 283px;
    resize: none;
}

.ddl {
    height: 24px;
    padding: 2px;
    width: 292px;
}

.lst {
    height: 100px;
    padding: 2px;
    width: 292px;
}

ul.lst, ol.lst {
    background: none;
    border: 0;
    display: inline-block;
    height: auto;
    list-style: none;
    margin: 0;
    padding: 2px 0 0;
    width: auto;
}

    ul.lst li, ol.lst li {
        display: inline;
        margin: 0 15px 0 0;
        padding: 0;
    }

.cbl {
    display: inline-block;
    vertical-align: middle;
}

    .cbl ul {
        height: 95px;
        list-style: none;
        overflow: auto;
        padding: 0;
        width: 290px;
    }

    .cbl li {
        line-height: 14px;
        margin: 0;
        padding: 2px 5px;
    }

.chk {
    display: inline-block;
    margin: 3px 0 0;
    line-height: 1;
}

.cbl > .chk {
    margin: 5px 0 0 6px;
}

.lst .chk {
    display: inline;
    margin: 0;
}

.chk input, .lst input, .cbl input {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.chk label, .lst label, .cbl label {
    float: none !important;
    font-weight: normal !important;
    margin: 0 0 0 5px !important;
    vertical-align: middle !important;
    width: auto !important;
}

.cal {
    height: 24px;
}

    .cal .wrapper {
        float: left;
        height: 24px;
        position: relative;
        width: 290px;
    }

        .cal .wrapper .txt {
            left: 0;
            padding: 2px 0;
            position: absolute;
            text-indent: 5px;
            top: 0;
            width: 100%; /*     z-index: 0; } .cal .wrapper .mask {*/
            z-index: 1;
        }

        .cal .wrapper .ico {
            background: url(../../resources/images/calendar.png) no-repeat center;
            display: block;
            height: 24px;
            overflow: hidden;
            position: absolute;
            right: -2px;
            text-indent: 25px;
            top: 0;
            white-space: nowrap;
            width: 24px;
            z-index: 2;
        }

    .cal .ddl {
        float: left;
        border-left: 0;
        width: auto;
    }

    .cal .val {
        float: left;
        margin-left: 8px;
    }

.file img {
    max-width: 740px;
}

.file .control {
    height: 24px;
}

.file .wrapper {
    background: #fff;
    border: 1px solid #d0d0d0;
    float: left;
    height: 22px;
    position: relative;
    text-align: right;
    vertical-align: middle;
    width: 290px;
}

.file .txt {
    border: 0;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 2;
    width: 256px;
}

.file .mask {
    cursor: pointer;
    height: 100%;
    left: auto;
    padding: 0;
    right: 0;
    text-align: right;
    width: 100%;
    z-index: 1;
    filter: alpha(opacity=0);
    opacity: 0;
}

.file .ico {
    background: url(../../resources/images/browse.png) no-repeat center;
    display: block;
    height: 22px;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-indent: 25px;
    top: 0;
    white-space: nowrap;
    width: 24px;
    z-index: 1;
}

.file .val {
    float: left;
    margin-left: 8px;
}

.btn {
    background: #002db2;
    border: 1px solid #002db2;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    margin-right: 3px;
    min-width: 75px;
    padding: 3px 10px;
    text-align: center;
    text-decoration: none;
}

    .btn:hover {
        background: #e5e5e5;
        color: #002db2;
    }


/* form */
.form fieldset {
    border: 0;
    margin: 0;
    padding: 10px 0;
    position: relative;
}

    .form .group fieldset, .form fieldset.fl, .form fieldset.fr {
        width: 49%;
    }

    .form fieldset.sep, .form div.sep {
        border-top: 2px solid #ccc;
    }

.form .group fieldset:nth-child(odd) {
    float: left;
}

.form .group fieldset:nth-child(even) {
    float: right;
}

.form label {
    float: left;
    font-weight: bold;
    margin: 3px 10px 0 0;
    width: 170px;
}

.form .block label {
    width: 130px;
}

.form label.auto {
    width: auto;
}

.form.text fieldset label, .form .text fieldset label, .form fieldset.text label {
    margin-top: 0;
}

.form.text fieldset .txt, .form.text fieldset .ddl, .form .text fieldset .txt, .form .text fieldset .ddl, .form fieldset.text .txt, .form fieldset.text .ddl {
    background: none;
    border: 0;
    height: 18px;
    margin: 0;
    padding: 0;
    width: auto;
}

.form .req {
    margin-left: 3px;
}

.form small {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    padding: 2px 0 0 180px;
}

.form .block small {
    padding-left: 0;
}

.form .buttons {
    padding-left: 180px;
}


/* grid */
.grid {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85em !important;
}

    .grid th, .grid td {
        border: 1px solid #e0e0e0;
        padding: 5px;
        text-align: left;
    }

        .grid th, .grid td.sep {
            background: #e0e0e0;
        }

    .grid td {
        background: #fff;
    }

    .grid .alt td {
        background: none;
    }

    .grid .act0, .grid .act1, .grid .act2 {
        color: #aaa;
        text-align: center;
    }

    .grid .act1 {
        width: 25px;
    }

    .grid .act2 {
        width: 40px;
    }

    .grid th.sort-asc, .grid th.sort-desc {
        background-image: url(../../resources/images/sort.gif);
        background-position: right -6px;
        background-repeat: no-repeat;
    }

    .grid th.sort-desc {
        background-position: right 12px;
    }

    .grid th a {
        margin-right: 15px;
    }

    .grid .txt, .grid .ddl {
        width: auto;
    }

    .grid tr.footer td {
        font-weight: bold;
        background: #e0e0e0;
    }

.stats {
    border-collapse: separate;
    border-spacing: 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}

    .stats th, .stats td {
        text-align: center;
    }


/* pager */
#pager {
    list-style: none;
    margin: 15px 5px 0 0;
    padding: 0;
}

    #pager li {
        display: inline;
    }

    #pager a, #pager span {
        background: #002db2;
        border: 1px solid #002db2;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        font-size: 11px;
        margin-right: 2px;
        min-width: 10px;
        padding: 1px 5px;
        text-align: center;
        text-decoration: none;
    }

        #pager a:hover, #pager span {
            background: #e5e5e5;
            color: #002db2;
        }

    #pager span {
        font-weight: bold;
    }


/* message */
#msg {
    border: 3px double;
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin: 0 auto 20px;
    padding: 5px 0;
    text-align: center;
}

    #msg.half {
        width: 60%;
    }

    #msg.info {
        border-color: #09f;
        color: #09f;
    }

    #msg.warning {
        border-color: #f90;
        color: #f90;
    }

    #msg.error {
        border-color: #f00;
        color: #f00;
    }

    #msg div {
        overflow: hidden;
        padding: 0 20px;
    }

    #msg ul, #msg li {
        margin: 0;
    }

    #msg em {
        font-size: 14px;
        display: block;
        font-style: normal;
    }


/* progress overlay */
#overlay .bg {
    background: #a92b18;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    filter: alpha(opacity=30);
    opacity: 0.3;
    z-index: 5000;
}

#overlay .text {
    border: 1px solid #a92b18;
    background: #fff;
    font-weight: bold;
    height: 40px;
    line-height: 20px;
    left: 50%;
    margin: -41px 0 0 -101px;
    padding: 20px 0;
    position: fixed;
    top: 50%;
    text-align: center;
    width: 200px;
    z-index: 5001;
}

#overlay .mask {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5002;
}

/* control progress */
.control-overlay {
    background: rgba(255, 255, 255, 0.5) url(../../resources/images/ajax-loader.gif) no-repeat 50%;
    position: absolute;
    z-index: 5000;
}

.myCheckbox label {
    float: inherit !important;
    font-weight: normal !important;
    margin-left: 8px;
}


/* ajax calendar */
.ajax__calendar {
    line-height: normal;
}

.ajax__calendar_title {
    border: none; /* Fixes the "previous" and "next" buttons in the title */
}

.spnTotalCards {
    left: 485px;
    position: absolute;
    top: 25px;
    font-size: 12px;
}

/*for report prints only*/
.printonly {
    display: none;
}

    .printonly fieldset {
        padding: 5px 0 !important;
    }

    .printonly .cont {
        padding: 5px 25px !important;
    }

    .printonly .tbold {
        padding-right: 5px;
    }

@media print {
    body {
        background: #fff;
        min-width: 0;
    }

    form {
        width: auto;
    }

    #top span {
        display: none;
    }

    #nav {
        display: none;
    }

    body.popup #nav {
        display: block;
        height: 28px;
        line-height: 28px;
        padding: 0;
    }

    #footer {
        display: none;
    }

    #powered {
        display: none;
    }

    #content {
        border: 0;
        min-height: 0;
        padding: 15px 0 0;
    }

    .box .head {
        background: #fff;
    }

    .box .cont {
        background: #fff;
    }

    #msg {
        display: none;
    }

    #pager {
        display: none;
    }

    .print {
        display: none !important;
    }

    .printonly {
        display: block !important;
    }
}

.dnone {
    display: none;
}

.rptrRef {
    padding: 5px;
    border: 1px solid #d0d0d0;
    position: relative;
    border-collapse: collapse;
    min-width: 570px;
}

    .rptrRef .rptrRow {
        padding: 5px;
    }

        .rptrRef .rptrRow a {
            /*color: red !important;*/
            cursor: pointer !important;
        }

    .rptrRef thead {
        background: none repeat scroll 0 0 #E4E4E4;
        font-weight: bold;
    }

    .rptrRef td {
        border: 1px solid #E4E4E4 !important;
        padding: 5px;
        text-align: left;
        border-collapse: collapse;
    }

        .rptrRef td input {
            width: 100px;
        }

.aDel {
    color: Red !important;
}

.aAdd {
    color: Green !important;
}

.fsCards {
    display: none;
}

.topLine {
    height: 10px;
    background-color: #002db2;
}



.ui-widget-header {
    border-color: #002db2 !important;
    background: #002db2 !important;
}

.ui-state-active {
    border-color: #002db2 !important;
    color: #002db2 !important;
}

.ui-state-hover, .ui-state-highlight {
    border-color: #002db2 !important;
    background: #ee5b60 !important;
    color: #fff !important;
}

    .ui-state-hover .ui-icon {
        background-image: url(//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/images/ui-icons_ffffff_256x240.png) !important;
    }

.ui-datepicker-trigger {
    position: relative;
    left: -22px;
    top: 7px;
    cursor: pointer;
}

.ui-widget select {
    color: #333;
}
