/* Somthing is overriding this in app css */
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close { background: url(chosen-sprite.png) -42px 1px no-repeat !important;}
.modal-backdrop { z-index: -1;}
div.search-panel ul.nav-pills.nav-justified li a { background-color: #eee;color: #b12025;border: 1px solid #b12025;}
div.search-panel ul.nav-pills.nav-justified li.active a {background-color: #b12025; color: #eee; }
.panel-header.row a.admin-header-link {color: #ddd;}
.panel-header.row a.admin-header-link:hover {color: #fcc;}
#navbar li a {outline: none;}
#navbar li a:focus {outline: none;}

#admin-search-form input {
    background-color: #fff;
}

hr.thick {
    border-top: 4px solid #b12025;
}

h3.part-details-title a {
    outline: 0;
    text-decoration: none;
}


div#addCuttingToolModal.modal.fade.in div.modal-dialog.modal-dialog-centered div.modal-content.panel {
    border-top: 4px solid #b12025 !important;
}

.modal, .stop-scrolling {
    overflow: auto !important;
}

div.mainbody ul.nav-tabs.nav-justified li a, div.mainbody ul.nav-tabs.nav-justified li:active a {
    border: 1px solid #888;
    outline: none;
}

div.mainbody ul.nav-tabs.nav-justified {
    border: none;
    box-shadow: none;
}

#loading-bar-spinner .spinner-icon {
    width: 14px;
    height: 14px;

    border: solid 2px transparent;
    border-top-color: #b12025;
    border-left-color: #b12025;
    border-radius: 10px;

    -webkit-animation: loading-bar-spinner 400ms linear infinite;
    -moz-animation: loading-bar-spinner 400ms linear infinite;
    -ms-animation: loading-bar-spinner 400ms linear infinite;
    -o-animation: loading-bar-spinner 400ms linear infinite;
    animation: loading-bar-spinner 400ms linear infinite;
}

/* Fancy blur effect */
#loading-bar .peg {
    position: absolute;
    width: 70px;
    right: 0;
    top: 0;
    height: 6px;
    opacity: .45;
    -moz-box-shadow: #b12025 1px 0 6px 1px;
    -ms-box-shadow: #b12025 1px 0 6px 1px;
    -webkit-box-shadow: #b12025 1px 0 6px 1px;
    box-shadow: #b12025 1px 0 6px 1px;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
}

#loading-bar .bar {
    -webkit-transition: width 350ms;
    -moz-transition: width 350ms;
    -o-transition: width 350ms;
    transition: width 350ms;

    background: #b12025;
    position: fixed;
    z-index: 10002;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-bottom-right-radius: 1px;
    border-top-right-radius: 1px;
}

#loading-bar-spinner .spinner-icon {
    width: 20px;
    height: 20px;

    border-radius: 15px;
}

ul.nav-pills.nav-justified {
    border-spacing: 15px 5px;
    margin-left: -15px;
    width: calc(100% + 30px);
}
ul.nav-pills.nav-justified li a {
    background: #b12025;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*box-shadow: 1px 1px 5px 0px #000000;*/
    /*-webkit-box-shadow: 1px 1px 5px 0px #000000;*/
    /*-moz-box-shadow: 1px 1px 5px 0px #000000;*/
    border: solid #FFFFFF 1px;
    text-decoration: none;
    cursor: pointer;
    color: #fff9e5;
    outline: none;
}

ul.nav-pills.nav-justified li a:hover
/*#op-tabs > ul.nav-pills li a:hover, #customer-tabs >ul.nav-pills li a:hover, #vendor-tabs >ul.nav-pills li a:hover*/
{
    background: #fff9e5;
    text-decoration: none;
    color: #b12025;
    border: solid #000 1px;
}

