html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}
.nogutter{
    margin: 5px 0px !important;
}
.footer {
    height: 60px;
    background-color: #231f20;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    color: #626164;
    text-transform: uppercase;
    font-size: .8em;
    font-weight: bold;
    z-index: 10;
}
.footer .pull-left{
    margin-left: 15px;
}
.footer .pull-right{
    margin-right: 15px;
}
#footer-bump{
    height: 100px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e113";
}

a.desc:after {
    content: "\e114";
}

.sort-numerical a.asc:after {
    content: "\e113";
}

.sort-numerical a.desc:after {
    content: "\e114";
}

.sort-ordinal a.asc:after {
    content: "\e113";
}

.sort-ordinal a.desc:after {
    content: "\e114";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}


/*
splash/login scheen
*/
.splash-top{
    position: fixed;
    top: 0;
    width: 100%;
    height: 52%;
    background: url(/images/splash-top.png);
    background-size: 100% 100%;
    z-index: -1;
}
.splash-bottom{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 42%;
    background: url(/images/splash-bottom.png);
    background-size: 100% 100%;
    z-index: -1;

}
.content{
    height: 100%;
}
.splash-content-header, .blocks{
    display: inline-block;
}
.blocks{
    width: 30%;
    margin: auto;
    height: 100%;
    float: left;
    text-align: right;
    z-index: 1;
    margin-right: 25px;
}
.splash-content-header{
    width: 60%;
    margin: auto;
    height: 100%;
}
.splash-content-header .top{
    height: 52%;
    position: relative
}
.splash-content-header .middle{
    color: #00519e;
    height: 6%;
    font-size: 2em;
    line-height: 2em;
    font-family: 'Libre Baskerville', serif;
}
.splash-content-header .bottom{
    height: 42%;
}
.icons{
    width: 258px;
    height: 222px;
    display: block;
    position: relative;
    top: 9%;
}
.icons.cablecircles{
    width: 100%;
    background: url(/images/splash-icon-cablecircles.png);
    background-repeat: no-repeat;
    background-position: top right;
}
.icons.logo{
    width: 100%;
    background: url(/images/splash-icon-logo.png);
    background-repeat: no-repeat;
    background-position: top right;
}
.icons.cableplugs{
    width: 100%;
    background: url(/images/splash-icon-cableplugs.png);
    background-repeat: no-repeat;
    background-position: top right;
}
div.site-login{
    padding: 25px;
}
div.site-login input{
    font-family: 'Libre Baskerville', serif;
    width: 175px;
}
.companyname{
    text-transform: uppercase;
    font-family: 'Average', serif;
    color: #fff;
    font-size: 2.7em;
    position: absolute;
    bottom: 0;
    font-weight: bold;
    letter-spacing: 3px;
}
#topfixed-logo{
    z-index: 0;
    width: 214px;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
}

#topfixed{
    background: url(/images/main-top.png);
    background-repeat: no-repeat;
    background-position: top left;
    z-index: 100000;
    width: 100%;
    height: 153px;
    position: fixed;
    top: 0;
    left: 0;
}
#topfixed .companyname{
    position: relative;
    left: 150px;
    width: auto;
    height: 57px;
    font-weight: normal;
    display: inline-block;
    font-size: 1.7em;
    line-height: 2.5em
}
.welcome{
    background: #133659;
    z-index: 200;
    height: 58px;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
}

.welcometext{
    height: 21px;
    color: #fff;
    float: right;
    margin: 3px;
    display: inline-block;
}
.navbar-admin{
    position: fixed;
    top: 58px;
    right: 0;
    z-index: 1000000000000000;
    width: auto;
}
ul.navbar-nav{
    left: 200px !important;
    position: absolute !important;
    z-index: 1000000000000000;
}
.navbar-admin li{
    display: inline-block !important;
    float: right;
    background: ghostwhite;
}

.navbar-custom{
    position: relative;
}
.navbar-fixed {
    top: 100px;
    z-index: 1000;
    position: fixed;
    width: 100%;
}
#content{
    position: absolute;
    top: 74px;
    width: 100%;
    padding: 0;
}
.emptybar{
    background: #fff;
    height: 150px;
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%
}
#login-widget-form input {
    margin: 5px;
}

/* order form */
.order-headers-form .col-sm-6, .order-headers-form .col-sm-3{
    padding-left: 8px;
    padding-right: 0px;
}
.order-headers-form .col-md-3{
    margin-right: 10px;
}
.order-headers-form fieldset input, .order-headers-form fieldset select {
    width: 90%;
    margin-left: 5%;
}
.order-headers-form .col-sm-6  fieldset input, .order-headers-form .col-sm-3  fieldset select{
    padding: 4px;
    font-size: .9em;
}
.order-headers-update, .order-headers-create{
    border: 1px solid lightgray;
    padding: 10px;
    margin-top: 30px;
    -webkit-box-shadow: 1px 2px 5px 3px rgba(0,0,0,0.37);
    -moz-box-shadow: 1px 2px 5px 3px rgba(0,0,0,0.37);
    box-shadow: 1px 2px 5px 3px rgba(0,0,0,0.37);
}
div.fieldset{
    border: 1px solid lightgray;
    background: rgba(2, 85, 165, 0.08);;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 10px;
}

