
body {

}

#page {
    padding-top: 100px;
}

.affix {
    box-shadow: 0 0 20px 0 rgba(46,40,64,.5);
}

#page_content {
    border-color: #ddd;
    border-width: 1px;
    border-radius: 4px;
    border-style: solid;
    padding:5px;
}

table.table tr th, table.table tr td {
    padding-left: 2px;
    padding-right: 2px;
    vertical-align: middle;
    text-align: center;
    font-size: 11px;
}

.form-inline .table .form-control{ width: 100%}

.full-width {
    width: 100% !important;
}

#footer {
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 10px;
}

.modal-body .form-group{
    margin-bottom: 5px;
}

.order-description {
    margin-bottom: 5px;
}

#advert_project_choosed > div {
    height: 34px;
    line-height: 34px;
    margin-bottom: 5px;
}

.my-center { 
    height: 91px;
    position: relative;
}

.my-center .my-centered {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}


.default-slider {
    margin-top: 5px;
    height: 80px;
}
.default-slider li{
    height: 80px;
    text-align: center;
}
a.image_container {
    background-color: white;
    height: 100%;
    display: inline-block;
    overflow: hidden;
}

a.image_container img {
    max-height: 100%;
    max-width: 100%;
}


#work_order_table tbody tr td:first-child{
    overflow: hidden;
}
#work_order_table tbody tr td:first-child > a {
    padding: 10em;
    margin: -10em;
    display: block;
}

#work_order_table_container .wo-supervisor-accepted td {
    background: repeating-linear-gradient(    45deg,    transparent,   transparent 10px,   darkgray 10px,   darkgray 11px);
}

.dropdown-menu ul a.wo-new, #work_order_table_container tr.wo-new {
    background-color: #FFFF9B ;
    font-weight: bold ;
}

/*    
  background:  repeating-linear-gradient(
45deg,
#606dbc,
#606dbc 10px,
#465298 10px,
#465298 20px

);
*/



.dropdown-menu ul a.wo-cancel, #work_order_table_container tr.wo-cancel{
    text-decoration: line-through;
    background-color: #D2BCFF;
}
.wo-cancel span.text{
    text-decoration: line-through;
}
.dropdown-menu ul a.wo-progress, #work_order_table_container tr.wo-progress {
    background-color: #ACEAAC; /*lightblue */
}
.dropdown-menu ul a.wo-end-area, #work_order_table_container tr.wo-end-area {
    background-color: #A7EEFF;
}
.dropdown-menu ul a.wo-end-operat, 
.dropdown-menu ul a.wo-staked-out,
#work_order_table_container tr.wo-end-operat ,  
#work_order_table_container tr.wo-staked-out {
    background-color: #CFCDCD; /*lightgreen*/
    color: gray;
}
.dropdown-menu ul a.wo-another-order, #work_order_table_container tr.wo-another-order{
    background-color: bisque; 
}

#work_order_table_container .DTFC_Cloned tr.selected td {
    /*background-color: #aab7d1;*/
    background-image: url('../img/check.png');
    background-position: bottom right;
    background-size: 40px;
    background-repeat: no-repeat;


    box-shadow:
        inset 0 0 10px green;
}


table thead  {background: white;}

.DTFC_LeftBodyLiner {overflow-x: hidden !important; }

.DTFC_LeftBodyLiner table.dataTable.no-footer{
    border: 1px solid #ddd;
}

.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:14px!important}

.mytooltip {
    position: relative;
} 

.mytooltip::before {
    content: attr(mytooltipcontent); /*Odbieranie danych z atrybutu 'tresc'*/
    font-size: 13px;
    position: absolute;
    z-index: 999;
    bottom: 9999px;
    left: -160px;
    background: white;
    color: black;
    border: 1px solid black;
    padding: 4px 5px;
    opacity: 0; 
    max-width: 400px;
    word-wrap: break-word;

    -webkit-border-radius: 3px; 
    -o-border-radius: 3px;
    -moz-border-radius: 3px; 
    border-radius: 3px;
} 


.mytooltip:hover::before {
    opacity: 1;
    bottom: -0px;
}

