@charset "UTF-8";

/* Quick Order */
.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: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    float: left;
    display: none;
    min-width: 160px;
    /*_width: 160px;*/
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    background-image: none;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
}

&.ui-state-hover, &.ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}
.ui-state-focus{
    border:1px solid #fbcb09;
    background:#fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x;
    font-weight:bold;
    color:#c77405
}

tr.error {
    background-color: #f2dede;
}
tr.error .products-input input{
    background: #FFF;
}
tr.error .products-input input:hover, tr.error .products-input input:focus {
    border-color: #242626;
    background: #f1f2f3; }

tr.error td h2 .product-output {
    color: red;
    font-weight: bold;
}

/* Profile */
.modal-display.active {
    display: block;
}
.modal-display {
    display: none;
}

/* Cart */
.integrated-item-no {
    display: none;
}

.datepicker.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.datepicker.dropdown-menu .table-condensed tr th, .datepicker.dropdown-menu .table-condensed tr td {
    padding: 5px;
}

.text-danger {
    color: #d50020;
}

/* CMS */
.create-ui-toolbar-wrapper{
    z-index: 100000 !important;
}
#cke_editor2,#cke_editor1{
    z-index: 100001 !important;
}
.cke_dialog{
    z-index: 100002 !important;
}

.midgardNotifications-container > div{
    z-index: 100000 !important;
    top: 105px !important;
}

.terms-title div {
    display: inline-block;
    vertical-align: middle;
    line-height: 21px;
}
.terms-table td strong {
    font-size: 16px;
    text-transform: uppercase;
}
.cms-img-left{
    float: left;
    margin: 10px 65px 21px 35px !important;
}

p.cms-cite{
    display: block;
    margin: 24px 0 0;
    font-weight: bold;
    font-style: normal;
    color: #242626;
}
p.cms-center{
    text-align: center;
    margin-top: 55px;
    color: #242626;
}
p.cms-center strong {
    display: block;
}
p.cms-center img {
    margin-top: 24px;
}
@media (max-width: 550px){
    p.cms-center img{
        display: inline-block;
    }
}


/* Global */

.hidden{
    display: none !important;
}

/* Item */
.item-long-desc p{
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Search results on top*/
@media (max-width: 992px) {
    ul.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all{
        top: unset !important;
        bottom: 50px !important;
        max-height: 250px !important;
        overflow-y: auto;
        position: fixed !important;
    }
}
