@import url('forms.css');
/*@import url('normalise.css');*/


@viewport {zoom: 1.0; width: device-width; }
@-ms-viewport {zoom: 1.0; width: device-width;}

  /* Vendor specific prefixes */


/*** general ***/

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

.header-banner {
    position: relative;
    background-image: url(/assets/css/images/newheader.png);
    background-position: top left;
    background-repeat: no-repeat;
    height: 70px;
    background-color: #014A97;
}

.user-name {
    position: absolute;
    right: 30px;
    top: 25px;
    color: rgb(110, 165, 223);
}

@media screen and (max-width: 500px){
    .user-name {
        width: 50px;
        top: 20px;
        right: 10px;
        font-size: .8em;
    }
}

:root {    
    --form-border: #AAAAAA;
    --form-bg: #FEFEFE;
    --form-text: #4D4D4D;
    --pop-bg: #F1F1F1;
    --foot-height: 80px;
    --border-col: #78000B;
    --obs-border: #333;
}

.clearall:before,.clearall:after{content: "";   display: table;}
.clearall:after{clear: both;}
.clearall{zoom: 1;}

.error-state {
    -webkit-box-shadow: 0px 0px 22px 2px rgba(255,5,5,0.6) !important;
    -moz-box-shadow: 0px 0px 22px 2px rgba(255,5,5,0.6) !important;
    box-shadow: 0px 0px 22px 2px rgba(255,5,5,0.6) !important;
}


.doc-manager {
    position: relative;
    padding: 10px;
    background-color: rgb(39, 116, 197);
}

.doc-manager::after, #dmanager-ul::after{
    clear: both;
    content: '';
    display: table;
}


.dl-ul-show {
    display: block ;
}
.dl-ul-hide {
    display: none !important;
}

#menu-wrapper {
    padding: 3px;
    display: none;
}

#top-menu-but {
    display: block;
    background-image: url(images/menu.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
}


.fbwrapper {
    width: 100%;
}

.fbwrapper::after{
    content: '';
    display: table;
    clear: both;
}

.fbox-label {
    text-align: center !important;
    width: auto !important;
}

.fbox-label:hover{
    cursor: pointer;
}

.file-box {
    border: 1px solid #000000;
    padding: 5px;
    overflow: scroll;
    height: 100px;
    font-size: .9em;
}

#dmanager-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dm-li {
    float: left;
}

.dm-li-r {
    float: right;
}

.qs-admin-link{
    font-size: 1em;
}

@media screen and (max-width: 850px){
    .qs-admin-link { font-size: .9em }
}

@media screen and (max-width: 780px){
    .dm-li { width: 99% }
    .dm-li-r { float: left; width: 99% }
    #menu-wrapper { display: block }
    .qs-admin-link { 
        font-size: 1em;
        padding: 8px 20px !important;
    }
}

.qs-admin-link, .qs-admin-link:visited, .qs-admin-link:active {
    color: #ffffff;
    display: block;
    padding: 5px 20px;
    text-decoration: none;
    border: 1px solid #2774C5;
}

.qs-admin-link:hover {
    color: rgb(39, 116, 197);
    background-color: #ffffff;
    text-decoration: underline;
}

.doc-manager > .qs-admin-link:not(:first-child) { margin-left: 20px }

.selected-top-link {
    background-color: #014A97;
    border: 1px solid #ffffff !important;
}

.mess-div {
    display: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    padding: 4px 0;
}

.mess-good { color: #009809 }
.mess-bad { color: #C3000B }


.fl-left { float: left }
.fl-right { float: right }
.am-inline { display:inline-block; }


#waiting-outer {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    background-image: url(images/cal-wait-bg.png);
    z-index: 9998;
}

#waiting-inner {
    background-image: url(images/cal-wait.gif);
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    z-index: 9999;
}


#messages {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;    
    font-weight: bold;
    z-index: 9999;
}

.index-seperator {
    position: relative;
    float: left;
    width: 100%;
}

.index-sep-inner {
    width: 80%;
    padding: 10px;
    margin: auto;
    border-bottom: 1px solid #AAAAAA;
    margin-bottom: 15px;
}


