/* Hlavní boxy */
.mb_claim_box {
    padding: 1.2rem;
    background: #fff;
    margin-bottom: 1rem;
}

/* NOTICE pro výběr typu popžadavků */
#mb_claim_allert_typ {
    color: red;
    font-weight: bold;
}

/* Checkbox provýběr produktů */
.mb_claim_checkbox_middle {
    vertical-align: middle !important;
    text-align: center !important;
}

.mb_claim_table_img {
    width: 150px;
}

.mb_claim_button_info {
    line-height: 50px;
}

.mb_claim_state {
    padding: 0.25rem 0.375rem;
    margin: 0.125rem;
    font-size: inherit;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    border-radius: 3px;
}

/* Hvězdička vysvětlení */
.mb_claim_star_anotation {
    font-size: 0.9em;
}

/* Obsah MODAL okna */
.mb_claim_modal_content ul{
    list-style-type: disc;
    padding-left: 20px;
    line-height: normal;
}

/* Progres bar */
#mb_claim_progressbar {
    margin: 20px;
    overflow: hidden;
    counter-reset: step;
    width:100%;
    text-align: center;
}

#mb_claim_progressbar li {
    list-style-type: none;
    color: rgb(51, 51, 51);
    text-transform: uppercase;
    font-size: 0.8em;
    width: 25%;
    float: left;
    position: relative;

}

#mb_claim_progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    line-height: 30px;
    display: block;
    font-size: 1em;
    font-weight: bold;
    color: #333;
    background: white;
    border-radius: 15px;
    margin: 0 auto 5px auto;
    background: #aaa;
    color: white;
}

#mb_claim_progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
}

#mb_claim_progressbar li:first-child:after {
    content: none; 
}

#mb_claim_progressbar li.active:before,  #mb_claim_progressbar li.active:after{
    background: #24b9d7;
    color: white;
}

/* nahrávaní dokumentů */
.dm_inputfile {
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;

    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

    padding: 10px;

    border: 1px solid #f6f6f6;
    display: flex;
}

input[type="file"].dm_inputfile::-webkit-file-upload-button {
  float: right;
  position: relative;
  top: -1px; right: -1px;
}

input.mb_claim_input {
  width: 100%;
  padding: 12px 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  background-color: #f8f8f8;
  font-size: 1em;
  resize: none;
}

textarea.mb_claim_textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  background-color: #f8f8f8;
  font-size: 1em;
  resize: none;
}

/* Spinner  */
#dm-cover-spin
{
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin
{
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin
{
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#dm-cover-spin::after
{
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

/* SUPPORT LIST výběr požadavků */
.mb_claim_select_a
{
    display: inline-block;
    padding: 0 0.9375rem;
    margin-bottom: 1.875rem;
    font-size: 1rem;
    font-weight: 700;
    color: #7a7a7a;
    text-align: center;
    text-transform: uppercase;
}

.mb_claim_span
{
    display: block;
    height: 100%;
    padding: 1rem;
    background: #fff;
}

.mb_claim_i
{
    display: block;
    width: 100%;
    padding-bottom: 3.4rem;
    font-size: 2.6rem;
    color: #232323;
}

/* MB FIX 3.3.14: lepšie zobrazenie nájdenej objednávky na mobile */
@media (max-width: 767px) {
    .mb_claim_box {
        padding: 1rem;
    }

    .mb_claim_box .orders {
        padding: 0;
        margin-top: 0.75rem;
        border: 1px solid #e5e5e5;
        background: #fff;
    }

    .mb_claim_box .orders > .row {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .mb_claim_box .orders > .row > [class*="col-"] {
        display: block;
        float: none;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        text-align: left !important;
        box-sizing: border-box;
    }

    .mb_claim_box .orders > .row > [class*="col-"] + [class*="col-"] {
        padding-top: 0;
    }

    .mb_claim_box .orders h3 {
        margin: 0 0 0.65rem 0;
        font-size: 1.25rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .mb_claim_box .orders .date,
    .mb_claim_box .orders .mb-claim-mobile-order-line {
        margin-bottom: 0.35rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .mb_claim_box .orders a.mb-claim-mobile-create,
    .mb_claim_box .orders .col-xs-2 a,
    .mb_claim_box .orders .col-xs-3 a,
    .mb_claim_box .orders .col-xs-4 a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        border: 1px solid #2fb5d2;
        border-radius: 3px;
        background: #2fb5d2;
        color: #fff !important;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        text-decoration: none !important;
        text-transform: uppercase;
        box-sizing: border-box;
    }

    .mb_claim_box .orders a.mb-claim-mobile-create:hover,
    .mb_claim_box .orders a.mb-claim-mobile-create:focus,
    .mb_claim_box .orders .col-xs-2 a:hover,
    .mb_claim_box .orders .col-xs-2 a:focus,
    .mb_claim_box .orders .col-xs-3 a:hover,
    .mb_claim_box .orders .col-xs-3 a:focus,
    .mb_claim_box .orders .col-xs-4 a:hover,
    .mb_claim_box .orders .col-xs-4 a:focus {
        background: #2592a9;
        border-color: #2592a9;
        color: #fff !important;
    }

    #referenceOrder,
    #search-order select.form-control {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    #search-order .form-footer .btn,
    #search-order .form-footer button {
        float: none !important;
        width: 100%;
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .mb_claim_box .orders.hidden-md-up {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mb_claim_box table.hidden-sm-down {
        display: none !important;
    }

    .mb_claim_box .orders.hidden-md-up {
        display: block !important;
    }
}
