.fade.in {
    opacity: 1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert-danger {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}
.alert {
    padding: 15px;
    margin-top: 25px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}
a {
    color: #337ab7;
    text-decoration: none;
}
a {
    background-color: transparent;
}



/** CSS for fancybox confirmation box */
.fancy-confirm-div {
    display: none;
    width: 230px;
}

.fancy-confirm-div .btn {
    color: #fff;
    width: 100px;
}

.fancy-confirm-div form {
    display: inline-block;
}

.cancel{
    background-color: red;
    border-color: #eed3d7;
}

.width20{
    width:20px;
}

.width200{
    width:200px;
}

.width300{
    width:300px;
}

.margin10{
    margin-left: 10px;
}

/** Drag Drop */

.sortable {
    border: 1px solid #eee;
    width: 100%;
    min-height: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0px 0 0 0;
    float: left;
    margin-right: 10px;
}
.sortable li {
    margin: 2px 2px 2px 2px;
    padding: 5px;
    font-size: 10px;
    cursor: move;
    z-index: 5;
}

.ui-draggable-dragging {
    z-index: 6 !important;
}

.drag-confirm{
    width: 300px;
    display: none;
}

.over-capacity{
    background-color: #f2dede !important;
}

.order-completed{
    background-color: green;
}

.in-process{
    background-color: rgba(247, 147, 30, .5);
}

/** Login **/

#login-section{

    width: 500px;
    margin:auto;
    padding:50px 50px 50px 50px;
}

#login-table td{    
    padding:5px;
}

#login-table input{    
    padding:5px;
}

.long-input{
    width:300px;
}

/* The Overlay (background) */
.overlay {    
    font-size:70px;
    text-align: center;
    vertical-align: central;
    height: 100%;
    width: 100%;
    display:none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding:50px;
}

.overlay-red{
    color: #b94a48;
    background-color: #f2dede;
}

.overlay-green{
    color: #3c763d;
    background-color: #dff0d8;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    margin-left: 35px!important;
}


/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
} 

/** CSS for fancybox confirmation box */

.fancy-confirm-div {
    display: none;
    width: 230px;
}

.fancy-confirm-div .btn {
    color: #fff;
    width: 100px;
}

.fancy-confirm-div form {
    display: inline-block;
}

.extreat{
    color: darkgray;
    font-style: italic;
}

/** End Fancy **/

.pb-info{
    display: none;
    background-color: #fff
}

.form-wrap .file-form .form-control {
    width: 100%;
}

/** Production Planning Sorting */

#sortable_pp {
    width: 100%;
    min-height: 20px;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
}

#sortable_pp li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    font-size: 13px;
    width: 100%;
}
