.payment-order-overlay-content-container {
    display: table-cell;
    vertical-align: middle;
}

@media (max-width: 360px) {
    .package-bay-overlay-content-wrap {
        margin: 0;
    }
    .payment-order-overlay-content-container {
        vertical-align: top;
    }
}

/* Close
 ========================================================================== */
.close {
    float: right;
    font-size: 38px;
    /* font-weight: bold; */
    line-height: 42px;
    width: 42px;
    color: #ffffff;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
}
.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
    filter: alpha(opacity=40);
}
button.close {
    padding: 0px;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}
.close {
    color: inherit;
}
.close:hover,
.close:focus {
    color: inherit;
}

/* ****************************** Content ******************************************* */
.chek2 {
    font-size:0.85em;
    float: left;
    width: 98%;
    border-left: 2px solid #52B4CD;
    padding: 0px 10px;
    margin: 10px 0px;
    text-align: left;
}
.chek3 {
    font-size:0.85em;
    float: left;
    width: 98%;
    border-left: 2px solid #F11111;
    padding: 0px 10px;
    margin: 10px 0px;
    text-align: left;
}

.chek3, .chek2, .chek4 {
    float: none;
    font-size: 0.95em;
    box-sizing: border-box;
}
.chek2 {
    border: 1px solid #DADADA;
    /*border: 1px solid #52B4CD;*/
    border-left: 5px solid #52B4CD;
    /*background-color: #ebfbff;*/
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}
.chek3 {
    border: 1px solid #DADADA;
    /*border: 1px solid #62b863;*/
    border-left: 5px solid #62b863;
    /*background-color: #e1ffc4;*/
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}
.chek4 {
    border: 1px solid #DADADA;
    border-left: 5px solid #ff9255;
    background-color: #ffa776;
    padding: 0px 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    margin: 10px 0px;
    text-align: left;
}

.package-bay-overlay {
    visibility: hidden;
    position: fixed;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    z-index: 1000;
    background-color: rgba(255,255,255,0.75);
    overflow: auto;
}
.package-bay-overlay-content-wrap {
    max-width: 450px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 30px;
    padding-left: 30px;
    background-color: white;
    /* opacity: 0.75; */
    /* font-weight: bold; */
    box-shadow: 0 1px 6px rgba(50, 90, 90, 0.53);
    text-align: left;
    position: relative;
}

.package-bay-overlay-content-wrap .close {
    right: 0px;
    top: 0px;
    position: absolute;
}

#packageBayOverlayItemName, #packageBayOverlayItemPrice {
    font-weight: bold;
}

.tarif-controls {
    margin-top: 5px;
    margin-bottom: 5px;
}
.status-free-format-warn {
    color: #c24630;
}

.payment-order-overlay {
    visibility: hidden;
    position: fixed;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    z-index: 1000;
    background-color: #ffffff;
    opacity: 0.75;
}
.payment-order-overlay-content-wrap {
    max-width: 450px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 30px;
    padding-left: 30px;
    /* background-color: white; */
    /* opacity: 0.75; */
    font-weight: bold;
}

.tc-step-info {
    display: table;
    font-size: 1.3em;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;

    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #DADADA;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
    margin-right: 0px;
    background-color: aliceblue;
    padding-left: 10px;
    padding-right: 10px;

    width: 100%;
}

.tc-step-info-img-wrap{
    display: table-cell;
    vertical-align: middle;
}
.tc-step-info-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-color: #3F7F7F;
    background-color: #3f9fb8;
    text-align: center;
    line-height: 50px;
    color: #ffffff;
    font-size: 25px;
    display: block;
    position: relative;
    vertical-align: middle;
    margin-right: 15px;
}
.tc-step-info-title-wrap {
    white-space: normal;
    display: table-cell;
    position: relative;
    vertical-align: middle;
    margin-left: 10px;
    /*margin-right: 50px;*/
}
.tc-step-info-title {

}
.tc-step-info-title-desc {
    color: darkgrey;
    font-size: 14px;
    font-weight: normal;
}