.mytooltip.mytooltip-menu::before {
    left: -100px;
    width:160px;
}
.mytooltip.mytooltip-menu:hover::before {
    opacity: 1;
    bottom: -45px;
}
.tile {
    min-height: 100px;
    font-size: 35px;
    text-align: center;

    float: none;
    display: table-cell;
    vertical-align: middle;
    color: #337ab7;


    /*display: inline-block;*/
    position:relative;


    background-color: transparent;
    background-image: linear-gradient(to bottom, rgba(30, 87, 153, 0.2) 0%, rgba(125, 185, 232, 0) 100%);
    background-repeat: repeat;
    border-radius:10px;
    border: 1px solid lightblue;
    padding: 5px;
    word-wrap: break-word;
}

.tile:hover{
    background-image: linear-gradient(to bottom, rgba(124, 126, 129, 0.38) 0%, rgba(125, 185, 232, 0) 100%);
    border: 1px solid lightgray;
}

.tile .text {
    line-height: normal;
}
/*.tile a {
    color: black;
}*/

.menu-advert {
    /* border: 1px solid lightgray;
     border-radius: 4px;*/
    margin-top: 5px;
}


body.loginPage{
    height: 100%;
    background-image: url('../img/bg.jpg');
    background-size: 100%;
}


.loginWrapper {
    background-color: white;
    margin-top: 5%;
    border: 1px solid rgb(125, 125, 125);
    border-radius: 5px;
    padding: 9px;
    box-shadow: 2px 2px 10px black;
    opacity: 0.8
}

.main-menu {
    font-size: 15px;
}

.main-menu .btn-sm{
    font-size: 14px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #eee;
}


.event.event-wo-new {
    background-color:  #FFFF9B;
}
.event.event-wo-cancel {
    background-color: #D2BCFF;
}
.event.event-wo-progress {
    background-color: #ACEAAC !important; /*lightblue */
}
.event.event-wo-end-area {
    background-color: #A7EEFF;
}
.event.event-wo-end-operat, .event.event-wo-staked-out {
    background-color: #CFCDCD;
    color: gray;
}
.event.event-wo-another-order {
    background-color: bisque !important; 
}

.event.square{
    border-radius: 0px;
}

.discInfoSwitcher{
    z-index: 5;
    cursor: pointer;
    position:absolute;
    right:0px;
    text-align: right;
    border-radius: 3px;
    background: rgba(179,220,237,1);
    background: -moz-linear-gradient(left, rgba(179,220,237,1) 0%, rgba(215,238,245,1) 50%, rgba(188,224,238,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(179,220,237,1)), color-stop(50%, rgba(215,238,245,1)), color-stop(100%, rgba(188,224,238,1)));
    background: -webkit-linear-gradient(left, rgba(179,220,237,1) 0%, rgba(215,238,245,1) 50%, rgba(188,224,238,1) 100%);
    background: -o-linear-gradient(left, rgba(179,220,237,1) 0%, rgba(215,238,245,1) 50%, rgba(188,224,238,1) 100%);
    background: -ms-linear-gradient(left, rgba(179,220,237,1) 0%, rgba(215,238,245,1) 50%, rgba(188,224,238,1) 100%);
    background: linear-gradient(to right, rgba(179,220,237,1) 0%, rgba(215,238,245,1) 50%, rgba(188,224,238,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=1 );
    padding: 4px;
}

.discInfoSwitcher.green {
    background: linear-gradient(to right, rgba(0,255,51,1) 0%, rgba(0,255,51,0.2) 35%, rgba(0,255,51,0.2) 65%, rgba(0,255,51,1) 100%);

}

.discInfoSwitcher.orange {
    background: linear-gradient(to right, rgba(255,133,10,1) 0%, rgba(255,133,10,0.2) 35%, rgba(255,133,10,0.2) 65%, rgba(255,133,10,1) 100%);
}

.discInfoSwitcher.red {
    background: linear-gradient(to right, rgba(255,0,51,1) 0%, rgba(255,0,51,0.2) 35%, rgba(255,0,51,0.2) 65%, rgba(255,0,51,1) 100%);
}

.discInfoContainer{
    position: relative;
}

h2 {
    margin-top: 10px;
    text-align: center;
}
h2 span.project-label {
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 20px;
}
h2 span.project-name {    
    font-size: 14px;
    vertical-align: middle;
}
table td p {
    margin: 0 0 0px;
}

table.dataTable.nowrap th, table.dataTable.nowrap td {
    white-space: initial;
}

.tr-image{
    background-size: contain; 
    background-position: 50%; 
    background-repeat: no-repeat;
    font-size: 0px !important;
}

/*table.table tr th, table.table tr td.child{
    text-align: left; 
}*/

table.dataTable {
    margin: 0 0;
}

.pagination{
    margin: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px;
}
#work_order_table_length{
    padding-top: 7px;
    padding-left: 20px;
}

