﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    *::selection {
        color: #4099FF;
    }

body, html {
    cursor: default;
    background-color: #efefef;
    font-family: Tahoma;
    font-size: 14px;
    color: #252525;
}

input[type=text], input[type=password], input[type=number] {
    width: 200px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    outline: none;
}
   

textarea {
    border: 1px solid rgb(204, 204, 204);
    width: 250px;
    height: 60px;
    max-width: 400px;
    max-height: 120px;
    min-width: 180px;
    min-height: 40px;
    padding: 4px 6px;
}

select {
    width: 214px;
    padding: 4px 6px;
    border: 1px solid #ccc;
}

label {
    cursor: pointer;
}

.clear {
    clear: both;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
}

.body {
    width: 100%;
    /*min-width: 960px;
    max-width: 1200px;*/
    margin: 0 auto;
    background-color: #fff;
    min-height: 500px;
    box-shadow: 0 10px 15px 0 rgba(0,0,0,0.33);
}
.responsive {
    width: 100%;
    height: auto;
    max-height: 45px;
    max-width: 80px;
    margin-left: 5px;
}
.content {
    padding: 10px;
}

.button {
    background: #ddb6a8;
    padding: 8px 0;
    color: #fff;
    letter-spacing: 1px;
    cursor: pointer;
    width: 120px;
    text-align: center;
}

    .button:hover {
        background: #cfa595;
    }

.title {
    font-size: 20px;
    margin: 10px 0 30px 10px;
    font-weight: bold;
    color: #656A6F;
}

.buttonAdd {
    float: right;
    background: #458945;
    border: 1px solid #357935;
}

    .buttonAdd:hover {
        background: #6fbb6f;
    }


.buttonProg {
    float: right;
    background: #898445;
    border: 1px solid #726d36;
}

    .buttonProg:hover {
        background: #b3bb6f;
    }

.buttonAddN {
    float: right;
    margin-left: 5px;
    background: #454589;
    border: 1px solid #353579;
}

    .buttonAddN:hover {
        background: #6f6fbb;
    }

.buttonAddB {
    background: #458945;
    border: 1px solid #357935;
}

    .buttonAddB:hover {
        background: #6fbb6f;
    }

.buttonAddNB {
    background: #454589;
    border: 1px solid #353579;
}

    .buttonAddNB:hover {
        background: #6f6fbb;
    }

.buttonCancel {
    float: right;
    background: #894545;
    margin-left: 5px;
    border: 1px solid #793535;
}

    .buttonCancel:hover {
        background: #bb6f6f;
    }

.buttonCancelB {
    background: #894545;
    margin-left: 5px;
    border: 1px solid #793535;
}

    .buttonCancelB:hover {
        background: #bb6f6f;
    }

.grid, .cashboxInOutgrid {
    border-spacing: 0px;
    border-collapse: separate;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin: 10px auto 0 auto;
    width: 100%;
}

    .grid tr, .cashboxInOutgrid tr {
        background-color: #fff;
    }

        .grid tr:hover, .cashboxInOutgrid tr:hover {
            background: #efefef;
        }


        .grid tr td, .cashboxInOutgrid tr td {
            border-right: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
            padding: 5px 10px;
        }

        .grid tr th, .cashboxInOutgrid tr th {
            background: #c49787;
            color: #fff;
            border-right: 1px solid #d1c8c5;
            border-bottom: 1px solid #d1c8c5;
            padding: 10px;
            font-size: 11px;
            font-weight: normal;
            letter-spacing: 1px;
        }

.tableInfo {
    border-spacing: 0px;
    border-collapse: separate;
    width: 80%;
}

    .tableInfo tr td {
        padding: 5px 10px;
    }


.gridSmall {
    width: 60px;
}

.gridSmallOneIcon {
    width: 29px;
}

.gridButtons {
    width: 90px;
}


