/*Styles for module PAY*/

.pay_register_button{
    display: inline-block;
    background-image: url(img/reg_no_click.png);
    width: 97px;
    height: 27px;
}
.pay_register_button:active{
    background-image: url(img/reg_click.png);
}
.pay_price_item{
    margin-bottom: 0.5em;
    border-bottom: 1px solid transparent;
}
.pay_price_item:hover{
    border-bottom: 1px solid #555;
}
.pay_price_item table{
    width: 100%;
}
.pay_price_item table td{
    vertical-align: top;
}
.pay_price_item table .pay_price_name{
    width: 590px;
}
.pay_price_item table .pay_price_cost{
    width: 100px;
    text-align: right;
    padding-right: 5px;
}
.pay_price_item table .pay_price_cost:after,
.pay_price_item table .pay_price_summ:after{
    content: "₽";
}
.pay_price_description{
    display: block;
    margin-left: 1em;
    font-style: italic;
    font-size: 0.9em;
}
.pay_order_create_form{
    width: 160px;
}
.pay_order_create_form .pay_order_count_block{
    width: 100px;
    display: inline-block;
}
.pay_order_create_form .pay_order_submit_block{
    width: 80px;
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
}
.pay_price_item table .pay_price_count{
    /*width: 70px;*/
    display: block;
}
.pay_price_item table .pay_price_count input{
    width: calc(100% - 4px);
}
.pay_price_item table .pay_price_count input:read-only{
    background-color: rgb(235, 235, 228);
    color: rgb(84, 84, 84);
    cursor: default;
    border-width: 1px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    width: calc(100% - 2px);
}
.pay_price_item table .pay_price_summ{
    width: 100%;
    text-align: right;
    display: block;
}
.pay_order_create_submit{
    text-align: right;
}
#pay_order_create_submit{
    background-image: url(img/order_create2.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 80px;
    height: 27px;
}
#pay_order_create_submit:active{
    background-position: 0 27px;
}

.pay_order_status_list .pay_order_status_item{
    display: inline-block;
    width: 140px;
    /*height: 42px;*/
    border: 1px dotted #a8aba8;
    margin: 0 0.5em;
    padding: 0.2em 0.5em;
    vertical-align: top;
    text-align: center;
}
.pay_order_status_list .pay_order_status_raz{
    display: inline-block;
    width: 20px;
    height: calc(42px + 0.4em + 2px);
    background-image: url(/sites/all/themes/omgpu/images/arrow-right.png);
    background-repeat: no-repeat;
    background-position: center;
}
.pay_order_status_list .pay_order_status_item .status_title{
    text-decoration: underline;
}
.pay_block_button{
    margin-top: 1em;
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: space-between;
}
.pay_block_button p{
    margin: 0;
    padding: 5px 7px 0 4px;
}
.pay_block_button .pay_button_pay{
    background-image: url(img/order_pay.png);
    background-position: 0 0;
    width: 80px;
    height: 27px;
    border: none;
    margin-top: 5px;
}

.pay_block_button .pay_button_pay_cansel{
    background-image: url(img/order_pay_cansel.png);
    background-position: 0 0;
    width: 80px;
    height: 27px;
    border: none;
}

.pay_block_button .pay_button_pay:active,
.pay_block_button .pay_button_pay_cansel:active{
    background-position: 0 27px;
}
.pay_ofert_error{
    border-bottom: 1px solid red;
    border-top: 1px dotted red;
    border-right: 1px dotted red;
    border-left: 1px dotted red;
}

.pay_up_line_top_menu{
    height: 8px;
    border-bottom: 2px solid #86AE0C;
    text-align: center;
    margin: 10px 0 6px 0;
}
.pay_manager_orders{
    margin: 0 0 0 1.5em;
}
.pay_manager_orders table td:nth-child(1){
    width: 30px;
}
.pay_manager_orders table td:nth-child(2){
    width: 50px;
}
.pay_manager_orders table td:nth-child(3){
    width: 50px;
}
.pay_manager_orders table td:nth-child(4){
    width: 200px;
}
.pay_manager_orders table td:nth-child(5){
    width: 40px;
}
.pay_manager_orders table td:nth-child(7){
    width: 70px;
}
.pay_manager_orders table td:nth-child(8){
    width: 100px;
}
.pay_manager_orders .action{
    width: 24px;
    height: 24px;
    padding: 0;
    vertical-align: top;
    margin: 0 3px;
}
.pay_manager_orders .last_action{
    background-color: coral !important;
}

/*
.pay_servise_list .pay_servise_item{
    display: inline-block;
    width: calc(100% / 2 - 26px);
    height: 50px;
    margin: 3px 6px;
    padding: 5px 6px;
    border-width: 1px;
    border-style: inset;
    border-color: #095E88;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    vertical-align: top;
}
.pay_servise_list .pay_servise_item:hover{
    border-style: outset;
    text-decoration: underline;
}
.pay_servise_list .pay_servise_item.servise_item_1l{
    padding: 20px 6px;
    height: 20px;
}*/
.pay_servise_list{
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}
.pay_servise_list .pay_servise_item{
    width: calc(50% - 0.5em - 14px);
    height: 58px;
    padding: 5px 6px;
    border-width: 1px;
    border-style: inset;
    border-color: #095E88;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3em;
}
@media (max-width: 992px) {
    .pay_servise_list .pay_servise_item{
        width: 100%;
        height: 60px;
    }
}
.pay_servise_list .pay_servise_item>*{
    display: block;
}
.pay_servise_list a:link,
.pay_servise_list a:visited,
.pay_servise_list a:active{
    color: #095E88;
    text-decoration: none;
}
.pay_servise_list .pay_servise_item .servise_info{
    font-size: 0.8em;
}



.pay_order_warning{
    color: red;
}
.pay_order_warning:after{
    content: "";
    background-image: url(/misc/message-24-warning.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-left: 5px;
}
.input.date{
    padding: 2px;
    border: 1px solid #ccc;
    border-top-color: #999;
    background: #fff;
    color: #333;
}
.input.date:focus{
    color: #000;
    border-color: #ace;
}
.debugtextarea{
    padding: 2px;
    border: 1px solid #ccc;
    border-top-color: #999;
    background: #fff;
    color: #333;
    width: 100%;
}
.pay_report_executed td:nth-child(1),
.pay_report_executed td:nth-child(2),
.pay_report_executed td:nth-child(3){
    width: 50px;
}

.pay_admin_user_current_sort{
    font-weight: bold;
}
/*.pay_dop_fields{
    width: 80%;
    margin: 0 0 0 auto;
}*/
.pay_dop_fields p{
    text-align: left;
    font-weight: bold;
}
.pay_dop_fields table{
    width: 100%;
}
.pay_dop_fields table td{
    text-align: left;
}
.pay_dop_fields table td:first-child{
    width: 40%;
}
.pay_dop_fields table input[type=text]{
    width: 100%;
}
input.pay_field_error{
    border-bottom-color: red;
}

#payMenu .nav-item c{
    padding: 10px 15px;
}
#payMenu .navbar-nav{
    gap: 0.5em;
}
#payMenu .nav-item{
    border-bottom: 1px solid transparent;
}
#payMenu .nav-item:hover{
    border-bottom-color: black;
}
#payMenu .nav-item.man_link:hover{
    border-bottom-color: var(--messages--error-color);
}
#payMenu .nav-item.man_link .nav-link{
    color: var(--messages--error-color);
}
#payMenu .nav-item .nav-link.active{
    font-weight: bold;
}