.dataTables_info .select-info{
    padding-left: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: 1px solid lightgray
}

.DTFC_LeftHeadWrapper table.dataTable.no-footer {
    border-bottom: 0px solid #111;
}

.attach-me-to-wo{
    color: black;
    font-weight: bold;
}

.big-paperclip {
    color: red;
    font-size: 16px;
}

.projectsCards > div.row {
    margin-top: 5px;
    display: table;
    border-spacing: 5px;
}


#appbundle_workorder_place {
    width: 100% !important;
}

.bootstrap-select.btn-group .dropdown-menu.inner{
    float: right !important;
}

/* kafelki projektow */
.row-same-height {
    display: table;
}

.row-same-height [class*="col-"]{
    float: none;
    display: table-cell;
    vertical-align: top;
}

.menu-lang img{
    width: 30px;
    margin-right:5px;
}

 

.order-block-marker{
    display: block; position:absolute; left:0px; height: 1px; 
}

.order-block{
    display: block; position:absolute; cursor: pointer; border-radius: 2px; height: 10px; background: rgba(0,0,255,0.2); /*background: blue*/; 
}
.order-block:hover{
    background: rgba(0,0,255,0.4);
}
.order-legend{
    display: block; height: 20px; width: 100px;  position: absolute; text-align: center; font-weight: bold;
}
.order-legend span{
    padding: 5px; background: gold; border-radius: 5px; font-size: 12px;
}

#linearRepContainer{ overflow-x: auto; height: 450px;}
#linearRepContainerContent {height: 400px; position:relative; overflow-y: auto;}

ul.insideTableList, ol.insideTableList {
    text-align: left;
    margin-bottom: 0px;
    padding-left: 15px;
}


        .connectionContainer {
            max-height: 500px;
            border: 1px solid gray;
            border-radius: 5px;
            overflow-y: auto;
        }

        .connectionContainer .form-group {
            margin-bottom: 3px; 
            margin-right: 10px;
            margin-left: 10px;
        }
        .connectionContainer label{
            text-align: left !important;
        }
        #connectBtn {
            margin-top: 200px;
        }

        .trade-tag {
            margin-right: 4px;
            color: white;
            line-height: 1.5;
            display: inline-block;
        }
        
        .label-info {
            background-color: #5bc0de;
        }
        
.assortment-divider{
    position:absolute; background:lightgray; z-index: 2; height: 1px; left:0px; 
}

.presentation-background{
    position:sticky; 
    top: 0px; 
    margin-left: 180px; 
    height: 350px; 
    background:repeating-linear-gradient(to right, white, white 50px , lightgray 50px, lightgray 51px, white 51px, white 100px)
}
.assortment-label {
    position:absolute; 
    background: skyblue; 
    border-radius: 7px; 
    padding: 0px 3px; 
    font-weight:bold; 
    z-index: 2; 
    left: 0px;

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width:210px;
    cursor: pointer;
}

.order-block.wo-new{background-color: #FFFF66 ;}
.order-block.wo-cancel{background-color: #D2BCFF;}
.order-block.wo-progress{background-color: #ACEAAC;}
.order-block.wo-end-area{background-color: #A7EEFF;}
.order-block.wo-end-operat{background-color: #CFCDCD;}
.order-block.wo-staked-out{background-color: #CFCDCD;}
.order-block.wo-another-order{background-color: bisque;}

/* hide arrows in number input */
input.hide-arrows[type="number"]::-webkit-outer-spin-button,
input.hide-arrows[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input.hide-arrows[type="number"] {
    -moz-appearance: textfield;
}

.marked{
    background-color: lightgray;
}