.iconButton {
    margin: 0 auto;
    width: 25px;
    height: 25px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 3px;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.addPerson {
    background-image: url("../Images/addPerson.png  ");
}
.savePerson {
    background-image: url("../Images/more.png");
}

    .savePerson:hover {
        background-color: #d7aaee;
    }
.addPerson:hover {
    background-color: #ace;
}

.edit {
    background-image: url("../Images/edit.png");
}

    .edit:hover {
        background-color: #ace;
    }

.delete {
    background-image: url("../Images/delete.png");
}

    .delete:hover {
        background-color: #caa;
    }

.dropdown {
    background-image: url("../Images/dropdown.svg");
}

    .dropdown:hover {
        background-color: #caa;
    }

.discount {
    background-image: url("../Images/discount.png");
}

    .discount:hover {
        background-color: #ACCCAA;
    }

.attach {
    background-image: url("../Images/attach.png");
}

    .attach:hover {
        background-color: #fff;
    }


.produced {
    background-image: url("../Images/produced.png");
}

    .produced:hover {
        background-color: #ace;
    }

.transfer {
    background-image: url("../Images/transfer.png");
}

    .transfer:hover {
        background-color: #ace;
    }

.unconfirm {
    background-image: url("../Images/back.png");
}

    .unconfirm:hover {
        background-color: #ace;
    }


.realized {
    background-image: url("../Images/realized.png");
}

    .realized:hover {
        background-color: #ace;
    }

.product {
    background-image: url("../Images/product.png");
    background-size: 20px;
    background-position: 2px center;
}

    .product:hover {
        background-color: #aca;
    }

.black {
    background: rgba(0,0,0,.4);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.popup {
    background-color: #fff;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -250px;
    width: 400px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.33);
}

#popupTitle {
    padding: 10px;
    color: #fff;
    letter-spacing: 1px;
    background: #492727;
}

#popupContent {
    padding: 10px;
}

#popupOrderId {
    font-weight: bold;
}


.fieldName {
    float: left;
    margin: 3px 0 0 0;
}

.fieldInput {
    float: right;
}


.itemSave {
    border-spacing: 0px;
    border-collapse: separate;
    width: 80%;
    margin: 0 auto;
}

    .itemSave tr td {
        padding: 7px;
    }

    .itemSave td:first-child {
        text-align: right;
        margin: 3px 0 0 0;
        width: 40%;
    }

.page {
    float: left;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 3px;
    padding: 2px 5px 2px 7px;
    margin: 0 5px 0 0;
    cursor: pointer;
}

    .page:hover {
        background-color: #aca;
    }

.pageS {
    background-color: #dda;
}

.pageM {
    float: left;
    margin: 5px 5px 0 0;
}

.des textarea {
    resize: none;
}

.filter {
    margin: 0 0 20px 0;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #eee;
}

    .filter > div {
        display: inline-block;
        vertical-align: top;
    }

        .filter > div > div {
            height: 30px;
            text-align: right;
            padding: 2px 6px;
        }

    .filter select {
        width: 140px !important;
    }

    .filter input[type=text] {
        width: 75px !important;
    }

.buttonFilter {
    float: right;
}