.tc-packages {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/********************************** Packages *****************************************/

.buttonbay {
    cursor: pointer;
    max-width:130px;
    width:100%;
    float: left;
    color: #505050;
    padding: 6px 8px;
    margin: 0px 2px 5px 2px;
    font-size: 1.15em;
    line-height: 0.9;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #ddd;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.32);
}
.buttonbay.active {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,173,173,6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,173,173,6);
}
.buttonbay.active img {
    opacity: 1;
}
.buttonbay img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
    opacity: 0.9;
}
.buttonbay:hover {
    background-color: #e6e6e6;
}

.qbayrobopackage.locked:hover {
    background: #fff;
    cursor: default;
}

.buttonbay {
    float: none;
}
.buttonbay.active:after {
    content: "\2714";
    position: absolute;
    left: 7px;
    top: 5px;
    width: 5px;
    width: 22px;
    height: 22px;
    background-color: #62b863;
    border-radius: 11px;
    font-weight: bold;
    color: white;
    line-height: normal;
}

.dop {
    font-size:0.8em;
}

sup {
    top: -0.5em;
}
sub, sup {
    font-size: 65%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    color: #505050;
    font-weight: normal;
}

.qbayrobopackage {
    position: relative;
}

.tarif-img{
    width:100%;
    text-align:center;
    height:100px;
    margin-bottom:5px;
}
.tarif-img img{
    max-height:120px;
}
.tarif-name{
    width:100%;
    margin-bottom:10px;
    height:40px;
    word-wrap: break-word;
    white-space: normal;
}

.tarif-price{
    font-size: 1.2em;
    font-weight:bold;
    width:100%;
    height:20px;
    color: #41A20F;
}

.price {
    color: #3f9fb8;
    font-weight: bold;
}

/****Combo image*****/
.tarif-img-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 90px;
    height: 90px;
}

.tarif-img-wrap > img {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.tarif-img-wrap > div {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    color: white;
    padding: 0;
}

.tarif-img-wrap .tarif-text-center {
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    text-shadow: -1px 0 1px black, 0 0 1px red;
}

.tarif-img-wrap .dummy {
    height: 100%;
    width: 0px;
    display: inline-block;
    vertical-align: middle;
}

/*******************************Пакеты телеканалов******************************/
.chan {
    display: table;
    width: 100%;
    height: 5em;
    line-height: 1.3em;
}

.chan div {
    display: table-cell;
    vertical-align: middle;
    width: 20%;
    border: none;
    font-size: 20px;
    font-weight: bold;
}

.chan div:nth-child(2) {
    width: 80%;
    text-align: center;
}

.mid-desc {
    display: table;
    width: 100%;
    line-height: 1.1em;
}

.mid-desc div {
    display: table-cell;
    width: 20%;
    border: none;
    font-size: 20px;
    color: #3f9fb8;
}

.mid-desc2 {
    display: table;
    width: 100%;
    line-height: 1em;
}

.mid-desc2 div {
    display: table-cell;
    width: 20%;
    border: none;
    font-size: 12px;
}

/*****************Поле ввода ид************************/
.saved-ids .saved-id {
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ded5d5;
    padding: 5px;
    font-size: 16px;
    border-radius: 9px;
    margin-bottom: 10px;
    background-color: #f0f8ff;
}

.saved-ids .saved-id:before {
    content: '\f138';
    font-family: "FontAwesome";
    padding-right: 10px;
    color: green;
}

/*****************Модальное окно*******************/
.package-bay-overlay-item-more {
    font-size: 13px;
    color: #005ca9;
    cursor: pointer;
}

.package-bay-overlay-item-more span {
    text-decoration: none;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.package-bay-overlay-item-more span:hover {
    color: #00adef;
}