#lineitemfieldsset{
    overflow-x: auto !important;
}

.form-inline .form-control{
    width: inherit;
}
.narrowcolumn{
    padding-left: 3px !important;
    padding-right: 3px !important;
    width: auto !important;
}
.form-control{
    padding: 2px !important;
}
#add_item, #add_item_vendors{
    display: none;
}
.pointer{
    cursor: pointer;
}
#orders-remarks, #orders-other_info{
    resize: none;
}
.form-control{
    border: 1px solid #9b9b9b !important;
}
.nowrap{
    white-space: nowrap;
}
.table-responsive{
    overflow-x: hidden !important;
}
.order-only{
    display: ''
}
.invoice-only{
    display: none;
}
/*.invoice-only label{
    color: #fff;
    background: #000;
    width: 100%;
    height: 100%;
    padding: 5px;
    margin-bottom: 0px;
}*/
#form_invoice_container .invoice-only{
    display: block;
}
#form_invoice_container .order-only{
    display: none;
}
#form_invoice_container{
    display: none;
    font-size: 75%;
}
#form_invoice_container legend{
    font-size: 16px;
}
#form_invoice_container label{
    line-height: 30px;
}

#invoice_print{
    cursor: pointer;
}
.filetypes{
    font-size: 11px;
}
#form_invoice_container .row{
    margin: 0px !important;
}
#form_invoice_container .field-orders-sales_person{
    display: none;
}
.max-z-index{
    z-index: 1000000 !important;
}

#copyaddress{
    font-size: 13px;
    color: #337ab7;
}

.ias-trigger{
    display: none !important;
}

#flashMessageContainer{
    display: none;
    width: 100%;
}
#flashMessage{
    display: block;
    z-index: 999999999999999999999999999;
    width: 275px;
    height: 75px;
    position: relative;
    border: 3px solid lightgrey;
    text-align: center;
    line-height: 22px;
    margin: auto;
    top: 180px;
    padding-top: 5px;
    background: #002d5a;
    color: #fff;
    font-weight: bold;
    -webkit-box-shadow: 3px 2px 4px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 2px 4px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 2px 4px 0px rgba(0,0,0,0.75);
}
/*     <div style=""><h4 style=">DEVELOPMENT</h4></div>
*/
#devbannercontainer{
    z-index: 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
    position: fixed;
    width: 100%;
	width: 250px;
	position: fixed;
	top: 0;
	left: 47%;
}
#devbannercontainer h4{
    text-align: center; width: 200px; background: #fff; margin: auto; font-weight: bold; color: red;
}
/* Bootstrap 4 looking ahead */
.mt-5{ margin-top: 3em !important; }
.mb-5{ margin-bottom: 3em !important; }
.mt-4{ margin-top: 2.5em !important; }
.mb-4{ margin-bottom: 2.5em !important; }
.mt-3{ margin-top: 2em !important; }
.mb-3{ margin-bottom: 2em !important; }
.mt-2{ margin-top: 1.5em !important; }
.mb-2{ margin-bottom: 1.5em !important; }
.mt-1{ margin-top: 1em !important; }
.mb-1{ margin-bottom: 1em !important;}
.mt-0{ margin-top: 0px !important; }
.mb-0{ margin-bottom: 0px !important; }
.ml-5{ margin-left: 3em !important; }
.mr-5{ margin-right: 3em !important; }
.ml-4{ margin-left: 2.5em !important; }
.mr-4{ margin-right: 2.5em !important; }
.ml-3{ margin-left: 2em !important; }
.mr-3{ margin-right: 2em !important; }
.ml-2{ margin-left: 1.5em !important; }
.mr-2{ margin-right: 1.5em !important; }
.ml-1{ margin-left: 1em !important; }
.mr-1{ margin-right: 1em !important;}
.ml-0{ margin-left: 0px !important; }
.mr-0{ margin-right: 0px !important; }

.pt-5{ padding-top: 3em !important; }
.pb-5{ padding-bottom: 3em !important; }
.pt-4{ padding-top: 2.5em !important; }
.pb-4{ padding-bottom: 2.5em !important; }
.pt-3{ padding-top: 2em !important; }
.pb-3{ padding-bottom: 2em !important; }
.pt-2{ padding-top: 1.5em !important; }
.pb-2{ padding-bottom: 1.5em !important; }
.pt-1{ padding-top: 1em !important; }
.pb-1{ padding-bottom: 1em !important;}
.pt-0{ padding-top: 0px !important; }
.pb-0{ padding-bottom: 0px !important; }
.pl-5{ padding-left: 3em !important; }
.pr-5{ padding-right: 3em !important; }
.pl-4{ padding-left: 2.5em !important; }
.pr-4{ padding-right: 2.5em !important; }
.pl-3{ padding-left: 2em !important; }
.pr-3{ padding-right: 2em !important; }
.pl-2{ padding-left: 1.5em !important; }
.pr-2{ padding-right: 1.5em !important; }
.pl-1{ padding-left: 1em !important; }
.pr-1{ padding-right: 1em !important;}
.pl-0{ padding-left: 0px !important; }
.pr-0{ padding-right: 0px !important; }