.buttonExcel {
    background-image: url("../images/excel.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
    cursor: pointer;
    float: right;
    margin: -1px 5px 0 0;
    border: 1px solid #fff;
}

.printExcel {
    background-image: url("../images/print.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
    cursor: pointer;
    float: right;
    margin: -1px 5px 0 0;
    border: 1px solid #fff;
}

.ok_service {
    background-image: url("../images/ok.ico");
    background-repeat: no-repeat;
    background-size: contain;
    width: 13px;
    height: 13px;
    margin: auto;
}

.no_service {
    background-image: url("../images/no.ico");
    background-repeat: no-repeat;
    background-size: contain;
    width: 13px;
    height: 13px;
    margin: auto;
}

.buttonExcel:hover {
    border: 1px solid #1F7146;
}

.PartnerI {
    position: absolute;
    height: 17px;
    width: 180px !important;
}

.rangeExcel {
    float: right;
    margin: 5px 5px 0 0;
}

    .rangeExcel input {
        width: 100px;
    }

#allPrice {
    width: 100px;
    margin: 0 10px 0 0;
}

.red {
    background: #c88 !important;
}

.dis {
    background: #ccc !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../Images/loader.gif') 50% 50% no-repeat;
    background-size: 10%;
}

.black.loading {
    overflow: hidden;
}

    .black.loading .modal {
        display: block;
    }

.load_button {
    cursor: progress;
    background: #6f6f6f;
}


/*@media screen and (max-device-width: 1616px) 
              and (orientation:portrait){
  body {
    display:none;
  }
}
@media screen and (max-device-width: 1616px) 
              and (orientation:landscape){
  body {
    display:block;
  }
}*/
@media screen and (min-width: 1028px) {
    .connect_year {
        float: right;
        width: 82px;
        margin: 9px;
    }
}

@media screen and (max-width: 1027px) {
    .connect_year {
        width: 82px;
        float: right;
    }
}


/*.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../Images/loader.gif') 50% 50% no-repeat;
}*/

.black.loading {
    overflow: hidden;
}

    .black.loading .modal {
        display: block;
    }

.demo_load {
    margin: auto;
    margin-top: 50px;
    width: 150px;
    font-size: 24px;
}

.tab_css {
    opacity: 0.7;
}

.buttons_popup {
    float: right;
}

#float_none {
    float: none;
    margin-left: 0px;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    opacity: 1;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none
}

    .modalDialog:target {
        opacity: 1;
        pointer-events: auto;
    }

    .modalDialog > div {
        width: 400px;
        position: relative;
        margin: 10% auto;
        padding: 5px 20px 13px 20px;
        border-radius: 10px;
        background: #fff;
        background: -moz-linear-gradient(#fff, #999);
        background: -webkit-linear-gradient(#fff, #999);
        background: -o-linear-gradient(#fff, #999);
    }

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

    .close:hover {
        background: #00d9ff;
        cursor: pointer;
    }


.productPriceTypeDiscounts td {
    text-align: center;
}

.productPriceTypeDiscounts th {
    padding-right: 20px;
    padding-bottom: 10px;
}

.productPriceTypeDiscounts td {
    padding-right: 20px;
}

#discountType, #discountType_ids {
    width: 60px;
    padding: 0px 0px;
}

.save_discount {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #606061;
    border: 1px solid rgba(152, 152, 158, 0.75);
    cursor: pointer;
    letter-spacing: 1px;
    text-align: center;
}

    .save_discount:focus {
        outline: none !important;
        border-color: #719ECE;
        box-shadow: 0 0 10px #719ECE;
    }

    .save_discount:hover {
        background: rgba(0, 217, 255, 0.32);
        cursor: pointer;
    }

.load_save_discount {
    pointer-events: none;
}

.discount_price_save_ids {
    float: right;
    margin-right: 6%;
}

.save_productIds_discount_ids:hover {
    opacity: 0.8;
    cursor: pointer;
    background-color: #ACCCAA;
}

.save_productIds_discount_ids {
    background-image: url("../Images/disc_pdis.png");
    width: 45px;
    height: 45px;
    background-size: 33px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    padding: 18px 0;
}

    .save_productIds_discount_ids:focus {
        outline: none !important;
        border-color: #719ECE;
        box-shadow: 0 0 10px #719ECE;
    }

.ui-icon-carat-2-n-s:hover {
    cursor: pointer;
}

.sll {
    background-image: url("../Images/arrows.png");
    width: 16px;
    height: 16px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 3px;
    cursor: pointer;
}

    .sll:hover {
        background-color: #DCD5D5;
    }

.left {
    float: left;
}


.hideOptions {
    display: none
}
.showOptions {
    display: block
}
.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}