ul.nav-pills.nav-justified li.active a
/*#op-tabs > ul.nav-pills li a:focus, #op-tabs > ul.nav-pills li.active a,*/
/*#customer-tabs > ul.nav-pills li a:focus, #customer-tabs > ul.nav-pills li.active a,*/
/*#vendor-tabs > ul.nav-pills li a:focus, #vendor-tabs > ul.nav-pills li.active a*/
{
    background-color: #999;
    box-shadow: inset 1px 1px 5px 0px #000000;
    -webkit-box-shadow: inset 1px 1px 5px 0px #000000;
    -moz-box-shadow: inset 1px 1px 5px 0px #000000;
}

#tool-gallery .form-group { overflow: hidden; height: 175px;}
#tool-gallery img {
    height: 120px;
    margin: auto;
    text-align: center;
    display:block;
}

form .fa-asterisk, .form-group .fa-asterisk, .tab-table .fa-asterisk {
    color: #b12025;
    font-size: 10px;
    padding-left: 4px;
}

/* fix broken responsive tables */
@media (min-width: 768px) {
    .table-responsive { overflow-x: visible;}
}

.btn-operations {
    color: #b12025;
    background-color: #fff;
    border-color: #fff;
}

.alert-warning {
    color: #b12025;
}


@media (max-width: 989px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-collapse.collapse {
        display:none !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .collapse.in{
        display:block !important;
    }

    .navbar-wrap::before, .navbar-wrap::after {
        display: none !important;
    }
    .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-action > li {
        display: block;
        white-space: normal;
        text-align: left;
    }
    .navbar-wrap .navbar-nav {
        margin: 0;
    }
    .navbar-wrap {
        margin-left: 0;
    }
    .navbar-user > li.user-avatar {
        position: absolute;
         left: 0;
        z-index: 2;
    }
    .navbar-action > li.active::before {
        top: 22px;
        left: 0;
        margin-left: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #b12025;
        border-right: none;
    }

    .navbar-action > li span {
        display: inline-block;
        padding-left: 12px;
        font-size: 16px;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 18px;
    }

}

@media (min-width: 990px){
    ul.main-navbar.navbar-action > li {
        width: 20%;
    }
    .dropdown-menu {min-width: 100%; }

    .navbar-nav > li > .dropdown-menu {
        margin-top: 3px;
    }
}

#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxPrevious{position:absolute; top:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:-75px -25px;}
#cboxNext{position:absolute; top:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxNext:hover{background-position:-50px -25px;}
#cboxClose{position:absolute; top:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxClose:hover{background-position:-25px -25px;}
#cboxCurrent{position:absolute; top:4px; left:58px; color:#949494;}


.upload-container {
    position: relative;
    height: 150px;
    width: 100%;
    overflow: hidden;
    display: block;
    margin: auto;
}
.file-label {
    position:absolute;
    top: 0;
    right: 0;
    height: 100%;
    Width: 100%;
    background-color: #337ab7;
   }
.real-upload {
    font-size: 200px;
    margin-top: -25px;
    padding: 0;
    z-index: 2;
    -moz-opacity:0 ;
    filter:alpha(opacity: 0);
    opacity: 0;
}
.fakeupload {
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    top: 0;
    bottom: 0;
    left:0;
    right: 0;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
}
.fakeupload > div {
    display: table;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.fakeupload > div > div {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
}

#uploaded-files ul {
    list-style-type: none;
}

input[type="radio"].form-control
{
    float: none;
    width: 5% !important;
    height: 15px !important;
    margin: 4px 0 0;
    line-height: normal;

}


#part-copy div.chosen-container-single {
    display: inline-block;
    width: auto !important;
}

.force-show { display: block !important;}
.mobile-only { display: none; }
.mobile-only .btn .fa-ellipsis-v {
    font-size: 14px;
    padding: 0 1px;
}

@media all and (max-width: 1199px) {
    .force-show { display: none; }
    .mobile-only { display: block; }
    span.dragger { display: none; }
    body.sort-handles-on span.dragger { display: block !important; }

}