.mess-good { background-color: #009809; color: #fff; }
.mess-bad { background-color: #C3000B; color: #fff; }
.mess-blah { background-color: rgb(238, 150, 36); color: #fff; }

.m5 { margin-left: 5px }
.m6 { margin-left: 6px }
.m7 { margin-left: 7px }
.m8 { margin-left: 8px }
.m9 { margin-left: 9px }
.m10 { margin-left: 10px }
.m11 { margin-left: 11px }
.m12 { margin-left: 12px }
.m13 { margin-left: 13px }
.m14 { margin-left: 14px }
.m15 { margin-left: 15px }
.m16 { margin-left: 16px }
.m17 { margin-left: 17px }
.m18 { margin-left: 18px }
.m19 { margin-left: 19px }
.m20 { margin-left: 20px }
.m21 { margin-left: 21px }
.m22 { margin-left: 22px }
.m23 { margin-left: 23px }
.m24 { margin-left: 24px }
.m25 { margin-left: 25px }
.m26 { margin-left: 26px }
.m27 { margin-left: 27px }
.m28 { margin-left: 28px }
.m29 { margin-left: 29px }
.m30 { margin-left: 30px }
.m31 { margin-left: 31px }
.m32 { margin-left: 32px }
.m33 { margin-left: 33px }
.m34 { margin-left: 34px }
.m35 { margin-left: 35px }
.m36 { margin-left: 36px }
.m37 { margin-left: 37px }
.m38 { margin-left: 38px }
.m39 { margin-left: 39px }
.m40 { margin-left: 40px }
.m41 { margin-left: 41px }
.m42 { margin-left: 42px }
.m43 { margin-left: 43px }
.m44 { margin-left: 44px }
.m45 { margin-left: 45px }
.m46 { margin-left: 46px }
.m47 { margin-left: 47px }
.m48 { margin-left: 48px }
.m49 { margin-left: 49px }
.m50 { margin-left: 50px }
.m51 { margin-left: 51px }
.m52 { margin-left: 52px }
.m53 { margin-left: 53px }
.m54 { margin-left: 54px }
.m55 { margin-left: 55px }
.m56 { margin-left: 56px }
.m57 { margin-left: 57px }
.m58 { margin-left: 58px }
.m59 { margin-left: 59px }
.m60 { margin-left: 60px }
.m61 { margin-left: 61px }
.m62 { margin-left: 62px }
.m63 { margin-left: 63px }
.m64 { margin-left: 64px }
.m65 { margin-left: 65px }
.m66 { margin-left: 66px }
.m67 { margin-left: 67px }
.m68 { margin-left: 68px }
.m69 { margin-left: 69px }
.m70 { margin-left: 70px }
.m71 { margin-left: 71px }
.m72 { margin-left: 72px }
.m73 { margin-left: 73px }
.m74 { margin-left: 74px }
.m75 { margin-left: 75px }
.m76 { margin-left: 76px }
.m77 { margin-left: 77px }
.m78 { margin-left: 78px }
.m79 { margin-left: 79px }
.m80 { margin-left: 80px }

.lost-pwd {
    display: block;
    float: right;
    padding: 4px;
}

.lost-pwd, .lost-pwd:active, .lost-pwd:visited {
    color: #4D4D4D;
    font-size: .8em;
    text-decoration: none;
    font-style: italic;
}

.lost-pwd:hover {
    text-decoration: underline;
    color: #C3000B;
}

.reset-pw-info {
    padding: 20px;
    text-align: center;
    font-size: 1.2em;
    color: #0b4e10;
}

#rstp-box {
    margin: auto;
    width: 500px;
    padding: 7px;
    border: 1px solid #333; 
    margin-top: 50px;
}

@media screen and (max-width: 520px){
    #rstp-box {
        width: 95%;
    }
}

.highlight-row {
    background-color: rgb(253, 216, 218);
}

.f-aster::after {
    content: '*';
}
.f-aster{
    float: right !important;
    font-size: 1.2em !important;
    color: #C3000B !important;
    margin: 0px 0px 0px 5px !important;
}

.conf-code {
    float: right !important;
    font-family: 'Courier New', Courier, monospace;
    margin: 0px 10px !important;
    font-size: 1.1em !important;
    font-style: normal !important;
    font-weight: bold !important;
}

.um-scroll {
    padding-bottom: 150px;
}

.um-wrap {
    margin-bottom: 3px;
    
}

.um-dline::after, .um-details::after, .um-has-wrap::after {
    content: '';
    display: table;
    clear: both;
}

.um-dline{
    border-bottom: 1px solid #2774C5;
}

.um-username {
    float: left;
    width: calc( 100% - 122px );
    box-sizing: border-box;
    padding: 5px;
}

.um-edit {
    display: block;
    float: right;
    width: 119px;
    box-sizing: border-box;
    padding: 3px;
    margin: 1px;
    text-align: center;    
}

.um-edit, .um-edit:active, .um-edit:visited {
    text-decoration: none;
    color: #fff !important;
    background-color: #014A97;
    transition: all 300ms linear;
}

.um-edit:hover {
    background-color: rgb(50, 116, 187);
    color: yellow !important;
}
.um-details {
    display: none;    
    padding: 3px 0;
}

.ud-staff {
    background-color: #f3fbfd;
}
.ud-customer {
    background-color: #fdfbf3;
}

.ud-user-type {
    float: left;
    padding: 5px;
    font-size: .8em;
    border: 1px solid #AAAAAA;
    background-color: #fcfcfc;
    min-width: 150px;
    border-radius: 2px;
}

.um-inactive {
    background-color: rgb(255, 202, 206);
    display: none;
}

.um-details label {
    font-size: .9em;
}

.um-gen-pwd {
    display: none;
    padding: 4px 20px;
    border: 1px solid #014A97;
    font-family: 'Courier New', Courier, monospace;
    margin-left: 20px;
}

.um-norm-spam {
    font-style: normal !important;
    color: #333 !important;
    font-size: .9em !important;
    margin-left: 20px !important;
    margin-right: 10px !important;
}

.um-seperator {
    border-bottom: 1px solid #2774C5;
    width: 96%;
    margin-left: 2%;
    height: 4px;
}

.um-h5 {
    padding: 0px;
    margin: 10px 0px 4px 30px;
    color: #2774C5;
}

.um-has-wrap {
    float: left;
    width: calc( 100%/3 );
    box-sizing: border-box;
}

.um-has-label {
    width: calc( 100% - 50px );
    float: left;
    padding: 4px;
    text-align: right;
}

.um-has-item {
    width: 30px;
    float: left;
    padding: 2px;
}

.change-cust-info {
    display: none;
    float: left;
    font-style: italic;
    padding: 10px;
    width: 65%;
    box-sizing: border-box;
}

@media screen and (max-width: 520px){
    .um-username {
        font-size: .8em;
        width: calc( 100% - 70px );
    }
    .um-edit {
        width: 60px;
    }
    .um-details label, .um-norm-spam {
        font-size: .7em;
    }
    .um-has-wrap {
        width: 50%;
    }
}

.que-row::after {
    content: '';
    display: table;
    clear: both;
}



.que-col {
    float: left;
    border-left: 1px solid #000000;
    padding: 5px;
    box-sizing: border-box;
}

.que-email {
    width: 360px;
}

.que-check {
    width: 30px;
}

.que-row {
    position: relative;
    border-bottom: 1px solid #000000;
}

.que-head {
    position: absolute;
    transform: rotate(-90deg);
    transform-origin: 100% 100%;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    min-width: 130px;
    margin: -3px 0;
    background-color: #fff;
}

.que-head:nth-child(1){ left: 225px; }
.que-head:nth-child(2){ left: 255px; }
.que-head:nth-child(3){ left: 285px; }
.que-head:nth-child(4){ left: 315px; }
.que-head:nth-child(5){ left: 345px; }
.que-head:nth-child(6){ left: 375px; }
.que-head:nth-child(7){ left: 405px; }
.que-head:nth-child(8){ left: 435px; }
.que-head:nth-child(9){ left: 465px; }
.que-head:nth-child(10){ left: 495px; }

.que-static {
    position: fixed;
    z-index: 2;
    background-color: #fff;
    width: 755px;
}

.med-row::after {
    content: '';
    display: table;
    clear: both;
}

.med-row:nth-child(EVEN) {
    background-color: #e1efff;
}

.med-head {
    font-weight: bold;
}

.med-col {
    float: left;
    padding: 1%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .9em;
}

.med-comments { width: 36%; }
.med-fullname { width: 15%; }
.med-med_date { width: 15%; }
.med-section_name { width: 15%; }
.med-med_type { width: 15%; }
.med-edit {width: 4% ;}

.med-history, .med-history:active, .med-history:visited {
    color: #C3000B !important;
    transition: all ease-in .3s;
}

.med-history:hover {
    color: #4D4D4D !important;
    text-decoration: none;
}

.med-hbox {
    display: none;
    float: left;
    width: 98%;
    box-sizing: border-box;
    margin: 7px;
    border: 1px solid #4D4D4D;
    padding: 4px;
    min-height: 70px;
    font-size: .9em;
    background-color: #fcfcfc;
}

.mhide {
    display: none;
}

.med-ed-staff {
    display: block;
    background-image: url(images/edit.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    -webkit-transition: background-image 0.5s ease-in-out;
    transition: background-image 0.5s ease-in-out;
}

.med-ed-staff:hover {
   background-image: url(images/edit-hover.png);
}


.cust-row {
    border-bottom: #c0c0c0;
    
}

.cust-row:nth-child(ODD){
    background-color: #f2f3fa;
}

.cust-row::after, .cust-menu::after, .cc-show-wrap::after, .cc-details::after {
    content: '';
    display: table;
    clear: both;
}
.cust-col {
    float: left;
    box-sizing: border-box;
    padding: 5px;
    font-size: .8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-customer { width: 30%; }
.cc-contact { width: 25%; }
.cc-email { width: 25%; }
.cc-type { width: 12%; }
.cc-butwrap { width: 8%; }

.cc-bold {
    font-weight: bold;
}

.cc-menu-link {
    float: left;
    padding: 4px;
    box-sizing: border-box;
    margin-right: 2px;
    display: block;
    line-height: 1;
    font-size: .9em;
} 

.cc-menu-link, .cc-menu-link:active, .cc-menu-link:visited {
    background-color: #0920a1;
    color: white !important;
    text-decoration: none;
}

.cc-menu-link:hover {
    background-color: #4D4D4D;
}

.cc-m-link-selected {
    background-color: #C3000B !important;
}

.cc-show-edit, .cc-show-edit:active, .cc-show-edit:visited {
    color: #C3000B !important;
    text-decoration: none;
}

.cc-show-edit:hover {
    color: darkcyan !important;
    text-decoration: underline;
}

.cc-details {
    display: none;
    float: left;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #AAAAAA;
    margin-top: 4px;
}

.cc-show-wrap {
    float: left;
    box-sizing: border-box;
    width: 50%;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.cc-show-lbl {
    float: left;
    width: 30%;
    padding: 4px;
    text-align: right;
}

.ctype-info {
    float: left;
    width: 65%;
    font-size: .85em;
    box-sizing: border-box;
}

.aster-req {
    background-image: url(images/aster-req.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 8px;
}

.aster-either {
    background-image: url(images/aster-either.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 8px;
}



.ui-dialog-buttonset button:hover {
    border: 1px solid #003eff !important;
    background: #007fff !important;
    font-weight: normal !important;
    color: #fff !important;
}

.ui-dialog-titlebar-close {
    border: 0px !important;
    background-color: #fff !important;
    background-image: url(images/cross.svg) !important;
    background-position: center !important;
    background-size: 60% !important;
    background-repeat: no-repeat !important;
}

.ui-dialog-titlebar-close:hover {
    opacity: .6;
    cursor: pointer;
}
.ui-button-icon ui-icon ui-icon-closethick {
    background-image: unset;
}


/* users */
#user-listing .row {
    cursor: pointer;
}

#user-listing .row:not(.inactive_user):nth-child(ODD){
    background-color: rgb(234, 249, 255);
}

#user-listing .inactive_user:nth-child(ODD){
    background-color: rgb(255, 234, 234);
}

.user-sel-row {
    background-color: bisque !important;
}

#comp-search-results {
    position: absolute;
    display: none;
    background-color: #fff;
    min-height: 150px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgb(133, 133, 133);
    border-radius: 4px;
    padding: 5px;
}

.user-sel-cust {
    display: block;
    padding: 4px 2px;
}

.user-sel-cust:nth-child(ODD){
    background-color: rgba(228, 233, 247, 0.521);
}

.user-sel-cust span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.us-company {
    display: inline-block;
    width: 50%;
}

.us-contact {
    display: inline-block;
    width: 48%;
    padding: 0 0 0 2%;
}

.doc-manager .nav-link, .doc-manager .nav-link:active, .doc-manager .nav-link:visited {
    color: #fff !important;
    transition: all linear 0.5s;
}

.doc-manager .nav-link:hover {
    color: #fbff00 !important;
    text-decoration: underline;
}

@media screen and (min-width: 992px) {
    .doc-manager .nav-link:hover {
        background-color: #014a97;
        border-radius: 3px;
    }
}


.btn-primary {
    background-color: #014a97;
    border-color: #014a97;
}

.apac-but.active {
    background-color: #2b84dd;
}

.apac-customers:nth-child(EVEN), .pa-item-row:nth-child(EVEN){
    background-color: #2773c546;
}

.pa-item-row-hov {
    background-color: #d8e4a1 !important;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    #pa-box .tab-content {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 768px) {
    #pa-box .tab-content {
        font-size: 0.8em;
    }
}

#search-results-box {
    display: none;
    position: absolute;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    padding: 5px;
    background-color: #fff;
    overflow-y: auto;
    max-height: 500px;
}

.search-results-link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #c0c0c0;
    padding: 6px;
}

.search-results-link:last-child {
    border-bottom: 0px;
}

.search-results-link:hover {
    background-color: #0080ff33;
}

.red-cross {
    display: block;
    background-image: url(images/red_cross.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
    transition: all linear 0.3s;
}

.red-cross:hover {
    background-image: url(images/incomplete.svg);
}

span[class*="sr-"] {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sr-60 { width: 60%; }
.sr-50 { width: 50%; }
.sr-40 { width: 40%; }
.sr-30 { width: 30%; }
.sr-33 { width: 33%; }
.sr-25 { width: 25%; }
.sr-20 { width: 20%; }
.sr-10 { width: 10%; }


.hover-pointer {
    cursor: pointer;
}

.selected-row {
    background-color: #007fff;
    color: #fff;
}